自定义表头修改为列表设置

用户管理修改
This commit is contained in:
高嵩
2023-02-14 10:08:18 +08:00
parent ffc89b63f1
commit 161bf6e87a
3 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -1376,7 +1376,7 @@ module.exports = {
Updateparametercolumn:'Update The Parameter Column',
columnfirst:'Reference the parameter column first',
columnforced:'Confirm a forced retraction?',
customize:'Customize the header',
customize:'List setting',
customColumn:'Custom column',
}
+1 -1
View File
@@ -1477,6 +1477,6 @@ module.exports = {
brand:'品牌',
allsubitemsitem:'该项目下拥有子项目是否全部删除',
contactTheFounder:'联系作者',
customize:'自定义表头',
customize:'列表设置',
customColumn:'自定义列',
}
@@ -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 = []