设备解析列表
This commit is contained in:
@@ -21,7 +21,7 @@ import { ArrowLeft } from '@element-plus/icons-vue'
|
|||||||
const emit = defineEmits(['back'])
|
const emit = defineEmits(['back'])
|
||||||
const dialogVisible = ref(false)
|
const dialogVisible = ref(false)
|
||||||
const tableStore: any = new TableStore({
|
const tableStore: any = new TableStore({
|
||||||
url: '/cs-device-boot/EquipmentDelivery/list',
|
url: '/cs-device-boot/portableOfflLog/queryPage',
|
||||||
publicHeight: 210,
|
publicHeight: 210,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
column: [
|
column: [
|
||||||
@@ -29,28 +29,23 @@ const tableStore: any = new TableStore({
|
|||||||
{ title: '序号', type: 'seq', width: 80 },
|
{ title: '序号', type: 'seq', width: 80 },
|
||||||
{ field: 'name', title: '文件名称', minWidth: 170 },
|
{ field: 'name', title: '文件名称', minWidth: 170 },
|
||||||
{ field: 'createTime', title: '导入时间', minWidth: 170 },
|
{ field: 'createTime', title: '导入时间', minWidth: 170 },
|
||||||
{ field: 'devModel', title: '数据总数(条)', minWidth: 170 },
|
{ field: 'allCount', title: '数据总数(条)', minWidth: 170 },
|
||||||
{ field: 'devAccessMethod', title: '已入库总数(条)', minWidth: 170 },
|
{ field: 'realCount', title: '已入库总数(条)', minWidth: 170 },
|
||||||
{
|
{
|
||||||
title: '解析状态',
|
title: '解析状态',
|
||||||
field: 'status',
|
field: 'state',
|
||||||
width: 100,
|
width: 100,
|
||||||
render: 'tag',
|
render: 'tag',
|
||||||
custom: {
|
custom: {
|
||||||
1: 'warning',
|
1: 'success',
|
||||||
2: 'success',
|
2: 'danger',
|
||||||
3: 'primary',
|
3: 'primary',
|
||||||
4: 'primary',
|
|
||||||
5: 'warning',
|
|
||||||
null:''
|
null:''
|
||||||
},
|
},
|
||||||
replaceValue: {
|
replaceValue: {
|
||||||
1: '失败',
|
1: '解析成功',
|
||||||
2: '成功',
|
2: '解析失败',
|
||||||
3: '失败',
|
3: '文件不存在',
|
||||||
4: '失败',
|
|
||||||
5: '失败',
|
|
||||||
null:'/'
|
|
||||||
}
|
}
|
||||||
// formatter: row => {
|
// formatter: row => {
|
||||||
// return row.cellValue == 1 ? '未注册' : row.cellValue == 2 ? '注册' : '接入'
|
// return row.cellValue == 1 ? '未注册' : row.cellValue == 2 ? '注册' : '接入'
|
||||||
|
|||||||
Reference in New Issue
Block a user