| | |
| | | >校验</a-button
|
| | | >
|
| | | </div>
|
| | |
|
| | | <div class="left-five">
|
| | | <a-input
|
| | | style="width: 300px; margin-left: 0px"
|
| | | v-model="selectLuName"
|
| | | placeholder="请输入路段名称"
|
| | | />
|
| | | <a-button type="primary" style="margin-left: 10px" @click="selectLu"
|
| | | >搜索</a-button
|
| | | >
|
| | | </div>
|
| | | <div class="left-two">
|
| | | <a-table
|
| | | :dataSource="dataSource"
|
| | |
| | | this.selectLu()
|
| | | })
|
| | | }
|
| | |
|
| | | private opRender(text: string, record: any, index: number) {
|
| | | return (
|
| | | <div style="width:180px">
|
| | |
| | | private endtime:any=''
|
| | | private startstate:any='none'
|
| | | private setMarker(res) {
|
| | | console.log(res);
|
| | | const that=this
|
| | | that.carDate=[]
|
| | | that.carDataList=[]
|
| | |
| | | for(var i=0;i<res.data.data.data.length;i++){
|
| | | that.carDataList.push(res.data.data.data[i])
|
| | | }
|
| | | console.log(that.carDate,'that.carDate');
|
| | | console.log(that.carDataList,'that.carDataList');
|
| | | that.map.clearOverlays()
|
| | | let bPoints = []
|
| | | let aPoints = []
|
| | |
| | | var centerPoint = view.center;
|
| | | this.map.centerAndZoom(centerPoint, mapZoom);
|
| | | }
|
| | |
|
| | | private selectLuName:any=null
|
| | | private selectLu(){
|
| | | var macType = null
|
| | | if(this.carvalue!=='请选择走航车'){
|
| | | macType = this.carvalue;
|
| | | }
|
| | | get('coordinate/selectCruiserRoad',{
|
| | | name:this.selectLuName,
|
| | | mac:macType
|
| | | }).then((res)=>{
|
| | | this.dataSource=res.data.data
|
| | | })
|
| | |
| | | height: 60px;
|
| | | border-bottom: 1px dashed gray;
|
| | | }
|
| | | .left-five {
|
| | | margin-top: 20px;
|
| | | }
|
| | | .left-two {
|
| | | margin-top: 30px;
|
| | | margin-top: 10px;
|
| | | }
|
| | | .BMap_Marker.BMap_noprint {
|
| | | width: 23px;
|