diff --git a/fuintAdmin_zt/src/views/Site/index.vue b/fuintAdmin_zt/src/views/Site/index.vue
index 98acbdbe3..a6ea8e1c3 100644
--- a/fuintAdmin_zt/src/views/Site/index.vue
+++ b/fuintAdmin_zt/src/views/Site/index.vue
@@ -546,14 +546,14 @@
:data="dutyList">
-
-
- 超级管理员
- 普通管理员
- 油站角色
- 公司角色
-
-
+
+
+
+
+
+
+
+
@@ -720,6 +720,7 @@
ref="menu"
node-key="id"
:check-strictly="!form1.menuCheckStrictly"
+ :default-checked-keys="form1.checkedKeys"
empty-text="加载中,请稍候"
:props="defaultProps1"
>
@@ -1203,6 +1204,7 @@ export default {
// if (data.dutyType == '4') val = 2;
// const roleMenu = this.getMenuTreeselect(val);
const roleId = data.dutyId
+ this.form1.menuCheckStrictly = false
getRole(roleId).then(response => {
this.form1.roleName = response.data.roleInfo.name;
this.form1.roleType = response.data.roleInfo.type;
@@ -1212,7 +1214,8 @@ export default {
this.openDuty = true;
this.title = "修改角色";
let checkedKeys = response.data.checkedKeys
-
+ this.form1.checkedKeys = checkedKeys
+ this.getMenuTreeselect(response.data.roleInfo.type)
// this.$nextTick(() => {
// roleMenu.then(res => {
// checkedKeys.forEach((v) => {