From 97cbc29c7715dd6d7b89b9a81e8f0e29da1af224 Mon Sep 17 00:00:00 2001 From: zhouxy Date: Fri, 30 Jan 2026 21:48:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=88=B6=E6=B3=A8=E9=94=80=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/forceNotice/component/EntList.vue | 328 ++++++++++++++++---- src/views/forceNotice/component/SpeList.vue | 37 ++- src/views/forceNotice/force/list.vue | 19 ++ src/views/forceNotice/inclusion/list.vue | 2 +- 4 files changed, 317 insertions(+), 69 deletions(-) diff --git a/src/views/forceNotice/component/EntList.vue b/src/views/forceNotice/component/EntList.vue index 33911b2..ef09914 100644 --- a/src/views/forceNotice/component/EntList.vue +++ b/src/views/forceNotice/component/EntList.vue @@ -6,19 +6,43 @@ top="153px" custom-class="dialog-abnormal-list" > - - -
请输入条件进行查询!
+
+ +
+ + + +
+ + +
+
已选择主体
+
暂无选择
+
+
+
+
{{ entity.entname }}
+
{{ entity.uniscid || entity.regno }}
+
+ +
+
+
+
取消 @@ -29,6 +53,7 @@ + + diff --git a/src/views/forceNotice/component/SpeList.vue b/src/views/forceNotice/component/SpeList.vue index a6336e1..8adaeb6 100644 --- a/src/views/forceNotice/component/SpeList.vue +++ b/src/views/forceNotice/component/SpeList.vue @@ -219,6 +219,25 @@ export default { }, optionsBaseCode: 'C13044', showInForm: false + }, + { + type: 'input', + label: '公告期至剩余天数', + prop: 'noticeToRemain', + span: 8, + tableProps: { + showOverflowTooltip: true, + width: '150px', + formatter: (row, column, cellValue, index) => { + // 计算剩余天数 + const noticeToDate = new Date(row.noticeTo) + const today = new Date() + const diffTime = noticeToDate - today + const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24)) + return diffDays >= 0 ? `${diffDays} 天` : '已过期' + } + }, + showInForm: false // 不作为搜索条件 } ] } @@ -274,7 +293,23 @@ export default { size: pageParam.size, current: pageParam.current, entity: { - ...parseSearchFormData + ...parseSearchFormData, + soon: '0' + } + }).then((data) => { + return { + tableData: data.dataPage.records, + total: data.dataPage.total + } + }) + } else if (this.params === 'soon') { + this.params = 'force' + return forceDeregisterPageByRegOrg({ + size: pageParam.size, + current: pageParam.current, + entity: { + ...parseSearchFormData, + soon: '1' } }).then((data) => { return { diff --git a/src/views/forceNotice/force/list.vue b/src/views/forceNotice/force/list.vue index 525e820..163b8da 100644 --- a/src/views/forceNotice/force/list.vue +++ b/src/views/forceNotice/force/list.vue @@ -23,6 +23,13 @@ > 个案办理 + + 公告期即将届满名单 +