| | |
| | | window.divIcon = null; |
| | | window.divIcononces = null; |
| | | |
| | | function updateUrl(url) { |
| | | if (url.indexOf("http://172.18.4.135:9000/zhxy") != -1) { |
| | | url = url.replace( |
| | | "http://172.18.4.135:9000/zhxy", |
| | | "https://fkxt.jxstnu.edu.cn/changjing/gminio/zhxy" |
| | | ); |
| | | } |
| | | return url; |
| | | } |
| | | |
| | | const popupParams = { |
| | | state: { |
| | | ...leftNavsData.state, |
| | |
| | | if (value.item.tpurl) { |
| | | imgArr = value.item.tpurl.split(","); |
| | | } |
| | | |
| | | imgArr = imgArr.map((item) => updateUrl(item)); |
| | | |
| | | commit("SET_POPUPBGURL", imgArr[0]); |
| | | commit("SET_POPUPIMGATLAS", imgArr); |
| | | commit("SET_POPUPQRURL", value.item.codeurl); |
| | |
| | | ]); |
| | | commit("SET_DETAILSPOPUP", true); |
| | | }, |
| | | |
| | | pcMoveView({ state, commit, dispatch }, val) { |
| | | openlayerData.state.openlayers.map2D |
| | | .getView() |
| | |
| | | .getView() |
| | | .setResolution(0.00009517844023321122); |
| | | }, |
| | | |
| | | pcFlyView({ state, commit, dispatch }, val) { |
| | | openlayerData.state.openlayers.map2D |
| | | .getView() |