更新
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
placeholder="请选择区域类型" />
|
placeholder="请选择区域类型" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="行政区划" prop="xzqhdm" v-if="listQuery.qylx == 'xzqh'">
|
<el-form-item label="行政区划" prop="xzqhdm" v-if="listQuery.qylx == 'xzqh'">
|
||||||
<MOSTY.Select @change="changeXzqh" v-model="listQuery.xzqhdm" filterable :dictEnum="props.dic.D_BZ_XZQHDM"
|
<MOSTY.Select @change="changeXzqh" v-model="listQuery.xzqhdm" filterable :dictEnum="qxList"
|
||||||
width="100%" clearable placeholder="请选择行政区划" />
|
width="100%" clearable placeholder="请选择行政区划" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="地图范围" prop="pgis" class="ww100">
|
<el-form-item label="地图范围" prop="pgis" class="ww100">
|
||||||
@ -56,7 +56,7 @@ import { qcckGet, qcckPost } from "@/api/qcckApi.js";
|
|||||||
import emitter from "@/utils/eventBus.js";
|
import emitter from "@/utils/eventBus.js";
|
||||||
import GdMap from "@/components/GdMap/index.vue";
|
import GdMap from "@/components/GdMap/index.vue";
|
||||||
import * as MOSTY from "@/components/MyComponents/index";
|
import * as MOSTY from "@/components/MyComponents/index";
|
||||||
import { ref, defineProps, onMounted, nextTick, onUnmounted } from "vue";
|
import { ref, defineProps, onMounted, nextTick, onUnmounted, watch } from "vue";
|
||||||
import ChooseGzy from "@/components/ChooseList/ChooseGzy/index.vue";
|
import ChooseGzy from "@/components/ChooseList/ChooseGzy/index.vue";
|
||||||
import { bm } from '../xzqh'
|
import { bm } from '../xzqh'
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@ -81,6 +81,12 @@ const rules = {
|
|||||||
pgis: [{ required: true, message: "请输入地图范围", trigger: ['change', 'blur'] }],
|
pgis: [{ required: true, message: "请输入地图范围", trigger: ['change', 'blur'] }],
|
||||||
sxts: [{ required: true, message: "请输入感知元信息", trigger: "blur" }],
|
sxts: [{ required: true, message: "请输入感知元信息", trigger: "blur" }],
|
||||||
};
|
};
|
||||||
|
const qxList = ref([])
|
||||||
|
watch(()=>props.dic.D_BZ_XZQHDM,val=>{
|
||||||
|
qxList.value = val.filter(item=>{
|
||||||
|
if(item.dm.startsWith('54262')) return item;
|
||||||
|
})
|
||||||
|
},{immediate:true,deep:true})
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
emitter.on('coordString', val => {
|
emitter.on('coordString', val => {
|
||||||
|
|||||||
@ -324,6 +324,7 @@ const handleOpenNotification = () => {
|
|||||||
type: "Custom"
|
type: "Custom"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// 关闭主动展开后,恢复循环单条气泡展示
|
// 关闭主动展开后,恢复循环单条气泡展示
|
||||||
startPopupLoop();
|
startPopupLoop();
|
||||||
@ -332,6 +333,7 @@ const handleOpenNotification = () => {
|
|||||||
|
|
||||||
const makerCenter = () => {
|
const makerCenter = () => {
|
||||||
const dw = require("@/assets/point/dingwei.png");
|
const dw = require("@/assets/point/dingwei.png");
|
||||||
|
|
||||||
qcckGet({}, "/mosty-gsxt/lzJcjPjdb/selectCountNew").then((res) => {
|
qcckGet({}, "/mosty-gsxt/lzJcjPjdb/selectCountNew").then((res) => {
|
||||||
let list = res || [];
|
let list = res || [];
|
||||||
allDep.value = list;
|
allDep.value = list;
|
||||||
|
|||||||
@ -4,9 +4,9 @@
|
|||||||
<ul class="ryBox" :infinite-scroll-distance="30" ref="carouselList" @mouseenter="stopAutoScroll"
|
<ul class="ryBox" :infinite-scroll-distance="30" ref="carouselList" @mouseenter="stopAutoScroll"
|
||||||
@mouseleave="startAutoScroll" v-loading="loading" v-infinite-scroll="loadList">
|
@mouseleave="startAutoScroll" v-loading="loading" v-infinite-scroll="loadList">
|
||||||
<li v-for="item in personList" :key="item.id" @click="chooseItem(item)">
|
<li v-for="item in personList" :key="item.id" @click="chooseItem(item)">
|
||||||
<div>{{ item.ypyq }}</div>
|
|
||||||
<div class="meta-info">{{ item.ypsj }}{{ item.cjrxm }}</div>
|
|
||||||
<div>{{ item.ypyt }}</div>
|
<div>{{ item.ypyt }}</div>
|
||||||
|
<div class="meta-info">{{ item.ypsj }}{{ item.cjrxm }}</div>
|
||||||
|
<div>{{ item.ypyq }}</div>
|
||||||
</li>
|
</li>
|
||||||
<MOSTY.Empty :show="!loading && personList.length <= 0" :imgSize="100"></MOSTY.Empty>
|
<MOSTY.Empty :show="!loading && personList.length <= 0" :imgSize="100"></MOSTY.Empty>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user