diff --git a/README.md b/README.md deleted file mode 100644 index b38e91c..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ - -// npm install vue-draggable-plus --save \ No newline at end of file diff --git a/src/assets/css/pulic.scss b/src/assets/css/pulic.scss index 58c0da6..04644e4 100644 --- a/src/assets/css/pulic.scss +++ b/src/assets/css/pulic.scss @@ -241,6 +241,10 @@ align-items: center; } +.vam { + vertical-align: middle; +} + /**********文本省略***********/ .nowrap { white-space: nowrap; @@ -287,6 +291,10 @@ margin-top: 10px; } +.mb10 { + margin-bottom: 10px; +} + /**********字体大小和边距***********/ @for $i from 1 through 100 { .f#{$i} { @@ -345,7 +353,7 @@ } .ww#{$i} { - width: #{$i}+"%"; + width: #{$i * 1%}; } .hh#{$i} { diff --git a/src/components/GdMap/index.vue b/src/components/GdMap/index.vue index cd05015..f4c1766 100644 --- a/src/components/GdMap/index.vue +++ b/src/components/GdMap/index.vue @@ -1,8 +1,13 @@ @@ -74,7 +86,7 @@ const props = defineProps({ }); try { const userInfo = getItem("deptId")[0].deptCode; -} catch (error) { } +} catch (error) {} let map; let mapLayer; let mapLayer1; @@ -95,13 +107,12 @@ onMounted(() => { zoom: 15 }, minZoom: 5, - maxZoom: 18, + maxZoom: 20 }); window.map = map; map.mapboxGLMap.on("load", () => { map.addWMTSLayer( - "/PGIS_S_TileMapServer/Maps/XZDJ_DJ/EzMap" - , + "/PGIS_S_TileMapServer/Maps/XZDJ_DJ/EzMap", { Service: "getImage", Type: "RGB", @@ -115,7 +126,11 @@ onMounted(() => { tileSize: 300 } ); - zoomTarget.value = map.mapboxGLMap.getZoom(); + // WMTS图层加载完成后延时设置zoom + setTimeout(() => { + map.mapboxGLMap.setZoom(18); + zoomTarget.value = 18; + }, 500); }); mapUtil.value = new MapUtil(map); @@ -333,12 +348,12 @@ onUnmounted(() => { border: 1px solid #08aae8; background: rgb(9, 26, 70); - &>img { + & > img { width: 100%; height: 50px; } - &>div { + & > div { text-align: center; position: relative; top: -3px; diff --git a/src/components/GdMap/indexex.vue b/src/components/GdMap/indexex.vue index 51fabfb..c145532 100644 --- a/src/components/GdMap/indexex.vue +++ b/src/components/GdMap/indexex.vue @@ -30,7 +30,14 @@ -->
- +
@@ -70,8 +77,7 @@ const props = defineProps({ isShowDraw: { type: Boolean, default: false - }, - + } }); try { const userInfo = getItem("deptId")[0].deptCode; @@ -92,8 +98,8 @@ onMounted(() => { crs: "EPSG:3857", style: { glyphs: "./fonts/{fontstack}/{range}.pbf", - center: [94.36,29.65], - zoom: 11 + center: [94.36, 29.65], + zoom: 15 }, minZoom: 7, maxZoom: 18, @@ -101,17 +107,18 @@ onMounted(() => { if (url.indexOf("TileMatrix=") != -1) { const arr = url.split("TileMatrix="); const arr1 = arr[1].split("&"); - const nurl = `${arr[0]}&TileMatrix=${Number(arr1[0])}&${arr1[1]}&${arr1[2]}`; - + const nurl = `${arr[0]}&TileMatrix=${Number(arr1[0])}&${arr1[1]}&${ + arr1[2] + }`; } } }); window.map = map; map.mapboxGLMap.on("load", () => { - map.addGaudLayer({ - url: 'http://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}', - }) + map.addGaudLayer({ + url: "http://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}" + }); zoomTarget.value = map.mapboxGLMap.getZoom(); // 地图加载完成后发出事件 // emit('mapLoaded') @@ -289,7 +296,6 @@ const mapSetLayer = (id, source) => { //获取地图绘制的数据 const resFun = (coord, type, flag, data) => { - emitter.emit("coordString", { coord: coord, type: type, diff --git a/src/components/MyComponents/Pie3D.vue b/src/components/MyComponents/Pie3D.vue index 8cc1471..9cb87bb 100644 --- a/src/components/MyComponents/Pie3D.vue +++ b/src/components/MyComponents/Pie3D.vue @@ -3,8 +3,8 @@ + diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/statusCount.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/statusCount.vue index c2a97dc..9afd54b 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/statusCount.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/ReportStatisticalAnalysis/components/statusCount.vue @@ -1,164 +1,191 @@ diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/fkDialog.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/fkDialog.vue index c46ec86..812783b 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/fkDialog.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/components/fkDialog.vue @@ -64,7 +64,7 @@ import * as MOSTY from "@/components/MyComponents/index"; import { qcckGet, qcckPost } from "@/api/qcckApi.js"; import emitter from "@/utils/eventBus.js"; import FormMessage from "@/components/aboutTable/FormMessage.vue"; -import { onMounted, reactive, ref, getCurrentInstance, onUnmounted } from "vue"; +import { onMounted, reactive, ref, getCurrentInstance, onUnmounted, watch } from "vue"; const props = defineProps({ lx: { type: String, @@ -114,17 +114,20 @@ const formData = ref([ depMc: "czzrdw" }, { label: "处置责任民警", prop: "czzrmj", type: "slot" }, + // 动态字段:根据 mbzt 为 1 时显示 { label: "常控处置措施类型", prop: "ckczcslx", type: "select", - options: D_YJXX_CZCSLX + options: D_YJXX_CZCSLX, + show: false // 默认隐藏 }, { label: "常控处置措施细类", prop: "ckczcsxl", type: "select", - options: D_YJXX_CZSSXZ + options: D_YJXX_CZSSXZ, + show: false // 默认隐藏 }, { label: "常控立线侦察评估", prop: "cklxzcpg", type: "input" }, @@ -184,10 +187,20 @@ const rules = reactive({ const title = ref(""); onMounted(() => { + // 监听 mbzt 变化,动态显示/隐藏常控处置措施字段 + watch(() => listQuery.value.mbzt, (newVal) => { + const ckczcslxField = formData.value.find(item => item.prop === 'ckczcslx'); + const ckczcsxlField = formData.value.find(item => item.prop === 'ckczcsxl'); + if (ckczcslxField) ckczcslxField.show = newVal === '1'; + if (ckczcsxlField) ckczcsxlField.show = newVal === '1'; + }); + emitter.on("openFkDialog", (val) => { showDialog.value = true; listQuery.value = { yjid: val.id }; let url = ""; + console.log(props.lx); + switch (props.lx) { case "01": url = "/mosty-gsxt/tbYjxx/getInfo/"; diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/index.vue index 1860567..1f0b74f 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/centerHome/index.vue @@ -16,7 +16,9 @@
预警列表 - 查看更多》 + 查看更多》
@@ -30,12 +32,25 @@
- + -
- - + + @@ -84,8 +118,8 @@ diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/controlWarning/index copy.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/controlWarning/index copy.vue index d58a8b0..31b26b8 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/controlWarning/index copy.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/controlWarning/index copy.vue @@ -2,47 +2,112 @@
- +
- + -
- +
+ diff --git a/src/views/backOfficeSystem/fourColorManage/warningControl/politicalSecurity/index.vue b/src/views/backOfficeSystem/fourColorManage/warningControl/politicalSecurity/index.vue index 3495412..786f9e3 100644 --- a/src/views/backOfficeSystem/fourColorManage/warningControl/politicalSecurity/index.vue +++ b/src/views/backOfficeSystem/fourColorManage/warningControl/politicalSecurity/index.vue @@ -12,22 +12,64 @@ >
@@ -50,14 +92,24 @@ @selectionChange="handleChooseData" > @@ -98,7 +166,8 @@ :dict="{ D_BZ_XB, D_BZ_YJJB, D_GS_QLZDRLX, D_GS_ZDR_RYJB, D_GS_ZDR_GJLB }" /> - + + @@ -138,7 +183,7 @@ defineExpose({ init }); @import "~@/assets/css/layout.scss"; @import "~@/assets/css/element-plus.scss"; -::v-deep .el-tabs--card>.el-tabs__header .el-tabs__item.is-active { +::v-deep .el-tabs--card > .el-tabs__header .el-tabs__item.is-active { color: #0072ff; background: rgba(0, 114, 255, 0.3); } @@ -158,7 +203,6 @@ defineExpose({ init }); .coolor { color: #d3d3d3; } - } .zdy-taf { diff --git a/src/views/home/components/informationCollection.vue b/src/views/home/components/informationCollection.vue index 240c491..fa3fe56 100644 --- a/src/views/home/components/informationCollection.vue +++ b/src/views/home/components/informationCollection.vue @@ -1,16 +1,37 @@
- +
diff --git a/src/views/home/components/keyGroups.vue b/src/views/home/components/keyGroups.vue index 148c153..1a8d561 100644 --- a/src/views/home/components/keyGroups.vue +++ b/src/views/home/components/keyGroups.vue @@ -1,16 +1,39 @@ --> -