From b363a03cc33804b783fb87e17070d78e08e65308 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Wed, 08 Nov 2023 16:19:27 +0800
Subject: [PATCH] fix:路劲规划修改

---
 src/views/list/road.vue |   30 +++++++++++++++++++++---------
 1 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/src/views/list/road.vue b/src/views/list/road.vue
index da8e55e..dd0020d 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(){
@@ -292,11 +302,11 @@
     this.check=false
     this.startstate='batch'
     this.batchshow=true
-    this.selectCar();
+    // this.selectCar();
     this.batchid=record.coordinateId
   }
   private handlebatch(){
-    this.selectCar()
+    // this.selectCar()
     this.batchshow=false
     this.handlenull();
   }
@@ -315,15 +325,17 @@
       this.$message.success(res.data.message)
       this.starttime=''
       this.endtime=''
-      this.selectCar()
+      // this.selectCar()
     }))
   }
   private upa=''
   private recordid:any=0
-  private handleEditModalVisible(record){
+  private handleEditModalVisible(record) {
+    console.log('dataList',this.dataList)
     this.check=false
     this.handlebatch()
-    this.startstate='none'
+    this.startstate = 'none'
+    this.dataList=[]
     this.upa='upa'
     this.recordid=record.coordinateId
     if(this.carvalue==='������������������'){
@@ -361,7 +373,7 @@
   }
   private inupa(){
     this.upa=''
-    this.selectCar()
+    // this.selectCar()
   }
   private carvalue:any='������������������'
   private carIndex:any=[]

--
Gitblit v1.8.0