This commit is contained in:
lcw
2025-09-07 23:50:16 +08:00
parent 232f7b7860
commit 00b2c8bf16
37 changed files with 7283 additions and 333 deletions

View File

@ -40,41 +40,26 @@
</div>
<!-- 表格 -->
<div class="tabBox">
<MyTable
:tableData="pageData.tableData"
:tableColumn="pageData.tableColumn"
<MyTable
:tableData="pageData.tableData"
:tableColumn="pageData.tableColumn"
:tableHeight="pageData.tableHeight"
:key="pageData.keyCount"
:tableConfiger="pageData.tableConfiger"
:key="pageData.keyCount"
:tableConfiger="pageData.tableConfiger"
:controlsWidth="pageData.controlsWidth"
@chooseData="chooseData"
>
<template #jbxx="{ row }">
<div class="flex">
<img src="" alt="" style="width: 80px;height: 90px;" />
<ul class="tl ml10" style="flex:1 0 0">
<li class="one_text_detail">群体名称{{ row.qtMc }}</li>
<li class="flex one_text_detail">群体类别<DictTag :tag="false" :value="row.qtLb" :options="D_GS_ZDQT_LB" /> </li>
<li class="flex one_text_detail">风险等级<DictTag :tag="false" :value="row.qtFxdj" :options="D_GS_ZDQT_FXDJ" /></li>
<li class="one_text_detail">创建时间{{ row.xtCjsj }}</li>
</ul>
</div>
<template #qtLb="{ row }">
<DictTag :tag="false" :value="row.qtLb" :options="D_GS_ZDQT_LB" />
</template>
<template #qtFxdj="{ row }">
<DictTag :tag="false" :value="row.qtFxdj" :options="D_GS_ZDQT_FXDJ" />
</template>
<template #bqList="{ row }">
<ul >
<li class="one_text_detail marks mb4" :key="index" v-for="(item, index) in row.bqList">{{ item.bqMc }}({{ item.bqFz || 0 }} ) </li>
<li class="one_text_detail marks mb4" :key="index" v-for="(item, index) in row.bqList">{{ item.bqMc }}({{ item.bqFz || 0 }} ) </li>
</ul>
</template>
<template #bgxx="{ row }">
<div class="flex one_text_detail">背景资料{{ row.qtBjzl }}</div>
<div class="flex one_text_detail">创建单位{{ row.xtCjbmmc }}</div>
</template>
<template #gkxx="{ row }">
<div class="flex one_text_detail">管辖单位{{ row.gxSsdwmc }}</div>
<div class="flex one_text_detail">列控原因{{ row.zdrLkyy }}</div>
<div class="flex one_text_detail">开始时间{{ row.zdrRkkssj }}</div>
<div class="flex one_text_detail">截至时间{{ row.zdrRkjssj }}</div>
</template>
<template #zdryList="{ row }">
<span style="color: #0072ff">{{ row.zdryList ? row.zdryList.length : 0 }}</span>
</template>
@ -83,7 +68,7 @@
</template>
<!-- 操作 -->
<template #controls="{ row }">
<el-link size="small" type="primary" v-if=" row.qtZt == '01'" @click="handleSend(row.id)">送审</el-link>
<el-link size="small" type="primary" v-if=" row.qtZt == '01'" @click="handleSend(row.id)">办结</el-link>
<el-link size="small" type="success" v-if=" row.qtZt == '01'" @click="addEdit('edit', row)">编辑</el-link>
<el-link size="small" type="success" @click="addEdit('detail', row)">详情</el-link>
<el-link size="small" type="danger" @click="deleteRow(row.id)">删除</el-link>
@ -187,12 +172,20 @@ const pageData = reactive({
},
controlsWidth: 150,
tableColumn: [
{ label: "群体基本信息", prop: "jbxx", showSolt: true,width:300 },
{ label: "背景信息", prop: "bgxx", showSolt: true,width:300 },
{ label: "标签", prop: "bqList", showSolt: true ,width:200,showOverflowTooltip:true},
{ label: "管控信息", prop: "gkxx", showSolt: true,width:300 },
{ label: "群体名称", prop: "qtMc" },
{ label: "群体类别", prop: "qtLb" , showSolt: true},
{ label: "风险等级", prop: "qtFxdj" , showSolt: true},
{ label: "背景资料", prop: "qtBjzl" },
{ label: "背景信息", prop: "bgxx", showSolt: true },
{ label: "管辖单位", prop: "gxSsdwmc" },
{ label: "列控原因", prop: "zdrLkyy" },
{ label: "开始时间", prop: "zdrRkkssj" },
{ label: "截至时间", prop: "zdrRkjssj" },
{ label: "稳控人数", prop: "zdryList", showSolt: true },
{ label: "状态", prop: "qtZt", showSolt: true }
{ label: "状态", prop: "qtZt", showSolt: true },
{ label: "标签", prop: "bqList", showSolt: true ,showOverflowTooltip:true},
{ label: "创建单位", prop: "xtCjbmmc" },
{ label: "创建时间", prop: "xtCjsj" },
]
});
@ -203,9 +196,9 @@ onMounted(() => {
//送审
const handleSend = (id) => {
proxy.$confirm("确定要送审", "警告", { type: "warning" }).then(() => {
qcckPost({}, "/mosty-gsxt/tbGsxtZdqt/subExamine/"+id).then(() => {
proxy.$message({ type: "success", message: "送审成功" });
proxy.$confirm("确定要办结", "警告", { type: "warning" }).then(() => {
qcckPost({}, "/mosty-gsxt//tbGsxtZdqt/qtbj/"+id).then(() => {
proxy.$message({ type: "success", message: "办结成功" });
getList();
});
})