master^2
Gitea 1 week ago
parent ea67f20cca
commit c6d9090d32
  1. 6
      jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList1.vue
  2. 6
      jeecgboot-vue3/src/views/innovationvoucher/InnovationVoucherList5.vue

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

@ -235,7 +235,7 @@
* 操作栏
*/
function getTableAction(record) {
const oct = userStore.loginInfo.departs[0].orgCategory;
const oct = userStore.getUserInfo.roleCode;
const actions = [
{
label: '详情',
@ -243,7 +243,7 @@
}
];
if((oct==="3"&&record.dxshSta==="1")||(record.dxshSta==="2"&&oct!=="3")){
if((oct==="quxian_admin"&&record.dxshSta==="1")||(record.dxshSta==="2"&&oct!=="quxian_admin")){
actions.unshift({
label: '通过',
popConfirm: {
@ -252,7 +252,7 @@
}
});
}
if((oct==="3"&&record.dxshSta==="1")||(record.dxshSta==="2"&&oct!=="3")){
if((oct==="quxian_admin"&&record.dxshSta==="1")||(record.dxshSta==="2"&&oct!=="quxian_admin")){
actions.unshift({
label: '驳回',
popConfirm: {

Loading…
Cancel
Save