From a6d73ec1faa264d610ce7ae681a0186e0b20f289 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Wed, 25 Oct 2023 09:29:31 +0800
Subject: [PATCH] fix:路径规划修改
---
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