当前功能: {{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(