From 7b640ed6e514589c5009776c94b630365ecb8947 Mon Sep 17 00:00:00 2001 From: Gitea Date: Fri, 15 Nov 2024 10:13:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=91=E7=A0=94=E4=BB=AA=E5=99=A8=E5=85=A5?= =?UTF-8?q?=E7=BD=91=E5=AE=A1=E6=A0=B8=E5=88=B7=E6=96=B0=E5=90=8E=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E5=88=97=E6=8C=89=E9=92=AE=E6=B6=88=E5=A4=B1BUG?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecgboot-vue3/src/views/instrument/InstrumentList2.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jeecgboot-vue3/src/views/instrument/InstrumentList2.vue b/jeecgboot-vue3/src/views/instrument/InstrumentList2.vue index b2078a7..6032afd 100644 --- a/jeecgboot-vue3/src/views/instrument/InstrumentList2.vue +++ b/jeecgboot-vue3/src/views/instrument/InstrumentList2.vue @@ -250,7 +250,7 @@ * 操作栏 */ function getTableAction(record) { - const oct = userStore.loginInfo.departs[0].orgCategory; + const oct = userStore.getUserInfo.roleCode; const actions = [ { label: '详情', @@ -258,7 +258,7 @@ } ]; - if((oct==="3"&&record.state==="1")||(record.state==="2"&&oct!=="3")){ + if((oct==="quxian_admin"&&record.state==="1")||(record.state==="2"&&oct!=="quxian_admin")){ actions.unshift({ label: '通过', popConfirm: { @@ -267,7 +267,7 @@ } }); } - if((oct==="3"&&record.state==="1")||(record.state==="2"&&oct!=="3")){ + if((oct==="quxian_admin"&&record.state==="1")||(record.state==="2"&&oct!=="quxian_admin")){ actions.unshift({ label: '驳回', popConfirm: {