|
@@ -397,7 +397,14 @@
|
397
|
397
|
onLoad((option) => {
|
398
|
398
|
handlerStore.clearHandlerData();
|
399
|
399
|
if(incidentBuildStore.incidentBuild.data){
|
400
|
|
- Object.assign(incidentData, incidentBuildStore.incidentBuild.data);
|
|
400
|
+ Object.assign(
|
|
401
|
+ incidentData,
|
|
402
|
+ incidentBuildStore.incidentBuild.data,
|
|
403
|
+ {
|
|
404
|
+ priority: incidentBuildStore.incidentBuild.data.category ? incidentBuildStore.incidentBuild.data.category.priority : undefined,
|
|
405
|
+ description: incidentBuildStore.incidentBuild.data.category ? incidentBuildStore.incidentBuild.data.category.mutiCategory : undefined,
|
|
406
|
+ },
|
|
407
|
+ );
|
401
|
408
|
// 修改报修科室,则回显楼栋,楼层,详细地址,联系电话
|
402
|
409
|
if(incidentBuildStore.incidentBuild.sign === 'department'){
|
403
|
410
|
incidentData.place = incidentData.department.place || undefined;
|