|
|
@ -366,6 +366,10 @@ export default { |
|
|
|
source: {//展示来源:manage 管理平台 visiual 可视化平台 |
|
|
|
type: String, |
|
|
|
default: 'manage' |
|
|
|
}, |
|
|
|
icResiUserId: { |
|
|
|
type: String, |
|
|
|
default: '' |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
@ -457,7 +461,7 @@ export default { |
|
|
|
this.customerId = localStorage.getItem("customerId"); |
|
|
|
this.getGridList(); |
|
|
|
this.getDemandOptions(); |
|
|
|
this.getDemandUserList(); |
|
|
|
await this.getDemandUserList(); |
|
|
|
this.getServiceuserList(); |
|
|
|
this.getDictOptions(); |
|
|
|
if (this.formType === 'add') { |
|
|
@ -468,7 +472,6 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.pageLoading = true; |
|
|
|
}, |
|
|
|
|
|
|
@ -796,6 +799,15 @@ export default { |
|
|
|
} else { |
|
|
|
console.log("获取查询详情成功", res.data); |
|
|
|
this.demandUserList = res.data; |
|
|
|
// debugger |
|
|
|
if(this.icResiUserId && this.formType==='add') { |
|
|
|
this.demandUserList.forEach((item) => { |
|
|
|
|
|
|
|
if (item.demandUserId == this.icResiUserId) |
|
|
|
this.selectDemandUser = item.label; |
|
|
|
}); |
|
|
|
this.form.demandUserId = this.icResiUserId |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|