用户管理编辑提交报错问题
This commit is contained in:
@@ -3119,6 +3119,9 @@
|
||||
.popconfirmmize .anticon-exclamation-circle {
|
||||
display: none !important;
|
||||
}
|
||||
.popconfirmmize .ant-popover-message{
|
||||
padding: 4px 0 36px!important;
|
||||
}
|
||||
//.popconfirm .ant-popover-inner-content{
|
||||
// padding: 0px 16px;
|
||||
//}
|
||||
|
||||
@@ -483,13 +483,17 @@
|
||||
handleSubmitOk() {
|
||||
this.confirmLoading = true
|
||||
let selectedRole = JSON.parse(JSON.stringify(this.selectedRole))
|
||||
let dutyTerritorie = JSON.parse(JSON.stringify(this.dutyTerritories))
|
||||
let brand = JSON.parse(JSON.stringify(this.brands))
|
||||
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: dutyTerritorie.join(','),
|
||||
brands: brand.join(',')
|
||||
dutyTerritories: this.dutyTerritories ? dutyTerritorie.join(',') : '',
|
||||
brands: this.brands ? brand.join(',') : ''
|
||||
}
|
||||
postAction('/sys/user/setRole', param).then((res) => {
|
||||
if (res.success) {
|
||||
|
||||
Reference in New Issue
Block a user