Browse Source

修复bug

林倩 3 years ago
parent
commit
d9fb8c5825

+ 1 - 1
src/pages/auth-object-manage/appfun-resource-manage/add-func-form.vue

@@ -190,7 +190,7 @@ export default {
     },
     // 刪除节点
     handleDel(id) {
-      this.$confirm('删除功能将会删除该功能及其下级资源,确认删除?', '提示', {}).then(() => {
+      this.$confirm('是否确定删除该功能及其下级功能!', '提示', {}).then(() => {
         Api.del(id)
           .then((res) => {
             this.$refs.myMenuTree.remove();

+ 1 - 1
src/pages/auth-object-manage/appfun-resource-manage/app-list.vue

@@ -83,7 +83,7 @@ export default {
     handleDelete(row) {
       this.$dgConfirm(`是否确定删除这条数据!`, '提示', {}).then(() => {
         appRestApi.del(row.id).then((res) => {
-          this.$message.success(res);
+          this.$message.success("删除成功!");
           this.handleSearch();
         });
       });

+ 1 - 1
src/pages/auth-object-manage/service-resource-manage/index.vue

@@ -111,7 +111,7 @@ export default {
     handleDelete(row) {
       this.$dgConfirm(`是否确定删除这条数据!`, '提示', {}).then(() => {
         Api.del(row.id).then((res) => {
-          this.$message.success(res);
+          this.$message.success("删除成功!");
           this.handleSearch();
         });
       });

+ 17 - 5
src/router/index.js

@@ -126,20 +126,32 @@ export const asyncRouterMap = [
       }
     ]
   },
-  // 权限综合查询
   {
-    path: '/permission-to-searchS',
+    path: '/data-auth-search',
     component: Layout,
-    meta: { title: '权限综合查询', icon: 'icon-othersearch', noCache: true, permission: ['QXGL_SQCX'] },
+    meta: { title: '数据权限查询', icon: 'icon-othersearch', noCache: true },
     children: [
       {
-        path: 'data-auth-search',
+        path: 'init',
         component: () => import('@/pages/permission-to-search/data-auth-search.vue'),
         name: 'data-auth-search',
-        meta: { title: '数据权限查询', noCache: true, layout: 'page',  permission: ['QXGL_SQCX_SJSQCX'] }
+        meta: { title: '数据权限查询', noCache: true }
       }
     ]
   },
+  // 权限综合查询
+  //   path: '/permission-to-searchS',
+  //   component: Layout,
+  //   meta: { title: '权限综合查询', icon: 'icon-othersearch', noCache: true, permission: ['QXGL_SQCX'] },
+  //   children: [
+  //     {
+  //       path: 'data-auth-search',
+  //       component: () => import('@/pages/permission-to-search/data-auth-search.vue'),
+  //       name: 'data-auth-search',
+  //       meta: { title: '数据权限查询', noCache: true, layout: 'page',  permission: ['QXGL_SQCX_SJSQCX'] }
+  //     }
+  //   ]
+  // },
   listManageRouter,
   ...logManage,
   statisticsManageRouter

+ 1 - 0
src/router/modules/appfun-auth-manage.js

@@ -9,6 +9,7 @@ const componentRouter = {
   component: Layout,
   redirect: '/appfun-auth-manage',
   meta: { title: '应用功能授权管理', icon: 'icon-app', noCache: true, permission: ['YHGLPT_SQGL'] },
+  alwaysShow: true,
   children: [
     {
       path: 'app-role-manage',

+ 1 - 0
src/router/modules/auth-object-manage.js

@@ -9,6 +9,7 @@ const componentsRouter = {
   component: Layout,
   redirect: '/auth-object-manage',
   meta: { title: '授权客体管理', icon: 'icon-audit', noCache: true, permission: ['QXGL_SQGL_KTGL'] },
+  alwaysShow: true,
   children: [
     {
       path: 'appfun-resource-manage',

+ 1 - 0
src/router/modules/auth-subject-manage.js

@@ -10,6 +10,7 @@ const componentsRouter =
       component: Layout,
       redirect: '/auth-subject-manage',
       meta: { title: '授权主体管理', icon: 'icon-boxopen', noCache: true, permission: ['QXGL_SQGL_ZTGL'] },
+      alwaysShow: true,
       children: [
         {
           path: 'user-prop-manage',

+ 1 - 0
src/router/modules/data-auth-manage.js

@@ -9,6 +9,7 @@ const componentsRouter =
     path: '/data-auth-manage',
     component: Layout,
     meta: { title: '数据授权管理', icon: 'icon-permission', noCache: true, permission: ['QXGL_SQGL_SJSQGL'] },
+    alwaysShow: true,
     children: [
       {
         path: 'business-tag-auth',

+ 1 - 0
src/router/modules/list-manage.js

@@ -9,6 +9,7 @@ const componentsRouter =
     path: '/list-manage',
     component: Layout,
     meta: { title: '名单管理', icon: 'icon-list3', noCache: true, permission: ['QXGL_MDGL'] },
+    alwaysShow: true,
     children: [
       {
         path: 'white',

+ 1 - 0
src/router/modules/log-manage.js

@@ -13,6 +13,7 @@ const componentsRouter = [
     path: '/err-auth-earlywarning-manage',
     component: Layout,
     meta: { title: '异常鉴权预警管理', icon: 'icon-alarm', noCache: true, permission: ['QXGL_RZGL_YCJQYJGL'] },
+    alwaysShow: true,
     children: [
       {
         path: 'auth-earlywarning-plan',

+ 1 - 0
src/router/modules/statistics-manage.js

@@ -9,6 +9,7 @@ const componentsRouter = {
   path: '/statistics-manage',
   component: Layout,
   meta: { title: '统计报表', icon: 'icon-statistics', noCache: true, permission: ['YHGLPT_TJBB'] },
+  alwaysShow: true,
   children: [
     {
       path: 'index',