{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\dataScreen\\dataScreenCopy\\js\\basicPagesMixin.js","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\dataScreen\\dataScreenCopy\\js\\basicPagesMixin.js","mtime":1667326394951},{"path":"D:\\jenkins\\workspace\\yhxt-web\\babel.config.js","mtime":1667326389982},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.regexp.search\";\nimport _defineProperty from \"D:/jenkins/workspace/yhxt-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport \"core-js/modules/es6.number.constructor\";\nimport \"core-js/modules/web.dom.iterable\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nimport option from \"./option.js\";\nexport var basicPagesMixin = {\n data: function data() {\n return {\n index: 1,\n //基础数据点击索引\n query: {},\n //桥梁类别统计和隧道等级以及各个结构数量统计请求参数\n queryMileage: {\n companyId: '',\n companyName: '',\n roadSegmentId: ''\n },\n //里程排行榜\n type: '',\n //判断基础数据渲染哪一个\n option1: option[1],\n //路段的数据\n option_2: option[2],\n //沿线设施数据\n option1_2: option[3],\n //边坡数据\n option_3: option[3],\n //边坡数据\n option_4: option[4],\n //桥梁数据\n option_5: option[5],\n //桥梁数据\n option_6: option[6],\n //涵洞数据\n option2: option[7],\n //桥梁类别统计\n option3: option[8],\n //隧道等级统计\n option10: option[12],\n //养护车辆统计\n mapCenter: [107.400147, 29.812421],\n BasicData: [],\n //基础设施数据\n // BasicUrl: '/baseDataStatistics/v1/getRoad', //初始化基础设施路段接口地址\n BasicUrl: '/bizRoadsideFacilities/bizRoadsideFacilitiesManager/v1/getJson',\n // '/road/roadmanage/v1/getJson', //初始化基础设施路段接口地址\n BasicType: 1,\n //判断目前点击的是那一个设施\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n querysMap: {\n pageBean: {\n page: 1,\n pageSize: 1000,\n showTotal: true\n },\n params: {},\n querys: [{\n group: 'advance',\n operation: 'LIKE',\n property: 'road_segment_name_',\n relation: 'AND',\n value: '' //永泸高速\n }, {\n group: 'advance',\n operation: 'LIKE',\n property: 'road_segment_id_',\n relation: 'AND',\n value: ''\n }]\n },\n queryBasic: {\n pageBean: {\n page: 1,\n pageSize: 10,\n showTotal: true\n },\n params: {},\n querys: []\n },\n urlMap: '/bizBridgeInformation/v1/getList',\n //请求地图桥梁数据,默认值\n basicData_1: [\n // {\n // id: 1,\n // index: 1,\n // count: 45,\n // name: '路段'\n // },\n {\n id: 1,\n index: 1,\n count: 45,\n name: '服务区'\n }, {\n id: 2,\n index: 2,\n count: 45,\n name: '收费站'\n }, {\n id: 3,\n index: 3,\n count: 45,\n hightCount: 45,\n notHigthcount: 45,\n name: '边坡'\n }],\n basicData_2: [{\n id: 4,\n index: 4,\n name: '桥梁',\n data: [{\n name: '特大',\n count: 455\n }, {\n name: '大',\n count: 455\n }, {\n name: '中',\n count: 455\n }, {\n name: '小',\n count: 455\n }]\n }, {\n id: 5,\n index: 5,\n name: '隧道',\n data: [{\n name: '特长',\n count: 455\n }, {\n name: '中长',\n count: 455\n }, {\n name: '长',\n count: 455\n }, {\n name: '短',\n count: 455\n }]\n }, {\n id: 6,\n index: 6,\n name: '涵洞',\n data: [{\n name: '盖板涵',\n count: 455\n }, {\n name: '管涵',\n count: 455\n }, {\n name: '箱涵',\n count: 455\n }, {\n name: '拱涵',\n count: 455\n }, {\n name: '倒虹吸',\n count: 455\n }]\n }],\n modularIndex: 0,\n //浮动在地图上的操作模块的索引\n listData: [{\n key: 0,\n name: '桥梁',\n isActive: true,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/brg.png\"),\n active: require(\"../../../../assets/baseStruct/brg-active.png\")\n }, {\n key: 1,\n name: '隧道',\n isActive: false,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/tunnel.png\"),\n active: require(\"../../../../assets/baseStruct/tunnel-active.png\")\n }, {\n key: 2,\n name: '涵洞',\n isActive: false,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/hd.png\"),\n active: require(\"../../../../assets/baseStruct/hd-active.png\")\n }, {\n key: 3,\n name: '收费站',\n isActive: false,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/gantry.png\"),\n active: require(\"../../../../assets/baseStruct/gantry-active.png\")\n }, {\n key: 4,\n name: '服务区',\n isActive: false,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/area.png\"),\n active: require(\"../../../../assets/baseStruct/area-active.png\")\n }, {\n key: 5,\n name: '养护车辆',\n isActive: false,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/yhcl.png\"),\n active: require(\"../../../../assets/baseStruct/yhcl-active.png\")\n }, {\n key: 6,\n name: '养护工区',\n isActive: false,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/conserve.png\"),\n active: require(\"../../../../assets/baseStruct/conserve-active.png\")\n }, {\n key: 7,\n name: '救援点',\n isActive: false,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/rescue.png\"),\n active: require(\"../../../../assets/baseStruct/rescue-active.png\")\n }, {\n key: 8,\n name: '应急物资库',\n isActive: false,\n isHover: false,\n url: require(\"../../../../assets/baseStruct/emergency.png\"),\n active: require(\"../../../../assets/baseStruct/emergency-active.png\")\n }\n // {\n // key: 9,\n // name: '边坡',\n // isActive: false,\n // isHover: false,\n // url: require('../../../../assets/baseStruct/bp.png'),\n // active: require('../../../../assets/baseStruct/bp-active.png')\n // }\n ],\n\n roadLineArr: []\n };\n },\n // watch: {\n // option10(newValue, oldValue) {\n // console.log(newValue,oldValue,'监听')\n // this.option10 = { ...this.option10 }\n // }\n // },\n created: function created() {\n console.log(option[12], 'option');\n this.getData();\n this.getCompany(); //获取公司信息\n this.roadData = this.getroad(); //获取路段信息\n this.getAllStructureCount(); //获取各个结构数量\n this.getRoadData(); //初始化基础数据路段数据\n this.getBridgeCategoryData(); //桥梁类别统计数据\n this.getTunnelGradeData(); //隧道等级统计数据\n this.getMileageData(); //获取里程排行榜\n this.getMaintenanceStation(); //养护车辆统计\n this.getCompanyPerson(); //各个公司人员数量\n },\n\n methods: {\n //获取里程排行榜\n getMileageData: function getMileageData() {\n var _this = this;\n this.$http.post('${yhxt}/baseDataStatistics/v1/getMileage', this.queryMileage).then(function (res) {\n var data = [];\n res.data.forEach(function (item) {\n data.push({\n name: item.companyName,\n value: Number(item.mileage)\n });\n });\n _this.config9.data = data;\n _this.config9 = _objectSpread({}, _this.config9);\n });\n },\n // //养护车辆统计\n // getMaintenanceStation() {\n // this.$http\n // .post(\n // '${yhxt}/baseDataStatistics/v1/countVehicle',\n // this.queryMileage\n // )\n // .then(res => {\n // let arrName = []\n // let arrCount = []\n // console.log(res)\n // res.data.value.forEach(item => {\n // arrName.push(item.roadSegmentName)\n // arrCount.push(Number(item.countVehicle))\n // })\n // console.log(arrCount)\n // // arrCount=[0, 3, 0, 0, 3, 0, 0, 0]\n // // console.log(arrCount)\n // console.log(this.option10)\n // this.option10.xAxis.data = arrName\n // console.log(this.option10.xAxis)\n // this.option10.series[0].data = arrCount\n // if (this.queryMileage.roadSegmentId) {\n // this.option10.series[0].type = 'bar'\n // } else {\n // this.option10.series[0].type = 'line'\n // }\n // this.option10 = { ...this.option10 }\n // })\n // },\n //获取各个公司人员数量\n getCompanyPerson: function getCompanyPerson() {\n var _this2 = this;\n this.$http.post('${yhxt}/baseDataStatistics/v1/getUserCount', this.queryMileage).then(function (res) {\n // console.log(res ,'fffffffffffffffff')\n // let userConstructionCountArr = [] //施工人员\n var userInspectionCountArr = []; //巡查人员\n var userMaintainCountArr = []; //养护人员\n var userManageCountArr = []; //管理人员\n var companyNameArr = []; //公司名\n res.data.forEach(function (item) {\n // userConstructionCountArr.push(Number(item.userConstructionCount))\n userInspectionCountArr.push(Number(item.userInspectionCount));\n userMaintainCountArr.push(Number(item.userMaintainCount));\n userManageCountArr.push(Number(item.userManageCount));\n companyNameArr.push(item.roadSegmentName);\n });\n _this2.option11.xAxis.data = companyNameArr;\n _this2.option11.series[0].data = userManageCountArr;\n _this2.option11.series[1].data = userInspectionCountArr;\n _this2.option11.series[2].data = userMaintainCountArr;\n // this.option11.series[3].data = userConstructionCountArr\n _this2.option11 = _objectSpread({}, _this2.option11);\n });\n },\n loadData: function loadData(param, cb) {\n var _this3 = this;\n param.pageBean = {\n page: 1,\n pageSize: -1,\n showTotal: true\n };\n // if (this.query.roadSegmentId) {\n\n // param.pageBean = {\n // page: 1,\n // pageSize: -1,\n // showTotal: true\n // }\n // param.querys = [\n // {\n // group: 'advance',\n // operation: 'LIKE',\n // property: '',\n // relation: 'AND',\n // value: ''\n // }\n // ]\n // if (this.BasicType == 1) {\n // console.log('进这里')\n // param.querys[0].property = 'id'\n // }\n // else {\n // console.log('进这里2')\n // param.querys[0].property = 'road_segment_id_'\n // }\n // console.log('进这里3')\n // param.querys[0].value = this.query.roadSegmentId\n // }\n if (this.BasicType == 1) {\n param.querys = [{\n group: 'advance',\n operation: 'LIKE',\n property: '',\n relation: 'AND',\n value: ''\n }];\n param.querys[0].property = 'type';\n param.querys[0].value = '4';\n } else if (this.BasicType == 2) {\n param.querys = [{\n group: 'advance',\n operation: 'LIKE',\n property: '',\n relation: 'AND',\n value: ''\n }];\n param.querys[0].property = 'type';\n param.querys[0].value = '3';\n }\n this.$http.post('${yhxt}' + this.BasicUrl, param).then(function (response) {\n var rows = response.data;\n _this3.BasicData = rows.rows;\n console.log(rows, _this3.BasicData);\n _this3.loadingBasic = true;\n _this3.pageResult = {\n page: rows.page,\n pageSize: -1,\n total: rows.total\n };\n }).finally(function () {\n if (cb) {\n cb();\n }\n });\n },\n initMap: function initMap() {\n var _this4 = this;\n var map = new AMap.Map('map', {\n resizeEnable: true,\n draggable: true,\n mapStyle: 'amap://styles/260ac3de881fb752fdf854ea2b2540d8',\n // mapStyle: 'amap://styles/darkblue', //地图主题\n center: this.mapCenter,\n //[106.192515, 29.771075],\n features: ['road', 'point'],\n //bg:区域图, road:道路, building:建筑, point: 标注\n zoom: 8,\n //地图显示的缩放级别\n zooms: [7, 18]\n });\n this.map = map;\n this.initRoadLine();\n // this.getBridgeMapData() //获取桥梁地图数据\n //监听地图缩放事件\n // this.map.on('zoomend', () => {\n // this.destroy()\n // this.mapZoom = this.map.getZoom()\n // if (Number(this.mapZoom) >= 12) {\n // this.getBridgeMapData() //获取桥梁地图数据\n // }\n // })\n this.map.on('complete', function () {\n // 地图图块加载完成后触发\n _this4.mapLoading = true;\n });\n },\n drawAreaLine: function drawAreaLine() {\n var _this5 = this;\n //获取边界坐标点\n AMap.plugin('AMap.DistrictSearch', function () {\n var districtSearch = new AMap.DistrictSearch({\n // 关键字对应的行政区级别,共有5种级别\n level: 'province',\n // 是否显示下级行政区级数,1表示返回下一级行政区\n subdistrict: 0,\n // 返回行政区边界坐标点\n extensions: 'all'\n });\n\n // 搜索所有省/直辖市信息\n districtSearch.search('重庆', function (status, result) {\n // 查询成功时,result即为对应的行政区信息\n _this5.handlePolygon(result);\n });\n });\n },\n handlePolygon: function handlePolygon(result) {\n var bounds = result.districtList[0].boundaries;\n if (bounds) {\n for (var i = 0, l = bounds.length; i < l; i++) {\n //生成行政区划polygon\n var polygon = new AMap.Polygon({\n map: this.map,\n // 指定地图对象\n strokeWeight: 1,\n // 轮廓线宽度\n path: bounds[i],\n //轮廓线的节点坐标数组\n fillOpacity: 0.15,\n //透明度\n fillColor: '#0f2a3f',\n //填充颜色\n strokeColor: '#256edc' //线条颜色\n });\n\n polygon.on('click', function (e) {\n // 点击绘制的区域时执行其他交互\n });\n }\n // // 地图自适应\n // this.map.setFitView()\n }\n },\n //初始化路段高亮\n initRoadLine: function initRoadLine() {\n var _this6 = this;\n var params = {\n pageBean: {\n page: -1,\n pageSize: 3,\n showTotal: true\n },\n sorter: []\n };\n this.$http.post('${yhxt}/road/roadmanage/v1/getList', params).then(function (res) {\n var data = res.data.rows;\n var arr = [];\n data.forEach(function (item) {\n if (item.upStartPegLng && item.upStartPegLat && item.upEndPegLng && item.upEndPegLat && item.dwStartPegLng && item.dwStartPegLat && item.dwEndPegLng && item.dwEndPegLat) {\n if (item.upWayLng && item.upWayLat && item.dwWayLng && item.dwWayLat) {\n arr.push({\n id: item.id,\n name: item.name,\n upStartPegLngLat: [item.upStartPegLng, item.upStartPegLat],\n upEndPegLngLat: [item.upEndPegLng, item.upEndPegLat],\n dwStartPegLngLat: [item.dwStartPegLng, item.dwStartPegLat],\n dwEndPegLngLat: [item.dwEndPegLng, item.dwEndPegLat],\n upWayLngLat: [item.upWayLng, item.upWayLat],\n dwWayLngLat: [item.dwWayLng, item.dwWayLat]\n });\n } else {\n arr.push({\n id: item.id,\n name: item.name,\n upStartPegLngLat: [item.upStartPegLng, item.upStartPegLat],\n upEndPegLngLat: [item.upEndPegLng, item.upEndPegLat],\n dwStartPegLngLat: [item.dwStartPegLng, item.dwStartPegLat],\n dwEndPegLngLat: [item.dwEndPegLng, item.dwEndPegLat]\n });\n }\n }\n });\n _this6.getByLngLatLine(arr);\n });\n this.drawAreaLine(); //行政区域边界线\n },\n //根据坐标规划线路\n getByLngLatLine: function getByLngLatLine(arr) {\n var _this7 = this;\n arr.forEach(function (item) {\n console.log(item, '5555555555');\n if (item.upWayLngLat && item.dwWayLngLat) {\n console.log(item);\n //上行\n AMap.plugin('AMap.Driving', function () {\n var driving = new AMap.Driving();\n // 根据起终点经纬度规划驾车导航路线\n driving.search(item.upStartPegLngLat, item.upEndPegLngLat, {\n waypoints: [item.upWayLngLat]\n }, function (status, result) {\n _this7.roadLineArr.push({\n id: item.id,\n name: item.name,\n line: result.routes[0]\n });\n _this7.drawRoute(result.routes[0]);\n });\n });\n //下行\n AMap.plugin('AMap.Driving', function () {\n var driving = new AMap.Driving();\n // 根据起终点经纬度规划驾车导航路线\n driving.search(item.dwStartPegLngLat, item.dwEndPegLngLat, {\n waypoints: [item.dwWayLngLat]\n }, function (status, result) {\n _this7.drawRoute(result.routes[0]);\n });\n });\n } else {\n //上行\n AMap.plugin('AMap.Driving', function () {\n var driving = new AMap.Driving();\n // 根据起终点经纬度规划驾车导航路线\n driving.search(item.upStartPegLngLat, item.upEndPegLngLat, function (status, result) {\n _this7.roadLineArr.push({\n id: item.id,\n name: item.name,\n line: result.routes[0]\n });\n _this7.drawRoute(result.routes[0]);\n });\n });\n //下行\n AMap.plugin('AMap.Driving', function () {\n var driving = new AMap.Driving();\n // 根据起终点经纬度规划驾车导航路线\n driving.search(item.dwStartPegLngLat, item.dwEndPegLngLat, function (status, result) {\n _this7.drawRoute(result.routes[0]);\n });\n });\n }\n });\n },\n setFitView: function setFitView(route) {\n var _this8 = this;\n var path = this.parseRouteToPath(route);\n AMap.plugin('AMap.Polyline', function () {\n var routeLine = new AMap.Polyline({\n path: path\n });\n // 缩放地图到合适的视野级别\n _this8.map.setFitView(routeLine);\n });\n },\n //\n drawRoute: function drawRoute(route) {\n var _this9 = this;\n var path = this.parseRouteToPath(route);\n AMap.plugin('AMap.Polyline', function () {\n var routeLine = new AMap.Polyline({\n path: path,\n strokeWeight: 5,\n strokeStyle: 'solid',\n strokeColor: '#70afff',\n lineJoin: 'round',\n lineCap: 'round'\n });\n // this.map.add(routeLine)\n routeLine.setMap(_this9.map);\n // 缩放地图到合适的视野级别\n // this.map.setFitView([routeLine])\n // this.map.setZoomAndCenter(10, [106.192515, 29.771075]) //同时设置地图层级与中心点\n });\n },\n //\n parseRouteToPath: function parseRouteToPath(route) {\n var path = [];\n for (var i = 0, l = route.steps.length; i < l; i++) {\n var step = route.steps[i];\n for (var j = 0, n = step.path.length; j < n; j++) {\n // path.push(step.path[j])\n path.push([step.path[j].lng, step.path[j].lat]);\n }\n }\n return path;\n },\n markerSign: function markerSign(data, type) {\n var _this10 = this;\n this.markerType = type;\n data.forEach(function (item) {\n _this10.locationMark(item.x, item.y, '');\n });\n },\n changeIcon: function changeIcon() {\n var _this11 = this;\n var icon;\n if (this.markerType == 'culvert') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/\\u6DB5\\u6D1E.png\")\n });\n } else if (this.markerType == 'bridge') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/\\u6865\\u6881.png\")\n });\n } else if (this.markerType == 'sideSlope') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/\\u8FB9\\u5761.png\")\n });\n } else if (this.markerType == 'tunnel') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/\\u96A7\\u9053.png\")\n });\n } else if (this.markerType == 'roadSide') {\n this.AraryMapData.forEach(function (item) {\n if (item.type == '1' || item.type == '2') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/\\u4E92\\u901A.png\")\n });\n } else if (item.type == '3') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/\\u6536\\u8D39\\u7AD9.png\")\n });\n } else if (item.type == '4') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/\\u670D\\u52A1\\u533A.png\")\n });\n }\n });\n } else if (this.markerType == 'car') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/\\u8F66\\u8F86_map.png\")\n });\n } else if (this.markerType == 'gongqu') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/qu_mini.png\")\n });\n } else if (this.markerType == 'jiuyuan') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/jiuyun_mini.png\")\n });\n } else if (this.markerType == 'yinji') {\n icon = new AMap.Icon({\n size: new AMap.Size(48, 48),\n image: require(\"../../../../assets/mapImg/ku_mini.png\")\n });\n }\n //点聚合\n this.AraryMapData.forEach(function (item) {\n _this11.markers[_this11.modularIndex].push(new AMap.Marker({\n position: [item.lng, item.lat],\n offset: new AMap.Pixel(-15, -15),\n icon: icon,\n size: new AMap.Size(30, 37),\n //图标大小\n imageSize: new AMap.Size(30, 37),\n extData: item //存储数据\n }));\n });\n },\n //点聚合\n pointAggregation: function pointAggregation() {\n var _this12 = this;\n this.changeIcon();\n this.map.plugin(['AMap.MarkerClusterer'], function () {\n _this12.cluster = new AMap.MarkerClusterer(_this12.map, _this12.markers[_this12.modularIndex], {\n gridSize: 80,\n minClusterSize: 6\n });\n });\n //清除定时器\n // this.map.on('mousemove', () => {\n // if (this.time1) {\n // // console.log('dddddddddd')\n // clearInterval(this.time1)\n // this.time1 = false\n // }\n // })\n // //启动\n // this.map.on('mouseout', () => {\n // if (!this.time1) {\n // this.time1 = setInterval(this.handleMove, 3000)\n // }\n // })\n //设置信息窗体\n this.setInfoWindow();\n },\n setInfoWindow: function setInfoWindow() {\n var _this13 = this;\n //信息窗体\n var infoWindow = new AMap.InfoWindow({\n offset: new AMap.Pixel(0, -30)\n });\n this.markers.forEach(function (item, index) {\n if (index == 0) {\n item.forEach(function (item1) {\n var obj = item1.getExtData();\n item1.on('mousemove', function (e) {\n item1.content = \"\\n
\\n \\u6865\\u6881\\u7F16\\u53F7 :\\n \\n \".concat(obj.number ? obj.number : '-', \"\\n \\n
\\n\\n \\u6865\\u6881\\u540D\\u79F0 :\\n \\n \").concat(obj.name ? obj.name : '-', \"\\n \\n
\\n\\n \\u6240\\u5728\\u8DEF\\u6BB5 :\\n \\n \").concat(obj.roadSegmentName ? obj.roadSegmentName : '-', \"\\n \\n
\\n\\n \\u7BA1\\u517B\\u5355\\u4F4D :\\n \\n \").concat(obj.officeName ? obj.officeName : '-', \"\\n \\n
\\n\\n \\u6865\\u6881\\u7C7B\\u578B :\\n \\n \").concat(obj.typeValue ? obj.typeValue : '-', \"\\n \\n
\\n\\n \\u6865\\u6881\\u65B9\\u5411 :\\n \\n \").concat(obj.directionValue ? obj.directionValue : '-', \"\\n \\n
\\n\\n \\u5EFA\\u6210\\u65E5\\u671F :\\n \\n \").concat(obj.finishDay ? obj.finishDay : '-', \"\\n \\n
\\n\\n \\u503E\\u659C\\u659C\\u5761 :\\n \\n \").concat(obj.inclinedslope ? obj.inclinedslope : '-', \"\\n \\n
\\n\\n \\u6865\\u9762\\u94FA\\u88C5 :\\n \\n \").concat(obj.surfaceinstallValue ? obj.surfaceinstallValue : '-', \"\\n \\n
\\n\\n \\u4E0A\\u90E8\\u7ED3\\u6784\\u7C7B\\u578B :\\n \\n \").concat(obj.shapeTypeValue ? obj.shapeTypeValue : '-', \"\\n \\n
\\n\\n \\u6865\\u6881\\u957F\\u5EA6 :\\n \\n \").concat(obj.length ? obj.length : '-', \" \\u7C73\\n \\n
\\n\\n \\u8DE8\\u5F84\\u7EC4\\u5408 :\\n \\n \").concat(obj.spanCombo ? obj.spanCombo : '-', \"\\n \\n
\\n\\n \\u96A7\\u9053\\u7F16\\u53F7 :\\n \\n \".concat(obj.number ? obj.number : '-', \"\\n \\n
\\n\\n \\u96A7\\u9053\\u540D\\u79F0 :\\n \\n \").concat(obj.name ? obj.name : '-', \"\\n \\n
\\n\\n \\u6240\\u5C5E\\u8DEF\\u6BB5 :\\n \\n \").concat(obj.roadSegmentName ? obj.roadSegmentName : '-', \"\\n \\n
\\n\\n \\u7BA1\\u517B\\u5355\\u4F4D :\\n \\n \").concat(obj.officeName ? obj.officeName : '-', \"\\n \\n
\\n\\n \\u96A7\\u9053\\u7C7B\\u578B :\\n \\n \").concat(obj.typeValue ? obj.typeValue : '-', \"\\n \\n
\\n\\n \\u96A7\\u9053\\u7B49\\u7EA7 :\\n \\n \").concat(obj.gradeValue ? obj.gradeValue : '-', \"\\n \\n
\\n\\n \\u96A7\\u9053\\u65B9\\u5411 :\\n \\n \").concat(obj.directionValue ? obj.directionValue : '-', \"\\n \\n
\\n\\n \\u5EFA\\u6210\\u5E74\\u6708 :\\n \\n \").concat(obj.finishDay ? obj.finishDay : '-', \"\\n \\n
\\n\\n \\u96A7\\u9053\\u957F\\u5EA6 :\\n \\n \").concat(obj.length ? obj.length : '-', \" \\u7C73\\n \\n
\\n\\n \\u96A7\\u9053\\u5BBD\\u5EA6 :\\n \\n \").concat(obj.width ? obj.width : '-', \" \\u7C73\\n \\n
\\n\\n \\u96A7\\u9053\\u9AD8\\u5EA6 :\\n \\n \").concat(obj.hight ? obj.hight : '-', \" \\u7C73\\n \\n
\\n\\n \\u6D1E\\u8EAB\\u6750\\u6599 :\\n \\n \").concat(obj.bodyMaterialValue ? obj.bodyMaterialValue : '-', \"\\n \\n
\\n\\n \\u6DB5\\u6D1E\\u7F16\\u53F7 :\\n \\n \".concat(obj.number ? obj.number : '-', \"\\n \\n
\\n\\n \\u6DB5\\u6D1E\\u7C7B\\u578B :\\n \\n \").concat(obj.typeValue ? obj.typeValue : '-', \"\\n \\n
\\n\\n \\u6240\\u5728\\u8DEF\\u6BB5 :\\n \\n \").concat(obj.roadSegmentName ? obj.roadSegmentName : '-', \"\\n \\n
\\n\\n \\u7BA1\\u517B\\u5355\\u4F4D :\\n \\n \").concat(obj.officeName ? obj.officeName : '-', \"\\n \\n
\\n\\n \\u65B9\\u5411 :\\n \\n \").concat(obj.directionValue ? obj.directionValue : '-', \"\\n \\n
\\n\\n \\u5B8C\\u6210\\u65E5\\u671F :\\n \\n \").concat(obj.finishDay ? obj.finishDay : '-', \"\\n \\n
\\n\\n \\u6D1E\\u8EAB\\u9AD8\\u5EA6 :\\n \\n \").concat(obj.height ? obj.height : '-', \" \\u7C73\\n \\n
\\n\\n \\u6D1E\\u8EAB\\u957F\\u5EA6 :\\n \\n \").concat(obj.length ? obj.length : '-', \" \\u7C73\\n \\n
\\n\\n \\u5B54\\u6570 :\\n \\n \").concat(obj.holeCount ? obj.holeCount : '-', \" \\u4E2A\\n \\n
\\n\\n \\u9876\\u90E8\\u6750\\u6599 :\\n \\n \").concat(obj.topMaterialValue ? obj.topMaterialValue : '-', \"\\n \\n
\\n\\n \\u6D1E\\u8EAB\\u6750\\u6599 :\\n \\n \").concat(obj.bodyMaterialValue ? obj.bodyMaterialValue : '-', \"\\n \\n
\\n\\n \\u7528\\u9014 :\\n \\n \").concat(obj.usesValue ? obj.usesValue : '-', \"\\n \\n
\\n\\n \\u7F16\\u53F7 :\\n \\n \".concat(obj.number ? obj.number : '-', \"\\n \\n
\\n\\n \\u6536\\u8D39\\u7AD9\\u540D\\u5B57 :\\n \\n \").concat(obj.name ? obj.name : '-', \"\\n \\n
\\n\\n \\u6240\\u5728\\u8DEF\\u6BB5 :\\n \\n \").concat(obj.roadSegmentName ? obj.roadSegmentName : '-', \"\\n \\n
\\n\\n \\u7BA1\\u517B\\u5355\\u4F4D :\\n \\n \").concat(obj.officeName ? obj.officeName : '-', \"\\n \\n
\\n\\n \\u65B9\\u5411 :\\n \\n \").concat(obj.directionValue ? obj.directionValue : '-', \"\\n \\n
\\n\\n \\u5B8C\\u6210\\u65E5\\u671F :\\n \\n \").concat(obj.finishDay ? obj.finishDay : '-', \"\\n \\n
\\n\\n \\u540D\\u79F0 :\\n \\n \".concat(obj.number == undefined ? '-' : obj.name, \"\\n \\n
\\n\\n \\u6240\\u5728\\u8DEF\\u6BB5 :\\n \\n \").concat(obj.roadSegmentName ? obj.roadSegmentName : '-', \"\\n \\n
\\n\\n \\u7C7B\\u578B :\\n \\n \").concat(obj.typeValue ? obj.typeValue : '-', \"\\n \\n
\\n\\n \\u65B9\\u5411 :\\n \\n \").concat(obj.directionValue ? obj.directionValue : '-', \"\\n \\n
\\n\\n \\u6869\\u53F7\\u503C :\\n \\n \").concat(obj.pegK ? obj.pegK : '-', \"\\n \\n
\\n\\n \\u6869\\u53F7 :\\n \\n \").concat(obj.peg ? obj.peg : '-', \"\\n \\n
\\n\\n \\u540D\\u79F0 :\\n \\n \".concat(obj.name == undefined ? '-' : obj.name, \"\\n \\n
\\n\\n \\u6240\\u5728\\u8DEF\\u6BB5 :\\n \\n \").concat(obj.roadSegmentName ? obj.roadSegmentName : '-', \"\\n \\n
\\n \\n\\n \\u540D\\u79F0 :\\n \\n \".concat(obj.name == undefined ? '-' : obj.name, \"\\n \\n
\\n\\n \\u6240\\u5728\\u8DEF\\u6BB5 :\\n \\n \").concat(obj.roadSegmentName ? obj.roadSegmentName : '-', \"\\n \\n
\\n \\n\\n \\u540D\\u79F0 :\\n \\n \".concat(obj.name == undefined ? '-' : obj.name, \"\\n \\n
\\n\\n \\u6240\\u5728\\u8DEF\\u6BB5 :\\n \\n \").concat(obj.roadSegmentName ? obj.roadSegmentName : '-', \"\\n \\n
\\n \\n\\n \\u8F66\\u724C\\u53F7 :\\n \\n \".concat(obj.carNumber ? obj.carNumber : '-', \"\\n \\n
\\n\\n \\u54C1\\u724C :\\n \\n \").concat(obj.carType ? obj.carType : '-', \"\\n \\n
\\n\\n \\u53F8\\u673A :\\n \\n \").concat(obj.carDriverName ? obj.carDriverName : '-', \"\\n \\n
\\n\\n \\u516C\\u53F8 :\\n \\n \").concat(obj.companyName ? obj.companyName : '-', \"\\n \\n
\\n\\n \\u8F66\\u8F86\\u989C\\u8272 :\\n \\n \").concat(obj.carColour ? obj.carColour : '-', \"\\n \\n
\\n\\n \\u8D2D\\u4E70\\u65F6\\u95F4 :\\n \\n \").concat(obj.buyDate ? obj.buyDate : '-', \"\\n \\n
\\n \\n