yyfang 3 年之前
父節點
當前提交
2140a6293e
共有 3 個文件被更改,包括 3 次插入1 次删除
  1. 1 1
      src/components/admin/checkMonitor.vue
  2. 1 0
      src/components/admin/reTask.vue
  3. 1 0
      src/components/admin/specialMonitor.vue

+ 1 - 1
src/components/admin/checkMonitor.vue

@@ -305,7 +305,7 @@
 		},
 		created() {
 			this.getTasks()
-			this.task_id = this.$route.params.id
+			this.task_id = this.$route.params.task_id
 		},
 		methods: {
 			//新增

+ 1 - 0
src/components/admin/reTask.vue

@@ -298,6 +298,7 @@
 		},
 		created() {
 			this.getTasks()
+			this.task_id = this.$route.params.task_id
 		},
 		methods: {
 			//新增

+ 1 - 0
src/components/admin/specialMonitor.vue

@@ -300,6 +300,7 @@
 		},
 		created() {
 			this.getTasks()
+			this.task_id = this.$route.params.task_id
 		},
 		methods: {
 			//新增