From 01d2282ebeb04bdbae27ad153fd9c9fc0f744f7a Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Tue, 4 Aug 2026 17:16:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E6=97=A5=E5=BF=97=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business-css/frontend/src/api/record/index.ts | 2 +- business-css/frontend/src/api/user/index.ts | 4 ++-- business-css/frontend/src/views/system/record/index.vue | 6 +++++- .../frontend/src/views/system/user/personalCenter.vue | 6 +++--- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/business-css/frontend/src/api/record/index.ts b/business-css/frontend/src/api/record/index.ts index 9f263b1..4f31068 100644 --- a/business-css/frontend/src/api/record/index.ts +++ b/business-css/frontend/src/api/record/index.ts @@ -10,7 +10,7 @@ export function getLogList(params:any){ } export function exportExcel(queryParams: any) { return request({ - url: '/system/log/exportExcel', + url: '/system/log/exportExcelAll', method: 'get', params: queryParams, responseType: 'arraybuffer' diff --git a/business-css/frontend/src/api/user/index.ts b/business-css/frontend/src/api/user/index.ts index 367454c..11e4c40 100644 --- a/business-css/frontend/src/api/user/index.ts +++ b/business-css/frontend/src/api/user/index.ts @@ -98,8 +98,8 @@ export function setpass (queryParams:any) { export function updatePassword (queryParams:any) { return request({ url: '/user/updatePassword', - method: 'GET', - params: queryParams, + method: 'POST', + data: queryParams, }); } diff --git a/business-css/frontend/src/views/system/record/index.vue b/business-css/frontend/src/views/system/record/index.vue index eb25244..2817691 100644 --- a/business-css/frontend/src/views/system/record/index.vue +++ b/business-css/frontend/src/views/system/record/index.vue @@ -93,8 +93,12 @@ function leadingOut() { params.startDate = operationTime.value[0]; params.endDate = operationTime.value[1]; } + loading.value = true; exportExcel(params).then((response: any) => { - downloadFile(response, '日志', 'xlsx') + downloadFile(response, '日志', 'xlsx'); + loading.value = false; + }).catch((err: any) => { + loading.value = false; }); } //分页 diff --git a/business-css/frontend/src/views/system/user/personalCenter.vue b/business-css/frontend/src/views/system/user/personalCenter.vue index a2a2c9d..b75e3c3 100644 --- a/business-css/frontend/src/views/system/user/personalCenter.vue +++ b/business-css/frontend/src/views/system/user/personalCenter.vue @@ -231,9 +231,9 @@ onMounted(() => {
修改密码
- + @@ -247,7 +247,7 @@ onMounted(() => {