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(() => {