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,24 +17,22 @@
:tableConfiger="pageData.tableConfiger" :tableConfiger="pageData.tableConfiger"
:controlsWidth="pageData.controlsWidth" :controlsWidth="pageData.controlsWidth"
> >
<template #bkshzt="{ row }"> <template #ryXm="{ row }">
<DictTag :tag="false" :value="row.bkshzt" :options="D_BZ_RCSHZT" /> <div class="one_text_detail">姓名{{ row.ryXm }} &nbsp;</div>
</template> <div class="one_text_detail">电话{{ row.rySjhm }} &nbsp;</div>
<template #fxDj="{ row }"> <div class="one_text_detail">身份证{{ row.rySfzh }} </div>
<DictTag :tag="false" :value="row.fxDj" :options="D_GS_RQFJ_FXDJ" /> </template>
</template> <template #fxDj="{ row }">
<template #fxLb="{ row }"> <DictTag :tag="false" :value="row.fxDj" :options="D_GS_RQFJ_FXDJ"/>
<DictTag :tag="false" :value="row.fxLb" :options="D_GS_RQFJ_FXLB" /> </template>
</template> <template #fxLb="{ row }">
<template #sfGz="{ row }"> <DictTag :tag="false" :value="row.fxLb" :options="D_GS_RQFJ_FXLB"/>
<DictTag :tag="false" :value="row.sfGz" :options="D_BZ_SF" /> </template>
</template> <template #bqList="{ row }">
<template #sfZbkry="{ row }"> <div v-if="row.bqList">
<DictTag :tag="false" :value="row.sfZbkry" :options="D_BZ_SF" /> <el-tag v-for="(it,idx) in row.bqList" :key="idx">{{ it.bqMc }}</el-tag>
</template> </div>
<template #sfZzdry="{ row }"> </template>
<DictTag :tag="false" :value="row.sfZzdry" :options="D_BZ_SF" />
</template>
<!-- 操作 --> <!-- 操作 -->
<template #controls="{ row }"> <template #controls="{ row }">
<el-link type="primary" v-if="roleList.includes('BK_SH_RY')" size="small" @click="handleDetail(row,'审核')">审核</el-link> <el-link type="primary" v-if="roleList.includes('BK_SH_RY')" size="small" @click="handleDetail(row,'审核')">审核</el-link>
@ -119,21 +117,18 @@ const pageData = reactive({
}, },
controlsWidth: 120, controlsWidth: 120,
tableColumn: [ tableColumn: [
{ label: "姓名", prop: "ryXm" }, { label: "姓名", prop: "ryXm",showOverflowTooltip:true ,showSolt: true},
{ label: "手机号码", prop: "rySjhm" }, { label: "户籍地址", prop: "ryHjdz" ,showOverflowTooltip:true},
{ label: "身份证号码", prop: "rySfzh" }, { label: "护照号码", prop: "ryHzhm" ,showOverflowTooltip:true},
{ label: "户籍地址", prop: "ryHjdz" }, { label: "现住地址", prop: "ryXzdz" ,showOverflowTooltip:true},
{ label: "护照号码", prop: "ryHzhm" }, { label: "附件照片", prop: "ryFjZp" ,showOverflowTooltip:true},
{ label: "现住地址", prop: "ryXzdz" }, { label: "管辖单位", prop: "gxDwDm" ,showOverflowTooltip:true},
{ label: "银行卡号", prop: "ryYhkh" }, { label: "责任部门", prop: "ssbm",showOverflowTooltip:true},
{ label: "附件照片", prop: "ryFjZp" }, { label: "标签", prop: "bqList",showOverflowTooltip:true,showSolt: true},
{ label: "管辖单位", prop: "gxDwDm" }, { label: "风险积分", prop: "fxjf",showOverflowTooltip:true},
{ label: "审核布控状态", prop: "bkshzt", showSolt: true }, { label: "风险等级", prop: "fxDj",showOverflowTooltip:true, showSolt: true },
{ label: "风险等级", prop: "fxDj", showSolt: true }, { label: "风险类别", prop: "fxLb",showOverflowTooltip:true, showSolt: true },
{ label: "风险类别", prop: "fxLb", showSolt: true }, { label: "处置方式", prop: "czfs",showOverflowTooltip:true, showSolt: true },
{ label: "是否关注", prop: "sfGz", showSolt: true },
{ label: "是否转布控人员", prop: "sfZbkry", showSolt: true },
{ label: "是否转重点人员", prop: "sfZzdry", showSolt: true }
] ]
}); });
const roleList = ref([]) const roleList = ref([])

View File

@ -17,11 +17,24 @@
:tableConfiger="pageData.tableConfiger" :tableConfiger="pageData.tableConfiger"
:controlsWidth="pageData.controlsWidth" :controlsWidth="pageData.controlsWidth"
> >
<template #image="{ row }"> <template #ryXm="{ row }">
<img :src="row.image" alt=""> <div class="flex one_text_detail">姓名{{ row.ryXm }} &nbsp;</div>
</template> <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 }"> <template #controls="{ row }">
<el-button type="primary" size="small" >详情</el-button > <el-link type="primary" size="small" >详情</el-link >
</template> </template>
</MyTable> </MyTable>
<Pages <Pages
@ -45,8 +58,8 @@ import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue"; import Search from "@/components/aboutTable/Search.vue";
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js"; import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance } from "vue"; import { reactive, ref, onMounted, getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance(); 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 queryFrom = ref({})
const searchBox = ref(); //搜索框 const searchBox = ref(); //搜索框
@ -76,10 +89,18 @@ const pageData = reactive({
}, },
controlsWidth: 120, controlsWidth: 120,
tableColumn: [ tableColumn: [
{ label: "预警图片", prop: "image" ,showSolt:true}, { label: "姓名", prop: "ryXm",showOverflowTooltip:true ,showSolt: true},
{ label: "预警内容", prop: "yjnr" }, { label: "户籍地址", prop: "ryHjdz" ,showOverflowTooltip:true},
{ label: "户籍地址", prop: "hjdz" }, { label: "护照号码", prop: "ryHzhm" ,showOverflowTooltip:true},
{ label: "住地址", prop: "jzdz" }, { 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(() => { onMounted(() => {

View File

@ -52,6 +52,11 @@
<template #fxLb="{ row }"> <template #fxLb="{ row }">
<DictTag :tag="false" :value="row.fxLb" :options="D_GS_RQFJ_FXLB"/> <DictTag :tag="false" :value="row.fxLb" :options="D_GS_RQFJ_FXLB"/>
</template> </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 #czfs="{ row }"> <template #czfs="{ row }">
<div>关注<DictTag :tag="false" style="display: inline;" :value="row.sfGz" :options="D_BZ_SF" /> &nbsp;</div> <div>关注<DictTag :tag="false" style="display: inline;" :value="row.sfGz" :options="D_BZ_SF" /> &nbsp;</div>
<div>布控人员<DictTag :tag="false" style="display: inline;" :value="row.sfZbkry" :options="D_BZ_SF" />&nbsp;</div> <div>布控人员<DictTag :tag="false" style="display: inline;" :value="row.sfZbkry" :options="D_BZ_SF" />&nbsp;</div>
@ -94,7 +99,6 @@ import { ref, reactive, onMounted, getCurrentInstance } from "vue";
import MyTable from "@/components/aboutTable/MyTable.vue"; import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue"; import Pages from "@/components/aboutTable/Pages.vue";
import { qcckPost } from "@/api/qcckApi.js"; import { qcckPost } from "@/api/qcckApi.js";
import { el } from "element-plus/lib/locale/index.js";
const { proxy } = getCurrentInstance(); 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 {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 btnsList = reactive(['是否重点人','布控','是否关注','移交管控']) const btnsList = reactive(['是否重点人','布控','是否关注','移交管控'])
@ -104,38 +108,6 @@ const ids = ref([])
const chooseList = ref([]) const chooseList = ref([])
const pageData = reactive({ const pageData = reactive({
tableData: [ tableData: [
{
tpzy: "GBJD01",
dwmc: "工布江达重点人",
zylyxz: "涉稳",
cjhx: "系统新增",
ytp: "低级",
rxxsd: "2025/05/05"
},
{
tpzy: "GBJD01",
dwmc: "工布江达重点人",
zylyxz: "涉稳",
cjhx: "系统新增",
ytp: "低级",
rxxsd: "2025/05/05"
},
{
tpzy: "GBJD01",
dwmc: "工布江达重点人",
zylyxz: "涉稳",
cjhx: "系统新增",
ytp: "低级",
rxxsd: "2025/05/05"
},
{
tpzy: "GBJD01",
dwmc: "工布江达重点人",
zylyxz: "涉稳",
cjhx: "系统新增",
ytp: "低级",
rxxsd: "2025/05/05"
},
{ {
tpzy: "GBJD01", tpzy: "GBJD01",
dwmc: "工布江达重点人", dwmc: "工布江达重点人",
@ -180,7 +152,7 @@ const pageData = reactive({
{ label: "附件照片", prop: "ryFjZp" ,showOverflowTooltip:true}, { label: "附件照片", prop: "ryFjZp" ,showOverflowTooltip:true},
{ label: "管辖单位", prop: "gxDwDm" ,showOverflowTooltip:true}, { label: "管辖单位", prop: "gxDwDm" ,showOverflowTooltip:true},
{ label: "责任部门", prop: "ssbm",showOverflowTooltip:true}, { label: "责任部门", prop: "ssbm",showOverflowTooltip:true},
{ label: "标签", prop: "fxjf",showOverflowTooltip:true}, { label: "标签", prop: "bqList",showOverflowTooltip:true,showSolt: true},
{ label: "风险积分", prop: "fxjf",showOverflowTooltip:true}, { label: "风险积分", prop: "fxjf",showOverflowTooltip:true},
{ label: "风险等级", prop: "fxDj",showOverflowTooltip:true, showSolt: true }, { label: "风险等级", prop: "fxDj",showOverflowTooltip:true, showSolt: true },
{ label: "风险类别", prop: "fxLb",showOverflowTooltip:true, showSolt: true }, { label: "风险类别", prop: "fxLb",showOverflowTooltip:true, showSolt: true },