From bbbc322dca6248d8a07ca13872660696e2bd457b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=91=AB?= Date: Mon, 22 Mar 2021 15:09:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=93=81=E8=A7=84=E7=AE=A1=E7=90=86=E3=80=81?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E7=AE=A1=E7=90=86=20table=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E5=88=97=E6=96=87=E6=A1=88=E6=B8=B2=E6=9F=93=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=BA=8F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/alarmVideos/alarmLog.vue | 2 +- src/views/productSpecManage/index.vue | 9 +++++++-- src/views/repertoryManage/index.vue | 9 +++++++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/views/alarmVideos/alarmLog.vue b/src/views/alarmVideos/alarmLog.vue index e503bd4..5728684 100644 --- a/src/views/alarmVideos/alarmLog.vue +++ b/src/views/alarmVideos/alarmLog.vue @@ -213,7 +213,7 @@ export default { reset() { this.queryParam.startTime = "" this.queryParam.endTime = "" - this.time = "" + this.time = [] this.handleGetalarmLog() }, showModel(data) { diff --git a/src/views/productSpecManage/index.vue b/src/views/productSpecManage/index.vue index b1bd005..86eb051 100644 --- a/src/views/productSpecManage/index.vue +++ b/src/views/productSpecManage/index.vue @@ -55,8 +55,13 @@ import Model from "./model.vue" import {importCategoryExcelUrl} from "@/api/importExcel"; const columns = [ { - title: 'ID', - dataIndex: 'id', + title: '序号', + // dataIndex: 'id', + customRender: (text, record, index) => { + return ( + (record.pageNumber - 1) * 10 + index + 1 + ) + } }, { title: '品类', diff --git a/src/views/repertoryManage/index.vue b/src/views/repertoryManage/index.vue index 4381599..5b8dd75 100644 --- a/src/views/repertoryManage/index.vue +++ b/src/views/repertoryManage/index.vue @@ -36,8 +36,13 @@ import {importStockExcelUrl} from "@/api/importExcel"; const columns = [ { - title: 'ID', - dataIndex: 'id', + title: '序号', + // dataIndex: 'id', + customRender: (text, record, index) => { + return ( + (record.pageNumber - 1) * 10 + index + 1 + ) + } }, { title: '品规',