|  |  |  | 
|---|
|  |  |  | <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"> | 
|---|
|  |  |  | 
|---|
|  |  |  | private tableLoading: boolean = false; | 
|---|
|  |  |  | private columns: any[] = [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | title: "起点", | 
|---|
|  |  |  | title: "路段名称", | 
|---|
|  |  |  | dataIndex: "startPoint" | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | title: "终点", | 
|---|
|  |  |  | dataIndex: "endPoint" | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | title: "操作", | 
|---|
|  |  |  | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  | 
|---|
|  |  |  | time2:this.timevalue[1], | 
|---|
|  |  |  | mac:this.carvalue, | 
|---|
|  |  |  | }).then((res)=>{ | 
|---|
|  |  |  | console.log(res); | 
|---|
|  |  |  | this.carDate=[] | 
|---|
|  |  |  | this.pointshow=true | 
|---|
|  |  |  | this.setMarker(res) | 
|---|