代码提交

This commit is contained in:
jiang 2025-10-14 20:43:52 +08:00
parent 163923fcc6
commit baf7cafdbb
1 changed files with 5 additions and 5 deletions

View File

@ -80,11 +80,11 @@
<el-table :data="tableData" style="width: 100%">
<el-table-column align="center" show-overflow-tooltip type="index" label="序号" width="50"/>
<el-table-column align="center" show-overflow-tooltip prop="companyName" label="单位名称"/>
<el-table-column align="center" show-overflow-tooltip prop="deviceName" label="装备名称"/>
<el-table-column align="center" show-overflow-tooltip prop="devModel" label="装备型号"/>
<el-table-column align="center" show-overflow-tooltip prop="propertyUnit" label="单位名称"/>
<el-table-column align="center" show-overflow-tooltip prop="name" label="装备名称"/>
<el-table-column align="center" show-overflow-tooltip prop="specificationModel" label="装备型号"/>
<el-table-column align="center" show-overflow-tooltip prop="code" label="装备编码"/>
<el-table-column align="center" show-overflow-tooltip prop="brand" label="装备厂家"/>
<el-table-column align="center" show-overflow-tooltip prop="manufacturer" label="装备厂家"/>
<el-table-column align="center" show-overflow-tooltip prop="productionDate" label="出厂日期">
<template slot-scope="scope">
{{ formatDate(scope.row.productionDate) }}
@ -110,7 +110,7 @@
</el-table-column>
<el-table-column align="center" show-overflow-tooltip prop="deviceStatus" label="预警情况">
<template slot-scope="scope">
<span :class="scope.row.deviceStatus=='临近364天退役'?'red':''">{{ scope.row.deviceStatus }}
<span :class="scope.row.status=='临近364天退役'?'red':''">{{ scope.row.status }}
</span>
</template>
</el-table-column>