This commit is contained in:
13684185576
2025-07-23 17:37:16 +08:00
parent ec9e1ed07e
commit cddb30aad7
6 changed files with 68 additions and 389 deletions

View File

@ -30,6 +30,9 @@
</div>
</div>
</div>
<!-- 警组弹框弹框 -->
<PoliceGroupInfo v-if="show.jzgroup" :data="jzxqList" />
</div>
</template>
@ -40,7 +43,32 @@ import Collection from "./components/collection.vue";
import Warning from "./components/warning.vue";
import BeOnDuty from "./components/beonDuty.vue";
import Introduction from "./components/Introduction.vue";
import { ref } from "vue";
import PoliceGroupInfo from "./layout/streetInfo.vue";
import emitter from "@/utils/eventBus.js";
import {
ref,
reactive,
onMounted
} from "vue";
const jzxqList = ref({}); //警组列表详情
const show = reactive({
jzgroup: false //展示警组弹窗
});
onMounted(() => {
// 展示警组
emitter.on("showJzInfo", (res) => {
show.jzgroup = res ? true : false;
if (res) {
jzxqList.value = res;
}
});
})
</script>
<style lang="scss" scoped>