From 01b72c3ef8de7671065db88a105f8ff0b58834fe Mon Sep 17 00:00:00 2001
From: guoshipeng <3194674006@qq.com>
Date: Wed, 06 Sep 2023 11:10:11 +0800
Subject: [PATCH] fix:路段样式修改调整
---
src/views/list/road.vue | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/views/list/road.vue b/src/views/list/road.vue
index f5fc431..be60ef2 100644
--- a/src/views/list/road.vue
+++ b/src/views/list/road.vue
@@ -113,22 +113,22 @@
<div>
<div>
<span style="font-size: 17.5px; color: black; margin-left: 50px"
- >������ :</span
+ >������������ :</span
>
<a-input
style="width: 300px; margin-left: 15px"
- placeholder="���������������"
+ placeholder="���������������������"
v-model="startLu"
/>
</div>
- <div style="margin-top: 10px; margin-left: 50px">
+ <!-- <div style="margin-top: 10px; margin-left: 50px">
<span style="font-size: 17.5px; color: black">������ :</span>
<a-input
style="width: 300px; margin-left: 15px"
placeholder="���������������"
v-model="endLu"
/>
- </div>
+ </div> -->
</div>
</a-modal>
<div class="right">
@@ -190,12 +190,8 @@
private tableLoading: boolean = false;
private columns: any[] = [
{
- title: "������",
+ title: "������������",
dataIndex: "startPoint"
- },
- {
- title: "������",
- dataIndex: "endPoint"
},
{
title: "������",
@@ -208,9 +204,15 @@
private startLu:any=''
private endLu:any=''
private insertCarLu(){
+ if(this.carvalue==='������������������'){
+ this.$message.warning('���������������������������!')
+ return
+ }
+
post('coordinate/interCruiserRoad',{
startPoint:this.startLu,
- endPoint:this.endLu
+ mac:this.carvalue
+
}).then((res)=>{
console.log(res);
this.$message.success(res.data.message)
@@ -310,7 +312,6 @@
time2:this.timevalue[1],
mac:this.carvalue,
}).then((res)=>{
- console.log(res);
this.carDate=[]
this.pointshow=true
this.setMarker(res)
--
Gitblit v1.8.0