2025-05-21 10:24:02 +08:00
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="titleBox">
|
|
|
|
|
<PageTitle title="重点群体管理">
|
2025-06-04 17:27:57 +08:00
|
|
|
|
<el-button type="primary" size="small" v-for="it in btns" :key="it">
|
|
|
|
|
{{ it }}</el-button
|
|
|
|
|
>
|
2025-05-21 10:24:02 +08:00
|
|
|
|
<el-button type="primary" size="small" @click="addEdit('add', '')">
|
|
|
|
|
<el-icon style="vertical-align: middle"><CirclePlus /></el-icon>
|
|
|
|
|
<span style="vertical-align: middle">新增</span>
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button type="danger" size="small" @click="addEdit('add', '')">
|
|
|
|
|
<el-icon style="vertical-align: middle"><Dete /></el-icon>
|
|
|
|
|
<span style="vertical-align: middle">批量删除</span>
|
|
|
|
|
</el-button>
|
|
|
|
|
</PageTitle>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 搜索 -->
|
|
|
|
|
<div ref="searchBox">
|
|
|
|
|
<Search
|
|
|
|
|
:searchArr="searchConfiger"
|
|
|
|
|
@submit="onSearch"
|
|
|
|
|
:key="pageData.keyCount"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 表格 -->
|
|
|
|
|
<div class="tabBox">
|
|
|
|
|
<MyTable
|
|
|
|
|
:tableData="pageData.tableData"
|
|
|
|
|
:tableColumn="pageData.tableColumn"
|
|
|
|
|
:tableHeight="pageData.tableHeight"
|
|
|
|
|
:key="pageData.keyCount"
|
|
|
|
|
:tableConfiger="pageData.tableConfiger"
|
|
|
|
|
:controlsWidth="pageData.controlsWidth"
|
|
|
|
|
@chooseData="chooseData"
|
|
|
|
|
>
|
2025-06-04 17:27:57 +08:00
|
|
|
|
<template #jbxx="{ row }">
|
|
|
|
|
<div>
|
|
|
|
|
<img src="" alt="" />
|
|
|
|
|
<ul>
|
|
|
|
|
<li>群体名称:{{ row.qtMc }}</li>
|
|
|
|
|
<!-- <li>所属辖区:</li> -->
|
|
|
|
|
<li class="rowClass">
|
|
|
|
|
风险等级:
|
|
|
|
|
<DictTag
|
|
|
|
|
:tag="false"
|
|
|
|
|
:value="row.qtFxdj"
|
|
|
|
|
:options="D_GS_ZDQT_FXDJ"
|
|
|
|
|
/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>创建时间:{{ row.xtCjsj }}</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex">
|
|
|
|
|
<el-button type="primary" size="small"> 涉恐群体</el-button>
|
|
|
|
|
<el-button type="primary" size="small"> 涉稳群体</el-button>
|
|
|
|
|
<el-button type="primary" size="small"> 讨薪群体</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #bgxx="{ row }">
|
|
|
|
|
<div>背景资料:{{ row.qtBjzl }}</div>
|
|
|
|
|
<div>创建单位:{{ row.xtCjbmmc }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #gkxx="{ row }">
|
|
|
|
|
<!-- <div>群体标签:{{ }}</div> -->
|
|
|
|
|
<div>管辖单位:{{ row.gxSsdwmc }}</div>
|
|
|
|
|
<div>列控原因:{{ row.zdrLkyy }}</div>
|
|
|
|
|
<div>开始时间:{{ row.startTime }}</div>
|
|
|
|
|
<div>截至时间:{{ row.endTime }}</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template #wkrs="{ row }">
|
|
|
|
|
<span style="color: #0072ff">{{ row.wkrs }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template #qtZt="{ row }">
|
|
|
|
|
<DictTag :tag="false" :value="row.qtZt" :options="D_GS_ZDQT_ZT" />
|
|
|
|
|
</template>
|
|
|
|
|
|
2025-05-21 10:24:02 +08:00
|
|
|
|
<!-- 操作 -->
|
|
|
|
|
<template #controls="{ row }">
|
2025-06-04 17:27:57 +08:00
|
|
|
|
<el-link
|
|
|
|
|
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)"
|
|
|
|
|
>编辑</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
|
|
|
|
|
>
|
2025-05-21 10:24:02 +08:00
|
|
|
|
</template>
|
|
|
|
|
</MyTable>
|
|
|
|
|
<Pages
|
|
|
|
|
@changeNo="changeNo"
|
|
|
|
|
@changeSize="changeSize"
|
|
|
|
|
:tableHeight="pageData.tableHeight"
|
|
|
|
|
:pageConfiger="{
|
|
|
|
|
...pageData.pageConfiger,
|
|
|
|
|
total: pageData.total
|
|
|
|
|
}"
|
|
|
|
|
></Pages>
|
|
|
|
|
</div>
|
2025-06-04 17:27:57 +08:00
|
|
|
|
<el-dialog
|
|
|
|
|
v-model="dialogVisible"
|
|
|
|
|
title="发起送审"
|
|
|
|
|
width="500px"
|
|
|
|
|
:before-close="handleClose"
|
|
|
|
|
>
|
|
|
|
|
<span>是否要发起送审</span>
|
|
|
|
|
<template #footer>
|
|
|
|
|
<div class="dialog-footer">
|
|
|
|
|
<el-button @click="dialogVisible = false">取消</el-button>
|
|
|
|
|
<el-button type="primary" @click="autoEdit()"> 确定 </el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
<!-- 编辑 -->
|
|
|
|
|
<EditForm @updateDate="updateDate" ref="editFormDiloag" />
|
2025-05-21 10:24:02 +08:00
|
|
|
|
<!-- 详情 -->
|
|
|
|
|
<DetailForm ref="detailDiloag" />
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
2025-06-04 17:27:57 +08:00
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import DetailForm from "./components/infoForm.vue";
|
2025-05-21 10:24:02 +08:00
|
|
|
|
import PageTitle from "@/components/aboutTable/PageTitle.vue";
|
|
|
|
|
import MyTable from "@/components/aboutTable/MyTable.vue";
|
|
|
|
|
import Pages from "@/components/aboutTable/Pages.vue";
|
|
|
|
|
import Search from "@/components/aboutTable/Search.vue";
|
2025-06-04 17:27:57 +08:00
|
|
|
|
import EditForm from "./components/addForm.vue";
|
2025-05-21 10:24:02 +08:00
|
|
|
|
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
|
2025-06-04 17:27:57 +08:00
|
|
|
|
import { ElMessage } from "element-plus";
|
|
|
|
|
|
|
|
|
|
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
|
2025-05-21 10:24:02 +08:00
|
|
|
|
const { proxy } = getCurrentInstance();
|
2025-06-04 17:27:57 +08:00
|
|
|
|
const {
|
|
|
|
|
D_GS_ZDQT_FXDJ,
|
|
|
|
|
D_GS_ZDR_RYJB,
|
|
|
|
|
D_GS_ZDQT_LB,
|
|
|
|
|
D_GS_ZDR_BK_ZT,
|
|
|
|
|
D_GS_BQ_LX,
|
|
|
|
|
D_GS_ZDQT_ZT
|
|
|
|
|
} = proxy.$dict(
|
|
|
|
|
"D_GS_ZDQT_FXDJ",
|
|
|
|
|
"D_GS_ZDR_RYJB",
|
|
|
|
|
"D_GS_ZDQT_LB",
|
|
|
|
|
"D_GS_ZDR_BK_ZT",
|
|
|
|
|
"D_GS_BQ_LX",
|
|
|
|
|
"D_GS_ZDQT_ZT"
|
|
|
|
|
); //获取字典数据
|
|
|
|
|
const editFormDiloag = ref();
|
2025-05-21 10:24:02 +08:00
|
|
|
|
const detailDiloag = ref();
|
|
|
|
|
const searchBox = ref(); //搜索框
|
2025-06-04 17:27:57 +08:00
|
|
|
|
const autoId = ref();
|
|
|
|
|
const dialogVisible = ref(false);
|
|
|
|
|
const btns = reactive([
|
|
|
|
|
"一键布控",
|
|
|
|
|
"维护群体",
|
|
|
|
|
"矛盾化解",
|
|
|
|
|
"转指令",
|
|
|
|
|
"转线索",
|
|
|
|
|
"转督导",
|
|
|
|
|
"转合成",
|
|
|
|
|
"移交管控",
|
|
|
|
|
"批量导入",
|
|
|
|
|
"导出"
|
|
|
|
|
]);
|
2025-05-21 10:24:02 +08:00
|
|
|
|
const searchConfiger = ref([
|
|
|
|
|
{
|
|
|
|
|
label: "群体名称",
|
2025-06-04 17:27:57 +08:00
|
|
|
|
prop: "qtMc",
|
2025-05-21 10:24:02 +08:00
|
|
|
|
placeholder: "请输入群体名称",
|
|
|
|
|
showType: "input"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "群体风险等级",
|
2025-06-04 17:27:57 +08:00
|
|
|
|
prop: "qtFxdj",
|
2025-05-21 10:24:02 +08:00
|
|
|
|
placeholder: "请选择群体风险等级",
|
2025-06-04 17:27:57 +08:00
|
|
|
|
showType: "select",
|
|
|
|
|
options: D_GS_ZDQT_FXDJ
|
2025-05-21 10:24:02 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2025-06-04 17:27:57 +08:00
|
|
|
|
label: "重点人人员级别",
|
|
|
|
|
prop: "zdrRyjb",
|
|
|
|
|
placeholder: "请选择重点人人员级别",
|
|
|
|
|
showType: "select",
|
|
|
|
|
options: D_GS_ZDR_RYJB
|
2025-05-21 10:24:02 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "成员姓名",
|
2025-06-04 17:27:57 +08:00
|
|
|
|
prop: "cyXm ",
|
2025-05-21 10:24:02 +08:00
|
|
|
|
placeholder: "请输入成员姓名",
|
|
|
|
|
showType: "input"
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-06-04 17:27:57 +08:00
|
|
|
|
label: "群体类别",
|
|
|
|
|
prop: "qtLb",
|
|
|
|
|
placeholder: "请选择群体类别",
|
|
|
|
|
showType: "select",
|
|
|
|
|
options: D_GS_ZDQT_LB
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "成员身份证号",
|
|
|
|
|
prop: "cySfzh",
|
|
|
|
|
placeholder: "请输入成员身份证号",
|
2025-05-21 10:24:02 +08:00
|
|
|
|
showType: "input"
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-06-04 17:27:57 +08:00
|
|
|
|
label: "群体大类",
|
|
|
|
|
prop: "qtDl",
|
|
|
|
|
placeholder: "请输入群体大类",
|
|
|
|
|
showType: "input"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "群体细类",
|
|
|
|
|
prop: "qtXl",
|
|
|
|
|
placeholder: "请输入群体细类",
|
|
|
|
|
showType: "input"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "管辖单位名称",
|
|
|
|
|
prop: "gxSsdwmc",
|
|
|
|
|
placeholder: "请输入管辖单位名称",
|
|
|
|
|
showType: "input"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "开始时间",
|
|
|
|
|
prop: "startTime",
|
|
|
|
|
placeholder: "请输入开始时间",
|
|
|
|
|
showType: "date"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "截至时间",
|
|
|
|
|
prop: "endTime",
|
|
|
|
|
placeholder: "请输入截至时间",
|
|
|
|
|
showType: "date"
|
2025-05-21 10:24:02 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "布控状态",
|
2025-06-04 17:27:57 +08:00
|
|
|
|
prop: "zdrBkZt",
|
|
|
|
|
placeholder: "请输入布控装态",
|
|
|
|
|
showType: "select",
|
|
|
|
|
options: D_GS_ZDR_BK_ZT
|
2025-05-21 10:24:02 +08:00
|
|
|
|
},
|
2025-06-04 17:27:57 +08:00
|
|
|
|
{
|
|
|
|
|
label: "布控类型",
|
|
|
|
|
prop: "bkzt",
|
|
|
|
|
placeholder: "请输入布控类型",
|
|
|
|
|
showType: "select",
|
|
|
|
|
options: D_GS_BQ_LX
|
|
|
|
|
}
|
2025-05-21 10:24:02 +08:00
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
const pageData = reactive({
|
|
|
|
|
tableData: [
|
|
|
|
|
{
|
2025-06-04 17:27:57 +08:00
|
|
|
|
img: "",
|
2025-05-21 10:24:02 +08:00
|
|
|
|
jbxx: "",
|
2025-06-04 17:27:57 +08:00
|
|
|
|
wkrs: "1/5"
|
|
|
|
|
}
|
2025-05-21 10:24:02 +08:00
|
|
|
|
],
|
|
|
|
|
keyCount: 0,
|
|
|
|
|
tableConfiger: {
|
|
|
|
|
rowHieght: 61,
|
|
|
|
|
showSelectType: "checkBox",
|
|
|
|
|
loading: false
|
|
|
|
|
},
|
|
|
|
|
total: 0,
|
|
|
|
|
pageConfiger: {
|
|
|
|
|
pageSize: 20,
|
|
|
|
|
pageCurrent: 1
|
|
|
|
|
},
|
|
|
|
|
controlsWidth: 220,
|
|
|
|
|
tableColumn: [
|
2025-06-04 17:27:57 +08:00
|
|
|
|
{ label: "群体基本信息", prop: "jbxx", showSolt: true },
|
|
|
|
|
{ label: "背景信息", prop: "bgxx", showSolt: true },
|
|
|
|
|
{ label: "管控信息", prop: "gkxx", showSolt: true },
|
|
|
|
|
{ label: "稳控人数", prop: "wkrs", showSolt: true, width: 80 },
|
|
|
|
|
{ label: "状态", prop: "qtZt", showSolt: true }
|
2025-05-21 10:24:02 +08:00
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const queryFrom = ref({});
|
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
getList();
|
|
|
|
|
tabHeightFn();
|
|
|
|
|
});
|
|
|
|
|
|
2025-06-04 17:27:57 +08:00
|
|
|
|
const openDetail = (row) => {
|
|
|
|
|
autoId.value = row.id;
|
|
|
|
|
dialogVisible.value = true;
|
|
|
|
|
};
|
|
|
|
|
//送审
|
|
|
|
|
const autoEdit = () => {
|
|
|
|
|
dialogVisible.value = false;
|
|
|
|
|
let url = `/mosty-gsxt/tbGsxtZdqt/subExamine/${autoId.value}`;
|
|
|
|
|
qcckPost({}, url)
|
|
|
|
|
.then((res) => {
|
|
|
|
|
ElMessage.success("提交成功");
|
|
|
|
|
getList();
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
ElMessage.error("提交失败");
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
const updateDate = () => {
|
|
|
|
|
getList();
|
|
|
|
|
};
|
2025-05-21 10:24:02 +08:00
|
|
|
|
//选择类型
|
|
|
|
|
const handleType = (val) => {
|
|
|
|
|
pageData.keyCount++;
|
|
|
|
|
pageData.pageConfiger.pageCurrent = 1;
|
|
|
|
|
getList();
|
|
|
|
|
};
|
|
|
|
|
// 搜索
|
|
|
|
|
const onSearch = (val) => {
|
|
|
|
|
queryFrom.value = { ...val };
|
|
|
|
|
pageData.pageConfiger.pageCurrent = 1;
|
|
|
|
|
getList();
|
|
|
|
|
};
|
2025-06-04 17:27:57 +08:00
|
|
|
|
// 详情
|
|
|
|
|
const infoList = (type, row) => {
|
|
|
|
|
detailDiloag.value.init(type, row);
|
|
|
|
|
};
|
2025-05-21 10:24:02 +08:00
|
|
|
|
const changeNo = (val) => {
|
|
|
|
|
pageData.pageConfiger.pageNum = val;
|
|
|
|
|
getList();
|
|
|
|
|
};
|
|
|
|
|
const changeSize = (val) => {
|
|
|
|
|
pageData.pageConfiger.pageSize = val;
|
|
|
|
|
getList();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 获取列表
|
|
|
|
|
const getList = (val) => {
|
2025-06-04 17:27:57 +08:00
|
|
|
|
pageData.tableConfiger.loading = true;
|
2025-05-21 10:24:02 +08:00
|
|
|
|
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
2025-06-04 17:27:57 +08:00
|
|
|
|
let url = "/mosty-gsxt/tbGsxtZdqt/selectPage";
|
|
|
|
|
qcckGet(data, url)
|
|
|
|
|
.then((res) => {
|
|
|
|
|
pageData.tableData = res.records || [];
|
|
|
|
|
pageData.total = res.total;
|
|
|
|
|
pageData.tableConfiger.loading = false;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
pageData.tableConfiger.loading = false;
|
|
|
|
|
});
|
2025-05-21 10:24:02 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 详情
|
|
|
|
|
const addEdit = (type, row) => {
|
2025-06-04 17:27:57 +08:00
|
|
|
|
editFormDiloag.value.init(type, row);
|
2025-05-21 10:24:02 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 表格高度计算
|
|
|
|
|
const tabHeightFn = () => {
|
|
|
|
|
pageData.tableHeight =
|
|
|
|
|
window.innerHeight - searchBox.value.offsetHeight - 250;
|
|
|
|
|
window.onresize = function () {
|
|
|
|
|
tabHeightFn();
|
|
|
|
|
};
|
|
|
|
|
};
|
2025-06-04 17:27:57 +08:00
|
|
|
|
defineExpose({ infoList });
|
2025-05-21 10:24:02 +08:00
|
|
|
|
</script>
|
2025-06-04 17:27:57 +08:00
|
|
|
|
|
|
|
|
|
<style>
|
2025-05-21 10:24:02 +08:00
|
|
|
|
.el-loading-mask {
|
|
|
|
|
background: rgba(0, 0, 0, 0.5) !important;
|
|
|
|
|
}
|
2025-06-04 17:27:57 +08:00
|
|
|
|
.rowClass {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2025-05-21 10:24:02 +08:00
|
|
|
|
</style>
|