diff --git a/epmet-oper-web/src/views/modules/customer/customize/roleList.vue b/epmet-oper-web/src/views/modules/customer/customize/roleList.vue index dcfc2c8..5080deb 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/roleList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/roleList.vue @@ -3,69 +3,96 @@
当前客户: {{customerName}} - 保存顺序 + 保存顺序
- - + + - + - +
- +
当前角色: {{roleName}}
- - + + - +
- +
当前功能: {{funcName}}
- - - - {{scope.scopeName}} - - - - - +
@@ -157,7 +184,7 @@ export default { this.loading2 = true this.$http.post('/gov/access/config/roleopes/' + roleId).then((resp) => { this.opeList = resp.data.data - this.$nextTick(function () { + this.$nextTick(function() { this.defaultCheck() // 每次更新了数据,触发这个函数即可。 }) setTimeout(() => { @@ -211,7 +238,8 @@ export default { saveOperations4Role (val) { let param = { roleId: this.roleId, - opes: val + opes: val, + customerId: this.customerId } this.$http.post('/gov/access/config/saveroleopes', param).then( resp => { @@ -228,7 +256,8 @@ export default { roleId: this.roleId, operationKey: this.operationKey, scopeKeys: val, - settingKeys: this.checkedSettings + settingKeys: this.checkedSettings, + customerId: this.customerId } this.$http.post('/gov/access/config/saveconfig', param).then(