修改页面展示

This commit is contained in:
liuhanqing
2025-07-30 11:52:46 +08:00
parent 405a8771d8
commit 486df4a0fd
2 changed files with 8 additions and 5 deletions

View File

@@ -82,7 +82,11 @@
<el-table-column label="id" align="center" prop="id" />
<el-table-column label="设备编码" align="center" prop="deviceCode" />
<el-table-column label="设备名称" align="center" prop="name" />
<el-table-column label="类型" align="center" prop="type" />
<el-table-column label="类型" align="center" prop="type" >
<template slot-scope="scope">
<dict-tag :options="dict.type.ssj_type" :value="scope.row.type"/>
</template>
</el-table-column>
<el-table-column label="设备IP" align="center" prop="ipAddress" />
<el-table-column label="PLC读取地址" align="center" prop="plcDbReadAddress" />
<el-table-column label="是否可用" align="center" prop="isActive" />
@@ -170,6 +174,7 @@ import { listSsj, getSsj, delSsj, addSsj, updateSsj } from "@/api/device/ssj"
export default {
name: "Ssj",
dicts: ['ssj_type'],
data() {
return {
// 遮罩层