feat: There is no way the, bug #56378
This commit is contained in:
@@ -318,14 +318,14 @@ export default {
|
||||
if(this.userType === 'QCRBUSS'){
|
||||
this.qbfsForm.QCRBUSSID=idList;
|
||||
this.qbfsForm.QCRBUSS=nameList;
|
||||
if(data && data.length > 0){
|
||||
const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",")
|
||||
const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",")
|
||||
this.qbfsForm.QCDWID = institutionIdList
|
||||
this.qbfsForm.QCDW = institutionNameList
|
||||
}
|
||||
this.formKey++
|
||||
}
|
||||
if(data && data.length > 0){
|
||||
const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",")
|
||||
const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",")
|
||||
this.qbfsForm.QCDWID = institutionIdList
|
||||
this.qbfsForm.QCDW = institutionNameList
|
||||
}
|
||||
|
||||
this.modalShowRoleFlag = false
|
||||
},
|
||||
|
||||
@@ -1864,13 +1864,12 @@
|
||||
}else if(this.userType === 'QCRBUSS'){
|
||||
this.form.QCRBUSSID=idList;
|
||||
this.form.QCRBUSS=nameList;
|
||||
}
|
||||
|
||||
if(data && data.length > 0){
|
||||
const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",")
|
||||
const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",")
|
||||
this.form.QCDWID = institutionIdList
|
||||
this.form.QCDW = institutionNameList
|
||||
if(data && data.length > 0){
|
||||
const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",")
|
||||
const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",")
|
||||
this.form.QCDWID = institutionIdList
|
||||
this.form.QCDW = institutionNameList
|
||||
}
|
||||
}
|
||||
|
||||
this.modalShowRoleFlag = false
|
||||
|
||||
@@ -1785,19 +1785,18 @@
|
||||
}else if(this.userType === 'QCRBUSS'){
|
||||
this.form.QCRBUSSID=idList;
|
||||
this.form.QCRBUSS=nameList;
|
||||
if(data && data.length > 0){
|
||||
console.log(data)
|
||||
const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",")
|
||||
const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",")
|
||||
this.form.QCDWID = institutionIdList
|
||||
this.form.QCDW = institutionNameList
|
||||
}
|
||||
}else if(this.userType === 'bzUserId'){
|
||||
this.roleForm.bzUserId = idList
|
||||
this.roleForm.bzUserName = nameList
|
||||
}
|
||||
|
||||
if(data && data.length > 0){
|
||||
console.log(data)
|
||||
const institutionIdList = this.unique(data.map(item => item.topUnitId)).join(",")
|
||||
const institutionNameList = this.unique(data.map(item => item.topUnit)).join(",")
|
||||
this.form.QCDWID = institutionIdList
|
||||
this.form.QCDW = institutionNameList
|
||||
}
|
||||
|
||||
this.modalShowRoleFlag = false
|
||||
},
|
||||
unique(newArr) {
|
||||
|
||||
Reference in New Issue
Block a user