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