From 73ad4b3bb6f695c302efe9238bfad2f98af01dfc Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Sun, 6 Jul 2025 18:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/detailForm.vue | 94 ++++++--- .../components/xslist.vue | 190 ++++++++++++++++++ .../InstructionInformation/index.vue | 98 ++++----- .../components/zlForm.vue | 92 +++++++++ .../IntelligenceManagement/index.vue | 15 +- 5 files changed, 398 insertions(+), 91 deletions(-) create mode 100644 src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/xslist.vue create mode 100644 src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/zlForm.vue diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue index c34dcd1..d10e275 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/components/detailForm.vue @@ -8,12 +8,22 @@
- + + +
+ + + + + diff --git a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index.vue b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index.vue index 57f1954..82d4f72 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/InformationFlows/InstructionInformation/index.vue @@ -6,14 +6,6 @@ 新增 - - - 批量删除 - - - - 批量处置 - @@ -29,20 +21,17 @@ :key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth" - @chooseData="chooseData"> - - @@ -71,28 +60,22 @@ import { reactive, ref, onMounted, getCurrentInstance } from "vue"; const { proxy } = getCurrentInstance(); const detailDiloag = ref(); const searchBox = ref(); //搜索框 - +const {D_GS_XS_SJLY,D_GS_XS_ZLLX,D_GS_ZDQT_FXDJ,D_GS_XS_CZZT} = proxy.$dict('D_GS_XS_SJLY','D_GS_XS_ZLLX','D_GS_ZDQT_FXDJ','D_GS_XS_CZZT') const searchConfiger = ref([ - { label: "指令标题", prop: 'instructionTitle', placeholder: "请输入指令标题", showType: "input" }, - { label: "督办对象", prop: 'supervisoryObject', placeholder: "请输入督办对象", showType: "input" }, - { label: "指令类型", prop: 'instructionType', placeholder: "请选择指令类型", showType: "input" }, - { label: "指令等级", prop: 'instructionLevel', placeholder: "请选择指令等级", showType: "input" }, - { label: "指令来源", prop: 'instructionSource', placeholder: "请输入指令来源", showType: "input" }, - { label: "处置状态", prop: 'processingStatus', placeholder: "请选择处置状态", showType: "input" }, - { label: "数据来源", prop: 'dataSource', placeholder: "请输入数据来源", showType: "input" }, - { label: "反馈截止时间", prop: 'feedbackDeadline', placeholder: "请选择反馈截止时间", showType: "input" }, - { label: "指令流向", prop: 'instructionFlow', placeholder: "请输入指令流向", showType: "input" }, + { label: "指令标题", prop: 'zlbt', placeholder: "请输入指令标题", showType: "input" }, + { label: "指令类型", prop: 'zllx', placeholder: "请选择指令类型", showType: "select",options:D_GS_XS_ZLLX }, + { label: "指令等级", prop: 'zldj', placeholder: "请选择指令等级", showType: "select" ,options:D_GS_ZDQT_FXDJ}, + { label: "处置状态", prop: 'czzt', placeholder: "请选择处置状态", showType: "select" ,options:D_GS_XS_CZZT}, + { label: "反馈截止时间", prop: 'jssj', placeholder: "请选择反馈截止时间", showType: "datetime" }, ]); const queryFrom = ref({}); const pageData = reactive({ - tableData: [ - {id: 1, instructionFlow: '本级发起', instructionTitle: '关于XX的指令', urgencyLevel: '紧急', informationSource: '信息来源', workingStatus: '工作中', supervisoryObject: '督办对象', instructionLevel: '一级', feedbackPosition: '反馈位置', feedbackDeadline: '2024-01-20', receivedNumber: 5, unreceivedNumber: 2, processingStatus: '已处理', status: '已完成'}, - ], + tableData: [], keyCount: 0, tableConfiger: { rowHieght: 61, - showSelectType: "checkBox", + showSelectType: "null", loading: false }, total: 0, @@ -102,19 +85,10 @@ const pageData = reactive({ }, controlsWidth: 180, tableColumn: [ - { label: '指令流向', prop: 'instructionFlow' }, - { label: '指令标题', prop: 'instructionTitle' }, - { label: '紧急程度', prop: 'urgencyLevel', width: 100 }, - { label: '信息来源', prop: 'informationSource' }, - { label: '工作状态', prop: 'workingStatus', width: 100 }, - { label: '督办对象', prop: 'supervisoryObject' }, - { label: '指令等级', prop: 'instructionLevel', width: 100 }, - { label: '反馈位置', prop: 'feedbackPosition' }, - { label: '反馈截止时间', prop: 'feedbackDeadline', width: 120 }, - { label: '发送人数', prop: 'receivedNumber', width: 100 }, - { label: '未接收人数', prop: 'unreceivedNumber', width: 100 }, - { label: '处置状态', prop: 'processingStatus', width: 100 }, - { label: '状态', prop: 'status', width: 100 }, + { label: '指令标题', prop: 'zlbt' }, + { label: '指令等级', prop: 'zldj',showSolt:true }, + { label: '反馈截止时间', prop: 'jssj' }, + { label: '处置状态', prop: 'czzt',showSolt:true }, ] }); @@ -123,12 +97,6 @@ onMounted(() => { tabHeightFn(); }); -//选择类型 -const handleType = (val) => { - pageData.keyCount++; - pageData.pageConfiger.pageCurrent = 1; - getList() -} // 搜索 const onSearch = (val) =>{ queryFrom.value = {...val} @@ -147,14 +115,24 @@ const changeSize = (val) =>{ // 获取列表 const getList = (val) =>{ - // pageData.tableConfiger.loading = true; + pageData.tableConfiger.loading = true; let data = { ...pageData.pageConfiger, ...queryFrom.value }; - // let url = '/mosty-lzcj/tbDwMbkf/queryList'; - // qcckPost(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/zlxx/selectPage').then(res=>{ + pageData.tableData = res.records || []; + pageData.total = res.total; + pageData.tableConfiger.loading = false; + }).catch(()=>{ pageData.tableConfiger.loading = false; }) +} + + + + const deleteRow = (id) =>{ + proxy.$confirm("确定要删除", "警告", {type: "warning"}).then(() => { + qcckPost({id},'/mosty-gsxt/zlxx/delete').then(()=>{ + proxy.$message({ type: "success", message: "删除成功" }); + getList(); + }) + }).catch(() => {}); } // 详情 diff --git a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/zlForm.vue b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/zlForm.vue new file mode 100644 index 0000000..28c3acc --- /dev/null +++ b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/components/zlForm.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index.vue b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index.vue index b812e56..8de05bc 100644 --- a/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index.vue +++ b/src/views/backOfficeSystem/ResearchJudgment/IntelligenceManagement/index.vue @@ -38,6 +38,7 @@ @@ -53,6 +54,7 @@ + @@ -62,13 +64,15 @@ 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 ZlForm from "./components/zlForm.vue"; import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js"; import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue"; const { proxy } = getCurrentInstance(); -const {D_GS_XS_CZZT,D_GS_XS_LY, D_BZ_SSZT,D_BZ_SF,D_GS_XS_LX ,D_GS_XS_QTLX,D_BZ_XB,D_BZ_XSSHZT} = proxy.$dict("D_GS_XS_CZZT","D_GS_XS_LY","D_BZ_SSZT","D_BZ_SF","D_GS_XS_LX","D_GS_XS_QTLX","D_BZ_XB","D_BZ_XSSHZT"); //获取字典数据 +const {D_GS_ZDQT_FXDJ,D_GS_XS_ZLLX,D_GS_XS_CZZT,D_GS_XS_LY, D_BZ_SSZT,D_BZ_SF,D_GS_XS_LX ,D_GS_XS_QTLX,D_BZ_XB,D_BZ_XSSHZT} = proxy.$dict("D_GS_ZDQT_FXDJ","D_GS_XS_ZLLX","D_GS_XS_CZZT","D_GS_XS_LY","D_BZ_SSZT","D_BZ_SF","D_GS_XS_LX","D_GS_XS_QTLX","D_BZ_XB","D_BZ_XSSHZT"); //获取字典数据 const detailDiloag = ref(); const searchBox = ref(); //搜索框 const isShow = ref(false) +const zlDialog = ref(false) const searchConfiger = ref([ { label: "线索名称", prop: 'xsMc', placeholder: "请输入线索名称", showType: "input" }, { label: "内容关键字", prop: 'xsNr', placeholder: "请输入语义关键字", showType: "input" }, @@ -144,6 +148,15 @@ const getList = (val) =>{ }).catch(()=>{ pageData.tableConfiger.loading = false; }) } + +// 转为指令 +const handleZL = (val) =>{ + isShow.value = true; + setTimeout(()=>{ + zlDialog.value.init(val) + },500) +} + // 详情 const addEdit = (type, row) => { isShow.value = true;