diff --git a/src/components/MapboxMaps/MapComponent.vue b/src/components/MapboxMaps/MapComponent.vue index 8630a443..3de62f77 100644 --- a/src/components/MapboxMaps/MapComponent.vue +++ b/src/components/MapboxMaps/MapComponent.vue @@ -138,6 +138,9 @@ import { getAppEnvConfig } from '@/utils/env'; import { message, Modal } from 'ant-design-vue' + import { useCloudQueryStore } from '@/store/modules/cloudquery'; + + const useCloudQuery = useCloudQueryStore(); const { VITE_GLOB_API_URL } = getAppEnvConfig(); const VITE_GLOB_API_URL_VAR = ref(VITE_GLOB_API_URL+"/"); @@ -1234,7 +1237,13 @@ } const initiateCloudQuery = () => { - console.log('aaa props.geomsList',props.geomsList) + if(useCloudQuery.getIdentification){ + message.warning('已有云查询运行,不能再次提交') + }else{ + // TODO 发起云查询 + console.log('aaa props.geomsList',props.geomsList) + useCloudQuery.setIdentification(true); + } } diff --git a/src/views/demo/tiankongdi/changearea/MapList/index.vue b/src/views/demo/tiankongdi/changearea/MapList/index.vue index b35a3249..762c478c 100644 --- a/src/views/demo/tiankongdi/changearea/MapList/index.vue +++ b/src/views/demo/tiankongdi/changearea/MapList/index.vue @@ -286,7 +286,7 @@ @cancel="showSplitPolygon = false" > @@ -437,6 +437,7 @@ onMounted(() => { getInfoList(); }); +const showSplitPolygon = ref(false); function handlerSplitComplete(){ showSplitPolygon.value=false; @@ -462,7 +463,6 @@ const getCollectList = () => { } getInfoList(); }; -const showSplitPolygon = ref(false); const handlerRevertPolygon = (item)=>{ Modal.confirm({ title:'是否确认还原分割图斑?', @@ -496,7 +496,6 @@ const handlerSplitPolygon = (item) => { }else{ message.error("数据为空"); } - }) } const dataListSort = (type) => { diff --git a/src/views/demo/tiankongdi/curbspotcity/MapList/SplitPolygonModal/index.vue b/src/views/demo/tiankongdi/curbspotcity/MapList/SplitPolygonModal/index.vue index 48c0cdd6..d215230d 100644 --- a/src/views/demo/tiankongdi/curbspotcity/MapList/SplitPolygonModal/index.vue +++ b/src/views/demo/tiankongdi/curbspotcity/MapList/SplitPolygonModal/index.vue @@ -6,12 +6,12 @@ @@ -62,7 +62,7 @@ {{ jieshou_people }} - {{ jieshou_time.split('.')[0] }} + {{ jieshou_time?.split('.')[0] }} @@ -489,6 +489,10 @@ const activeKey = ref('1'); const geomsList = ref() + const mapshow = ref(false); + onMounted(()=>{ + mapshow.value = true + }) const { id, case_no, @@ -652,9 +656,6 @@ return label; }; function changeTask() { - - - if (props.showInfoData.geomid) { let getGeomPrams = { TableName: "drone_shp_data", @@ -664,7 +665,6 @@ limit: 999, key: null, }; - getGeom(getGeomPrams).then((res) => { let geoms = []; if (res) { diff --git a/src/views/sys/exception/Exception.vue b/src/views/sys/exception/Exception.vue index 81b55635..d04a299b 100644 --- a/src/views/sys/exception/Exception.vue +++ b/src/views/sys/exception/Exception.vue @@ -1,11 +1,21 @@ \ No newline at end of file + #alertOverlay::before { + background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent); + top: 0; + left: 0; + transform: rotate(0deg); + } + + #alertOverlay::after { + background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent); + top: 0%; + left: 100%; + transform: rotate(0deg) translate(calc(-1 * 50px), 0px); + } + + #alertOverlay div::before { + background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); + top: 0; + left: 0; + transform: rotate(180deg); + } + + #alertOverlay div::after { + background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); + top: 100%; + left: 0; + transform: rotate(0deg) translate(0px, calc(-1 * 50px)); + } + + #alertOverlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + box-sizing: border-box; + opacity: 1; + transition: opacity 0.5s; + pointer-events: none; + z-index: 1; + } + + .alert-active { + animation: blink 0s infinite; + } + + @keyframes blink { + 0% { + opacity: 0; + } + 50% { + opacity: 0.5; + } + 100% { + opacity: 0; + } + } + diff --git a/src/views/sys/exception/mapComponent/left_county.vue b/src/views/sys/exception/mapComponent/left_county.vue index 9060f094..9cab7ca0 100644 --- a/src/views/sys/exception/mapComponent/left_county.vue +++ b/src/views/sys/exception/mapComponent/left_county.vue @@ -1,78 +1,30 @@ \ No newline at end of file