Browse Source

维修完善

guarantee-lsq 2 years ago
parent
commit
406e244f80

+ 0 - 1
src/views/repair/application-form/modules/CheckForm.vue

@@ -166,7 +166,6 @@ export default {
         this.$emit('ok')
       }
     }
-
   }
 }
 </script>

+ 4 - 1
src/views/repair/application-form/modules/DetailRepair.vue

@@ -971,7 +971,7 @@ export default {
         this.loading = false
         this.model = res.data
         this.visible = true
-        this.dispatchList = JSON.parse(this.model.repairDispatchList)
+        // this.dispatchList = JSON.parse(this.model.repairDispatchList)
       })
       this.init()
     },
@@ -990,6 +990,9 @@ export default {
         this.loading = false
         this.dataRecord = res.data.rows
       })
+      fetchRepairApplicationForm({ id: this.model.id }).then(res => {
+        this.model = res.data
+      })
     },
     handleVerifyRecordOk () {
       this.loading = true

+ 1 - 1
src/views/repair/application-form/modules/FinishForm.vue

@@ -207,7 +207,7 @@ export default {
         values.repairEndTime = this.BaseTool.Date.formatter(values.repairEndTime, this.BaseTool.Date.PICKER_NORM_DATETIME_PATTERN)
         finish(values).then(() => {
           this.$message.info('维修已提交,等待主管审核')
-          this.handleCancel(values);
+          this.handleCancel(values)
           /*setTimeout(() => {
             self.$router.push({ path: '/repair/form/mine' })
           }, 1000)*/