From abc5adc72a5b1ea9b639ab2f7b507ced03820368 Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Fri, 28 Feb 2025 15:52:37 +0800 Subject: [PATCH] =?UTF-8?q?SBBJ-831=E6=98=AF=E5=90=A6=E5=B7=B2=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E4=B8=BA=E5=90=A6=E7=9A=84=EF=BC=8C=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/item/applicationRecord/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/eam/item/applicationRecord/index.vue b/src/views/eam/item/applicationRecord/index.vue index be72103..d93dfd3 100644 --- a/src/views/eam/item/applicationRecord/index.vue +++ b/src/views/eam/item/applicationRecord/index.vue @@ -179,10 +179,18 @@ } } + const isShowApproveButton = (row) => { + if (row.isApprove == 'FALSE') { + return false + } else { + return true + } + } + // 列表-操作按钮 const butttondata = (row) => { return [ - defaultButtons.approveBtn({ hide: isShowMainButton(row, ['0']) ,hasPermi:'item:itemApplyMain:approve'}), // 审批 + defaultButtons.approveBtn({ hide: isShowApproveButton(row) ,hasPermi:'item:itemApplyMain:approve'}), // 审批 defaultButtons.mainListOrderCloBtn({ hide: isShowCloseButton(row) ,hasPermi:'item:itemApplyMain:close'}), // 关闭 // defaultButtons.mainListEditBtn(null), // 编辑 // defaultButtons.mainListDeleteBtn(null), // 删除