修改内容
This commit is contained in:
@@ -52,6 +52,12 @@
|
||||
<template #default="scope">
|
||||
<el-tag type="warning" v-if="scope.row.warningType == 3">运输距离预警</el-tag>
|
||||
<el-tag type="danger" v-if="scope.row.warningType == 2">数量盘单预警</el-tag>
|
||||
<el-tag type="info" v-if="scope.row.warningType == 4">设备停留预警</el-tag>
|
||||
<el-tag type="danger" v-if="scope.row.warningType == 5">高温预警</el-tag>
|
||||
<el-tag type="info" v-if="scope.row.warningType == 6">低温预警</el-tag>
|
||||
<el-tag type="warning" v-if="scope.row.warningType == 7">位置偏离预警</el-tag>
|
||||
<el-tag type="danger" v-if="scope.row.warningType == 8">延误预警</el-tag>
|
||||
<el-tag type="success" v-if="scope.row.warningType == 9">超前到达预警</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="warningTime" label="预警时间" />
|
||||
@@ -121,6 +127,12 @@ const formItemList = reactive([
|
||||
selectOptions: [
|
||||
{ value: 2, text: '数量盘单预警' },
|
||||
{ value: 3, text: '运输距离预警' },
|
||||
{ value: 4, text: '设备停留预警' },
|
||||
{ value: 5, text: '高温预警' },
|
||||
{ value: 6, text: '低温预警' },
|
||||
{ value: 7, text: '位置偏离预警' },
|
||||
{ value: 8, text: '延误预警' },
|
||||
{ value: 9, text: '超前到达预警' },
|
||||
],
|
||||
param: 'warningType',
|
||||
span: 7,
|
||||
|
||||
Reference in New Issue
Block a user