408249787 il y a 2 ans
Parent
commit
4c181c9313

+ 5 - 1
src/views/fill/task/FillGatherTask.vue

@@ -262,7 +262,11 @@ export default {
     // 下拉框map
     this.tableOption()
     this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.FILL_GATHER_TASK_STATUS)
-    console.log(this.statusMap)
+    if (this.$route.query.id) {
+      fetchFillGatherTask({ id: this.$route.query.id }).then(res => {
+        this.handleView(res.data)
+      })
+    }
   },
   methods: {
     tableOption () {

+ 2 - 1
src/views/workplace/backlog/WorkplaceBacklog.vue

@@ -386,7 +386,8 @@ export default {
           this.$refs.detailScrapModal.base(param)
         }
       } else if (record.type === this.DictCache.getValueByCode(this.DictCache.TYPE.WORKPLACE_BACKLOG_TYPE, 'FILL_TASK')) {
-        this.$router.push('/sb/inspection/fill/task')
+        console.log(record)
+        this.$router.push('/sb/inspection/fill/task?id=' + record.targetId) // 跳转巡检
       } else {
         this.$message.info('该类型的通知正在开发中,请稍后...')
       }