manage-client 3.2.43 → 3.2.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +176 -176
- package/dist/static/.gitkeep +0 -0
- package/dist/static/ManageHomePic/gasborder.png +0 -0
- package/dist/static/ManageHomePic//345/212/240/350/275/275/346/225/260/346/215/256.gif +0 -0
- package/dist/static/ManageHomePic//345/212/240/350/275/275/346/225/260/346/215/2561.gif +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2020.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/20211.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021343.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021510.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/20215100.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021519.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021520.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021566.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021682.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2021682/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/202519.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2025/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2025/346/213/267/350/264/2354.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2026.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/20261.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2027.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/20271.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2028.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/2029.png +0 -0
- package/dist/static/ManageHomePic//345/233/276/345/261/202949/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManageHomePic//345/275/242/347/212/266927.png +0 -0
- package/dist/static/ManageHomePic//345/275/242/347/212/266927/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManageHomePic//345/275/242/347/212/266927/346/213/267/350/264/2352.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2062.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2066/346/213/267/350/264/2353.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23516.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23517.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23518.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2067/346/213/267/350/264/23519.png +0 -0
- package/dist/static/ManageHomePic//346/244/255/345/234/2068/346/213/267/350/264/2356.png +0 -0
- package/dist/static/ManageHomePic//347/237/251/345/275/2421684.png +0 -0
- package/dist/static/ManageHomePic//347/237/251/345/275/2428.png +0 -0
- package/dist/static/ManageHomePic//350/203/214/346/231/257.png +0 -0
- package/dist/static/ManagementControl/echarts10.png +0 -0
- package/dist/static/ManagementControl/echarts11.png +0 -0
- package/dist/static/ManagementControl/echarts12.png +0 -0
- package/dist/static/ManagementControl/echarts13.png +0 -0
- package/dist/static/ManagementControl/echarts14.png +0 -0
- package/dist/static/ManagementControl/echarts15.png +0 -0
- package/dist/static/ManagementControl/echarts16.png +0 -0
- package/dist/static/ManagementControl/echarts17.png +0 -0
- package/dist/static/ManagementControl/echarts18.png +0 -0
- package/dist/static/ManagementControl/echarts4.png +0 -0
- package/dist/static/ManagementControl/echarts5.png +0 -0
- package/dist/static/ManagementControl/echarts51.png +0 -0
- package/dist/static/ManagementControl/echarts6.png +0 -0
- package/dist/static/ManagementControl/echarts7.png +0 -0
- package/dist/static/ManagementControl/echarts71.png +0 -0
- package/dist/static/ManagementControl/echarts8.png +0 -0
- package/dist/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/dist/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/dist/static/NewManageHome/01.png +0 -0
- package/dist/static/NewManageHome/02.png +0 -0
- package/dist/static/NewManageHome/03.png +0 -0
- package/dist/static/NewManageHome/04.png +0 -0
- package/dist/static/NewManageHome/1.gif +0 -0
- package/dist/static/NewManageHome/2.gif +0 -0
- package/dist/static/NewManageHome/3.gif +0 -0
- package/dist/static/NewManageHome/5gif.gif +0 -0
- package/dist/static/NewManageHome/6gif.gif +0 -0
- package/dist/static/NewManageHome/7.gif +0 -0
- package/dist/static/NewManageHome/8.gif +0 -0
- package/dist/static/NewManageHome/9.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/01.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/02.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/03.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/04.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/1.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/2.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/3.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/5gif.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/6gif.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/7.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/8.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/9.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome/background_qinhua.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/green.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/map.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/map1.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/mpa.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/sell_1.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/sell_2.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/title.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/title_left.png +0 -0
- package/dist/static/NewManageHome/NewManageHome/title_right.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/210/206/345/205/254/345/217/270/345/271/264/345/272/246/350/264/255/350/277/233/351/207/217.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/212/240/350/275/275.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/212/250/346/225/210.gif +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2771.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2772.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2771.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2772.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/217/263/344/270/212.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/217/263/344/270/213.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/233/272/345/256/232/350/265/204/344/272/247.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/2020.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/20212.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/2024.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/2025.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/233/276/345/261/202527.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/234/206/350/247/222/347/237/251/345/275/2421163.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/237/216/344/270/2341.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/237/216/344/270/2342.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/237/216/345/214/2271.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/237/216/345/214/2272.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/237/216/345/215/2271.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/237/216/345/215/2272.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/237/216/350/245/2771.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/237/216/350/245/2772.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/267/246/344/270/212.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/267/246/344/270/213.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2771.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2772.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//346/200/273/345/205/254/345/217/270/351/224/200/345/224/256/350/266/213/345/212/277.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/224/250/346/210/267.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2421173/346/213/267/350/264/235.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186/346/213/267/350/264/235.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2353.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2356.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2357.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2359.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23511.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23516.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23522.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/273/20420.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/273/20437.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/273/20443.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//347/273/20445.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//350/203/214/346/231/2571.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//350/220/245/344/270/232/346/224/266/345/205/245.png +0 -0
- package/dist/static/NewManageHome/NewManageHome//351/224/200/345/224/256/346/260/224/351/207/217.png +0 -0
- package/dist/static/NewManageHome/background_qinhua.png +0 -0
- package/dist/static/NewManageHome/green.png +0 -0
- package/dist/static/NewManageHome/sell_1.png +0 -0
- package/dist/static/NewManageHome/sell_2.png +0 -0
- package/dist/static/NewManageHome/title.png +0 -0
- package/dist/static/NewManageHome/title_left.png +0 -0
- package/dist/static/NewManageHome/title_right.png +0 -0
- package/dist/static/NewManageHome/title_wuhai.png +0 -0
- package/dist/static/NewManageHome/title_wujie1.png +0 -0
- package/dist/static/NewManageHome//345/210/206/345/205/254/345/217/270/345/271/264/345/272/246/350/264/255/350/277/233/351/207/217.png +0 -0
- package/dist/static/NewManageHome//345/212/240/350/275/275.gif +0 -0
- package/dist/static/NewManageHome//345/212/250/346/225/210.gif +0 -0
- package/dist/static/NewManageHome//345/217/263/344/270/212.png +0 -0
- package/dist/static/NewManageHome//345/217/263/344/270/213.png +0 -0
- package/dist/static/NewManageHome//345/233/272/345/256/232/350/265/204/344/272/247.png +0 -0
- package/dist/static/NewManageHome//345/233/276/345/261/2020.png +0 -0
- package/dist/static/NewManageHome//345/233/276/345/261/20212.png +0 -0
- package/dist/static/NewManageHome//345/233/276/345/261/2024.png +0 -0
- package/dist/static/NewManageHome//345/233/276/345/261/2025.png +0 -0
- package/dist/static/NewManageHome//345/233/276/345/261/202527.png +0 -0
- package/dist/static/NewManageHome//345/267/246/344/270/212.png +0 -0
- package/dist/static/NewManageHome//345/267/246/344/270/213.png +0 -0
- package/dist/static/NewManageHome//346/200/273/345/205/254/345/217/270/351/224/200/345/224/256/350/266/213/345/212/277.png +0 -0
- package/dist/static/NewManageHome//347/224/250/346/210/267.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/2421173/346/213/267/350/264/235.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2353.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2356.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2357.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2359.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23511.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23516.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23522.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
- package/dist/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
- package/dist/static/NewManageHome//347/273/20420.png +0 -0
- package/dist/static/NewManageHome//347/273/20437.png +0 -0
- package/dist/static/NewManageHome//347/273/20443.png +0 -0
- package/dist/static/NewManageHome//347/273/20445.png +0 -0
- package/dist/static/NewManageHome//350/203/214/346/231/2571.png +0 -0
- package/dist/static/NewManageHome//350/220/245/344/270/232/346/224/266/345/205/245.png +0 -0
- package/dist/static/NewManageHome//351/224/200/345/224/256/346/260/224/351/207/217.png +0 -0
- package/dist/static/WebMetericon/0001.png +0 -0
- package/dist/static/WebMetericon/0002.png +0 -0
- package/dist/static/WebMetericon/0003.png +0 -0
- package/dist/static/WebMetericon/0004.png +0 -0
- package/dist/static/WebMetericon/001.png +0 -0
- package/dist/static/WebMetericon/002.png +0 -0
- package/dist/static/WebMetericon/003.png +0 -0
- package/dist/static/WebMetericon/004.png +0 -0
- package/dist/static/WebMetericon/01.png +0 -0
- package/dist/static/WebMetericon/02.png +0 -0
- package/dist/static/WebMetericon/03.png +0 -0
- package/dist/static/WebMetericon/04.png +0 -0
- package/dist/static/WebMetericon/1.png +0 -0
- package/dist/static/WebMetericon/2.png +0 -0
- package/dist/static/WebMetericon/3.png +0 -0
- package/dist/static/WebMetericon/4.png +0 -0
- package/dist/static/WebMetericon/Cell1.png +0 -0
- package/dist/static/WebMetericon/Cell2.png +0 -0
- package/dist/static/WebMetericon/Cell3.png +0 -0
- package/dist/static/WebMetericon/Cell4.png +0 -0
- package/dist/static/WebMetericon/Cell5.png +0 -0
- package/dist/static/WebMetericon/Cell6.png +0 -0
- package/dist/static/WebMetericon/Signal1.png +0 -0
- package/dist/static/WebMetericon/Signal2.png +0 -0
- package/dist/static/WebMetericon/Signal3.png +0 -0
- package/dist/static/WebMetericon/Signal4.png +0 -0
- package/dist/static/WebMetericon/guzhang.png +0 -0
- package/dist/static/WebMetericon/zhengchang.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021554.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021558.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2022556.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/20225560.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
- package/dist/static/WebMetericon//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
- package/dist/static/WebMetericon//346/244/255/345/234/206874.png +0 -0
- package/dist/static/WebMetericon//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
- package/dist/static/WebMetericon//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
- package/dist/static/WebMetericon//347/237/251/345/275/2421828.png +0 -0
- package/dist/static/WebMetericon//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
- package/dist/static/batchleft.png +0 -0
- package/dist/static/batchright.png +0 -0
- package/dist/static/bluemainbg.jpg +0 -0
- package/dist/static/china.json +1 -0
- package/dist/static/huangtengbiaozhi.png +0 -0
- package/dist/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist/static/img/close.png +0 -0
- package/dist/static/img/close_img.png +0 -0
- package/dist/static/img/open_img.png +0 -0
- package/dist/static/jcwx.jpg +0 -0
- package/dist/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist/static/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist/static/login_bg.jpg +0 -0
- package/dist/static/login_title.png +0 -0
- package/dist/static/login_title1.png +0 -0
- package/dist/static/loginbg.jpg +0 -0
- package/dist/static/loginbg1.jpg +0 -0
- package/dist/static/loginbg_jincheng.jpg +0 -0
- package/dist/static/loginbgmain.jpg +0 -0
- package/dist/static/loginlogo.png +0 -0
- package/dist/static/main_logo.png +0 -0
- package/dist/static/mainbg.jpg +0 -0
- package/dist/static/mainicon/adddevice.png +0 -0
- package/dist/static/mainicon/addmeter.png +0 -0
- package/dist/static/mainicon/bank.png +0 -0
- package/dist/static/mainicon/biaopan.png +0 -0
- package/dist/static/mainicon/cad.jpg +0 -0
- package/dist/static/mainicon/chaobiaoyuan.png +0 -0
- package/dist/static/mainicon/danganguanli.png +0 -0
- package/dist/static/mainicon/deletedevice.png +0 -0
- package/dist/static/mainicon/excel.jpg +0 -0
- package/dist/static/mainicon/huizong.png +0 -0
- package/dist/static/mainicon/jibiaoguanli.png +0 -0
- package/dist/static/mainicon/jibiaoguanli2.png +0 -0
- package/dist/static/mainicon/jiezhang.png +0 -0
- package/dist/static/mainicon/loginbg.jpg +0 -0
- package/dist/static/mainicon/shouqishoufei.png +0 -0
- package/dist/static/mainicon/treeopen.png +0 -0
- package/dist/static/mainicon/treeout.png +0 -0
- package/dist/static/mainicon/treeset.png +0 -0
- package/dist/static/mainicon/word.jpg +0 -0
- package/dist/static/mainicon/wulianwang.png +0 -0
- package/dist/static/mainicon/yingyechaxun.png +0 -0
- package/dist/static/mainicon/zongheyewu.png +0 -0
- package/dist/static/menulogo.png +0 -0
- package/dist/static/newStyle/clear.png +0 -0
- package/dist/static/newStyle/fife.png +0 -0
- package/dist/static/newStyle/hidden.png +0 -0
- package/dist/static/newStyle/label-clear.png +0 -0
- package/dist/static/newStyle/left-img.png +0 -0
- package/dist/static/newStyle/list_ok.png +0 -0
- package/dist/static/newStyle/login-check.png +0 -0
- package/dist/static/newStyle/login-con.png +0 -0
- package/dist/static/newStyle/login-do.gif +0 -0
- package/dist/static/newStyle/login-f.png +0 -0
- package/dist/static/newStyle/login-info.png +0 -0
- package/dist/static/newStyle/login-left.png +0 -0
- package/dist/static/newStyle/login-org.png +0 -0
- package/dist/static/newStyle/login-pwd.png +0 -0
- package/dist/static/newStyle/login-user.png +0 -0
- package/dist/static/newStyle/loginbg.gif +0 -0
- package/dist/static/newStyle/loginbg1280.gif +0 -0
- package/dist/static/newStyle/loginbg1366.gif +0 -0
- package/dist/static/newStyle/position.png +0 -0
- package/dist/static/newStyle/setting.png +0 -0
- package/dist/static/newStyle/setting1.png +0 -0
- package/dist/static/newStyle/shirk.png +0 -0
- package/dist/static/newStyle/stretch_bottom.png +0 -0
- package/dist/static/newStyle/stretch_left.png +0 -0
- package/dist/static/newStyle/stretch_right.png +0 -0
- package/dist/static/newStyle/stretch_top.png +0 -0
- package/dist/static/newStyle/system-off.png +0 -0
- package/dist/static/newmainbg.jpg +0 -0
- package/dist/static/psicon.png +0 -0
- package/dist/static/qh.json +2410 -0
- package/dist/static/refresh.png +0 -0
- package/dist/static/res.json +58412 -0
- package/dist/static/shanxi1.json +1 -0
- package/dist/static/singleleft.png +0 -0
- package/dist/static/singleright.png +0 -0
- package/dist/static/treeclose.png +0 -0
- package/dist/static/treeopen.png +0 -0
- package/dist/static/treeout.png +0 -0
- package/dist/static/treeset.png +0 -0
- package/dist/static/usericon.png +0 -0
- package/dist/static/webMeter/0001.png +0 -0
- package/dist/static/webMeter/0002.png +0 -0
- package/dist/static/webMeter/0003.png +0 -0
- package/dist/static/webMeter/0004.png +0 -0
- package/dist/static/webMeter/001.png +0 -0
- package/dist/static/webMeter/002.png +0 -0
- package/dist/static/webMeter/003.png +0 -0
- package/dist/static/webMeter/004.png +0 -0
- package/dist/static/webMeter/01.png +0 -0
- package/dist/static/webMeter/02.png +0 -0
- package/dist/static/webMeter/03.png +0 -0
- package/dist/static/webMeter/04.png +0 -0
- package/dist/static/webMeter/1.png +0 -0
- package/dist/static/webMeter/2.png +0 -0
- package/dist/static/webMeter/3.png +0 -0
- package/dist/static/webMeter/4.png +0 -0
- package/dist/static/webMeter/Cell1.png +0 -0
- package/dist/static/webMeter/Cell2.png +0 -0
- package/dist/static/webMeter/Cell3.png +0 -0
- package/dist/static/webMeter/Cell4.png +0 -0
- package/dist/static/webMeter/Cell5.png +0 -0
- package/dist/static/webMeter/Cell6.png +0 -0
- package/dist/static/webMeter/Signal1.png +0 -0
- package/dist/static/webMeter/Signal2.png +0 -0
- package/dist/static/webMeter/Signal3.png +0 -0
- package/dist/static/webMeter/Signal4.png +0 -0
- package/dist/static/webMeter/guzhang.png +0 -0
- package/dist/static/webMeter/shangsheng.png +0 -0
- package/dist/static/webMeter/shousuo.png +0 -0
- package/dist/static/webMeter/shuaxin.png +0 -0
- package/dist/static/webMeter/zhengchang.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021554.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021558.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021558/346/213/267/350/264/2352.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/235.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2021573/346/213/267/350/264/2352.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/20216/346/213/267/350/264/2353.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/20217/346/213/267/350/264/2357.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2022556.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/20225560.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/235.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2353.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2355.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/2025/346/213/267/350/264/2356.png +0 -0
- package/dist/static/webMeter//345/233/276/345/261/202872/346/213/267/350/264/235.png +0 -0
- package/dist/static/webMeter//345/275/242/347/212/2665.png +0 -0
- package/dist/static/webMeter//346/244/255/345/234/206874.png +0 -0
- package/dist/static/webMeter//346/244/255/345/234/206874/346/213/267/350/264/235.png +0 -0
- package/dist/static/webMeter//347/237/251/345/275/2421538/346/213/267/350/264/2353.png +0 -0
- package/dist/static/webMeter//347/237/251/345/275/2421828.png +0 -0
- package/dist/static/webMeter//350/256/276/347/275/256/345/217/202/346/225/260.png +0 -0
- package/dist/static/wuhai.json +1610 -0
- package/dist/static/xinxi.png +0 -0
- package/dist/static/yulin.json +1 -0
- package/dist/static//345/233/276/345/261/202000.png +0 -0
- package/dist/static//345/233/276/345/261/2023.png +0 -0
- package/dist/static//345/261/261/344/270/234/347/234/201.json +1 -0
- package/package.json +1 -1
- package/src/components/BasisEcharts/BarChart.vue +247 -247
- package/src/components/SellReport/BonSummary.vue +178 -178
- package/src/components/SellReport/ChargePrick.vue +205 -205
- package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
- package/src/components/SellReport/ManageBusSummary.vue +219 -219
- package/src/components/SellReport/ManageGasPrice.vue +176 -176
- package/src/components/SellReport/NonResidentGas.vue +203 -203
- package/src/components/SellReport/OutletTable.vue +258 -258
- package/src/components/SellReport/QibiaoShouqi.vue +242 -242
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
- package/src/components/SellReport/SaleMonthReport.vue +153 -153
- package/src/components/SellReport/SellingTable.vue +220 -220
- package/src/components/SellReport/UserSellingGas.vue +228 -228
- package/src/components/TelReport/ZhiHuanservice.vue +162 -162
- package/src/components/daping/GMap.vue +636 -636
- package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
- package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
- package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
- package/src/components/sale/businessquery/AreaChargeQuery.vue +380 -380
- package/src/components/sale/businessquery/BusinesQuery.vue +11 -0
- package/src/components/sale/businessquery/CancellationQuery.vue +14 -3
- package/src/components/sale/businessquery/CardHandplanQuery.vue +11 -7
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +15 -3
- package/src/components/sale/businessquery/ChargeQuery.vue +24 -3
- package/src/components/sale/businessquery/CollectManage.vue +138 -138
- package/src/components/sale/businessquery/DisableQuery.vue +14 -3
- package/src/components/sale/businessquery/EnableQuery.vue +15 -4
- package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
- package/src/components/sale/businessquery/FillCardQuery.vue +14 -3
- package/src/components/sale/businessquery/FillGasQuery.vue +14 -3
- package/src/components/sale/businessquery/HandplanQuery.vue +15 -4
- package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
- package/src/components/sale/businessquery/MoveMeterQuery.vue +17 -6
- package/src/components/sale/businessquery/OtherChargeQuery.vue +14 -3
- package/src/components/sale/businessquery/PriceChange.vue +12 -3
- package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
- package/src/components/sale/businessquery/ReceiptQuery.vue +13 -5
- package/src/components/sale/businessquery/ReverseQuery.vue +14 -3
- package/src/components/sale/businessquery/SendbookQuery.vue +17 -6
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +9 -0
- package/src/components/sale/businessquery/TransferQuery.vue +11 -0
- package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
- package/src/components/sale/businessquery/gasPriceQuery.vue +7 -0
- package/src/components/sale/businessquery/overDueQuery.vue +11 -0
- package/src/components/sale/businessquery/priceadjustQuery.vue +14 -4
- package/src/components/sale/businessquery/pricechangeRecordQuery.vue +18 -7
- package/src/components/sale/businessquery/usergas.vue +311 -311
- package/src/components/sale/config/exportConfig.js +26 -24
- package/src/components/statistical/StatisticalAnalysis.vue +252 -252
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
- package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
- package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
- package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
- package/src/filiale/WEINAN/EchartsBox.vue +110 -110
- package/src/filiale/WEINAN/ReportDataQuery.vue +325 -325
- package/src/filiale/WEINAN/SiteManager.vue +191 -191
- package/src/filiale/WEINAN/UserGasAll.vue +577 -577
- package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
- package/src/filiale/WEINAN/UserGasList.vue +438 -438
- package/src/filiale/WEINAN/reportManage.js +12 -12
- package/src/filiale/WEINAN/sale.js +36 -36
- package/src/filiale/alashan/reportManage.js +10 -10
- package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
- package/src/filiale/jingzhou/config/exportConfig.js +861 -861
- package/src/filiale/macheng/MeterQuery.vue +1 -1
- package/src/filiale/meihekou/UserGasEform.vue +267 -267
- package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
- package/src/filiale/rongchuang/ChargeQuery.vue +12 -3
- package/src/filiale/rongchuang/SellingTable.vue +250 -250
- package/src/filiale/rongchuang/exportConfig.js +8 -8
- package/src/filiale/rongchuang/reportManage.js +11 -11
- package/src/filiale/tongchuan/ChargeQuery.vue +57 -21
- package/src/filiale/tongchuan/FillGasQuery.vue +524 -523
- package/src/filiale/tongchuan/GasPrice.vue +262 -0
- package/src/filiale/tongchuan/HandplanQuery.vue +1324 -0
- package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
- package/src/filiale/tongchuan/ReportList.vue +472 -472
- package/src/filiale/tongchuan/UserQuery.vue +99 -24
- package/src/filiale/tongchuan/config/exportConfig.js +857 -857
- package/src/filiale/tongchuan/reportManage.js +6 -5
- package/src/filiale/tongchuan/sale.js +2 -2
- package/src/main.js +66 -66
- package/static/wuhai.json +1610 -1610
|
@@ -1,636 +1,636 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div id="containerr" style="height: auto" tabindex="0">
|
|
4
|
-
<div class="input-card" v-if="outerlinedata&&outerlinedata.points">
|
|
5
|
-
<h4>轨迹回放</h4>
|
|
6
|
-
<div class="input-item">
|
|
7
|
-
<input type="button" class="btn btn-info" value="开始动画" id="start" @click="startAnimation()"/>
|
|
8
|
-
<input v-show="!ispause" type="button" class="btn btn-info" value="暂停动画" id="pause" @click="pauseAnimation()"/>
|
|
9
|
-
<input v-if="ispause" type="button" class="btn btn-info" value="继续动画" id="resume" @click="resumeAnimation()"/>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="input-item">
|
|
12
|
-
<input type="button" class="btn btn-info" value="加速动画" id="add" @click="speedUp()"/>
|
|
13
|
-
<input type="button" class="btn btn-info" value="减速动画" id="des" @click="speedDown()"/>
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
<div id="panel" v-show="showPanel"></div>
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
<script>
|
|
22
|
-
import * as maptool from '../../plugins/transformer'
|
|
23
|
-
export default {
|
|
24
|
-
title: "地图",
|
|
25
|
-
props: {
|
|
26
|
-
//轨迹
|
|
27
|
-
//示例
|
|
28
|
-
|
|
29
|
-
outerlinedata: {
|
|
30
|
-
type: Object,
|
|
31
|
-
default: {}
|
|
32
|
-
},
|
|
33
|
-
//单点
|
|
34
|
-
//示例 {"name2":"终点","f_longitude":108.9592663294896,"f_latitude":34.163040719830576,"iconurl":"https://webapi.amap.com/theme/v1.3/markers/n/end.png","zIndex":10}
|
|
35
|
-
singlepoint: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default: {}
|
|
38
|
-
},
|
|
39
|
-
//点集
|
|
40
|
-
points: {
|
|
41
|
-
type: Object,
|
|
42
|
-
default: {
|
|
43
|
-
url: 'rs/sql/getDapingStationMap',
|
|
44
|
-
data: {subcompany:'%'}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
//当前用户
|
|
48
|
-
curuser: {
|
|
49
|
-
type: Object,
|
|
50
|
-
default: {}
|
|
51
|
-
},
|
|
52
|
-
ispause: false,
|
|
53
|
-
//最大高度
|
|
54
|
-
maxheight: '',
|
|
55
|
-
//最大宽度
|
|
56
|
-
maxwidth: '',
|
|
57
|
-
showBox: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: false
|
|
60
|
-
},
|
|
61
|
-
showPanel: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: false
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
data() {
|
|
67
|
-
return {
|
|
68
|
-
// model: new PagedList('rs/sql/singleTable_OrderBy', 10, {
|
|
69
|
-
// items: '"*"',
|
|
70
|
-
// tablename: '"t_repairman"',
|
|
71
|
-
// orderitem: '"ID desc"'
|
|
72
|
-
// }),
|
|
73
|
-
path: "rs/WX/searchMarker", // 获取标记点数组请求路径
|
|
74
|
-
rate: 1, // 控制速度比率
|
|
75
|
-
postData: [], // 获取后台数据的参数
|
|
76
|
-
map: null, // 显示地图实例
|
|
77
|
-
position: null, // 定位对象
|
|
78
|
-
startmaker: null,
|
|
79
|
-
stmarker: {}, // 开始标记
|
|
80
|
-
endmarker: {}, // 结束标记
|
|
81
|
-
repairmanData: [], // 维修员信息
|
|
82
|
-
placeSearch: null, // 地点查询对象
|
|
83
|
-
driving: null, // 驾车线路规划对象
|
|
84
|
-
parameters: [], // 西安银行ATM接口需求,将参数放在数组中
|
|
85
|
-
R: 1, // 半径 (单位:千米) 围栏显示范围
|
|
86
|
-
searchNearByData: "西安银行", // searchNearBy中要查的名称
|
|
87
|
-
markerType: [], // 界面上分类显示按钮菜单
|
|
88
|
-
markerData: [], // 要标记的点——本地数据库和西安银行ATM位置提取数据的集合
|
|
89
|
-
localRows: [], // 本地数据库获取的数据初始化
|
|
90
|
-
rows: [], // 西安银行ATM位置后台数据初始化
|
|
91
|
-
lineData: this.outerlinedata,// 绘制轨迹路线的数据(坐标点)
|
|
92
|
-
stopstart: true,
|
|
93
|
-
// timeoutHandle: window.setInterval(this.timemet, 120000),
|
|
94
|
-
modalshow: false
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
|
-
methods: {
|
|
98
|
-
// 开始回放
|
|
99
|
-
startAnimation() {
|
|
100
|
-
this.startmarker.moveAlong(this.lineData, 2000)
|
|
101
|
-
},
|
|
102
|
-
// 暂停
|
|
103
|
-
pauseAnimation() {
|
|
104
|
-
this.startmarker.pauseMove();
|
|
105
|
-
this.ispause = true
|
|
106
|
-
},
|
|
107
|
-
// 继续
|
|
108
|
-
resumeAnimation() {
|
|
109
|
-
this.ispause = false
|
|
110
|
-
this.startmarker.resumeMove();
|
|
111
|
-
},
|
|
112
|
-
//加速
|
|
113
|
-
speedUp() {
|
|
114
|
-
this.rate = this.rate / 2
|
|
115
|
-
this.startmarker.moveAlong(this.lineData, 2000 / this.rate)
|
|
116
|
-
},
|
|
117
|
-
//减速
|
|
118
|
-
speedDown() {
|
|
119
|
-
this.rate = this.rate * 2
|
|
120
|
-
this.startmarker.moveAlong(this.lineData, 2000 / this.rate)
|
|
121
|
-
},
|
|
122
|
-
close() {
|
|
123
|
-
this.modalshow = false
|
|
124
|
-
},
|
|
125
|
-
//定时刷新位置
|
|
126
|
-
timemet() {
|
|
127
|
-
this.map.clearMap()
|
|
128
|
-
this.getnewposit(this.map)
|
|
129
|
-
},
|
|
130
|
-
setPoint(data) {
|
|
131
|
-
this.map.clearMap()
|
|
132
|
-
console.log('当前点' + data)
|
|
133
|
-
this.outerlinedata= {}
|
|
134
|
-
this.markerData = []
|
|
135
|
-
this.markerData.push(data)
|
|
136
|
-
this.markerDataToMap()
|
|
137
|
-
let position = []
|
|
138
|
-
position = [data.f_longitude, data.f_latitude]
|
|
139
|
-
this.map.setCenter(position)
|
|
140
|
-
this.map.setFitView()
|
|
141
|
-
},
|
|
142
|
-
getnewposit(map) {
|
|
143
|
-
//如果有点集在地图上显示所有的点
|
|
144
|
-
console.log('开始获取散点集')
|
|
145
|
-
if (this.points) {
|
|
146
|
-
let url = this.points.url
|
|
147
|
-
let data = this.points.data
|
|
148
|
-
this.$resetpost(url, {data: data}, {
|
|
149
|
-
rejectMsg: null,
|
|
150
|
-
resolveMsg: null,
|
|
151
|
-
silent: true
|
|
152
|
-
}).then((row) => {
|
|
153
|
-
this.markerData = row.data
|
|
154
|
-
this.markerDataToMap()
|
|
155
|
-
console.log(this.map.getZoom())
|
|
156
|
-
this.map.setZoom(9.2)
|
|
157
|
-
})
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
// json对象去重-下拉菜单
|
|
161
|
-
unique: function (arr) {
|
|
162
|
-
var ret = [];
|
|
163
|
-
for (var i = 0, j = arr.length; i < j; i++) {
|
|
164
|
-
if (ret.indexOf(arr[i]) === -1) {
|
|
165
|
-
ret.push(arr[i]);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
return ret;
|
|
169
|
-
},
|
|
170
|
-
searchNearByAPI: function () {
|
|
171
|
-
// POI搜索插件
|
|
172
|
-
this.placeSearch = new AMap.PlaceSearch({
|
|
173
|
-
pageSize: 5,
|
|
174
|
-
pageIndex: 1,
|
|
175
|
-
city: "029",
|
|
176
|
-
map: this.map,
|
|
177
|
-
panel: "panel"
|
|
178
|
-
});
|
|
179
|
-
},
|
|
180
|
-
markerClick(e){
|
|
181
|
-
var infoWindow = new AMap.InfoWindow({});
|
|
182
|
-
console.log(e.target)
|
|
183
|
-
console.log(e.value)
|
|
184
|
-
let content = `<div style="height: auto">1111</div>`
|
|
185
|
-
infoWindow.setContent(content);
|
|
186
|
-
infoWindow.open(this.map, e.target.getPosition());
|
|
187
|
-
// this.map.setCenter(e.target.getPosition());
|
|
188
|
-
},
|
|
189
|
-
markerDataToMap: function () {
|
|
190
|
-
// start— if 数据库有坐标信息则使用数据库标记点
|
|
191
|
-
// start- else 数据库没有坐标信息,使用高德地图API SearchNearBy方法去获取高德标记库中的标记点。
|
|
192
|
-
// this.markerData=null
|
|
193
|
-
|
|
194
|
-
if (!(this.markerData == undefined || this.markerData == null || this.markerData.length == 0)) {
|
|
195
|
-
this.markerData.map((item)=>{
|
|
196
|
-
if (item.f_longitude != 0) {
|
|
197
|
-
var lnglat = item.f_geo_coordinates.split(',');
|
|
198
|
-
console.log('坐标.......'+lnglat)
|
|
199
|
-
if (!item.iconurl) {
|
|
200
|
-
item.iconurl = "static/newStyle/position.png";
|
|
201
|
-
} else {
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
this.marker = new AMap.Marker({
|
|
205
|
-
title: item.f_name,
|
|
206
|
-
position: lnglat,
|
|
207
|
-
// animation: "AMAP_ANIMATION_DROP",
|
|
208
|
-
draggable: false, //是否可拖动
|
|
209
|
-
// content: '<img src="' +
|
|
210
|
-
// this.markerData[i].iconurl +
|
|
211
|
-
// '" />' //自定义点标记覆盖物内容
|
|
212
|
-
content: '<img style="text-align: center;margin-left:10px;" src="' +
|
|
213
|
-
item.iconurl +
|
|
214
|
-
'" /><span style="text-align: center;max-height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;color:#00A7D2;font-size:14px; font-weight:bold;display: inline-block;text-align: left;">' +
|
|
215
|
-
item.f_name +
|
|
216
|
-
"</span>"
|
|
217
|
-
}); //自定义点标记覆盖物内容
|
|
218
|
-
var that = this
|
|
219
|
-
var infoWindow = new AMap.InfoWindow({
|
|
220
|
-
offset: new AMap.Pixel(40, 10)
|
|
221
|
-
})
|
|
222
|
-
|
|
223
|
-
this.marker.on("mouseover", function (e) {
|
|
224
|
-
let content =
|
|
225
|
-
`<div class="row tooltip" style="height: auto;">
|
|
226
|
-
<div style="font-size: 16px">
|
|
227
|
-
<span style="color:#13FDFD;font-weight: bolder">${item.f_name}</span>
|
|
228
|
-
</div>
|
|
229
|
-
<div style="margin-top: 3px">
|
|
230
|
-
<span class="t2">累计流量(NM3):</span>
|
|
231
|
-
<span class="t3">${item.f_cumulative_flow}</span>
|
|
232
|
-
</div>
|
|
233
|
-
<div style="margin-top: 3px">
|
|
234
|
-
<span class="t2">瞬时流量(NM3):</span>
|
|
235
|
-
<span class="t3">${item.f_instantaneous_flow}</span>
|
|
236
|
-
</div>
|
|
237
|
-
<div style="margin-top: 3px">
|
|
238
|
-
<span class="t2">进站压力(NPA):</span>
|
|
239
|
-
<span class="t3">${item.f_input_pressure}</span>
|
|
240
|
-
</div>
|
|
241
|
-
<div>
|
|
242
|
-
<span class="t2">出站压力(NPA):</span>
|
|
243
|
-
<span class="t3">${item.f_output_pressure}</span>
|
|
244
|
-
</div>
|
|
245
|
-
</div>`
|
|
246
|
-
infoWindow.setContent(content)
|
|
247
|
-
that.map.setZoomAndCenter(that.map.getZoom(),e.target.getPosition())
|
|
248
|
-
// that.marker.setLabel({
|
|
249
|
-
// // offset: new AMap.Pixel(20, 20), //设置文本标注偏移量
|
|
250
|
-
// content: `<div class="info" style="height: auto">${item.f_name}</div>`, //设置文本标注内容
|
|
251
|
-
// direction: 'bottom' //设置文本标注方位
|
|
252
|
-
// });
|
|
253
|
-
// that.map.setZoomAndCenter(that.map.getZoom(),e.target.getPosition())
|
|
254
|
-
|
|
255
|
-
infoWindow.open(that.map, e.target.getPosition());
|
|
256
|
-
});
|
|
257
|
-
this.marker.on("mouseout", function (e) {
|
|
258
|
-
// that.marker.setLabel(null);
|
|
259
|
-
infoWindow.close(that.map, e.target.getPosition());
|
|
260
|
-
});
|
|
261
|
-
this.marker.setMap(this.map)
|
|
262
|
-
console.log(this.map.getZoom())
|
|
263
|
-
// this.map.setZoom(15)
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
})
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}
|
|
271
|
-
this.map.setFitView();
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}, // end- if else,
|
|
275
|
-
// select选中
|
|
276
|
-
changeType(val) {
|
|
277
|
-
document.getElementById("panel").innerHTML = "";
|
|
278
|
-
if (this.maxheight) {
|
|
279
|
-
document.getElementById("containerr").style.height = `${this.maxheight}px`
|
|
280
|
-
document.getElementById("containerr").style.width = `${this.maxwidth}px`
|
|
281
|
-
} else {
|
|
282
|
-
console.log('设置高度')
|
|
283
|
-
document.getElementById("containerr").style.height = '100%'
|
|
284
|
-
document.getElementById("containerr").style.width = '100%'
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
console.log("选中" + val);
|
|
288
|
-
var optionVal = val;
|
|
289
|
-
// 如果为空不去清空地图标记
|
|
290
|
-
if (optionVal) {
|
|
291
|
-
this.map.clearMap();
|
|
292
|
-
}
|
|
293
|
-
// 定位和范围
|
|
294
|
-
// this.makeCircle();
|
|
295
|
-
// 按条件标记
|
|
296
|
-
for (var i = 0; i < this.markerData.length; i++) {
|
|
297
|
-
if (optionVal == this.markerData[i].type) {
|
|
298
|
-
var lnglat = [this.markerData[i].x, this.markerData[i].y];
|
|
299
|
-
if (this.markerData[i].iconurl == null || this.markerData[i].iconurl == undefined) {
|
|
300
|
-
this.markerData[i].iconurl = "static/newStyle/clear.png";
|
|
301
|
-
}
|
|
302
|
-
;
|
|
303
|
-
this.marker = new AMap.Marker({
|
|
304
|
-
position: lnglat,
|
|
305
|
-
animation: "AMAP_ANIMATION_DROP",
|
|
306
|
-
content: '<img style="text-align: center;margin-left:10px;" src="' +
|
|
307
|
-
this.markerData[i].iconurl +
|
|
308
|
-
'" /><span style="text-align: center;height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;margin-right:60px;color:#ff0000;font-size:14px;display: inline-block;text-align: left;">' +
|
|
309
|
-
this.markerData[i].type +
|
|
310
|
-
"</span>" //自定义点标记覆盖物内容
|
|
311
|
-
});
|
|
312
|
-
// this.marker.setMap(this.map);
|
|
313
|
-
// AMap.event.addListener(this.marker, "click", e => {
|
|
314
|
-
// this.changeType()
|
|
315
|
-
// //构造路线导航类
|
|
316
|
-
// this.driving = new AMap.Driving({
|
|
317
|
-
// map: this.map,
|
|
318
|
-
// panel: "panel"
|
|
319
|
-
// });
|
|
320
|
-
// this.driving.search(this.position, e.lnglat);
|
|
321
|
-
// });
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
onComplete(data) {
|
|
326
|
-
console.log('定位成功')
|
|
327
|
-
},
|
|
328
|
-
//解析定位错误信息
|
|
329
|
-
onError(data) {
|
|
330
|
-
console.log('失败原因排查信息:' + data.message)
|
|
331
|
-
},
|
|
332
|
-
//绘制轨迹路线
|
|
333
|
-
startPointTrack() {
|
|
334
|
-
console.log("绘制轨迹路线start");
|
|
335
|
-
var thisa = this;
|
|
336
|
-
this.startmarker = new AMap.Marker({
|
|
337
|
-
map: thisa.map,
|
|
338
|
-
position: [thisa.stmarker.f_longitude, thisa.stmarker.f_latitude],
|
|
339
|
-
icon: "https://webapi.amap.com/images/car.png",
|
|
340
|
-
offset: new AMap.Pixel(-26, -13),
|
|
341
|
-
autoRotation: true,
|
|
342
|
-
angle: -90,
|
|
343
|
-
});
|
|
344
|
-
this.startmarker.on('moving', function (e) {
|
|
345
|
-
passedPolyline.setPath(e.passedPath);
|
|
346
|
-
});
|
|
347
|
-
var polyline = new AMap.Polyline({
|
|
348
|
-
map: thisa.map,
|
|
349
|
-
path: thisa.lineData,
|
|
350
|
-
showDir: true,
|
|
351
|
-
strokeColor: "#28F", //线颜色
|
|
352
|
-
// strokeOpacity: 1, //线透明度
|
|
353
|
-
strokeWeight: 6, //线宽
|
|
354
|
-
// strokeStyle: "solid" //线样式
|
|
355
|
-
});
|
|
356
|
-
var passedPolyline = new AMap.Polyline({
|
|
357
|
-
map: thisa.map,
|
|
358
|
-
// path: lineArr,
|
|
359
|
-
strokeColor: "#AF5", //线颜色
|
|
360
|
-
// strokeOpacity: 1, //线透明度
|
|
361
|
-
strokeWeight: 6, //线宽
|
|
362
|
-
// strokeStyle: "solid" //线样式
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
//当外部传给这个组件的props的outerlinedata参数发生变化,就重新绘制轨迹路线
|
|
367
|
-
watch: {
|
|
368
|
-
'singlepoint'(val) {
|
|
369
|
-
if (this.singlepoint.f_longitude && this.singlepoint.f_latitude) {
|
|
370
|
-
this.setPoint(this.singlepoint)
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
'outerlinedata'(llval) {
|
|
374
|
-
this.lineData = []
|
|
375
|
-
if (llval && llval.points.length > 0) {
|
|
376
|
-
for (let i = 0; i < llval.points.length; i++) {
|
|
377
|
-
if (llval.points[i].lnglat[0] && llval.points[i].lnglat[1]) {
|
|
378
|
-
let data = [llval.points[i].lnglat[0], llval.points[i].lnglat[1]]
|
|
379
|
-
let json = maptool.wgs84togcj02(Number(data[0]), Number(data[1]))
|
|
380
|
-
this.lineData.push(json)
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
this.map.clearMap()
|
|
385
|
-
if (llval == null || llval.points.length < 1) {
|
|
386
|
-
console.log('开始清空')
|
|
387
|
-
if (window.pathSimplifierIns) {
|
|
388
|
-
//通过该方法清空上次传入的轨迹
|
|
389
|
-
window.pathSimplifierIns.setData([]);
|
|
390
|
-
}
|
|
391
|
-
this.getnewposit(this.map)
|
|
392
|
-
// clearInterval(this.timeoutHandle);
|
|
393
|
-
// this.timeoutHandle = setInterval(this.timemet, 120000); //重新启动即可
|
|
394
|
-
} else {
|
|
395
|
-
// clearInterval(this.timeoutHandle);
|
|
396
|
-
var startPot = this.lineData[0];
|
|
397
|
-
var endPot = this.lineData[this.lineData.length - 1];
|
|
398
|
-
this.stmarker = {
|
|
399
|
-
name2: '起点',
|
|
400
|
-
f_longitude: startPot[0], //基点位置
|
|
401
|
-
f_latitude: startPot[1], //基点位置
|
|
402
|
-
iconurl: "https://webapi.amap.com/theme/v1.3/markers/n/start.png",
|
|
403
|
-
zIndex: 10
|
|
404
|
-
};
|
|
405
|
-
this.endmarker = {
|
|
406
|
-
name2: '终点',
|
|
407
|
-
f_longitude: endPot[0], //基点位置
|
|
408
|
-
f_latitude: endPot[1],
|
|
409
|
-
iconurl: "https://webapi.amap.com/theme/v1.3/markers/n/end.png",
|
|
410
|
-
zIndex: 10
|
|
411
|
-
};
|
|
412
|
-
this.markerData = [],
|
|
413
|
-
console.log('起点' + this.stmarker.position)
|
|
414
|
-
this.markerData.push(this.stmarker)
|
|
415
|
-
this.markerData.push(this.endmarker)
|
|
416
|
-
this.markerDataToMap()
|
|
417
|
-
this.startPointTrack()
|
|
418
|
-
this.map.setFitView();
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
},
|
|
422
|
-
ready() {
|
|
423
|
-
|
|
424
|
-
// 初始化地图
|
|
425
|
-
this.map = new AMap.Map("containerr", {
|
|
426
|
-
resizeEnable: true,
|
|
427
|
-
scrollWheel: false,
|
|
428
|
-
mapStyle: 'amap://styles/darkblue',
|
|
429
|
-
zoom: 15
|
|
430
|
-
});
|
|
431
|
-
this.changeType()
|
|
432
|
-
console.log("地图加载正常");
|
|
433
|
-
var thisp = this;
|
|
434
|
-
// 异步加载插件
|
|
435
|
-
AMap.plugin(
|
|
436
|
-
[
|
|
437
|
-
"AMap.ToolBar",
|
|
438
|
-
"AMap.PlaceSearch",
|
|
439
|
-
"AMap.Driving",
|
|
440
|
-
"AMap.Geolocation"
|
|
441
|
-
],
|
|
442
|
-
() => {
|
|
443
|
-
// 工具条,控制地图的缩放、平移等
|
|
444
|
-
var geolocation = new AMap.Geolocation({
|
|
445
|
-
// 是否使用高精度定位,默认:true
|
|
446
|
-
enableHighAccuracy: true,
|
|
447
|
-
// 设置定位超时时间,默认:无穷大
|
|
448
|
-
showbutton: true,
|
|
449
|
-
//控制按钮的显示
|
|
450
|
-
timeout: 10000,
|
|
451
|
-
// 定位按钮的停靠位置的偏移量,默认:Pixel(10, 20)
|
|
452
|
-
buttonOffset: new AMap.Pixel(10, 20),
|
|
453
|
-
// 定位成功后调整地图视野范围使定位位置及精度范围视野内可见,默认:false
|
|
454
|
-
zoomToAccuracy: true,
|
|
455
|
-
// 定位按钮的排放位置, RB表示右下
|
|
456
|
-
buttonPosition: 'LB'
|
|
457
|
-
})
|
|
458
|
-
// this.map.addControl(geolocation);
|
|
459
|
-
// geolocation.getCurrentPosition(function (status, result) {
|
|
460
|
-
// if (status == 'complete') {
|
|
461
|
-
// thisp.onComplete(result)
|
|
462
|
-
// } else {
|
|
463
|
-
// thisp.onError(result)
|
|
464
|
-
// }
|
|
465
|
-
// });
|
|
466
|
-
// this.map.addControl(new AMap.ToolBar());
|
|
467
|
-
}
|
|
468
|
-
);
|
|
469
|
-
console.log("执行代码开始前");
|
|
470
|
-
if (!/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)) {
|
|
471
|
-
}
|
|
472
|
-
else {
|
|
473
|
-
AMapUI.loadUI(["misc/PoiPicker"], function (PoiPicker) {
|
|
474
|
-
let poiPicker = new PoiPicker({
|
|
475
|
-
input: "pickerInput"
|
|
476
|
-
});
|
|
477
|
-
var marker = new AMap.Marker();
|
|
478
|
-
this.map.setMapStyle('amap://styles/darkblue')
|
|
479
|
-
poiPicker.on("poiPicked", poiResult => {
|
|
480
|
-
let source = poiResult.source;
|
|
481
|
-
var poi = poiResult.item;
|
|
482
|
-
console.log(poi.location.lng, poi.location.lat);
|
|
483
|
-
thisp.position = new AMap.LngLat(poi.location.lng, poi.location.lat);
|
|
484
|
-
thisp.map.setCenter(thisp.position);
|
|
485
|
-
|
|
486
|
-
console.log("this.position" + thisp.position);
|
|
487
|
-
thisp.startPost();
|
|
488
|
-
});
|
|
489
|
-
marker.setMap(thisp.map);
|
|
490
|
-
// marker.setPosition(thisp.position);
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
thisp.getnewposit(this.map)
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
</script>
|
|
497
|
-
<style scoped>
|
|
498
|
-
/*div{*/
|
|
499
|
-
/*height: fit-content !important;*/
|
|
500
|
-
/*}*/
|
|
501
|
-
#containerr {
|
|
502
|
-
height: 100%;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/*地图上已经有获取当前位置的控制器按钮,因此隐藏*/
|
|
506
|
-
.input-card .btn {
|
|
507
|
-
margin-right: 1.2rem;
|
|
508
|
-
width: 9rem;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.input-card .btn:last-child {
|
|
512
|
-
margin-right: 0;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
#pickerBox {
|
|
516
|
-
position: relative;
|
|
517
|
-
z-index: 10;
|
|
518
|
-
top: 20px;
|
|
519
|
-
left: 70px;
|
|
520
|
-
width: 245px;
|
|
521
|
-
height: 200px;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
#pickerInput {
|
|
525
|
-
width: 60%;
|
|
526
|
-
padding: 0px 0px;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
#fight {
|
|
530
|
-
height: 5%;
|
|
531
|
-
float: right;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
.input-item {
|
|
535
|
-
position: relative;
|
|
536
|
-
display: -ms-flexbox;
|
|
537
|
-
display: flex;
|
|
538
|
-
-ms-flex-wrap: wrap;
|
|
539
|
-
flex-wrap: wrap;
|
|
540
|
-
-ms-flex-align: center;
|
|
541
|
-
align-items: center;
|
|
542
|
-
width: 100%;
|
|
543
|
-
height: 3rem;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.input-item:last-child {
|
|
547
|
-
margin-bottom: 0;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
.input-item > select, .input-item > input[type=text], .input-item > input[type=date] {
|
|
551
|
-
position: relative;
|
|
552
|
-
-ms-flex: 1 1 auto;
|
|
553
|
-
flex: 1 1 auto;
|
|
554
|
-
width: 1%;
|
|
555
|
-
margin-bottom: 0;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.input-item > select:not(:last-child), .input-item > input[type=text]:not(:last-child), .input-item > input[type=date]:not(:last-child) {
|
|
559
|
-
border-top-right-radius: 0;
|
|
560
|
-
border-bottom-right-radius: 0
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.input-item > select:not(:first-child), .input-item > input[type=text]:not(:first-child), .input-item > input[type=date]:not(:first-child) {
|
|
564
|
-
border-top-left-radius: 0;
|
|
565
|
-
border-bottom-left-radius: 0
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.input-item-prepend {
|
|
569
|
-
margin-right: -1px;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
.input-item-text, input[type=text], input[type=date], select {
|
|
573
|
-
height: calc(2.2rem + 2px);
|
|
574
|
-
}
|
|
575
|
-
.info{
|
|
576
|
-
height: auto;
|
|
577
|
-
}
|
|
578
|
-
.input-item-text {
|
|
579
|
-
width: 6rem;
|
|
580
|
-
text-align: justify;
|
|
581
|
-
padding: 0.4rem 0.7rem;
|
|
582
|
-
display: inline-block;
|
|
583
|
-
text-justify: distribute-all-lines;
|
|
584
|
-
/*ie6-8*/
|
|
585
|
-
text-align-last: justify;
|
|
586
|
-
/* ie9*/
|
|
587
|
-
-moz-text-align-last: justify;
|
|
588
|
-
/*ff*/
|
|
589
|
-
-webkit-text-align-last: justify;
|
|
590
|
-
/*chrome 20+*/
|
|
591
|
-
-ms-flex-align: center;
|
|
592
|
-
align-items: center;
|
|
593
|
-
margin-bottom: 0;
|
|
594
|
-
font-size: 1rem;
|
|
595
|
-
font-weight: 400;
|
|
596
|
-
line-height: 1.5;
|
|
597
|
-
color: #495057;
|
|
598
|
-
text-align: center;
|
|
599
|
-
white-space: nowrap;
|
|
600
|
-
background-color: #e9ecef;
|
|
601
|
-
border: 1px solid #ced4da;
|
|
602
|
-
border-radius: .25rem;
|
|
603
|
-
border-bottom-right-radius: 0;
|
|
604
|
-
border-top-right-radius: 0;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
.input-item-text input[type=checkbox], .input-item-text input[type=radio] {
|
|
608
|
-
margin-top: 0
|
|
609
|
-
}
|
|
610
|
-
.amap-info-content{
|
|
611
|
-
height: auto !important;
|
|
612
|
-
}
|
|
613
|
-
.amap-info-outer{
|
|
614
|
-
height: auto !important;
|
|
615
|
-
}
|
|
616
|
-
.input-card {
|
|
617
|
-
/*margin-right: 25%;*/
|
|
618
|
-
z-index: 999;
|
|
619
|
-
float: right;
|
|
620
|
-
position:absolute;
|
|
621
|
-
margin: 0px;
|
|
622
|
-
height: auto;
|
|
623
|
-
min-width: 0;
|
|
624
|
-
word-wrap: break-word;
|
|
625
|
-
background-color: #fff;
|
|
626
|
-
background-clip: border-box;
|
|
627
|
-
border-radius: .25rem;
|
|
628
|
-
width: 22rem;
|
|
629
|
-
border-width: 0;
|
|
630
|
-
border-radius: 0.4rem;
|
|
631
|
-
box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
|
|
632
|
-
bottom: 1rem;
|
|
633
|
-
padding: 0.75rem 1.25rem;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div id="containerr" style="height: auto" tabindex="0">
|
|
4
|
+
<div class="input-card" v-if="outerlinedata&&outerlinedata.points">
|
|
5
|
+
<h4>轨迹回放</h4>
|
|
6
|
+
<div class="input-item">
|
|
7
|
+
<input type="button" class="btn btn-info" value="开始动画" id="start" @click="startAnimation()"/>
|
|
8
|
+
<input v-show="!ispause" type="button" class="btn btn-info" value="暂停动画" id="pause" @click="pauseAnimation()"/>
|
|
9
|
+
<input v-if="ispause" type="button" class="btn btn-info" value="继续动画" id="resume" @click="resumeAnimation()"/>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="input-item">
|
|
12
|
+
<input type="button" class="btn btn-info" value="加速动画" id="add" @click="speedUp()"/>
|
|
13
|
+
<input type="button" class="btn btn-info" value="减速动画" id="des" @click="speedDown()"/>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<div id="panel" v-show="showPanel"></div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
<script>
|
|
22
|
+
import * as maptool from '../../plugins/transformer'
|
|
23
|
+
export default {
|
|
24
|
+
title: "地图",
|
|
25
|
+
props: {
|
|
26
|
+
//轨迹
|
|
27
|
+
//示例
|
|
28
|
+
|
|
29
|
+
outerlinedata: {
|
|
30
|
+
type: Object,
|
|
31
|
+
default: {}
|
|
32
|
+
},
|
|
33
|
+
//单点
|
|
34
|
+
//示例 {"name2":"终点","f_longitude":108.9592663294896,"f_latitude":34.163040719830576,"iconurl":"https://webapi.amap.com/theme/v1.3/markers/n/end.png","zIndex":10}
|
|
35
|
+
singlepoint: {
|
|
36
|
+
type: Object,
|
|
37
|
+
default: {}
|
|
38
|
+
},
|
|
39
|
+
//点集
|
|
40
|
+
points: {
|
|
41
|
+
type: Object,
|
|
42
|
+
default: {
|
|
43
|
+
url: 'rs/sql/getDapingStationMap',
|
|
44
|
+
data: {subcompany:'%'}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
//当前用户
|
|
48
|
+
curuser: {
|
|
49
|
+
type: Object,
|
|
50
|
+
default: {}
|
|
51
|
+
},
|
|
52
|
+
ispause: false,
|
|
53
|
+
//最大高度
|
|
54
|
+
maxheight: '',
|
|
55
|
+
//最大宽度
|
|
56
|
+
maxwidth: '',
|
|
57
|
+
showBox: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: false
|
|
60
|
+
},
|
|
61
|
+
showPanel: {
|
|
62
|
+
type: Boolean,
|
|
63
|
+
default: false
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
data() {
|
|
67
|
+
return {
|
|
68
|
+
// model: new PagedList('rs/sql/singleTable_OrderBy', 10, {
|
|
69
|
+
// items: '"*"',
|
|
70
|
+
// tablename: '"t_repairman"',
|
|
71
|
+
// orderitem: '"ID desc"'
|
|
72
|
+
// }),
|
|
73
|
+
path: "rs/WX/searchMarker", // 获取标记点数组请求路径
|
|
74
|
+
rate: 1, // 控制速度比率
|
|
75
|
+
postData: [], // 获取后台数据的参数
|
|
76
|
+
map: null, // 显示地图实例
|
|
77
|
+
position: null, // 定位对象
|
|
78
|
+
startmaker: null,
|
|
79
|
+
stmarker: {}, // 开始标记
|
|
80
|
+
endmarker: {}, // 结束标记
|
|
81
|
+
repairmanData: [], // 维修员信息
|
|
82
|
+
placeSearch: null, // 地点查询对象
|
|
83
|
+
driving: null, // 驾车线路规划对象
|
|
84
|
+
parameters: [], // 西安银行ATM接口需求,将参数放在数组中
|
|
85
|
+
R: 1, // 半径 (单位:千米) 围栏显示范围
|
|
86
|
+
searchNearByData: "西安银行", // searchNearBy中要查的名称
|
|
87
|
+
markerType: [], // 界面上分类显示按钮菜单
|
|
88
|
+
markerData: [], // 要标记的点——本地数据库和西安银行ATM位置提取数据的集合
|
|
89
|
+
localRows: [], // 本地数据库获取的数据初始化
|
|
90
|
+
rows: [], // 西安银行ATM位置后台数据初始化
|
|
91
|
+
lineData: this.outerlinedata,// 绘制轨迹路线的数据(坐标点)
|
|
92
|
+
stopstart: true,
|
|
93
|
+
// timeoutHandle: window.setInterval(this.timemet, 120000),
|
|
94
|
+
modalshow: false
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
methods: {
|
|
98
|
+
// 开始回放
|
|
99
|
+
startAnimation() {
|
|
100
|
+
this.startmarker.moveAlong(this.lineData, 2000)
|
|
101
|
+
},
|
|
102
|
+
// 暂停
|
|
103
|
+
pauseAnimation() {
|
|
104
|
+
this.startmarker.pauseMove();
|
|
105
|
+
this.ispause = true
|
|
106
|
+
},
|
|
107
|
+
// 继续
|
|
108
|
+
resumeAnimation() {
|
|
109
|
+
this.ispause = false
|
|
110
|
+
this.startmarker.resumeMove();
|
|
111
|
+
},
|
|
112
|
+
//加速
|
|
113
|
+
speedUp() {
|
|
114
|
+
this.rate = this.rate / 2
|
|
115
|
+
this.startmarker.moveAlong(this.lineData, 2000 / this.rate)
|
|
116
|
+
},
|
|
117
|
+
//减速
|
|
118
|
+
speedDown() {
|
|
119
|
+
this.rate = this.rate * 2
|
|
120
|
+
this.startmarker.moveAlong(this.lineData, 2000 / this.rate)
|
|
121
|
+
},
|
|
122
|
+
close() {
|
|
123
|
+
this.modalshow = false
|
|
124
|
+
},
|
|
125
|
+
//定时刷新位置
|
|
126
|
+
timemet() {
|
|
127
|
+
this.map.clearMap()
|
|
128
|
+
this.getnewposit(this.map)
|
|
129
|
+
},
|
|
130
|
+
setPoint(data) {
|
|
131
|
+
this.map.clearMap()
|
|
132
|
+
console.log('当前点' + data)
|
|
133
|
+
this.outerlinedata= {}
|
|
134
|
+
this.markerData = []
|
|
135
|
+
this.markerData.push(data)
|
|
136
|
+
this.markerDataToMap()
|
|
137
|
+
let position = []
|
|
138
|
+
position = [data.f_longitude, data.f_latitude]
|
|
139
|
+
this.map.setCenter(position)
|
|
140
|
+
this.map.setFitView()
|
|
141
|
+
},
|
|
142
|
+
getnewposit(map) {
|
|
143
|
+
//如果有点集在地图上显示所有的点
|
|
144
|
+
console.log('开始获取散点集')
|
|
145
|
+
if (this.points) {
|
|
146
|
+
let url = this.points.url
|
|
147
|
+
let data = this.points.data
|
|
148
|
+
this.$resetpost(url, {data: data}, {
|
|
149
|
+
rejectMsg: null,
|
|
150
|
+
resolveMsg: null,
|
|
151
|
+
silent: true
|
|
152
|
+
}).then((row) => {
|
|
153
|
+
this.markerData = row.data
|
|
154
|
+
this.markerDataToMap()
|
|
155
|
+
console.log(this.map.getZoom())
|
|
156
|
+
this.map.setZoom(9.2)
|
|
157
|
+
})
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
// json对象去重-下拉菜单
|
|
161
|
+
unique: function (arr) {
|
|
162
|
+
var ret = [];
|
|
163
|
+
for (var i = 0, j = arr.length; i < j; i++) {
|
|
164
|
+
if (ret.indexOf(arr[i]) === -1) {
|
|
165
|
+
ret.push(arr[i]);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
return ret;
|
|
169
|
+
},
|
|
170
|
+
searchNearByAPI: function () {
|
|
171
|
+
// POI搜索插件
|
|
172
|
+
this.placeSearch = new AMap.PlaceSearch({
|
|
173
|
+
pageSize: 5,
|
|
174
|
+
pageIndex: 1,
|
|
175
|
+
city: "029",
|
|
176
|
+
map: this.map,
|
|
177
|
+
panel: "panel"
|
|
178
|
+
});
|
|
179
|
+
},
|
|
180
|
+
markerClick(e){
|
|
181
|
+
var infoWindow = new AMap.InfoWindow({});
|
|
182
|
+
console.log(e.target)
|
|
183
|
+
console.log(e.value)
|
|
184
|
+
let content = `<div style="height: auto">1111</div>`
|
|
185
|
+
infoWindow.setContent(content);
|
|
186
|
+
infoWindow.open(this.map, e.target.getPosition());
|
|
187
|
+
// this.map.setCenter(e.target.getPosition());
|
|
188
|
+
},
|
|
189
|
+
markerDataToMap: function () {
|
|
190
|
+
// start— if 数据库有坐标信息则使用数据库标记点
|
|
191
|
+
// start- else 数据库没有坐标信息,使用高德地图API SearchNearBy方法去获取高德标记库中的标记点。
|
|
192
|
+
// this.markerData=null
|
|
193
|
+
|
|
194
|
+
if (!(this.markerData == undefined || this.markerData == null || this.markerData.length == 0)) {
|
|
195
|
+
this.markerData.map((item)=>{
|
|
196
|
+
if (item.f_longitude != 0) {
|
|
197
|
+
var lnglat = item.f_geo_coordinates.split(',');
|
|
198
|
+
console.log('坐标.......'+lnglat)
|
|
199
|
+
if (!item.iconurl) {
|
|
200
|
+
item.iconurl = "static/newStyle/position.png";
|
|
201
|
+
} else {
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
this.marker = new AMap.Marker({
|
|
205
|
+
title: item.f_name,
|
|
206
|
+
position: lnglat,
|
|
207
|
+
// animation: "AMAP_ANIMATION_DROP",
|
|
208
|
+
draggable: false, //是否可拖动
|
|
209
|
+
// content: '<img src="' +
|
|
210
|
+
// this.markerData[i].iconurl +
|
|
211
|
+
// '" />' //自定义点标记覆盖物内容
|
|
212
|
+
content: '<img style="text-align: center;margin-left:10px;" src="' +
|
|
213
|
+
item.iconurl +
|
|
214
|
+
'" /><span style="text-align: center;max-height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;color:#00A7D2;font-size:14px; font-weight:bold;display: inline-block;text-align: left;">' +
|
|
215
|
+
item.f_name +
|
|
216
|
+
"</span>"
|
|
217
|
+
}); //自定义点标记覆盖物内容
|
|
218
|
+
var that = this
|
|
219
|
+
var infoWindow = new AMap.InfoWindow({
|
|
220
|
+
offset: new AMap.Pixel(40, 10)
|
|
221
|
+
})
|
|
222
|
+
|
|
223
|
+
this.marker.on("mouseover", function (e) {
|
|
224
|
+
let content =
|
|
225
|
+
`<div class="row tooltip" style="height: auto;">
|
|
226
|
+
<div style="font-size: 16px">
|
|
227
|
+
<span style="color:#13FDFD;font-weight: bolder">${item.f_name}</span>
|
|
228
|
+
</div>
|
|
229
|
+
<div style="margin-top: 3px">
|
|
230
|
+
<span class="t2">累计流量(NM3):</span>
|
|
231
|
+
<span class="t3">${item.f_cumulative_flow}</span>
|
|
232
|
+
</div>
|
|
233
|
+
<div style="margin-top: 3px">
|
|
234
|
+
<span class="t2">瞬时流量(NM3):</span>
|
|
235
|
+
<span class="t3">${item.f_instantaneous_flow}</span>
|
|
236
|
+
</div>
|
|
237
|
+
<div style="margin-top: 3px">
|
|
238
|
+
<span class="t2">进站压力(NPA):</span>
|
|
239
|
+
<span class="t3">${item.f_input_pressure}</span>
|
|
240
|
+
</div>
|
|
241
|
+
<div>
|
|
242
|
+
<span class="t2">出站压力(NPA):</span>
|
|
243
|
+
<span class="t3">${item.f_output_pressure}</span>
|
|
244
|
+
</div>
|
|
245
|
+
</div>`
|
|
246
|
+
infoWindow.setContent(content)
|
|
247
|
+
that.map.setZoomAndCenter(that.map.getZoom(),e.target.getPosition())
|
|
248
|
+
// that.marker.setLabel({
|
|
249
|
+
// // offset: new AMap.Pixel(20, 20), //设置文本标注偏移量
|
|
250
|
+
// content: `<div class="info" style="height: auto">${item.f_name}</div>`, //设置文本标注内容
|
|
251
|
+
// direction: 'bottom' //设置文本标注方位
|
|
252
|
+
// });
|
|
253
|
+
// that.map.setZoomAndCenter(that.map.getZoom(),e.target.getPosition())
|
|
254
|
+
|
|
255
|
+
infoWindow.open(that.map, e.target.getPosition());
|
|
256
|
+
});
|
|
257
|
+
this.marker.on("mouseout", function (e) {
|
|
258
|
+
// that.marker.setLabel(null);
|
|
259
|
+
infoWindow.close(that.map, e.target.getPosition());
|
|
260
|
+
});
|
|
261
|
+
this.marker.setMap(this.map)
|
|
262
|
+
console.log(this.map.getZoom())
|
|
263
|
+
// this.map.setZoom(15)
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
})
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
}
|
|
271
|
+
this.map.setFitView();
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
}, // end- if else,
|
|
275
|
+
// select选中
|
|
276
|
+
changeType(val) {
|
|
277
|
+
document.getElementById("panel").innerHTML = "";
|
|
278
|
+
if (this.maxheight) {
|
|
279
|
+
document.getElementById("containerr").style.height = `${this.maxheight}px`
|
|
280
|
+
document.getElementById("containerr").style.width = `${this.maxwidth}px`
|
|
281
|
+
} else {
|
|
282
|
+
console.log('设置高度')
|
|
283
|
+
document.getElementById("containerr").style.height = '100%'
|
|
284
|
+
document.getElementById("containerr").style.width = '100%'
|
|
285
|
+
|
|
286
|
+
}
|
|
287
|
+
console.log("选中" + val);
|
|
288
|
+
var optionVal = val;
|
|
289
|
+
// 如果为空不去清空地图标记
|
|
290
|
+
if (optionVal) {
|
|
291
|
+
this.map.clearMap();
|
|
292
|
+
}
|
|
293
|
+
// 定位和范围
|
|
294
|
+
// this.makeCircle();
|
|
295
|
+
// 按条件标记
|
|
296
|
+
for (var i = 0; i < this.markerData.length; i++) {
|
|
297
|
+
if (optionVal == this.markerData[i].type) {
|
|
298
|
+
var lnglat = [this.markerData[i].x, this.markerData[i].y];
|
|
299
|
+
if (this.markerData[i].iconurl == null || this.markerData[i].iconurl == undefined) {
|
|
300
|
+
this.markerData[i].iconurl = "static/newStyle/clear.png";
|
|
301
|
+
}
|
|
302
|
+
;
|
|
303
|
+
this.marker = new AMap.Marker({
|
|
304
|
+
position: lnglat,
|
|
305
|
+
animation: "AMAP_ANIMATION_DROP",
|
|
306
|
+
content: '<img style="text-align: center;margin-left:10px;" src="' +
|
|
307
|
+
this.markerData[i].iconurl +
|
|
308
|
+
'" /><span style="text-align: center;height:14px;width:60px;padding:0px;margin-top:0px;margin-bottom:0px;margin-right:60px;color:#ff0000;font-size:14px;display: inline-block;text-align: left;">' +
|
|
309
|
+
this.markerData[i].type +
|
|
310
|
+
"</span>" //自定义点标记覆盖物内容
|
|
311
|
+
});
|
|
312
|
+
// this.marker.setMap(this.map);
|
|
313
|
+
// AMap.event.addListener(this.marker, "click", e => {
|
|
314
|
+
// this.changeType()
|
|
315
|
+
// //构造路线导航类
|
|
316
|
+
// this.driving = new AMap.Driving({
|
|
317
|
+
// map: this.map,
|
|
318
|
+
// panel: "panel"
|
|
319
|
+
// });
|
|
320
|
+
// this.driving.search(this.position, e.lnglat);
|
|
321
|
+
// });
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
onComplete(data) {
|
|
326
|
+
console.log('定位成功')
|
|
327
|
+
},
|
|
328
|
+
//解析定位错误信息
|
|
329
|
+
onError(data) {
|
|
330
|
+
console.log('失败原因排查信息:' + data.message)
|
|
331
|
+
},
|
|
332
|
+
//绘制轨迹路线
|
|
333
|
+
startPointTrack() {
|
|
334
|
+
console.log("绘制轨迹路线start");
|
|
335
|
+
var thisa = this;
|
|
336
|
+
this.startmarker = new AMap.Marker({
|
|
337
|
+
map: thisa.map,
|
|
338
|
+
position: [thisa.stmarker.f_longitude, thisa.stmarker.f_latitude],
|
|
339
|
+
icon: "https://webapi.amap.com/images/car.png",
|
|
340
|
+
offset: new AMap.Pixel(-26, -13),
|
|
341
|
+
autoRotation: true,
|
|
342
|
+
angle: -90,
|
|
343
|
+
});
|
|
344
|
+
this.startmarker.on('moving', function (e) {
|
|
345
|
+
passedPolyline.setPath(e.passedPath);
|
|
346
|
+
});
|
|
347
|
+
var polyline = new AMap.Polyline({
|
|
348
|
+
map: thisa.map,
|
|
349
|
+
path: thisa.lineData,
|
|
350
|
+
showDir: true,
|
|
351
|
+
strokeColor: "#28F", //线颜色
|
|
352
|
+
// strokeOpacity: 1, //线透明度
|
|
353
|
+
strokeWeight: 6, //线宽
|
|
354
|
+
// strokeStyle: "solid" //线样式
|
|
355
|
+
});
|
|
356
|
+
var passedPolyline = new AMap.Polyline({
|
|
357
|
+
map: thisa.map,
|
|
358
|
+
// path: lineArr,
|
|
359
|
+
strokeColor: "#AF5", //线颜色
|
|
360
|
+
// strokeOpacity: 1, //线透明度
|
|
361
|
+
strokeWeight: 6, //线宽
|
|
362
|
+
// strokeStyle: "solid" //线样式
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
//当外部传给这个组件的props的outerlinedata参数发生变化,就重新绘制轨迹路线
|
|
367
|
+
watch: {
|
|
368
|
+
'singlepoint'(val) {
|
|
369
|
+
if (this.singlepoint.f_longitude && this.singlepoint.f_latitude) {
|
|
370
|
+
this.setPoint(this.singlepoint)
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
'outerlinedata'(llval) {
|
|
374
|
+
this.lineData = []
|
|
375
|
+
if (llval && llval.points.length > 0) {
|
|
376
|
+
for (let i = 0; i < llval.points.length; i++) {
|
|
377
|
+
if (llval.points[i].lnglat[0] && llval.points[i].lnglat[1]) {
|
|
378
|
+
let data = [llval.points[i].lnglat[0], llval.points[i].lnglat[1]]
|
|
379
|
+
let json = maptool.wgs84togcj02(Number(data[0]), Number(data[1]))
|
|
380
|
+
this.lineData.push(json)
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
this.map.clearMap()
|
|
385
|
+
if (llval == null || llval.points.length < 1) {
|
|
386
|
+
console.log('开始清空')
|
|
387
|
+
if (window.pathSimplifierIns) {
|
|
388
|
+
//通过该方法清空上次传入的轨迹
|
|
389
|
+
window.pathSimplifierIns.setData([]);
|
|
390
|
+
}
|
|
391
|
+
this.getnewposit(this.map)
|
|
392
|
+
// clearInterval(this.timeoutHandle);
|
|
393
|
+
// this.timeoutHandle = setInterval(this.timemet, 120000); //重新启动即可
|
|
394
|
+
} else {
|
|
395
|
+
// clearInterval(this.timeoutHandle);
|
|
396
|
+
var startPot = this.lineData[0];
|
|
397
|
+
var endPot = this.lineData[this.lineData.length - 1];
|
|
398
|
+
this.stmarker = {
|
|
399
|
+
name2: '起点',
|
|
400
|
+
f_longitude: startPot[0], //基点位置
|
|
401
|
+
f_latitude: startPot[1], //基点位置
|
|
402
|
+
iconurl: "https://webapi.amap.com/theme/v1.3/markers/n/start.png",
|
|
403
|
+
zIndex: 10
|
|
404
|
+
};
|
|
405
|
+
this.endmarker = {
|
|
406
|
+
name2: '终点',
|
|
407
|
+
f_longitude: endPot[0], //基点位置
|
|
408
|
+
f_latitude: endPot[1],
|
|
409
|
+
iconurl: "https://webapi.amap.com/theme/v1.3/markers/n/end.png",
|
|
410
|
+
zIndex: 10
|
|
411
|
+
};
|
|
412
|
+
this.markerData = [],
|
|
413
|
+
console.log('起点' + this.stmarker.position)
|
|
414
|
+
this.markerData.push(this.stmarker)
|
|
415
|
+
this.markerData.push(this.endmarker)
|
|
416
|
+
this.markerDataToMap()
|
|
417
|
+
this.startPointTrack()
|
|
418
|
+
this.map.setFitView();
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
ready() {
|
|
423
|
+
|
|
424
|
+
// 初始化地图
|
|
425
|
+
this.map = new AMap.Map("containerr", {
|
|
426
|
+
resizeEnable: true,
|
|
427
|
+
scrollWheel: false,
|
|
428
|
+
mapStyle: 'amap://styles/darkblue',
|
|
429
|
+
zoom: 15
|
|
430
|
+
});
|
|
431
|
+
this.changeType()
|
|
432
|
+
console.log("地图加载正常");
|
|
433
|
+
var thisp = this;
|
|
434
|
+
// 异步加载插件
|
|
435
|
+
AMap.plugin(
|
|
436
|
+
[
|
|
437
|
+
"AMap.ToolBar",
|
|
438
|
+
"AMap.PlaceSearch",
|
|
439
|
+
"AMap.Driving",
|
|
440
|
+
"AMap.Geolocation"
|
|
441
|
+
],
|
|
442
|
+
() => {
|
|
443
|
+
// 工具条,控制地图的缩放、平移等
|
|
444
|
+
var geolocation = new AMap.Geolocation({
|
|
445
|
+
// 是否使用高精度定位,默认:true
|
|
446
|
+
enableHighAccuracy: true,
|
|
447
|
+
// 设置定位超时时间,默认:无穷大
|
|
448
|
+
showbutton: true,
|
|
449
|
+
//控制按钮的显示
|
|
450
|
+
timeout: 10000,
|
|
451
|
+
// 定位按钮的停靠位置的偏移量,默认:Pixel(10, 20)
|
|
452
|
+
buttonOffset: new AMap.Pixel(10, 20),
|
|
453
|
+
// 定位成功后调整地图视野范围使定位位置及精度范围视野内可见,默认:false
|
|
454
|
+
zoomToAccuracy: true,
|
|
455
|
+
// 定位按钮的排放位置, RB表示右下
|
|
456
|
+
buttonPosition: 'LB'
|
|
457
|
+
})
|
|
458
|
+
// this.map.addControl(geolocation);
|
|
459
|
+
// geolocation.getCurrentPosition(function (status, result) {
|
|
460
|
+
// if (status == 'complete') {
|
|
461
|
+
// thisp.onComplete(result)
|
|
462
|
+
// } else {
|
|
463
|
+
// thisp.onError(result)
|
|
464
|
+
// }
|
|
465
|
+
// });
|
|
466
|
+
// this.map.addControl(new AMap.ToolBar());
|
|
467
|
+
}
|
|
468
|
+
);
|
|
469
|
+
console.log("执行代码开始前");
|
|
470
|
+
if (!/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)) {
|
|
471
|
+
}
|
|
472
|
+
else {
|
|
473
|
+
AMapUI.loadUI(["misc/PoiPicker"], function (PoiPicker) {
|
|
474
|
+
let poiPicker = new PoiPicker({
|
|
475
|
+
input: "pickerInput"
|
|
476
|
+
});
|
|
477
|
+
var marker = new AMap.Marker();
|
|
478
|
+
this.map.setMapStyle('amap://styles/darkblue')
|
|
479
|
+
poiPicker.on("poiPicked", poiResult => {
|
|
480
|
+
let source = poiResult.source;
|
|
481
|
+
var poi = poiResult.item;
|
|
482
|
+
console.log(poi.location.lng, poi.location.lat);
|
|
483
|
+
thisp.position = new AMap.LngLat(poi.location.lng, poi.location.lat);
|
|
484
|
+
thisp.map.setCenter(thisp.position);
|
|
485
|
+
|
|
486
|
+
console.log("this.position" + thisp.position);
|
|
487
|
+
thisp.startPost();
|
|
488
|
+
});
|
|
489
|
+
marker.setMap(thisp.map);
|
|
490
|
+
// marker.setPosition(thisp.position);
|
|
491
|
+
});
|
|
492
|
+
}
|
|
493
|
+
thisp.getnewposit(this.map)
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
</script>
|
|
497
|
+
<style scoped>
|
|
498
|
+
/*div{*/
|
|
499
|
+
/*height: fit-content !important;*/
|
|
500
|
+
/*}*/
|
|
501
|
+
#containerr {
|
|
502
|
+
height: 100%;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/*地图上已经有获取当前位置的控制器按钮,因此隐藏*/
|
|
506
|
+
.input-card .btn {
|
|
507
|
+
margin-right: 1.2rem;
|
|
508
|
+
width: 9rem;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.input-card .btn:last-child {
|
|
512
|
+
margin-right: 0;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
#pickerBox {
|
|
516
|
+
position: relative;
|
|
517
|
+
z-index: 10;
|
|
518
|
+
top: 20px;
|
|
519
|
+
left: 70px;
|
|
520
|
+
width: 245px;
|
|
521
|
+
height: 200px;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
#pickerInput {
|
|
525
|
+
width: 60%;
|
|
526
|
+
padding: 0px 0px;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
#fight {
|
|
530
|
+
height: 5%;
|
|
531
|
+
float: right;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.input-item {
|
|
535
|
+
position: relative;
|
|
536
|
+
display: -ms-flexbox;
|
|
537
|
+
display: flex;
|
|
538
|
+
-ms-flex-wrap: wrap;
|
|
539
|
+
flex-wrap: wrap;
|
|
540
|
+
-ms-flex-align: center;
|
|
541
|
+
align-items: center;
|
|
542
|
+
width: 100%;
|
|
543
|
+
height: 3rem;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.input-item:last-child {
|
|
547
|
+
margin-bottom: 0;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.input-item > select, .input-item > input[type=text], .input-item > input[type=date] {
|
|
551
|
+
position: relative;
|
|
552
|
+
-ms-flex: 1 1 auto;
|
|
553
|
+
flex: 1 1 auto;
|
|
554
|
+
width: 1%;
|
|
555
|
+
margin-bottom: 0;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.input-item > select:not(:last-child), .input-item > input[type=text]:not(:last-child), .input-item > input[type=date]:not(:last-child) {
|
|
559
|
+
border-top-right-radius: 0;
|
|
560
|
+
border-bottom-right-radius: 0
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.input-item > select:not(:first-child), .input-item > input[type=text]:not(:first-child), .input-item > input[type=date]:not(:first-child) {
|
|
564
|
+
border-top-left-radius: 0;
|
|
565
|
+
border-bottom-left-radius: 0
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.input-item-prepend {
|
|
569
|
+
margin-right: -1px;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.input-item-text, input[type=text], input[type=date], select {
|
|
573
|
+
height: calc(2.2rem + 2px);
|
|
574
|
+
}
|
|
575
|
+
.info{
|
|
576
|
+
height: auto;
|
|
577
|
+
}
|
|
578
|
+
.input-item-text {
|
|
579
|
+
width: 6rem;
|
|
580
|
+
text-align: justify;
|
|
581
|
+
padding: 0.4rem 0.7rem;
|
|
582
|
+
display: inline-block;
|
|
583
|
+
text-justify: distribute-all-lines;
|
|
584
|
+
/*ie6-8*/
|
|
585
|
+
text-align-last: justify;
|
|
586
|
+
/* ie9*/
|
|
587
|
+
-moz-text-align-last: justify;
|
|
588
|
+
/*ff*/
|
|
589
|
+
-webkit-text-align-last: justify;
|
|
590
|
+
/*chrome 20+*/
|
|
591
|
+
-ms-flex-align: center;
|
|
592
|
+
align-items: center;
|
|
593
|
+
margin-bottom: 0;
|
|
594
|
+
font-size: 1rem;
|
|
595
|
+
font-weight: 400;
|
|
596
|
+
line-height: 1.5;
|
|
597
|
+
color: #495057;
|
|
598
|
+
text-align: center;
|
|
599
|
+
white-space: nowrap;
|
|
600
|
+
background-color: #e9ecef;
|
|
601
|
+
border: 1px solid #ced4da;
|
|
602
|
+
border-radius: .25rem;
|
|
603
|
+
border-bottom-right-radius: 0;
|
|
604
|
+
border-top-right-radius: 0;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.input-item-text input[type=checkbox], .input-item-text input[type=radio] {
|
|
608
|
+
margin-top: 0
|
|
609
|
+
}
|
|
610
|
+
.amap-info-content{
|
|
611
|
+
height: auto !important;
|
|
612
|
+
}
|
|
613
|
+
.amap-info-outer{
|
|
614
|
+
height: auto !important;
|
|
615
|
+
}
|
|
616
|
+
.input-card {
|
|
617
|
+
/*margin-right: 25%;*/
|
|
618
|
+
z-index: 999;
|
|
619
|
+
float: right;
|
|
620
|
+
position:absolute;
|
|
621
|
+
margin: 0px;
|
|
622
|
+
height: auto;
|
|
623
|
+
min-width: 0;
|
|
624
|
+
word-wrap: break-word;
|
|
625
|
+
background-color: #fff;
|
|
626
|
+
background-clip: border-box;
|
|
627
|
+
border-radius: .25rem;
|
|
628
|
+
width: 22rem;
|
|
629
|
+
border-width: 0;
|
|
630
|
+
border-radius: 0.4rem;
|
|
631
|
+
box-shadow: 0 2px 6px 0 rgba(114, 124, 245, .5);
|
|
632
|
+
bottom: 1rem;
|
|
633
|
+
padding: 0.75rem 1.25rem;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
</style>
|