|
@@ -278,7 +278,12 @@ export default {
|
|
|
record.status = 2
|
|
|
})
|
|
|
}
|
|
|
- if (record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_APPLICATION') ||
|
|
|
+ fetchRepairApplicationForm({ id: record.otherId }).then(res => {
|
|
|
+ this.visible = false
|
|
|
+ const modal = this.$refs.detailRepairApplicationFormRepairModal
|
|
|
+ modal.base(res.data)
|
|
|
+ })
|
|
|
+ /*if (record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_APPLICATION') ||
|
|
|
record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_DISPATCH') ||
|
|
|
record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_BACK') ||
|
|
|
record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_RECEIVE') ||
|
|
@@ -289,7 +294,7 @@ export default {
|
|
|
const modal = this.$refs.detailRepairApplicationFormRepairModal
|
|
|
modal.base(res.data)
|
|
|
})
|
|
|
- }
|
|
|
+ }*/
|
|
|
if (record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_OK')) {
|
|
|
fetchRepairApplicationForm({ id: record.otherId }).then(res => {
|
|
|
this.visible = false
|