From f25fc6ef154e4b56920941a18916657d59a42065 Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Mon, 7 Jul 2025 19:47:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=8B=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/aboutTable/FormMessage.vue | 5 +- .../mpvGroup/components/addForm.vue | 8 +- .../DeploymentDisposal/mpvGroup/index.vue | 135 +--- .../mpvPeo/components/TagSelectorDialog.vue | 1 - .../mpvPeo/components/addForm.vue | 246 ++----- .../mpvPeo/components/infoForm.vue | 662 ------------------ .../DeploymentDisposal/mpvPeo/index.vue | 280 ++------ .../ResearchJudgment/ResearchHome/index.vue | 1 - 8 files changed, 124 insertions(+), 1214 deletions(-) delete mode 100644 src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/components/infoForm.vue diff --git a/src/components/aboutTable/FormMessage.vue b/src/components/aboutTable/FormMessage.vue index 8b52f5e..66bdc6c 100644 --- a/src/components/aboutTable/FormMessage.vue +++ b/src/components/aboutTable/FormMessage.vue @@ -8,13 +8,12 @@ label-position="right" > 重点群体管理
- 保存 + 保存 关闭
diff --git a/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/index.vue b/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/index.vue index 1aaa551..8eee951 100644 --- a/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/index.vue +++ b/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/index.vue @@ -2,26 +2,30 @@
- - {{ it }} + + +
+ 列控申请 + 变更申请 + 管控申请 + 协控申请 +
+
+ 指定分配 + 转线索 + 移交管控 新增 - - - 批量删除 -
- +
@@ -66,7 +70,6 @@
创建单位:{{ row.xtCjbmmc }}
@@ -163,129 +94,47 @@ import MyTable from "@/components/aboutTable/MyTable.vue"; import FormMessage from "@/components/aboutTable/FormMessage.vue"; import { qcckGet, qcckPost, qcckPut } from "@/api/qcckApi.js"; import TagSelectorDialog from "./TagSelectorDialog.vue"; -import * as rule from "@/utils/rules.js"; -import { - ref, - defineExpose, - reactive, - onMounted, - defineEmits, - getCurrentInstance, - nextTick -} from "vue"; +import { ref, defineExpose, reactive, onMounted, defineEmits, getCurrentInstance, nextTick } from "vue"; import { selectUserDeptPage } from "@/api/user-manage"; const emit = defineEmits(["updateDate"]); - const props = defineProps({ dic: Object }); const { proxy } = getCurrentInstance(); - -const { - D_GS_BK_SSJZ, - D_GS_ZDR_RYJB, - D_GS_SSYJ, - D_GS_BQ_DJ, - D_BZ_XZQHDM, - D_BZ_MZ, - D_BZ_XB, - D_GS_ZDR_CZZT, - D_GS_BQ_ZL, - D_GS_BQ_LB, - D_GS_BQ_LX, - D_GS_ZDR_YJDJ -} = proxy.$dict( - "D_GS_BK_SSJZ", - "D_GS_ZDR_RYJB", - "D_GS_SSYJ", - "D_GS_BQ_DJ", - "D_BZ_XZQHDM", - "D_BZ_MZ", - "D_BZ_XB", - "D_GS_ZDR_CZZT", - "D_GS_BQ_ZL", - "D_GS_BQ_LB", - "D_GS_BQ_LX", - "D_GS_ZDR_YJDJ" -); //获取字典数据 const tagDialog = ref(); + const dialogForm = ref(false); //弹窗 const formData = ref([ { label: "", prop: "basic", type: "slot", width: "100%" }, { label: "姓名", prop: "ryXm", type: "input" }, - { label: "性别", prop: "ryXb", type: "select", options: D_BZ_XB }, - { label: "民族", prop: "ryMz", type: "select", options: D_BZ_MZ }, + { label: "性别", prop: "ryXb", type: "select", options: props.dic.D_BZ_XB }, + { label: "民族", prop: "ryMz", type: "select", options: props.dic.D_BZ_MZ }, { label: "身份证号", prop: "rySfzh", type: "input" }, { label: "联系电话", prop: "ryLxdh", type: "input" }, { label: "出生日期", prop: "ryCsrq", type: "date" }, - { label: "籍贯", prop: "ryJg", type: "select", options: D_BZ_XZQHDM }, - { - label: "级别", - prop: "zdrRyjb", - type: "select", - options: D_GS_ZDR_RYJB - }, - { - label: "预警等级", - prop: "zdrYjdj", - type: "select", - options: D_GS_ZDR_YJDJ - }, + { label: "籍贯", prop: "ryJg", type: "select", options: props.dic.D_BZ_XZQHDM }, + { label: "级别", prop: "zdrRyjb", type: "select", options: props.dic.D_GS_ZDR_RYJB }, + { label: "预警等级", prop: "zdrYjdj", type: "select", options: props.dic.D_GS_ZDR_YJDJ }, { label: "", prop: "address", type: "slot", width: "100%" }, - { label: "户籍地区划", prop: "hjdQh", type: "select", options: D_BZ_XZQHDM }, + { label: "户籍地区划", prop: "hjdQh", type: "select", options: props.dic.D_BZ_XZQHDM }, { label: "户籍地详址", prop: "hjdXz", type: "input" }, - { - label: "户籍地派出所", - prop: "hjdPcsdm", - type: "slot" - }, - { label: "现住地区划", prop: "xzdQh", type: "select", options: D_BZ_XZQHDM }, + { label: "户籍地派出所", prop: "hjdPcsdm", type: "slot" }, + { label: "现住地区划", prop: "xzdQh", type: "select", options: props.dic.D_BZ_XZQHDM }, { label: "现住地详址", prop: "xzdXz", type: "input" }, - { - label: "现住地派出所", - prop: "xzdPcsdm", - type: "slot" - }, + { label: "现住地派出所", prop: "xzdPcsdm", type: "slot" }, { label: "", prop: "jurisdiction", type: "slot", width: "100%" }, - { - label: "管辖单位", - prop: "gxSsbmdm", - type: "slot" - }, - { - label: "诉求单位", - prop: "sqSsbmdm", - type: "slot" - }, - { - label: "责任单位", - prop: "zrSsbmdm", - type: "slot" - }, - { label: "所属警种", prop: "zdrSsjz", type: "select", options: D_GS_BK_SSJZ }, - { - label: "涉及警种", - prop: "zdrSjjz", - type: "select", - options: D_GS_BK_SSJZ, - multiple: true - }, + { label: "管辖单位", prop: "gxSsbmdm", type: "slot" }, + { label: "诉求单位", prop: "sqSsbmdm", type: "slot" }, + { label: "责任单位", prop: "zrSsbmdm", type: "slot" }, + { label: "所属警种", prop: "zdrSsjz", type: "select", options: props.dic.D_GS_BK_SSJZ }, + { label: "涉及警种", prop: "zdrSjjz", type: "select", options: props.dic.D_GS_BK_SSJZ, multiple: true }, { label: "管控民警姓名", prop: "gkMjXm", type: "input" }, { label: "管控民警警号", prop: "gkMjJh", type: "input" }, { label: "管控原因", prop: "zdrLkyy", type: "textarea", width: "100%" }, { label: "", prop: "status", type: "slot", width: "100%" }, - { - label: "处置状态", - prop: "zdrCzzt", - type: "select", - options: D_GS_ZDR_CZZT - }, - + { label: "处置状态", prop: "zdrCzzt", type: "select", options: props.dic.D_GS_ZDR_CZZT }, { label: "入库开始时间", prop: "zdrRkkssj", type: "datetime" }, { label: "入库结束时间", prop: "zdrRkjssj", type: "datetime" }, - - // { label: "人员标签大类", prop: "bqdl", type: "select", options: [] }, - // { label: "人员标签细类", prop: "bqxl", type: "select", options: [] }, { label: "", prop: "bqInfo", type: "slot", width: "100%" }, { label: "标签列表", prop: "bqList", type: "slot", width: "80%" } ]); @@ -322,7 +171,6 @@ const title = ref(""); const rules = reactive({ xsbt: [{ required: true, message: "请输入线索标题", trigger: "blur" }] }); -const editpeo = ref(); onMounted(() => { getdepartmentList(); }); @@ -353,19 +201,13 @@ const getdepartmentList = () => { const submit = () => { elform.value.submit((data) => { data.zdrSjjz = data.zdrSjjz.join(","); - let url = - title.value == "新增" - ? "/mosty-gsxt/tbGsxtZdry/save" - : "/mosty-gsxt/tbGsxtZdry/update"; + let url = title.value == "新增" ? "/mosty-gsxt/tbGsxtZdry/save" : "/mosty-gsxt/tbGsxtZdry/update"; let params = { ...data }; - - qcckPost(params, url) - .then((res) => { - proxy.$message({ type: "success", message: title.value + "成功" }); - emit("onSearch"); - close(); - }) - .catch(() => {}); + qcckPost(params, url).then((res) => { + proxy.$message({ type: "success", message: title.value + "成功" }); + emit("onSearch"); + close(); + }).catch(() => {}); }); }; // 打开弹窗 @@ -378,9 +220,7 @@ const openDialog = (type) => { const handleDeptChange = (nameField, selectedValue) => { // 找到选中的部门 - const selectedDept = deptList.value.find( - (item) => item.value.toString() === selectedValue - ); + const selectedDept = deptList.value.find((item) => item.value.toString() === selectedValue ); // 更新名称 listQuery.value[nameField] = selectedDept ? selectedDept.label : ""; }; @@ -428,10 +268,12 @@ defineExpose({ init, setFormData }); diff --git a/src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/index.vue b/src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/index.vue index fce8ec6..c7e467e 100644 --- a/src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/index.vue +++ b/src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/index.vue @@ -2,26 +2,30 @@
- - {{ it }} + + +
+ 列控申请 + 变更申请 + 管控申请 + 协控申请 +
+
+ 指定分配 + 转线索 + 移交管控 新增 - - - 批量删除 -
- +
@@ -39,84 +43,39 @@
  • 姓名:{{ row.ryXm }}
  • -
  • - 性别: - -
  • -
  • - 籍贯: - -
  • +
  • 性别:
  • +
  • 籍贯:
  • 身份证:{{ row.rySfzh }}
  • 出生日期:{{ row.ryCsrq }}
  • -
  • - 民族: - -
  • +
  • 民族:
- - {{ item.bqMc }} + {{ item.bqMc }}
- - +
@@ -140,45 +98,14 @@ 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"; -import addForm from "./components/addForm.vue"; -import DetailForm from "./components/infoForm.vue"; - -import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js"; -import { reactive, ref, onMounted, getCurrentInstance } from "vue"; import AddForm from "./components/addForm.vue"; +import { qcckGet } from "@/api/qcckApi.js"; +import { reactive, ref, onMounted, getCurrentInstance } from "vue"; const { proxy } = getCurrentInstance(); -const { - D_GS_BK_SSJZ, - D_GS_ZDR_RYJB, - D_BZ_XB, - D_BZ_MZ, - D_BZ_XZQHDM, - D_GS_ZDR_BK_ZT, - D_GS_ZDR_CZZT -} = proxy.$dict( - "D_GS_BK_SSJZ", - "D_GS_ZDR_RYJB", - "D_BZ_XB", - "D_BZ_MZ", - "D_BZ_XZQHDM", - "D_GS_ZDR_BK_ZT", - "D_GS_ZDR_CZZT" -); //获取字典数据 -const detailDiloag = ref(); +const {D_GS_ZDR_RYJB,D_BZ_XB,D_BZ_MZ,D_BZ_XZQHDM,D_GS_ZDR_BK_ZT,D_GS_ZDR_CZZT,D_GS_BQ_ZL,D_GS_BQ_LB,D_GS_BQ_LX,D_GS_ZDR_YJDJ,D_GS_BK_SSJZ } = proxy.$dict("D_GS_ZDR_RYJB","D_BZ_XB","D_BZ_MZ","D_BZ_XZQHDM","D_GS_ZDR_BK_ZT","D_GS_ZDR_CZZT","D_GS_BQ_ZL","D_GS_BQ_LB","D_GS_BQ_LX","D_GS_ZDR_YJDJ","D_GS_BK_SSJZ"); +const show = ref(false); const addFormDiloag = ref(); const searchBox = ref(); //搜索框 -const btns = reactive([ - "一键布控", - "维护群体", - "矛盾化解", - "转指令", - "转线索", - "转督导", - "转合成", - "移交管控", - "批量导入", - "导出" -]); const searchConfiger = ref([ { label: "姓名", @@ -198,36 +125,6 @@ const searchConfiger = ref([ placeholder: "请输入户籍地", showType: "input" }, - { - label: "户籍地派出所", - prop: "hjdPcsdm", - placeholder: "请输入户籍地派出所", - showType: "input" - }, - { - label: "现居地", - prop: "xzdXz", - placeholder: "请输入现居地", - showType: "input" - }, - { - label: "现居地派出所", - prop: "xzdPcsmc", - placeholder: "请输入现居地派出所", - showType: "input" - }, - { - label: "入库开始时间", - prop: "startTime", - placeholder: "请选择入库开始时间", - showType: "date" - }, - { - label: "入库结束时间", - prop: "endTime", - placeholder: "请输入入库结束时间", - showType: "date" - }, { label: "人员级别", prop: "zdrRyjb", @@ -235,89 +132,14 @@ const searchConfiger = ref([ showType: "select", options: D_GS_ZDR_RYJB }, - { - label: "所属警种", - prop: "zdrSsjz", - placeholder: "请选择所属警种", - showType: "select", - options: D_GS_BK_SSJZ - }, - { - label: "管辖单位", - prop: "gxSsbmmc", - placeholder: "请选择管辖单位", - showType: "input" - }, - { - label: "涉及警种", - prop: "zdrSjjz", - placeholder: "请选择涉及警种", - showType: "select", - options: D_GS_BK_SSJZ, - multiple: true - }, - { - label: "管辖民警姓名", - prop: "gkMjXm", - placeholder: "请输入管辖民警姓名", - showType: "input" - }, - { - label: "管辖民警警号", - prop: "gkMjJh", - placeholder: "请输入管辖民警警号", - showType: "input" - }, - { - label: "管辖民警联系方式", - prop: "gkMjLxfs", - placeholder: "请输入管辖民警联系方式", - showType: "input" - }, - { - label: "管辖原因", - prop: "zdrLkyy", - placeholder: "请输入管辖原因", - showType: "input" - }, - { - label: "被管控人联系方式", - prop: "ryLxdh", - placeholder: "请输入被管控人联系方式", - showType: "input" - }, - { - label: "责任单位", - prop: "zrSsbmmc", - placeholder: "请选择责任单位", - showType: "input" - }, - { - label: "人员标签大类", - prop: "bqDl", - placeholder: "请选择人员标签大类", - showType: "select" - }, - { - label: "人员标签细类", - prop: "bqXl", - placeholder: "请选择人员标签细类", - showType: "select" - } ]); const pageData = reactive({ - tableData: [ - { - img: "", - jbxx: "", - wkrs: "1/5" - } - ], + tableData: [], keyCount: 0, tableConfiger: { rowHieght: 61, - showSelectType: "checkBox", + showSelectType: "null", loading: false }, total: 0, @@ -342,12 +164,6 @@ onMounted(() => { tabHeightFn(); }); -//选择类型 -const handleType = (val) => { - pageData.keyCount++; - pageData.pageConfiger.pageCurrent = 1; - getList(); -}; // 搜索 const onSearch = (val) => { queryFrom.value = { ...val }; @@ -368,30 +184,26 @@ const changeSize = (val) => { const getList = (val) => { pageData.tableConfiger.loading = true; let data = { ...pageData.pageConfiger, ...queryFrom.value }; - let url = "/mosty-gsxt/tbGsxtZdry/selectPage"; - qcckGet(data, url) - .then((res) => { - pageData.tableData = res.records || []; - pageData.total = res.total; - pageData.tableConfiger.loading = false; - }) - .catch(() => { - pageData.tableConfiger.loading = false; - }); + qcckGet(data, "/mosty-gsxt/tbGsxtZdry/selectPage").then((res) => { + pageData.tableData = res.records || []; + pageData.total = res.total; + pageData.tableConfiger.loading = false; + }).catch(() => { + pageData.tableConfiger.loading = false; + }); }; //新增编辑 const addEdit = (type, row) => { - addFormDiloag.value.init(type, row); -}; -// 详情 -const infoList = (type, row) => { - detailDiloag.value.init(type, row); + show.value = true; + setTimeout(() => { + addFormDiloag.value.init(type, row); + },400); }; + // 表格高度计算 const tabHeightFn = () => { - pageData.tableHeight = - window.innerHeight - searchBox.value.offsetHeight - 250; + pageData.tableHeight = window.innerHeight - searchBox.value.offsetHeight - 250; window.onresize = function () { tabHeightFn(); }; diff --git a/src/views/backOfficeSystem/ResearchJudgment/ResearchHome/index.vue b/src/views/backOfficeSystem/ResearchJudgment/ResearchHome/index.vue index 4051ef9..f39f519 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/ResearchHome/index.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/ResearchHome/index.vue @@ -52,7 +52,6 @@ >