123
This commit is contained in:
@ -20,6 +20,9 @@
|
||||
<template #yjLx="{ row }">
|
||||
<dict-tag :options="D_BZ_YJLX" :value="row.yjLx" :tag="false" />
|
||||
</template>
|
||||
<template #gzyfx="{ row }">
|
||||
<dict-tag :options="D_BZ_GZYFX" :value="row.gzyfx" :tag="false" />
|
||||
</template>
|
||||
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
@ -33,7 +36,7 @@
|
||||
</div>
|
||||
<!-- 编辑详情 -->
|
||||
<!-- 编辑详情 -->
|
||||
<EditAddForm ref="detailDiloag" :dict="{ D_BZ_YJLX, D_BZ_YJJB }" />
|
||||
<EditAddForm ref="detailDiloag" :dict="{ D_BZ_YJLX, D_BZ_YJJB, D_BZ_GZYFX }" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -47,21 +50,35 @@ import { jczgetPageList, selectJczFullList } from "@/api/mosty-jcz.js";
|
||||
import { reactive, ref, onMounted, getCurrentInstance, watch } from "vue";
|
||||
const { proxy } = getCurrentInstance();
|
||||
const urlImg = "/mosty-api/mosty-base/minio/image/download/";
|
||||
const { D_BZ_YJLX, D_BZ_YJJB } = proxy.$dict("D_BZ_YJLX", "D_BZ_YJJB");
|
||||
const { D_BZ_YJLX, D_BZ_YJJB, D_BZ_GZYFX } = proxy.$dict("D_BZ_YJLX", "D_BZ_YJJB", "D_BZ_GZYFX");
|
||||
const jczList = ref()
|
||||
const searchConfiger = ref([
|
||||
{
|
||||
label: "感知源编号",
|
||||
prop: "yjGzyid",
|
||||
placeholder: "感知源编号",
|
||||
showType: "input",
|
||||
},
|
||||
{
|
||||
label: "所属检查站",
|
||||
prop: "jczid",
|
||||
placeholder: "所属检查站",
|
||||
showType: "select",
|
||||
options: {}
|
||||
},
|
||||
{
|
||||
label: "预警类型",
|
||||
prop: "yjLx",
|
||||
placeholder: "预警类型",
|
||||
showType: "select",
|
||||
options: D_BZ_YJLX
|
||||
}, {
|
||||
label: "所属检查站",
|
||||
prop: "jczid",
|
||||
placeholder: "所属检查站",
|
||||
},
|
||||
{
|
||||
label: "感知源方向",
|
||||
prop: "gzyfx",
|
||||
placeholder: "感知源方向",
|
||||
showType: "select",
|
||||
options: {}
|
||||
options: D_BZ_GZYFX
|
||||
},
|
||||
{
|
||||
label: "发生时间",
|
||||
@ -88,19 +105,21 @@ const pageData = reactive({
|
||||
controlsWidth: 250, //操作栏宽度
|
||||
tableColumn: [
|
||||
{ label: "预警图片", prop: "yjTp", showSolt: true },
|
||||
{ label: "所属检查站", prop: "jczmc" },
|
||||
{ label: "感知源名称", prop: "yjGzymc" },
|
||||
{ label: "感知源编号", prop: "yjGzyid" },
|
||||
{ label: "预警时间", prop: "yjSj" },
|
||||
{ label: "预警人员", prop: "yjRyxm" },
|
||||
{ label: "预警标签", prop: "yjbq" },
|
||||
{ label: "预警车牌号", prop: "yjClcph" },
|
||||
{ label: "预警类型", prop: "yjLx", showSolt: true }
|
||||
{ label: "预警类型", prop: "yjLx", showSolt: true },
|
||||
{ label: "方向", prop: "gzyfx", showSolt: true },
|
||||
]
|
||||
});
|
||||
onMounted(() => {
|
||||
tabHeightFn();
|
||||
getselectJczFullList()
|
||||
|
||||
getselectJczFullList()
|
||||
});
|
||||
|
||||
//查询条件
|
||||
const queryCondition = ref({});
|
||||
// 获取数据
|
||||
@ -121,8 +140,6 @@ const getjczgetXfllList = () => {
|
||||
|
||||
const getselectJczFullList = () => {
|
||||
selectJczFullList().then((res) => {
|
||||
console.log(res);
|
||||
|
||||
jczList.value = res.map(item => ({
|
||||
label: item.jczmc,
|
||||
value: item.id
|
||||
|
||||
Reference in New Issue
Block a user