From 23975e056a845071bbfb0bfaea09dbe456a0e96c Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 7 Jul 2024 23:36:20 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E4=B8=93=E9=A1=B9?= =?UTF-8?q?=E8=B5=84=E9=87=91=E6=9D=83=E9=99=90,=20=E8=B4=B9=E7=94=A8?= =?UTF-8?q?=E5=8F=B0=E8=B4=A6=E6=97=B6=E9=97=B4=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/expense-management/ledger/index.vue | 2 +- src/views/special-fund/index.vue | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/expense-management/ledger/index.vue b/src/views/expense-management/ledger/index.vue index 9b39330..74034a5 100644 --- a/src/views/expense-management/ledger/index.vue +++ b/src/views/expense-management/ledger/index.vue @@ -33,7 +33,7 @@ const searchConfig = reactive([ clearable: true, type:'month', format: 'YYYY-MM', - valueFormat:'YYYY-MM-DD HH:mm:ss', + valueFormat:'YYYY-MM', }, colProps: {} }, diff --git a/src/views/special-fund/index.vue b/src/views/special-fund/index.vue index 713a75d..20d2d55 100644 --- a/src/views/special-fund/index.vue +++ b/src/views/special-fund/index.vue @@ -123,10 +123,10 @@ const tableConfig = reactive({ let btn = [] let buttons = new Set(Array.from(row.buttons)) if (buttons.has("details")) { - btn.push({label: '详情', prem: ['mosr:collect:info'], func: () => handleDetail(row), type: 'primary'}) + btn.push({label: '详情', prem: ['special:fund:info'], func: () => handleDetail(row), type: 'primary'}) } if (buttons.has("edit")) { - btn.push({label: '编辑', prem: ['mosr:collect:resubmit'], func: () => handleEdit(row), type: 'primary'}) + btn.push({label: '编辑', prem: ['special:fund:edit'], func: () => handleEdit(row), type: 'primary'}) } return (
@@ -145,7 +145,6 @@ const tableConfig = reactive({ { buttons.has("delete") ? handleDelete(row)}/> : '' } @@ -157,7 +156,7 @@ const tableConfig = reactive({ api: '/workflow/mosr/special/fund', params: {}, btns: [ - {name: '新增', key: 'add', color: '#DED0B2', auth: ''}, + {name: '新增', key: 'add', color: '#DED0B2', auth: ['special:fund:add']}, // {name: '导出', key: '_export', color: '#DED0B2', auth: ''}, ] })