This commit is contained in:
2025-07-17 12:02:43 +08:00
parent ba54ca1efb
commit 6367754737

View File

@ -49,13 +49,16 @@
</template>
<template #czfs="{ row }">
<div>
关注<DictTag :tag="false" style="display: inline" :value="row.sfGz" :options="D_BZ_SF" />&nbsp;
关注
<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;
布控人员
<DictTag :tag="false" style="display: inline" :value="row.sfZbkry" :options="D_BZ_SF" />&nbsp;
</div>
<div>
重点人员<DictTag :tag="false" style="display: inline" :value="row.sfZzdry" :options="D_BZ_SF" />
重点人员
<DictTag :tag="false" style="display: inline" :value="row.sfZzdry" :options="D_BZ_SF" />
</div>
</template>
</MyTable>
@ -92,7 +95,8 @@ import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue";
import { qcckPost } from "@/api/qcckApi.js";
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 chooselx = ref("");
const isShow = ref(false);
@ -208,7 +212,7 @@ const chooseDataBottom = (val) => {
if (Array.isArray(val)) {
ids.value = val.map((item) => item.id);
chooseList.value = val.filter((v) => {
if (v.sfZzdry != 1) return v;
if (v.sfZzdry == 1) return v;
});
} else {
if (!val.rySfzh) {
@ -217,8 +221,7 @@ const chooseDataBottom = (val) => {
stepList.value = [];
modelLoading.value = true;
let params = { pageSize: 1000, pageNum: 1, yjRysfzh: val.rySfzh };
qcckPost(params, "/mosty-jmxf/tbYjxx/getPageList")
.then((res) => {
qcckPost(params, "/mosty-jmxf/tbYjxx/getPageList").then((res) => {
stepList.value = res.records || [];
modelLoading.value = false;
})
@ -234,12 +237,9 @@ const chooseType = (val) => {
if (ids.value.length == 0) return ElMessage.warning("请选择对应的数据");
switch (val) {
case "布控":
proxy
.$confirm("确定要布控", "警告", { type: "warning" })
.then(() => {
proxy.$confirm("确定要布控", "警告", { type: "warning" }).then(() => {
let params = { ids: ids.value, sfbk: "1" };
qcckPost(params, "/mosty-gsxt/tbGsxtRqfjRy/updateBySfbkpz").then(
(res) => {
qcckPost(params, "/mosty-gsxt/tbGsxtRqfjRy/updateBySfbkpz").then((res) => {
ElMessage.success("布控成功");
getList();
}