|
|
@ -220,7 +220,7 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function getTableAction(record) { |
|
|
|
function getTableAction(record) { |
|
|
|
//console.log(userStore.loginInfo.departs[0].orgCategory, 'userStore'); |
|
|
|
//console.log(userStore.loginInfo.departs[0].orgCategory, 'userStore'); |
|
|
|
const oct = userStore.loginInfo.departs[0].orgCategory; |
|
|
|
const oct = userStore.getUserInfo.roleCode; |
|
|
|
const actions = [ |
|
|
|
const actions = [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: '详情', |
|
|
|
label: '详情', |
|
|
@ -228,7 +228,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: { |
|
|
@ -237,7 +237,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: { |
|
|
|