소스 검색

新增 主要设备清单路由, 设备设施新增 主要设备清单,重要维修及重要维保 入口

yunxing 4 년 전
부모
커밋
ba0c727556
3개의 변경된 파일63개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      src/router/index.ts
  2. 21 0
      src/views/equipmentFacilities/MainAsset.vue
  3. 31 0
      src/views/equipmentFacilities/index.vue

+ 11 - 0
src/router/index.ts

@@ -99,6 +99,17 @@ const routes: Array<RouteConfig> = [
             hideNarBar: true,
         },
     },
+    //  设备设施 --> 主要设备清单
+    {
+        path: '/mainAsset',
+        name: 'MainAsset',
+        component: () => import(/* webpackChunkName: "MainAsset" */ '../views/equipmentFacilities/MainAsset.vue'),
+        meta: {
+            keepAlive: false,
+            showTabbar: false,
+            hideNarBar: true,
+        },
+    },
     // 设备设置 --> 楼层分布
     {
         path: '/systemFloor',

+ 21 - 0
src/views/equipmentFacilities/MainAsset.vue

@@ -0,0 +1,21 @@
+<template>
+    <div>主要设备清单</div>
+</template>
+<script>
+/**
+ * 主要设备清单
+ */
+export default {
+    name: 'MainAsset',
+    props: {},
+    data() {
+        return {}
+    },
+    components: {},
+    beforeMount() {},
+    mounted() {},
+    methods: {},
+}
+</script>
+<style lang='less' scoped>
+</style>

+ 31 - 0
src/views/equipmentFacilities/index.vue

@@ -76,6 +76,8 @@ export default {
                     { text: '配电室低压柜及出线明细', dataType: 'dyg' },
                     { text: '楼层分布', dataType: 'floor', value: ' ' },
                     { text: '电井控制商铺范围', dataType: 'electricWell' },
+                    { text: '主要设备清单', dataType: 'mainAsset' },
+                    { text: '重要维修及重要维保', dataType: 'wxwb' },
                 ],
                 1002: [
                     //暖通
@@ -83,6 +85,8 @@ export default {
                     { text: '分水器支路分布图', dataType: 'fbt', categoryId: 'FZQZL' },
                     { text: '机房平面布置图', dataType: 'room' },
                     { text: '楼层分布', dataType: 'floor' },
+                    { text: '主要设备清单', dataType: 'mainAsset' },
+                    { text: '重要维修及重要维保', dataType: 'wxwb' },
                 ],
                 1003: [
                     //消防
@@ -93,6 +97,8 @@ export default {
                     { text: '消防泵房引出管路分布图', dataType: 'fbt', categoryId: 'XFBFYCFL' },
                     { text: '机房平面布置图', dataType: 'room' },
                     { text: '楼层分布+附加数据', dataType: 'floor' },
+                    { text: '主要设备清单', dataType: 'mainAsset' },
+                    { text: '重要维修及重要维保', dataType: 'wxwb' },
                 ],
                 1004: [
                     //弱电
@@ -100,6 +106,8 @@ export default {
                     { text: 'BA楼宇智能化系统原理图', dataType: 'img', typecode: '2020', count: '无' },
                     { text: '机房平面布置图', dataType: 'room' },
                     { text: '楼层分布+附加数据', dataType: 'floor' },
+                    { text: '主要设备清单', dataType: 'mainAsset' },
+                    { text: '重要维修及重要维保', dataType: 'wxwb' },
                 ],
                 1005: [
                     //给排水
@@ -107,17 +115,23 @@ export default {
                     { text: '排水系统原理示意图', dataType: 'img', typecode: '2022', count: '无' },
                     { text: '机房平面布置图', dataType: 'room' },
                     { text: '楼层分布', dataType: 'floor' },
+                    { text: '主要设备清单', dataType: 'mainAsset' },
+                    { text: '重要维修及重要维保', dataType: 'wxwb' },
                 ],
                 1006: [
                     //电梯
                     { text: '扶梯原理图', dataType: 'img', typecode: '2023', count: '无' },
                     { text: '直梯原理图', dataType: 'img', typecode: '2024', count: '无' },
                     { text: '楼层分布', dataType: 'floor' },
+                    { text: '主要设备清单', dataType: 'mainAsset' },
+                    { text: '重要维修及重要维保', dataType: 'wxwb' },
                 ],
                 1007: [
                     // 燃气
                     { text: '燃气系统原理示意图', dataType: 'img', typecode: '2025', count: '无' },
                     { text: '楼层分布', dataType: 'floor' },
+                    { text: '主要设备清单', dataType: 'mainAsset' },
+                    { text: '重要维修及重要维保', dataType: 'wxwb' },
                 ],
                 1008: [
                     // 土建
@@ -129,6 +143,8 @@ export default {
                     // { text: '建筑立面图', dataType: 'img', typecode: '2026', count: '无' },
                     { text: '建筑立面图', dataType: 'img', typecode: ['2026', '2027', '2028', '2029'], count: '无' },
                     { text: '楼层分布', dataType: 'floor' },
+                    { text: '主要设备清单', dataType: 'mainAsset' },
+                    { text: '重要维修及重要维保', dataType: 'wxwb' },
                 ],
             },
             listKey: `list_${new Date().getTime()}`,
@@ -381,6 +397,14 @@ export default {
                 case 'room':
                     this.handleRoom(item)
                     break
+                // 主要设备清单
+                case 'mainAsset':
+                    this.handleMainAsset(item)
+                    break
+                // 维修维保
+                case 'wxwb':
+                    this.handleWxwb(item)
+                    break
                 // 楼层分布
                 case 'floor':
                     this.handleFloor(item)
@@ -476,6 +500,13 @@ export default {
             }
             this.$router.push({ name: 'EngineRoomPicture', params: {} })
         },
+        
+        handleMainAsset() {
+            this.$router.push({ name: 'MainAsset' })
+        },
+        handleWxwb() {
+            this.$router.push({ name: 'RepairMaintenance' })
+        },
         /**
          * 配电室低压柜及出线明细
          */