Ver Fonte

Merge branch 'demo_' of http://124.71.196.186:8888/hfxc226/hitch-antd into demo_

guarantee-lsq há 1 ano atrás
pai
commit
449814d125

+ 3 - 0
src/views/idle-assets/IdleAssets.vue

@@ -168,6 +168,9 @@ export default {
     // 下拉框map
     this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SB_UNUSED_STATUS)
     this.tableOption()
+    if (this.$route.query.id) {
+      this.handleView(this.$route.query)
+    }
   },
   methods: {
     tableOption () {

+ 3 - 0
src/views/workplace/backlog/WorkplaceBacklog.vue

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