设备解析列表

This commit is contained in:
zhujiyan
2024-07-24 09:21:07 +08:00
parent 93b7a9ed4d
commit 6546909127

View File

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