Ver Fonte

fix:优化数据权限配置

刘恒 há 1 ano atrás
pai
commit
82efb635f1
2 ficheiros alterados com 3 adições e 0 exclusões
  1. 2 0
      src/views/Sys/DataPermissions.vue
  2. 1 0
      src/views/Sys/RulePermissions.vue

+ 2 - 0
src/views/Sys/DataPermissions.vue

@@ -394,6 +394,8 @@ export default {
       this.pageInfo.pageNum=val
 
       // console.log(`当前页: ${val}`);
+      this.getMessageList()
+
     },
     getMessageList(){
       this.$api.sys.getDataPermissions({

+ 1 - 0
src/views/Sys/RulePermissions.vue

@@ -385,6 +385,7 @@
         async getMessageList(){
             this.$api.sys.getMenuRelaPerqueryList({
                 menuId:this.clickMenuId,
+                status:1
             }).then(res=>{
                 if(res.code===200){