自定义表头修改为列表设置
用户管理修改
This commit is contained in:
@@ -1376,7 +1376,7 @@ module.exports = {
|
|||||||
Updateparametercolumn:'Update The Parameter Column',
|
Updateparametercolumn:'Update The Parameter Column',
|
||||||
columnfirst:'Reference the parameter column first',
|
columnfirst:'Reference the parameter column first',
|
||||||
columnforced:'Confirm a forced retraction?',
|
columnforced:'Confirm a forced retraction?',
|
||||||
customize:'Customize the header',
|
customize:'List setting',
|
||||||
customColumn:'Custom column',
|
customColumn:'Custom column',
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1477,6 +1477,6 @@ module.exports = {
|
|||||||
brand:'品牌',
|
brand:'品牌',
|
||||||
allsubitemsitem:'该项目下拥有子项目,是否全部删除',
|
allsubitemsitem:'该项目下拥有子项目,是否全部删除',
|
||||||
contactTheFounder:'联系作者',
|
contactTheFounder:'联系作者',
|
||||||
customize:'自定义表头',
|
customize:'列表设置',
|
||||||
customColumn:'自定义列',
|
customColumn:'自定义列',
|
||||||
}
|
}
|
||||||
@@ -483,17 +483,11 @@
|
|||||||
handleSubmitOk() {
|
handleSubmitOk() {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
let selectedRole = JSON.parse(JSON.stringify(this.selectedRole))
|
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 = {
|
let param = {
|
||||||
ids: this.userId,
|
ids: this.userId,
|
||||||
selectedroles: selectedRole.join(','),
|
selectedroles: selectedRole.join(','),
|
||||||
dutyTerritories: this.dutyTerritories ? dutyTerritorie.join(',') : '',
|
dutyTerritories: this.dutyTerritories ? this.dutyTerritories.join(',') : '',
|
||||||
brands: this.brands ? brand.join(',') : ''
|
brands: this.brands ? this.brands.join(',') : ''
|
||||||
}
|
}
|
||||||
postAction('/sys/user/setRole', param).then((res) => {
|
postAction('/sys/user/setRole', param).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
@@ -643,6 +637,8 @@
|
|||||||
this.userDepartModel = { userId: '', departIdList: [] }
|
this.userDepartModel = { userId: '', departIdList: [] }
|
||||||
this.checkedDepartNames = []
|
this.checkedDepartNames = []
|
||||||
this.checkedDepartNameString = ''
|
this.checkedDepartNameString = ''
|
||||||
|
this.dutyTerritories = []
|
||||||
|
this.brands = []
|
||||||
this.checkedDepartKeys = []
|
this.checkedDepartKeys = []
|
||||||
this.selectedDepartKeys = []
|
this.selectedDepartKeys = []
|
||||||
this.resultDepartOptions = []
|
this.resultDepartOptions = []
|
||||||
|
|||||||
Reference in New Issue
Block a user