Ver código fonte

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

王杰 3 meses atrás
pai
commit
ecf27497e3
1 arquivos alterados com 1 adições e 1 exclusões
  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')