科研仪器入网审核刷新后操作列按钮消失BUG修改

master
Gitea 1 week ago
parent d0107504a4
commit 7b640ed6e5
  1. 6
      jeecgboot-vue3/src/views/instrument/InstrumentList2.vue

@ -250,7 +250,7 @@
* 操作栏 * 操作栏
*/ */
function getTableAction(record) { function getTableAction(record) {
const oct = userStore.loginInfo.departs[0].orgCategory; const oct = userStore.getUserInfo.roleCode;
const actions = [ const actions = [
{ {
label: '详情', 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({ actions.unshift({
label: '通过', label: '通过',
popConfirm: { 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({ actions.unshift({
label: '驳回', label: '驳回',
popConfirm: { popConfirm: {

Loading…
Cancel
Save