自定义表头修改为列表设置
用户管理修改
This commit is contained in:
@@ -483,17 +483,11 @@
|
||||
handleSubmitOk() {
|
||||
this.confirmLoading = true
|
||||
let selectedRole = JSON.parse(JSON.stringify(this.selectedRole))
|
||||
if(this.dutyTerritories){
|
||||
let dutyTerritorie = JSON.parse(JSON.stringify(this.dutyTerritories))
|
||||
}
|
||||
if(this.brands){
|
||||
let brand = JSON.parse(JSON.stringify(this.brands))
|
||||
}
|
||||
let param = {
|
||||
ids: this.userId,
|
||||
selectedroles: selectedRole.join(','),
|
||||
dutyTerritories: this.dutyTerritories ? dutyTerritorie.join(',') : '',
|
||||
brands: this.brands ? brand.join(',') : ''
|
||||
dutyTerritories: this.dutyTerritories ? this.dutyTerritories.join(',') : '',
|
||||
brands: this.brands ? this.brands.join(',') : ''
|
||||
}
|
||||
postAction('/sys/user/setRole', param).then((res) => {
|
||||
if (res.success) {
|
||||
@@ -643,6 +637,8 @@
|
||||
this.userDepartModel = { userId: '', departIdList: [] }
|
||||
this.checkedDepartNames = []
|
||||
this.checkedDepartNameString = ''
|
||||
this.dutyTerritories = []
|
||||
this.brands = []
|
||||
this.checkedDepartKeys = []
|
||||
this.selectedDepartKeys = []
|
||||
this.resultDepartOptions = []
|
||||
|
||||
Reference in New Issue
Block a user