This commit is contained in:
2023-07-11 08:43:34 +08:00
parent d0eea9c22a
commit 79894eb7e8
257 changed files with 2056 additions and 1503 deletions

View File

@ -174,7 +174,7 @@ import {
getsendSms,
getmeteorologyEquipment, meteorologicalsPeople, meteorology, zdmc,
} from '@/api/meteorological/monitor/information.js';
import { ElMessage } from 'element-plus'
import 'echarts-gl';
@ -345,7 +345,7 @@ let map = ref(null);
const cun = () => {
layers = new ol.layer.Tile({
source: new ol.source.TileSuperMapRest({
url: 'http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_village@huangdaoqu_bianjie',
url: 'http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/CJQY3702112019WGS84@huangdaoqu_bianjie',
//rasterfunction: new SuperMap.NDVIParameter({ redIndex: 0, nirIndex: 2 }),
cacheEnabled: false,
}),
@ -360,7 +360,7 @@ const cun = () => {
const zhen = () => {
var layer = new ol.layer.Tile({
source: new ol.source.TileSuperMapRest({
url: 'http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/huangdaoqu_town@huangdaoqu_bianjie',
url: 'http://36.134.44.75:8090/iserver/services/map-huangdaoqu_bianjie/rest/maps/XJQY3702112019WGS84@huangdaoqu_bianjie',
//rasterfunction: new SuperMap.NDVIParameter({ redIndex: 0, nirIndex: 2 }),
cacheEnabled: false,
}),
@ -381,6 +381,10 @@ onMounted(() => {
let rightWra = document.querySelector('.rightWra');
rightWra.style.transform = 'translate(107%,0)';
});
onUpdated(() => {
document.querySelector('.mode').style.display = 'none';
window.document.querySelector('#screenfull').style.display = 'block';
});
let alterData = ref([]);
let newArr = ref([]);
const zdmcList = ref([])
@ -841,9 +845,14 @@ const selectTime = () => {
};
const subText = () => {
//发送短信
getsendSms({meteorologicalStations: multipleSelection.value}).then(res => {
console.log(res.data);
});
getsendSms(multipleSelection.value).then(res => {
if (res.data.code == 'OK') {
ElMessage({
message: '发送成功',
type: 'success',
});
}
});
};
const handleSelectionChange = val => {
multipleSelection.value = val;