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