From 6dcd327ac9addfa59232186a705c78c33ca40369 Mon Sep 17 00:00:00 2001 From: jy <1052480693@qq.com> Date: Tue, 17 Jun 2025 20:04:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../aboutTable/TagSelectorDialog.vue | 15 +- src/router/index.js | 24 +- .../DeploymentDisposal/autompvGroup/index.vue | 10 +- .../components/TagSelectorDialogPeo.vue | 30 +- .../mpvGroup/components/addForm.vue | 89 ++- .../mpvGroup/components/addFormPeo.vue | 170 +++-- .../mpvGroup/components/selectionList.vue | 2 +- .../DeploymentDisposal/mpvGroup/index.vue | 16 +- .../mpvPeo/components/TagSelectorDialog.vue | 32 +- .../mpvPeo/components/addForm.vue | 169 +++-- .../mpvPeo/components/infoForm.vue | 422 +++++++---- .../DeploymentDisposal/mpvPeo/index.vue | 12 +- .../ExcavationResearch/LandingAudit/index.vue | 95 ++- .../components/IntelligentParsing.vue | 217 ++++++ .../components/addForm.vue | 149 ++++ .../PreliminaryExcavations/index.vue | 261 +++++-- .../ZdryFjyp/components/deepIn.vue | 688 +++++++++++------- .../ExcavationResearch/ZdryFjyp/index.vue | 419 +++++++---- .../CollectCrculate/components/addForm.vue | 36 +- .../CollectCrculate/components/dialogList.vue | 6 +- .../CollectCrculate/index.vue | 2 +- .../TaskScheduling/components/addForm.vue | 19 +- .../TaskScheduling/index.vue | 4 +- .../components/addForm.vue | 637 +++++++++++----- .../components/dialogList.vue | 229 ++++++ vue.config.js | 2 +- 26 files changed, 2723 insertions(+), 1032 deletions(-) create mode 100644 src/views/backOfficeSystem/ExcavationResearch/PreliminaryExcavations/components/IntelligentParsing.vue create mode 100644 src/views/backOfficeSystem/ExcavationResearch/PreliminaryExcavations/components/addForm.vue create mode 100644 src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/dialogList.vue diff --git a/src/components/aboutTable/TagSelectorDialog.vue b/src/components/aboutTable/TagSelectorDialog.vue index ee8fcad..3c7abe9 100644 --- a/src/components/aboutTable/TagSelectorDialog.vue +++ b/src/components/aboutTable/TagSelectorDialog.vue @@ -40,13 +40,15 @@ width="55" :reserve-selection="true" /> + + - + @@ -59,13 +61,12 @@ /> - - + diff --git a/src/router/index.js b/src/router/index.js index 169726d..0ef4864 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -396,18 +396,6 @@ export const publicRoutes = [ name: "ExcavationResearch", meta: { title: "重点人发掘研判", icon: "article" }, children: [ - { - path: "/ZdryFjyp", - name: "ZdryFjyp", - component: () => - import( - "@/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index" - ), - meta: { - title: "重点人员发掘研判", - icon: "article" - } - }, { path: "/PreliminaryExcavations", name: "PreliminaryExcavations", @@ -420,6 +408,18 @@ export const publicRoutes = [ icon: "article" } }, + { + path: "/ZdryFjyp", + name: "ZdryFjyp", + component: () => + import( + "@/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index" + ), + meta: { + title: "重点人员深度发掘", + icon: "article" + } + }, { path: "/LandingAudit", name: "LandingAudit", diff --git a/src/views/backOfficeSystem/DeploymentDisposal/autompvGroup/index.vue b/src/views/backOfficeSystem/DeploymentDisposal/autompvGroup/index.vue index 9661dd1..14b87fe 100644 --- a/src/views/backOfficeSystem/DeploymentDisposal/autompvGroup/index.vue +++ b/src/views/backOfficeSystem/DeploymentDisposal/autompvGroup/index.vue @@ -90,9 +90,13 @@
- 涉恐群体 - 涉稳群体 - 讨薪群体 + + {{ item.bqMc }}
- - + @@ -94,13 +94,14 @@ :row-key="keyid" style="width: 100%" > + - + @@ -113,13 +114,12 @@ /> - - + @@ -212,7 +212,6 @@ const multipleUserRef = ref(null); const emits = defineEmits(["update:modelValue", "chooseDate"]); const type = ref("标签大类"); onMounted(() => { - tabs.value = props.dic.D_GS_BQ_ZL; activeTab.value = tabs.value?.[0]?.dm || "01"; handleFilter(); @@ -245,7 +244,6 @@ const onComfirm = () => { }; //数据回显 const setValues = (list) => { - selectedData.value = list.map((item) => { // 统一id字段处理逻辑 if (item.bqId) { diff --git a/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/components/addForm.vue b/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/components/addForm.vue index 4bbfa16..3e746d5 100644 --- a/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/components/addForm.vue +++ b/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/components/addForm.vue @@ -160,6 +160,40 @@ + + + + @@ -221,6 +262,8 @@ import addFormPeo from "./addFormPeo.vue"; import ApprovalInfo from "./approvalInfo.vue"; import { qcckGet, qcckPost, qcckPut } from "@/api/qcckApi.js"; import * as rule from "@/utils/rules.js"; +import TagSelectorDialog from "./TagSelectorDialogPeo.vue"; + import { ref, defineExpose, @@ -244,7 +287,10 @@ const { D_BZ_MZ, D_BZ_XZQHDM, D_GS_ZDR_BK_ZT, - D_GS_ZDR_CZZT + D_GS_ZDR_CZZT, + D_GS_BQ_ZL, + D_GS_BQ_LB, + D_GS_BQ_LX } = proxy.$dict( "D_BZ_SF", "D_GS_ZDQT_FXDJ", @@ -254,9 +300,13 @@ const { "D_BZ_MZ", "D_BZ_XZQHDM", "D_GS_ZDR_BK_ZT", - "D_GS_ZDR_CZZT" + "D_GS_ZDR_CZZT", + "D_GS_BQ_ZL", + "D_GS_BQ_LB", + "D_GS_BQ_LX" ); //获取字典数据 const dialogTitle = ref("新增信息"); //弹窗标题 +const tagDialog = ref(); const roleIds = ref([]); //选择角色 const selectroleId = ref([]); //选择角色 @@ -285,7 +335,9 @@ const formData = ref([ { label: "联系人", prop: "gkMjXm", type: "input" }, { label: "联系方式", prop: "gkMjLxfs", type: "input" }, { label: "", prop: "xzRy", type: "slot", width: "100%" }, - { label: "", prop: "spXx", type: "slot", width: "100%" } + { label: "", prop: "spXx", type: "slot", width: "100%" }, + { label: "", prop: "bqInfo", type: "slot", width: "100%" }, + { label: "标签列表", prop: "bqList", type: "slot", width: "80%" } ]); //人员信息 const pageData = reactive({ @@ -317,6 +369,7 @@ const addFormDiloag = ref(); //两群信息表格,重点人标签表格 const tableDate = reactive({ lqxxList: [], //两群信息表格数据 + bqList: [], //标签表格数据 tableConfiger: { rowHieght: 30, showSelectType: "null", @@ -336,6 +389,13 @@ const tableDate = reactive({ { label: "联系人电话", prop: "qzLxdh" }, { label: "群重要内容", prop: "qZynr" }, { label: "操作", prop: "controls", showSolt: true } + ], + tableColumn: [ + { label: "标签名称", prop: "bqMc" }, + { label: "标签代码", prop: "bqDm" }, + { label: "标签种类", prop: "bqZl", showSolt: true }, + { label: "标签类型", prop: "bqLx", showSolt: true }, + { label: "标签类别", prop: "bqLb", showSolt: true } ] }); const chooseShow = ref(false); //选择弹窗 @@ -362,7 +422,6 @@ const init = async (type, row) => { await nextTick(); // 等待子组件挂载 title.value = type == "add" ? "新增" : "编辑"; if (row) getDataById(row.id); - console.log(type, row); if (type === "edit" && row) { addFormDiloag.value?.setFormData?.(row); // 回显布控信息 approvalInfoRef.value?.setFormData?.(row); // 回显审批信息 @@ -372,12 +431,26 @@ const init = async (type, row) => { approvalInfoRef.value?.resetForm?.(); } }; + +const handleTagSelect = (selectedTags) => { + tableDate.bqList = selectedTags.map((item) => ({ + bqDm: item.bqDm || "", + bqId: item.bqId || "", + bqLb: item.bqLb || "", + bqLx: item.bqLx || "", + bqMc: item.bqMc || "", + bqZl: item.bqZl || "" + })); + listQuery.value.bqList = tableDate.bqList; + // 每个标签包含: bqDm, bqId, bqLb, bqLx, bqMc, bqZl 属性 +}; // 根据id查询详情 const getDataById = (id) => { qcckGet({}, "/mosty-gsxt/tbGsxtZdqt/selectVoById/" + id).then((res) => { listQuery.value = res; pageData.tableData = res.zdryList; tableDate.lqxxList = res.lqxxList; + tableDate.bqList = res.bkdxList; }); }; const handleAddEdit = (type, row) => { @@ -393,6 +466,14 @@ const openDialog = (type) => { chooseType.value = type; chooseTitle.value = "请录入两群信息"; }; + +// 打开弹窗 +const open = (type) => { + choose.value = true; + nextTick(() => { + tagDialog.value.setValues(listQuery.value.bqList); + }); +}; // 选择数据 const chooseDate = (data) => { tableDate.lqxxList.push(data); diff --git a/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/components/addFormPeo.vue b/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/components/addFormPeo.vue index ecc45c6..9bad082 100644 --- a/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/components/addFormPeo.vue +++ b/src/views/backOfficeSystem/DeploymentDisposal/mpvGroup/components/addFormPeo.vue @@ -20,6 +20,21 @@ ref="elform" :rules="rules" > + + + + + - + - + - + - + - + - - + diff --git a/src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/components/addForm.vue b/src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/components/addForm.vue index a8d9a6a..850591c 100644 --- a/src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/components/addForm.vue +++ b/src/views/backOfficeSystem/DeploymentDisposal/mpvPeo/components/addForm.vue @@ -20,6 +20,21 @@ ref="elform" :rules="rules" > + + + + + - + - + - + - + - + + + @@ -260,6 +256,16 @@ const getDataById = (id) => { tableDate.xsList = listQuery.value.xsList; }); }; +//解除关联 +const relevancyClue = (row) => { + qcckPut({ id: row.id }, "/mosty-gsxt/tbGsxtRlqbRwdd/cancelXsGl/{id}").then( + (res) => { + tableDate.xsList = tableDate.xsList.filter((item) => item.id !== row.id); + listQuery.value.xsList = tableDate.xsList.map((item) => item.id); + proxy.$message({ type: "success", message: "解除关联成功" }); + } + ); +}; // 获取部门列表 const getdepartmentList = () => { @@ -323,7 +329,6 @@ const close = () => { }; // 删除 const delDictItem = (id) => { - console.log(id, "删除", tableDate.xsList); tableDate.xsList = tableDate.xsList.filter((item) => item.id !== id); listQuery.value.xsList = tableDate.xsList.map((item) => item.id); }; diff --git a/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index.vue b/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index.vue index 76ccf1d..68c04b1 100644 --- a/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/TaskScheduling/index.vue @@ -26,7 +26,7 @@ diff --git a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/addForm.vue b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/addForm.vue index 9314c12..4d109b5 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/addForm.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/addForm.vue @@ -3,194 +3,378 @@
新增
+ 保存 关闭
-
- + - 基础信息 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 标签信息 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - + + + + + + + - 涉及人员 - - - - - - - - - - - - - - 审批信息 - - - - - - - - - - - - - - - - - - - - - - - + + + +
@@ -219,4 +502,10 @@ defineExpose({ init }); overflow-y: auto; } } +.boxlist { + width: 99%; + height: 225px; + margin-top: 10px; + overflow: hidden; +} diff --git a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/dialogList.vue b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/dialogList.vue new file mode 100644 index 0000000..ae7c0e4 --- /dev/null +++ b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/dialogList.vue @@ -0,0 +1,229 @@ + + + + + + diff --git a/vue.config.js b/vue.config.js index 61e5644..075373d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -4,7 +4,7 @@ function resolve(dir) { return path.join(__dirname, dir); } -const serverHost = "http://192.168.31.232:8006" +const serverHost = "http://192.168.31.233:8006" module.exports = { publicPath: "./", outputDir: "ylth",