master
Gitea 2 weeks ago
parent b9600b6872
commit d5331b0cf5
  1. 5
      jeecgboot-vue3/src/views/instrument/InstrumentList2.vue

@ -250,6 +250,7 @@
* 操作栏 * 操作栏
*/ */
function getTableAction(record) { function getTableAction(record) {
const oct = userStore.loginInfo.departs[0].orgCategory;
const actions = [ const actions = [
{ {
label: '详情', label: '详情',
@ -257,7 +258,7 @@
} }
]; ];
if(record.state==="1"||record.state==="2"){ if((oct==="3"&&record.state==="1")||(record.state==="2"&&oct!=="3")){
actions.unshift({ actions.unshift({
label: '通过', label: '通过',
popConfirm: { popConfirm: {
@ -266,7 +267,7 @@
} }
}); });
} }
if(record.state==="1"||record.state==="2"){ if((oct==="3"&&record.state==="1")||(record.state==="2"&&oct!=="3")){
actions.unshift({ actions.unshift({
label: '驳回', label: '驳回',
popConfirm: { popConfirm: {

Loading…
Cancel
Save