Explorar o código

fix(safety-inspection):修正巡检任务ID获取错误

王杰 hai 3 meses
pai
achega
ecf27497e3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/safety-inspection/addInspectionTask.vue

+ 1 - 1
src/views/safety-inspection/addInspectionTask.vue

@@ -166,7 +166,7 @@ export default {
       this.$refs.addTaskFormRef.validate((valid) => {
         if (valid) {
           startPatrol(this.addTaskFrom).then((res) => {
-            this.xcId = res.data.newSercurity.id
+            this.xcId = res.data.newPatrolPan.id
             this.$emit('refreshData')
           })
           this.$emit('closeAddTask')