guoshipeng
2023-09-06 01b72c3ef8de7671065db88a105f8ff0b58834fe
fix:路段样式修改调整
1 files modified
23 ■■■■ changed files
src/views/list/road.vue 23 ●●●● patch | view | raw | blame | history
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)