From db7ec25557a05899983df29be1fd5700ee483023 Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Fri, 6 Sep 2024 11:04:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E4=BB=BB=E5=8A=A1=EF=BC=8C?= =?UTF-8?q?=E6=9A=82=E5=AD=98=E5=90=8E=E5=86=8D=E5=8F=91=E5=B8=83=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BB=BB=E5=8A=A1=E7=8A=B6=E6=80=81=E9=94=99?= =?UTF-8?q?=E8=AF=AF=20=20=20HL-5848?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qms/inspectionJob/index.vue | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/views/qms/inspectionJob/index.vue b/src/views/qms/inspectionJob/index.vue index 7be97e488..0cecf6f33 100644 --- a/src/views/qms/inspectionJob/index.vue +++ b/src/views/qms/inspectionJob/index.vue @@ -238,15 +238,6 @@ const isShowMainButton3 = (row) => { } } -// 根据状态返回该按钮是否显示 -const isShowMainButton2 = (row, val) => { - if (val.indexOf(row.isStaging) > -1) { - return false - } else { - return true - } -} - // 根据状态返回该按钮是否显示 const isShowMainButton1 = (row, val) => { if (val.indexOf(row.status) > -1) { @@ -278,10 +269,6 @@ const butttondata = (row) => { hide: isShowMainButton(row, ['1', '2']), hasPermi: 'qms:inspection-job-main:execute' }), // 执行 - defaultButtons.mainListOrderPubBtn({ - hide: isShowMainButton2(row, ['TRUE']), - hasPermi: 'qms:inspection-job-main:execute' - }), // 发布 defaultButtons.mainListPackageBtn(null), // 包装 defaultButtons.mainListPlanCheckQualityReportBtn({ hide: isShowMainButton3(row)