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: {
 			//新增