|
@@ -1920,7 +1920,9 @@ export default {
|
|
|
'WRITE_REPORT', 'CHECK_REPORT', 'RECHECK_REPORT', 'FOURTH_CHECK_REPORT'
|
|
|
],
|
|
|
// 统计文件上传次数与文件数量是否符合,以免过早清空文件列表
|
|
|
- fileCount: 0
|
|
|
+ fileCount: 0,
|
|
|
+ // 查询评估对象时加一个加载状态,以免因为网络等原因造成修改后列表不刷新引起的一系列后续错误
|
|
|
+ targetListLoading: false
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -2313,7 +2315,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 根据资产业务id获取资产业务评估对象集合
|
|
|
- getAETargetListByAssetsId(productionNo) {
|
|
|
+ getAETargetListByAssetsId() {
|
|
|
+ this.targetListLoading = true;
|
|
|
let aETargetListSelectDTO = new Object();
|
|
|
aETargetListSelectDTO.businessId = this.pageParams.row.assetsId;
|
|
|
// if (productionNo != null || productionNo != undefined || productionNo != '') {
|
|
@@ -2346,6 +2349,7 @@ export default {
|
|
|
this.totalEvaluateValue = this.assetsEvaluationTarget.reduce((sum, target) => sum + target.estimatedValue, 0);
|
|
|
// 获取评估对象信息后查询产品选择信息
|
|
|
this.getChoiceLog();
|
|
|
+ this.targetListLoading = false;
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -2904,9 +2908,9 @@ export default {
|
|
|
duration: 2000
|
|
|
});
|
|
|
}
|
|
|
- this.getAETargetListByAssetsId(this.assetsProductionForm.productionNo);
|
|
|
+ this.getAETargetListByAssetsId();
|
|
|
this.productionWriteDialogVisible = false;
|
|
|
- this.getProductionList();
|
|
|
+ // this.getProductionList();
|
|
|
this.writeProductionReportNos = [];
|
|
|
this.writeProductionStatementNos = [];
|
|
|
})
|
|
@@ -2989,7 +2993,6 @@ export default {
|
|
|
aProListSelectDTO.productionNos = this.assetsProductionData.filter(obj => obj.productionType !== 'STATEMENT').map(obj => obj.productionNo);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
aProListSelectDTO.businessId = this.assetsForm.id;
|
|
|
aProListSelectDTO.productionNo = this.commitProductionNo;
|
|
|
this.$api.assets.getInatanceCount(aProListSelectDTO).then(res => {
|
|
@@ -3098,7 +3101,7 @@ export default {
|
|
|
}
|
|
|
this.getAETargetListByAssetsId();
|
|
|
this.productionWriteDialogVisible = false;
|
|
|
- this.getProductionList();
|
|
|
+ // this.getProductionList();
|
|
|
})
|
|
|
}
|
|
|
})
|