This commit is contained in:
2025-07-16 11:54:27 +08:00
parent 3019295319
commit b98625f344
3 changed files with 64 additions and 76 deletions

View File

@ -17,11 +17,24 @@
:tableConfiger="pageData.tableConfiger"
:controlsWidth="pageData.controlsWidth"
>
<template #image="{ row }">
<img :src="row.image" alt="">
</template>
<template #ryXm="{ row }">
<div class="flex one_text_detail">姓名{{ row.ryXm }} &nbsp;</div>
<div class="flex one_text_detail">电话{{ row.rySjhm }} &nbsp;</div>
<div class="flex one_text_detail">身份证{{ row.rySfzh }} </div>
</template>
<template #fxDj="{ row }">
<DictTag :tag="false" :value="row.fxDj" :options="D_GS_RQFJ_FXDJ"/>
</template>
<template #fxLb="{ row }">
<DictTag :tag="false" :value="row.fxLb" :options="D_GS_RQFJ_FXLB"/>
</template>
<template #bqList="{ row }">
<div v-if="row.bqList">
<el-tag v-for="(it,idx) in row.bqList" :key="idx">{{ it.bqMc }}</el-tag>
</div>
</template>
<template #controls="{ row }">
<el-button type="primary" size="small" >详情</el-button >
<el-link type="primary" size="small" >详情</el-link >
</template>
</MyTable>
<Pages
@ -45,8 +58,8 @@ import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue";
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();
const {D_GS_ZDRFJ_SPZT,D_BZ_SF, D_GS_RQFJ_FXDJ, D_GS_RQFJ_FXLB } = proxy.$dict('D_GS_ZDRFJ_SPZT',"D_BZ_SF","D_GS_RQFJ_FXDJ","D_GS_RQFJ_FXLB"); //获取字典数据
const queryFrom = ref({})
const searchBox = ref(); //搜索框
@ -76,10 +89,18 @@ const pageData = reactive({
},
controlsWidth: 120,
tableColumn: [
{ label: "预警图片", prop: "image" ,showSolt:true},
{ label: "预警内容", prop: "yjnr" },
{ label: "户籍地址", prop: "hjdz" },
{ label: "住地址", prop: "jzdz" },
{ label: "姓名", prop: "ryXm",showOverflowTooltip:true ,showSolt: true},
{ label: "户籍地址", prop: "ryHjdz" ,showOverflowTooltip:true},
{ label: "护照号码", prop: "ryHzhm" ,showOverflowTooltip:true},
{ label: "住地址", prop: "ryXzdz" ,showOverflowTooltip:true},
{ label: "附件照片", prop: "ryFjZp" ,showOverflowTooltip:true},
{ label: "管辖单位", prop: "gxDwDm" ,showOverflowTooltip:true},
{ label: "责任部门", prop: "ssbm",showOverflowTooltip:true},
{ label: "标签", prop: "bqList",showOverflowTooltip:true,showSolt: true},
{ label: "风险积分", prop: "fxjf",showOverflowTooltip:true},
{ label: "风险等级", prop: "fxDj",showOverflowTooltip:true, showSolt: true },
{ label: "风险类别", prop: "fxLb",showOverflowTooltip:true, showSolt: true },
{ label: "处置方式", prop: "czfs",showOverflowTooltip:true, showSolt: true },
]
});
onMounted(() => {