From 9b8e788e61f92fb2e521e21632ca5305969c118d Mon Sep 17 00:00:00 2001 From: Esacpe <1113279529@qq.com> Date: Mon, 26 Jan 2026 19:59:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HumanIntelligence/FollowLeads/index.vue | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/views/backOfficeSystem/HumanIntelligence/FollowLeads/index.vue b/src/views/backOfficeSystem/HumanIntelligence/FollowLeads/index.vue index 8c62747..d0a4359 100644 --- a/src/views/backOfficeSystem/HumanIntelligence/FollowLeads/index.vue +++ b/src/views/backOfficeSystem/HumanIntelligence/FollowLeads/index.vue @@ -73,8 +73,8 @@ const qxkz = reactive({ const searchConfiger = ref([ { label: "情报标题", prop: 'qbmc', placeholder: "请输入情报标题", showType: "input" }, - // { label: "情报来源", prop: 'cjLx', placeholder: "请选择情报来源", showType: "select", options: D_BZ_CJLX }, - // { label: "来源单位", prop: 'ssbmdm', placeholder: "请选择来源单位", showType: "department" } + { label: "时间", prop: 'times', placeholder: "请输入时间", showType: "datetimerange" }, + { label: "部门", prop: 'ssbmdm', placeholder: "请选择来源单位", showType: "department" } ]); const pageData = reactive({ @@ -105,16 +105,9 @@ const queryFrom = ref({}); // 搜索 const onSearch = (val) => { - const { lrkssj, zxkssj } = val - const promes = { - ...val, - ...pageData.pageConfiger, - lrkssj: lrkssj ? lrkssj[0] : '', - lrjssj: lrkssj ? lrkssj[1] : '', - zxkssj: zxkssj ? zxkssj[0] : '', - zxjssj: zxkssj ? zxkssj[1] : '', - } - queryFrom.value = { ...promes } + queryFrom.value = { ...val } + queryFrom.value.startTime = val.times ? val.times[0] : '' + queryFrom.value.endTime = val.times ? val.times[1] : '' pageData.pageConfiger.pageCurrent = 1; getList() } @@ -132,6 +125,7 @@ const changeSize = (val) => { const getList = () => { pageData.tableConfiger.loading = true; let data = { ...pageData.pageConfiger, ...queryFrom.value }; + delete data.times; xxcjZxsSelectPage(data).then(res => { pageData.tableData = res.records || []; pageData.total = res.total;