diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index ceeddab0d..4c187d4d7 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -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', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index bf6a67de7..5389c8ff0 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1477,6 +1477,6 @@ module.exports = { brand:'品牌', allsubitemsitem:'该项目下拥有子项目,是否全部删除', contactTheFounder:'联系作者', - customize:'自定义表头', + customize:'列表设置', customColumn:'自定义列', } \ No newline at end of file diff --git a/jero-web/src/views/system/modules/UserModal.vue b/jero-web/src/views/system/modules/UserModal.vue index c9168d230..885cf6ad5 100644 --- a/jero-web/src/views/system/modules/UserModal.vue +++ b/jero-web/src/views/system/modules/UserModal.vue @@ -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 = []