Переглянути джерело

分水器支路分布图, 消防泵房引出管路分布图 跳转平面图

yunxing 4 роки тому
батько
коміт
31b17e40ec
1 змінених файлів з 19 додано та 5 видалено
  1. 19 5
      src/views/equipmentFacilities/index.vue

+ 19 - 5
src/views/equipmentFacilities/index.vue

@@ -78,7 +78,7 @@ export default {
                 1002: [
                     //暖通
                     { text: '空调系统原理图', dataType: 'img', typecode: '2011', count: '无' },
-                    { text: '分水器支路分布图', dataType: 'floor' },
+                    { text: '分水器支路分布图', dataType: 'fbt', categoryId: 'FZQZL' },
                     { text: '机房平面布置图', dataType: 'room' },
                     { text: '楼层分布', dataType: 'floor' },
                 ],
@@ -88,7 +88,7 @@ export default {
                     { text: '消防喷淋系统示意图', dataType: 'img', typecode: '2015', count: '无' },
                     { text: '消防窗喷系统示意图', dataType: 'img', typecode: '2016', count: '无' },
                     { text: '消火栓系统示意图', dataType: 'img', typecode: '2017', count: '无' },
-                    { text: '消防泵房引出管路分布图', dataType: 'floor' },
+                    { text: '消防泵房引出管路分布图', dataType: 'fbt', categoryId: 'XFBFYCFL' },
                     { text: '机房平面布置图', dataType: 'room' },
                     { text: '楼层分布+附加数据', dataType: 'floor' },
                 ],
@@ -97,7 +97,7 @@ export default {
                     { text: '门禁管理系统原理图', dataType: 'img', typecode: '2019', count: '无' },
                     { text: 'BA楼宇智能化系统原理图', dataType: 'img', typecode: '2020', count: '无' },
                     { text: '机房平面布置图', dataType: 'room' },
-                    { text: '楼层分布', dataType: 'floor' },
+                    { text: '楼层分布+附加数据', dataType: 'floor' },
                 ],
                 1005: [
                     //给排水
@@ -155,6 +155,9 @@ export default {
     },
     beforeMount() {},
     mounted() {},
+    activated() {
+        console.log('111111')
+    },
     methods: {
         ...mapMutations(['SETCATEGORYID', 'SETSMSXT']),
         /**
@@ -167,7 +170,7 @@ export default {
             this.showRight = false
             this.currentSmsxt = smsxt
             this.systemText = text + '系统'
-            console.log( this.systemText)
+            console.log(this.systemText)
             /**
              * 查询图片数量,设备卡片
              */
@@ -291,6 +294,9 @@ export default {
                 case 'floor':
                     this.handleFloor(item)
                     break
+                case 'fbt':
+                    this.handleFbt(item)
+                    break
                 // 电井间商铺控制范围
                 case 'electricWell':
                     this.hanldeElectricWell(item)
@@ -375,11 +381,19 @@ export default {
          * 跳转 楼层分布
          */
         handleFloor(item) {
-
             let title = this.systemText + ' - 楼层分布'
             this.$router.push({ name: 'SystemFloor', params: { title } })
         },
         /**
+         *
+         */
+        handleFbt(item) {
+            console.log(item)
+            const { categoryId, text } = item
+            this.SETCATEGORYID(categoryId)
+            this.$router.push({ name: 'SystemFloor', params: { title: text } })
+        },
+        /**
          * 跳转 电井间控制商铺范围
          */
         hanldeElectricWell(item) {