From ab51d1f63674239f308e5581567f40b9acc9edf2 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Wed, 25 Oct 2023 09:29:45 +0800 Subject: [PATCH] Merge branch 'feature_1.0' --- src/views/list/road.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/list/road.vue b/src/views/list/road.vue index da8e55e..c3bffa3 100644 --- a/src/views/list/road.vue +++ b/src/views/list/road.vue @@ -179,7 +179,7 @@ private change1(dates: Moment[]) { this.timevalue=[] - this.timevalue=[dates[0].format("YYYY-MM-DD hh:mm"),dates[1].format("YYYY-MM-DD hh:mm")] + this.timevalue=[dates[0].format("YYYY-MM-DD HH:mm"),dates[1].format("YYYY-MM-DD HH:mm")] } private mounted() { @@ -219,12 +219,22 @@ private tableLoading: boolean = false; private columns: any[] = [ { + title: "������", + dataIndex: "key", + key: "key", + align: "center", + customRender: (text,record,index) => `${index+1}`, + width: 60, + }, + { title: "������������", - dataIndex: "startPoint" + dataIndex: "startPoint", + align: "center", }, { title: "������", - customRender: this.opRender + customRender: this.opRender, + align: "center", } ]; private openIn(){ -- Gitblit v1.8.0