From 6e878d9634f6d969a20d418f7bbc0b0d50d3f14d Mon Sep 17 00:00:00 2001
From: buaixuexideshitongxue <2936013465@qq.com>
Date: Mon, 21 Sep 2026 17:27:44 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AD=90=E4=BF=A1=E4=BB=B6=E4=B8=8D?=
=?UTF-8?q?=E6=8A=93=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=9B=B4=E6=96=B0=E6=9C=BA?=
=?UTF-8?q?=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/data/complaintCollection.ts | 8 ++++++-
src/views/data/ComplaintCollection_jzxx.vue | 25 +++++++++++++++++++--
src/views/work/Query.vue | 3 ++-
3 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/src/api/data/complaintCollection.ts b/src/api/data/complaintCollection.ts
index d5a7783..81b5f4e 100644
--- a/src/api/data/complaintCollection.ts
+++ b/src/api/data/complaintCollection.ts
@@ -9,6 +9,13 @@ export function getComplaintCollectionPage(body) {
});
}
+export function refreshMayorMailbox(body) {
+ return request.post({
+ url: `/data/complaintCollection/refreshMayorMailbox`,
+ body
+ });
+}
+
export function addComplaintCollection(body) {
return request.post({
url: `/data/complaintCollection/addComplaintCollection`,
@@ -133,4 +140,3 @@ export function getMergeHistory(body) {
body
});
}
-
diff --git a/src/views/data/ComplaintCollection_jzxx.vue b/src/views/data/ComplaintCollection_jzxx.vue
index 3aa6f92..c7bf80d 100644
--- a/src/views/data/ComplaintCollection_jzxx.vue
+++ b/src/views/data/ComplaintCollection_jzxx.vue
@@ -325,9 +325,15 @@
-
-
+
办理详情
+ 再次更新
@@ -368,8 +374,10 @@ import {timeFormat} from "@/utils/util";
import useCatchStore from "@/stores/modules/catch";
import {
exportData,
- getComplaintCollectionPage
+ getComplaintCollectionPage,
+ refreshMayorMailbox
} from "@/api/data/complaintCollection.ts";
+import feedback from "@/utils/feedback";
const catchStore = useCatchStore();
const show = ref(false);
@@ -391,6 +399,7 @@ const query = ref({
const list = ref([]);
const total = ref(0);
const loading = ref(false)
+const refreshingId = ref('')
const getList = async () => {
loading.value = true;
@@ -515,6 +524,18 @@ function handleActionDetail(row) {
}
}
+const handleRefresh = async (row) => {
+ await feedback.confirm(`确定从局长信箱重新同步信件“${row.originId}”的最新办理结果吗?`)
+ refreshingId.value = row.id
+ try {
+ const message = await refreshMayorMailbox({id: row.id})
+ feedback.msgSuccess(message || '再次更新成功')
+ await getList()
+ } finally {
+ refreshingId.value = ''
+ }
+}
+
const handleExport = async () => {
const body = {
...query.value,
diff --git a/src/views/work/Query.vue b/src/views/work/Query.vue
index 1f04659..3553cf6 100644
--- a/src/views/work/Query.vue
+++ b/src/views/work/Query.vue
@@ -637,7 +637,8 @@