diff --git a/ZR.Vue/src/views/system/role/index.vue b/ZR.Vue/src/views/system/role/index.vue
index ee82f70..18e3a56 100644
--- a/ZR.Vue/src/views/system/role/index.vue
+++ b/ZR.Vue/src/views/system/role/index.vue
@@ -26,43 +26,46 @@
-
-
+
+
-
-
-
+
+
+
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
+
+
修改
删除
+ 数据权限
+
+
-
-
-
+
+
+
+ {{form.roleKey}}
+
+
展开/折叠
-
+ 全选/全不选
+ 父子联动
+
- 保存
+ 保存
-
@@ -81,12 +84,6 @@
{{ dict.dictLabel }}
-
@@ -398,11 +395,10 @@ export default {
/** 分配角色权限按钮操作 */
//新增 和上面代码基本相同
handleDataScope(row) {
- if(row.roleId == 1){
+ if (row.roleId == 1) {
this.showRoleScope = false;
return;
}
- console.log('分配菜单')
this.reset();
this.showRoleScope = true;
const roleId = row.roleId || this.ids;
@@ -420,6 +416,7 @@ export default {
roleId: row.roleId,
roleName: row.roleName,
roleKey: row.roleKey,
+ menuCheckStrictly: true
};
},
/** 提交按钮 */