diff --git a/src/components/ChooseList/ChooseCl/addPeo.vue b/src/components/ChooseList/ChooseCl/addPeo.vue
new file mode 100644
index 0000000..71b9d5d
--- /dev/null
+++ b/src/components/ChooseList/ChooseCl/addPeo.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+ 请选择标签
+
+ {{ it.bqMc }}
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+
+
+
diff --git a/src/components/ChooseList/ChooseCl/index.vue b/src/components/ChooseList/ChooseCl/index.vue
new file mode 100644
index 0000000..5c03231
--- /dev/null
+++ b/src/components/ChooseList/ChooseCl/index.vue
@@ -0,0 +1,204 @@
+
+
+
+ 选择布控车辆
+ 添加其他车辆
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/GdMap/index.vue b/src/components/GdMap/index.vue
index 229bc71..34b024c 100644
--- a/src/components/GdMap/index.vue
+++ b/src/components/GdMap/index.vue
@@ -46,11 +46,15 @@ const mMap = ref(null); //地图对象
const mapUtil = ref(null); //地图工具对象
const zoomTarget = ref(6);
+// 定义组件发出的事件
+const emit = defineEmits(['mapLoaded'])
+
const props = defineProps({
mapid: {
type: String,
default: "mapDiv"
},
+
//是否显示可以切换地图底图
isShow: {
type: Boolean,
@@ -79,13 +83,15 @@ let map;
let mapLayer;
let mapLayer1;
onMounted(() => {
+ console.log("xxxxxxx");
+
emitter.on("followUp", (res) => {
let box = document.getElementsByClassName("changeMap_box");
if (!box) return;
box[0].style.right = !res ? "4px" : "398px";
box[0].style.transition = "0.5s";
});
-
+
map = new EliMap({
id: props.mapid,
crs: "EPSG:3857",
@@ -110,6 +116,8 @@ onMounted(() => {
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')
});
mapUtil.value = new MapUtil(map);
@@ -253,7 +261,7 @@ const mapSetLayer = (id, source) => {
//获取地图绘制的数据
const resFun = (coord, type, flag, data) => {
-
+
emitter.emit("coordString", {
coord: coord,
type: type,
diff --git a/src/router/index.js b/src/router/index.js
index 97f3185..2596316 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -390,6 +390,15 @@ export const publicRoutes = [
icon: "article"
}
},
+ // {
+ // path: "/MakeAcomment",
+ // name: "MakeAcomment",
+ // component: () => import("@/views/backOfficeSystem/MakeAcomment/index"),
+ // meta: {
+ // title: "情报评一评",
+ // icon: "article"
+ // }
+ // }
]
},
{
@@ -537,18 +546,18 @@ export const publicRoutes = [
icon: "article"
},
children: [
- {
- path: "/surveillanceControl",
- name: "surveillanceControl",
- component: () =>
- import(
- "@/views/backOfficeSystem/BasicManagement/surveillanceControl/index"
- ),
- meta: {
- title: "布控监视",
- icon: "article"
- }
- },
+ // {
+ // path: "/surveillanceControl",
+ // name: "surveillanceControl",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/BasicManagement/surveillanceControl/index"
+ // ),
+ // meta: {
+ // title: "布控监视",
+ // icon: "article"
+ // }
+ // },
{
path: "/experienceShare",
name: "experienceShare",
diff --git a/src/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index.vue b/src/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index.vue
index 77416e5..5b14a1c 100644
--- a/src/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index.vue
+++ b/src/views/backOfficeSystem/HumanIntelligence/CollectCrculate/index.vue
@@ -2,9 +2,13 @@
-
+
+
+
+
+
diff --git a/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue b/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue
index 1dcf497..119dc96 100644
--- a/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue
+++ b/src/views/backOfficeSystem/IntelligentControl/myControl/components/addBkdx.vue
@@ -8,157 +8,173 @@
@@ -18,35 +18,19 @@ import { qcckPost } from "@/api/qcckApi.js";
import Assessment from "@/views/home/components/assessmentItem.vue";
import * as MOSTY from "@/components/MyComponents/index";
import CheckBox from "@/components/checkBox/index.vue";
-import { ref ,reactive, onMounted,getCurrentInstance} from 'vue';
+import { ref, reactive, onMounted, getCurrentInstance } from 'vue';
+import {useRouter} from 'vue-router'
const { proxy } = getCurrentInstance();
const {D_SG_TSYPGZ} =proxy.$dict('D_SG_TSYPGZ')
-const checkData = reactive({
- list: ["人员", "车辆"],
- hasChoose: ["人员", "车辆"],
-});
+const router = useRouter()
const total = ref(0);
-const yjJb = ref('10,20,30,40');
const pageNum = ref(1);
const loading = ref(false); // 加载中
const personList = ref([]);
onMounted(()=>{
getList()
})
-// 复选框切换
-function changeData(val){
- pageNum.value = 1;
- personList.value = [];
- checkData.hasChoose = val;
- let ids = [];
- val.forEach(it => {
- if(it == '人员') ids.push(1);
- if(it == '车辆') ids.push(2);
- });
- yjJb.value = ids.join(',')
- if(val.length == 0) personList.value = [];
- else getList();
-}
+
// 触底加载
const loadList = () =>{
@@ -67,18 +51,15 @@ const getList = () =>{
loading.value = false;
})
}
-
-const chooseItem = (item) =>{
- emitter.emit('showHomeYJ',[item]);
- emitter.emit('deletePointArea','home_yj_map');
- if(!item.jd || !item.jd) return proxy.$message({ type: "warning", message: "该预警没有坐标!" });
- let icon = require('@/assets/point/yj.png');
- if(item.yjjb == '20') icon = require('@/assets/point/yj1.png');
- if(item.yjjb == '30') icon = require('@/assets/point/yj2.png');
- if(item.yjjb == '40') icon = require('@/assets/point/yj3.png');
- emitter.emit('addPointArea',{flag:'home_yj_map',icon,coords:[item]});
- emitter.emit('setMapCenter',{location:[item.jd,item.wd],zoomLevel:10});
+const onClickPush = (val) => {
+ router.push({
+ path: '/tsypHome',
+ query: {
+ id: val.id,
+ }
+ })
}
+