From a53ece5036c1fa61a63fe5f9e0cd3519210ab928 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 07 Aug 2026 09:44:27 +0800
Subject: [PATCH] feat:兼容分辨率低不出现滚动条
---
applications/task-work-order/src/views/orderView/deviceInvocation/equipmentResource/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/applications/task-work-order/src/views/orderView/deviceInvocation/equipmentResource/index.vue b/applications/task-work-order/src/views/orderView/deviceInvocation/equipmentResource/index.vue
index c84cbbe..acfc428 100644
--- a/applications/task-work-order/src/views/orderView/deviceInvocation/equipmentResource/index.vue
+++ b/applications/task-work-order/src/views/orderView/deviceInvocation/equipmentResource/index.vue
@@ -64,7 +64,7 @@
<el-table-column type="index" width="64" label="序号" />
<el-table-column prop="deviceType" show-overflow-tooltip label="设备类型">
<template v-slot="{ row }">
- {{ row.deviceType === '1' ? '无人机' : '机场' }}
+ {{ row.deviceType === 1 ? '无人机' : '机场' }}
</template>
</el-table-column>
<el-table-column prop="deviceName" show-overflow-tooltip label="设备型号" />
@@ -75,6 +75,11 @@
{{ getDictLabel(row.modeCode, dictObj.modeCode) }}
</template>
</el-table-column>
+ <el-table-column prop="maintenanceState" show-overflow-tooltip label="保养状态">
+ <template v-slot="{ row }">
+ {{ row.maintenanceState === 0 ? '无需保养' : row.maintenanceState === 1 ? '待保养' : '正在保养' }}
+ </template>
+ </el-table-column>
<el-table-column prop="deviceSn" show-overflow-tooltip label="设备SN" />
<el-table-column show-overflow-tooltip label="设备位置" >
<template v-slot="{ row }">
@@ -83,7 +88,7 @@
</el-table-column>
<el-table-column prop="firmwareVersion" show-overflow-tooltip label="固件版本" />
<el-table-column prop="deviceDeptName" show-overflow-tooltip label="所属部门" />
- <el-table-column label="操作" class-name="operation-btns" width="180">
+ <el-table-column label="操作" class-name="operation-btns" width="180" fixed="right">
<template v-slot="{ row }">
<el-link @click="viewEquipment(row)">查看</el-link>
<!-- <el-link type="primary" @click="editEquipment(row)">编辑</el-link>
@@ -234,4 +239,4 @@
getList()
})
</script>
-<style scoped lang="scss"></style>
\ No newline at end of file
+<style scoped lang="scss"></style>
--
Gitblit v1.9.3