From 6546909127f26c97a9667d548e04dcac83095954 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Wed, 24 Jul 2024 09:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E8=A7=A3=E6=9E=90=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device/control/analysisList/index.vue | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/views/govern/device/control/analysisList/index.vue b/src/views/govern/device/control/analysisList/index.vue index 74f5c46..8395821 100644 --- a/src/views/govern/device/control/analysisList/index.vue +++ b/src/views/govern/device/control/analysisList/index.vue @@ -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 ? '注册' : '接入'