Browse Source

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

王杰 3 tháng trước cách đây
mục cha
commit
ecf27497e3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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')