This commit is contained in:
2025-07-07 20:24:43 +08:00
parent 87926cd75e
commit 234bf6ecc4

View File

@ -4,7 +4,7 @@
<PageTitle title="重点群体管理"> <PageTitle title="重点群体管理">
<el-popover placement="bottom" :visible="visible" :width="400" trigger="click"> <el-popover placement="bottom" :visible="visible" :width="400" trigger="click">
<template #reference> <template #reference>
<el-button type="primary" @click="visible =!visible" size="small">布控申请 <el-button type="primary" @click="visible = !visible" size="small">布控申请
</el-button> </el-button>
</template> </template>
<div class="flex just-center"> <div class="flex just-center">
@ -18,7 +18,9 @@
<el-button size="small" type="primary">转线索</el-button> <el-button size="small" type="primary">转线索</el-button>
<el-button size="small" type="primary">移交管控</el-button> <el-button size="small" type="primary">移交管控</el-button>
<el-button type="primary" size="small" @click="addEdit('add', '')"> <el-button type="primary" size="small" @click="addEdit('add', '')">
<el-icon style="vertical-align: middle"><CirclePlus /></el-icon> <el-icon style="vertical-align: middle">
<CirclePlus />
</el-icon>
<span style="vertical-align: middle">新增</span> <span style="vertical-align: middle">新增</span>
</el-button> </el-button>
</PageTitle> </PageTitle>
@ -29,15 +31,9 @@
</div> </div>
<!-- 表格 --> <!-- 表格 -->
<div class="tabBox"> <div class="tabBox">
<MyTable <MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
:tableData="pageData.tableData" :key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth"
:tableColumn="pageData.tableColumn" @chooseData="chooseData">
:tableHeight="pageData.tableHeight"
:key="pageData.keyCount"
:tableConfiger="pageData.tableConfiger"
:controlsWidth="pageData.controlsWidth"
@chooseData="chooseData"
>
<template #jbxx="{ row }"> <template #jbxx="{ row }">
<div> <div>
<img src="" alt="" /> <img src="" alt="" />
@ -46,23 +42,14 @@
<!-- <li>所属辖区</li> --> <!-- <li>所属辖区</li> -->
<li class="rowClass"> <li class="rowClass">
风险等级 风险等级
<DictTag <DictTag :tag="false" :value="row.qtFxdj" :options="D_GS_ZDQT_FXDJ" />
:tag="false"
:value="row.qtFxdj"
:options="D_GS_ZDQT_FXDJ"
/>
</li> </li>
<li>创建时间{{ row.xtCjsj }}</li> <li>创建时间{{ row.xtCjsj }}</li>
</ul> </ul>
</div> </div>
<div class="flex"> <div class="flex">
<el-button <el-button type="primary" size="small" v-for="(item, index) in row.bqList" :key="index">
type="primary" {{ item.bqMc }}</el-button>
size="small"
v-for="(item, index) in row.bqList" :key="index"
>
{{ item.bqMc }}</el-button
>
</div> </div>
</template> </template>
<template #bgxx="{ row }"> <template #bgxx="{ row }">
@ -84,23 +71,18 @@
<!-- 操作 --> <!-- 操作 -->
<template #controls="{ row }"> <template #controls="{ row }">
<el-link v-if="row.qtZt == '01' || row.qtZt == '03' || row.qtZt == '06'" @click="openDetail(row)" >送审</el-link > <el-link size="small" v-if="row.qtZt == '01' || row.qtZt == '03' || row.qtZt == '06'" @click="openDetail(row)">送审</el-link>
<el-link size="small" type="success" @click="addEdit('edit', row)" v-if="row.qtZt !== '05'" >编辑</el-link> <el-link size="small" type="success" @click="addEdit('edit', row)" v-if="row.qtZt !== '05'">编辑</el-link>
<el-link size="small" type="primary" @click="infoList('info', row)">查看</el-link> <el-link size="small" type="primary" @click="infoList('info', row)">查看</el-link>
<el-link size="small" type="danger" @click="deleteRow(row)">删除</el-link> <el-link size="small" type="danger" @click="deleteRow(row)">删除</el-link>
</template> </template>
</MyTable> </MyTable>
<Pages <Pages @changeNo="changeNo" @changeSize="changeSize" :tableHeight="pageData.tableHeight" :pageConfiger="{
@changeNo="changeNo"
@changeSize="changeSize"
:tableHeight="pageData.tableHeight"
:pageConfiger="{
...pageData.pageConfiger, ...pageData.pageConfiger,
total: pageData.total total: pageData.total
}" }"></Pages>
></Pages>
</div> </div>
<el-dialog v-model="dialogVisible" title="发起送审" width="500px" :before-close="handleClose" > <el-dialog v-model="dialogVisible" title="发起送审" width="500px" :before-close="handleClose">
<span>是否要发起送审</span> <span>是否要发起送审</span>
<template #footer> <template #footer>
<div class="dialog-footer"> <div class="dialog-footer">
@ -211,7 +193,7 @@ const pageData = reactive({
{ label: "群体基本信息", prop: "jbxx", showSolt: true }, { label: "群体基本信息", prop: "jbxx", showSolt: true },
{ label: "背景信息", prop: "bgxx", showSolt: true }, { label: "背景信息", prop: "bgxx", showSolt: true },
{ label: "管控信息", prop: "gkxx", showSolt: true }, { label: "管控信息", prop: "gkxx", showSolt: true },
{ label: "稳控人数", prop: "wkrs", showSolt: true}, { label: "稳控人数", prop: "wkrs", showSolt: true },
{ label: "状态", prop: "qtZt", showSolt: true } { label: "状态", prop: "qtZt", showSolt: true }
] ]
}); });
@ -306,6 +288,7 @@ defineExpose({ infoList });
.el-loading-mask { .el-loading-mask {
background: rgba(0, 0, 0, 0.5) !important; background: rgba(0, 0, 0, 0.5) !important;
} }
.rowClass { .rowClass {
display: flex; display: flex;
align-items: center; align-items: center;