From 2e006672e0948f9e2e9b64ce012e25e9e172cc8f Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Wed, 15 Oct 2025 10:06:09 +0800 Subject: [PATCH] v1.9 测试业主认证到发票 一些细微bug 修复,比如点击按钮提示英文不提示中文等问题 --- src/api/community/communitySpaceConfirmApi.js | 4 ++-- src/components/community/AddCommunitySpace.vue | 12 ++++++------ src/components/community/EditCommunitySpaceOpenTime.vue | 2 +- src/components/owner/DeleteAppUserBindingOwner.vue | 2 +- src/components/owner/ResetStaffPwd.vue | 2 +- src/views/community/communitySpaceConfirmList.vue | 6 +++--- src/views/community/communitySpaceManageList.vue | 7 +++---- src/views/community/communitySpacePersonManageLang.js | 8 ++++++-- src/views/community/communitySpacePersonManageList.vue | 2 +- src/views/owner/auditAuthOwnerList.vue | 3 --- src/views/user/login/Login.vue | 4 ++-- 11 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/api/community/communitySpaceConfirmApi.js b/src/api/community/communitySpaceConfirmApi.js index 8a508b0..a89f3ca 100644 --- a/src/api/community/communitySpaceConfirmApi.js +++ b/src/api/community/communitySpaceConfirmApi.js @@ -32,10 +32,10 @@ export function saveCommunitySpaceConfirmOrder(data) { data }).then(response => { const res = response.data - if (res.code === 0) { + if (res.code == 0) { resolve(res) } else { - reject(new Error(res.msg || '核销操作失败')) + reject(new Error(res.msg)) } }).catch(error => { reject(error) diff --git a/src/components/community/AddCommunitySpace.vue b/src/components/community/AddCommunitySpace.vue index f3c3d7d..19c1075 100644 --- a/src/components/community/AddCommunitySpace.vue +++ b/src/components/community/AddCommunitySpace.vue @@ -6,15 +6,15 @@ - + - + - + @@ -59,13 +59,13 @@ export default { { required: true, message: this.$t('communitySpaceManage.selectSpace'), trigger: 'blur' } ], feeMoney: [ - { required: true, message: this.$t('communitySpaceManage.selectSpace'), trigger: 'blur' } + { required: true, message: this.$t('communitySpaceManage.feeMoney'), trigger: 'blur' } ], adminName: [ - { required: true, message: this.$t('communitySpaceManage.selectSpace'), trigger: 'blur' } + { required: true, message: this.$t('communitySpaceManage.adminName'), trigger: 'blur' } ], tel: [ - { required: true, message: this.$t('communitySpaceManage.selectSpace'), trigger: 'blur' } + { required: true, message: this.$t('communitySpaceManage.tel'), trigger: 'blur' } ], state: [ { required: true, message: this.$t('communitySpaceManage.selectStatus'), trigger: 'change' } diff --git a/src/components/community/EditCommunitySpaceOpenTime.vue b/src/components/community/EditCommunitySpaceOpenTime.vue index 14b637f..30f5264 100644 --- a/src/components/community/EditCommunitySpaceOpenTime.vue +++ b/src/components/community/EditCommunitySpaceOpenTime.vue @@ -24,7 +24,7 @@ diff --git a/src/components/owner/DeleteAppUserBindingOwner.vue b/src/components/owner/DeleteAppUserBindingOwner.vue index baaa47d..766b985 100644 --- a/src/components/owner/DeleteAppUserBindingOwner.vue +++ b/src/components/owner/DeleteAppUserBindingOwner.vue @@ -51,7 +51,7 @@ export default { this.closeDialog() } catch (error) { console.error('删除失败:', error) - this.$message.error(this.$t('deleteBinding.errorMsg')) + this.$message.error(error) } } } diff --git a/src/components/owner/ResetStaffPwd.vue b/src/components/owner/ResetStaffPwd.vue index 4a91294..a6e3b7c 100644 --- a/src/components/owner/ResetStaffPwd.vue +++ b/src/components/owner/ResetStaffPwd.vue @@ -47,7 +47,7 @@ export default { this.closeDialog() } catch (error) { console.error('重置密码失败:', error) - this.$message.error(this.$t('resetPwd.errorMsg')) + this.$message.error(error) } } } diff --git a/src/views/community/communitySpaceConfirmList.vue b/src/views/community/communitySpaceConfirmList.vue index c460245..1bdf724 100644 --- a/src/views/community/communitySpaceConfirmList.vue +++ b/src/views/community/communitySpaceConfirmList.vue @@ -242,7 +242,7 @@ export default { } const result = await saveCommunitySpaceConfirmOrder(data) - if (result.code === 0) { + if (result.code == 0) { this.$message.success(this.$t('common.operationSuccess')) this.communitySpaceConfirmInfo.timeId = '' @@ -258,11 +258,11 @@ export default { this.pagination.current = 1 this.listCommunitySpaceConfirms() } else { - this.$message.error(result.msg) + this.$message.error(result) } } catch (error) { console.error('核销失败:', error) - this.$message.error(this.$t('communitySpaceConfirm.writeOffFailed')) + this.$message.error(error) } }, queryCommunitySpaceConfirm() { diff --git a/src/views/community/communitySpaceManageList.vue b/src/views/community/communitySpaceManageList.vue index da0b8cc..c9bab7e 100644 --- a/src/views/community/communitySpaceManageList.vue +++ b/src/views/community/communitySpaceManageList.vue @@ -30,13 +30,13 @@ {{ $t('communitySpaceManage.query') }} - + - + - + @@ -285,7 +285,6 @@ export default { .venue-items li { padding: 12px 15px; - border-bottom: 1px solid #eee; cursor: pointer; transition: all 0.3s; } diff --git a/src/views/community/communitySpacePersonManageLang.js b/src/views/community/communitySpacePersonManageLang.js index 9d6c6e8..d575fbe 100644 --- a/src/views/community/communitySpacePersonManageLang.js +++ b/src/views/community/communitySpacePersonManageLang.js @@ -32,7 +32,9 @@ export const messages = { F: 'Appointment Failed', W: 'Pending Review', P: 'Pending Payment' - } + }, + stateWaitConfirm: 'Pending Confirm', + stateConfirm: 'Confirmed' }, deleteCommunitySpacePerson: { confirmTitle: 'Please confirm your operation!', @@ -74,7 +76,9 @@ export const messages = { F: '预约失败', W: '待审核', P: '待支付' - } + }, + stateWaitConfirm: '待核销', + stateConfirm: '已核销' }, deleteCommunitySpacePerson: { confirmTitle: '请确认您的操作!', diff --git a/src/views/community/communitySpacePersonManageList.vue b/src/views/community/communitySpacePersonManageList.vue index baf6e09..ece4c53 100644 --- a/src/views/community/communitySpacePersonManageList.vue +++ b/src/views/community/communitySpacePersonManageList.vue @@ -58,7 +58,7 @@ diff --git a/src/views/owner/auditAuthOwnerList.vue b/src/views/owner/auditAuthOwnerList.vue index f5f7b7f..5e04491 100644 --- a/src/views/owner/auditAuthOwnerList.vue +++ b/src/views/owner/auditAuthOwnerList.vue @@ -107,7 +107,6 @@ - @@ -116,14 +115,12 @@