This commit is contained in:
parent
422aaeca3b
commit
50e256de40
|
|
@ -132,7 +132,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column align="center" show-overflow-tooltip prop="deviceStatus" label="预警情况">
|
||||
<template slot-scope="scope">
|
||||
<span :class="scope.row.status=='临近364天退役'?'red':''">{{ scope.row.status }}
|
||||
<span :class="scope.row.status.includes('告警')?'red':''">{{ scope.row.status }}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
|
|||
|
|
@ -106,7 +106,12 @@
|
|||
<el-table-column align="center" prop="manageMode" label="管理模式" min-width="80" />
|
||||
<el-table-column align="center" prop="devCode" label="设备编码" min-width="100" />
|
||||
<el-table-column align="center" prop="inStockNum" label="在库数量" width="100" />
|
||||
<el-table-column align="center" prop="status" label="预警情况" width="120" />
|
||||
<el-table-column align="center" prop="status" label="预警情况" width="120" >
|
||||
<template slot-scope="scope">
|
||||
<span :class="scope.row.status.includes('告警')?'red':''">{{ scope.row.status }}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" prop="scrapQuantity" label="申请退役数量" width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-input-number
|
||||
|
|
@ -416,6 +421,10 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .red {
|
||||
color: red; /* Element UI官方危险色,比纯red更贴合UI风格 */
|
||||
font-weight: 500; /* 可选:加粗突出告警文本 */
|
||||
}
|
||||
/* 六级分类级联选择器样式优化 */
|
||||
::v-deep .six-level-cascader .el-cascader-menu {
|
||||
max-height: 300px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue