浏览代码

修改问题:
审核用户权限:省直单位下发任务书,点击跳转后页面空白,未显示;

chengbeibei 10 月之前
父节点
当前提交
f7530f708c
共有 1 个文件被更改,包括 19 次插入2 次删除
  1. 19 2
      src/views/dashboard/IndexChart.vue

+ 19 - 2
src/views/dashboard/IndexChart.vue

@@ -563,7 +563,15 @@
         this.$router.push({name:view})
       },
       handleXfrws(orgCode){
-        this.$router.push({name:'isystem-user',query:{orgCode: orgCode}})
+        if (JSON.stringify(this.$store.state.permission.routers[6]).includes('isystem-user')) {
+          this.$router.push({name:'isystem-user',query:{orgCode: orgCode}})
+        } else {
+          this.$notification.error({
+            message: '提示',
+            description: `没有该菜单权限,不支持查看!`,
+            duration:3
+          });
+        }
       },
       handleWsh(view){
         this.$router.push({name:view})
@@ -669,6 +677,8 @@
 
         getAction("/qcsb.qyxx/qcQyxx/rwdls").then(res=>{
           if(res.code==200){
+            console.log("/rwdls", res);
+            console.log("/rwdls", this.yhjs);
             for (let i = 0; i <res.result1.length; i++) {
               this.xfrws=res.result1[0];//下发任务数
               this.yxdls=res.result1[1];//有效登录数
@@ -677,6 +687,7 @@
             }
           }
           debugger
+          console.log("/rwdls", this.yhjs);
           if(this.yhjs=='shyh'||this.yhjs=='sjzh'){
 
              this.show=true;
@@ -688,6 +699,8 @@
 
         getAction("/qcsb.qyxx/qcQyxx/sydw").then(res=>{
           if(res.code==200){
+            console.log("/sydw", res);
+            console.log("/sydw", this.sydwyhjs);
             for (let i = 0; i <res.result1.length; i++) {
               this.sydwxfrws=res.result1[0];//下发任务数
               this.sydwyxdls=res.result1[1];//有效登录数
@@ -695,6 +708,7 @@
               this.sydwwsh=res.result1[3];//未审核数量
               this.sydwyhjs=res.result1[4];//用戶角色
             }
+            console.log("/sydw", this.sydwyhjs);
           }
         })
 
@@ -740,14 +754,17 @@
       selectDqsbs(){
         let usercode=''
         usercode = store.getters.userInfo.username
-        getAction("/qcsb.qyxx/qcQyxx/dqsbs").then(res=>{
+        getAction("/dqsbs").then(res=>{
           if(res.code==200){
+            console.log("/dqsbs", res);
+            console.log("/dqsbs", this.yhjs);
             this.shtgs=res.result1[0]//审核通过数
             this.cwth=res.result1[1]//错误退回
             this.yhjs=res.result1[3];
              if(this.yhjs=="shyh"){
                this.showDqsbs=false;
              }
+            console.log("/dqsbs", this.yhjs);
           }
         })
       },