监测数据改造导出及查询方案
This commit is contained in:
parent
a2274a0c00
commit
685ee8b281
|
|
@ -6,7 +6,7 @@ VITE_PUBLIC_PATH = /
|
|||
|
||||
# 跨域代理,您可以配置多个 ,请注意,没有换行符
|
||||
VITE_PROXY = [["/jeecgboot","http://192.168.2.110:9999"],["/upload","http://192.168.2.110:3300/upload"]]
|
||||
#VITE_PROXY = [["/jeecgboot","https://fxnsp.sxcooh.com/lh-api/"],["/upload","http://192.168.2.111:3300/upload"]]
|
||||
VITE_PROXY = [["/jeecgboot","https://fxnsp.sxcooh.com/lh-api/"],["/upload","http://192.168.2.111:3300/upload"]]
|
||||
|
||||
# 控制台不输出
|
||||
VITE_DROP_CONSOLE = false
|
||||
|
|
@ -16,7 +16,7 @@ VITE_GLOB_API_URL=/jeecgboot
|
|||
|
||||
#后台接口全路径地址(必填)
|
||||
VITE_GLOB_DOMAIN_URL=http://192.168.2.110:9999
|
||||
#VITE_GLOB_DOMAIN_URL=https://fxnsp.sxcooh.com
|
||||
VITE_GLOB_DOMAIN_URL=https://fxnsp.sxcooh.com
|
||||
|
||||
# 接口前缀
|
||||
VITE_GLOB_API_URL_PREFIX=
|
||||
|
|
|
|||
|
|
@ -50,11 +50,13 @@
|
|||
<el-amap-marker v-for="(marker, index) in markers" :position="marker"
|
||||
:key="index"></el-amap-marker>
|
||||
</el-amap>
|
||||
<div class="hiddenGaode"></div>
|
||||
<!-- <div class="hiddenGaode"></div>-->
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>当前地址为:{{ address }}</p>
|
||||
<p>经纬度:({{ lng }},{{ lat }})</p>
|
||||
<!-- <p>经纬度:({{ lng }},{{ lat }})</p>-->
|
||||
<p>经纬度:<a-input v-model:value="lng" @blur="lngInputBlur" style="text-align: center; width: 100px"></a-input>,
|
||||
<a-input v-model:value="lat" @blur="lngInputBlur" style="text-align: center; width: 100px"></a-input></p>
|
||||
</div>
|
||||
<!-- </a-modal>-->
|
||||
</BasicModal>
|
||||
|
|
@ -286,6 +288,16 @@ export default defineComponent( {
|
|||
markers.value.push([lng2, lat2]);
|
||||
getAddress(lng2, lat2).then(res => {address.value = res.formattedAddress;});
|
||||
}
|
||||
// 输入坐标
|
||||
function lngInputBlur() {
|
||||
if(lng.value && lat.value && lng.value != 0 && lat.value != 0){
|
||||
resultShow.value = false;
|
||||
markers.value = [];
|
||||
center.value = [lng.value, lat.value];
|
||||
markers.value.push([lng.value, lat.value]);
|
||||
getAddress(lng.value, lat.value).then(res => {address.value = res.formattedAddress;});
|
||||
}
|
||||
}
|
||||
// 保存
|
||||
function save() {
|
||||
change({
|
||||
|
|
@ -345,7 +357,8 @@ export default defineComponent( {
|
|||
doSearch,
|
||||
inputBlur,
|
||||
inputFocus,
|
||||
registerModal
|
||||
registerModal,
|
||||
lngInputBlur
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
@ -366,7 +379,7 @@ export default defineComponent( {
|
|||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
bottom: -8px;
|
||||
width: 100%;
|
||||
>p{
|
||||
width: 70%;
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
});
|
||||
let loginInfo = getAuthCache(LOGIN_INFO_KEY);
|
||||
if (loginInfo) {
|
||||
text = loginInfo.systemName;
|
||||
text.value = loginInfo.systemName;
|
||||
}
|
||||
} else {
|
||||
notification.error({
|
||||
|
|
|
|||
Loading…
Reference in New Issue