GaoYuPeng 3 years ago
parent
commit
19142c2fc2

+ 4 - 4
shanXiPlatform/src/router/index.js

@@ -834,7 +834,7 @@ export const constantRoutes = [
834
       component: Layout,
834
       component: Layout,
835
       // redirect: '/guide/index',
835
       // redirect: '/guide/index',
836
       name: 'FacilitiesEquipment',
836
       name: 'FacilitiesEquipment',
837
-      meta: { title: '设施设备', icon: 'sheshi',noCache: true, affix: false, relation: 'house', istable: true},
837
+      meta: { title: '设施设备', icon: 'sheshi',noCache: true, affix: false,  istable: true},
838
       resourceCode: 242,
838
       resourceCode: 242,
839
       //  设施设备/设施管理
839
       //  设施设备/设施管理
840
       children: [
840
       children: [
@@ -843,7 +843,7 @@ export const constantRoutes = [
843
           redirect: 'facilitiesManagement/newFacilities',
843
           redirect: 'facilitiesManagement/newFacilities',
844
           component: facilitiesTabs,
844
           component: facilitiesTabs,
845
           name: 'FacilitiesManagemen',
845
           name: 'FacilitiesManagemen',
846
-          meta: { title: '设施管理', icon: 'dashboard', affix: false,istable: true},
846
+          meta: { title: '设施管理', icon: 'dashboard', affix: false,istable: true ,relation: 'library'},
847
           resourceCode: 243,
847
           resourceCode: 243,
848
 
848
 
849
 
849
 
@@ -855,7 +855,7 @@ export const constantRoutes = [
855
               name: 'NewFacilities',
855
               name: 'NewFacilities',
856
 
856
 
857
               hidden: true,
857
               hidden: true,
858
-              meta: { title: '最新设施检查记录', icon: 'dashboard', affix: false,relation: 'house', istable: true}
858
+              meta: { title: '最新设施检查记录', icon: 'dashboard', affix: false,relation: 'library', istable: true}
859
             },
859
             },
860
 
860
 
861
 
861
 
@@ -866,7 +866,7 @@ export const constantRoutes = [
866
               name: 'AllFacilities',
866
               name: 'AllFacilities',
867
 
867
 
868
               hidden: true,
868
               hidden: true,
869
-              meta: { title: '全部设施检查记录', icon: 'dashboard', affix: false ,relation: 'house', istable: true}
869
+              meta: { title: '全部设施检查记录', icon: 'dashboard', affix: false ,relation: 'library', istable: true}
870
             },
870
             },
871
 
871
 
872
 
872
 

+ 12 - 7
shanXiPlatform/src/views/facilitiesEquipment/facilitiesManagement/newFacilities/index.vue

@@ -88,13 +88,6 @@
88
             @click="moreRecords(4, scope.$index, scope.row)"
88
             @click="moreRecords(4, scope.$index, scope.row)"
89
             >更多记录
89
             >更多记录
90
           </el-button>
90
           </el-button>
91
-          <!-- <el-button
92
-                size="mini"
93
-                type="danger"
94
-                plain
95
-                @click="handleDelete(scope.$index, scope.row)"
96
-                >删除</el-button
97
-              > -->
98
         </template>
91
         </template>
99
       </el-table-column>
92
       </el-table-column>
100
     </el-table>
93
     </el-table>
@@ -146,6 +139,18 @@ export default {
146
     // 获取最新设施检查记录
139
     // 获取最新设施检查记录
147
     this.getNewFacilitycheck()
140
     this.getNewFacilitycheck()
148
   },
141
   },
142
+/* computed: {
143
+    depotIdVal() {
144
+      return this.$store.state.depotId
145
+    }
146
+  },
147
+  watch: {
148
+    depotIdVal: function(val) {
149
+      this.depotId = val
150
+      console.log(val,'val')
151
+      this.getNewList()
152
+    }
153
+  }, */
149
   methods: {
154
   methods: {
150
     //设施种类
155
     //设施种类
151
     getFacilityList() {
156
     getFacilityList() {