guarantee-lsq 2 vuotta sitten
vanhempi
commit
ae350e70e6
1 muutettua tiedostoa jossa 7 lisäystä ja 2 poistoa
  1. 7 2
      src/views/workplace/backlog/WorkplaceBacklog.vue

+ 7 - 2
src/views/workplace/backlog/WorkplaceBacklog.vue

@@ -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