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