Kaynağa Gözat

设备台账详情

lipenghui 3 ay önce
ebeveyn
işleme
a45b9fadea

+ 3 - 2
src/views/pms/device/AllotLogList.vue

@@ -1,6 +1,6 @@
 <template>
   <ContentWrap>
-    <div v-loading="loading" style="height: 100%">
+<!--    <div v-loading="loading" style="height: 1000px">-->
       <el-table :data="deviceAllots" style="width: 100%">
         <el-table-column prop="deviceName" label="设备名称" />
         <el-table-column prop="deviceCode" label="设备编码" />
@@ -22,7 +22,7 @@
         v-model:limit="queryParams.pageSize"
         @pagination="loadDeviceAllots(props.deviceId)"
       />
-    </div>
+<!--    </div>-->
   </ContentWrap>
 </template>
 <script setup lang="ts">
@@ -71,6 +71,7 @@ const loadDeviceAllots = async (deviceId) => {
   }
 }
 onMounted(() => {
+  debugger
   loadDeviceAllots(props.deviceId)
 })
 </script>

+ 3 - 0
src/views/pms/device/DeviceInfo.vue

@@ -190,6 +190,9 @@ import BomInfo from '@/views/pms/device/BomInfo.vue'
 import FailureList from '@/views/pms/device/FailureList.vue'
 import MaintainList from '@/views/pms/device/MaintainList.vue'
 import InspectList from '@/views/pms/device/InspectList.vue'
+import MaintenanceList from '@/views/pms/device/MaintenanceList.vue'
+import AllotLogList from '@/views/pms/device/AllotLogList.vue'
+import DeviceStatusLogList from "@/views/pms/device/DeviceStatusLogList.vue";
 import { createImageViewer } from '@/components/ImageViewer'
 
 const defaultPicUrl = ref(

+ 2 - 2
src/views/pms/device/DeviceStatusLogList.vue

@@ -1,6 +1,6 @@
 <template>
   <ContentWrap>
-      <div v-loading="loading" style="height: 100%">
+<!--      <div v-loading="loading" style="height: 100%">-->
         <el-table :data="deviceStatuses" style="width: 100%">
           <el-table-column prop="deviceName" label="设备名称"  />
           <el-table-column prop="deviceCode" label="设备编码"  />
@@ -31,7 +31,7 @@
           v-model:limit="queryParams.pageSize"
           @pagination="loadDeviceStatuses(props.deviceId)"
         />
-      </div>
+<!--      </div>-->
   </ContentWrap>
 </template>
 <script setup lang="ts">