This commit is contained in:
lcw
2025-12-25 10:35:00 +08:00
parent 1a7b27209f
commit 709ce4a1e9
7 changed files with 254 additions and 237 deletions

View File

@ -22,8 +22,13 @@
<template #jqlbdm="{ row }">
<DictTag :tag="false" :value="row.jqlbdm" :options="JQLB" />
</template>
<template #jqdjdm="{ row }">
<DictTag :tag="false" :value="row.jqdjdm" :options="D_BZ_JQDJ" />
</template>
<!-- 操作 -->
<template #controls="{ row }">
<el-link type="warning" @click="addEdit('edit', row)">研判</el-link>
<el-link type="danger" @click="addEdit('edit', row)">深度研判</el-link>
<el-link type="primary" @click="addEdit('edit', row)">详情</el-link>
</template>
</MyTable>
@ -33,8 +38,8 @@
}"></Pages>
</div>
<!-- 编辑详情 -->
<EditAddForm v-if="show" ref="detailDiloag" :dic="{ JQLB,JQLX,JQXL,JQZL,D_BZ_JQLY,D_BZ_JQFL,JQLB_DP,D_BZ_JQBQ,D_GS_SSYJ }"
@updateDate="getList" />
<EditAddForm v-if="show" ref="detailDiloag"
:dic="{ JQLB, JQLX, JQXL, JQZL, D_BZ_JQLY, D_BZ_JQFL, JQLB_DP, D_BZ_JQBQ, D_GS_SSYJ }" @updateDate="getList" />
</div>
</template>
@ -47,7 +52,7 @@ import EditAddForm from "./components/editAddForm.vue";
import { lzJcjPjdbSelectPage } from '@/api/semanticAnalysis.js'
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
const { proxy } = getCurrentInstance();
const { JQLB,JQLX,JQXL,JQZL,D_BZ_JQLY,D_BZ_JQFL,JQLB_DP,D_BZ_JQBQ,D_GS_SSYJ } = proxy.$dict("JQLB",'JQLX','JQXL','JQZL','D_BZ_JQLY','D_BZ_JQFL','JQLB_DP','D_BZ_JQBQ','D_GS_SSYJ'); //获取字典数据
const { JQLB, JQLX, JQXL, JQZL, D_BZ_JQLY, D_BZ_JQFL, JQLB_DP, D_BZ_JQBQ, D_GS_SSYJ, D_BZ_JQDJ } = proxy.$dict("JQLB", 'JQLX', 'JQXL', 'JQZL', 'D_BZ_JQLY', 'D_BZ_JQFL', 'JQLB_DP', 'D_BZ_JQBQ', 'D_GS_SSYJ', 'D_BZ_JQDJ'); //获取字典数据
const detailDiloag = ref();
const show = ref(false)
@ -70,6 +75,13 @@ const searchConfiger = ref([
placeholder: "请输入接警单编号",
showType: "input"
},
{
label: "警情等级",
prop: "jqdjdm",
placeholder: "请输入警情等级",
showType: "select",
options: D_BZ_JQDJ
},
]);
const searchBox = ref(); //搜索框
const pageData = reactive({
@ -85,24 +97,26 @@ const pageData = reactive({
pageSize: 20,
pageCurrent: 1
}, //分页
controlsWidth: 160, //操作栏宽度
controlsWidth: 240, //操作栏宽度
tableColumn: [
{ label: "接警单编号", prop: "jjdbh" },
{ label: "报警电话", prop: "bjdh" },
{ label: "报警时间", prop: "bjsj" },
{ label: "报警内容", prop: "bjnr", showOverflowTooltip: true },
{ label: "接警员姓名", prop: "jjyxm" },
// { label: "警情标签", prop: "jjlx", showSolt: true },
{ label: "警情类型", prop: "jqlbdm",showSolt:true },
{ label: "警情类型", prop: "jqlbdm", showSolt: true },
{ label: "警情级别", prop: "jqdjdm", showSolt: true },
{ label: "警情地址", prop: "jqdz" },
{ label: "补充接警内容", prop: "bcjjnr", showOverflowTooltip: true },
]
});
onMounted(() => {
tabHeightFn();
getList()
});
const listQuery=ref({})
const listQuery = ref({})
// 搜索
const onSearch = (val) => {
listQuery.value = { ...val };

View File

@ -1,7 +1,6 @@
<template>
<div class="warning-card" :style="{ 'border': `1px solid ${changeBG(item.yjjb)}` }">
<div class="warning-image flex">
<!-- -->
<template v-if="!item.yjtp || item.yjtp.includes('baidu')">
<img src="@/assets/images/car.png" width="65" height="70" v-if="item.yjlb == 2 || item.yjLx == 2" />
<img src="@/assets/images/default_male.png" width="65" height="70" v-else />

View File

@ -98,7 +98,7 @@
<BkWarning @changeModel="changeModel"></BkWarning>
</div>
</transition>
</div>
<div style="width: 33%;">
<Bkcz></Bkcz>
@ -311,7 +311,7 @@ onMounted(() => {
getTbYjxxGetList()
// 初始化音频播放器
initAudioPlayer()
webSoket.connect()
// webSoket.connect()
// 监听音频播放事件获取WebSocket消息数据
emitter.on("openYp", (newsDate) => {
// 使用工具类播放音频,自动处理静音切换

View File

@ -148,7 +148,7 @@ const store = useStore();
const router = useRouter();
const route = useRoute();
const btns = reactive({
rightBtn: ["实支撑", "安全监控"],
rightBtn: ["实支撑", "安全监控"],
leftBtn: ["数据整合", '分析研判'],
moreBtn: [
{ name: '后台', img: require('@/assets/images/Group427322486.png') },

View File

@ -207,10 +207,10 @@ const content = ref({
const chooseItem = (item) => {
console.log(item.yjlx);
switch (item.yjlx) {
case '01':
tbYjxxGetInfo(item.id).then(res => {
console.log(res);
content.value = {
id: item.id,
ryxm: res.yjRyxm || '',
@ -221,11 +221,13 @@ const chooseItem = (item) => {
yjnr: res.yjNr || '',
yjbq: res.yjbqmc || '',
yjlx: item.yjlx || '',
yjLx: res.yjLx || '',
jd: res.jd || 0,
wd: res.wd || 0,
yjjb: item.yjjb || '',
czzt: res.czzt || '',
yjbt: res.yjBt || '',
cph: res.yjClcph || '',
}
emitter.emit('showHomeYJ', [content.value]);
})