测试用例修改
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
投运
|
||||
</el-tag>
|
||||
<el-tag v-if="row.runFlag === 1" style="color: #fff; background: #996600" size="small">
|
||||
热备用
|
||||
检修
|
||||
</el-tag>
|
||||
<el-tag v-if="row.runFlag === 2" style="color: #fff; background: #A52a2a" size="small">
|
||||
停运
|
||||
@@ -198,7 +198,7 @@ const teriminaloption: any = ref([])
|
||||
const teriminalstatusoption = ref([
|
||||
{ name: '全部', id: '' },
|
||||
{ name: '投运', id: 0 },
|
||||
{ name: '热备用', id: 1 },
|
||||
{ name: '检修', id: 1 },
|
||||
{ name: '停运', id: 2 }
|
||||
])
|
||||
const stateoption = ref([
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<vxe-column field="runFlag" title="终端状态" v-if="key == 0">
|
||||
<template #default="{ row }">
|
||||
<el-tag v-if="row.runFlag === 0" type="success" size="small">投运</el-tag>
|
||||
<el-tag v-if="row.runFlag === 1" type="warning" size="small">热备用</el-tag>
|
||||
<el-tag v-if="row.runFlag === 1" type="warning" size="small">检修</el-tag>
|
||||
<el-tag v-if="row.runFlag === 2" type="danger" size="small">停运</el-tag>
|
||||
</template>
|
||||
</vxe-column>
|
||||
@@ -69,7 +69,7 @@ const formInline = reactive({
|
||||
const ids = ref([])
|
||||
const options = [
|
||||
{ value: '0', label: '投运' },
|
||||
{ value: '1', label: '热备用' },
|
||||
{ value: '1', label: '检修' },
|
||||
{ value: '2', label: '停运' }
|
||||
]
|
||||
const open = (e: any) => {
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
<vxe-column field="runFlag" title="终端状态">
|
||||
<template #default="{ row }">
|
||||
<el-tag v-if="row.runFlag === 0" type="success" size="small">投运</el-tag>
|
||||
<el-tag v-if="row.runFlag === 1" type="warning" size="small">热备用</el-tag>
|
||||
<el-tag v-if="row.runFlag === 1" type="warning" size="small">检修</el-tag>
|
||||
<el-tag v-if="row.runFlag === 2" type="danger" size="small">停运</el-tag>
|
||||
</template>
|
||||
</vxe-column>
|
||||
@@ -172,7 +172,7 @@ const teriminaloption: any = ref([])
|
||||
const teriminalstatusoption = ref([
|
||||
{ name: '全部', id: '' },
|
||||
{ name: '投运', id: 0 },
|
||||
{ name: '热备用', id: 1 },
|
||||
{ name: '检修', id: 1 },
|
||||
{ name: '停运', id: 2 }
|
||||
])
|
||||
const stateoption = ref([
|
||||
|
||||
Reference in New Issue
Block a user