瀏覽代碼

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

王杰 3 月之前
父節點
當前提交
ecf27497e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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')