|
@@ -274,7 +274,8 @@ export default {
|
|
|
}
|
|
|
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_BACK') ||
|
|
|
+ record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_RECEIVE')) {
|
|
|
fetchRepairApplicationForm({ id: record.otherId }).then(res => {
|
|
|
this.visible = false
|
|
|
const modal = this.$refs.detailRepairApplicationFormRepairModal
|
|
@@ -284,14 +285,15 @@ export default {
|
|
|
if (record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_OK')) {
|
|
|
fetchRepairApplicationForm({ id: record.otherId }).then(res => {
|
|
|
this.visible = false
|
|
|
- const modal = this.$refs.detailRepairApplicationFormModal
|
|
|
+ const modal = this.$refs.detailRepairApplicationFormRepairModal
|
|
|
modal.base(res.data)
|
|
|
})
|
|
|
}
|
|
|
if (record.detailType === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_DETAIL_TYPE, 'REPAIR_FINISH')) {
|
|
|
fetchRepairApplicationForm({ id: record.otherId }).then(res => {
|
|
|
this.visible = false
|
|
|
- const modal = this.$refs.detailRepairApplicationFormCheckModal
|
|
|
+ // const modal = this.$refs.detailRepairApplicationFormCheckModal
|
|
|
+ const modal = this.$refs.detailRepairApplicationFormRepairModal
|
|
|
modal.base(res.data)
|
|
|
})
|
|
|
}
|