Commit 6ec243d6c3da058212c204a8a7611b676ced2ef7
1 parent
a291ba27
v1.9 点击提交后,成功提示没有翻译成中文的问题
Showing
687 changed files
with
1605 additions
and
1599 deletions
src/api/owner/ownerDetailVisitApi.js
src/components/account/AddCouponDetail.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponDetailManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -163,7 +163,7 @@ export default { |
| 163 | 163 | if (valid) { |
| 164 | 164 | try { |
| 165 | 165 | await saveCouponDetail(this.formData) |
| 166 | - this.$message.success(this.$t('couponDetailManage.add.success')) | |
| 166 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 167 | 167 | this.visible = false |
| 168 | 168 | this.$emit('success') |
| 169 | 169 | } catch (error) { | ... | ... |
src/components/account/AddCouponPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponPoolManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -158,7 +158,7 @@ export default { |
| 158 | 158 | if (valid) { |
| 159 | 159 | try { |
| 160 | 160 | await saveCouponPool(this.form) |
| 161 | - this.$message.success(this.$t('couponPoolManage.add.success')) | |
| 161 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 162 | 162 | this.visible = false |
| 163 | 163 | this.$emit('success') |
| 164 | 164 | } catch (error) { | ... | ... |
src/components/account/DeleteCouponDetail.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponDetailManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleConfirm() { |
| 39 | 39 | try { |
| 40 | 40 | await deleteCouponDetail({ detailId: this.detailId }) |
| 41 | - this.$message.success(this.$t('couponDetailManage.delete.success')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.visible = false |
| 43 | 43 | this.$emit('success') |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/account/DeleteCouponPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponPoolManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | async handleSubmit() { |
| 42 | 42 | try { |
| 43 | 43 | await deleteCouponPool({ poolId: this.poolId }) |
| 44 | - this.$message.success(this.$t('couponPoolManage.delete.success')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.visible = false |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/account/EditCouponPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponPoolManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -154,7 +154,7 @@ export default { |
| 154 | 154 | if (valid) { |
| 155 | 155 | try { |
| 156 | 156 | await updateCouponPool(this.form) |
| 157 | - this.$message.success(this.$t('couponPoolManage.edit.success')) | |
| 157 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 158 | 158 | this.visible = false |
| 159 | 159 | this.$emit('success') |
| 160 | 160 | } catch (error) { | ... | ... |
src/components/account/cancelAccountDetail.vue
src/components/account/deleteAccount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteAccount.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | |
| 43 | 43 | try { |
| 44 | 44 | await deleteAccount({ acctId: this.accountData.acctId }) |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.visible = false |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/account/prestoreAccount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('prestoreAccount.title')" :visible.sync="visible" width="800px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('prestoreAccount.accountType')" prop="acctType" required> |
| ... | ... | @@ -173,7 +173,7 @@ export default { |
| 173 | 173 | |
| 174 | 174 | try { |
| 175 | 175 | await ownerPrestoreAccount(this.formData) |
| 176 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 176 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 177 | 177 | this.visible = false |
| 178 | 178 | this.$emit('success') |
| 179 | 179 | } catch (error) { | ... | ... |
src/components/admin/AddAdvert.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('advertManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('advertManage.add.adName')" prop="adName"> |
| ... | ... | @@ -171,7 +171,7 @@ export default { |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | await saveAdvert(params) |
| 174 | - this.$message.success(this.$t('advertManage.add.success')) | |
| 174 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 175 | 175 | this.$emit('success') |
| 176 | 176 | this.visible = false |
| 177 | 177 | } catch (error) { | ... | ... |
src/components/admin/DeleteAdvert.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('advertManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -34,7 +34,7 @@ export default { |
| 34 | 34 | async handleConfirm() { |
| 35 | 35 | try { |
| 36 | 36 | await deleteAdvert(this.advertId) |
| 37 | - this.$message.success(this.$t('advertManage.delete.success')) | |
| 37 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 38 | 38 | this.$emit('success') |
| 39 | 39 | this.visible = false |
| 40 | 40 | } catch (error) { | ... | ... |
src/components/admin/EditAdvert.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('advertManage.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('advertManage.edit.adName')" prop="adName"> |
| ... | ... | @@ -182,7 +182,7 @@ export default { |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | await updateAdvert(params) |
| 185 | - this.$message.success(this.$t('advertManage.edit.success')) | |
| 185 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 186 | 186 | this.$emit('success') |
| 187 | 187 | this.visible = false |
| 188 | 188 | } catch (error) { | ... | ... |
src/components/car/addCarModal.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%"> |
| 3 | 3 | <el-form :model="addCarModelInfo" :rules="rules" ref="addCarForm"> |
| 4 | 4 | <el-form-item :label="$t('listOwnerCar.carNum')" prop="carNum"> |
| ... | ... | @@ -97,7 +97,7 @@ export default { |
| 97 | 97 | this.visible = false |
| 98 | 98 | this.clearAddCarModalInfo() |
| 99 | 99 | this.$emit('notify') |
| 100 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 100 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 101 | 101 | } else { |
| 102 | 102 | this.$message.error(response.msg) |
| 103 | 103 | } | ... | ... |
src/components/car/addParkingArea.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('parkingAreaManage.addTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | 3 | <el-form ref="form" :model="addParkingAreaInfo" label-width="150px" label-position="left"> |
| 4 | 4 | <el-form-item :label="$t('parkingAreaManage.parkingNum')" prop="num" |
| ... | ... | @@ -97,7 +97,7 @@ export default { |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | await saveParkingArea(params) |
| 100 | - this.$message.success(this.$t('parkingAreaManage.addSuccess')) | |
| 100 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 101 | 101 | this.visible = false |
| 102 | 102 | this.$emit('success') |
| 103 | 103 | } catch (error) { | ... | ... |
src/components/car/addParkingBox.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('addParkingBox.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -201,7 +201,7 @@ export default { |
| 201 | 201 | if (valid) { |
| 202 | 202 | try { |
| 203 | 203 | await addParkingBox(this.formData) |
| 204 | - this.$message.success(this.$t('parkingBoxManage.addSuccess')) | |
| 204 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 205 | 205 | this.visible = false |
| 206 | 206 | this.$emit('success') |
| 207 | 207 | } catch (error) { | ... | ... |
src/components/car/addParkingSpace.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addParkingSpace.title')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | 3 | <el-form :model="form" ref="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('addParkingSpace.parkingSpaceNum')" prop="num" |
| ... | ... | @@ -104,7 +104,7 @@ export default { |
| 104 | 104 | |
| 105 | 105 | const res = await saveParkingSpace(this.form) |
| 106 | 106 | if (res.code === 0) { |
| 107 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 107 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 108 | 108 | this.$emit('success') |
| 109 | 109 | this.visible = false |
| 110 | 110 | } else { | ... | ... |
src/components/car/batchAddParkingSpace.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('batchAddParkingSpace.title')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | 3 | <el-form :model="form" ref="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('batchAddParkingSpace.prefixNum')" prop="preNum"> |
| ... | ... | @@ -113,7 +113,7 @@ export default { |
| 113 | 113 | |
| 114 | 114 | const res = await batchSaveParkingSpace(this.form) |
| 115 | 115 | if (res.code === 0) { |
| 116 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 116 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 117 | 117 | this.$emit('success') |
| 118 | 118 | this.visible = false |
| 119 | 119 | } else { | ... | ... |
src/components/car/deleteOwnerCar.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('listOwnerCar.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -39,7 +39,7 @@ export default { |
| 39 | 39 | this.loading = true |
| 40 | 40 | try { |
| 41 | 41 | await deleteOwnerCars({ carId: this.carInfo.carId,memberId:this.carInfo.memberId }) |
| 42 | - this.$message.success(this.$t('listOwnerCar.deleteSuccess')) | |
| 42 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 43 | 43 | this.$emit('success') |
| 44 | 44 | this.visible = false |
| 45 | 45 | } catch (error) { | ... | ... |
src/components/car/deleteParkingArea.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('parkingAreaManage.deleteTitle')" :visible.sync="visible" width="30%" center> |
| 3 | 3 | <div style="text-align: center"> |
| 4 | 4 | <p>{{ $t('parkingAreaManage.deleteConfirm') }}</p> |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | await deleteParkingArea(params) |
| 54 | - this.$message.success(this.$t('parkingAreaManage.deleteSuccess')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | this.visible = false |
| 56 | 56 | this.$emit('success') |
| 57 | 57 | } catch (error) { | ... | ... |
src/components/car/deleteParkingBox.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteParkingBox.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleConfirm() { |
| 39 | 39 | try { |
| 40 | 40 | await deleteParkingBox({ boxId: this.boxId }) |
| 41 | - this.$message.success(this.$t('parkingBoxManage.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.visible = false |
| 43 | 43 | this.$emit('success') |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/car/deleteParkingSpace.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteParkingSpace.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | this.deleting = true |
| 43 | 43 | const res = await deleteParkingSpace(this.currentParkingSpace) |
| 44 | 44 | if (res.code === 0) { |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.visible = false |
| 48 | 48 | } else { | ... | ... |
src/components/car/deleteParkingSpaceApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteParkingSpaceApply.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -45,7 +45,7 @@ export default { |
| 45 | 45 | }) |
| 46 | 46 | |
| 47 | 47 | if (response.code === 0) { |
| 48 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 48 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 49 | 49 | this.visible = false |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | } else { | ... | ... |
src/components/car/editCar.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('listOwnerCar.editCar')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -141,7 +141,7 @@ export default { |
| 141 | 141 | this.loading = true |
| 142 | 142 | try { |
| 143 | 143 | await editOwnerCar(this.form) |
| 144 | - this.$message.success(this.$t('listOwnerCar.updateSuccess')) | |
| 144 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 145 | 145 | this.$emit('success') |
| 146 | 146 | this.visible = false |
| 147 | 147 | } catch (error) { | ... | ... |
src/components/car/editMemberCar.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="50%"> |
| 3 | 3 | <el-form :model="editMemberCarInfo" :rules="rules" ref="editMemberCarForm"> |
| 4 | 4 | <el-form-item :label="$t('listOwnerCar.carNum')" prop="carNum"> |
| ... | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | 93 | if (response.code === 0) { |
| 94 | 94 | this.visible = false |
| 95 | 95 | this.$emit('notify') |
| 96 | - this.$message.success(this.$t('common.editSuccess')) | |
| 96 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 97 | 97 | } else { |
| 98 | 98 | this.$message.error(response.msg) |
| 99 | 99 | } | ... | ... |
src/components/car/editParkingArea.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('parkingAreaManage.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -137,7 +137,7 @@ export default { |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | await updateParkingArea(params) |
| 140 | - this.$message.success(this.$t('parkingAreaManage.editSuccess')) | |
| 140 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 141 | 141 | this.visible = false |
| 142 | 142 | this.$emit('success') |
| 143 | 143 | } catch (error) { | ... | ... |
src/components/car/editParkingBox.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('editParkingBox.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -193,7 +193,7 @@ export default { |
| 193 | 193 | if (valid) { |
| 194 | 194 | try { |
| 195 | 195 | await updateParkingBox(this.formData) |
| 196 | - this.$message.success(this.$t('parkingBoxManage.updateSuccess')) | |
| 196 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 197 | 197 | this.visible = false |
| 198 | 198 | this.$emit('success') |
| 199 | 199 | } catch (error) { | ... | ... |
src/components/car/editParkingSpace.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('editParkingSpace.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -145,7 +145,7 @@ export default { |
| 145 | 145 | |
| 146 | 146 | const res = await editParkingSpace(this.form) |
| 147 | 147 | if (res.code === 0) { |
| 148 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 148 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 149 | 149 | this.$emit('success') |
| 150 | 150 | this.visible = false |
| 151 | 151 | } else { | ... | ... |
src/components/car/editParkingSpaceApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('editParkingSpaceApply.editApplication')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -188,7 +188,7 @@ export default { |
| 188 | 188 | try { |
| 189 | 189 | const response = await updateParkingSpaceApply(this.formData) |
| 190 | 190 | if (response.code === 0) { |
| 191 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 191 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 192 | 192 | this.visible = false |
| 193 | 193 | this.$emit('success') |
| 194 | 194 | } else { | ... | ... |
src/components/car/importOwnerCar.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('listOwnerCar.importCarTitle')" :visible.sync="visible" width="600px" @close="resetForm"> |
| 3 | 3 | <el-form :model="form" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('listOwnerCar.selectFile')"> |
| ... | ... | @@ -77,7 +77,7 @@ export default { |
| 77 | 77 | importAdapt: 'importOwnerCar' |
| 78 | 78 | }) |
| 79 | 79 | |
| 80 | - this.$message.success(this.$t('listOwnerCar.importSuccess')) | |
| 80 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 81 | 81 | this.$emit('success') |
| 82 | 82 | this.visible = false |
| 83 | 83 | this.$router.push(`/views/system/assetImportLogDetail?logId=${response.logId}&logType=importOwnerCar`) | ... | ... |
src/components/community/AddCommunitySpace.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('communitySpaceManage.addSpace')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('communitySpaceManage.name')" prop="name"> |
| ... | ... | @@ -88,7 +88,7 @@ export default { |
| 88 | 88 | if (valid) { |
| 89 | 89 | try { |
| 90 | 90 | await saveCommunitySpace(this.form) |
| 91 | - this.$message.success(this.$t('common.success')) | |
| 91 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 92 | 92 | this.visible = false |
| 93 | 93 | this.$emit('success') |
| 94 | 94 | } catch (error) { | ... | ... |
src/components/community/AddCommunityVenue.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('communitySpaceManage.add') + $t('communitySpaceManage.venue')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -90,7 +90,7 @@ export default { |
| 90 | 90 | if (valid) { |
| 91 | 91 | try { |
| 92 | 92 | await saveCommunityVenue(this.form) |
| 93 | - this.$message.success(this.$t('common.success')) | |
| 93 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 94 | 94 | this.visible = false |
| 95 | 95 | this.$emit('success') |
| 96 | 96 | } catch (error) { | ... | ... |
src/components/community/AddLocation.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('locationManage.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('locationManage.locationName')" prop="locationName" :rules="[ |
| ... | ... | @@ -114,7 +114,7 @@ export default { |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | await saveCommunityLocation(this.formData) |
| 117 | - this.$message.success(this.$t('common.addSuccess')) | |
| 117 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 118 | 118 | this.visible = false |
| 119 | 119 | this.$emit('success') |
| 120 | 120 | } catch (error) { | ... | ... |
src/components/community/AddPropertyCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('propertyCommunity.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('propertyCommunity.add.openCommunity')"> |
| ... | ... | @@ -100,7 +100,7 @@ export default { |
| 100 | 100 | async handleSubmit() { |
| 101 | 101 | try { |
| 102 | 102 | await joinCommunity(this.form) |
| 103 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 103 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 104 | 104 | this.$emit('success') |
| 105 | 105 | this.visible = false |
| 106 | 106 | } catch (error) { | ... | ... |
src/components/community/AddRoomRenovation.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('roomRenovationManage.add')" :visible.sync="visible" width="40%" @close="resetForm"> |
| 3 | 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName" required> | ... | ... |
src/components/community/DeleteCommunitySpace.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('communitySpaceManage.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -36,7 +36,7 @@ export default { |
| 36 | 36 | async confirmDelete() { |
| 37 | 37 | try { |
| 38 | 38 | await deleteCommunitySpace(this.spaceId) |
| 39 | - this.$message.success(this.$t('common.success')) | |
| 39 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 40 | 40 | this.visible = false |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | } catch (error) { | ... | ... |
src/components/community/DeleteCommunityVenue.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('communitySpaceManage.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -36,7 +36,7 @@ export default { |
| 36 | 36 | async confirmDelete() { |
| 37 | 37 | try { |
| 38 | 38 | await deleteCommunityVenue(this.venueId) |
| 39 | - this.$message.success(this.$t('common.success')) | |
| 39 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 40 | 40 | this.visible = false |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | } catch (error) { | ... | ... |
src/components/community/DeleteLocation.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('locationManage.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | communityId: getCommunityId() |
| 43 | 43 | } |
| 44 | 44 | await deleteCommunityLocation(params) |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.visible = false |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/community/DeletePropertyCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('propertyCommunity.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleSubmit() { |
| 39 | 39 | try { |
| 40 | 40 | await quitCommunity(this.form) |
| 41 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | this.visible = false |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/community/DeleteRoomDecorationRecord.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteRoomDecorationRecord.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | try { |
| 44 | 44 | this.record.communityId = getCommunityId() |
| 45 | 45 | await deleteRoomRenovationRecord(this.record) |
| 46 | - this.$message.success(this.$t('deleteRoomDecorationRecord.success')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | this.visible = false |
| 49 | 49 | } catch (error) { | ... | ... |
src/components/community/DeleteRoomRenovation.vue
src/components/community/EditCommunitySpace.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('communitySpaceManage.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -97,7 +97,7 @@ export default { |
| 97 | 97 | if (valid) { |
| 98 | 98 | try { |
| 99 | 99 | await updateCommunitySpace(this.form) |
| 100 | - this.$message.success(this.$t('common.success')) | |
| 100 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 101 | 101 | this.visible = false |
| 102 | 102 | this.$emit('success') |
| 103 | 103 | } catch (error) { | ... | ... |
src/components/community/EditCommunitySpaceOpenTime.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('communitySpaceManage.openTimeTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -50,7 +50,7 @@ export default { |
| 50 | 50 | async updateOpenTime(item) { |
| 51 | 51 | try { |
| 52 | 52 | await updateCommunitySpaceOpenTime(item) |
| 53 | - this.$message.success(this.$t('common.success')) | |
| 53 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 54 | 54 | } catch (error) { |
| 55 | 55 | console.error('更新开放时间失败:', error) |
| 56 | 56 | } | ... | ... |
src/components/community/EditCommunityVenue.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('communitySpaceManage.edit') + $t('communitySpaceManage.venue')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -90,7 +90,7 @@ export default { |
| 90 | 90 | if (valid) { |
| 91 | 91 | try { |
| 92 | 92 | await updateCommunityVenue(this.form) |
| 93 | - this.$message.success(this.$t('common.success')) | |
| 93 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 94 | 94 | this.visible = false |
| 95 | 95 | this.$emit('success') |
| 96 | 96 | } catch (error) { | ... | ... |
src/components/community/EditLocation.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('locationManage.edit')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('locationManage.locationName')" prop="locationName" :rules="[ |
| ... | ... | @@ -117,7 +117,7 @@ export default { |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | await updateCommunityLocation(this.formData) |
| 120 | - this.$message.success(this.$t('common.editSuccess')) | |
| 120 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 121 | 121 | this.visible = false |
| 122 | 122 | this.$emit('success') |
| 123 | 123 | } catch (error) { | ... | ... |
src/components/community/EditPropertyCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('propertyCommunity.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -113,7 +113,7 @@ export default { |
| 113 | 113 | async handleSubmit() { |
| 114 | 114 | try { |
| 115 | 115 | await updateMenuGroupCommunity(this.form) |
| 116 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 116 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 117 | 117 | this.$emit('success') |
| 118 | 118 | this.visible = false |
| 119 | 119 | } catch (error) { | ... | ... |
src/components/community/EditRoomRenovation.vue
src/components/community/RoomDecorationAcceptance.vue
src/components/community/RoomDecorationRecord.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('roomDecorationRecord.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="roomDecorationRecordInfo" label-width="120px" class="text-left" label-position="left"> |
| 4 | 4 | <el-form-item :label="$t('roomDecorationRecord.room')"> |
| ... | ... | @@ -119,7 +119,7 @@ export default { |
| 119 | 119 | |
| 120 | 120 | |
| 121 | 121 | await updateRoomDecorationRecord(this.roomDecorationRecordInfo) |
| 122 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 122 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 123 | 123 | this.$emit('success') |
| 124 | 124 | this.visible = false |
| 125 | 125 | } catch (error) { | ... | ... |
src/components/community/RoomRenovationCompleted.vue
src/components/community/RoomToExamine.vue
src/components/community/UploadVedio.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="upload-vedio-container"> |
| 3 | 3 | <div v-if="progress > 0" class="progress-container"> |
| 4 | 4 | <el-progress :percentage="progress" :stroke-width="2" /> |
| ... | ... | @@ -84,7 +84,7 @@ export default { |
| 84 | 84 | this.progress = 100 |
| 85 | 85 | this.realFileName = response.realFileName |
| 86 | 86 | this.vedio = response |
| 87 | - this.$message.success(this.$t('uploadVedio.success')) | |
| 87 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 88 | 88 | } catch (error) { |
| 89 | 89 | this.$message.error(this.$t('uploadVedio.failed')) |
| 90 | 90 | this.progress = 0 | ... | ... |
src/components/community/addCityArea.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('cityArea.addArea')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -66,7 +66,7 @@ export default { |
| 66 | 66 | try { |
| 67 | 67 | await this.$refs.form.validate() |
| 68 | 68 | await addArea(this.formData) |
| 69 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 69 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 70 | 70 | this.visible = false |
| 71 | 71 | this.$emit('refresh') |
| 72 | 72 | } catch (error) { | ... | ... |
src/components/community/addCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addCommunity.title')" :visible.sync="visible" width="40%" @close="clearAddCommunityInfo"> |
| 3 | 3 | <el-form ref="form" :model="addCommunityInfo" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('addCommunity.name')" prop="name" required> |
| ... | ... | @@ -85,7 +85,7 @@ export default { |
| 85 | 85 | } |
| 86 | 86 | saveCommunity(this.addCommunityInfo).then(res => { |
| 87 | 87 | console.log(res) |
| 88 | - this.$message.success(this.$t('addCommunity.saveSuccess')) | |
| 88 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 89 | 89 | this.visible = false |
| 90 | 90 | this.$emit('listData') |
| 91 | 91 | }).catch(error => { | ... | ... |
src/components/community/addCommunitySpacePerson.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addCommunitySpacePerson.title')" :visible.sync="visible" width="800px" @close="closeDialog"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-row> |
| ... | ... | @@ -163,7 +163,7 @@ export default { |
| 163 | 163 | async saveData() { |
| 164 | 164 | try { |
| 165 | 165 | await saveCommunitySpacePerson(this.formData) |
| 166 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 166 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 167 | 167 | this.visible = false |
| 168 | 168 | this.$emit('success') |
| 169 | 169 | } catch (error) { | ... | ... |
src/components/community/addCommunityWechat.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addCommunityWechat.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('addCommunityWechat.name')" prop="name"> |
| ... | ... | @@ -102,7 +102,7 @@ export default { |
| 102 | 102 | try { |
| 103 | 103 | const res = await saveAdminSmallWeChat(this.form) |
| 104 | 104 | if (res.code === 0) { |
| 105 | - this.$message.success(this.$t('communityWechat.addSuccess')) | |
| 105 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 106 | 106 | this.visible = false |
| 107 | 107 | this.$emit('success') |
| 108 | 108 | } else { | ... | ... |
src/components/community/communityDataToIot.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('communityDataToIot.title')" :visible.sync="visible" width="30%" |
| 3 | 3 | @close="closeCommunityDataToIotModel"> |
| 4 | 4 | <div style="text-align: center"> |
| ... | ... | @@ -34,7 +34,7 @@ export default { |
| 34 | 34 | _toSendCommunityDataToIot() { |
| 35 | 35 | sendCommunityToIot(this.communityDataToIotInfo).then(res => { |
| 36 | 36 | console.log(res) |
| 37 | - this.$message.success(this.$t('communityDataToIot.syncSuccess')) | |
| 37 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 38 | 38 | this.visible = false |
| 39 | 39 | }).catch(error => { |
| 40 | 40 | this.$message.error(error.message) | ... | ... |
src/components/community/deleteCityArea.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('cityArea.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -32,7 +32,7 @@ export default { |
| 32 | 32 | async handleDelete() { |
| 33 | 33 | try { |
| 34 | 34 | await deleteArea(this.currentArea) |
| 35 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 35 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 36 | 36 | this.visible = false |
| 37 | 37 | this.$emit('refresh') |
| 38 | 38 | } catch (error) { | ... | ... |
src/components/community/deleteCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteCommunity.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -35,7 +35,7 @@ export default { |
| 35 | 35 | deleteCommunity() { |
| 36 | 36 | deleteCommunity(this.deleteCommunityInfo).then(res => { |
| 37 | 37 | console.log(res) |
| 38 | - this.$message.success(this.$t('deleteCommunity.deleteSuccess')) | |
| 38 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 39 | 39 | this.visible = false |
| 40 | 40 | this.$emit('listData') |
| 41 | 41 | }).catch(error => { | ... | ... |
src/components/community/deleteCommunityPublicity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('communityPublicityManage.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | communityId: getCommunityId() |
| 47 | 47 | } |
| 48 | 48 | await deleteCommunityPublicity(params) |
| 49 | - this.$message.success(this.$t('communityPublicityManage.deleteSuccess')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | this.handleClose() |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/community/deleteCommunitySpacePerson.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteCommunitySpacePerson.confirmTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | } |
| 45 | 45 | await deleteCommunitySpacePerson(data) |
| 46 | 46 | this.$emit('success') |
| 47 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.close() |
| 49 | 49 | } catch (error) { |
| 50 | 50 | this.$message.error(error.message || this.$t('common.deleteFailed')) | ... | ... |
src/components/community/editCityArea.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('cityArea.editArea')" :visible.sync="visible" width="50%"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('cityArea.areaName')" prop="areaName" |
| ... | ... | @@ -56,7 +56,7 @@ export default { |
| 56 | 56 | try { |
| 57 | 57 | await this.$refs.form.validate() |
| 58 | 58 | await updateArea(this.formData) |
| 59 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 59 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 60 | 60 | this.visible = false |
| 61 | 61 | this.$emit('refresh') |
| 62 | 62 | } catch (error) { | ... | ... |
src/components/community/editCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editCommunity.title')" :visible.sync="visible" width="60%" @close="refreshEditCommunityInfo"> |
| 3 | 3 | <el-form ref="form" :model="editCommunityInfo" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('editCommunity.name')" prop="name" required> |
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | } |
| 96 | 96 | updateCommunity(this.editCommunityInfo).then(res => { |
| 97 | 97 | console.log(res) |
| 98 | - this.$message.success(this.$t('editCommunity.saveSuccess')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.visible = false |
| 100 | 100 | this.$emit('listData') |
| 101 | 101 | ... | ... |
src/components/community/editCommunityArea.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('enterCommunity.communityName')" prop="name"> |
| ... | ... | @@ -93,8 +93,12 @@ export default { |
| 93 | 93 | }, |
| 94 | 94 | async updateCommunity() { |
| 95 | 95 | try { |
| 96 | - await updateCommunity(this.form) | |
| 97 | - this.$message.success(this.$t('enterCommunity.updateSuccess')) | |
| 96 | + const {code,msg} = await updateCommunity(this.form) | |
| 97 | + if (code !== 0) { | |
| 98 | + this.$message.error(msg) | |
| 99 | + return | |
| 100 | + } | |
| 101 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 98 | 102 | this.visible = false |
| 99 | 103 | this.$emit('success') |
| 100 | 104 | } catch (error) { | ... | ... |
src/components/community/syncSubscribeWechat.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('wechatSubscribe.confirmTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | communityId: getCommunityId() |
| 39 | 39 | } |
| 40 | 40 | await synchronizeWechatSubscribe(params) |
| 41 | - this.$message.success(this.$t('wechatSubscribe.syncSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | this.handleClose() |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/contract/StopContract.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('stopContract.dialog.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleConfirm() { |
| 39 | 39 | try { |
| 40 | 40 | await stopContract(this.currentContract) |
| 41 | - this.$message.success(this.$t('stopContract.message.success')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | this.handleClose() |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/contract/addContractPartya.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('contractPartyaManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -116,7 +116,7 @@ export default { |
| 116 | 116 | if (valid) { |
| 117 | 117 | try { |
| 118 | 118 | await saveContractPartya(this.formData) |
| 119 | - this.$message.success(this.$t('common.addSuccess')) | |
| 119 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 120 | 120 | this.visible = false |
| 121 | 121 | this.$emit('success') |
| 122 | 122 | } catch (error) { | ... | ... |
src/components/contract/addContractType.vue
| ... | ... | @@ -116,7 +116,7 @@ export default { |
| 116 | 116 | const res = await saveContractType(this.form) |
| 117 | 117 | |
| 118 | 118 | if (res.code === 0) { |
| 119 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 119 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 120 | 120 | this.visible = false |
| 121 | 121 | this.$emit('success') |
| 122 | 122 | } else { | ... | ... |
src/components/contract/addContractTypeSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('contractTypeSpecManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -206,7 +206,7 @@ export default { |
| 206 | 206 | if (valid) { |
| 207 | 207 | try { |
| 208 | 208 | await saveContractTypeSpec(this.formData) |
| 209 | - this.$message.success(this.$t('contractTypeSpecManage.add.success')) | |
| 209 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 210 | 210 | this.visible = false |
| 211 | 211 | this.$emit('success') |
| 212 | 212 | } catch (error) { | ... | ... |
src/components/contract/addTemplateView.vue
| ... | ... | @@ -89,7 +89,7 @@ export default { |
| 89 | 89 | : await saveContractTypeTemplate(data) |
| 90 | 90 | |
| 91 | 91 | if (res.code === 0) { |
| 92 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 92 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 93 | 93 | this.visible = false |
| 94 | 94 | this.$emit('success') |
| 95 | 95 | } else { | ... | ... |
src/components/contract/deleteContract.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('contractManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | communityId: getCommunityId() |
| 43 | 43 | } |
| 44 | 44 | await deleteContract(params) |
| 45 | - this.$message.success(this.$t('contractManage.delete.success')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.handleClose() |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/contract/deleteContractChangePlan.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteContractChangePlan.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleConfirm() { |
| 39 | 39 | try { |
| 40 | 40 | await deleteContractChangePlan(this.currentData) |
| 41 | - this.$message.success(this.$t('deleteContractChangePlan.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | this.handleClose() |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/contract/deleteContractPartya.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('contractPartyaManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | async handleConfirm() { |
| 52 | 52 | try { |
| 53 | 53 | await deleteContractPartya(this.deleteData) |
| 54 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | this.visible = false |
| 56 | 56 | this.$emit('success') |
| 57 | 57 | } catch (error) { | ... | ... |
src/components/contract/deleteContractType.vue
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | const res = await deleteContractType(this.form) |
| 55 | 55 | |
| 56 | 56 | if (res.code === 0) { |
| 57 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.visible = false |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } else { | ... | ... |
src/components/contract/deleteContractTypeSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('contractTypeSpecManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | async handleConfirm() { |
| 52 | 52 | try { |
| 53 | 53 | await deleteContractTypeSpec(this.formData) |
| 54 | - this.$message.success(this.$t('contractTypeSpecManage.delete.success')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | this.visible = false |
| 56 | 56 | this.$emit('success') |
| 57 | 57 | } catch (error) { | ... | ... |
src/components/contract/editContract.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('contractManage.edit.title')" :visible.sync="visible" width="70%" :before-close="handleClose"> |
| 3 | 3 | <el-form :model="editContractInfo" label-width="120px" class="text-left" ref="editForm"> |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -297,7 +297,7 @@ export default { |
| 297 | 297 | |
| 298 | 298 | const data = await uploadFile(formData,{}) |
| 299 | 299 | this.editContractInfo.contractFilePo[index].fileSaveName = data.realFileName |
| 300 | - this.$message.success(this.$t('contractManage.edit.uploadSuccess')) | |
| 300 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 301 | 301 | } catch (error) { |
| 302 | 302 | console.error('上传文件失败:', error) |
| 303 | 303 | this.$message.error(this.$t('contractManage.edit.uploadError')) |
| ... | ... | @@ -306,7 +306,7 @@ export default { |
| 306 | 306 | async editContract() { |
| 307 | 307 | try { |
| 308 | 308 | await updateContract(this.editContractInfo) |
| 309 | - this.$message.success(this.$t('contractManage.edit.saveSuccess')) | |
| 309 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 310 | 310 | this.$emit('success') |
| 311 | 311 | this.handleClose() |
| 312 | 312 | } catch (error) { | ... | ... |
src/components/contract/editContractPartya.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('contractPartyaManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -124,7 +124,7 @@ export default { |
| 124 | 124 | if (valid) { |
| 125 | 125 | try { |
| 126 | 126 | await updateContractPartya(this.formData) |
| 127 | - this.$message.success(this.$t('common.editSuccess')) | |
| 127 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 128 | 128 | this.visible = false |
| 129 | 129 | this.$emit('success') |
| 130 | 130 | } catch (error) { | ... | ... |
src/components/contract/editContractType.vue
| ... | ... | @@ -126,7 +126,7 @@ export default { |
| 126 | 126 | const res = await updateContractType(this.form) |
| 127 | 127 | |
| 128 | 128 | if (res.code === 0) { |
| 129 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 129 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 130 | 130 | this.visible = false |
| 131 | 131 | this.$emit('success') |
| 132 | 132 | } else { | ... | ... |
src/components/contract/editContractTypeSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('contractTypeSpecManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -209,7 +209,7 @@ export default { |
| 209 | 209 | if (valid) { |
| 210 | 210 | try { |
| 211 | 211 | await updateContractTypeSpec(this.formData) |
| 212 | - this.$message.success(this.$t('contractTypeSpecManage.edit.success')) | |
| 212 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 213 | 213 | this.visible = false |
| 214 | 214 | this.$emit('success') |
| 215 | 215 | } catch (error) { | ... | ... |
src/components/dev/AddApp.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('app.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -101,7 +101,7 @@ export default { |
| 101 | 101 | try { |
| 102 | 102 | await this.$refs.form.validate() |
| 103 | 103 | await addApp(this.form) |
| 104 | - this.$message.success(this.$t('app.add.success')) | |
| 104 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 105 | 105 | this.handleClose() |
| 106 | 106 | this.$emit('success') |
| 107 | 107 | } catch (error) { | ... | ... |
src/components/dev/AddAttrSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('attrSpec.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('attrSpec.form.domain')" prop="domain"> |
| ... | ... | @@ -141,7 +141,7 @@ export default { |
| 141 | 141 | await this.$refs.form.validate() |
| 142 | 142 | this.form.tableName = this.tableName |
| 143 | 143 | await addAttrSpec(this.form) |
| 144 | - this.$message.success(this.$t('attrSpec.add.success')) | |
| 144 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 145 | 145 | this.handleClose() |
| 146 | 146 | this.$emit('success') |
| 147 | 147 | } catch (error) { | ... | ... |
src/components/dev/AddAttrValue.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('attrValue.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('attrValue.form.value')" prop="value"> |
| ... | ... | @@ -84,7 +84,7 @@ export default { |
| 84 | 84 | await this.$refs.form.validate() |
| 85 | 85 | this.form.specId = this.specId |
| 86 | 86 | await addAttrValue(this.form) |
| 87 | - this.$message.success(this.$t('attrValue.add.success')) | |
| 87 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 88 | 88 | this.handleClose() |
| 89 | 89 | this.$emit('success') |
| 90 | 90 | } catch (error) { | ... | ... |
src/components/dev/AddBusinessDatabus.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('businessDatabus.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -116,7 +116,7 @@ export default { |
| 116 | 116 | try { |
| 117 | 117 | await this.$refs.form.validate() |
| 118 | 118 | await addBusinessDatabus(this.form) |
| 119 | - this.$message.success(this.$t('businessDatabus.add.success')) | |
| 119 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 120 | 120 | this.handleClose() |
| 121 | 121 | this.$emit('success') |
| 122 | 122 | } catch (error) { | ... | ... |
src/components/dev/AddBusinessTableHis.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('businessTableHis.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| ... | ... | @@ -88,7 +88,7 @@ export default { |
| 88 | 88 | try { |
| 89 | 89 | await this.$refs.form.validate() |
| 90 | 90 | await addBusinessTableHis(this.form) |
| 91 | - this.$message.success(this.$t('businessTableHis.add.success')) | |
| 91 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 92 | 92 | this.handleClose() |
| 93 | 93 | this.$emit('success') |
| 94 | 94 | } catch (error) { | ... | ... |
src/components/dev/AddDict.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('dict.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('dict.form.name')" prop="name"> |
| ... | ... | @@ -72,7 +72,7 @@ export default { |
| 72 | 72 | await this.$refs.form.validate() |
| 73 | 73 | this.form.specId = this.specId |
| 74 | 74 | await addDict(this.form) |
| 75 | - this.$message.success(this.$t('dict.add.success')) | |
| 75 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 76 | 76 | this.handleClose() |
| 77 | 77 | this.$emit('success') |
| 78 | 78 | } catch (error) { | ... | ... |
src/components/dev/AddMapping.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('mapping.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -104,7 +104,7 @@ export default { |
| 104 | 104 | await this.$refs.form.validate() |
| 105 | 105 | this.form.domain = this.domain |
| 106 | 106 | await addMapping(this.form) |
| 107 | - this.$message.success(this.$t('mapping.add.success')) | |
| 107 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 108 | 108 | this.handleClose() |
| 109 | 109 | this.$emit('success') |
| 110 | 110 | } catch (error) { | ... | ... |
src/components/dev/AddMappingDomain.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('mappingDomain.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -100,7 +100,7 @@ export default { |
| 100 | 100 | try { |
| 101 | 101 | await this.$refs.form.validate() |
| 102 | 102 | await addMappingDomain(this.form) |
| 103 | - this.$message.success(this.$t('mappingDomain.add.success')) | |
| 103 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 104 | 104 | this.handleClose() |
| 105 | 105 | this.$emit('success') |
| 106 | 106 | } catch (error) { | ... | ... |
src/components/dev/AddMenu.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('menu.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('menu.form.name')" prop="name"> |
| ... | ... | @@ -124,7 +124,7 @@ export default { |
| 124 | 124 | await addMenu({ |
| 125 | 125 | data: _data |
| 126 | 126 | }) |
| 127 | - this.$message.success(this.$t('menu.add.success')) | |
| 127 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 128 | 128 | this.handleClose() |
| 129 | 129 | this.$emit('success') |
| 130 | 130 | } catch (error) { | ... | ... |
src/components/dev/AddMenuCatalog.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('menuCatalog.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('menuCatalog.form.name')" prop="name"> |
| ... | ... | @@ -101,7 +101,7 @@ export default { |
| 101 | 101 | try { |
| 102 | 102 | await this.$refs.form.validate() |
| 103 | 103 | await addMenuCatalog(this.form) |
| 104 | - this.$message.success(this.$t('menuCatalog.add.success')) | |
| 104 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 105 | 105 | this.handleClose() |
| 106 | 106 | this.$emit('success') |
| 107 | 107 | } catch (error) { | ... | ... |
src/components/dev/AddMenuGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('menuGroup.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('menuGroup.form.name')" prop="name"> |
| ... | ... | @@ -111,7 +111,7 @@ export default { |
| 111 | 111 | try { |
| 112 | 112 | await this.$refs.form.validate() |
| 113 | 113 | await addMenuGroup(this.form) |
| 114 | - this.$message.success(this.$t('menuGroup.add.success')) | |
| 114 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 115 | 115 | this.handleClose() |
| 116 | 116 | this.$emit('success') |
| 117 | 117 | } catch (error) { | ... | ... |
src/components/dev/AddMenuGroupCatalog.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('menuGroupCatalog.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| ... | ... | @@ -98,7 +98,7 @@ export default { |
| 98 | 98 | caId: this.caId, |
| 99 | 99 | storeType: this.storeType, |
| 100 | 100 | }) |
| 101 | - this.$message.success(this.$t('menuGroupCatalog.add.success')) | |
| 101 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 102 | 102 | this.handleClose() |
| 103 | 103 | this.$emit('success') |
| 104 | 104 | } catch (error) { | ... | ... |
src/components/dev/AddPrivilege.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('privilege.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('privilege.form.name')" prop="name"> |
| ... | ... | @@ -87,7 +87,7 @@ export default { |
| 87 | 87 | this.form.domain = this.domain |
| 88 | 88 | await this.$refs.form.validate() |
| 89 | 89 | await addPrivilege(this.form) |
| 90 | - this.$message.success(this.$t('privilege.add.success')) | |
| 90 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 91 | 91 | this.handleClose() |
| 92 | 92 | this.$emit('success') |
| 93 | 93 | } catch (error) { | ... | ... |
src/components/dev/AddService.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('service.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | |
| ... | ... | @@ -110,7 +110,7 @@ export default { |
| 110 | 110 | try { |
| 111 | 111 | await this.$refs.form.validate() |
| 112 | 112 | await addService(this.form) |
| 113 | - this.$message.success(this.$t('service.add.success')) | |
| 113 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 114 | 114 | this.handleClose() |
| 115 | 115 | this.$emit('success') |
| 116 | 116 | } catch (error) { | ... | ... |
src/components/dev/AddServiceBusiness.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('serviceBusiness.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | try { |
| 96 | 96 | await this.$refs.form.validate() |
| 97 | 97 | await addServiceBusiness(this.form) |
| 98 | - this.$message.success(this.$t('serviceBusiness.add.success')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.handleClose() |
| 100 | 100 | this.$emit('success') |
| 101 | 101 | } catch (error) { | ... | ... |
src/components/dev/AddTask.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('task.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('task.form.taskName')" prop="taskName"> |
| ... | ... | @@ -105,7 +105,7 @@ export default { |
| 105 | 105 | try { |
| 106 | 106 | await this.$refs.form.validate() |
| 107 | 107 | await addTask(this.form) |
| 108 | - this.$message.success(this.$t('task.add.success')) | |
| 108 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 109 | 109 | this.handleClose() |
| 110 | 110 | this.$emit('success') |
| 111 | 111 | } catch (error) { | ... | ... |
src/components/dev/DelApp.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('app.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteApp(this.appId) |
| 57 | - this.$message.success(this.$t('app.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelAttrSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('attrSpec.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteAttrSpec(this.specId) |
| 57 | - this.$message.success(this.$t('attrSpec.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelAttrValue.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('attrValue.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -58,7 +58,7 @@ export default { |
| 58 | 58 | async handleConfirm() { |
| 59 | 59 | try { |
| 60 | 60 | await deleteAttrValue(this.valueId,this.specId) |
| 61 | - this.$message.success(this.$t('attrValue.delete.success')) | |
| 61 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 62 | 62 | this.handleClose() |
| 63 | 63 | this.$emit('success') |
| 64 | 64 | } catch (error) { | ... | ... |
src/components/dev/DelBusinessDatabus.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('businessDatabus.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteBusinessDatabus(this.databusId) |
| 57 | - this.$message.success(this.$t('businessDatabus.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelBusinessTableHis.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('businessTableHis.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteBusinessTableHis(this.hisId) |
| 57 | - this.$message.success(this.$t('businessTableHis.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelDict.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('dict.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteDict(this.id) |
| 57 | - this.$message.success(this.$t('dict.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelMapping.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('mapping.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteMapping(this.mappingId) |
| 57 | - this.$message.success(this.$t('mapping.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelMappingDomain.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('mappingDomain.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteMappingDomain(this.id) |
| 57 | - this.$message.success(this.$t('mappingDomain.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelMenu.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menu.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -58,7 +58,7 @@ export default { |
| 58 | 58 | async handleConfirm() { |
| 59 | 59 | try { |
| 60 | 60 | await deleteMenu(this.mId,this.pId) |
| 61 | - this.$message.success(this.$t('menu.delete.success')) | |
| 61 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 62 | 62 | this.handleClose() |
| 63 | 63 | this.$emit('success') |
| 64 | 64 | } catch (error) { | ... | ... |
src/components/dev/DelMenuCatalog.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menuCatalog.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -58,7 +58,7 @@ export default { |
| 58 | 58 | async handleConfirm() { |
| 59 | 59 | try { |
| 60 | 60 | await deleteMenuCatalog(this.caId,this.storeType) |
| 61 | - this.$message.success(this.$t('menuCatalog.delete.success')) | |
| 61 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 62 | 62 | this.handleClose() |
| 63 | 63 | this.$emit('success') |
| 64 | 64 | } catch (error) { | ... | ... |
src/components/dev/DelMenuGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menuGroup.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteMenuGroup(this.gId) |
| 57 | - this.$message.success(this.$t('menuGroup.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelMenuGroupCatalog.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menuGroupCatalog.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -58,7 +58,7 @@ export default { |
| 58 | 58 | async handleConfirm() { |
| 59 | 59 | try { |
| 60 | 60 | await deleteMenuGroupCatalog(this.gcId,this.storeType) |
| 61 | - this.$message.success(this.$t('menuGroupCatalog.delete.success')) | |
| 61 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 62 | 62 | this.handleClose() |
| 63 | 63 | this.$emit('success') |
| 64 | 64 | } catch (error) { | ... | ... |
src/components/dev/DelPrivilege.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('privilege.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deletePrivilege(this.privilegeId) |
| 57 | - this.$message.success(this.$t('privilege.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelRoute.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('route.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteRoute(this.routeId) |
| 57 | - this.$message.success(this.$t('route.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelService.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('service.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteService(this.serviceId) |
| 57 | - this.$message.success(this.$t('service.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelServiceBusiness.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('serviceBusiness.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteServiceBusiness(this.serviceBusinessId) |
| 57 | - this.$message.success(this.$t('serviceBusiness.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DelTask.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('task.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteTask(this.taskId) |
| 57 | - this.$message.success(this.$t('task.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/dev/DeleteServiceProvide.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('serviceProvideManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | async handleConfirm() { |
| 45 | 45 | try { |
| 46 | 46 | await deleteServiceProvide({ id: this.serviceId }) |
| 47 | - this.$message.success(this.$t('serviceProvideManage.delete.success')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.$emit('success') |
| 49 | 49 | this.handleClose() |
| 50 | 50 | } catch (error) { | ... | ... |
src/components/dev/EditApp.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('app.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -113,7 +113,7 @@ export default { |
| 113 | 113 | try { |
| 114 | 114 | await this.$refs.form.validate() |
| 115 | 115 | await updateApp(this.form) |
| 116 | - this.$message.success(this.$t('app.edit.success')) | |
| 116 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 117 | 117 | this.handleClose() |
| 118 | 118 | this.$emit('success') |
| 119 | 119 | } catch (error) { | ... | ... |
src/components/dev/EditAttrSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('attrSpec.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('attrSpec.form.domain')" prop="domain"> |
| ... | ... | @@ -147,7 +147,7 @@ export default { |
| 147 | 147 | try { |
| 148 | 148 | await this.$refs.form.validate() |
| 149 | 149 | await updateAttrSpec(this.form) |
| 150 | - this.$message.success(this.$t('attrSpec.edit.success')) | |
| 150 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 151 | 151 | this.handleClose() |
| 152 | 152 | this.$emit('success') |
| 153 | 153 | } catch (error) { | ... | ... |
src/components/dev/EditAttrValue.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('attrValue.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('attrValue.form.value')" prop="value"> |
| ... | ... | @@ -92,7 +92,7 @@ export default { |
| 92 | 92 | try { |
| 93 | 93 | await this.$refs.form.validate() |
| 94 | 94 | await updateAttrValue(this.form) |
| 95 | - this.$message.success(this.$t('attrValue.edit.success')) | |
| 95 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 96 | 96 | this.handleClose() |
| 97 | 97 | this.$emit('success') |
| 98 | 98 | } catch (error) { | ... | ... |
src/components/dev/EditBusinessDatabus.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('businessDatabus.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -127,7 +127,7 @@ export default { |
| 127 | 127 | try { |
| 128 | 128 | await this.$refs.form.validate() |
| 129 | 129 | await updateBusinessDatabus(this.form) |
| 130 | - this.$message.success(this.$t('businessDatabus.edit.success')) | |
| 130 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 131 | 131 | this.handleClose() |
| 132 | 132 | this.$emit('success') |
| 133 | 133 | } catch (error) { | ... | ... |
src/components/dev/EditBusinessTableHis.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('businessTableHis.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -123,7 +123,7 @@ export default { |
| 123 | 123 | try { |
| 124 | 124 | await this.$refs.form.validate() |
| 125 | 125 | await updateBusinessTableHis(this.form) |
| 126 | - this.$message.success(this.$t('businessTableHis.edit.success')) | |
| 126 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 127 | 127 | this.handleClose() |
| 128 | 128 | this.$emit('success') |
| 129 | 129 | } catch (error) { | ... | ... |
src/components/dev/EditDict.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('dict.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('dict.form.name')" prop="name"> |
| ... | ... | @@ -79,7 +79,7 @@ export default { |
| 79 | 79 | try { |
| 80 | 80 | await this.$refs.form.validate() |
| 81 | 81 | await updateDict(this.form) |
| 82 | - this.$message.success(this.$t('dict.edit.success')) | |
| 82 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 83 | 83 | this.handleClose() |
| 84 | 84 | this.$emit('success') |
| 85 | 85 | } catch (error) { | ... | ... |
src/components/dev/EditMapping.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('mapping.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -118,7 +118,7 @@ export default { |
| 118 | 118 | try { |
| 119 | 119 | await this.$refs.form.validate() |
| 120 | 120 | await updateMapping(this.form) |
| 121 | - this.$message.success(this.$t('mapping.edit.success')) | |
| 121 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 122 | 122 | this.handleClose() |
| 123 | 123 | this.$emit('success') |
| 124 | 124 | } catch (error) { | ... | ... |
src/components/dev/EditMappingDomain.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('mappingDomain.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -111,7 +111,7 @@ export default { |
| 111 | 111 | try { |
| 112 | 112 | await this.$refs.form.validate() |
| 113 | 113 | await updateMappingDomain(this.form) |
| 114 | - this.$message.success(this.$t('mappingDomain.edit.success')) | |
| 114 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 115 | 115 | this.handleClose() |
| 116 | 116 | this.$emit('success') |
| 117 | 117 | } catch (error) { | ... | ... |
src/components/dev/EditMenu.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('menu.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('menu.form.name')" prop="name"> |
| ... | ... | @@ -103,7 +103,7 @@ export default { |
| 103 | 103 | try { |
| 104 | 104 | await this.$refs.form.validate() |
| 105 | 105 | await updateMenu(this.form) |
| 106 | - this.$message.success(this.$t('menu.edit.success')) | |
| 106 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 107 | 107 | this.handleClose() |
| 108 | 108 | this.$emit('success') |
| 109 | 109 | } catch (error) { | ... | ... |
src/components/dev/EditMenuCatalog.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('menuCatalog.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('menuCatalog.form.name')" prop="name"> |
| ... | ... | @@ -110,7 +110,7 @@ export default { |
| 110 | 110 | try { |
| 111 | 111 | await this.$refs.form.validate() |
| 112 | 112 | await updateMenuCatalog(this.form) |
| 113 | - this.$message.success(this.$t('menuCatalog.edit.success')) | |
| 113 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 114 | 114 | this.handleClose() |
| 115 | 115 | this.$emit('success') |
| 116 | 116 | } catch (error) { | ... | ... |
src/components/dev/EditMenuGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('menuGroup.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('menuGroup.form.name')" prop="name"> |
| ... | ... | @@ -119,7 +119,7 @@ export default { |
| 119 | 119 | try { |
| 120 | 120 | await this.$refs.form.validate() |
| 121 | 121 | await updateMenuGroup(this.form) |
| 122 | - this.$message.success(this.$t('menuGroup.edit.success')) | |
| 122 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 123 | 123 | this.handleClose() |
| 124 | 124 | this.$emit('success') |
| 125 | 125 | } catch (error) { | ... | ... |
src/components/dev/EditPrivilege.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('privilege.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -108,7 +108,7 @@ export default { |
| 108 | 108 | try { |
| 109 | 109 | await this.$refs.form.validate() |
| 110 | 110 | await updatePrivilege(this.form) |
| 111 | - this.$message.success(this.$t('privilege.edit.success')) | |
| 111 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 112 | 112 | this.handleClose() |
| 113 | 113 | this.$emit('success') |
| 114 | 114 | } catch (error) { | ... | ... |
src/components/dev/EditService.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('service.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | |
| ... | ... | @@ -120,7 +120,7 @@ export default { |
| 120 | 120 | try { |
| 121 | 121 | await this.$refs.form.validate() |
| 122 | 122 | await updateService(this.form) |
| 123 | - this.$message.success(this.$t('service.edit.success')) | |
| 123 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 124 | 124 | this.handleClose() |
| 125 | 125 | this.$emit('success') |
| 126 | 126 | } catch (error) { | ... | ... |
src/components/dev/EditServiceBusiness.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('serviceBusiness.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| ... | ... | @@ -102,7 +102,7 @@ export default { |
| 102 | 102 | try { |
| 103 | 103 | await this.$refs.form.validate() |
| 104 | 104 | await updateServiceBusiness(this.form) |
| 105 | - this.$message.success(this.$t('serviceBusiness.edit.success')) | |
| 105 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 106 | 106 | this.handleClose() |
| 107 | 107 | this.$emit('success') |
| 108 | 108 | } catch (error) { | ... | ... |
src/components/dev/EditServiceProvide.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('serviceProvideManage.table.name')" prop="name"> |
| ... | ... | @@ -127,7 +127,7 @@ export default { |
| 127 | 127 | try { |
| 128 | 128 | await this.$refs.form.validate() |
| 129 | 129 | await updateServiceProvide(this.form) |
| 130 | - this.$message.success(this.$t('serviceProvideManage.table.success')) | |
| 130 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 131 | 131 | this.$emit('success') |
| 132 | 132 | this.handleClose() |
| 133 | 133 | } catch (error) { | ... | ... |
src/components/dev/EditTask.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('task.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('task.form.taskName')" prop="taskName"> |
| ... | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | 93 | try { |
| 94 | 94 | await this.$refs.form.validate() |
| 95 | 95 | await updateTask(this.form) |
| 96 | - this.$message.success(this.$t('task.edit.success')) | |
| 96 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 97 | 97 | this.handleClose() |
| 98 | 98 | this.$emit('success') |
| 99 | 99 | } catch (error) { | ... | ... |
src/components/fee/AddCommunityPayment.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addCommunityPayment.title')" :visible.sync="visible" width="800px" @closed="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
| 4 | 4 | <el-form-item :label="$t('communityPayment.paymentName')" prop="paymentName"> |
| ... | ... | @@ -171,7 +171,7 @@ export default { |
| 171 | 171 | paymentKeys: this.paymentKeys |
| 172 | 172 | } |
| 173 | 173 | await saveAdminPaymentPool(payload) |
| 174 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 174 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 175 | 175 | this.visible = false |
| 176 | 176 | this.$emit('success') |
| 177 | 177 | } catch (error) { | ... | ... |
src/components/fee/DeleteCommunityPayment.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteCommunityPayment.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -36,7 +36,7 @@ export default { |
| 36 | 36 | async confirmDelete() { |
| 37 | 37 | try { |
| 38 | 38 | await deleteAdminPaymentPool({ ppId: this.paymentId }) |
| 39 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 39 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 40 | 40 | this.visible = false |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | } catch (error) { | ... | ... |
src/components/fee/EditCommunityPayment.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editCommunityPayment.title')" :visible.sync="visible" width="800px" @closed="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
| 4 | 4 | <el-form-item :label="$t('communityPayment.paymentName')" prop="paymentName"> | ... | ... |
src/components/fee/FeeConfigDetailDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-table :data="discounts" border style="width: 100%"> |
| 4 | 4 | <el-table-column prop="discountName" :label="$t('feeConfigDetail.discountName')" align="center"></el-table-column> |
| ... | ... | @@ -105,7 +105,7 @@ export default { |
| 105 | 105 | configDiscountId: this.currentDiscount.configDiscountId, |
| 106 | 106 | communityId: this.getCommunityId() |
| 107 | 107 | }) |
| 108 | - this.$message.success(this.$t('feeConfigDetail.deleteSuccess')) | |
| 108 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 109 | 109 | this.loadData() |
| 110 | 110 | this.deleteDialogVisible = false |
| 111 | 111 | } catch (error) { | ... | ... |
src/components/fee/addApplyRoomDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('applyRoomDiscount.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('applyRoomDiscount.add.room')" prop="roomName"> |
| ... | ... | @@ -235,7 +235,7 @@ export default { |
| 235 | 235 | try { |
| 236 | 236 | this.form.communityId = getCommunityId() |
| 237 | 237 | await saveApplyRoomDiscount(this.form) |
| 238 | - this.$message.success(this.$t('applyRoomDiscount.message.saveSuccess')) | |
| 238 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 239 | 239 | this.visible = false |
| 240 | 240 | this.$emit('success') |
| 241 | 241 | } catch (error) { | ... | ... |
src/components/fee/addApplyRoomDiscountType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('discountType.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('discountType.form.typeName')" prop="typeName"> |
| ... | ... | @@ -62,7 +62,7 @@ export default { |
| 62 | 62 | try { |
| 63 | 63 | this.formData.communityId = getCommunityId() |
| 64 | 64 | await saveApplyRoomDiscountType(this.formData) |
| 65 | - this.$message.success(this.$t('discountType.add.success')) | |
| 65 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 66 | 66 | this.visible = false |
| 67 | 67 | this.$emit('success') |
| 68 | 68 | } catch (error) { | ... | ... |
src/components/fee/addFeeCombo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('feeComboManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('feeComboManage.add.comboName')" prop="comboName"> |
| ... | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | 93 | if (valid) { |
| 94 | 94 | try { |
| 95 | 95 | await saveFeeCombo(this.form) |
| 96 | - this.$message.success(this.$t('feeComboManage.add.success')) | |
| 96 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 97 | 97 | this.$emit('success') |
| 98 | 98 | this.visible = false |
| 99 | 99 | } catch (error) { | ... | ... |
src/components/fee/addFeeComboMember.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px" :rules="rules"> |
| 4 | 4 | <el-form-item :label="$t('feeComboMemberManage.feeType')" prop="feeTypeCd"> |
| ... | ... | @@ -89,7 +89,7 @@ export default { |
| 89 | 89 | if (valid) { |
| 90 | 90 | try { |
| 91 | 91 | await saveFeeComboMember(this.formData) |
| 92 | - this.$message.success(this.$t('feeComboMemberManage.addSuccess')) | |
| 92 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 93 | 93 | this.$emit('success') |
| 94 | 94 | this.visible = false |
| 95 | 95 | } catch (error) { | ... | ... |
src/components/fee/addFeeConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="80%" @close="resetForm"> |
| 3 | 3 | <el-form :model="form" :rules="rules" label-width="150px" ref="form"> |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -315,7 +315,7 @@ export default { |
| 315 | 315 | // 调用API保存 |
| 316 | 316 | await saveFeeConfig(this.form) |
| 317 | 317 | |
| 318 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 318 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 319 | 319 | this.visible = false |
| 320 | 320 | this.$emit('success') |
| 321 | 321 | } catch (error) { | ... | ... |
src/components/fee/addFeeDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('feeDiscountManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="addFeeDiscountInfo" label-width="120px" :rules="rules"> |
| 4 | 4 | <el-form-item :label="$t('feeDiscountManage.add.discountName')" prop="discountName"> |
| ... | ... | @@ -137,7 +137,7 @@ export default { |
| 137 | 137 | |
| 138 | 138 | try { |
| 139 | 139 | await saveFeeDiscount(this.addFeeDiscountInfo) |
| 140 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 140 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 141 | 141 | this.$emit('success') |
| 142 | 142 | this.visible = false |
| 143 | 143 | this.resetForm() | ... | ... |
src/components/fee/addFloorShare.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('floorShare.addTitle')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('floorShare.floor')" prop="floorNum"> |
| ... | ... | @@ -134,7 +134,7 @@ export default { |
| 134 | 134 | if (valid) { |
| 135 | 135 | try { |
| 136 | 136 | await saveFloorShareMeter(this.form) |
| 137 | - this.$message.success(this.$t('floorShare.addSuccess')) | |
| 137 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 138 | 138 | this.dialogVisible = false |
| 139 | 139 | this.$emit('success') |
| 140 | 140 | } catch (error) { | ... | ... |
src/components/fee/addMeterType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('meterTypeManage.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -70,7 +70,7 @@ export default { |
| 70 | 70 | if (valid) { |
| 71 | 71 | try { |
| 72 | 72 | await saveMeterType(this.form) |
| 73 | - this.$message.success(this.$t('meterTypeManage.addSuccess')) | |
| 73 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 74 | 74 | this.visible = false |
| 75 | 75 | this.$emit('success') |
| 76 | 76 | } catch (error) { | ... | ... |
src/components/fee/addMeterWater.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('meterWater.addMeterReading')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('meterWater.feeType')" prop="feeTypeCd"> |
| ... | ... | @@ -315,7 +315,7 @@ export default { |
| 315 | 315 | |
| 316 | 316 | try { |
| 317 | 317 | await saveMeterWater(this.form) |
| 318 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 318 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 319 | 319 | this.dialogVisible = false |
| 320 | 320 | this.$emit('success') |
| 321 | 321 | } catch (error) { | ... | ... |
src/components/fee/addPayFeeConfigDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addPayFeeConfigDiscount.addTitle')" :visible.sync="visible" width="800px" |
| 3 | 3 | :close-on-click-modal="false" @closed="resetForm"> |
| 4 | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="160px"> |
| ... | ... | @@ -139,7 +139,7 @@ export default { |
| 139 | 139 | try { |
| 140 | 140 | this.loading = true |
| 141 | 141 | await savePayFeeConfigDiscount(this.form) |
| 142 | - this.$message.success(this.$t('addPayFeeConfigDiscount.saveSuccess')) | |
| 142 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 143 | 143 | this.visible = false |
| 144 | 144 | this.$emit('success') |
| 145 | 145 | } catch (error) { | ... | ... |
src/components/fee/addPayFeeQrcode.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('payFeeQrcode.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -190,7 +190,7 @@ export default { |
| 190 | 190 | if (valid) { |
| 191 | 191 | try { |
| 192 | 192 | await savePayFeeQrcode(this.form) |
| 193 | - this.$message.success(this.$t('payFeeQrcode.message.addSuccess')) | |
| 193 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 194 | 194 | this.visible = false |
| 195 | 195 | this.$emit('success') |
| 196 | 196 | } catch (error) { | ... | ... |
src/components/fee/addProxyFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addProxyFee.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('addProxyFee.feeType')" prop="feeTypeCd"> |
| ... | ... | @@ -235,7 +235,7 @@ export default { |
| 235 | 235 | |
| 236 | 236 | |
| 237 | 237 | saveProxyFee(params).then(() => { |
| 238 | - this.$message.success(this.$t('addProxyFee.successMessage')) | |
| 238 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 239 | 239 | this.$emit('success') |
| 240 | 240 | this.handleClose() |
| 241 | 241 | }).catch(error => { | ... | ... |
src/components/fee/addProxyFeeDemo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-button @click="openModal">{{ $t('addProxyFeeDemo.openModal') }}</el-button> |
| 4 | 4 | <add-proxy-fee ref="addProxyFee" @success="handleSuccess"></add-proxy-fee> |
| ... | ... | @@ -22,7 +22,7 @@ export default { |
| 22 | 22 | }) |
| 23 | 23 | }, |
| 24 | 24 | handleSuccess() { |
| 25 | - this.$message.success(this.$t('addProxyFeeDemo.successMessage')) | |
| 25 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 26 | 26 | } |
| 27 | 27 | } |
| 28 | 28 | } | ... | ... |
src/components/fee/addShareReading.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('shareReading.add.title')" :visible.sync="dialogVisible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('shareReading.add.meter')" prop="fsmId"> |
| ... | ... | @@ -104,7 +104,7 @@ export default { |
| 104 | 104 | try { |
| 105 | 105 | this.form.communityId = getCommunityId() |
| 106 | 106 | await saveFloorShareReading(this.form) |
| 107 | - this.$message.success(this.$t('shareReading.message.addSuccess')) | |
| 107 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 108 | 108 | this.dialogVisible = false |
| 109 | 109 | this.$emit('success') |
| 110 | 110 | } catch (error) { | ... | ... |
src/components/fee/applyDeleteFeeBatch.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('applyDeleteFeeBatch.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -97,7 +97,7 @@ export default { |
| 97 | 97 | if (valid) { |
| 98 | 98 | try { |
| 99 | 99 | await applyDeletePayFeeBatch(this.formData) |
| 100 | - this.$message.success(this.$t('applyDeleteFeeBatch.message.success')) | |
| 100 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 101 | 101 | this.visible = false |
| 102 | 102 | this.$emit('success') |
| 103 | 103 | } catch (error) { | ... | ... |
src/components/fee/applyRoomDiscountRecord.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('applyRoomDiscountRecord.title')" :visible.sync="visible" width="60%" |
| 3 | 3 | :before-close="handleClose"> |
| 4 | 4 | <el-form :model="form" label-width="120px" label-position="left" class="text-left"> |
| ... | ... | @@ -120,7 +120,7 @@ export default { |
| 120 | 120 | |
| 121 | 121 | const res = await addApplyRoomDiscountRecord(this.form) |
| 122 | 122 | if (res.code === 0) { |
| 123 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 123 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 124 | 124 | this.handleClose() |
| 125 | 125 | this.$emit('success') |
| 126 | 126 | } else { | ... | ... |
src/components/fee/auditShareReading.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('shareReading.audit.title')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -71,7 +71,7 @@ export default { |
| 71 | 71 | if (valid) { |
| 72 | 72 | try { |
| 73 | 73 | await auditFloorShareReading(this.form) |
| 74 | - this.$message.success(this.$t('shareReading.message.auditSuccess')) | |
| 74 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 75 | 75 | this.dialogVisible = false |
| 76 | 76 | this.$emit('success') |
| 77 | 77 | } catch (error) { | ... | ... |
src/components/fee/carCreateFeeAdd.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('carCreateFeeAdd.createFee')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form :model="form" label-width="150px" ref="form" class="text-left"> |
| 4 | 4 | <el-form-item v-if="isMore" :label="$t('carCreateFeeAdd.chargeScope')" prop="locationTypeCd" |
| ... | ... | @@ -185,7 +185,7 @@ export default { |
| 185 | 185 | // 提交表单 |
| 186 | 186 | //const res = ; |
| 187 | 187 | await saveParkingSpaceCreateFee(this.form) |
| 188 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 188 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 189 | 189 | this.visible = false |
| 190 | 190 | this.$emit('success') |
| 191 | 191 | ... | ... |
src/components/fee/deleteApplyRoomDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('applyRoomDiscount.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -59,7 +59,7 @@ export default { |
| 59 | 59 | try { |
| 60 | 60 | this.loading = true |
| 61 | 61 | await deleteApplyRoomDiscount(this.form) |
| 62 | - this.$message.success(this.$t('applyRoomDiscount.message.deleteSuccess')) | |
| 62 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 63 | 63 | this.visible = false |
| 64 | 64 | this.$emit('success') |
| 65 | 65 | } catch (error) { | ... | ... |
src/components/fee/deleteApplyRoomDiscountRecord.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteApplyRoomDiscountRecord.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -49,7 +49,7 @@ export default { |
| 49 | 49 | |
| 50 | 50 | const res = await cutApplyRoomDiscountRecord(params) |
| 51 | 51 | if (res.code === 0) { |
| 52 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 52 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 53 | 53 | this.handleClose() |
| 54 | 54 | this.$emit('success') |
| 55 | 55 | } else { | ... | ... |
src/components/fee/deleteApplyRoomDiscountType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('discountType.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -60,7 +60,7 @@ export default { |
| 60 | 60 | try { |
| 61 | 61 | this.formData.communityId = getCommunityId() |
| 62 | 62 | await deleteApplyRoomDiscountType(this.formData) |
| 63 | - this.$message.success(this.$t('discountType.delete.success')) | |
| 63 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 64 | 64 | this.visible = false |
| 65 | 65 | this.$emit('success') |
| 66 | 66 | } catch (error) { | ... | ... |
src/components/fee/deleteFee.vue
| ... | ... | @@ -39,7 +39,7 @@ export default { |
| 39 | 39 | try { |
| 40 | 40 | const res = await deleteFee(this.deleteFeeInfo) |
| 41 | 41 | if (res.code === 0) { |
| 42 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 42 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 43 | 43 | this.$emit('success') |
| 44 | 44 | this.handleClose() |
| 45 | 45 | } else { | ... | ... |
src/components/fee/deleteFeeCombo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('feeComboManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | this.loading = true |
| 52 | 52 | try { |
| 53 | 53 | await deleteFeeCombo(this.form) |
| 54 | - this.$message.success(this.$t('feeComboManage.delete.success')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | this.$emit('success') |
| 56 | 56 | this.visible = false |
| 57 | 57 | } catch (error) { | ... | ... |
src/components/fee/deleteFeeComboMember.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -40,7 +40,7 @@ export default { |
| 40 | 40 | async handleConfirm() { |
| 41 | 41 | try { |
| 42 | 42 | await deleteFeeComboMember(this.formData) |
| 43 | - this.$message.success(this.$t('feeComboMemberManage.deleteSuccess')) | |
| 43 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 44 | 44 | this.$emit('success') |
| 45 | 45 | this.visible = false |
| 46 | 46 | } catch (error) { | ... | ... |
src/components/fee/deleteFeeConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.operation')" :visible.sync="visible" width="500px"> |
| 3 | 3 | <p>{{ $t('feeConfigManage.confirmDeleteFeeItem') }}</p> |
| 4 | 4 | |
| ... | ... | @@ -33,7 +33,7 @@ export default { |
| 33 | 33 | communityId: this.getCommunityId() |
| 34 | 34 | }) |
| 35 | 35 | |
| 36 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 36 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 37 | 37 | this.visible = false |
| 38 | 38 | this.$emit('success') |
| 39 | 39 | } catch (error) { | ... | ... |
src/components/fee/deleteFeeDemo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-button @click="openModal">{{ $t('deleteFeeDemo.openModal') }}</el-button> |
| 4 | 4 | <delete-fee ref="deleteFee" @success="handleSuccess"></delete-fee> |
| ... | ... | @@ -20,7 +20,7 @@ export default { |
| 20 | 20 | }) |
| 21 | 21 | }, |
| 22 | 22 | handleSuccess() { |
| 23 | - this.$message.success(this.$t('deleteFeeDemo.successMessage')) | |
| 23 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 24 | 24 | } |
| 25 | 25 | } |
| 26 | 26 | } | ... | ... |
src/components/fee/deleteFeeDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('feeDiscountManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | async deleteFeeDiscount() { |
| 52 | 52 | try { |
| 53 | 53 | await deleteFeeDiscount(this.deleteFeeDiscountInfo) |
| 54 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | this.$emit('success') |
| 56 | 56 | this.visible = false |
| 57 | 57 | this.resetForm() | ... | ... |
src/components/fee/deleteFeeRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteFeeRule.confirmTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -45,7 +45,7 @@ export default { |
| 45 | 45 | if (response.code === 0) { |
| 46 | 46 | this.dialogVisible = false |
| 47 | 47 | this.$emit('delete-success') |
| 48 | - this.$message.success(this.$t('deleteFeeRule.deleteSuccess')) | |
| 48 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 49 | 49 | } else { |
| 50 | 50 | this.$message.error(response.msg) |
| 51 | 51 | } | ... | ... |
src/components/fee/deleteFloorShare.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('floorShare.deleteConfirm')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | this.loading = true |
| 44 | 44 | try { |
| 45 | 45 | await deleteFloorShareMeter(this.form) |
| 46 | - this.$message.success(this.$t('floorShare.deleteSuccess')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.dialogVisible = false |
| 48 | 48 | this.$emit('success') |
| 49 | 49 | } catch (error) { | ... | ... |
src/components/fee/deleteInvoiceApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteInvoiceApply.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | } |
| 47 | 47 | await deleteApi(params) |
| 48 | 48 | this.$emit('success') |
| 49 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.closeDialog() |
| 51 | 51 | } catch (error) { |
| 52 | 52 | this.$message.error(error.message) | ... | ... |
src/components/fee/deleteMeterType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('meterTypeManage.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -48,7 +48,7 @@ export default { |
| 48 | 48 | try { |
| 49 | 49 | this.loading = true |
| 50 | 50 | await deleteMeterType(this.form) |
| 51 | - this.$message.success(this.$t('meterTypeManage.deleteSuccess')) | |
| 51 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 52 | 52 | this.visible = false |
| 53 | 53 | this.$emit('success') |
| 54 | 54 | } catch (error) { | ... | ... |
src/components/fee/deleteMeterWater.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('meterWater.confirmOperation')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -45,7 +45,7 @@ export default { |
| 45 | 45 | waterId: this.waterId, |
| 46 | 46 | communityId: this.communityId |
| 47 | 47 | }) |
| 48 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 48 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 49 | 49 | this.dialogVisible = false |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | } catch (error) { | ... | ... |
src/components/fee/deleteOweFeeCallable.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteOweFeeCallable.title')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | this.$emit('listOweFeeCallable', {}) |
| 55 | 55 | this.$emit('listOwnerData', {}) |
| 56 | 56 | this.$emit('success', {}) |
| 57 | - this.$message.success(this.$t('deleteOweFeeCallable.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | } else { |
| 59 | 59 | this.$message.error(res.msg) |
| 60 | 60 | } | ... | ... |
src/components/fee/deleteOwnerInvoice.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('confirmDeleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -31,7 +31,7 @@ export default { |
| 31 | 31 | async handleDelete() { |
| 32 | 32 | try { |
| 33 | 33 | await deleteOwnerInvoice({ oiId: this.currentData.oiId }) |
| 34 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 34 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 35 | 35 | this.visible = false |
| 36 | 36 | this.$emit('success') |
| 37 | 37 | } catch (error) { | ... | ... |
src/components/fee/deletePayFeeConfigDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deletePayFeeConfigDiscount.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | try { |
| 42 | 42 | this.loading = true |
| 43 | 43 | await deletePayFeeConfigDiscount(this.configDiscount) |
| 44 | - this.$message.success(this.$t('deletePayFeeConfigDiscount.deleteSuccess')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.visible = false |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/fee/deletePayFeeQrcode.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('payFeeQrcode.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -58,7 +58,7 @@ export default { |
| 58 | 58 | async handleConfirm() { |
| 59 | 59 | try { |
| 60 | 60 | await deletePayFeeQrcode(this.currentData) |
| 61 | - this.$message.success(this.$t('payFeeQrcode.message.deleteSuccess')) | |
| 61 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 62 | 62 | this.visible = false |
| 63 | 63 | this.$emit('success') |
| 64 | 64 | } catch (error) { | ... | ... |
src/components/fee/deleteShareReading.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('shareReading.delete.title')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -40,7 +40,7 @@ export default { |
| 40 | 40 | readingId: this.readingId, |
| 41 | 41 | communityId: this.communityId |
| 42 | 42 | }) |
| 43 | - this.$message.success(this.$t('shareReading.message.deleteSuccess')) | |
| 43 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 44 | 44 | this.dialogVisible = false |
| 45 | 45 | this.$emit('success') |
| 46 | 46 | } catch (error) { | ... | ... |
src/components/fee/doImportCreateFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('doImportCreateFee.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> |
| 3 | 3 | <el-form label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('doImportCreateFee.selectFile')"> |
| ... | ... | @@ -76,7 +76,7 @@ export default { |
| 76 | 76 | importData(formData).then(response => { |
| 77 | 77 | const res = response |
| 78 | 78 | if (res.code === 0) { |
| 79 | - this.$message.success(this.$t('doImportCreateFee.successMessage')) | |
| 79 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 80 | 80 | this.handleClose() |
| 81 | 81 | this.$router.push(`/views/system/assetImportLogDetail?logId=${res.data.logId}&logType=importCustomFee`) |
| 82 | 82 | } else { | ... | ... |
src/components/fee/editApplyRoomDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('applyRoomDiscount.edit.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('applyRoomDiscount.edit.startTime')" prop="startTime"> |
| ... | ... | @@ -141,7 +141,7 @@ export default { |
| 141 | 141 | async updateApplyRoomDiscount() { |
| 142 | 142 | try { |
| 143 | 143 | await updateApplyRoomDiscount(this.form) |
| 144 | - this.$message.success(this.$t('applyRoomDiscount.message.updateSuccess')) | |
| 144 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 145 | 145 | this.visible = false |
| 146 | 146 | this.$emit('success') |
| 147 | 147 | } catch (error) { | ... | ... |
src/components/fee/editApplyRoomDiscountRecord.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('applyRoomDiscount.editRecord.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('applyRoomDiscount.editRecord.ardId')" prop="ardId"> |
| ... | ... | @@ -145,7 +145,7 @@ export default { |
| 145 | 145 | async updateApplyRoomDiscount() { |
| 146 | 146 | try { |
| 147 | 147 | await editApplyRoomDiscount(this.form) |
| 148 | - this.$message.success(this.$t('applyRoomDiscount.message.updateSuccess')) | |
| 148 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 149 | 149 | this.visible = false |
| 150 | 150 | this.$emit('success') |
| 151 | 151 | } catch (error) { | ... | ... |
src/components/fee/editApplyRoomDiscountType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('discountType.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('discountType.form.applyType')" prop="applyType"> |
| ... | ... | @@ -69,7 +69,7 @@ export default { |
| 69 | 69 | try { |
| 70 | 70 | this.formData.communityId = getCommunityId() |
| 71 | 71 | await updateApplyRoomDiscountType(this.formData) |
| 72 | - this.$message.success(this.$t('discountType.edit.success')) | |
| 72 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 73 | 73 | this.visible = false |
| 74 | 74 | this.$emit('success') |
| 75 | 75 | } catch (error) { | ... | ... |
src/components/fee/editFee.vue
| ... | ... | @@ -127,7 +127,7 @@ export default { |
| 127 | 127 | try { |
| 128 | 128 | const res = await updateFee(this.editFeeInfo) |
| 129 | 129 | if (res.code === 0) { |
| 130 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 130 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 131 | 131 | this.$emit('success') |
| 132 | 132 | this.handleClose() |
| 133 | 133 | } else { | ... | ... |
src/components/fee/editFeeCombo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('feeComboManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -88,7 +88,7 @@ export default { |
| 88 | 88 | if (valid) { |
| 89 | 89 | try { |
| 90 | 90 | await updateFeeCombo(this.form) |
| 91 | - this.$message.success(this.$t('feeComboManage.edit.success')) | |
| 91 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 92 | 92 | this.$emit('success') |
| 93 | 93 | this.visible = false |
| 94 | 94 | } catch (error) { | ... | ... |
src/components/fee/editFeeConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="80%" @close="resetForm"> |
| 3 | 3 | <el-form :model="form" label-width="150px" ref="form"> |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -277,7 +277,7 @@ export default { |
| 277 | 277 | // 调用API更新 |
| 278 | 278 | await updateFeeConfig(this.form) |
| 279 | 279 | |
| 280 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 280 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 281 | 281 | this.visible = false |
| 282 | 282 | this.$emit('success') |
| 283 | 283 | } catch (error) { | ... | ... |
src/components/fee/editFeeDemo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-button @click="openModal">{{ $t('editFeeDemo.openModal') }}</el-button> |
| 4 | 4 | <edit-fee ref="editFee" @success="handleSuccess"></edit-fee> |
| ... | ... | @@ -27,7 +27,7 @@ export default { |
| 27 | 27 | }) |
| 28 | 28 | }, |
| 29 | 29 | handleSuccess() { |
| 30 | - this.$message.success(this.$t('editFeeDemo.successMessage')) | |
| 30 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 31 | 31 | } |
| 32 | 32 | } |
| 33 | 33 | } | ... | ... |
src/components/fee/editFeeDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('feeDiscountManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="editFeeDiscountInfo" label-width="120px" :rules="rules"> |
| 4 | 4 | <el-form-item :label="$t('feeDiscountManage.edit.discountName')" prop="discountName"> |
| ... | ... | @@ -150,7 +150,7 @@ export default { |
| 150 | 150 | |
| 151 | 151 | try { |
| 152 | 152 | await updateFeeDiscount(this.editFeeDiscountInfo) |
| 153 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 153 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 154 | 154 | this.$emit('success') |
| 155 | 155 | this.visible = false |
| 156 | 156 | this.resetForm() | ... | ... |
src/components/fee/editFeeRule.vue
| ... | ... | @@ -89,7 +89,7 @@ export default { |
| 89 | 89 | try { |
| 90 | 90 | const res = await updatePayFeeRule(this.editFeeRuleInfo) |
| 91 | 91 | if (res.code === 0) { |
| 92 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 92 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 93 | 93 | this.$emit('success') |
| 94 | 94 | this.handleClose() |
| 95 | 95 | } else { | ... | ... |
src/components/fee/editFeeRuleDemo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-button @click="openModal">{{ $t('editFeeRuleDemo.openModal') }}</el-button> |
| 4 | 4 | <edit-fee-rule ref="editFeeRule" @success="handleSuccess"></edit-fee-rule> |
| ... | ... | @@ -22,7 +22,7 @@ export default { |
| 22 | 22 | }) |
| 23 | 23 | }, |
| 24 | 24 | handleSuccess() { |
| 25 | - this.$message.success(this.$t('editFeeRuleDemo.successMessage')) | |
| 25 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 26 | 26 | } |
| 27 | 27 | } |
| 28 | 28 | } | ... | ... |
src/components/fee/editFloorShare.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('floorShare.editTitle')" :visible.sync="dialogVisible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('floorShare.floor')" prop="floorNum"> |
| ... | ... | @@ -135,7 +135,7 @@ export default { |
| 135 | 135 | if (valid) { |
| 136 | 136 | try { |
| 137 | 137 | await updateFloorShareMeter(this.form) |
| 138 | - this.$message.success(this.$t('floorShare.editSuccess')) | |
| 138 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 139 | 139 | this.dialogVisible = false |
| 140 | 140 | this.$emit('success') |
| 141 | 141 | } catch (error) { | ... | ... |
src/components/fee/editMeterType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('meterTypeManage.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -80,7 +80,7 @@ export default { |
| 80 | 80 | if (valid) { |
| 81 | 81 | try { |
| 82 | 82 | await updateMeterType(this.form) |
| 83 | - this.$message.success(this.$t('meterTypeManage.editSuccess')) | |
| 83 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 84 | 84 | this.visible = false |
| 85 | 85 | this.$emit('success') |
| 86 | 86 | } catch (error) { | ... | ... |
src/components/fee/editMeterWater.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('meterWater.editMeterReading')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -128,7 +128,7 @@ export default { |
| 128 | 128 | |
| 129 | 129 | try { |
| 130 | 130 | await updateMeterWater(this.form) |
| 131 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 131 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 132 | 132 | this.dialogVisible = false |
| 133 | 133 | this.$emit('success') |
| 134 | 134 | } catch (error) { | ... | ... |
src/components/fee/editOwnerInvoice.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -104,7 +104,7 @@ export default { |
| 104 | 104 | async handleSave() { |
| 105 | 105 | try { |
| 106 | 106 | await updateOwnerInvoice(this.formData) |
| 107 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 107 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 108 | 108 | this.visible = false |
| 109 | 109 | this.$emit('success') |
| 110 | 110 | } catch (error) { | ... | ... |
src/components/fee/editPayFeeQrcode.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('payFeeQrcode.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -196,7 +196,7 @@ export default { |
| 196 | 196 | if (valid) { |
| 197 | 197 | try { |
| 198 | 198 | await updatePayFeeQrcode(this.form) |
| 199 | - this.$message.success(this.$t('payFeeQrcode.message.editSuccess')) | |
| 199 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 200 | 200 | this.visible = false |
| 201 | 201 | this.$emit('success') |
| 202 | 202 | } catch (error) { | ... | ... |
src/components/fee/exportCarFeeImportExcel.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('exportCarFeeImportExcel.templateExport')" :visible.sync="visible" width="50%"> |
| 3 | 3 | <el-form label-width="150px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('exportCarFeeImportExcel.parkingLot')"> |
| ... | ... | @@ -120,7 +120,7 @@ export default { |
| 120 | 120 | configIds |
| 121 | 121 | }) |
| 122 | 122 | |
| 123 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 123 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 124 | 124 | this.visible = false |
| 125 | 125 | } catch (error) { |
| 126 | 126 | this.$message.error(this.$t('common.exportError')) | ... | ... |
src/components/fee/finishFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('finishFee.confirmOperation')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -48,7 +48,7 @@ |
| 48 | 48 | communityId: this.communityId |
| 49 | 49 | } |
| 50 | 50 | await finishFee(params) |
| 51 | - this.$message.success(this.$t('finishFee.successMessage')) | |
| 51 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 52 | 52 | this.closeFinishFeeModel() |
| 53 | 53 | this.$emit('success') |
| 54 | 54 | } catch (error) { | ... | ... |
src/components/fee/finishFeeRule.vue
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | try { |
| 44 | 44 | const res = await updatePayFeeRule(data) |
| 45 | 45 | if (res.code === 0) { |
| 46 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | this.handleClose() |
| 49 | 49 | } else { | ... | ... |
src/components/fee/importMeterWaterFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('meterWater.meterReadingImport')" :visible.sync="dialogVisible" width="40%" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right" class="text-left"> |
| ... | ... | @@ -156,7 +156,7 @@ export default { |
| 156 | 156 | pagePath:'exportMeterWater' |
| 157 | 157 | }) |
| 158 | 158 | |
| 159 | - this.$message.success(this.$t('meterWater.downloadStarted')) | |
| 159 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 160 | 160 | this.dialogVisible = false |
| 161 | 161 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 162 | 162 | |
| ... | ... | @@ -188,7 +188,7 @@ export default { |
| 188 | 188 | this.$message.error(res.msg) |
| 189 | 189 | return ; |
| 190 | 190 | } |
| 191 | - this.$message.success(this.$t('meterWater.importSuccess')) | |
| 191 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 192 | 192 | this.dialogVisible = false |
| 193 | 193 | this.$emit('success', res.logId) |
| 194 | 194 | } catch (error) { | ... | ... |
src/components/fee/importMeterWaterFee2.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('meterWater.meterReadingImport2')" :visible.sync="dialogVisible" width="40%" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right" class="text-left"> |
| ... | ... | @@ -160,7 +160,7 @@ export default { |
| 160 | 160 | feeName, |
| 161 | 161 | pagePath: 'exportMeterWater2' |
| 162 | 162 | }) |
| 163 | - this.$message.success(this.$t('meterWater.downloadStarted')) | |
| 163 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 164 | 164 | this.dialogVisible = false |
| 165 | 165 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 166 | 166 | } catch (error) { |
| ... | ... | @@ -192,7 +192,7 @@ export default { |
| 192 | 192 | this.$message.error(res.msg) |
| 193 | 193 | return ; |
| 194 | 194 | } |
| 195 | - this.$message.success(this.$t('meterWater.importSuccess')) | |
| 195 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 196 | 196 | this.dialogVisible = false |
| 197 | 197 | this.$emit('success', res.logId) |
| 198 | 198 | } catch (error) { | ... | ... |
src/components/fee/importRoomFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('importRoomFee.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" label-width="120px" class="text-left" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('importRoomFee.form.feeTypeCd')" prop="feeTypeCd" :rules="[ |
| ... | ... | @@ -117,7 +117,7 @@ export default { |
| 117 | 117 | return {code: 500, msg: error} |
| 118 | 118 | }) |
| 119 | 119 | if (res.code === 0) { |
| 120 | - this.$message.success(this.$t('importRoomFee.message.importSuccess')) | |
| 120 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 121 | 121 | this.visible = false |
| 122 | 122 | this.$emit('success') |
| 123 | 123 | this.$router.push({ |
| ... | ... | @@ -150,7 +150,7 @@ export default { |
| 150 | 150 | this.visible = false |
| 151 | 151 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 152 | 152 | } |
| 153 | - this.$message.success(this.$t('importRoomFee.message.downloadSuccess')) | |
| 153 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 154 | 154 | } catch (error) { |
| 155 | 155 | console.error('下载模板失败:', error) |
| 156 | 156 | this.$message.error(this.$t('importRoomFee.message.downloadFailed')) | ... | ... |
src/components/fee/mergeFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('mergeFee.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | if (res.code === 0) { |
| 52 | 52 | this.closeMergeFeeModel() |
| 53 | 53 | this.$emit('merge-success') |
| 54 | - this.$message.success(this.$t('mergeFee.mergeSuccess')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | } else { |
| 56 | 56 | this.$message.error(res.msg) |
| 57 | 57 | } | ... | ... |
src/components/fee/mergeFeeDemo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-button @click="openComponent">{{ $t('mergeFeeDemo.openComponent') }}</el-button> |
| 4 | 4 | <merge-fee ref="mergeFee" @merge-success="handleMergeSuccess"></merge-fee> |
| ... | ... | @@ -20,7 +20,7 @@ export default { |
| 20 | 20 | }) |
| 21 | 21 | }, |
| 22 | 22 | handleMergeSuccess() { |
| 23 | - this.$message.success(this.$t('mergeFeeDemo.mergeSuccess')) | |
| 23 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 24 | 24 | } |
| 25 | 25 | } |
| 26 | 26 | } | ... | ... |
src/components/fee/prestoreAccount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('prestoreAccount.title')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -197,7 +197,7 @@ export default { |
| 197 | 197 | |
| 198 | 198 | ownerPrestoreAccount(params).then(response => { |
| 199 | 199 | if (response.code === 0) { |
| 200 | - this.$message.success(this.$t('prestoreAccount.saveSuccess')) | |
| 200 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 201 | 201 | this.dialogVisible = false |
| 202 | 202 | this.clearPrestoreAccountInfo() |
| 203 | 203 | this.$emit('save-success') | ... | ... |
src/components/fee/prestoreAccount2.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('prestoreAccount2.title')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -100,7 +100,7 @@ export default { |
| 100 | 100 | |
| 101 | 101 | const response = await this.$http.post('/account.ownerPrestoreAccount', this.formData) |
| 102 | 102 | if (response.data.code === 0) { |
| 103 | - this.$message.success(this.$t('prestoreAccount2.saveSuccess')) | |
| 103 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 104 | 104 | this.close() |
| 105 | 105 | this.$emit('success') |
| 106 | 106 | this.$emit('refresh') | ... | ... |
src/components/fee/refundDepositFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('refundDepositFee.title')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | |
| 45 | 45 | const response = await refundFeeDeposit(this.refundData) |
| 46 | 46 | if (response.code === 0) { |
| 47 | - this.$message.success(this.$t('refundDepositFee.success')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.$emit('success') |
| 49 | 49 | } else { |
| 50 | 50 | this.$message.error(response.data.msg) | ... | ... |
src/components/fee/returnPayFee.vue
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | this.loading = true |
| 96 | 96 | await saveReturnPayFee(this.formData) |
| 97 | 97 | |
| 98 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.visible = false |
| 100 | 100 | this.$emit('success') |
| 101 | 101 | } catch (error) { | ... | ... |
src/components/fee/reviewApplyRoomDiscount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('applyRoomDiscount.review.title')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> |
| 4 | 4 | <template v-if="form.state !== '5'"> |
| ... | ... | @@ -282,7 +282,7 @@ export default { |
| 282 | 282 | async updateReview() { |
| 283 | 283 | try { |
| 284 | 284 | await updateReviewApplyRoomDiscount(this.form) |
| 285 | - this.$message.success(this.$t('applyRoomDiscount.message.reviewSuccess')) | |
| 285 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 286 | 286 | this.visible = false |
| 287 | 287 | this.$emit('success') |
| 288 | 288 | } catch (error) { | ... | ... |
src/components/fee/roomCreateFeeAdd.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('roomCreateFeeAdd.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('roomCreateFeeAdd.location')"> |
| ... | ... | @@ -208,7 +208,7 @@ export default { |
| 208 | 208 | } |
| 209 | 209 | |
| 210 | 210 | saveRoomCreateFee(params).then(() => { |
| 211 | - this.$message.success(this.$t('roomCreateFeeAdd.successMessage')) | |
| 211 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 212 | 212 | this.$emit('success') |
| 213 | 213 | this.handleClose() |
| 214 | 214 | }).catch(error => { | ... | ... |
src/components/fee/roomCreateFeeAddDemo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-button @click="openModal">{{ $t('roomCreateFeeAddDemo.openModal') }}</el-button> |
| 4 | 4 | <room-create-fee-add ref="roomCreateFeeAdd" @success="handleSuccess"></room-create-fee-add> |
| ... | ... | @@ -25,7 +25,7 @@ export default { |
| 25 | 25 | }) |
| 26 | 26 | }, |
| 27 | 27 | handleSuccess() { |
| 28 | - this.$message.success(this.$t('roomCreateFeeAddDemo.successMessage')) | |
| 28 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | 31 | } | ... | ... |
src/components/fee/splitFee.vue
| ... | ... | @@ -76,7 +76,7 @@ export default { |
| 76 | 76 | |
| 77 | 77 | splitFee(data).then(response => { |
| 78 | 78 | if (response.code === 0) { |
| 79 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 79 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 80 | 80 | this.$emit('success') |
| 81 | 81 | this.close() |
| 82 | 82 | } else { | ... | ... |
src/components/fee/tempImportRoomFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('tempImportRoomFee.title')" :visible.sync="dialogVisible" width="40%" |
| 3 | 3 | @close="clearTempImportRoomFeeInfo"> |
| 4 | 4 | <el-form :model="form" label-width="120px" class="text-left"> |
| ... | ... | @@ -164,7 +164,7 @@ export default { |
| 164 | 164 | if (res.code == 0) { |
| 165 | 165 | this.dialogVisible = false |
| 166 | 166 | this.$emit('success') |
| 167 | - this.$message.success(this.$t('tempImportRoomFee.createSuccess')) | |
| 167 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 168 | 168 | } else { |
| 169 | 169 | this.$message.error(res.msg) |
| 170 | 170 | } | ... | ... |
src/components/fee/uploadInvoicePhoto.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('uploadInvoicePhoto.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -82,7 +82,7 @@ export default { |
| 82 | 82 | } |
| 83 | 83 | await uploadInvoicePhoto(params) |
| 84 | 84 | this.$emit('success') |
| 85 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 85 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 86 | 86 | this.closeDialog() |
| 87 | 87 | } catch (error) { |
| 88 | 88 | this.$message.error(error.message) | ... | ... |
src/components/fee/uploadVedio.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="upload-vedio-container"> |
| 3 | 3 | <div v-if="progress > 0" class="progress-container"> |
| 4 | 4 | <el-progress :percentage="progress" :stroke-width="2"></el-progress> |
| ... | ... | @@ -69,7 +69,7 @@ export default { |
| 69 | 69 | if (res.code === 0) { |
| 70 | 70 | this.progress = 100 |
| 71 | 71 | this.realFileName = res.data.realFileName |
| 72 | - this.$message.success(this.$t('uploadVedio.uploadSuccess')) | |
| 72 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 73 | 73 | } |
| 74 | 74 | } catch (error) { |
| 75 | 75 | this.$message.error(this.$t('uploadVedio.uploadFailed')) | ... | ... |
src/components/fee/wirteInvoiceEvent.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('wirteInvoiceEvent.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -86,7 +86,7 @@ export default { |
| 86 | 86 | } |
| 87 | 87 | await writeInvoiceEvent(params) |
| 88 | 88 | this.$emit('success') |
| 89 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 89 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 90 | 90 | this.closeDialog() |
| 91 | 91 | } catch (error) { |
| 92 | 92 | this.$message.error(error.message) | ... | ... |
src/components/fee/writeOweFeeCallable.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('writeOweFeeCallable.title')" :visible.sync="dialogVisible" width="40%" |
| 3 | 3 | :before-close="handleClose"> |
| 4 | 4 | <div class="ibox-content"> |
| ... | ... | @@ -74,7 +74,7 @@ export default { |
| 74 | 74 | this.$emit('listOweFeeCallable', {}) |
| 75 | 75 | this.$emit('listOwnerData', {}) |
| 76 | 76 | this.$emit('success', {}) |
| 77 | - this.$message.success(this.$t('writeOweFeeCallable.success')) | |
| 77 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 78 | 78 | } else { |
| 79 | 79 | this.$message.error(res.msg) |
| 80 | 80 | } | ... | ... |
src/components/inspection/AddInspectionItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('inspectionItemManage.addTitle')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('inspectionItemManage.itemNameLabel')" prop="itemName"> |
| ... | ... | @@ -72,7 +72,7 @@ export default { |
| 72 | 72 | this.loading = true |
| 73 | 73 | try { |
| 74 | 74 | await saveInspectionItem(this.formData) |
| 75 | - this.$message.success(this.$t('inspectionItemManage.addSuccess')) | |
| 75 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 76 | 76 | this.visible = false |
| 77 | 77 | this.$emit('success') |
| 78 | 78 | } catch (error) { | ... | ... |
src/components/inspection/AddInspectionRoute.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('inspectionRoute.addRouteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -108,7 +108,7 @@ export default { |
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | await saveInspectionRoute(params) |
| 111 | - this.$message.success(this.$t('inspectionRoute.addSuccess')) | |
| 111 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 112 | 112 | this.$emit('success') |
| 113 | 113 | this.handleClose() |
| 114 | 114 | } catch (error) { | ... | ... |
src/components/inspection/ChooseInspectionRoutePoint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('inspectionRoute.choosePointTitle')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -107,7 +107,7 @@ export default { |
| 107 | 107 | })) |
| 108 | 108 | } |
| 109 | 109 | await saveInspectionRoutePoint(params) |
| 110 | - this.$message.success(this.$t('inspectionRoute.addSuccess')) | |
| 110 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 111 | 111 | this.$emit('success') |
| 112 | 112 | this.handleClose() |
| 113 | 113 | } catch (error) { | ... | ... |
src/components/inspection/DeleteInspectionItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('inspectionItemManage.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -48,7 +48,7 @@ export default { |
| 48 | 48 | this.loading = true |
| 49 | 49 | try { |
| 50 | 50 | await deleteInspectionItem(this.formData) |
| 51 | - this.$message.success(this.$t('inspectionItemManage.deleteSuccess')) | |
| 51 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 52 | 52 | this.visible = false |
| 53 | 53 | this.$emit('success') |
| 54 | 54 | } catch (error) { | ... | ... |
src/components/inspection/DeleteInspectionRoute.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.confirmDelete')" :visible.sync="visible" width="30%" @close="handleClose"> |
| 3 | 3 | <div class="text-center"> |
| 4 | 4 | <p>{{ $t('inspectionRoute.confirmDeleteRoute') }}</p> |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | communityId: this.communityId |
| 43 | 43 | } |
| 44 | 44 | await deleteRoute(params) |
| 45 | - this.$message.success(this.$t('inspectionRoute.deleteSuccess')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.handleClose() |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/inspection/DeleteInspectionRoutePoint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -50,7 +50,7 @@ export default { |
| 50 | 50 | communityId: this.communityId |
| 51 | 51 | } |
| 52 | 52 | await deletePoint(params) |
| 53 | - this.$message.success(this.$t('inspectionRoute.deleteSuccess')) | |
| 53 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 54 | 54 | this.$emit('success') |
| 55 | 55 | this.handleClose() |
| 56 | 56 | } catch (error) { | ... | ... |
src/components/inspection/DeleteInspectionTask.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteInspectionTask.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleConfirm() { |
| 39 | 39 | try { |
| 40 | 40 | await deleteInspectionTask({ taskId: this.taskId }) |
| 41 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.visible = false |
| 43 | 43 | this.$emit('success') |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/inspection/EditInspectionItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('inspectionItemManage.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -86,7 +86,7 @@ export default { |
| 86 | 86 | this.loading = true |
| 87 | 87 | try { |
| 88 | 88 | await updateInspectionItem(this.formData) |
| 89 | - this.$message.success(this.$t('inspectionItemManage.editSuccess')) | |
| 89 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 90 | 90 | this.visible = false |
| 91 | 91 | this.$emit('success') |
| 92 | 92 | } catch (error) { | ... | ... |
src/components/inspection/EditInspectionRoute.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('inspectionRoute.editRouteTitle')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="editInspectionRouteInfo" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('inspectionRoute.routeName')" prop="routeName"> |
| ... | ... | @@ -75,7 +75,7 @@ export default { |
| 75 | 75 | await this.$refs.form.validate() |
| 76 | 76 | |
| 77 | 77 | await updateInspectionRoute(this.editInspectionRouteInfo) |
| 78 | - this.$message.success(this.$t('inspectionRoute.editSuccess')) | |
| 78 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 79 | 79 | this.$emit('success') |
| 80 | 80 | this.handleClose() |
| 81 | 81 | } catch (error) { | ... | ... |
src/components/inspection/EditInspectionRoutePoint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('inspectionRoute.editPointTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -111,7 +111,7 @@ export default { |
| 111 | 111 | if (!valid) return |
| 112 | 112 | |
| 113 | 113 | await updateInspectionRoutePointRel(this.editInspectionRoutePointInfo) |
| 114 | - this.$message.success(this.$t('inspectionRoute.editSuccess')) | |
| 114 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 115 | 115 | this.$emit('success') |
| 116 | 116 | this.handleClose() |
| 117 | 117 | }) | ... | ... |
src/components/inspection/InspectionTaskTransfer.vue
| ... | ... | @@ -86,7 +86,7 @@ export default { |
| 86 | 86 | |
| 87 | 87 | try { |
| 88 | 88 | await updateInspectionTask(this.form) |
| 89 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 89 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 90 | 90 | this.visible = false |
| 91 | 91 | this.$emit('success') |
| 92 | 92 | } catch (error) { | ... | ... |
src/components/inspection/addInspectionItemTitle.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('inspectionItemTitleManage.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -170,7 +170,7 @@ export default { |
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | await saveInspectionItemTitle(params) |
| 173 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 173 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 174 | 174 | this.visible = false |
| 175 | 175 | this.$emit('success') |
| 176 | 176 | } catch (error) { | ... | ... |
src/components/inspection/addInspectionPoint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addInspectionPoint.title')" :visible.sync="dialogVisible" width="60%" top="5vh" |
| 3 | 3 | @close="resetForm"> |
| 4 | 4 | <el-form ref="addForm" :model="addInspectionPointInfo" class="text-left" :rules="rules" label-width="120px" label-position="right"> |
| ... | ... | @@ -238,7 +238,7 @@ export default { |
| 238 | 238 | const response = await saveInspectionPoint(this.addInspectionPointInfo) |
| 239 | 239 | |
| 240 | 240 | if (response.code === 0) { |
| 241 | - this.$message.success(this.$t('addInspectionPoint.saveSuccess')) | |
| 241 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 242 | 242 | this.dialogVisible = false |
| 243 | 243 | this.$emit('success') |
| 244 | 244 | } else { | ... | ... |
src/components/inspection/addMaintainanceItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('maintainanceItem.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" > |
| 4 | 4 | <el-form-item :label="$t('maintainanceItem.form.itemTitle')" prop="itemTitle"> |
| ... | ... | @@ -138,7 +138,7 @@ export default { |
| 138 | 138 | if (valid) { |
| 139 | 139 | try { |
| 140 | 140 | await saveMaintainanceItem(this.form) |
| 141 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 141 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 142 | 142 | this.$emit('success') |
| 143 | 143 | this.visible = false |
| 144 | 144 | } catch (error) { | ... | ... |
src/components/inspection/addMaintainanceStandard.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('maintainanceStandard.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | if (valid) { |
| 96 | 96 | try { |
| 97 | 97 | await saveMaintainanceStandard(this.formData) |
| 98 | - this.$message.success(this.$t('maintainanceStandard.message.addSuccess')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.visible = false |
| 100 | 100 | this.$emit('success') |
| 101 | 101 | } catch (error) { | ... | ... |
src/components/inspection/chooseMaintainancePlanMachine.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('chooseMaintainancePlanMachine.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -156,7 +156,7 @@ export default { |
| 156 | 156 | await saveMaintainancePlanMachine(params) |
| 157 | 157 | this.$emit('success') |
| 158 | 158 | this.visible = false |
| 159 | - this.$message.success(this.$t('chooseMaintainancePlanMachine.addSuccess')) | |
| 159 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 160 | 160 | } catch (error) { |
| 161 | 161 | this.$message.error(this.$t('chooseMaintainancePlanMachine.addError')) |
| 162 | 162 | } | ... | ... |
src/components/inspection/chooseMaintainanceStandardItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('chooseMaintainanceStandardItem.title')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -142,7 +142,7 @@ export default { |
| 142 | 142 | items: selectedItems |
| 143 | 143 | } |
| 144 | 144 | await saveMaintainanceStandardItem(params) |
| 145 | - this.$message.success(this.$t('chooseMaintainanceStandardItem.submitSuccess')) | |
| 145 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 146 | 146 | this.$emit('success') |
| 147 | 147 | this.handleClose() |
| 148 | 148 | } catch (error) { | ... | ... |
src/components/inspection/deleteInspectionItemTitle.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.delete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | await deleteInspectionItemTitle(params) |
| 44 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.visible = false |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/inspection/deleteInspectionPlan.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('inspectionPlan.confirmDeleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -34,7 +34,7 @@ export default { |
| 34 | 34 | async confirmDelete() { |
| 35 | 35 | try { |
| 36 | 36 | await deleteInspectionPlan({ inspectionPlanId: this.currentPlanId }) |
| 37 | - this.$message.success(this.$t('inspectionPlan.deleteSuccess')) | |
| 37 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 38 | 38 | this.visible = false |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | } catch (error) { | ... | ... |
src/components/inspection/deleteInspectionPoint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteInspectionPoint.title')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -57,7 +57,7 @@ export default { |
| 57 | 57 | const response = await deleteInspectionPoint(this.deleteInspectionPointInfo) |
| 58 | 58 | |
| 59 | 59 | if (response.code === 0) { |
| 60 | - this.$message.success(this.$t('deleteInspectionPoint.deleteSuccess')) | |
| 60 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 61 | 61 | this.dialogVisible = false |
| 62 | 62 | this.$emit('success') |
| 63 | 63 | } else { | ... | ... |
src/components/inspection/deleteMaintainanceItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('maintainanceItem.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -60,7 +60,7 @@ export default { |
| 60 | 60 | itemId: this.form.itemId, |
| 61 | 61 | communityId: this.form.communityId |
| 62 | 62 | }) |
| 63 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 63 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 64 | 64 | this.$emit('success') |
| 65 | 65 | this.visible = false |
| 66 | 66 | } catch (error) { | ... | ... |
src/components/inspection/deleteMaintainancePlan.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteMaintainancePlan.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | communityId: this.communityId |
| 44 | 44 | } |
| 45 | 45 | await deleteMaintainancePlan(params) |
| 46 | - this.$message.success(this.$t('deleteMaintainancePlan.success')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | this.visible = false |
| 49 | 49 | } catch (error) { | ... | ... |
src/components/inspection/deleteMaintainancePlanMachine.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('deleteMaintainancePlanMachine.title')" :visible.sync="visible" width="30%" @close="handleClose"> |
| 3 | 3 | |
| 4 | 4 | <div style="text-align: center; margin-bottom: 20px;"> |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | await deleteMaintainancePlanMachine(params) |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | this.visible = false |
| 41 | - this.$message.success(this.$t('deleteMaintainancePlanMachine.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | } catch (error) { |
| 43 | 43 | this.$message.error(this.$t('deleteMaintainancePlanMachine.deleteError')) |
| 44 | 44 | } | ... | ... |
src/components/inspection/deleteMaintainanceStandard.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('maintainanceStandard.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | try { |
| 48 | 48 | this.loading = true |
| 49 | 49 | await deleteMaintainanceStandard(this.currentData) |
| 50 | - this.$message.success(this.$t('maintainanceStandard.message.deleteSuccess')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | this.visible = false |
| 52 | 52 | this.$emit('success') |
| 53 | 53 | } catch (error) { | ... | ... |
src/components/inspection/deleteMaintainanceStandardItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('deleteMaintainanceStandardItem.title')" :visible.sync="visible" width="30%" @close="handleClose"> |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | communityId: getCommunityId() |
| 52 | 52 | } |
| 53 | 53 | await deleteMaintainanceStandardItem(params) |
| 54 | - this.$message.success(this.$t('deleteMaintainanceStandardItem.deleteSuccess')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | this.$emit('success') |
| 56 | 56 | this.handleClose() |
| 57 | 57 | } catch (error) { | ... | ... |
src/components/inspection/deleteMaintainanceTask.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteMaintainanceTask.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | this.loading = true |
| 55 | 55 | deleteMaintainanceTask(this.task) |
| 56 | 56 | .then(() => { |
| 57 | - this.$message.success(this.$t('deleteMaintainanceTask.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.$emit('success') |
| 59 | 59 | this.visible = false |
| 60 | 60 | }) | ... | ... |
src/components/inspection/editInspectionItemTitle.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('inspectionItemTitleManage.editTitle')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('inspectionItemTitleManage.title')" prop="itemTitle" |
| ... | ... | @@ -128,7 +128,7 @@ export default { |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | await updateInspectionItemTitle(params) |
| 131 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 131 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 132 | 132 | this.visible = false |
| 133 | 133 | this.$emit('success') |
| 134 | 134 | } catch (error) { | ... | ... |
src/components/inspection/editInspectionPlan.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('inspectionPlan.modify')" :visible.sync="visible" width="80%" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="150px" class="text-left"> |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -252,7 +252,7 @@ export default { |
| 252 | 252 | |
| 253 | 253 | // 调用API |
| 254 | 254 | await updateInspectionPlan(payload) |
| 255 | - this.$message.success(this.$t('inspectionPlan.updateSuccess')) | |
| 255 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 256 | 256 | this.visible = false |
| 257 | 257 | this.$emit('success') |
| 258 | 258 | } catch (error) { | ... | ... |
src/components/inspection/editInspectionPoint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editInspectionPoint.title')" :visible.sync="dialogVisible" width="60%" top="5vh" |
| 3 | 3 | @close="resetForm"> |
| 4 | 4 | <el-form ref="editForm" :model="editInspectionPointInfo" :rules="rules" label-width="120px" label-position="right"> |
| ... | ... | @@ -246,7 +246,7 @@ export default { |
| 246 | 246 | const response = await updateInspectionPoint(this.editInspectionPointInfo) |
| 247 | 247 | |
| 248 | 248 | if (response.code === 0) { |
| 249 | - this.$message.success(this.$t('editInspectionPoint.updateSuccess')) | |
| 249 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 250 | 250 | this.dialogVisible = false |
| 251 | 251 | this.$emit('success') |
| 252 | 252 | } else { | ... | ... |
src/components/inspection/editMaintainanceItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('maintainanceItem.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('maintainanceItem.form.titleType')" prop="titleType"> |
| ... | ... | @@ -149,7 +149,7 @@ export default { |
| 149 | 149 | if (valid) { |
| 150 | 150 | try { |
| 151 | 151 | await updateMaintainanceItem(this.form) |
| 152 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 152 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 153 | 153 | this.$emit('success') |
| 154 | 154 | this.visible = false |
| 155 | 155 | } catch (error) { | ... | ... |
src/components/inspection/editMaintainanceStandard.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('maintainanceStandard.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -102,7 +102,7 @@ export default { |
| 102 | 102 | if (valid) { |
| 103 | 103 | try { |
| 104 | 104 | await updateMaintainanceStandard(this.formData) |
| 105 | - this.$message.success(this.$t('maintainanceStandard.message.editSuccess')) | |
| 105 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 106 | 106 | this.visible = false |
| 107 | 107 | this.$emit('success') |
| 108 | 108 | } catch (error) { | ... | ... |
src/components/inspection/inspectionPlanState.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('inspectionPlan.confirmOperation')" :visible.sync="visible" width="30%"> |
| 3 | 3 | <div class="text-center"> |
| 4 | 4 | <p>{{ $t('inspectionPlan.confirmStateChange', { state: stateName }) }}</p> |
| ... | ... | @@ -37,7 +37,7 @@ export default { |
| 37 | 37 | inspectionPlanId: this.inspectionPlanId, |
| 38 | 38 | state: this.state |
| 39 | 39 | }) |
| 40 | - this.$message.success(this.$t('inspectionPlan.stateChangeSuccess')) | |
| 40 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 41 | 41 | this.visible = false |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | } catch (error) { | ... | ... |
src/components/inspection/maintainancePlanState.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('maintainancePlanState.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -52,7 +52,7 @@ export default { |
| 52 | 52 | communityId: this.communityId |
| 53 | 53 | } |
| 54 | 54 | await updateMaintainancePlanState(params) |
| 55 | - this.$message.success(this.$t('maintainancePlanState.success')) | |
| 55 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 56 | 56 | this.$emit('success') |
| 57 | 57 | this.visible = false |
| 58 | 58 | } catch (error) { | ... | ... |
src/components/inspection/maintainanceTaskTransfer.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('maintainanceTaskTransfer.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('maintainanceTaskTransfer.transferTarget')" prop="staffId"> |
| ... | ... | @@ -120,7 +120,7 @@ export default { |
| 120 | 120 | this.loading = true |
| 121 | 121 | updateMaintainanceTask(this.form) |
| 122 | 122 | .then(() => { |
| 123 | - this.$message.success(this.$t('maintainanceTaskTransfer.success')) | |
| 123 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 124 | 124 | this.$emit('success') |
| 125 | 125 | this.visible = false |
| 126 | 126 | }) | ... | ... |
src/components/machine/AddMachine.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('layout.machineAdd')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -107,7 +107,7 @@ export default { |
| 107 | 107 | try { |
| 108 | 108 | await this.$refs.form.validate() |
| 109 | 109 | await addMachine(this.form) |
| 110 | - this.$message.success(this.$t('layout.addSuccess')) | |
| 110 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 111 | 111 | this.$emit('success') |
| 112 | 112 | this.handleClose() |
| 113 | 113 | } catch (error) { | ... | ... |
src/components/machine/DelMachine.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('layout.deleteConfirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleConfirm() { |
| 39 | 39 | try { |
| 40 | 40 | await deleteMachine(this.machineId) |
| 41 | - this.$message.success(this.$t('layout.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | this.handleClose() |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/machine/EditMachine.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('layout.machineEdit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -100,7 +100,7 @@ export default { |
| 100 | 100 | try { |
| 101 | 101 | await this.$refs.form.validate() |
| 102 | 102 | await updateMachine(this.form) |
| 103 | - this.$message.success(this.$t('layout.editSuccess')) | |
| 103 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 104 | 104 | this.$emit('success') |
| 105 | 105 | this.handleClose() |
| 106 | 106 | } catch (error) { | ... | ... |
src/components/machine/addMachinePrinter.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('machinePrinterManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -112,7 +112,7 @@ export default { |
| 112 | 112 | if (valid) { |
| 113 | 113 | try { |
| 114 | 114 | await saveMachinePrinter(this.form) |
| 115 | - this.$message.success(this.$t('machinePrinterManage.message.addSuccess')) | |
| 115 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 116 | 116 | this.visible = false |
| 117 | 117 | this.$emit('success') |
| 118 | 118 | } catch (error) { | ... | ... |
src/components/machine/addMachineTranslate.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('machineTranslateManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -131,7 +131,7 @@ export default { |
| 131 | 131 | if (valid) { |
| 132 | 132 | try { |
| 133 | 133 | await saveMachineTranslate(this.formData) |
| 134 | - this.$message.success(this.$t('machineTranslateManage.message.addSuccess')) | |
| 134 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 135 | 135 | this.visible = false |
| 136 | 136 | this.$emit('success') |
| 137 | 137 | } catch (error) { | ... | ... |
src/components/machine/addMachineType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('machineTypeTree.machineTypeName')" prop="machineTypeName"> |
| ... | ... | @@ -122,7 +122,7 @@ export default { |
| 122 | 122 | if (valid) { |
| 123 | 123 | try { |
| 124 | 124 | await saveMachineType(this.form) |
| 125 | - this.$message.success(this.$t('common.addSuccess')) | |
| 125 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 126 | 126 | this.dialogVisible = false |
| 127 | 127 | this.$emit('success') |
| 128 | 128 | } catch (error) { | ... | ... |
src/components/machine/addPrinterRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('printerRule.addTitle')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('printerRule.ruleName')" prop="ruleName"> |
| ... | ... | @@ -83,7 +83,7 @@ export default { |
| 83 | 83 | if (valid) { |
| 84 | 84 | try { |
| 85 | 85 | await savePrinterRule(this.form) |
| 86 | - this.$message.success(this.$t('common.addSuccess')) | |
| 86 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 87 | 87 | this.visible = false |
| 88 | 88 | this.$emit('success') |
| 89 | 89 | } catch (error) { | ... | ... |
src/components/machine/addPrinterRuleFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('printerRuleFees.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | if (valid) { |
| 96 | 96 | try { |
| 97 | 97 | await savePrinterRuleFee(this.form) |
| 98 | - this.$message.success(this.$t('common.addSuccess')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.visible = false |
| 100 | 100 | this.$emit('success') |
| 101 | 101 | } catch (error) { | ... | ... |
src/components/machine/addPrinterRuleMachine.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('printerRuleMachine.addTitle')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left" > |
| 4 | 4 | <el-form-item :label="$t('printerRuleMachine.machine')" prop="machineId"> |
| ... | ... | @@ -77,7 +77,7 @@ export default { |
| 77 | 77 | if (valid) { |
| 78 | 78 | try { |
| 79 | 79 | await savePrinterRuleMachine(this.form) |
| 80 | - this.$message.success(this.$t('common.addSuccess')) | |
| 80 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 81 | 81 | this.visible = false |
| 82 | 82 | this.$emit('success') |
| 83 | 83 | } catch (error) { | ... | ... |
src/components/machine/addPrinterRuleRepair.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('printerRuleRepair.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | if (valid) { |
| 96 | 96 | try { |
| 97 | 97 | await savePrinterRuleRepair(this.form) |
| 98 | - this.$message.success(this.$t('common.addSuccess')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.visible = false |
| 100 | 100 | this.$emit('success') |
| 101 | 101 | } catch (error) { | ... | ... |
src/components/machine/changeStateEquipment.vue
| ... | ... | @@ -72,7 +72,7 @@ export default { |
| 72 | 72 | async handleSubmit() { |
| 73 | 73 | try { |
| 74 | 74 | await changeStateEquipment(this.formData) |
| 75 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 75 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 76 | 76 | this.dialogVisible = false |
| 77 | 77 | this.$emit('success') |
| 78 | 78 | } catch (error) { | ... | ... |
src/components/machine/deleteEquipmentAccount.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.delete')" :visible.sync="dialogVisible" width="30%" @close="handleClose"> |
| 3 | 3 | <div class="confirm-content"> |
| 4 | 4 | <el-alert :title="$t('equipmentAccount.confirmDelete')" type="warning" :closable="false" show-icon> |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | async handleConfirm() { |
| 48 | 48 | try { |
| 49 | 49 | await deleteEquipmentAccount(this.equipmentData) |
| 50 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | this.dialogVisible = false |
| 52 | 52 | this.$emit('success') |
| 53 | 53 | } catch (error) { | ... | ... |
src/components/machine/deleteMachinePrinter.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('machinePrinterManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -45,7 +45,7 @@ export default { |
| 45 | 45 | async handleConfirm() { |
| 46 | 46 | try { |
| 47 | 47 | await deleteMachinePrinter(this.form) |
| 48 | - this.$message.success(this.$t('machinePrinterManage.message.deleteSuccess')) | |
| 48 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 49 | 49 | this.visible = false |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | } catch (error) { | ... | ... |
src/components/machine/deleteMachineType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('machineTypeTree.confirmOperation')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -40,7 +40,7 @@ export default { |
| 40 | 40 | async handleConfirm() { |
| 41 | 41 | try { |
| 42 | 42 | await deleteMachineType(this.form) |
| 43 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 43 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 44 | 44 | this.dialogVisible = false |
| 45 | 45 | this.$emit('success') |
| 46 | 46 | } catch (error) { | ... | ... |
src/components/machine/deletePrinterRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('printerRule.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | async handleDelete() { |
| 48 | 48 | try { |
| 49 | 49 | await deletePrinterRule(this.form) |
| 50 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | this.visible = false |
| 52 | 52 | this.$emit('success') |
| 53 | 53 | } catch (error) { | ... | ... |
src/components/machine/deletePrinterRuleFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('printerRuleFees.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -50,7 +50,7 @@ export default { |
| 50 | 50 | prfId: this.form.prfId, |
| 51 | 51 | communityId: this.form.communityId |
| 52 | 52 | }) |
| 53 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 53 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 54 | 54 | this.visible = false |
| 55 | 55 | this.$emit('success') |
| 56 | 56 | } catch (error) { | ... | ... |
src/components/machine/deletePrinterRuleMachine.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('printerRuleMachine.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -53,7 +53,7 @@ export default { |
| 53 | 53 | prmId: this.form.prmId, |
| 54 | 54 | communityId: this.form.communityId |
| 55 | 55 | }) |
| 56 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 56 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 57 | 57 | this.visible = false |
| 58 | 58 | this.$emit('success') |
| 59 | 59 | } catch (error) { | ... | ... |
src/components/machine/deletePrinterRuleRepair.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('printerRuleRepair.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -50,7 +50,7 @@ export default { |
| 50 | 50 | prrId: this.form.prrId, |
| 51 | 51 | communityId: this.form.communityId |
| 52 | 52 | }) |
| 53 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 53 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 54 | 54 | this.visible = false |
| 55 | 55 | this.$emit('success') |
| 56 | 56 | } catch (error) { | ... | ... |
src/components/machine/editMachinePrinter.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('machinePrinterManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -117,7 +117,7 @@ export default { |
| 117 | 117 | if (valid) { |
| 118 | 118 | try { |
| 119 | 119 | await updateMachinePrinter(this.form) |
| 120 | - this.$message.success(this.$t('machinePrinterManage.message.editSuccess')) | |
| 120 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 121 | 121 | this.visible = false |
| 122 | 122 | this.$emit('success') |
| 123 | 123 | } catch (error) { | ... | ... |
src/components/machine/editMachineTranslate.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('machineTranslateManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -81,7 +81,7 @@ export default { |
| 81 | 81 | async handleSubmit() { |
| 82 | 82 | try { |
| 83 | 83 | await resendIot(this.formData) |
| 84 | - this.$message.success(this.$t('machineTranslateManage.message.resyncSuccess')) | |
| 84 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 85 | 85 | this.visible = false |
| 86 | 86 | this.$emit('success') |
| 87 | 87 | } catch (error) { | ... | ... |
src/components/machine/editMachineType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('machineTypeTree.edit')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('machineTypeTree.machineTypeName')" prop="machineTypeName"> |
| ... | ... | @@ -135,7 +135,7 @@ export default { |
| 135 | 135 | if (valid) { |
| 136 | 136 | try { |
| 137 | 137 | await updateMachineType(this.form) |
| 138 | - this.$message.success(this.$t('common.editSuccess')) | |
| 138 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 139 | 139 | this.dialogVisible = false |
| 140 | 140 | this.$emit('success') |
| 141 | 141 | } catch (error) { | ... | ... |
src/components/machine/editPrinterRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('printerRule.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -75,7 +75,7 @@ export default { |
| 75 | 75 | if (valid) { |
| 76 | 76 | try { |
| 77 | 77 | await updatePrinterRule(this.form) |
| 78 | - this.$message.success(this.$t('common.editSuccess')) | |
| 78 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 79 | 79 | this.visible = false |
| 80 | 80 | this.$emit('success') |
| 81 | 81 | } catch (error) { | ... | ... |
src/components/machine/editPrinterRuleMachine.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('printerRuleMachine.editTitle')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('printerRuleMachine.machine')" prop="machineId"> |
| ... | ... | @@ -82,7 +82,7 @@ export default { |
| 82 | 82 | if (valid) { |
| 83 | 83 | try { |
| 84 | 84 | await updatePrinterRuleMachine(this.form) |
| 85 | - this.$message.success(this.$t('common.editSuccess')) | |
| 85 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 86 | 86 | this.visible = false |
| 87 | 87 | this.$emit('success') |
| 88 | 88 | } catch (error) { | ... | ... |
src/components/machine/importEquipment.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('equipmentAccount.importEquipment')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | formData.append('typeId', this.formData.typeId) |
| 96 | 96 | |
| 97 | 97 | await importEquipmentData(formData) |
| 98 | - this.$message.success(this.$t('common.importSuccess')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.dialogVisible = false |
| 100 | 100 | this.$emit('success') |
| 101 | 101 | } catch (error) { | ... | ... |
src/components/machine/moveEquipment.vue
| ... | ... | @@ -81,7 +81,7 @@ export default { |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | await moveEquipment(this.formData) |
| 84 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 84 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 85 | 85 | this.dialogVisible = false |
| 86 | 86 | this.$emit('success') |
| 87 | 87 | } catch (error) { | ... | ... |
src/components/mall/AddConvenienceMenus.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('convenienceMenus.addTitle')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('convenienceMenus.menuName')" prop="name"> |
| ... | ... | @@ -77,7 +77,7 @@ export default { |
| 77 | 77 | if (valid) { |
| 78 | 78 | try { |
| 79 | 79 | await addConvenienceMenus(this.form) |
| 80 | - this.$message.success(this.$t('common.addSuccess')) | |
| 80 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 81 | 81 | this.visible = false |
| 82 | 82 | this.$emit('success') |
| 83 | 83 | } catch (error) { | ... | ... |
src/components/mall/AddStoreInfo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('storeInfoManage.common.add')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -197,7 +197,7 @@ export default { |
| 197 | 197 | } |
| 198 | 198 | |
| 199 | 199 | await saveStoreInfo(formData) |
| 200 | - this.$message.success(this.$t('storeInfoManage.common.saveSuccess')) | |
| 200 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 201 | 201 | this.$emit('success') |
| 202 | 202 | this.handleClose() |
| 203 | 203 | } catch (error) { | ... | ... |
src/components/mall/DeleteConvenienceMenus.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.deleteConfirm')" :visible.sync="visible" width="30%" @close="handleClose"> |
| 3 | 3 | <p>{{ $t('convenienceMenus.deleteConfirm') }}</p> |
| 4 | 4 | <span slot="footer" class="dialog-footer"> |
| ... | ... | @@ -30,7 +30,7 @@ export default { |
| 30 | 30 | async handleConfirm() { |
| 31 | 31 | try { |
| 32 | 32 | await deleteConvenienceMenus({ convenienceMenusId: this.convenienceMenusId }) |
| 33 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 33 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 34 | 34 | this.visible = false |
| 35 | 35 | this.$emit('success') |
| 36 | 36 | } catch (error) { | ... | ... |
src/components/mall/DeleteJunkRequirement.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('junkRequirement.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | junkRequirementId: this.junkRequirementId, |
| 42 | 42 | communityId: this.getCommunityId() |
| 43 | 43 | }) |
| 44 | - this.$message.success(this.$t('junkRequirement.delete.success')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.$emit('success') |
| 46 | 46 | this.close() |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/mall/DeleteProduct.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteProduct.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -37,7 +37,7 @@ export default { |
| 37 | 37 | async confirmDelete() { |
| 38 | 38 | try { |
| 39 | 39 | await deleteProduct({ productId: this.productId }) |
| 40 | - this.$message.success(this.$t('deleteProduct.success')) | |
| 40 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | this.handleClose() |
| 43 | 43 | } catch (error) { | ... | ... |
src/components/mall/DeleteStoreInfo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('storeInfoManage.common.confirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | async handleConfirm() { |
| 42 | 42 | try { |
| 43 | 43 | await deleteStoreInfo({ storeInfoId: this.storeInfo.storeInfoId }) |
| 44 | - this.$message.success(this.$t('storeInfoManage.common.deleteSuccess')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.visible = false |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/mall/EditJunkRequirement.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('junkRequirement.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -122,7 +122,7 @@ export default { |
| 122 | 122 | ...this.editJunkRequirementInfo, |
| 123 | 123 | communityId: this.getCommunityId() |
| 124 | 124 | }) |
| 125 | - this.$message.success(this.$t('junkRequirement.edit.success')) | |
| 125 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 126 | 126 | this.$emit('success') |
| 127 | 127 | this.close() |
| 128 | 128 | } catch (error) { | ... | ... |
src/components/mall/EditStoreInfo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('storeInfoManage.common.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -212,7 +212,7 @@ export default { |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | await updateStoreInfo(formData) |
| 215 | - this.$message.success(this.$t('storeInfoManage.common.updateSuccess')) | |
| 215 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 216 | 216 | this.$emit('success') |
| 217 | 217 | this.handleClose() |
| 218 | 218 | } catch (error) { | ... | ... |
src/components/mall/ShopWithdraw.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('shopWithdraw.title')" :visible.sync="visible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('shopWithdraw.remark')"> |
| ... | ... | @@ -53,7 +53,7 @@ export default { |
| 53 | 53 | |
| 54 | 54 | try { |
| 55 | 55 | await auditShop(this.form) |
| 56 | - this.$message.success(this.$t('shopWithdraw.success')) | |
| 56 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 57 | 57 | this.visible = false |
| 58 | 58 | this.$emit('success') |
| 59 | 59 | } catch (error) { | ... | ... |
src/components/market/AddMarketBlacklist.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketBlacklist.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -65,7 +65,7 @@ export default { |
| 65 | 65 | if (valid) { |
| 66 | 66 | try { |
| 67 | 67 | await saveMarketBlacklist(this.formData) |
| 68 | - this.$message.success(this.$t('marketBlacklist.add.success')) | |
| 68 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 69 | 69 | this.visible = false |
| 70 | 70 | this.$emit('success') |
| 71 | 71 | } catch (error) { | ... | ... |
src/components/market/AddMarketGoods.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketGoods.add')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -76,7 +76,7 @@ export default { |
| 76 | 76 | if (valid) { |
| 77 | 77 | try { |
| 78 | 78 | await saveMarketGoods(this.form) |
| 79 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 79 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 80 | 80 | this.$emit('success') |
| 81 | 81 | this.visible = false |
| 82 | 82 | } catch (error) { | ... | ... |
src/components/market/AddMarketGoodsItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('marketGoodsItem.table.prodName')" prop="prodName"> |
| ... | ... | @@ -109,7 +109,7 @@ export default { |
| 109 | 109 | if (valid) { |
| 110 | 110 | try { |
| 111 | 111 | await saveMarketGoodsItem(this.form) |
| 112 | - this.$message.success(this.$t('marketGoodsItem.saveSuccess')) | |
| 112 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 113 | 113 | this.visible = false |
| 114 | 114 | this.$emit('success') |
| 115 | 115 | } catch (error) { | ... | ... |
src/components/market/AddMarketPic.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketPic.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('marketPic.name')" prop="name"> |
| ... | ... | @@ -74,7 +74,7 @@ export default { |
| 74 | 74 | if (valid) { |
| 75 | 75 | try { |
| 76 | 76 | await saveMarketPic(this.form) |
| 77 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 77 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 78 | 78 | this.$emit('success') |
| 79 | 79 | this.visible = false |
| 80 | 80 | } catch (error) { | ... | ... |
src/components/market/AddMarketRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketRule.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('marketRule.name')" prop="name"> |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | if (valid) { |
| 52 | 52 | try { |
| 53 | 53 | await saveMarketRule(this.form) |
| 54 | - this.$message.success(this.$t('marketRule.addSuccess')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | this.visible = false |
| 56 | 56 | this.$emit('success') |
| 57 | 57 | } catch (error) { | ... | ... |
src/components/market/AddMarketRuleCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketRule.associateCommunity')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> |
| 4 | 4 | <el-form-item :label="$t('marketRule.communityName')" prop="communityId"> |
| ... | ... | @@ -78,7 +78,7 @@ export default { |
| 78 | 78 | if (valid) { |
| 79 | 79 | try { |
| 80 | 80 | await saveMarketRuleCommunity(this.form) |
| 81 | - this.$message.success(this.$t('marketRule.addSuccess')) | |
| 81 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 82 | 82 | this.visible = false |
| 83 | 83 | this.$emit('success') |
| 84 | 84 | } catch (error) { | ... | ... |
src/components/market/AddMarketRuleObj.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketRule.associateObject')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> |
| 4 | 4 | <el-form-item :label="$t('marketRule.objectName')" prop="objType"> |
| ... | ... | @@ -70,7 +70,7 @@ export default { |
| 70 | 70 | if (valid) { |
| 71 | 71 | try { |
| 72 | 72 | await saveMarketRuleObj(this.form) |
| 73 | - this.$message.success(this.$t('marketRule.addSuccess')) | |
| 73 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 74 | 74 | this.visible = false |
| 75 | 75 | this.$emit('success') |
| 76 | 76 | } catch (error) { | ... | ... |
src/components/market/AddMarketRuleWay.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketRule.associateMarketingMethod')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -186,7 +186,7 @@ export default { |
| 186 | 186 | if (valid) { |
| 187 | 187 | try { |
| 188 | 188 | await saveMarketRuleWay(this.form) |
| 189 | - this.$message.success(this.$t('marketRule.addSuccess')) | |
| 189 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 190 | 190 | this.visible = false |
| 191 | 191 | this.$emit('success') |
| 192 | 192 | } catch (error) { | ... | ... |
src/components/market/AddMarketSms.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketSms.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('marketSms.form.smsName')" prop="smsName"> |
| ... | ... | @@ -101,7 +101,7 @@ export default { |
| 101 | 101 | smsTypeValues: this.smsTypeValues |
| 102 | 102 | } |
| 103 | 103 | await saveMarketSms(formData) |
| 104 | - this.$message.success(this.$t('marketSms.add.success')) | |
| 104 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 105 | 105 | this.visible = false |
| 106 | 106 | this.$emit('success') |
| 107 | 107 | } catch (error) { | ... | ... |
src/components/market/AddMarketText.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketText.add')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -133,7 +133,7 @@ export default { |
| 133 | 133 | if (valid) { |
| 134 | 134 | try { |
| 135 | 135 | await saveMarketText(this.form) |
| 136 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 136 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 137 | 137 | this.$emit('success') |
| 138 | 138 | this.visible = false |
| 139 | 139 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketBlacklist.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketBlacklist.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -31,7 +31,7 @@ export default { |
| 31 | 31 | async handleConfirm() { |
| 32 | 32 | try { |
| 33 | 33 | await deleteMarketBlacklist(this.formData) |
| 34 | - this.$message.success(this.$t('marketBlacklist.delete.success')) | |
| 34 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 35 | 35 | this.visible = false |
| 36 | 36 | this.$emit('success') |
| 37 | 37 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketGoods.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.deleteConfirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -35,7 +35,7 @@ export default { |
| 35 | 35 | async handleConfirm() { |
| 36 | 36 | try { |
| 37 | 37 | await deleteMarketGoods(this.goodsId) |
| 38 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 38 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | this.visible = false |
| 41 | 41 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketGoodsItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -39,7 +39,7 @@ export default { |
| 39 | 39 | async handleConfirm() { |
| 40 | 40 | try { |
| 41 | 41 | await deleteMarketGoodsItem(this.form) |
| 42 | - this.$message.success(this.$t('marketGoodsItem.deleteSuccess')) | |
| 42 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 43 | 43 | this.visible = false |
| 44 | 44 | this.$emit('success') |
| 45 | 45 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketPic.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.deleteConfirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -35,7 +35,7 @@ export default { |
| 35 | 35 | async handleConfirm() { |
| 36 | 36 | try { |
| 37 | 37 | await deleteMarketPic(this.picId) |
| 38 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 38 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | this.visible = false |
| 41 | 41 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketRule.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -31,7 +31,7 @@ export default { |
| 31 | 31 | async handleConfirm() { |
| 32 | 32 | try { |
| 33 | 33 | await deleteMarketRule({ ruleId: this.ruleId }) |
| 34 | - this.$message.success(this.$t('marketRule.deleteSuccess')) | |
| 34 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 35 | 35 | this.visible = false |
| 36 | 36 | this.$emit('success') |
| 37 | 37 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketRuleCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketRule.confirmDelete')" :visible.sync="visible" width="30%"> |
| 3 | 3 | <p>{{ $t('marketRule.deleteConfirmMessage') }}</p> |
| 4 | 4 | <span slot="footer" class="dialog-footer"> |
| ... | ... | @@ -29,7 +29,7 @@ export default { |
| 29 | 29 | async handleConfirm() { |
| 30 | 30 | try { |
| 31 | 31 | await deleteMarketRuleCommunity({ communityId: this.communityId , rcId: this.rcId}) |
| 32 | - this.$message.success(this.$t('marketRule.deleteSuccess')) | |
| 32 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 33 | 33 | this.visible = false |
| 34 | 34 | this.$emit('success') |
| 35 | 35 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketRuleObj.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketRule.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -31,7 +31,7 @@ export default { |
| 31 | 31 | async handleConfirm() { |
| 32 | 32 | try { |
| 33 | 33 | await deleteMarketRuleObj({ objId: this.objId }) |
| 34 | - this.$message.success(this.$t('marketRule.deleteSuccess')) | |
| 34 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 35 | 35 | this.visible = false |
| 36 | 36 | this.$emit('success') |
| 37 | 37 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketRuleWay.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketRule.confirmDelete')" :visible.sync="visible" width="30%"> |
| 3 | 3 | <p>{{ $t('marketRule.deleteConfirmMessage') }}</p> |
| 4 | 4 | <span slot="footer" class="dialog-footer"> |
| ... | ... | @@ -27,7 +27,7 @@ export default { |
| 27 | 27 | async handleConfirm() { |
| 28 | 28 | try { |
| 29 | 29 | await deleteMarketRuleWay({ wayId: this.wayId }) |
| 30 | - this.$message.success(this.$t('marketRule.deleteSuccess')) | |
| 30 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 31 | 31 | this.visible = false |
| 32 | 32 | this.$emit('success') |
| 33 | 33 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketSms.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketSms.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ |
| 41 | 41 | async handleConfirm() { |
| 42 | 42 | try { |
| 43 | 43 | await deleteMarketSms({ smsId: this.smsId }) |
| 44 | - this.$message.success(this.$t('marketSms.delete.success')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.visible = false |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/market/DeleteMarketText.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.deleteConfirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -35,7 +35,7 @@ export default { |
| 35 | 35 | async handleConfirm() { |
| 36 | 36 | try { |
| 37 | 37 | await deleteMarketText(this.textId) |
| 38 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 38 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | this.visible = false |
| 41 | 41 | } catch (error) { | ... | ... |
src/components/market/EditMarketBlacklist.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketBlacklist.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -70,7 +70,7 @@ export default { |
| 70 | 70 | if (valid) { |
| 71 | 71 | try { |
| 72 | 72 | await updateMarketBlacklist(this.formData) |
| 73 | - this.$message.success(this.$t('marketBlacklist.edit.success')) | |
| 73 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 74 | 74 | this.visible = false |
| 75 | 75 | this.$emit('success') |
| 76 | 76 | } catch (error) { | ... | ... |
src/components/market/EditMarketGoods.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketGoods.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -81,7 +81,7 @@ export default { |
| 81 | 81 | if (valid) { |
| 82 | 82 | try { |
| 83 | 83 | await updateMarketGoods(this.form) |
| 84 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 84 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 85 | 85 | this.$emit('success') |
| 86 | 86 | this.visible = false |
| 87 | 87 | } catch (error) { | ... | ... |
src/components/market/EditMarketGoodsItem.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -135,7 +135,7 @@ export default { |
| 135 | 135 | if (valid) { |
| 136 | 136 | try { |
| 137 | 137 | await updateMarketGoodsItem(this.form) |
| 138 | - this.$message.success(this.$t('marketGoodsItem.updateSuccess')) | |
| 138 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 139 | 139 | this.visible = false |
| 140 | 140 | this.$emit('success') |
| 141 | 141 | } catch (error) { | ... | ... |
src/components/market/EditMarketPic.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketPic.edit')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('marketPic.name')" prop="name"> |
| ... | ... | @@ -83,7 +83,7 @@ export default { |
| 83 | 83 | if (valid) { |
| 84 | 84 | try { |
| 85 | 85 | await updateMarketPic(this.form) |
| 86 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 86 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 87 | 87 | this.$emit('success') |
| 88 | 88 | this.visible = false |
| 89 | 89 | } catch (error) { | ... | ... |
src/components/market/EditMarketRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketRule.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -66,7 +66,7 @@ export default { |
| 66 | 66 | if (valid) { |
| 67 | 67 | try { |
| 68 | 68 | await updateMarketRule(this.form) |
| 69 | - this.$message.success(this.$t('marketRule.editSuccess')) | |
| 69 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 70 | 70 | this.visible = false |
| 71 | 71 | this.$emit('success') |
| 72 | 72 | } catch (error) { | ... | ... |
src/components/market/EditMarketSms.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('marketSms.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('marketSms.form.smsName')" prop="smsName"> |
| ... | ... | @@ -79,7 +79,7 @@ export default { |
| 79 | 79 | if (!valid) return |
| 80 | 80 | try { |
| 81 | 81 | await updateMarketSms(this.form) |
| 82 | - this.$message.success(this.$t('marketSmsManage.message.editSuccess')) | |
| 82 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 83 | 83 | this.$emit('success') |
| 84 | 84 | this.visible = false |
| 85 | 85 | } catch (error) { | ... | ... |
src/components/market/EditMarketText.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('marketText.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -138,7 +138,7 @@ export default { |
| 138 | 138 | if (valid) { |
| 139 | 139 | try { |
| 140 | 140 | await updateMarketText(this.form) |
| 141 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 141 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 142 | 142 | this.$emit('success') |
| 143 | 143 | this.visible = false |
| 144 | 144 | } catch (error) { | ... | ... |
src/components/oa/ReplyComplaintAppraise.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('replyComplaintAppraise.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -64,7 +64,7 @@ export default { |
| 64 | 64 | |
| 65 | 65 | this.submitting = true |
| 66 | 66 | await replyComplaintAppraise(this.form) |
| 67 | - this.$message.success(this.$t('replyComplaintAppraise.success')) | |
| 67 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 68 | 68 | this.visible = false |
| 69 | 69 | this.$emit('success') |
| 70 | 70 | } catch (error) { | ... | ... |
src/components/oa/addActivitiesType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('activitiesTypeManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('activitiesTypeManage.add.typeName')" prop="typeName"> |
| ... | ... | @@ -81,7 +81,7 @@ export default { |
| 81 | 81 | ...this.formData, |
| 82 | 82 | seq: Number(this.formData.seq) |
| 83 | 83 | }) |
| 84 | - this.$message.success(this.$t('activitiesTypeManage.add.success')) | |
| 84 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 85 | 85 | this.visible = false |
| 86 | 86 | this.$emit('success') |
| 87 | 87 | } catch (error) { | ... | ... |
src/components/oa/addActivitiesView.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('activitiesManage.add.title')" :visible.sync="dialogVisible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
| 4 | 4 | <el-form-item :label="$t('activitiesManage.add.title')" prop="title"> |
| ... | ... | @@ -121,7 +121,7 @@ export default { |
| 121 | 121 | try { |
| 122 | 122 | this.form.communityId = getCommunityId() |
| 123 | 123 | await saveActivities(this.form) |
| 124 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 124 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 125 | 125 | this.dialogVisible = false |
| 126 | 126 | this.$emit('success') |
| 127 | 127 | } catch (error) { | ... | ... |
src/components/oa/addAttendanceClasses.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addAttendanceClasses.title')" :visible.sync="visible" width="60%" @close="closeDialog"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px" label-position="right"> |
| 4 | 4 | <el-row> |
| ... | ... | @@ -113,7 +113,7 @@ export default { |
| 113 | 113 | await this.$refs.form.validate() |
| 114 | 114 | const response = await saveAttendanceClasses(this.formData) |
| 115 | 115 | if (response.code === 0) { |
| 116 | - this.$message.success(this.$t('addAttendanceClasses.saveSuccess')) | |
| 116 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 117 | 117 | this.$emit('success') |
| 118 | 118 | this.closeDialog() |
| 119 | 119 | } else { | ... | ... |
src/components/oa/addExamineProject.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('examineProjectManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('examineProjectManage.form.name')" prop="name"> |
| ... | ... | @@ -84,7 +84,7 @@ export default { |
| 84 | 84 | if (valid) { |
| 85 | 85 | try { |
| 86 | 86 | await saveExamineProject(this.formData) |
| 87 | - this.$message.success(this.$t('examineProjectManage.add.success')) | |
| 87 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 88 | 88 | this.visible = false |
| 89 | 89 | this.$emit('success') |
| 90 | 90 | } catch (error) { | ... | ... |
src/components/oa/addNotepad.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addNotepad.title')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-form :model="addNotepadInfo" ref="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('addNotepad.room')" prop="roomName"> |
| ... | ... | @@ -111,7 +111,7 @@ export default { |
| 111 | 111 | await saveNotepad(this.addNotepadInfo) |
| 112 | 112 | this.$emit('success') |
| 113 | 113 | this.visible = false |
| 114 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 114 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 115 | 115 | } catch (error) { |
| 116 | 116 | this.$message.error(error.message || this.$t('common.saveFailed')) |
| 117 | 117 | } | ... | ... |
src/components/oa/addNotepadDetail.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('notepadManage.addDetail.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -99,7 +99,7 @@ export default { |
| 99 | 99 | if (valid) { |
| 100 | 100 | try { |
| 101 | 101 | await saveNotepadDetail(this.formData) |
| 102 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 102 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 103 | 103 | this.visible = false |
| 104 | 104 | this.$emit('success') |
| 105 | 105 | } catch (error) { | ... | ... |
src/components/oa/addOaWorkflow.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('oaWorkflowManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -103,7 +103,7 @@ export default { |
| 103 | 103 | if (valid) { |
| 104 | 104 | try { |
| 105 | 105 | await saveOaWorkflow(this.form) |
| 106 | - this.$message.success(this.$t('oaWorkflowManage.add.success')) | |
| 106 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 107 | 107 | this.visible = false |
| 108 | 108 | this.$emit('success') |
| 109 | 109 | } catch (error) { | ... | ... |
src/components/oa/addOwnerVoting.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-owner-voting-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header"> |
| ... | ... | @@ -194,7 +194,7 @@ export default { |
| 194 | 194 | if (valid) { |
| 195 | 195 | try { |
| 196 | 196 | await addOwnerVote(this.form) |
| 197 | - this.$message.success(this.$t('ownerVoting.add.success')) | |
| 197 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 198 | 198 | this.$router.push('/views/oa/ownerVotingList') |
| 199 | 199 | } catch (error) { |
| 200 | 200 | this.$message.error(error.message || this.$t('ownerVoting.add.error')) | ... | ... |
src/components/oa/addQuestionTitle.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('questionTitle.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('questionTitle.add.name')" prop="qaTitle" :rules="[ |
| ... | ... | @@ -122,7 +122,7 @@ export default { |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | await saveQuestionTitle(this.formData) |
| 125 | - this.$message.success(this.$t('questionTitle.add.success')) | |
| 125 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 126 | 126 | this.$emit('success') |
| 127 | 127 | this.visible = false |
| 128 | 128 | } catch (error) { | ... | ... |
src/components/oa/addWorkType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('workType.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('workType.form.typeName')" prop="typeName"> |
| ... | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | 93 | communityId: getCommunityId() |
| 94 | 94 | } |
| 95 | 95 | await saveWorkType(params) |
| 96 | - this.$message.success(this.$t('workType.add.success')) | |
| 96 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 97 | 97 | this.visible = false |
| 98 | 98 | this.$emit('success') |
| 99 | 99 | } catch (error) { | ... | ... |
src/components/oa/deleteActivities.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('activitiesManage.delete.title')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -40,7 +40,7 @@ export default { |
| 40 | 40 | communityId: getCommunityId() |
| 41 | 41 | } |
| 42 | 42 | await deleteActivities(params) |
| 43 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 43 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 44 | 44 | this.dialogVisible = false |
| 45 | 45 | this.$emit('success') |
| 46 | 46 | } catch (error) { | ... | ... |
src/components/oa/deleteActivitiesType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('activitiesTypeManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -52,7 +52,7 @@ export default { |
| 52 | 52 | async handleConfirm() { |
| 53 | 53 | try { |
| 54 | 54 | await deleteActivitiesType(this.deleteData) |
| 55 | - this.$message.success(this.$t('activitiesTypeManage.delete.success')) | |
| 55 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 56 | 56 | this.visible = false |
| 57 | 57 | this.$emit('success') |
| 58 | 58 | } catch (error) { | ... | ... |
src/components/oa/deleteAttendanceClasses.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteAttendanceClasses.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -45,7 +45,7 @@ export default { |
| 45 | 45 | try { |
| 46 | 46 | const response = await deleteAttendanceClasses(this.formData) |
| 47 | 47 | if (response.code === 0) { |
| 48 | - this.$message.success(this.$t('deleteAttendanceClasses.deleteSuccess')) | |
| 48 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 49 | 49 | this.$emit('success') |
| 50 | 50 | this.closeDialog() |
| 51 | 51 | } else { | ... | ... |
src/components/oa/deleteAttendanceClassesStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('attendanceClassesStaffManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | communityId: getCommunityId() |
| 44 | 44 | } |
| 45 | 45 | await deleteAttendanceClassesStaff(params) |
| 46 | - this.$message.success(this.$t('attendanceClassesStaffManage.delete.success')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | this.visible = false |
| 49 | 49 | } catch (error) { | ... | ... |
src/components/oa/deleteComplaint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('complaint.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | complaintId: this.complaintId, |
| 43 | 43 | communityId: this.communityId |
| 44 | 44 | }) |
| 45 | - this.$message.success(this.$t('complaint.delete.success')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.visible = false |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/oa/deleteComplaintType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteComplaintType.confirmTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | await deleteComplaintType(params) |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | this.visible = false |
| 44 | - this.$message.success(this.$t('deleteComplaintType.success')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | } catch (error) { |
| 46 | 46 | this.$message.error(this.$t('deleteComplaintType.error')) |
| 47 | 47 | } | ... | ... |
src/components/oa/deleteExamineProject.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('examineProjectManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -50,7 +50,7 @@ export default { |
| 50 | 50 | try { |
| 51 | 51 | this.loading = true |
| 52 | 52 | await deleteExamineProject(this.formData) |
| 53 | - this.$message.success(this.$t('examineProjectManage.delete.success')) | |
| 53 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 54 | 54 | this.visible = false |
| 55 | 55 | this.$emit('success') |
| 56 | 56 | } catch (error) { | ... | ... |
src/components/oa/deleteExamineStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('examineStaffManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -48,7 +48,7 @@ export default { |
| 48 | 48 | await deleteExamineStaff(params) |
| 49 | 49 | this.$emit('success') |
| 50 | 50 | this.visible = false |
| 51 | - this.$message.success(this.$t('examineStaffManage.delete.success')) | |
| 51 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 52 | 52 | } catch (error) { |
| 53 | 53 | this.$message.error(this.$t('examineStaffManage.delete.error')) |
| 54 | 54 | } | ... | ... |
src/components/oa/deleteNotepad.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('notepadManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleConfirm() { |
| 39 | 39 | try { |
| 40 | 40 | await deleteNotepad(this.formData) |
| 41 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.visible = false |
| 43 | 43 | this.$emit('success') |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/oa/deleteNotice.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('noticeManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | communityId: this.communityId |
| 48 | 48 | } |
| 49 | 49 | await deleteNotice(params) |
| 50 | - this.$message.success(this.$t('noticeManage.delete.successMessage')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | this.$emit('success') |
| 52 | 52 | this.visible = false |
| 53 | 53 | } catch (error) { | ... | ... |
src/components/oa/deleteOaWorkflow.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('oaWorkflowManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | async handleConfirm() { |
| 42 | 42 | try { |
| 43 | 43 | await deleteOaWorkflow({ flowId: this.flowId }) |
| 44 | - this.$message.success(this.$t('oaWorkflowManage.delete.success')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.visible = false |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/oa/deleteOwnerVoting.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('ownerVoting.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | qaId: this.qaId, |
| 47 | 47 | communityId: this.communityId |
| 48 | 48 | }) |
| 49 | - this.$message.success(this.$t('ownerVoting.delete.success')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | this.visible = false |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/oa/deleteQuestionAnswer.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('ownerVoting.deleteQuestionAnswer.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | qaId: this.qaId, |
| 47 | 47 | communityId: this.communityId |
| 48 | 48 | }) |
| 49 | - this.$message.success(this.$t('ownerVoting.deleteQuestionAnswer.success')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | this.visible = false |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/oa/deleteQuestionTitle.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('questionTitle.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -60,7 +60,7 @@ export default { |
| 60 | 60 | try { |
| 61 | 61 | this.loading = true |
| 62 | 62 | await deleteQuestionTitle(this.formData) |
| 63 | - this.$message.success(this.$t('questionTitle.delete.success')) | |
| 63 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 64 | 64 | this.$emit('success') |
| 65 | 65 | this.visible = false |
| 66 | 66 | } catch (error) { | ... | ... |
src/components/oa/deleteWork.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('startWork.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | workId: this.currentWork.workId, |
| 47 | 47 | communityId: this.communityId |
| 48 | 48 | }) |
| 49 | - this.$message.success(this.$t('startWork.delete.success')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | this.handleClose() |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/oa/deleteWorkType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('workType.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | communityId: getCommunityId() |
| 45 | 45 | } |
| 46 | 46 | await deleteWorkType(params) |
| 47 | - this.$message.success(this.$t('workType.delete.success')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.visible = false |
| 49 | 49 | this.$emit('success') |
| 50 | 50 | } catch (error) { | ... | ... |
src/components/oa/doingComplaint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('doingComplaint.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -66,7 +66,7 @@ export default { |
| 66 | 66 | await auditComplaint(this.formData) |
| 67 | 67 | this.$emit('success') |
| 68 | 68 | this.visible = false |
| 69 | - this.$message.success(this.$t('doingComplaint.success')) | |
| 69 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 70 | 70 | } catch (error) { |
| 71 | 71 | console.error(error) |
| 72 | 72 | this.$message.error(this.$t('doingComplaint.error')) | ... | ... |
src/components/oa/editActivitiesType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('activitiesTypeManage.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('activitiesTypeManage.edit.typeCd')" prop="typeCd"> |
| ... | ... | @@ -91,7 +91,7 @@ export default { |
| 91 | 91 | ...this.formData, |
| 92 | 92 | seq: Number(this.formData.seq) |
| 93 | 93 | }) |
| 94 | - this.$message.success(this.$t('activitiesTypeManage.edit.success')) | |
| 94 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 95 | 95 | this.visible = false |
| 96 | 96 | this.$emit('success') |
| 97 | 97 | } catch (error) { | ... | ... |
src/components/oa/editActivitiesView.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('activitiesManage.edit.title')" :visible.sync="dialogVisible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
| 4 | 4 | <el-form-item :label="$t('activitiesManage.edit.title')" prop="title"> |
| ... | ... | @@ -132,7 +132,7 @@ export default { |
| 132 | 132 | try { |
| 133 | 133 | this.form.communityId = getCommunityId() |
| 134 | 134 | await updateActivities(this.form) |
| 135 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 135 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 136 | 136 | this.dialogVisible = false |
| 137 | 137 | this.$emit('success') |
| 138 | 138 | } catch (error) { | ... | ... |
src/components/oa/editAttendanceClasses.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editAttendanceClasses.title')" :visible.sync="visible" width="60%" @close="closeDialog"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px" label-position="right"> |
| 4 | 4 | <el-row> |
| ... | ... | @@ -130,7 +130,7 @@ export default { |
| 130 | 130 | await this.$refs.form.validate() |
| 131 | 131 | const response = await updateAttendanceClasses(this.formData) |
| 132 | 132 | if (response.code === 0) { |
| 133 | - this.$message.success(this.$t('editAttendanceClasses.editSuccess')) | |
| 133 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 134 | 134 | this.$emit('success') |
| 135 | 135 | this.closeDialog() |
| 136 | 136 | } else { | ... | ... |
src/components/oa/editComplaint.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('complaint.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -132,7 +132,7 @@ export default { |
| 132 | 132 | if (valid) { |
| 133 | 133 | try { |
| 134 | 134 | await updateComplaint(this.form) |
| 135 | - this.$message.success(this.$t('complaint.edit.success')) | |
| 135 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 136 | 136 | this.$emit('success') |
| 137 | 137 | this.visible = false |
| 138 | 138 | } catch (error) { | ... | ... |
src/components/oa/editExamineProject.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('examineProjectManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('examineProjectManage.form.name')" prop="name"> |
| ... | ... | @@ -92,7 +92,7 @@ export default { |
| 92 | 92 | if (valid) { |
| 93 | 93 | try { |
| 94 | 94 | await updateExamineProject(this.formData) |
| 95 | - this.$message.success(this.$t('examineProjectManage.edit.success')) | |
| 95 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 96 | 96 | this.visible = false |
| 97 | 97 | this.$emit('success') |
| 98 | 98 | } catch (error) { | ... | ... |
src/components/oa/editNotepad.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('notepadManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -141,7 +141,7 @@ export default { |
| 141 | 141 | if (valid) { |
| 142 | 142 | try { |
| 143 | 143 | await updateNotepad(this.formData) |
| 144 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 144 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 145 | 145 | this.visible = false |
| 146 | 146 | this.$emit('success') |
| 147 | 147 | } catch (error) { | ... | ... |
src/components/oa/editOaWorkflow.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('oaWorkflowManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -81,7 +81,7 @@ export default { |
| 81 | 81 | if (valid) { |
| 82 | 82 | try { |
| 83 | 83 | await updateOaWorkflow(this.form) |
| 84 | - this.$message.success(this.$t('oaWorkflowManage.edit.success')) | |
| 84 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 85 | 85 | this.visible = false |
| 86 | 86 | this.$emit('success') |
| 87 | 87 | } catch (error) { | ... | ... |
src/components/oa/editQuestionAnswer.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('questionAnswerManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -190,7 +190,7 @@ export default { |
| 190 | 190 | try { |
| 191 | 191 | this.formData.communityId = getCommunityId() |
| 192 | 192 | await updateQuestionAnswer(this.formData) |
| 193 | - this.$message.success(this.$t('questionAnswerManage.message.updateSuccess')) | |
| 193 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 194 | 194 | this.visible = false |
| 195 | 195 | this.$emit('success') |
| 196 | 196 | } catch (error) { | ... | ... |
src/components/oa/editQuestionTitle.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('questionTitle.edit.title')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('questionTitle.edit.type')" prop="titleType" :rules="[ |
| ... | ... | @@ -129,7 +129,7 @@ export default { |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | await updateQuestionTitle(this.formData) |
| 132 | - this.$message.success(this.$t('questionTitle.edit.success')) | |
| 132 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 133 | 133 | this.$emit('success') |
| 134 | 134 | this.visible = false |
| 135 | 135 | } catch (error) { | ... | ... |
src/components/oa/editWorkType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('workType.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('workType.form.typeName')" prop="typeName"> |
| ... | ... | @@ -98,7 +98,7 @@ export default { |
| 98 | 98 | communityId: getCommunityId() |
| 99 | 99 | } |
| 100 | 100 | await updateWorkType(params) |
| 101 | - this.$message.success(this.$t('workType.edit.success')) | |
| 101 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 102 | 102 | this.visible = false |
| 103 | 103 | this.$emit('success') |
| 104 | 104 | } catch (error) { | ... | ... |
src/components/oa/newOaWorkflowForm.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="new-oa-workflow-form"> |
| 3 | 3 | <el-card class="form-card"> |
| 4 | 4 | <el-form ref="form" :model="formData" label-width="120px" label-position="right" class="text-left"> |
| ... | ... | @@ -211,7 +211,7 @@ export default { |
| 211 | 211 | |
| 212 | 212 | const res = await saveOaWorkflowFormData(_data) |
| 213 | 213 | if (res.code === 0) { |
| 214 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 214 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 215 | 215 | this.resetForm() |
| 216 | 216 | this.$emit('switch-tab', 'newOaWorkflowPool') |
| 217 | 217 | } else { | ... | ... |
src/components/oa/notepadDetail.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('notepadManage.detail.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -92,7 +92,7 @@ export default { |
| 92 | 92 | detailId: row.detailId, |
| 93 | 93 | communityId: this.formData.communityId |
| 94 | 94 | }) |
| 95 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 95 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 96 | 96 | this.loadDetails() |
| 97 | 97 | } catch (error) { |
| 98 | 98 | console.error('删除记事本详情失败:', error) | ... | ... |
src/components/oa/notepadOwnerRepair.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('notepadManage.ownerRepair.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -172,7 +172,7 @@ export default { |
| 172 | 172 | if (valid) { |
| 173 | 173 | try { |
| 174 | 174 | await saveOwnerRepair(this.formData) |
| 175 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 175 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 176 | 176 | this.visible = false |
| 177 | 177 | this.$emit('success') |
| 178 | 178 | } catch (error) { | ... | ... |
src/components/oa/publishQuestionAnswer.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('ownerVoting.publish.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -101,7 +101,7 @@ export default { |
| 101 | 101 | if (valid) { |
| 102 | 102 | try { |
| 103 | 103 | await publishQuestion(this.form) |
| 104 | - this.$message.success(this.$t('ownerVoting.publish.success')) | |
| 104 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 105 | 105 | this.$emit('success') |
| 106 | 106 | this.visible = false |
| 107 | 107 | } catch (error) { | ... | ... |
src/components/oa/staffAttendanceReplenishCheckIn.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('staffAttendance.replenishCheckIn')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -75,7 +75,7 @@ export default { |
| 75 | 75 | |
| 76 | 76 | try { |
| 77 | 77 | await attendanceReplenishCheckIn(this.form) |
| 78 | - this.$message.success(this.$t('staffAttendance.replenishSuccess')) | |
| 78 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 79 | 79 | this.$emit('success') |
| 80 | 80 | this.visible = false |
| 81 | 81 | } catch (error) { | ... | ... |
src/components/oa/uploadFile.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="upload-file-container"> |
| 3 | 3 | <div class="progress" v-if="uploadFileInfo.progress > 0"> |
| 4 | 4 | <el-progress |
| ... | ... | @@ -94,7 +94,7 @@ export default { |
| 94 | 94 | }) |
| 95 | 95 | |
| 96 | 96 | this.uploadFileInfo.progress = 100 |
| 97 | - this.$message.success(this.$t('uploadFile.uploadSuccess')) | |
| 97 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 98 | 98 | this.uploadFileInfo.fileName = res.fileName |
| 99 | 99 | this.uploadFileInfo.realFileName = res.realFileName |
| 100 | 100 | this.$emit(this.callBackListener, this.callBackFunction, res) | ... | ... |
src/components/org/AddOrg.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('org.addOrg')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -71,7 +71,7 @@ |
| 71 | 71 | if (valid) { |
| 72 | 72 | saveOrg(this.form).then(response => { |
| 73 | 73 | console.log(response) |
| 74 | - this.$message.success(this.$t('org.saveSuccess')) | |
| 74 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 75 | 75 | this.visible = false |
| 76 | 76 | this.$emit('refresh') |
| 77 | 77 | }) | ... | ... |
src/components/org/DeleteOrgRelStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.confirm')" :visible.sync="visible" width="30%"> |
| 3 | 3 | <span>{{ $t('org.confirmDelete') }}</span> |
| 4 | 4 | <span slot="footer" class="dialog-footer"> |
| ... | ... | @@ -30,7 +30,7 @@ export default { |
| 30 | 30 | orgId: this.currentStaff.orgId |
| 31 | 31 | }).then(response => { |
| 32 | 32 | console.log(response) |
| 33 | - this.$message.success(this.$t('org.deleteSuccess')) | |
| 33 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 34 | 34 | this.visible = false |
| 35 | 35 | this.$emit('refresh') |
| 36 | 36 | },error => { | ... | ... |
src/components/org/EditOrg.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('org.editOrg')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -89,7 +89,7 @@ |
| 89 | 89 | if (valid) { |
| 90 | 90 | updateOrg(this.form).then(response => { |
| 91 | 91 | console.log(response) |
| 92 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 92 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 93 | 93 | this.visible = false |
| 94 | 94 | this.$emit('refresh') |
| 95 | 95 | }) | ... | ... |
src/components/org/OrgRelStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('org.relatedStaff')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="18" :offset="12"> |
| ... | ... | @@ -82,7 +82,7 @@ export default { |
| 82 | 82 | staffIds: this.selectedStaffs.join(',') |
| 83 | 83 | }).then(response => { |
| 84 | 84 | console.log(response) |
| 85 | - this.$message.success(this.$t('org.relateSuccess')) | |
| 85 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 86 | 86 | this.visible = false |
| 87 | 87 | this.$emit('refresh') |
| 88 | 88 | }) | ... | ... |
src/components/org/addClasses.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('classesManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('classesManage.add.name')" prop="name" :rules="[ |
| ... | ... | @@ -100,7 +100,7 @@ export default { |
| 100 | 100 | await this.$refs.form.validate() |
| 101 | 101 | this.loading = true |
| 102 | 102 | await saveClasses(this.formData) |
| 103 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 103 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 104 | 104 | this.visible = false |
| 105 | 105 | this.$emit('success') |
| 106 | 106 | } catch (error) { | ... | ... |
src/components/org/addDataPrivilege.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('dataPrivilege.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -76,7 +76,7 @@ export default { |
| 76 | 76 | if (valid) { |
| 77 | 77 | try { |
| 78 | 78 | await saveDataPrivilege(this.form) |
| 79 | - this.$message.success(this.$t('dataPrivilege.addSuccess')) | |
| 79 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 80 | 80 | this.visible = false |
| 81 | 81 | this.$emit('success') |
| 82 | 82 | } catch (error) { | ... | ... |
src/components/org/addDataPrivilegeStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('dataPrivilege.staff')" :visible.sync="visible" width="70%" top="5vh" @close="handleClose"> |
| 3 | 3 | <div class="search-bar"> |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -135,7 +135,7 @@ export default { |
| 135 | 135 | communityId: getCommunityId() |
| 136 | 136 | }) |
| 137 | 137 | |
| 138 | - this.$message.success(this.$t('dataPrivilege.associateSuccess')) | |
| 138 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 139 | 139 | this.visible = false |
| 140 | 140 | this.$emit('success') |
| 141 | 141 | } catch (error) { | ... | ... |
src/components/org/addDataPrivilegeUnit.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('dataPrivilege.buildingUnit')" :visible.sync="visible" width="70%" top="5vh" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <div class="search-bar"> |
| ... | ... | @@ -136,7 +136,7 @@ export default { |
| 136 | 136 | communityId: getCommunityId() |
| 137 | 137 | }) |
| 138 | 138 | |
| 139 | - this.$message.success(this.$t('dataPrivilege.associateSuccess')) | |
| 139 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 140 | 140 | this.visible = false |
| 141 | 141 | this.$emit('success') |
| 142 | 142 | } catch (error) { | ... | ... |
src/components/org/addScheduleClassesStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('scheduleClassesStaffManage.addTitle')" :visible.sync="visible" width="70%" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | staffs: this.staffs |
| 47 | 47 | } |
| 48 | 48 | await saveScheduleClassesStaff(params) |
| 49 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | this.visible = false |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/org/deleteClasses.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('classesManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -48,7 +48,7 @@ export default { |
| 48 | 48 | try { |
| 49 | 49 | this.loading = true |
| 50 | 50 | await deleteClasses({ classesId: this.classesId }) |
| 51 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 51 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 52 | 52 | this.visible = false |
| 53 | 53 | this.$emit('success') |
| 54 | 54 | } catch (error) { | ... | ... |
src/components/org/deleteDataPrivilege.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('dataPrivilege.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -39,7 +39,7 @@ export default { |
| 39 | 39 | dpId: this.dpId, |
| 40 | 40 | communityId: this.communityId |
| 41 | 41 | }) |
| 42 | - this.$message.success(this.$t('dataPrivilege.deleteSuccess')) | |
| 42 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 43 | 43 | this.visible = false |
| 44 | 44 | this.$emit('success') |
| 45 | 45 | } catch (error) { | ... | ... |
src/components/org/deleteDataPrivilegeStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('dataPrivilege.confirmOperation')" :visible.sync="visible" width="400px" center> |
| 3 | 3 | <div class="delete-content"> |
| 4 | 4 | <p>{{ $t('dataPrivilege.confirmCancelAuth') }}</p> |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | this.loading = true |
| 45 | 45 | try { |
| 46 | 46 | await deleteDataPrivilegeStaff(this.form) |
| 47 | - this.$message.success(this.$t('dataPrivilege.deleteSuccess')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.visible = false |
| 49 | 49 | this.$emit('success') |
| 50 | 50 | } catch (error) { | ... | ... |
src/components/org/deleteDataPrivilegeUnit.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('dataPrivilege.confirmOperation')" :visible.sync="visible" width="400px" center> |
| 3 | 3 | <div class="delete-content"> |
| 4 | 4 | <p>{{ $t('dataPrivilege.confirmCancelUnit') }}</p> |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | this.loading = true |
| 45 | 45 | try { |
| 46 | 46 | await deleteDataPrivilegeUnit(this.form) |
| 47 | - this.$message.success(this.$t('dataPrivilege.deleteSuccess')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.visible = false |
| 49 | 49 | this.$emit('success') |
| 50 | 50 | } catch (error) { | ... | ... |
src/components/org/deleteScheduleClasses.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('scheduleClasses.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -34,7 +34,7 @@ export default { |
| 34 | 34 | async handleConfirm() { |
| 35 | 35 | try { |
| 36 | 36 | await deleteScheduleClasses(this.currentItem) |
| 37 | - this.$message.success(this.$t('scheduleClasses.delete.success')) | |
| 37 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 38 | 38 | this.$emit('success') |
| 39 | 39 | this.visible = false |
| 40 | 40 | } catch (error) { | ... | ... |
src/components/org/deleteScheduleClassesStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -33,7 +33,7 @@ export default { |
| 33 | 33 | async confirmDelete() { |
| 34 | 34 | try { |
| 35 | 35 | await deleteScheduleClassesStaff(this.deleteData) |
| 36 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 36 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 37 | 37 | this.$emit('success') |
| 38 | 38 | this.visible = false |
| 39 | 39 | } catch (error) { | ... | ... |
src/components/org/editClasses.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('classesManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('classesManage.edit.name')" prop="name" :rules="[ |
| ... | ... | @@ -99,7 +99,7 @@ export default { |
| 99 | 99 | await this.$refs.form.validate() |
| 100 | 100 | this.loading = true |
| 101 | 101 | await updateClasses(this.formData) |
| 102 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 102 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 103 | 103 | this.visible = false |
| 104 | 104 | this.$emit('success') |
| 105 | 105 | } catch (error) { | ... | ... |
src/components/org/editDataPrivilege.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('dataPrivilege.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -80,7 +80,7 @@ export default { |
| 80 | 80 | if (valid) { |
| 81 | 81 | try { |
| 82 | 82 | await updateDataPrivilege(this.form) |
| 83 | - this.$message.success(this.$t('dataPrivilege.editSuccess')) | |
| 83 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 84 | 84 | this.visible = false |
| 85 | 85 | this.$emit('success') |
| 86 | 86 | } catch (error) { | ... | ... |
src/components/org/scheduleClassesState.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('scheduleClasses.state.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | async handleConfirm() { |
| 43 | 43 | try { |
| 44 | 44 | await updateScheduleClassesState(this.formData) |
| 45 | - this.$message.success(this.$t('scheduleClasses.state.success')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.visible = false |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/owner/AddOwnerCommittee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('addOwnerCommittee.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -314,7 +314,7 @@ export default { |
| 314 | 314 | communityId |
| 315 | 315 | } |
| 316 | 316 | await saveOwnerCommittee(data) |
| 317 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 317 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 318 | 318 | this.visible = false |
| 319 | 319 | this.$emit('success') |
| 320 | 320 | } catch (error) { | ... | ... |
src/components/owner/DeleteAppUserBindingOwner.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.delete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | await deleteAppUserBindingOwner(params) |
| 49 | - this.$message.success(this.$t('deleteBinding.successMsg')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.$emit('delete-success') |
| 51 | 51 | this.closeDialog() |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/owner/addOwner.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('listOwner.buttons.add')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -229,7 +229,7 @@ export default { |
| 229 | 229 | } |
| 230 | 230 | |
| 231 | 231 | await saveOwner(params) |
| 232 | - this.$message.success(this.$t('listOwner.saveSuccess')) | |
| 232 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 233 | 233 | this.visible = false |
| 234 | 234 | this.$emit('success') |
| 235 | 235 | } catch (error) { | ... | ... |
src/components/owner/addOwnerMember.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addOwnerMember.title')" :visible.sync="dialogVisible" width="60%" |
| 3 | 3 | @close="_closeSaveOwnerModal"> |
| 4 | 4 | <el-form :model="addOwnerMemberInfo" :rules="rules" ref="form" label-width="120px"> |
| ... | ... | @@ -192,7 +192,7 @@ export default { |
| 192 | 192 | saveOwnerMember(params) |
| 193 | 193 | .then(res => { |
| 194 | 194 | if (res.code == 0) { |
| 195 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 195 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 196 | 196 | this.dialogVisible = false |
| 197 | 197 | this.$emit('success') |
| 198 | 198 | } else { | ... | ... |
src/components/owner/deleteOwner.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('listOwner.buttons.delete')" :visible.sync="visible" width="500px"> |
| 3 | 3 | <p>{{ $t('listOwner.confirmDelete') }}</p> |
| 4 | 4 | |
| ... | ... | @@ -36,7 +36,7 @@ export default { |
| 36 | 36 | ownerId: this.owner.ownerId, |
| 37 | 37 | memberId: this.owner.memberId |
| 38 | 38 | }) |
| 39 | - this.$message.success(this.$t('listOwner.deleteSuccess')) | |
| 39 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 40 | 40 | this.visible = false |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | } catch (error) { | ... | ... |
src/components/owner/editOwner.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('listOwner.buttons.edit')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -260,7 +260,7 @@ export default { |
| 260 | 260 | } |
| 261 | 261 | |
| 262 | 262 | await editOwner(params) |
| 263 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 263 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 264 | 264 | this.visible = false |
| 265 | 265 | this.$emit('success') |
| 266 | 266 | } catch (error) { | ... | ... |
src/components/owner/editOwnerMember.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editOwnerMember.title')" :visible.sync="dialogVisible" width="60%" |
| 3 | 3 | @close="_closeEditOwnerMemberModal"> |
| 4 | 4 | <el-form :model="editOwnerMemberInfo" :rules="rules" ref="form" label-width="120px"> |
| ... | ... | @@ -214,7 +214,7 @@ export default { |
| 214 | 214 | editOwnerMember(params) |
| 215 | 215 | .then(res => { |
| 216 | 216 | if (res.code === 0) { |
| 217 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 217 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 218 | 218 | this.dialogVisible = false |
| 219 | 219 | this.$emit('success') |
| 220 | 220 | } else { | ... | ... |
src/components/owner/ownerDetailAppUser.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="margin-top"> |
| 3 | 3 | <el-table :data="ownerDetailAppUserInfo.appUsers" style="width: 100%"> |
| 4 | 4 | <el-table-column prop="communityName" :label="$t('ownerDetailAppUser.communityName')" |
| ... | ... | @@ -99,7 +99,7 @@ export default { |
| 99 | 99 | auditInfo.appUserId = this.ownerDetailAppUserInfo.currentAppUserId |
| 100 | 100 | |
| 101 | 101 | updateAppUserBindingOwner(auditInfo).then(() => { |
| 102 | - this.$message.success(this.$t('common.processSuccess')) | |
| 102 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 103 | 103 | this._loadOwnerDetailAppUserData(1, this.pagination.pageSize) |
| 104 | 104 | }).catch(error => { |
| 105 | 105 | this.$message.error(this.$t('common.processFailed') + error) | ... | ... |
src/components/project/AddProject.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('project.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -100,7 +100,7 @@ export default { |
| 100 | 100 | try { |
| 101 | 101 | await this.$refs.form.validate() |
| 102 | 102 | await addProject(this.form) |
| 103 | - this.$message.success(this.$t('project.add.success')) | |
| 103 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 104 | 104 | this.handleClose() |
| 105 | 105 | this.$emit('success') |
| 106 | 106 | } catch (error) { | ... | ... |
src/components/project/DelProject.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('project.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteProject(this.projectId) |
| 57 | - this.$message.success(this.$t('project.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/project/EditProject.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('project.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -108,7 +108,7 @@ export default { |
| 108 | 108 | try { |
| 109 | 109 | await this.$refs.form.validate() |
| 110 | 110 | await updateProject(this.form) |
| 111 | - this.$message.success(this.$t('project.edit.success')) | |
| 111 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 112 | 112 | this.handleClose() |
| 113 | 113 | this.$emit('success') |
| 114 | 114 | } catch (error) { | ... | ... |
src/components/property/deleteParkingSpaceApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('deleteParkingSpaceApply.title')" :visible.sync="visible" width="30%"> |
| 3 | 3 | <span>{{ $t('deleteParkingSpaceApply.confirmDelete') }}</span> |
| 4 | 4 | <span slot="footer" class="dialog-footer"> |
| ... | ... | @@ -27,7 +27,7 @@ export default { |
| 27 | 27 | handleConfirm() { |
| 28 | 28 | deleteParkingSpaceApply({ applyId: this.applyId }).then(response => { |
| 29 | 29 | console.log(response) |
| 30 | - this.$message.success(this.$t('deleteParkingSpaceApply.deleteSuccess')) | |
| 30 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 31 | 31 | this.visible = false |
| 32 | 32 | this.$emit('refresh') |
| 33 | 33 | }).catch(error => { | ... | ... |
src/components/property/editMachineTranslate.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editMachineTranslate.title')" :visible.sync="visible" width="50%"> |
| 3 | 3 | <el-form :model="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('editMachineTranslate.machineCode')"> |
| ... | ... | @@ -52,7 +52,7 @@ export default { |
| 52 | 52 | handleSubmit() { |
| 53 | 53 | resyncMachineTranslate(this.form).then(response => { |
| 54 | 54 | console.log(response) |
| 55 | - this.$message.success(this.$t('editMachineTranslate.resyncSuccess')) | |
| 55 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 56 | 56 | this.visible = false |
| 57 | 57 | this.$emit('refresh') |
| 58 | 58 | }).catch(error => { | ... | ... |
src/components/property/editParkingSpaceApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editParkingSpaceApply.title')" :visible.sync="visible" width="50%"> |
| 3 | 3 | <el-form :model="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('editParkingSpaceApply.carNum')"> |
| ... | ... | @@ -85,7 +85,7 @@ export default { |
| 85 | 85 | handleSubmit() { |
| 86 | 86 | updateParkingSpaceApply(this.form).then(response => { |
| 87 | 87 | console.log(response) |
| 88 | - this.$message.success(this.$t('editParkingSpaceApply.updateSuccess')) | |
| 88 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 89 | 89 | this.visible = false |
| 90 | 90 | this.$emit('refresh') |
| 91 | 91 | }).catch(error => { | ... | ... |
src/components/report/AddComponentCondition.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('componentConditionManage.name')" prop="name"> |
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | if (valid) { |
| 96 | 96 | try { |
| 97 | 97 | await saveReportCustomComponentCondition(this.form) |
| 98 | - this.$message.success(this.$t('common.addSuccess')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.visible = false |
| 100 | 100 | this.$emit('success') |
| 101 | 101 | } catch (error) { | ... | ... |
src/components/report/AddReportCustom.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('addReportCustom.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -131,7 +131,7 @@ export default { |
| 131 | 131 | if (valid) { |
| 132 | 132 | try { |
| 133 | 133 | await saveReportCustom(this.form) |
| 134 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 134 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 135 | 135 | this.$emit('success') |
| 136 | 136 | this.visible = false |
| 137 | 137 | } catch (error) { | ... | ... |
src/components/report/AddReportCustomComponent.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="80%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('reportCustomComponent.table.name')" prop="name"> |
| ... | ... | @@ -92,7 +92,7 @@ export default { |
| 92 | 92 | try { |
| 93 | 93 | await this.$refs.form.validate() |
| 94 | 94 | await addReportCustomComponent(this.form) |
| 95 | - this.$message.success(this.$t('common.addSuccess')) | |
| 95 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 96 | 96 | this.$emit('success') |
| 97 | 97 | this.$emit('update:visible', false) |
| 98 | 98 | } catch (error) { | ... | ... |
src/components/report/AddReportCustomComponentFooter.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('reportCustomComponentFooterManage.name')" prop="name" required> |
| ... | ... | @@ -68,7 +68,7 @@ export default { |
| 68 | 68 | try { |
| 69 | 69 | await this.$refs.form.validate() |
| 70 | 70 | await saveReportCustomComponentFooter(this.formData) |
| 71 | - this.$message.success(this.$t('common.addSuccess')) | |
| 71 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 72 | 72 | this.handleClose() |
| 73 | 73 | this.$emit('success') |
| 74 | 74 | } catch (error) { | ... | ... |
src/components/report/AddReportCustomComponentRel.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-row> |
| 3 | 3 | <el-col :span="24"> |
| 4 | 4 | <el-card> |
| ... | ... | @@ -70,7 +70,7 @@ export default { |
| 70 | 70 | if (valid) { |
| 71 | 71 | try { |
| 72 | 72 | await saveReportCustomComponentRel(this.form) |
| 73 | - this.$message.success(this.$t('addReportCustomComponentRel.saveSuccess')) | |
| 73 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 74 | 74 | this.$emit('success') |
| 75 | 75 | } catch (error) { |
| 76 | 76 | this.$message.error(error.message || this.$t('addReportCustomComponentRel.saveError')) | ... | ... |
src/components/report/AddReportCustomGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('reportCustomGroupManage.table.name')" prop="name"> |
| ... | ... | @@ -91,7 +91,7 @@ export default { |
| 91 | 91 | if (valid) { |
| 92 | 92 | try { |
| 93 | 93 | await saveReportCustomGroup(this.form) |
| 94 | - this.$message.success(this.$t('reportCustomGroupManage.add.success')) | |
| 94 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 95 | 95 | this.$emit('success') |
| 96 | 96 | this.handleClose() |
| 97 | 97 | } catch (error) { | ... | ... |
src/components/report/DeleteComponentCondition.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -33,7 +33,7 @@ export default { |
| 33 | 33 | async handleConfirm() { |
| 34 | 34 | try { |
| 35 | 35 | await deleteReportCustomComponentCondition({ conditionId: this.conditionId }) |
| 36 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 36 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 37 | 37 | this.visible = false |
| 38 | 38 | this.$emit('success') |
| 39 | 39 | } catch (error) { | ... | ... |
src/components/report/DeleteReportCustom.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteReportCustom.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | async handleConfirm() { |
| 43 | 43 | try { |
| 44 | 44 | await deleteReportCustom(this.customId) |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.visible = false |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/report/DeleteReportCustomComponent.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | async handleConfirm() { |
| 42 | 42 | try { |
| 43 | 43 | await deleteReportCustomComponent({ componentId: this.componentId }) |
| 44 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.$emit('success') |
| 46 | 46 | this.$emit('update:visible', false) |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/report/DeleteReportCustomComponentFooter.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.delete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -34,7 +34,7 @@ export default { |
| 34 | 34 | async handleConfirm() { |
| 35 | 35 | try { |
| 36 | 36 | await deleteReportCustomComponentFooter({ footerId: this.footerId }) |
| 37 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 37 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 38 | 38 | this.handleClose() |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | } catch (error) { | ... | ... |
src/components/report/DeleteReportCustomComponentRel.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteReportCustomComponentRel.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -35,7 +35,7 @@ export default { |
| 35 | 35 | customId:this.currentRow.customId, |
| 36 | 36 | communityId: '-1' |
| 37 | 37 | }) |
| 38 | - this.$message.success(this.$t('deleteReportCustomComponentRel.deleteSuccess')) | |
| 38 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | this.visible = false |
| 41 | 41 | } catch (error) { | ... | ... |
src/components/report/DeleteReportCustomGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -41,7 +41,7 @@ export default { |
| 41 | 41 | async handleConfirm() { |
| 42 | 42 | try { |
| 43 | 43 | await deleteReportCustomGroup({ groupId: this.groupId }) |
| 44 | - this.$message.success(this.$t('reportCustomGroupManage.delete.success')) | |
| 44 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 45 | 45 | this.$emit('success') |
| 46 | 46 | this.handleClose() |
| 47 | 47 | } catch (error) { | ... | ... |
src/components/report/EditComponentCondition.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('componentConditionManage.name')" prop="name"> |
| ... | ... | @@ -94,7 +94,7 @@ export default { |
| 94 | 94 | if (valid) { |
| 95 | 95 | try { |
| 96 | 96 | await updateReportCustomComponentCondition(this.form) |
| 97 | - this.$message.success(this.$t('common.editSuccess')) | |
| 97 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 98 | 98 | this.visible = false |
| 99 | 99 | this.$emit('success') |
| 100 | 100 | } catch (error) { | ... | ... |
src/components/report/EditReportCustom.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('editReportCustom.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -141,7 +141,7 @@ export default { |
| 141 | 141 | if (valid) { |
| 142 | 142 | try { |
| 143 | 143 | await updateReportCustom(this.form) |
| 144 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 144 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 145 | 145 | this.$emit('success') |
| 146 | 146 | this.visible = false |
| 147 | 147 | } catch (error) { | ... | ... |
src/components/report/EditReportCustomComponent.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -160,7 +160,7 @@ export default { |
| 160 | 160 | try { |
| 161 | 161 | await this.$refs.form.validate() |
| 162 | 162 | await updateReportCustomComponent(this.form) |
| 163 | - this.$message.success(this.$t('common.editSuccess')) | |
| 163 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 164 | 164 | this.$emit('success') |
| 165 | 165 | this.$emit('update:visible', false) |
| 166 | 166 | } catch (error) { | ... | ... |
src/components/report/EditReportCustomComponentFooter.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('reportCustomComponentFooterManage.name')" prop="name" required> |
| ... | ... | @@ -58,7 +58,7 @@ export default { |
| 58 | 58 | try { |
| 59 | 59 | await this.$refs.form.validate() |
| 60 | 60 | await updateReportCustomComponentFooter(this.formData) |
| 61 | - this.$message.success(this.$t('common.editSuccess')) | |
| 61 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 62 | 62 | this.handleClose() |
| 63 | 63 | this.$emit('success') |
| 64 | 64 | } catch (error) { | ... | ... |
src/components/report/EditReportCustomGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -148,7 +148,7 @@ export default { |
| 148 | 148 | if (valid) { |
| 149 | 149 | try { |
| 150 | 150 | await updateReportCustomGroup(this.form) |
| 151 | - this.$message.success(this.$t('reportCustomGroupManage.edit.success')) | |
| 151 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 152 | 152 | this.$emit('success') |
| 153 | 153 | this.handleClose() |
| 154 | 154 | } catch (error) { | ... | ... |
src/components/report/reportFeeDetailCar.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="report-fee-detail-car"> |
| 3 | 3 | <div class="operation-bar"> |
| 4 | 4 | <el-button |
| ... | ... | @@ -137,7 +137,7 @@ export default { |
| 137 | 137 | pagePath: 'reportFeeDetailCar' |
| 138 | 138 | } |
| 139 | 139 | await exportReportFeeDetailCar(params) |
| 140 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 140 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 141 | 141 | } catch (error) { |
| 142 | 142 | console.error('导出失败:', error) |
| 143 | 143 | this.$message.error(this.$t('common.exportFailed')) | ... | ... |
src/components/report/reportFeeDetailContract.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="report-fee-detail-contract"> |
| 3 | 3 | <div class="operation-bar"> |
| 4 | 4 | <el-button |
| ... | ... | @@ -137,7 +137,7 @@ export default { |
| 137 | 137 | pagePath: 'reportFeeDetailContract' |
| 138 | 138 | } |
| 139 | 139 | await exportReportFeeDetailContract(params) |
| 140 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 140 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 141 | 141 | } catch (error) { |
| 142 | 142 | console.error('导出失败:', error) |
| 143 | 143 | this.$message.error(this.$t('common.exportFailed')) | ... | ... |
src/components/report/reportFeeDetailOwner.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="report-fee-detail-owner"> |
| 3 | 3 | <div class="operation-bar"> |
| 4 | 4 | <el-button |
| ... | ... | @@ -140,7 +140,7 @@ export default { |
| 140 | 140 | pagePath: 'reportFeeDetailOwner' |
| 141 | 141 | } |
| 142 | 142 | await exportReportFeeDetailOwner(params) |
| 143 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 143 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 144 | 144 | } catch (error) { |
| 145 | 145 | console.error('导出失败:', error) |
| 146 | 146 | this.$message.error(this.$t('common.exportFailed')) | ... | ... |
src/components/report/reportFeeDetailRoom.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="report-fee-detail-room"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="4"> |
| ... | ... | @@ -151,7 +151,7 @@ export default { |
| 151 | 151 | pagePath: 'reportFeeDetailRoom' |
| 152 | 152 | } |
| 153 | 153 | await exportReportFeeDetailRoom(params) |
| 154 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 154 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 155 | 155 | } catch (error) { |
| 156 | 156 | console.error('导出失败:', error) |
| 157 | 157 | this.$message.error(this.$t('common.exportFailed')) | ... | ... |
src/components/resource/AddResourceAuditFlow.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('resourceAuditFlow.addTitle')" :visible.sync="dialogVisible" width="600px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('resourceAuditFlow.flowName')" prop="flowName" :label-width="formLabelWidth"> |
| ... | ... | @@ -77,7 +77,7 @@ export default { |
| 77 | 77 | try { |
| 78 | 78 | const res = await saveResourceAuditFlow(this.form) |
| 79 | 79 | if (res.code == 0) { |
| 80 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 80 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 81 | 81 | this.dialogVisible = false |
| 82 | 82 | this.$emit('success') |
| 83 | 83 | } else { | ... | ... |
src/components/resource/AddResourceSupplier.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('addResourceSupplier.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -152,7 +152,7 @@ export default { |
| 152 | 152 | communityId: getCommunityId() |
| 153 | 153 | } |
| 154 | 154 | await saveResourceSupplier(params) |
| 155 | - this.$message.success(this.$t('common.success')) | |
| 155 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 156 | 156 | this.visible = false |
| 157 | 157 | this.$emit('success') |
| 158 | 158 | } catch (error) { | ... | ... |
src/components/resource/AddStorehouse.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('storehouseManage.buttons.add')" :visible.sync="visible" width="50%" @close="close"> |
| 3 | 3 | <el-form :model="form" label-width="150px" :rules="rules" ref="form"> |
| 4 | 4 | <el-form-item :label="$t('storehouseManage.table.shName')" prop="shName"> |
| ... | ... | @@ -177,7 +177,7 @@ export default { |
| 177 | 177 | await saveStorehouse(this.form) |
| 178 | 178 | this.$emit('success') |
| 179 | 179 | this.close() |
| 180 | - this.$message.success(this.$t('storehouseManage.messages.addSuccess')) | |
| 180 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 181 | 181 | } catch (error) { |
| 182 | 182 | if (error.message) { |
| 183 | 183 | this.$message.error(error.message) | ... | ... |
src/components/resource/DeleteResourceAuditFlow.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('resourceAuditFlow.confirmTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | }) |
| 45 | 45 | |
| 46 | 46 | if (res.code === 0) { |
| 47 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.dialogVisible = false |
| 49 | 49 | this.$emit('success') |
| 50 | 50 | } else { | ... | ... |
src/components/resource/DeleteResourceSupplier.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteResourceSupplier.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -48,7 +48,7 @@ export default { |
| 48 | 48 | communityId: getCommunityId() |
| 49 | 49 | } |
| 50 | 50 | await deleteResourceSupplier(params) |
| 51 | - this.$message.success(this.$t('common.success')) | |
| 51 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 52 | 52 | this.visible = false |
| 53 | 53 | this.$emit('success') |
| 54 | 54 | } catch (error) { | ... | ... |
src/components/resource/DeleteStorehouse.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.delete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -45,7 +45,7 @@ export default { |
| 45 | 45 | await deleteStorehouse(params) |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.close() |
| 48 | - this.$message.success(this.$t('storehouseManage.messages.deleteSuccess')) | |
| 48 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 49 | 49 | } catch (error) { |
| 50 | 50 | this.$message.error(error.message || this.$t('storehouseManage.messages.deleteError')) |
| 51 | 51 | } | ... | ... |
src/components/resource/EditResourceAuditFlow.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('resourceAuditFlow.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -121,7 +121,7 @@ export default { |
| 121 | 121 | try { |
| 122 | 122 | const res = await updateResourceAuditFlow(this.form) |
| 123 | 123 | if (res.code === 0) { |
| 124 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 124 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 125 | 125 | this.dialogVisible = false |
| 126 | 126 | this.$emit('success') |
| 127 | 127 | } else { | ... | ... |
src/components/resource/EditResourceSupplier.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('editResourceSupplier.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -154,7 +154,7 @@ export default { |
| 154 | 154 | communityId: getCommunityId() |
| 155 | 155 | } |
| 156 | 156 | await updateResourceSupplier(params) |
| 157 | - this.$message.success(this.$t('common.success')) | |
| 157 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 158 | 158 | this.visible = false |
| 159 | 159 | this.$emit('success') |
| 160 | 160 | } catch (error) { | ... | ... |
src/components/resource/EditStorehouse.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('storehouseManage.buttons.edit')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -167,7 +167,7 @@ export default { |
| 167 | 167 | await updateStorehouse(this.form) |
| 168 | 168 | this.$emit('success') |
| 169 | 169 | this.close() |
| 170 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 170 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 171 | 171 | } catch (error) { |
| 172 | 172 | if (error.message) { |
| 173 | 173 | this.$message.error(error.message) | ... | ... |
src/components/resource/addResourceStore.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('resourceStoreManage.addResource')" :visible.sync="dialogVisible" width="70%" |
| 3 | 3 | :close-on-click-modal="false" @closed="handleClosed"> |
| 4 | 4 | <el-form ref="addForm" :model="formData" :rules="rules" label-width="180px" label-position="right"> |
| ... | ... | @@ -370,7 +370,7 @@ export default { |
| 370 | 370 | if (valid) { |
| 371 | 371 | try { |
| 372 | 372 | await saveResourceStore(this.formData) |
| 373 | - this.$message.success(this.$t('resourceStoreManage.addSuccess')) | |
| 373 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 374 | 374 | this.dialogVisible = false |
| 375 | 375 | this.$emit('success') |
| 376 | 376 | } catch (error) { | ... | ... |
src/components/resource/addResourceStoreSpecification.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('resourceStoreSpecificationManage.addSpec')" :visible.sync="visible" width="50%" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form :model="form" :rules="rules" ref="formRef" label-width="120px"> |
| ... | ... | @@ -127,7 +127,7 @@ export default { |
| 127 | 127 | if (valid) { |
| 128 | 128 | try { |
| 129 | 129 | await saveResourceStoreSpecification(this.form) |
| 130 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 130 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 131 | 131 | this.visible = false |
| 132 | 132 | this.$emit('success') |
| 133 | 133 | } catch (error) { | ... | ... |
src/components/resource/addResourceStoreType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="40%" :close-on-click-modal="false" |
| 3 | 3 | @closed="handleClosed"> |
| 4 | 4 | <el-form ref="addForm" :model="formData" :rules="rules" label-width="120px" label-position="right"> |
| ... | ... | @@ -67,7 +67,7 @@ export default { |
| 67 | 67 | try { |
| 68 | 68 | this.saving = true |
| 69 | 69 | await saveResourceStoreType(this.formData) |
| 70 | - this.$message.success(this.$t('resourceStoreManage.addTypeSuccess')) | |
| 70 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 71 | 71 | this.dialogVisible = false |
| 72 | 72 | this.$emit('success') |
| 73 | 73 | } catch (error) { | ... | ... |
src/components/resource/allocationAuditDiv.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-card width="50%" > |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('auditDiv.action')" prop="auditCode"> |
| ... | ... | @@ -113,7 +113,7 @@ export default { |
| 113 | 113 | try { |
| 114 | 114 | const res = await auditAllocationStoreOrder(this.formData) |
| 115 | 115 | if (res.code == 0) { |
| 116 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 116 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 117 | 117 | this.$router.go(-1) |
| 118 | 118 | this.$emit('success') |
| 119 | 119 | } else { | ... | ... |
src/components/resource/auditDiv.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-card width="50%" > |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('auditDiv.action')" prop="auditCode"> |
| ... | ... | @@ -113,7 +113,7 @@ export default { |
| 113 | 113 | try { |
| 114 | 114 | const res = await auditApplyOrder(this.formData) |
| 115 | 115 | if (res.code === 0) { |
| 116 | - this.$message.success(this.$t('auditDiv.submitSuccess')) | |
| 116 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 117 | 117 | this.$router.go(-1) |
| 118 | 118 | this.$emit('success') |
| 119 | 119 | } else { | ... | ... |
src/components/resource/cancelAssetInventory.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('assetInventoryManage.cancel.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | communityId |
| 43 | 43 | } |
| 44 | 44 | await updateAssetInventory(params) |
| 45 | - this.$message.success(this.$t('assetInventoryManage.cancel.success')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.handleClose() |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/resource/deleteAssetInventory.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('assetInventoryManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -40,7 +40,7 @@ export default { |
| 40 | 40 | communityId |
| 41 | 41 | } |
| 42 | 42 | await deleteAssetInventory(params) |
| 43 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 43 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 44 | 44 | this.$emit('success') |
| 45 | 45 | this.handleClose() |
| 46 | 46 | } catch (error) { | ... | ... |
src/components/resource/deleteItemOut.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteItemOut.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | communityId: getCommunityId() |
| 43 | 43 | } |
| 44 | 44 | await deletePurchaseApply(params) |
| 45 | - this.$message.success(this.$t('deleteItemOut.deleteSuccess')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.$emit('success') |
| 47 | 47 | this.handleClose() |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/resource/deletePurchaseApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('purchaseApplyManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | async handleConfirm() { |
| 48 | 48 | try { |
| 49 | 49 | await deletePurchaseApply(this.form) |
| 50 | - this.$message.success(this.$t('purchaseApplyManage.delete.success')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | this.visible = false |
| 52 | 52 | this.$emit('success') |
| 53 | 53 | } catch (error) { | ... | ... |
src/components/resource/deleteResourceStore.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('resourceStoreManage.confirmOperation')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | communityId: getCommunityId() |
| 48 | 48 | } |
| 49 | 49 | await deleteResourceStore(params) |
| 50 | - this.$message.success(this.$t('resourceStoreManage.deleteSuccess')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | this.dialogVisible = false |
| 52 | 52 | this.$emit('success') |
| 53 | 53 | } catch (error) { | ... | ... |
src/components/resource/deleteResourceStoreSpecification.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('resourceStoreSpecificationManage.confirmDeleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -37,7 +37,7 @@ export default { |
| 37 | 37 | async confirmDelete() { |
| 38 | 38 | try { |
| 39 | 39 | await deleteResourceStoreSpecification(this.rssId) |
| 40 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 40 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 41 | 41 | this.visible = false |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | } catch (error) { | ... | ... |
src/components/resource/deleteResourceStoreType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | id="deleteResourceStoreTypeModel" |
| 4 | 4 | :title="$t('deleteResourceStoreType.confirmTitle')" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | try { |
| 43 | 43 | const response = await deleteResourceStoreType(this.deleteResourceStoreTypeInfo) |
| 44 | 44 | if (response.code === 0) { |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.handleClose() |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | } else { | ... | ... |
src/components/resource/editPurchaseApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('purchaseApplyManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -78,7 +78,7 @@ export default { |
| 78 | 78 | async submitForm() { |
| 79 | 79 | try { |
| 80 | 80 | await updatePurchaseApply(this.form) |
| 81 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 81 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 82 | 82 | this.visible = false |
| 83 | 83 | this.$emit('success') |
| 84 | 84 | } catch (error) { | ... | ... |
src/components/resource/editResourceStore.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('resourceStoreManage.editResource')" :visible.sync="dialogVisible" width="70%" |
| 3 | 3 | :close-on-click-modal="false" @closed="handleClosed"> |
| 4 | 4 | <el-form ref="editForm" :model="formData" :rules="rules" label-width="180px" label-position="right"> |
| ... | ... | @@ -370,7 +370,7 @@ export default { |
| 370 | 370 | if (valid) { |
| 371 | 371 | try { |
| 372 | 372 | await updateResourceStore(this.formData) |
| 373 | - this.$message.success(this.$t('resourceStoreManage.updateSuccess')) | |
| 373 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 374 | 374 | this.dialogVisible = false |
| 375 | 375 | this.$emit('success') |
| 376 | 376 | } catch (error) { | ... | ... |
src/components/resource/editResourceStoreSpecification.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('resourceStoreSpecificationManage.editItemSpec')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -167,7 +167,7 @@ export default { |
| 167 | 167 | if (valid) { |
| 168 | 168 | try { |
| 169 | 169 | await updateResourceStoreSpecification(this.form) |
| 170 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 170 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 171 | 171 | this.visible = false |
| 172 | 172 | this.$emit('success') |
| 173 | 173 | } catch (error) { | ... | ... |
src/components/resource/editResourceStoreType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('resourceStoreManage.editResourceType')" :visible.sync="dialogVisible" width="40%" |
| 3 | 3 | :close-on-click-modal="false" @closed="handleClosed"> |
| 4 | 4 | <el-form ref="editForm" :model="formData" :rules="rules" label-width="120px" label-position="right"> |
| ... | ... | @@ -64,7 +64,7 @@ export default { |
| 64 | 64 | try { |
| 65 | 65 | this.saving = true |
| 66 | 66 | await updateResourceStoreType(this.formData) |
| 67 | - this.$message.success(this.$t('resourceStoreManage.updateTypeSuccess')) | |
| 67 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 68 | 68 | this.dialogVisible = false |
| 69 | 69 | this.$emit('success') |
| 70 | 70 | } catch (error) { | ... | ... |
src/components/resource/importResourceStore.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('resourceStoreManage.importResource')" :visible.sync="dialogVisible" width="40%" |
| 3 | 3 | :close-on-click-modal="false" @closed="handleClosed"> |
| 4 | 4 | <el-form ref="importForm" :model="formData" :rules="rules" label-width="120px" label-position="right" class="text-left"> |
| ... | ... | @@ -124,7 +124,7 @@ export default { |
| 124 | 124 | this.$message.error(error) |
| 125 | 125 | }) |
| 126 | 126 | if (res && res.code === 0) { |
| 127 | - this.$message.success(this.$t('resourceStoreManage.importSuccess')) | |
| 127 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 128 | 128 | this.dialogVisible = false |
| 129 | 129 | this.$emit('success') |
| 130 | 130 | } | ... | ... |
src/components/role/AddPrivilegeGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="isEdit ? $t('role.editRole') : $t('role.addRole')" :visible.sync="visible" width="40%" |
| 3 | 3 | @close="resetForm"> |
| 4 | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| ... | ... | @@ -74,7 +74,7 @@ export default { |
| 74 | 74 | await savePrivilegeGroup(this.form) |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | - this.$message.success(this.$t('role.addSuccess')) | |
| 77 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 78 | 78 | this.visible = false |
| 79 | 79 | this.$emit('success') |
| 80 | 80 | } catch (error) { | ... | ... |
src/components/role/AddRoleCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('role.community')" :visible.sync="visible" width="70%" @close="resetForm"> |
| 3 | 3 | <div class="text-right"> |
| 4 | 4 | <el-input v-model="searchForm.communityName" :placeholder="$t('role.communityName')" |
| ... | ... | @@ -91,7 +91,7 @@ export default { |
| 91 | 91 | communities |
| 92 | 92 | }) |
| 93 | 93 | |
| 94 | - this.$message.success(this.$t('role.saveSuccess')) | |
| 94 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 95 | 95 | this.$emit('success') |
| 96 | 96 | this.visible = false |
| 97 | 97 | } catch (error) { | ... | ... |
src/components/role/AddRoleStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('role.staff')" :visible.sync="visible" width="70%" @close="resetForm"> |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -94,7 +94,7 @@ export default { |
| 94 | 94 | staffs |
| 95 | 95 | }) |
| 96 | 96 | |
| 97 | - this.$message.success(this.$t('role.saveSuccess')) | |
| 97 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 98 | 98 | this.$emit('success') |
| 99 | 99 | this.visible = false |
| 100 | 100 | } catch (error) { | ... | ... |
src/components/role/DeletePrivilegeGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('role.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -31,7 +31,7 @@ |
| 31 | 31 | async confirmDelete() { |
| 32 | 32 | try { |
| 33 | 33 | await deletePrivilegeGroup({ pgId: this.pgId }) |
| 34 | - this.$message.success(this.$t('role.deleteSuccess')) | |
| 34 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 35 | 35 | this.$emit('success') |
| 36 | 36 | this.visible = false |
| 37 | 37 | } catch (error) { | ... | ... |
src/components/role/DeleteRoleCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('role.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -37,7 +37,7 @@ export default { |
| 37 | 37 | roleId: this.community.roleId, |
| 38 | 38 | communityId: this.community.communityId |
| 39 | 39 | }) |
| 40 | - this.$message.success(this.$t('role.deleteSuccess')) | |
| 40 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | this.visible = false |
| 43 | 43 | } catch (error) { | ... | ... |
src/components/role/DeleteRoleStaff.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('role.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ |
| 38 | 38 | staffId: this.staff.userId, |
| 39 | 39 | userId:this.staff.userId |
| 40 | 40 | }) |
| 41 | - this.$message.success(this.$t('role.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | this.visible = false |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/role/EditPrivilegeGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('role.edit')" :visible.sync="visible" width="40%" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('role.name')" prop="name"> |
| ... | ... | @@ -55,7 +55,7 @@ export default { |
| 55 | 55 | if (valid) { |
| 56 | 56 | try { |
| 57 | 57 | await updatePrivilegeGroup(this.form) |
| 58 | - this.$message.success(this.$t('role.updateSuccess')) | |
| 58 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | this.visible = false |
| 61 | 61 | } catch (error) { | ... | ... |
src/components/room/addFloor.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('room.addFloor.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -120,7 +120,7 @@ export default { |
| 120 | 120 | const response = await addFloor(this.form) |
| 121 | 121 | |
| 122 | 122 | if (response.code == 0) { |
| 123 | - this.$message.success(this.$t('room.addFloor.saveSuccess')) | |
| 123 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 124 | 124 | this.handleClose() |
| 125 | 125 | this.$emit('handleRefreshTree', {}) |
| 126 | 126 | } else { | ... | ... |
src/components/room/addPropertyRightRegistration.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('propertyRightRegistration.add.title')" :visible.sync="visible" width="70%" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="formData" label-width="120px"> |
| ... | ... | @@ -282,7 +282,7 @@ export default { |
| 282 | 282 | } |
| 283 | 283 | |
| 284 | 284 | await savePropertyRightRegistration(params) |
| 285 | - this.$message.success(this.$t('propertyRightRegistration.add.success')) | |
| 285 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 286 | 286 | this.visible = false |
| 287 | 287 | this.$emit('success') |
| 288 | 288 | } catch (error) { | ... | ... |
src/components/room/addShops.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('shops.addShop')" :visible.sync="dialogVisible" width="40%"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('shops.shopNumber')" prop="roomNum"> |
| ... | ... | @@ -123,7 +123,7 @@ export default { |
| 123 | 123 | saveShops(this.formData) |
| 124 | 124 | .then(res => { |
| 125 | 125 | if (res.code == 0) { |
| 126 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 126 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 127 | 127 | this.dialogVisible = false |
| 128 | 128 | this.$emit('success') |
| 129 | 129 | } else { | ... | ... |
src/components/room/addUnit.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addUnit.title')" :visible.sync="visible" width="50%" :before-close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="addUnitInfo" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('addUnit.unitNum')" prop="unitNum" required> |
| ... | ... | @@ -99,7 +99,7 @@ export default { |
| 99 | 99 | |
| 100 | 100 | try { |
| 101 | 101 | await saveUnit(this.addUnitInfo) |
| 102 | - this.$message.success(this.$t('addUnit.successMessage')) | |
| 102 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 103 | 103 | this.$emit('handleRefreshTree', {}) |
| 104 | 104 | |
| 105 | 105 | this.handleClose() | ... | ... |
src/components/room/bindOwnerShops.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="formTitle" :visible.sync="dialogVisible" width="50%"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('shops.shopNumber')"> |
| ... | ... | @@ -157,7 +157,7 @@ export default { |
| 157 | 157 | saveOwnerShops(this.formData) |
| 158 | 158 | .then(res => { |
| 159 | 159 | if (res.code == 0) { |
| 160 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 160 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 161 | 161 | this.dialogVisible = false |
| 162 | 162 | this.$emit('success') |
| 163 | 163 | } else { | ... | ... |
src/components/room/deleteFloor.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('room.deleteFloor.title')" :visible.sync="visible" width="30%" :before-close="handleClose"> |
| 3 | 3 | <p>{{ $t('room.deleteFloor.confirmMessage') }}</p> |
| 4 | 4 | <span slot="footer" class="dialog-footer"> |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | const response = await deleteFloor(this.floorInfo) |
| 39 | 39 | |
| 40 | 40 | if (response.code == 0) { |
| 41 | - this.$message.success(this.$t('room.deleteFloor.deleteSuccess')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.handleClose() |
| 43 | 43 | this.$emit('handleRefreshTree', {}) |
| 44 | 44 | ... | ... |
src/components/room/deletePropertyRightRegistration.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('propertyRightRegistration.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | try { |
| 45 | 45 | const res = await deletePropertyRightRegistration(this.deleteData) |
| 46 | 46 | if (res.code === 0) { |
| 47 | - this.$message.success(this.$t('propertyRightRegistration.delete.success')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.visible = false |
| 49 | 49 | this.$emit('success') |
| 50 | 50 | } else { | ... | ... |
src/components/room/deleteRoom.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('room.deleteRoom.title')" :visible.sync="dialogVisible" width="30%"> |
| 3 | 3 | <div style="text-align: center"> |
| 4 | 4 | <p>{{ $t('room.deleteRoom.confirmMessage') }}</p> |
| ... | ... | @@ -39,7 +39,7 @@ export default { |
| 39 | 39 | this.dialogVisible = false |
| 40 | 40 | this.$emit('handleRefreshRoom') |
| 41 | 41 | |
| 42 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 42 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 43 | 43 | } catch (error) { |
| 44 | 44 | console.error('删除房屋失败', error) |
| 45 | 45 | this.$message.error(error.message || this.$t('common.deleteFailed')) | ... | ... |
src/components/room/deleteUnit.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteUnit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | |
| 48 | 48 | try { |
| 49 | 49 | await deleteUnit(param) |
| 50 | - this.$message.success(this.$t('deleteUnit.successMessage')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | this.$emit('handleRefreshTree', {}) |
| 52 | 52 | |
| 53 | 53 | this.handleClose() | ... | ... |
src/components/room/editFloor.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('room.editFloor.title')" :visible.sync="visible" width="50%" :before-close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('room.editFloor.floorNum')" prop="floorNum"> |
| ... | ... | @@ -112,7 +112,7 @@ export default { |
| 112 | 112 | const response = await editFloor(payload) |
| 113 | 113 | |
| 114 | 114 | if (response.code == 0) { |
| 115 | - this.$message.success(this.$t('room.editFloor.updateSuccess')) | |
| 115 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 116 | 116 | this.handleClose() |
| 117 | 117 | this.$emit('handleRefreshTree', {}) |
| 118 | 118 | ... | ... |
src/components/room/editPropertyRightRegistration.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('propertyRightRegistration.edit.title')" :visible.sync="visible" width="70%" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="formData" label-width="120px"> |
| ... | ... | @@ -196,7 +196,7 @@ export default { |
| 196 | 196 | |
| 197 | 197 | const res = await updatePropertyRightRegistration(params) |
| 198 | 198 | if (res.code === 0) { |
| 199 | - this.$message.success(this.$t('propertyRightRegistration.edit.success')) | |
| 199 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 200 | 200 | this.visible = false |
| 201 | 201 | this.$emit('success') |
| 202 | 202 | } else { | ... | ... |
src/components/room/editPropertyRightRegistrationDetail.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('propertyRightDetail.edit.title')" :visible.sync="visible" width="70%" |
| 3 | 3 | :before-close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="editPropertyRightRegistrationDetailInfo" label-width="120px"> |
| ... | ... | @@ -171,7 +171,7 @@ export default { |
| 171 | 171 | |
| 172 | 172 | updatePropertyRightRegistrationDetail(params) |
| 173 | 173 | .then(() => { |
| 174 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 174 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 175 | 175 | this.$emit('success') |
| 176 | 176 | this.handleClose() |
| 177 | 177 | }) | ... | ... |
src/components/room/editShops.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('shops.edit') + $t('shops.shopInfo')" :visible.sync="dialogVisible" width="50%"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('shops.shopId')"> |
| ... | ... | @@ -177,7 +177,7 @@ export default { |
| 177 | 177 | updateShops(this.formData) |
| 178 | 178 | .then(res => { |
| 179 | 179 | if (res.code == 0) { |
| 180 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 180 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 181 | 181 | this.dialogVisible = false |
| 182 | 182 | this.$emit('success') |
| 183 | 183 | } else { | ... | ... |
src/components/room/editUnit.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('editUnit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -109,7 +109,7 @@ export default { |
| 109 | 109 | |
| 110 | 110 | try { |
| 111 | 111 | await updateUnit(this.editUnitInfo) |
| 112 | - this.$message.success(this.$t('editUnit.successMessage')) | |
| 112 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 113 | 113 | this.$emit('handleRefreshTree', {}) |
| 114 | 114 | |
| 115 | 115 | this.handleClose() | ... | ... |
src/components/room/examinePropertyRightRegistration.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('propertyRightRegistration.examine.title')" :visible.sync="visible" width="50%" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="formData" label-width="120px"> |
| ... | ... | @@ -102,7 +102,7 @@ export default { |
| 102 | 102 | |
| 103 | 103 | const res = await updatePropertyRightRegistration(params) |
| 104 | 104 | if (res.code === 0) { |
| 105 | - this.$message.success(this.$t('propertyRightRegistration.examine.success')) | |
| 105 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 106 | 106 | this.visible = false |
| 107 | 107 | this.$emit('success') |
| 108 | 108 | } else { | ... | ... |
src/components/scm/AddCouponRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponRule.addRule')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -66,7 +66,7 @@ export default { |
| 66 | 66 | if (valid) { |
| 67 | 67 | try { |
| 68 | 68 | await saveCouponRule(this.form) |
| 69 | - this.$message.success(this.$t('common.addSuccess')) | |
| 69 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 70 | 70 | this.visible = false |
| 71 | 71 | this.$emit('success') |
| 72 | 72 | } catch (error) { | ... | ... |
src/components/scm/AddCouponRuleCpps.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponRuleCpps.addCoupon')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -129,7 +129,7 @@ export default { |
| 129 | 129 | if (valid) { |
| 130 | 130 | try { |
| 131 | 131 | await saveCouponRuleCpps(this.form) |
| 132 | - this.$message.success(this.$t('common.addSuccess')) | |
| 132 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 133 | 133 | this.visible = false |
| 134 | 134 | this.$emit('success') |
| 135 | 135 | } catch (error) { | ... | ... |
src/components/scm/AddCouponRuleFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('couponRuleFee.addFee')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('couponRuleFee.fee')" prop="feeConfigId"> |
| ... | ... | @@ -105,7 +105,7 @@ export default { |
| 105 | 105 | if (valid) { |
| 106 | 106 | try { |
| 107 | 107 | await saveCouponRuleFee(this.form) |
| 108 | - this.$message.success(this.$t('common.addSuccess')) | |
| 108 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 109 | 109 | this.visible = false |
| 110 | 110 | this.$emit('success') |
| 111 | 111 | } catch (error) { | ... | ... |
src/components/scm/AddSupplier.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('supplierManage.add')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('supplierManage.supplierType')" prop="stId"> |
| ... | ... | @@ -129,7 +129,7 @@ export default { |
| 129 | 129 | try { |
| 130 | 130 | const res = await saveSupplier(this.form) |
| 131 | 131 | if (res.code === 0) { |
| 132 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 132 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 133 | 133 | this.visible = false |
| 134 | 134 | this.$emit('success') |
| 135 | 135 | } else { | ... | ... |
src/components/scm/AddSupplierType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('supplierTypeManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -65,7 +65,7 @@ export default { |
| 65 | 65 | if (valid) { |
| 66 | 66 | try { |
| 67 | 67 | await saveSupplierType(this.form) |
| 68 | - this.$message.success(this.$t('supplierTypeManage.message.addSuccess')) | |
| 68 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 69 | 69 | this.visible = false |
| 70 | 70 | this.$emit('success') |
| 71 | 71 | } catch (error) { | ... | ... |
src/components/scm/ConfigSupplier.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('supplierManage.config')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -63,7 +63,7 @@ export default { |
| 63 | 63 | try { |
| 64 | 64 | const res = await saveSupplierConfig(this.form) |
| 65 | 65 | if (res.code === 0) { |
| 66 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 66 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 67 | 67 | this.visible = false |
| 68 | 68 | } else { |
| 69 | 69 | this.$message.error(res.msg || this.$t('common.saveFailed')) | ... | ... |
src/components/scm/DeleteCouponRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponRule.deleteConfirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | async handleConfirm() { |
| 44 | 44 | try { |
| 45 | 45 | await deleteCouponRule(this.currentRule) |
| 46 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.visible = false |
| 48 | 48 | this.$emit('success') |
| 49 | 49 | } catch (error) { | ... | ... |
src/components/scm/DeleteCouponRuleCpps.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponRuleCpps.deleteConfirm')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | crcId: this.currentItem.crcId, |
| 47 | 47 | communityId: this.currentItem.communityId |
| 48 | 48 | }) |
| 49 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.visible = false |
| 51 | 51 | this.$emit('success') |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/scm/DeleteCouponRuleFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('couponRuleFee.deleteConfirm')" :visible.sync="visible" width="30%" center @close="handleClose"> |
| 3 | 3 | <div class="text-center"> |
| 4 | 4 | <p>{{ $t('couponRuleFee.deletePrompt') }}</p> |
| ... | ... | @@ -57,7 +57,7 @@ export default { |
| 57 | 57 | crfId: this.currentItem.crfId, |
| 58 | 58 | communityId: this.currentItem.communityId |
| 59 | 59 | }) |
| 60 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 60 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 61 | 61 | this.visible = false |
| 62 | 62 | this.$emit('success') |
| 63 | 63 | } catch (error) { | ... | ... |
src/components/scm/DeleteSupplier.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('supplierManage.confirmDelete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -36,7 +36,7 @@ export default { |
| 36 | 36 | try { |
| 37 | 37 | const res = await deleteSupplier(this.supplier.supplierId) |
| 38 | 38 | if (res.code === 0) { |
| 39 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 39 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 40 | 40 | this.visible = false |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | } else { | ... | ... |
src/components/scm/DeleteSupplierType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('supplierTypeManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -35,7 +35,7 @@ export default { |
| 35 | 35 | async handleConfirm() { |
| 36 | 36 | try { |
| 37 | 37 | await deleteSupplierType(this.stId) |
| 38 | - this.$message.success(this.$t('supplierTypeManage.message.deleteSuccess')) | |
| 38 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 39 | 39 | this.visible = false |
| 40 | 40 | this.$emit('success') |
| 41 | 41 | } catch (error) { | ... | ... |
src/components/scm/EditCouponRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponRule.editRule')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -72,7 +72,7 @@ export default { |
| 72 | 72 | if (valid) { |
| 73 | 73 | try { |
| 74 | 74 | await updateCouponRule(this.form) |
| 75 | - this.$message.success(this.$t('common.editSuccess')) | |
| 75 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 76 | 76 | this.visible = false |
| 77 | 77 | this.$emit('success') |
| 78 | 78 | } catch (error) { | ... | ... |
src/components/scm/EditCouponRuleCpps.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponRuleCpps.editCoupon')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -128,7 +128,7 @@ export default { |
| 128 | 128 | if (valid) { |
| 129 | 129 | try { |
| 130 | 130 | await updateCouponRuleCpps(this.form) |
| 131 | - this.$message.success(this.$t('common.editSuccess')) | |
| 131 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 132 | 132 | this.visible = false |
| 133 | 133 | this.$emit('success') |
| 134 | 134 | } catch (error) { | ... | ... |
src/components/scm/EditSupplier.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('supplierManage.edit')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('supplierManage.supplierType')" prop="stId"> |
| ... | ... | @@ -131,7 +131,7 @@ export default { |
| 131 | 131 | try { |
| 132 | 132 | const res = await updateSupplier(this.form) |
| 133 | 133 | if (res.code === 0) { |
| 134 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 134 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 135 | 135 | this.visible = false |
| 136 | 136 | this.$emit('success') |
| 137 | 137 | } else { | ... | ... |
src/components/scm/EditSupplierType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('supplierTypeManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -70,7 +70,7 @@ export default { |
| 70 | 70 | if (valid) { |
| 71 | 71 | try { |
| 72 | 72 | await updateSupplierType(this.form) |
| 73 | - this.$message.success(this.$t('supplierTypeManage.message.editSuccess')) | |
| 73 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 74 | 74 | this.visible = false |
| 75 | 75 | this.$emit('success') |
| 76 | 76 | } catch (error) { | ... | ... |
src/components/scm/addCouponPropertyPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponPropertyPoolManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -162,7 +162,7 @@ export default { |
| 162 | 162 | if (valid) { |
| 163 | 163 | try { |
| 164 | 164 | await saveCouponPropertyPool(this.formData) |
| 165 | - this.$message.success(this.$t('couponPropertyPoolManage.add.success')) | |
| 165 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 166 | 166 | this.visible = false |
| 167 | 167 | this.$emit('success') |
| 168 | 168 | } catch (error) { | ... | ... |
src/components/scm/addIntegralConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('integralConfigManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -170,7 +170,7 @@ export default { |
| 170 | 170 | if (valid) { |
| 171 | 171 | try { |
| 172 | 172 | await saveIntegralConfig(this.formData) |
| 173 | - this.$message.success(this.$t('integralConfigManage.message.addSuccess')) | |
| 173 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 174 | 174 | this.visible = false |
| 175 | 175 | this.$emit('success') |
| 176 | 176 | } catch (error) { | ... | ... |
src/components/scm/addIntegralRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('integralRule.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -71,7 +71,7 @@ export default { |
| 71 | 71 | communityId: this.communityId |
| 72 | 72 | } |
| 73 | 73 | await saveIntegralRule(params) |
| 74 | - this.$message.success(this.$t('common.addSuccess')) | |
| 74 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 75 | 75 | this.visible = false |
| 76 | 76 | this.$emit('success') |
| 77 | 77 | } catch (error) { | ... | ... |
src/components/scm/addIntegralRuleConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('integralRule.addConfigTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | 93 | |
| 94 | 94 | try { |
| 95 | 95 | await saveIntegralRuleConfig(this.form) |
| 96 | - this.$message.success(this.$t('common.addSuccess')) | |
| 96 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 97 | 97 | this.visible = false |
| 98 | 98 | this.$emit('success') |
| 99 | 99 | } catch (error) { | ... | ... |
src/components/scm/addIntegralRuleFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('integralRule.addFeeTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -101,7 +101,7 @@ export default { |
| 101 | 101 | communityId: this.communityId |
| 102 | 102 | } |
| 103 | 103 | await saveIntegralRuleFee(params) |
| 104 | - this.$message.success(this.$t('common.addSuccess')) | |
| 104 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 105 | 105 | this.visible = false |
| 106 | 106 | this.$emit('success') |
| 107 | 107 | } catch (error) { | ... | ... |
src/components/scm/addReserveCatalog.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('reserveCatalogManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -129,7 +129,7 @@ export default { |
| 129 | 129 | if (valid) { |
| 130 | 130 | try { |
| 131 | 131 | await saveReserveCatalog(this.formData) |
| 132 | - this.$message.success(this.$t('reserveCatalogManage.add.success')) | |
| 132 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 133 | 133 | this.visible = false |
| 134 | 134 | this.$emit('success') |
| 135 | 135 | } catch (error) { | ... | ... |
src/components/scm/addReserveDiningPerson.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addReserveDiningPerson.reserveDining')" :visible.sync="visible" width="70%" |
| 3 | 3 | @close="closeDialog"> |
| 4 | 4 | <el-form :model="form" label-width="120px" ref="form"> |
| ... | ... | @@ -167,7 +167,7 @@ export default { |
| 167 | 167 | saveReserveGoodsOrder(this.form) |
| 168 | 168 | .then(response => { |
| 169 | 169 | if (response.code === 0) { |
| 170 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 170 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 171 | 171 | this.closeDialog() |
| 172 | 172 | this.$emit('success') |
| 173 | 173 | } else { | ... | ... |
src/components/scm/addReserveParams.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('reserveParamsManage.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -198,7 +198,7 @@ export default { |
| 198 | 198 | : this.formData.workdays.join(',') |
| 199 | 199 | } |
| 200 | 200 | await saveReserveParams(params) |
| 201 | - this.$message.success(this.$t('common.addSuccess')) | |
| 201 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 202 | 202 | this.visible = false |
| 203 | 203 | this.$emit('success') |
| 204 | 204 | } catch (error) { | ... | ... |
src/components/scm/addReserveServicePerson.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addReserveServicePerson.reserveService')" :visible.sync="dialogVisible" width="70%" |
| 3 | 3 | @close="handleClose"> |
| 4 | 4 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| ... | ... | @@ -210,7 +210,7 @@ export default { |
| 210 | 210 | }] |
| 211 | 211 | |
| 212 | 212 | await saveReserveGoodsOrder(this.form) |
| 213 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 213 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 214 | 214 | this.dialogVisible = false |
| 215 | 215 | this.$emit('success') |
| 216 | 216 | } catch (error) { | ... | ... |
src/components/scm/addSupplierCoupon.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('supplierCoupon.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -104,7 +104,7 @@ export default { |
| 104 | 104 | if (valid) { |
| 105 | 105 | try { |
| 106 | 106 | await addSupplierCoupon(this.form) |
| 107 | - this.$message.success(this.$t('supplierCoupon.addSuccess')) | |
| 107 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 108 | 108 | this.visible = false |
| 109 | 109 | this.$emit('success') |
| 110 | 110 | } catch (error) { | ... | ... |
src/components/scm/deleteApplyWithholdGold.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteApplyWithholdGold.confirmTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -45,7 +45,7 @@ export default { |
| 45 | 45 | communityId: this.currentData.communityId |
| 46 | 46 | }) |
| 47 | 47 | this.$emit('success') |
| 48 | - this.$message.success(this.$t('deleteApplyWithholdGold.deleteSuccess')) | |
| 48 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 49 | 49 | this.visible = false |
| 50 | 50 | } catch (error) { |
| 51 | 51 | console.error('Delete failed:', error) | ... | ... |
src/components/scm/deleteApplyWithholdIntegral.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteApplyWithholdIntegral.confirmTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -48,7 +48,7 @@ export default { |
| 48 | 48 | } |
| 49 | 49 | await deleteIntegralWithdrawal(params) |
| 50 | 50 | this.$emit('success') |
| 51 | - this.$message.success(this.$t('deleteApplyWithholdIntegral.deleteSuccess')) | |
| 51 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 52 | 52 | this.close() |
| 53 | 53 | } catch (error) { |
| 54 | 54 | console.error('Failed to delete integral withdrawal:', error) | ... | ... |
src/components/scm/deleteCouponPropertyPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponPropertyPoolManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -49,7 +49,7 @@ export default { |
| 49 | 49 | async handleConfirm() { |
| 50 | 50 | try { |
| 51 | 51 | await deleteCouponPropertyPool(this.formData) |
| 52 | - this.$message.success(this.$t('couponPropertyPoolManage.delete.success')) | |
| 52 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 53 | 53 | this.visible = false |
| 54 | 54 | this.$emit('success') |
| 55 | 55 | } catch (error) { | ... | ... |
src/components/scm/deleteCouponPropertyPoolDetail.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponPropertyPoolDetail.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -38,7 +38,7 @@ export default { |
| 38 | 38 | async handleConfirm() { |
| 39 | 39 | try { |
| 40 | 40 | await deleteCouponPropertyPoolDetail(this.currentRow) |
| 41 | - this.$message.success(this.$t('couponPropertyPoolDetail.delete.success')) | |
| 41 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 42 | 42 | this.$emit('success') |
| 43 | 43 | this.handleClose() |
| 44 | 44 | } catch (error) { | ... | ... |
src/components/scm/deleteIntegralConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('integralConfigManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -59,7 +59,7 @@ export default { |
| 59 | 59 | try { |
| 60 | 60 | this.loading = true |
| 61 | 61 | await deleteIntegralConfig(this.deleteData) |
| 62 | - this.$message.success(this.$t('integralConfigManage.message.deleteSuccess')) | |
| 62 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 63 | 63 | this.visible = false |
| 64 | 64 | this.$emit('success') |
| 65 | 65 | } catch (error) { | ... | ... |
src/components/scm/deleteIntegralRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirmTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -40,7 +40,7 @@ export default { |
| 40 | 40 | ruleId: this.ruleId, |
| 41 | 41 | communityId: this.communityId |
| 42 | 42 | }) |
| 43 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 43 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 44 | 44 | this.visible = false |
| 45 | 45 | this.$emit('success') |
| 46 | 46 | } catch (error) { | ... | ... |
src/components/scm/deleteIntegralRuleConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirmTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | configId: this.configId, |
| 43 | 43 | ruleId: this.ruleId |
| 44 | 44 | }) |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 45 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 46 | 46 | this.visible = false |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | } catch (error) { | ... | ... |
src/components/scm/deleteIntegralRuleFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirmTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | ruleId: this.ruleId, |
| 47 | 47 | communityId: this.communityId |
| 48 | 48 | }) |
| 49 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.visible = false |
| 51 | 51 | this.$emit('success') |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/scm/deleteReserveCatalog.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('reserveCatalogManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -61,7 +61,7 @@ export default { |
| 61 | 61 | catalogId: this.formData.catalogId, |
| 62 | 62 | communityId: this.formData.communityId |
| 63 | 63 | }) |
| 64 | - this.$message.success(this.$t('reserveCatalogManage.delete.success')) | |
| 64 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 65 | 65 | this.visible = false |
| 66 | 66 | this.$emit('success') |
| 67 | 67 | } catch (error) { | ... | ... |
src/components/scm/deleteReserveDining.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | deleteReserveGoods(this.form) |
| 48 | 48 | .then(response => { |
| 49 | 49 | if (response.code === 0) { |
| 50 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | this.closeDialog() |
| 52 | 52 | this.$emit('success') |
| 53 | 53 | } else { | ... | ... |
src/components/scm/deleteReserveOrderPerson.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('reserveOrder.cancelAppointment')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | try { |
| 44 | 44 | this.loading = true |
| 45 | 45 | await cancelReserveOrder({ orderId: this.currentRow.orderId }) |
| 46 | - this.$message.success(this.$t('reserveOrder.cancelSuccess')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | this.visible = false |
| 49 | 49 | } catch (error) { | ... | ... |
src/components/scm/deleteReserveParams.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('reserveParamsManage.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | try { |
| 55 | 55 | this.loading = true |
| 56 | 56 | await deleteReserveParams(this.currentRow) |
| 57 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.visible = false |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/scm/deleteSupplierCoupon.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('supplierCoupon.deleteTitle')" :visible.sync="visible" width="30%"> |
| 3 | 3 | <p>{{ $t('supplierCoupon.deleteConfirm') }}</p> |
| 4 | 4 | <div slot="footer" class="dialog-footer"> |
| ... | ... | @@ -33,7 +33,7 @@ export default { |
| 33 | 33 | async confirmDelete() { |
| 34 | 34 | try { |
| 35 | 35 | await deleteSupplierCoupon({ couponId: this.couponId,supplierId:this.supplierId }) |
| 36 | - this.$message.success(this.$t('supplierCoupon.deleteSuccess')) | |
| 36 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 37 | 37 | this.visible = false |
| 38 | 38 | this.$emit('success') |
| 39 | 39 | } catch (error) { | ... | ... |
src/components/scm/editCouponPropertyPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponPropertyPoolManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -174,7 +174,7 @@ export default { |
| 174 | 174 | if (valid) { |
| 175 | 175 | try { |
| 176 | 176 | await updateCouponPropertyPool(this.formData) |
| 177 | - this.$message.success(this.$t('couponPropertyPoolManage.edit.success')) | |
| 177 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 178 | 178 | this.visible = false |
| 179 | 179 | this.$emit('success') |
| 180 | 180 | } catch (error) { | ... | ... |
src/components/scm/editIntegralConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('integralConfigManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -173,7 +173,7 @@ export default { |
| 173 | 173 | if (valid) { |
| 174 | 174 | try { |
| 175 | 175 | await updateIntegralConfig(this.formData) |
| 176 | - this.$message.success(this.$t('integralConfigManage.message.editSuccess')) | |
| 176 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 177 | 177 | this.visible = false |
| 178 | 178 | this.$emit('success') |
| 179 | 179 | } catch (error) { | ... | ... |
src/components/scm/editIntegralRule.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('integralRule.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -80,7 +80,7 @@ export default { |
| 80 | 80 | communityId: this.communityId |
| 81 | 81 | } |
| 82 | 82 | await updateIntegralRule(params) |
| 83 | - this.$message.success(this.$t('common.editSuccess')) | |
| 83 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 84 | 84 | this.visible = false |
| 85 | 85 | this.$emit('success') |
| 86 | 86 | } catch (error) { | ... | ... |
src/components/scm/editIntegralRuleFee.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('integralRule.editFeeTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -110,7 +110,7 @@ export default { |
| 110 | 110 | communityId: this.communityId |
| 111 | 111 | } |
| 112 | 112 | await updateIntegralRuleFee(params) |
| 113 | - this.$message.success(this.$t('common.editSuccess')) | |
| 113 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 114 | 114 | this.visible = false |
| 115 | 115 | this.$emit('success') |
| 116 | 116 | } catch (error) { | ... | ... |
src/components/scm/editReserveCatalog.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('reserveCatalogManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -133,7 +133,7 @@ export default { |
| 133 | 133 | if (valid) { |
| 134 | 134 | try { |
| 135 | 135 | await updateReserveCatalog(this.formData) |
| 136 | - this.$message.success(this.$t('reserveCatalogManage.edit.success')) | |
| 136 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 137 | 137 | this.visible = false |
| 138 | 138 | this.$emit('success') |
| 139 | 139 | } catch (error) { | ... | ... |
src/components/scm/editReserveParams.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('reserveParamsManage.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -205,7 +205,7 @@ export default { |
| 205 | 205 | : this.formData.workdays.join(',') |
| 206 | 206 | } |
| 207 | 207 | await updateReserveParams(params) |
| 208 | - this.$message.success(this.$t('common.editSuccess')) | |
| 208 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 209 | 209 | this.visible = false |
| 210 | 210 | this.$emit('success') |
| 211 | 211 | } catch (error) { | ... | ... |
src/components/scm/editReserveParamsOpenTime.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('reserveParamsManage.setTimeTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -66,7 +66,7 @@ export default { |
| 66 | 66 | async handleStatusChange(item) { |
| 67 | 67 | try { |
| 68 | 68 | await updateReserveParamsOpenTime(item) |
| 69 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 69 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 70 | 70 | this.$emit('success') |
| 71 | 71 | } catch (error) { |
| 72 | 72 | this.$message.error(error.message || this.$t('common.updateFailed')) | ... | ... |
src/components/scm/editSupplierCoupon.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('supplierCoupon.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -101,7 +101,7 @@ export default { |
| 101 | 101 | if (valid) { |
| 102 | 102 | try { |
| 103 | 103 | await updateSupplierCoupon(this.form) |
| 104 | - this.$message.success(this.$t('supplierCoupon.updateSuccess')) | |
| 104 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 105 | 105 | this.visible = false |
| 106 | 106 | this.$emit('success') |
| 107 | 107 | } catch (error) { | ... | ... |
src/components/scm/giftCouponPropertyPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('couponPropertyPoolManage.gift.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -95,7 +95,7 @@ export default { |
| 95 | 95 | if (valid) { |
| 96 | 96 | try { |
| 97 | 97 | await giftCouponProperty(this.formData) |
| 98 | - this.$message.success(this.$t('couponPropertyPoolManage.gift.success')) | |
| 98 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 99 | 99 | this.visible = false |
| 100 | 100 | this.$emit('success') |
| 101 | 101 | } catch (error) { | ... | ... |
src/components/scm/integralRuleConfig.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="integral-rule-config"> |
| 3 | 3 | <el-row class="operation-bar"> |
| 4 | 4 | <el-col :span="24" class="text-right"> |
| ... | ... | @@ -97,7 +97,7 @@ export default { |
| 97 | 97 | ruleId: this.ruleId, |
| 98 | 98 | ircId: row.ircId |
| 99 | 99 | }) |
| 100 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 100 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 101 | 101 | this.handleQuery() |
| 102 | 102 | } catch (error) { |
| 103 | 103 | if (error !== 'cancel') { | ... | ... |
src/components/scm/integralRuleFees.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="integral-rule-fees"> |
| 3 | 3 | <el-row class="operation-bar"> |
| 4 | 4 | <el-col :span="24" class="text-right"> |
| ... | ... | @@ -107,7 +107,7 @@ export default { |
| 107 | 107 | irfId: row.irfId, |
| 108 | 108 | ruleId: this.ruleId |
| 109 | 109 | }) |
| 110 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 110 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 111 | 111 | this.handleQuery() |
| 112 | 112 | } catch (error) { |
| 113 | 113 | if (error !== 'cancel') { | ... | ... |
src/components/scm/withholdGold.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('withholdGold.applyWithdraw')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -147,7 +147,7 @@ export default { |
| 147 | 147 | this.loading = true |
| 148 | 148 | await applyGoldWithHold(this.form) |
| 149 | 149 | this.$emit('success') |
| 150 | - this.$message.success(this.$t('withholdGold.submitSuccess')) | |
| 150 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 151 | 151 | this.visible = false |
| 152 | 152 | } catch (error) { |
| 153 | 153 | console.error('Submit failed:', error) | ... | ... |
src/components/scm/withholdIntegral.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('withholdIntegral.applyWithdraw')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -164,7 +164,7 @@ export default { |
| 164 | 164 | this.loading = true |
| 165 | 165 | await applyIntegralWithdrawal(this.formData) |
| 166 | 166 | this.$emit('success') |
| 167 | - this.$message.success(this.$t('withholdIntegral.applySuccess')) | |
| 167 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 168 | 168 | this.close() |
| 169 | 169 | }) |
| 170 | 170 | } catch (error) { | ... | ... |
src/components/simplify/simplifyOwnerCar.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <div class="flex justify-between"> |
| 4 | 4 | <div></div> |
| ... | ... | @@ -144,7 +144,7 @@ export default { |
| 144 | 144 | }, |
| 145 | 145 | _deleteCarParkingSpace(car) { |
| 146 | 146 | deleteCarParkingSpace(car).then(() => { |
| 147 | - this.$message.success(this.$t('simplifyOwnerCar.releaseSuccess')) | |
| 147 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 148 | 148 | this.listSimplifyOwnerCar(this.currentPage, this.pageSize) |
| 149 | 149 | }).catch(err => { |
| 150 | 150 | this.$message.error(err) | ... | ... |
src/components/staff/AOwnerDetailAppUser.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="owner-detail-app-user-container"> |
| 3 | 3 | <el-table :data="appUsers" border style="width: 100%"> |
| 4 | 4 | <el-table-column prop="communityName" :label="$t('ownerDetailAppUser.communityName')" align="center"></el-table-column> |
| ... | ... | @@ -105,7 +105,7 @@ export default { |
| 105 | 105 | } |
| 106 | 106 | const res = await updateAppUserBindingOwner(data) |
| 107 | 107 | if (res.code === 0) { |
| 108 | - this.$message.success(this.$t('common.handleSuccess')) | |
| 108 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 109 | 109 | this.loadData() |
| 110 | 110 | } else { |
| 111 | 111 | this.$message.error(res.msg || this.$t('common.handleFailed')) | ... | ... |
src/components/staff/DeleteAppUserBindingOwner.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteAppUserBindingOwner.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -37,7 +37,7 @@ export default { |
| 37 | 37 | try { |
| 38 | 38 | const res = await deleteAppUserBindingOwner(this.currentData) |
| 39 | 39 | if (res.code === 0) { |
| 40 | - this.$message.success(this.$t('common.handleSuccess')) | |
| 40 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | this.visible = false |
| 43 | 43 | } else { | ... | ... |
src/components/staff/DeleteSystemUser.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.delete')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -36,7 +36,7 @@ export default { |
| 36 | 36 | async deleteSystemUser() { |
| 37 | 37 | try { |
| 38 | 38 | await deleteSystemUser({ staffId: this.currentUser.userId }) |
| 39 | - this.$message.success(this.$t('systemUser.delete.success')) | |
| 39 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 40 | 40 | this.$emit('success') |
| 41 | 41 | this.handleClose() |
| 42 | 42 | } catch (error) { | ... | ... |
src/components/staff/aStaffDetailCommunitys.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div > |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24" class="text-right"> |
| ... | ... | @@ -107,11 +107,11 @@ export default { |
| 107 | 107 | }, |
| 108 | 108 | handleAddCommunitySuccess() { |
| 109 | 109 | this.loadData() |
| 110 | - this.$message.success(this.$t('aStaffDetailList.addCommunitySuccess')) | |
| 110 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 111 | 111 | }, |
| 112 | 112 | handleDeleteCommunitySuccess() { |
| 113 | 113 | this.loadData() |
| 114 | - this.$message.success(this.$t('aStaffDetailList.deleteCommunitySuccess')) | |
| 114 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | } | ... | ... |
src/components/staff/addAStaffCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addAStaffCommunity.community')" :visible.sync="visible" width="60%" :before-close="handleClose"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <el-row> |
| ... | ... | @@ -125,7 +125,7 @@ export default { |
| 125 | 125 | staffId: this.staffId, |
| 126 | 126 | communitys: this.selectedCommunities |
| 127 | 127 | }) |
| 128 | - this.$message.success(this.$t('addAStaffCommunity.addSuccess')) | |
| 128 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 129 | 129 | this.handleClose() |
| 130 | 130 | this.$emit('success') |
| 131 | 131 | } catch (error) { | ... | ... |
src/components/staff/addStaffCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('staffCommunity.addCommunityTitle')" :visible.sync="visible" width="70%"> |
| 3 | 3 | |
| 4 | 4 | <el-row :gutter="20"> |
| ... | ... | @@ -97,7 +97,7 @@ export default { |
| 97 | 97 | })) |
| 98 | 98 | } |
| 99 | 99 | await saveStaffCommunity(params) |
| 100 | - this.$message.success(this.$t('staffCommunity.addSuccess')) | |
| 100 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 101 | 101 | this.$emit('success') |
| 102 | 102 | this.visible = false |
| 103 | 103 | } catch (error) { | ... | ... |
src/components/staff/deleteAStaffCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteAStaffCommunity.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -36,7 +36,7 @@ export default { |
| 36 | 36 | async deleteStaffCommunity() { |
| 37 | 37 | try { |
| 38 | 38 | await deleteStaffCommunity(this.community) |
| 39 | - this.$message.success(this.$t('deleteAStaffCommunity.deleteSuccess')) | |
| 39 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 40 | 40 | this.visible = false |
| 41 | 41 | this.$emit('success') |
| 42 | 42 | } catch (error) { | ... | ... |
src/components/staff/deleteStaff.vue
| 1 | -<!-- components/staff/deleteStaff.vue --> | |
| 1 | +<!-- components/staff/deleteStaff.vue --> | |
| 2 | 2 | <template> |
| 3 | 3 | <el-dialog |
| 4 | 4 | :title="$t('staff.confirmOperation')" |
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | await deleteStaff({ |
| 44 | 44 | userId: this.staffInfo.userId |
| 45 | 45 | }) |
| 46 | - this.$message.success(this.$t('staff.deleteSuccess')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | this.handleClose() |
| 49 | 49 | } catch (error) { | ... | ... |
src/components/staff/deleteStaffCommunity.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('staffCommunity.deleteConfirmTitle')" :visible.sync="visible" width="30%"> |
| 3 | 3 | |
| 4 | 4 | <div class="text-center"> |
| ... | ... | @@ -31,7 +31,7 @@ export default { |
| 31 | 31 | async confirmDelete() { |
| 32 | 32 | try { |
| 33 | 33 | await deleteStaffCommunity(this.currentData) |
| 34 | - this.$message.success(this.$t('staffCommunity.deleteSuccess')) | |
| 34 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 35 | 35 | this.$emit('success') |
| 36 | 36 | this.visible = false |
| 37 | 37 | } catch (error) { | ... | ... |
src/components/staff/editStaff.vue
| 1 | -<!-- components/staff/editStaff.vue --> | |
| 1 | +<!-- components/staff/editStaff.vue --> | |
| 2 | 2 | <template> |
| 3 | 3 | <el-dialog :title="$t('staff.modifyStaff')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 4 | 4 | <el-form ref="form" :model="editStaffInfo" label-width="120px"> |
| ... | ... | @@ -156,7 +156,7 @@ export default { |
| 156 | 156 | |
| 157 | 157 | await modifyStaff(data) |
| 158 | 158 | this.visible = false |
| 159 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 159 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 160 | 160 | this.$emit('success') |
| 161 | 161 | this.handleClose() |
| 162 | 162 | } catch (error) { | ... | ... |
src/components/store/AddPropertyCompany.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('propertyCompanyManage.add')" :visible="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('propertyCompanyManage.name')" prop="name" required> |
| ... | ... | @@ -106,7 +106,7 @@ export default { |
| 106 | 106 | async handleSubmit() { |
| 107 | 107 | try { |
| 108 | 108 | await saveProperty(this.formData) |
| 109 | - this.$message.success(this.$t('propertyCompanyManage.addSuccess')) | |
| 109 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 110 | 110 | this.$emit('success') |
| 111 | 111 | this.handleClose() |
| 112 | 112 | } catch (error) { | ... | ... |
src/components/store/AddStore.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('store.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('store.form.name')" prop="name"> |
| ... | ... | @@ -88,7 +88,7 @@ export default { |
| 88 | 88 | try { |
| 89 | 89 | await this.$refs.form.validate() |
| 90 | 90 | await addStore(this.form) |
| 91 | - this.$message.success(this.$t('store.add.success')) | |
| 91 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 92 | 92 | this.handleClose() |
| 93 | 93 | this.$emit('success') |
| 94 | 94 | } catch (error) { | ... | ... |
src/components/store/DelStore.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('store.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteStore(this.storeId) |
| 57 | - this.$message.success(this.$t('store.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/store/DeletePropertyCompany.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('propertyCompanyManage.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -34,7 +34,7 @@ export default { |
| 34 | 34 | async handleConfirm() { |
| 35 | 35 | try { |
| 36 | 36 | await deleteProperty({ storeId: this.storeId, storeTypeCd: this.storeTypeCd }) |
| 37 | - this.$message.success(this.$t('propertyCompanyManage.deleteSuccess')) | |
| 37 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 38 | 38 | this.$emit('success') |
| 39 | 39 | this.visible = false |
| 40 | 40 | } catch (error) { | ... | ... |
src/components/store/EditPropertyCompany.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('propertyCompanyManage.edit')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('propertyCompanyManage.name')" prop="name" required> |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | async handleSubmit() { |
| 47 | 47 | try { |
| 48 | 48 | await updateProperty(this.formData) |
| 49 | - this.$message.success(this.$t('propertyCompanyManage.editSuccess')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | this.visible = false |
| 52 | 52 | } catch (error) { | ... | ... |
src/components/store/EditStore.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('store.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | <el-form-item :label="$t('store.form.name')" prop="name"> |
| ... | ... | @@ -99,7 +99,7 @@ export default { |
| 99 | 99 | try { |
| 100 | 100 | await this.$refs.form.validate() |
| 101 | 101 | await updateStore(this.form) |
| 102 | - this.$message.success(this.$t('store.edit.success')) | |
| 102 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 103 | 103 | this.handleClose() |
| 104 | 104 | this.$emit('success') |
| 105 | 105 | } catch (error) { | ... | ... |
src/components/store/UpdateStoreState.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('propertyCompanyManage.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -43,7 +43,7 @@ export default { |
| 43 | 43 | storeId: this.storeInfo.storeId, |
| 44 | 44 | state: this.state |
| 45 | 45 | }) |
| 46 | - this.$message.success(this.$t('propertyCompanyManage.updateSuccess')) | |
| 46 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 47 | 47 | this.$emit('success') |
| 48 | 48 | this.visible = false |
| 49 | 49 | } catch (error) { | ... | ... |
src/components/system/addFeePrintPage.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('feePrintPageManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -107,7 +107,7 @@ export default { |
| 107 | 107 | try { |
| 108 | 108 | this.loading = true |
| 109 | 109 | await saveFeePrintPage(this.formData) |
| 110 | - this.$message.success(this.$t('feePrintPageManage.add.success')) | |
| 110 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 111 | 111 | this.$emit('success') |
| 112 | 112 | this.visible = false |
| 113 | 113 | } catch (error) { | ... | ... |
src/components/system/addFeePrintSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('feePrintSpecManage.addTitle')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('feePrintSpecManage.spec')" prop="specCd"> |
| ... | ... | @@ -94,7 +94,7 @@ export default { |
| 94 | 94 | this.submitting = true |
| 95 | 95 | try { |
| 96 | 96 | await saveFeePrintSpec(this.formData) |
| 97 | - this.$message.success(this.$t('feePrintSpecManage.addSuccess')) | |
| 97 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 98 | 98 | this.visible = false |
| 99 | 99 | this.$emit('success') |
| 100 | 100 | } catch (error) { | ... | ... |
src/components/system/addMenuUser.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('menuUserManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('menuUserManage.add.menu')" prop="mId"> |
| ... | ... | @@ -99,7 +99,7 @@ export default { |
| 99 | 99 | if (valid) { |
| 100 | 100 | try { |
| 101 | 101 | await saveMenuUser(this.form) |
| 102 | - this.$message.success(this.$t('menuUserManage.add.success')) | |
| 102 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 103 | 103 | this.$emit('success') |
| 104 | 104 | this.visible = false |
| 105 | 105 | } catch (error) { | ... | ... |
src/components/system/addPaymentPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('paymentPool.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('paymentPool.add.paymentName')" prop="paymentName"> |
| ... | ... | @@ -190,7 +190,7 @@ export default { |
| 190 | 190 | })) |
| 191 | 191 | } |
| 192 | 192 | await savePaymentPool(params) |
| 193 | - this.$message.success(this.$t('paymentPool.add.success')) | |
| 193 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 194 | 194 | this.visible = false |
| 195 | 195 | this.$emit('success') |
| 196 | 196 | } catch (error) { | ... | ... |
src/components/system/addSmallWechat.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('smallWeChatManage.addTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -121,7 +121,7 @@ export default { |
| 121 | 121 | if (valid) { |
| 122 | 122 | try { |
| 123 | 123 | await saveSmallWeChat(this.formData) |
| 124 | - this.$message.success(this.$t('smallWeChatManage.addSuccess')) | |
| 124 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 125 | 125 | this.visible = false |
| 126 | 126 | this.$emit('success') |
| 127 | 127 | } catch (error) { | ... | ... |
src/components/system/deleteDownloadTempFile.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('deleteDownloadTempFile.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -44,7 +44,7 @@ export default { |
| 44 | 44 | } |
| 45 | 45 | await deleteUserDownloadFile(params) |
| 46 | 46 | this.$emit('success') |
| 47 | - this.$message.success(this.$t('deleteDownloadTempFile.deleteSuccess')) | |
| 47 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 48 | 48 | this.handleClose() |
| 49 | 49 | } catch (error) { |
| 50 | 50 | this.$message.error(this.$t('deleteDownloadTempFile.deleteFailed')) | ... | ... |
src/components/system/deleteFeePrintPage.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('feePrintPageManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -56,7 +56,7 @@ export default { |
| 56 | 56 | try { |
| 57 | 57 | this.loading = true |
| 58 | 58 | await deleteFeePrintPage(this.currentRow) |
| 59 | - this.$message.success(this.$t('feePrintPageManage.delete.success')) | |
| 59 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 60 | 60 | this.$emit('success') |
| 61 | 61 | this.visible = false |
| 62 | 62 | } catch (error) { | ... | ... |
src/components/system/deleteFeePrintSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('feePrintSpec.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -49,7 +49,7 @@ export default { |
| 49 | 49 | this.deleting = true |
| 50 | 50 | try { |
| 51 | 51 | await deleteFeePrintSpec(this.currentItem) |
| 52 | - this.$message.success(this.$t('feePrintSpec.deleteSuccess')) | |
| 52 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 53 | 53 | this.visible = false |
| 54 | 54 | this.$emit('success') |
| 55 | 55 | } catch (error) { | ... | ... |
src/components/system/deleteMenuUser.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menuUserManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -35,7 +35,7 @@ export default { |
| 35 | 35 | async handleConfirm() { |
| 36 | 36 | try { |
| 37 | 37 | await deleteMenuUser(this.currentData) |
| 38 | - this.$message.success(this.$t('menuUserManage.delete.success')) | |
| 38 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | this.visible = false |
| 41 | 41 | } catch (error) { | ... | ... |
src/components/system/deletePaymentPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('paymentPool.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -53,7 +53,7 @@ export default { |
| 53 | 53 | ppId: this.ppId, |
| 54 | 54 | communityId: this.communityId |
| 55 | 55 | }) |
| 56 | - this.$message.success(this.$t('paymentPool.delete.success')) | |
| 56 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 57 | 57 | this.visible = false |
| 58 | 58 | this.$emit('success') |
| 59 | 59 | } catch (error) { | ... | ... |
src/components/system/deleteSmallWechat.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('smallWeChatManage.deleteTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | try { |
| 52 | 52 | this.loading = true |
| 53 | 53 | await deleteSmallWeChat(this.formData) |
| 54 | - this.$message.success(this.$t('smallWeChatManage.deleteSuccess')) | |
| 54 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 55 | 55 | this.visible = false |
| 56 | 56 | this.$emit('success') |
| 57 | 57 | } catch (error) { | ... | ... |
src/components/system/editFeePrintPage.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('feePrintPageManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -116,7 +116,7 @@ export default { |
| 116 | 116 | try { |
| 117 | 117 | this.loading = true |
| 118 | 118 | await updateFeePrintPage(this.formData) |
| 119 | - this.$message.success(this.$t('feePrintPageManage.edit.success')) | |
| 119 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 120 | 120 | this.$emit('success') |
| 121 | 121 | this.visible = false |
| 122 | 122 | } catch (error) { | ... | ... |
src/components/system/editFeePrintSpec.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('feePrintSpecManage.editTitle')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('feePrintSpecManage.spec')" prop="specCd"> |
| ... | ... | @@ -104,7 +104,7 @@ export default { |
| 104 | 104 | this.submitting = true |
| 105 | 105 | try { |
| 106 | 106 | await updateFeePrintSpec(this.formData) |
| 107 | - this.$message.success(this.$t('feePrintSpecManage.editSuccess')) | |
| 107 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 108 | 108 | this.visible = false |
| 109 | 109 | this.$emit('success') |
| 110 | 110 | } catch (error) { | ... | ... |
src/components/system/editPaymentPool.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('paymentPool.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> |
| 4 | 4 | <el-form-item :label="$t('paymentPool.edit.paymentName')" prop="paymentName"> |
| ... | ... | @@ -237,7 +237,7 @@ export default { |
| 237 | 237 | })) |
| 238 | 238 | } |
| 239 | 239 | await updatePaymentPool(params) |
| 240 | - this.$message.success(this.$t('paymentPool.edit.success')) | |
| 240 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 241 | 241 | this.visible = false |
| 242 | 242 | this.$emit('success') |
| 243 | 243 | } catch (error) { | ... | ... |
src/components/system/editSmallWechat.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('smallWeChatManage.editTitle')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -121,7 +121,7 @@ export default { |
| 121 | 121 | if (valid) { |
| 122 | 122 | try { |
| 123 | 123 | await updateSmallWeChat(this.formData) |
| 124 | - this.$message.success(this.$t('smallWeChatManage.editSuccess')) | |
| 124 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 125 | 125 | this.visible = false |
| 126 | 126 | this.$emit('success') |
| 127 | 127 | } catch (error) { | ... | ... |
src/components/system/editStoreAttr.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editStoreAttr.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | 4 | <el-form-item :label="form.name"> |
| ... | ... | @@ -64,7 +64,7 @@ export default { |
| 64 | 64 | if (valid) { |
| 65 | 65 | try { |
| 66 | 66 | await updateStoreAttr(this.form) |
| 67 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 67 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 68 | 68 | this.visible = false |
| 69 | 69 | this.$emit('success') |
| 70 | 70 | } catch (error) { | ... | ... |
src/components/system/editStoreInfo.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('editStoreInfo.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('editStoreInfo.storeName')" prop="name"> |
| ... | ... | @@ -96,7 +96,7 @@ export default { |
| 96 | 96 | if (valid) { |
| 97 | 97 | try { |
| 98 | 98 | await updateStoreInfo(this.form) |
| 99 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 99 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 100 | 100 | this.visible = false |
| 101 | 101 | this.$emit('success') |
| 102 | 102 | } catch (error) { | ... | ... |
src/components/tenant/AddApiType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('apiType.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -71,7 +71,7 @@ export default { |
| 71 | 71 | try { |
| 72 | 72 | await this.$refs.form.validate() |
| 73 | 73 | await addApiType(this.form) |
| 74 | - this.$message.success(this.$t('apiType.add.success')) | |
| 74 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 75 | 75 | this.handleClose() |
| 76 | 76 | this.$emit('success') |
| 77 | 77 | } catch (error) { | ... | ... |
src/components/tenant/AddHcApi.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('hcApi.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -114,7 +114,7 @@ export default { |
| 114 | 114 | this.form.typeId = this.typeId; |
| 115 | 115 | await this.$refs.form.validate() |
| 116 | 116 | await addHcApi(this.form) |
| 117 | - this.$message.success(this.$t('hcApi.add.success')) | |
| 117 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 118 | 118 | this.handleClose() |
| 119 | 119 | this.$emit('success') |
| 120 | 120 | } catch (error) { | ... | ... |
src/components/tenant/AddHcApp.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('hcApp.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -106,7 +106,7 @@ export default { |
| 106 | 106 | try { |
| 107 | 107 | await this.$refs.form.validate() |
| 108 | 108 | await addHcApp(this.form) |
| 109 | - this.$message.success(this.$t('hcApp.add.success')) | |
| 109 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 110 | 110 | this.handleClose() |
| 111 | 111 | this.$emit('success') |
| 112 | 112 | } catch (error) { | ... | ... |
src/components/tenant/Addtenant.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('tenant.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -98,7 +98,7 @@ export default { |
| 98 | 98 | try { |
| 99 | 99 | await this.$refs.form.validate() |
| 100 | 100 | await addTenant(this.form) |
| 101 | - this.$message.success(this.$t('tenant.add.success')) | |
| 101 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 102 | 102 | this.handleClose() |
| 103 | 103 | this.$emit('success') |
| 104 | 104 | } catch (error) { | ... | ... |
src/components/tenant/DelApiType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('apiType.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteApiType(this.typeId) |
| 57 | - this.$message.success(this.$t('apiType.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/tenant/DelAppApi.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('appApi.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteAppApi(this.aaId) |
| 57 | - this.$message.success(this.$t('appApi.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/tenant/DelHcApi.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('hcApi.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteHcApi(this.apiId) |
| 57 | - this.$message.success(this.$t('hcApi.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/tenant/DelHcApp.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('hcApp.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteHcApp(this.appId) |
| 57 | - this.$message.success(this.$t('hcApp.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/tenant/Deltenant.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('tenant.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteTenant(this.tenantId) |
| 57 | - this.$message.success(this.$t('tenant.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/tenant/EditApiType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('apiType.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -86,7 +86,7 @@ export default { |
| 86 | 86 | try { |
| 87 | 87 | await this.$refs.form.validate() |
| 88 | 88 | await updateApiType(this.form) |
| 89 | - this.$message.success(this.$t('apiType.edit.success')) | |
| 89 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 90 | 90 | this.handleClose() |
| 91 | 91 | this.$emit('success') |
| 92 | 92 | } catch (error) { | ... | ... |
src/components/tenant/EditHcApi.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('hcApi.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -146,7 +146,7 @@ export default { |
| 146 | 146 | try { |
| 147 | 147 | await this.$refs.form.validate() |
| 148 | 148 | await updateHcApi(this.form) |
| 149 | - this.$message.success(this.$t('hcApi.edit.success')) | |
| 149 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 150 | 150 | this.handleClose() |
| 151 | 151 | this.$emit('success') |
| 152 | 152 | } catch (error) { | ... | ... |
src/components/tenant/EditHcApp.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('hcApp.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -117,7 +117,7 @@ export default { |
| 117 | 117 | try { |
| 118 | 118 | await this.$refs.form.validate() |
| 119 | 119 | await updateHcApp(this.form) |
| 120 | - this.$message.success(this.$t('hcApp.edit.success')) | |
| 120 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 121 | 121 | this.handleClose() |
| 122 | 122 | this.$emit('success') |
| 123 | 123 | } catch (error) { | ... | ... |
src/components/tenant/Edittenant.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('tenant.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -105,7 +105,7 @@ export default { |
| 105 | 105 | try { |
| 106 | 106 | await this.$refs.form.validate() |
| 107 | 107 | await updateTenant(this.form) |
| 108 | - this.$message.success(this.$t('tenant.edit.success')) | |
| 108 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 109 | 109 | this.handleClose() |
| 110 | 110 | this.$emit('success') |
| 111 | 111 | } catch (error) { | ... | ... |
src/components/upload/FileUpload.vue
| 1 | -<!-- src/components/upload/FileUpload.vue --> | |
| 1 | +<!-- src/components/upload/FileUpload.vue --> | |
| 2 | 2 | <template> |
| 3 | 3 | <div> |
| 4 | 4 | <el-upload :action="uploadUrl" :headers="headers" :on-success="handleSuccess" :on-error="handleError" |
| ... | ... | @@ -47,7 +47,7 @@ export default { |
| 47 | 47 | const fileUrl = response.url || response.path |
| 48 | 48 | this.$emit('input', fileUrl) |
| 49 | 49 | this.$emit('success', fileUrl) |
| 50 | - this.$message.success(this.$t('upload.success')) | |
| 50 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 51 | 51 | } else { |
| 52 | 52 | this.$message.error(response.msg || this.$t('upload.error')) |
| 53 | 53 | } | ... | ... |
src/components/upload/uploadFile.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="upload-file-wrapper"> |
| 3 | 3 | <div class="progress" v-if="progress > 0"> |
| 4 | 4 | <el-progress :percentage="progress" :stroke-width="2" /> |
| ... | ... | @@ -80,7 +80,7 @@ export default { |
| 80 | 80 | this.$emit(this.callBackFunction, data) |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - this.$message.success(this.$t('uploadFile.success')) | |
| 83 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 84 | 84 | } catch (error) { |
| 85 | 85 | this.$message.error(this.$t('uploadFile.error')) |
| 86 | 86 | console.error('上传文件失败:', error) | ... | ... |
src/components/user/AddMenu.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menu.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -119,7 +119,7 @@ export default { |
| 119 | 119 | try { |
| 120 | 120 | await this.$refs.form.validate() |
| 121 | 121 | await addMenu(this.form) |
| 122 | - this.$message.success(this.$t('menu.add.success')) | |
| 122 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 123 | 123 | this.handleClose() |
| 124 | 124 | this.$emit('success') |
| 125 | 125 | } catch (error) { | ... | ... |
src/components/user/AddMenuGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menuGroup.dialog.addTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -104,7 +104,7 @@ export default { |
| 104 | 104 | try { |
| 105 | 105 | await this.$refs.form.validate() |
| 106 | 106 | await addMenuGroup(this.form) |
| 107 | - this.$message.success(this.$t('menuGroup.add.success')) | |
| 107 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 108 | 108 | this.handleClose() |
| 109 | 109 | this.$emit('success') |
| 110 | 110 | } catch (error) { | ... | ... |
src/components/user/DelMenu.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menu.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteMenu(this.mId) |
| 57 | - this.$message.success(this.$t('menu.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/user/DelMenuGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menuGroup.dialog.delTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -54,7 +54,7 @@ export default { |
| 54 | 54 | async handleConfirm() { |
| 55 | 55 | try { |
| 56 | 56 | await deleteMenuGroup(this.menuGroupId) |
| 57 | - this.$message.success(this.$t('menuGroup.delete.success')) | |
| 57 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 58 | 58 | this.handleClose() |
| 59 | 59 | this.$emit('success') |
| 60 | 60 | } catch (error) { | ... | ... |
src/components/user/EditMenu.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menu.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -128,7 +128,7 @@ export default { |
| 128 | 128 | try { |
| 129 | 129 | await this.$refs.form.validate() |
| 130 | 130 | await updateMenu(this.form) |
| 131 | - this.$message.success(this.$t('menu.edit.success')) | |
| 131 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 132 | 132 | this.handleClose() |
| 133 | 133 | this.$emit('success') |
| 134 | 134 | } catch (error) { | ... | ... |
src/components/user/EditMenuGroup.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('menuGroup.dialog.editTitle')" |
| 4 | 4 | :visible.sync="dialogVisible" |
| ... | ... | @@ -112,7 +112,7 @@ export default { |
| 112 | 112 | try { |
| 113 | 113 | await this.$refs.form.validate() |
| 114 | 114 | await updateMenuGroup(this.form) |
| 115 | - this.$message.success(this.$t('menuGroup.edit.success')) | |
| 115 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 116 | 116 | this.handleClose() |
| 117 | 117 | this.$emit('success') |
| 118 | 118 | } catch (error) { | ... | ... |
src/components/work/AddRepairSetting.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('repairSetting.addTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px"> |
| 4 | 4 | <el-row> |
| ... | ... | @@ -203,7 +203,7 @@ export default { |
| 203 | 203 | if (valid) { |
| 204 | 204 | try { |
| 205 | 205 | await saveRepairSetting(this.formData) |
| 206 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 206 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 207 | 207 | this.$emit('success') |
| 208 | 208 | this.closeDialog() |
| 209 | 209 | } catch (error) { | ... | ... |
src/components/work/AppraiseRepair.vue
src/components/work/DeleteRepairSetting.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('repairSetting.confirmDeleteTitle')" :visible.sync="visible" width="30%" center> |
| 3 | 3 | <div style="text-align: center"> |
| 4 | 4 | <p>{{ $t('repairSetting.confirmDeleteContent') }} [{{ currentRow.repairTypeName }}]?</p> |
| ... | ... | @@ -35,7 +35,7 @@ export default { |
| 35 | 35 | async confirmDelete() { |
| 36 | 36 | try { |
| 37 | 37 | await deleteRepairSetting(this.currentRow.settingId) |
| 38 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 38 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | this.closeDialog() |
| 41 | 41 | } catch (error) { | ... | ... |
src/components/work/DeleteRepairTypeUser.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :visible="visible" |
| 4 | 4 | :title="$t('deleteRepairTypeUser.title')" |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | |
| 47 | 47 | const response = await deleteRepairTypeUser(data) |
| 48 | 48 | if (response.code === 0) { |
| 49 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 49 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | this.handleClose() |
| 52 | 52 | } else { | ... | ... |
src/components/work/EditRepairSetting.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('repairSetting.editTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px"> |
| 4 | 4 | <el-row> |
| ... | ... | @@ -191,7 +191,7 @@ export default { |
| 191 | 191 | if (valid) { |
| 192 | 192 | try { |
| 193 | 193 | await updateRepairSetting(this.formData) |
| 194 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 194 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 195 | 195 | this.$emit('success') |
| 196 | 196 | this.closeDialog() |
| 197 | 197 | } catch (error) { | ... | ... |
src/components/work/EditRepairTypeUser.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :visible="visible" :title="$t('editRepairTypeUser.title')" width="40%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="form" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('editRepairTypeUser.status')" prop="state" required> |
| ... | ... | @@ -69,7 +69,7 @@ export default { |
| 69 | 69 | |
| 70 | 70 | const response = await updateRepairTypeUser(data) |
| 71 | 71 | if (response.code === 0) { |
| 72 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 72 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 73 | 73 | this.$emit('success') |
| 74 | 74 | this.handleClose() |
| 75 | 75 | } else { | ... | ... |
src/components/work/ReplyRepairAppraise.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('adminRepairDetail.replyAppraise')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -62,7 +62,7 @@ export default { |
| 62 | 62 | ...this.form, |
| 63 | 63 | communityId: this.getCommunityId() |
| 64 | 64 | }) |
| 65 | - this.$message.success(this.$t('adminRepairDetail.replySuccess')) | |
| 65 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 66 | 66 | this.visible = false |
| 67 | 67 | this.$emit('success') |
| 68 | 68 | } catch (error) { | ... | ... |
src/components/work/StartRepair.vue
src/components/work/StopRepair.vue
src/components/work/addItemReleaseType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('itemReleaseTypeManage.add.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -87,7 +87,7 @@ export default { |
| 87 | 87 | if (valid) { |
| 88 | 88 | try { |
| 89 | 89 | await saveItemReleaseType(this.form) |
| 90 | - this.$message.success(this.$t('itemReleaseTypeManage.add.success')) | |
| 90 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 91 | 91 | this.visible = false |
| 92 | 92 | this.$emit('success') |
| 93 | 93 | } catch (error) { | ... | ... |
src/components/work/addOwnerRepair.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('addOwnerRepair.title')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('addOwnerRepair.repairScope')" prop="repairObjType" required> |
| ... | ... | @@ -211,7 +211,7 @@ export default { |
| 211 | 211 | if (valid) { |
| 212 | 212 | ownerRepairManageApi.saveOwnerRepair(this.formData).then(res => { |
| 213 | 213 | if (res.code === 0) { |
| 214 | - this.$message.success(this.$t('common.addSuccess')) | |
| 214 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 215 | 215 | this.visible = false |
| 216 | 216 | this.$emit('success') |
| 217 | 217 | } else { | ... | ... |
src/components/work/deleteItemRelease.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('common.confirmOperation')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -49,7 +49,7 @@ export default { |
| 49 | 49 | async handleConfirm() { |
| 50 | 50 | try { |
| 51 | 51 | await deleteItemRelease(this.currentItem) |
| 52 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 52 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 53 | 53 | this.$emit('success') |
| 54 | 54 | this.visible = false |
| 55 | 55 | } catch (error) { | ... | ... |
src/components/work/deleteItemReleaseType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('itemReleaseTypeManage.delete.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -45,7 +45,7 @@ export default { |
| 45 | 45 | async handleConfirm() { |
| 46 | 46 | try { |
| 47 | 47 | await deleteItemReleaseType(this.form) |
| 48 | - this.$message.success(this.$t('itemReleaseTypeManage.delete.success')) | |
| 48 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 49 | 49 | this.visible = false |
| 50 | 50 | this.$emit('success') |
| 51 | 51 | } catch (error) { | ... | ... |
src/components/work/deleteOwnerRepair.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('common.delete')" :visible.sync="visible" width="30%"> |
| 3 | 3 | <p>{{ $t('common.deleteConfirm') }}</p> |
| 4 | 4 | |
| ... | ... | @@ -34,7 +34,7 @@ export default { |
| 34 | 34 | communityId: getCommunityId() |
| 35 | 35 | }) |
| 36 | 36 | |
| 37 | - this.$message.success(this.$t('common.deleteSuccess')) | |
| 37 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 38 | 38 | this.visible = false |
| 39 | 39 | this.$emit('success') |
| 40 | 40 | } catch (error) { | ... | ... |
src/components/work/dispatchRepair.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('repairPoolManage.dispatch')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item v-if="formData.action === 'BACK'" :label="$t('repairPoolManage.repairPerson')" prop="staffName"> | ... | ... |
src/components/work/editItemRelease.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('itemReleaseManage.edit.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('itemReleaseManage.form.releaseType')" prop="typeId"> |
| ... | ... | @@ -175,7 +175,7 @@ export default { |
| 175 | 175 | if (valid) { |
| 176 | 176 | try { |
| 177 | 177 | await updateItemRelease(this.formData) |
| 178 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 178 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 179 | 179 | this.$emit('success') |
| 180 | 180 | this.visible = false |
| 181 | 181 | } catch (error) { | ... | ... |
src/components/work/editItemReleaseType.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog |
| 3 | 3 | :title="$t('itemReleaseTypeManage.edit.title')" |
| 4 | 4 | :visible.sync="visible" |
| ... | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | 93 | if (valid) { |
| 94 | 94 | try { |
| 95 | 95 | await updateItemReleaseType(this.form) |
| 96 | - this.$message.success(this.$t('itemReleaseTypeManage.edit.success')) | |
| 96 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 97 | 97 | this.visible = false |
| 98 | 98 | this.$emit('success') |
| 99 | 99 | } catch (error) { | ... | ... |
src/components/work/editOwnerRepair.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('repairPoolManage.modify')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | 4 | <el-form-item :label="$t('repairPoolManage.repairType')" prop="repairType" |
| ... | ... | @@ -109,7 +109,7 @@ export default { |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | await updateOwnerRepair(data) |
| 112 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 112 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 113 | 113 | this.visible = false |
| 114 | 114 | this.$emit('success') |
| 115 | 115 | } catch (error) { | ... | ... |
src/components/work/endRepair.vue
src/components/work/visitOwnerRepair.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-dialog :title="$t('repairReturnVisit.visitTitle')" :visible.sync="visible" width="600px" @close="resetForm"> |
| 3 | 3 | <el-form ref="visitForm" :model="formData" :rules="rules" label-width="100px" label-position="right"> |
| 4 | 4 | <el-form-item :label="$t('repairReturnVisit.satisfaction')" prop="visitType"> |
| ... | ... | @@ -68,7 +68,7 @@ export default { |
| 68 | 68 | if (valid) { |
| 69 | 69 | try { |
| 70 | 70 | await saveRepairReturnVisit(this.formData) |
| 71 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 71 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 72 | 72 | this.visible = false |
| 73 | 73 | this.$emit('success') |
| 74 | 74 | } catch (error) { | ... | ... |
src/views/account/printSmallAccountReceiptList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="printSmallAccountReceipt-container"> |
| 3 | 3 | <div class="print_container"> |
| 4 | 4 | <div style="color:#000;font-size:32px" class="text-center"> |
| ... | ... | @@ -206,7 +206,7 @@ export default { |
| 206 | 206 | } |
| 207 | 207 | }, |
| 208 | 208 | handleCloudPrintSuccess() { |
| 209 | - this.$message.success(this.$t('printSmallAccountReceipt.printSuccess')) | |
| 209 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 210 | 210 | } |
| 211 | 211 | } |
| 212 | 212 | } | ... | ... |
src/views/car/addParkingSpaceApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-card class="box-card"> |
| 3 | 3 | <div slot="header" class=" flex justify-between"> |
| 4 | 4 | <div>{{ $t('addParkingSpaceApply.title') }}</div> |
| ... | ... | @@ -168,7 +168,7 @@ export default { |
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | await saveParkingSpaceApply(data) |
| 171 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 171 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 172 | 172 | this.clearAddParkingSpaceApplyInfo() |
| 173 | 173 | this._goBack() |
| 174 | 174 | } catch (error) { | ... | ... |
src/views/car/auditParkingSpaceApply.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="audit-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class=" flex justify-between"> |
| ... | ... | @@ -214,7 +214,7 @@ export default { |
| 214 | 214 | } |
| 215 | 215 | |
| 216 | 216 | await auditParkingSpaceApply(data) |
| 217 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 217 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 218 | 218 | this.goBack() |
| 219 | 219 | } catch (error) { |
| 220 | 220 | this.$message.error(this.$t('common.submitFailed')) | ... | ... |
src/views/car/carAddParkingSpaceList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="app-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -159,7 +159,7 @@ export default { |
| 159 | 159 | |
| 160 | 160 | const res = await addCarParkingSpace(data) |
| 161 | 161 | if (res.code === 0) { |
| 162 | - this.$message.success(this.$t('carAddParkingSpace.submitSuccess')) | |
| 162 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 163 | 163 | this.$router.go(-1) |
| 164 | 164 | } else { |
| 165 | 165 | this.$message.error(res.msg || this.$t('carAddParkingSpace.submitFailed')) | ... | ... |
src/views/car/hireParkingSpaceList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-card class="box-card margin"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -286,7 +286,7 @@ export default { |
| 286 | 286 | } |
| 287 | 287 | |
| 288 | 288 | await saveOwnerCar(params) |
| 289 | - this.$message.success(this.$t('hireParkingSpace.saveSuccess')) | |
| 289 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 290 | 290 | this.goBack() |
| 291 | 291 | } catch (error) { |
| 292 | 292 | console.error('保存失败:', error) | ... | ... |
src/views/car/listOwnerCarList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="list-owner-car-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="3"> |
| ... | ... | @@ -298,7 +298,7 @@ export default { |
| 298 | 298 | }).then(async () => { |
| 299 | 299 | try { |
| 300 | 300 | await deleteCarParkingSpace(car) |
| 301 | - this.$message.success(this.$t('listOwnerCar.releaseSuccess')) | |
| 301 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 302 | 302 | this.listOwnerCarData() |
| 303 | 303 | } catch (error) { |
| 304 | 304 | console.error('释放车位失败:', error) |
| ... | ... | @@ -342,7 +342,7 @@ export default { |
| 342 | 342 | pagePath: 'exportOwnerCar' |
| 343 | 343 | } |
| 344 | 344 | await exportData(params) |
| 345 | - this.$message.success(this.$t('listOwnerCar.exportSuccess')) | |
| 345 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 346 | 346 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 347 | 347 | } catch (error) { |
| 348 | 348 | console.error('导出失败:', error) | ... | ... |
src/views/community/addCommunityPublicityList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-card class="add-publicity-container"> |
| 3 | 3 | <div slot="header" class="flex justify-between"> |
| 4 | 4 | <span>{{ $t('addCommunityPublicity.title') }}</span> |
| ... | ... | @@ -106,7 +106,7 @@ export default { |
| 106 | 106 | this.formData.communityId = getCommunityId() |
| 107 | 107 | const response = await saveCommunityPublicity(this.formData) |
| 108 | 108 | if (response.code === 0) { |
| 109 | - this.$message.success(this.$t('addCommunityPublicity.saveSuccess')) | |
| 109 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 110 | 110 | this.goBack() |
| 111 | 111 | } else { |
| 112 | 112 | this.$message.error(response.msg || this.$t('addCommunityPublicity.saveFailed')) | ... | ... |
src/views/community/communitySpaceConfirmList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="community-space-confirm-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="6"> |
| ... | ... | @@ -244,7 +244,7 @@ export default { |
| 244 | 244 | |
| 245 | 245 | const result = await saveCommunitySpaceConfirmOrder(data) |
| 246 | 246 | if (result.code === 0) { |
| 247 | - this.$message.success(this.$t('communitySpaceConfirm.writeOffSuccess')) | |
| 247 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 248 | 248 | this.communitySpaceConfirmInfo.timeId = '' |
| 249 | 249 | |
| 250 | 250 | // 更新核销结果 | ... | ... |
src/views/community/editCommunityPublicityList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-community-publicity-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -168,7 +168,7 @@ export default { |
| 168 | 168 | } |
| 169 | 169 | const res = await updateCommunityPublicity(data) |
| 170 | 170 | if (res.code === 0) { |
| 171 | - this.$message.success(this.$t('editCommunityPublicity.message.updateSuccess')) | |
| 171 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 172 | 172 | this._goBack() |
| 173 | 173 | } else { |
| 174 | 174 | this.$message.error(res.msg || this.$t('editCommunityPublicity.message.updateFailed')) | ... | ... |
src/views/community/initializeCommunityManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="initialize-community-manage-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <div class="ibox"> |
| ... | ... | @@ -143,7 +143,7 @@ export default { |
| 143 | 143 | try { |
| 144 | 144 | const res = await initializeCommunity(data) |
| 145 | 145 | this.msgData = res.data |
| 146 | - this.$message.success(this.$t('initializeCommunityManage.initializeSuccess')) | |
| 146 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 147 | 147 | this.getList() |
| 148 | 148 | } catch (error) { |
| 149 | 149 | this.$message.error(error.message) | ... | ... |
src/views/contract/addContractList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-contract-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -402,7 +402,7 @@ export default { |
| 402 | 402 | // 这里需要实现文件上传逻辑 |
| 403 | 403 | // uploadContactFile(formData).then(response => { |
| 404 | 404 | // this.addContractInfo.contractFilePo[index].fileSaveName = response.data |
| 405 | - // this.$message.success(this.$t('contract.uploadSuccess')) | |
| 405 | + // this.$message.success(this.$t('common.operationSuccess')) | |
| 406 | 406 | // }) |
| 407 | 407 | }, |
| 408 | 408 | checkFileType(fileType) { |
| ... | ... | @@ -428,7 +428,7 @@ export default { |
| 428 | 428 | this.addContractInfo.communityId = this.communityId |
| 429 | 429 | saveContract(this.addContractInfo).then(response => { |
| 430 | 430 | if (response.code === 0) { |
| 431 | - this.$message.success(this.$t('contract.submitSuccess')) | |
| 431 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 432 | 432 | this._goBack() |
| 433 | 433 | } else { |
| 434 | 434 | this.$message.error(response.msg) | ... | ... |
src/views/contract/contractApplyAuditOrdersList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="animated fadeInRight ecommerce padding"> |
| 3 | 3 | <el-row v-if="contractApplyAuditOrdersInfo.audit === '1'"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -115,7 +115,7 @@ export default { |
| 115 | 115 | auditInfo.taskId = this.contractApplyAuditOrdersInfo.orderInfo.taskId |
| 116 | 116 | auditInfo.contractId = this.contractApplyAuditOrdersInfo.orderInfo.contractId |
| 117 | 117 | await needAuditContract(auditInfo) |
| 118 | - this.$message.success(this.$t('common.handleSuccess')) | |
| 118 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 119 | 119 | this._listAuditOrders(this.page.current, this.page.size) |
| 120 | 120 | } catch (error) { |
| 121 | 121 | this.$message.error(this.$t('common.handleFailed') + error.message) |
| ... | ... | @@ -130,7 +130,7 @@ export default { |
| 130 | 130 | remark: this.$t('contractApplyAuditOrders.processEnd') |
| 131 | 131 | } |
| 132 | 132 | await needAuditContract(auditInfo) |
| 133 | - this.$message.success(this.$t('common.handleSuccess')) | |
| 133 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 134 | 134 | this._listAuditOrders(this.page.current, this.page.size) |
| 135 | 135 | } catch (error) { |
| 136 | 136 | this.$message.error(this.$t('common.handleFailed') + error.message) | ... | ... |
src/views/contract/contractChangeAuditOrdersList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="animated fadeInRight ecommerce padding"> |
| 3 | 3 | <el-row v-if="contractChangeAuditOrdersInfo.audit === '1'"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -113,7 +113,7 @@ export default { |
| 113 | 113 | |
| 114 | 114 | try { |
| 115 | 115 | await needAuditContractPlan(auditInfo) |
| 116 | - this.$message.success(this.$t('common.handleSuccess')) | |
| 116 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 117 | 117 | this._listAuditOrders(this.page.current, this.page.size) |
| 118 | 118 | } catch (error) { |
| 119 | 119 | this.$message.error(this.$t('common.handleFailed') + error.message) |
| ... | ... | @@ -130,7 +130,7 @@ export default { |
| 130 | 130 | |
| 131 | 131 | try { |
| 132 | 132 | await needAuditContractPlan(auditInfo) |
| 133 | - this.$message.success(this.$t('common.handleSuccess')) | |
| 133 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 134 | 134 | this._listAuditOrders(this.page.current, this.page.size) |
| 135 | 135 | } catch (error) { |
| 136 | 136 | this.$message.error(this.$t('common.handleFailed') + error.message) | ... | ... |
src/views/contract/contractChangeDetailList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="contract-change-detail-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -220,7 +220,7 @@ export default { |
| 220 | 220 | saveContractChangePlan(this.newContract) |
| 221 | 221 | .then(response => { |
| 222 | 222 | if (response.code === 0) { |
| 223 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 223 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 224 | 224 | this.goBack() |
| 225 | 225 | } else { |
| 226 | 226 | this.$message.error(response.msg) | ... | ... |
src/views/dev/addRoute.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-app-api-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div class="card-title" slot="header"> |
| ... | ... | @@ -186,7 +186,7 @@ export default { |
| 186 | 186 | await addRoute({ |
| 187 | 187 | data:data |
| 188 | 188 | }) |
| 189 | - this.$message.success(this.$t('common.add.success')) | |
| 189 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 190 | 190 | this.$emit('success') |
| 191 | 191 | this.$router.go(-1) |
| 192 | 192 | } catch (error) { | ... | ... |
src/views/dev/devServiceProvideList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="dev-service-provide-container"> |
| 3 | 3 | <el-steps :active="activeStep" finish-status="success" simple> |
| 4 | 4 | <el-step v-for="(title, index) in $t('devServiceProvide.stepTitles')" :key="index" :title="title" /> |
| ... | ... | @@ -82,7 +82,7 @@ export default { |
| 82 | 82 | |
| 83 | 83 | saveServiceProvide({ data: this.infos }) |
| 84 | 84 | .then(() => { |
| 85 | - this.$message.success(this.$t('devServiceProvide.saveSuccess')) | |
| 85 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 86 | 86 | this.$router.go(-1) |
| 87 | 87 | }) |
| 88 | 88 | .catch(error => { | ... | ... |
src/views/fee/addOweFeeCallableList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-owe-fee-callable-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -237,7 +237,7 @@ export default { |
| 237 | 237 | |
| 238 | 238 | try { |
| 239 | 239 | await saveOweFeeCallable(this.addOweFeeCallableInfo) |
| 240 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 240 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 241 | 241 | this.goBack() |
| 242 | 242 | } catch (error) { |
| 243 | 243 | console.error('提交失败:', error) |
| ... | ... | @@ -257,7 +257,7 @@ export default { |
| 257 | 257 | endTime: this.addOweFeeCallableInfo.endTime |
| 258 | 258 | } |
| 259 | 259 | await exportCollectionLetterExcel(params) |
| 260 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 260 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 261 | 261 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 262 | 262 | } catch (error) { |
| 263 | 263 | console.error('导出失败:', error) | ... | ... |
src/views/fee/addOwnerInvoiceList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="app-container"> |
| 3 | 3 | <el-card shadow="never"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -135,7 +135,7 @@ export default { |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | await saveOwnerInvoice(payload) |
| 138 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 138 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 139 | 139 | this.$router.go(-1) |
| 140 | 140 | } catch (error) { |
| 141 | 141 | console.error('保存失败:', error) | ... | ... |
src/views/fee/adminPayFeeDetailList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="admin-pay-fee-detail-container animated fadeInRight"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="4"> |
| ... | ... | @@ -360,7 +360,7 @@ export default { |
| 360 | 360 | pagePath: 'adminPayFeeDetail' |
| 361 | 361 | } |
| 362 | 362 | await exportFeeData(params) |
| 363 | - this.$message.success(this.$t('adminPayFeeDetail.exportSuccess')) | |
| 363 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 364 | 364 | // 这里可以添加跳转到下载页面的逻辑 |
| 365 | 365 | // this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 366 | 366 | } catch (error) { | ... | ... |
src/views/fee/applyRoomDiscountManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="apply-room-discount-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-wrapper"> |
| ... | ... | @@ -263,7 +263,7 @@ export default { |
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | await exportData(params) |
| 266 | - this.$message.success(this.$t('reportFeeSummary.exportSuccess')) | |
| 266 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 267 | 267 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 268 | 268 | } catch (error) { |
| 269 | 269 | console.error('Failed to export:', error) | ... | ... |
src/views/fee/buyCarMonthCardList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-card class="buy-car-month-card-container"> |
| 3 | 3 | <div slot="header" class="flex justify-between"> |
| 4 | 4 | <div>{{ $t('buyCarMonthCard.title') }}</div> |
| ... | ... | @@ -193,7 +193,7 @@ export default { |
| 193 | 193 | |
| 194 | 194 | const res = await buyCarMonthOrder(params) |
| 195 | 195 | if (res.code === 0) { |
| 196 | - this.$message.success(this.$t('buyCarMonthCard.success.saveSuccess')) | |
| 196 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 197 | 197 | this.goBack() |
| 198 | 198 | } else { |
| 199 | 199 | this.$message.error(res.msg || this.$t('buyCarMonthCard.errors.saveFailed')) | ... | ... |
src/views/fee/invoiceApplyList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="padding"> |
| 3 | 3 | <el-row :gutter="10"> |
| 4 | 4 | <el-col :span="3"> |
| ... | ... | @@ -230,7 +230,7 @@ export default { |
| 230 | 230 | communityId: this.communityId |
| 231 | 231 | } |
| 232 | 232 | await auditInvoiceApply(params) |
| 233 | - this.$message.success(this.$t('invoiceApply.auditSuccess')) | |
| 233 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 234 | 234 | this.listInvoiceApplys() |
| 235 | 235 | } catch (error) { |
| 236 | 236 | this.$message.error(error.message) | ... | ... |
src/views/fee/listOweFeeList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="list-owe-fee-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-card"> |
| ... | ... | @@ -336,7 +336,7 @@ export default { |
| 336 | 336 | configIds: this.listOweFeeInfo.feeConfigNames.map(item => item.configId).join(',') |
| 337 | 337 | } |
| 338 | 338 | await exportData(params) |
| 339 | - this.$message.success(this.$t('listOweFee.exportSuccess')) | |
| 339 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 340 | 340 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 341 | 341 | } catch (error) { |
| 342 | 342 | console.error('导出失败:', error) | ... | ... |
src/views/fee/ownerApplyInvoiceList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="owner-apply-invoice-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header" class="clearfix flex justify-between"> |
| ... | ... | @@ -286,7 +286,7 @@ export default { |
| 286 | 286 | |
| 287 | 287 | // 调用API |
| 288 | 288 | await saveInvoiceApply(submitData) |
| 289 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 289 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 290 | 290 | this.goBack() |
| 291 | 291 | } catch (error) { |
| 292 | 292 | console.error('Failed to submit invoice application:', error) | ... | ... |
src/views/fee/payFeeAuditManageList.vue
| ... | ... | @@ -215,7 +215,7 @@ export default { |
| 215 | 215 | communityId: this.searchForm.communityId |
| 216 | 216 | } |
| 217 | 217 | await savePayFeeAudit(params) |
| 218 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 218 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 219 | 219 | this.getList() |
| 220 | 220 | } catch (error) { |
| 221 | 221 | this.$message.error(error.message || this.$t('common.operateFailed')) | ... | ... |
src/views/fee/payFeeBatchList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="pay-fee-batch-container animated fadeInRight"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -160,7 +160,7 @@ export default { |
| 160 | 160 | msg: auditInfo.remark |
| 161 | 161 | } |
| 162 | 162 | await updatePayFeeBatch(payFeeBatch) |
| 163 | - this.$message.success(this.$t('payFeeBatch.message.auditSuccess')) | |
| 163 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 164 | 164 | this._listPayFeeBatchs(this.pagination.current, this.pagination.size) |
| 165 | 165 | } catch (error) { |
| 166 | 166 | console.error('审核失败:', error) | ... | ... |
src/views/fee/printSmallPayFeeList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="printSmallPayFee-container"> |
| 3 | 3 | |
| 4 | 4 | <div class="print_container"> |
| ... | ... | @@ -271,7 +271,7 @@ export default { |
| 271 | 271 | return; |
| 272 | 272 | } |
| 273 | 273 | this.cloudPrintVisible = false |
| 274 | - this.$message.success(this.$t('printSmallPayFee.submitSuccess')) | |
| 274 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 275 | 275 | } catch (error) { |
| 276 | 276 | console.error('Failed to submit cloud print:', error) |
| 277 | 277 | this.$message.error(error.message || this.$t('printSmallPayFee.submitFailed')) | ... | ... |
src/views/fee/returnPayFeeManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="return-pay-fee-manage-container animated fadeInRight"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="box-card"> |
| ... | ... | @@ -266,7 +266,7 @@ export default { |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | 268 | await updateReturnPayFee(returnPayFee) |
| 269 | - this.$message.success(this.$t('common.auditSuccess')) | |
| 269 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 270 | 270 | this._listReturnPayFees(this.page.current, this.page.size) |
| 271 | 271 | } catch (error) { |
| 272 | 272 | console.error('审核失败:', error) |
| ... | ... | @@ -281,7 +281,7 @@ export default { |
| 281 | 281 | } |
| 282 | 282 | |
| 283 | 283 | await tryRefundMoney(returnPayFee) |
| 284 | - this.$message.success(this.$t('returnPayFeeManage.message.refundSubmitSuccess')) | |
| 284 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 285 | 285 | this._listReturnPayFees(this.page.current, this.page.size) |
| 286 | 286 | } catch (error) { |
| 287 | 287 | console.error('提交退款失败:', error) | ... | ... |
src/views/fee/roomCreatePayFeeList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="room-create-pay-fee-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -300,7 +300,7 @@ export default { |
| 300 | 300 | |
| 301 | 301 | try { |
| 302 | 302 | await saveRoomCreatePayFee(this.roomCreatePayFeeInfo) |
| 303 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 303 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 304 | 304 | this.goBack() |
| 305 | 305 | } catch (error) { |
| 306 | 306 | this.$message.error(error.message || this.$t('common.saveFailed')) | ... | ... |
src/views/fee/roomOweFeeCallableList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="room-owe-fee-callable-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -107,7 +107,7 @@ export default { |
| 107 | 107 | try { |
| 108 | 108 | const res = await saveOweFeeCallable(this.roomOweFeeCallableInfo) |
| 109 | 109 | if (res.code === 0) { |
| 110 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 110 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 111 | 111 | this.$router.go(-1) |
| 112 | 112 | } else { |
| 113 | 113 | this.$message.error(res.msg) | ... | ... |
src/views/inspection/addInspectionPlanList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-inspection-plan-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="text-left"> |
| ... | ... | @@ -284,7 +284,7 @@ export default { |
| 284 | 284 | } |
| 285 | 285 | |
| 286 | 286 | await saveInspectionPlan(formData) |
| 287 | - this.$message.success(this.$t('addInspectionPlan.saveSuccess')) | |
| 287 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 288 | 288 | this.goBack() |
| 289 | 289 | } catch (error) { |
| 290 | 290 | console.error('保存巡检计划失败:', error) | ... | ... |
src/views/inspection/addMaintainancePlanList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-maintainance-plan-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -253,7 +253,7 @@ export default { |
| 253 | 253 | |
| 254 | 254 | const { code, msg } = await saveMaintainancePlan(formData) |
| 255 | 255 | if (code === 0) { |
| 256 | - this.$message.success(this.$t('addMaintainancePlan.saveSuccess')) | |
| 256 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 257 | 257 | this.goBack() |
| 258 | 258 | } else { |
| 259 | 259 | this.$message.error(msg) | ... | ... |
src/views/inspection/editMaintainancePlanList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-maintainance-plan-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -248,7 +248,7 @@ export default { |
| 248 | 248 | |
| 249 | 249 | const res = await updateMaintainancePlan(params) |
| 250 | 250 | if (res.code === 0) { |
| 251 | - this.$message.success(this.$t('editMaintainancePlan.saveSuccess')) | |
| 251 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 252 | 252 | this.goBack() |
| 253 | 253 | } else { |
| 254 | 254 | this.$message.error(res.msg) | ... | ... |
src/views/inspection/inspectionTaskDetailsList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="padding"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -427,7 +427,7 @@ export default { |
| 427 | 427 | } |
| 428 | 428 | const res = await exportInspectionTaskDetails(params) |
| 429 | 429 | if (res.code === 0) { |
| 430 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 430 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 431 | 431 | // 这里需要根据实际项目调整跳转逻辑 |
| 432 | 432 | this.$router.push({ path: '/pages/property/downloadTempFile', query: { tab: this.$t('common.downloadCenter') } }) |
| 433 | 433 | } else { | ... | ... |
src/views/machine/addEquipmentAccountList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-equipment-account-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -226,7 +226,7 @@ export default { |
| 226 | 226 | const res = await saveEquipmentAccount(params) |
| 227 | 227 | |
| 228 | 228 | if (res.code === 0) { |
| 229 | - this.$message.success(this.$t('addEquipmentAccount.saveSuccess')) | |
| 229 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 230 | 230 | this.$router.go(-1) |
| 231 | 231 | } else { |
| 232 | 232 | this.$message.error(res.msg) | ... | ... |
src/views/machine/editEquipmentAccountList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-equipment-account-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -231,7 +231,7 @@ export default { |
| 231 | 231 | this.editEquipmentAccountInfo.communityId = this.communityId |
| 232 | 232 | const res = await updateEquipmentAccount(this.editEquipmentAccountInfo) |
| 233 | 233 | if (res.code === 0) { |
| 234 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 234 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 235 | 235 | this._goBack() |
| 236 | 236 | } else { |
| 237 | 237 | this.$message.error(res.msg) | ... | ... |
src/views/oa/addAttendanceClassesStaffList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-attendance-classes-staff-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -93,7 +93,7 @@ export default { |
| 93 | 93 | try { |
| 94 | 94 | const res = await saveAttendanceClassesStaff(this.form) |
| 95 | 95 | if (res.code === 0) { |
| 96 | - this.$message.success(this.$t('common.addSuccess')) | |
| 96 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 97 | 97 | this.handleGoBack() |
| 98 | 98 | } else { |
| 99 | 99 | this.$message.error(res.msg) | ... | ... |
src/views/oa/addComplaintList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-complaint-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -138,7 +138,7 @@ export default { |
| 138 | 138 | try { |
| 139 | 139 | this.addComplaintInfo.communityId = this.communityId |
| 140 | 140 | await saveComplaint(this.addComplaintInfo) |
| 141 | - this.$message.success(this.$t('addComplaint.saveSuccess')) | |
| 141 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 142 | 142 | this.goBack() |
| 143 | 143 | } catch (error) { |
| 144 | 144 | this.$message.error(error.message || this.$t('addComplaint.saveError')) | ... | ... |
src/views/oa/addComplaintTypeList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="padding"> |
| 3 | 3 | <el-card class="complaint-type-container"> |
| 4 | 4 | <div class="header-wrapper"> |
| ... | ... | @@ -119,7 +119,7 @@ export default { |
| 119 | 119 | |
| 120 | 120 | const res = await saveComplaintType(params) |
| 121 | 121 | if (res.code === 0) { |
| 122 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 122 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 123 | 123 | this.goBack() |
| 124 | 124 | } else { |
| 125 | 125 | this.$message.error(res.msg) | ... | ... |
src/views/oa/addExamineStaffList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-examine-staff-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -136,7 +136,7 @@ export default { |
| 136 | 136 | |
| 137 | 137 | const res = await saveExamineStaff(this.addExamineStaffInfo) |
| 138 | 138 | if (res.code === 0) { |
| 139 | - this.$message.success(this.$t('common.addSuccess')) | |
| 139 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 140 | 140 | this._goBack() |
| 141 | 141 | } else { |
| 142 | 142 | this.$message.error(res.msg) | ... | ... |
src/views/oa/addNoticeViewList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-notice-view-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -114,7 +114,7 @@ export default { |
| 114 | 114 | try { |
| 115 | 115 | const response = await saveNotice(this.addNoticeViewInfo) |
| 116 | 116 | if (response.code === 0) { |
| 117 | - this.$message.success(this.$t('addNoticeView.saveSuccess')) | |
| 117 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 118 | 118 | this.$router.go(-1) |
| 119 | 119 | } else { |
| 120 | 120 | this.$message.error(response.msg) | ... | ... |
src/views/oa/addOwnerVotingList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-owner-voting-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -151,7 +151,7 @@ export default { |
| 151 | 151 | try { |
| 152 | 152 | const res = await saveOwnerVote(this.addOwnerVotingInfo) |
| 153 | 153 | if (res.code === 0) { |
| 154 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 154 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 155 | 155 | this.$router.go(-1) |
| 156 | 156 | } else { |
| 157 | 157 | this.$message.error(res.msg) | ... | ... |
src/views/oa/addQuestionAnswerList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-question-answer-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -209,7 +209,7 @@ export default { |
| 209 | 209 | try { |
| 210 | 210 | const res = await saveQuestionAnswer(this.addQuestionAnswerInfo) |
| 211 | 211 | if (res.code === 0) { |
| 212 | - this.$message.success(this.$t('addQuestionAnswer.saveSuccess')) | |
| 212 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 213 | 213 | this.goBack() |
| 214 | 214 | } else { |
| 215 | 215 | this.$message.error(res.msg) | ... | ... |
src/views/oa/addWorkList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-work-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -254,7 +254,7 @@ export default { |
| 254 | 254 | |
| 255 | 255 | const res = await saveWorkPool(params) |
| 256 | 256 | if (res.code === 0) { |
| 257 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 257 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 258 | 258 | this.goBack() |
| 259 | 259 | } else { |
| 260 | 260 | this.$message.error(res.msg) | ... | ... |
src/views/oa/copyWorkList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="copy-work-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="4"> |
| ... | ... | @@ -303,7 +303,7 @@ export default { |
| 303 | 303 | async _auditSubmit() { |
| 304 | 304 | try { |
| 305 | 305 | await finishWorkCopy(this.copyWorkInfo.audit) |
| 306 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 306 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 307 | 307 | this.auditDialogVisible = false |
| 308 | 308 | this._listCopyWorks(this.page.current, this.page.size) |
| 309 | 309 | } catch (error) { | ... | ... |
src/views/oa/editComplaintTypeList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <el-card class="edit-complaint-type-container"> |
| 3 | 3 | <div slot="header" class="clearfix"> |
| 4 | 4 | <span>{{ $t('editComplaintType.title') }}</span> |
| ... | ... | @@ -135,7 +135,7 @@ export default { |
| 135 | 135 | |
| 136 | 136 | this.editComplaintTypeInfo.staffs = this.$refs.selectStaffs.getSelectedStaffs() |
| 137 | 137 | await updateComplaintType(this.editComplaintTypeInfo) |
| 138 | - this.$message.success(this.$t('editComplaintType.saveSuccess')) | |
| 138 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 139 | 139 | this.handleBack() |
| 140 | 140 | } catch (error) { |
| 141 | 141 | this.$message.error(error.message || this.$t('editComplaintType.saveError')) | ... | ... |
src/views/oa/editExamineStaffList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-examine-staff-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -123,7 +123,7 @@ export default { |
| 123 | 123 | const res = await updateExamineStaff(this.editExamineStaffInfo) |
| 124 | 124 | |
| 125 | 125 | if (res.code === 0) { |
| 126 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 126 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 127 | 127 | this._goBack() |
| 128 | 128 | } else { |
| 129 | 129 | this.$message.error(res.msg) | ... | ... |
src/views/oa/editNoticeViewList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-notice-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -107,7 +107,7 @@ export default { |
| 107 | 107 | try { |
| 108 | 108 | const { code, msg } = await updateNotice(this.editNoticeViewInfo) |
| 109 | 109 | if (code === 0) { |
| 110 | - this.$message.success(this.$t('editNoticeView.updateSuccess')) | |
| 110 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 111 | 111 | this.closeEditNoticeInfo() |
| 112 | 112 | } else { |
| 113 | 113 | this.$message.error(msg) | ... | ... |
src/views/oa/editOwnerVotingList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-owner-voting-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -146,7 +146,7 @@ export default { |
| 146 | 146 | |
| 147 | 147 | try { |
| 148 | 148 | await updateOwnerVote(this.editOwnerVotingInfo) |
| 149 | - this.$message.success(this.$t('editOwnerVoting.saveSuccess')) | |
| 149 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 150 | 150 | this.goBack() |
| 151 | 151 | } catch (error) { |
| 152 | 152 | this.$message.error(error.message || this.$t('editOwnerVoting.saveFailed')) | ... | ... |
src/views/oa/editQuestionAnswerList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-question-answer-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -232,7 +232,7 @@ export default { |
| 232 | 232 | |
| 233 | 233 | try { |
| 234 | 234 | await updateQuestionAnswer(this.editQuestionAnswerInfo) |
| 235 | - this.$message.success(this.$t('editQuestionAnswer.updateSuccess')) | |
| 235 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 236 | 236 | this.goBack() |
| 237 | 237 | } catch (error) { |
| 238 | 238 | console.error('Failed to update question answer:', error) | ... | ... |
src/views/oa/editWorkList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-work-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -263,7 +263,7 @@ export default { |
| 263 | 263 | |
| 264 | 264 | const res = await updateWorkPool(params) |
| 265 | 265 | if (res.code === 0) { |
| 266 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 266 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 267 | 267 | this.goBack() |
| 268 | 268 | } else { |
| 269 | 269 | this.$message.error(res.msg) | ... | ... |
src/views/oa/monthAttendanceManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="month-attendance-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-wrapper"> |
| ... | ... | @@ -228,7 +228,7 @@ export default { |
| 228 | 228 | pagePath: 'monthAttendance' |
| 229 | 229 | } |
| 230 | 230 | await exportMonthAttendance(params) |
| 231 | - this.$message.success(this.$t('monthAttendance.exportSuccess')) | |
| 231 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 232 | 232 | } catch (error) { |
| 233 | 233 | this.$message.error(this.$t('monthAttendance.exportError')) |
| 234 | 234 | } finally { | ... | ... |
src/views/oa/newOaWorkflowDetailList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="new-oa-workflow-detail-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -297,7 +297,7 @@ export default { |
| 297 | 297 | try { |
| 298 | 298 | const response = await auditOaWorkflow(audit) |
| 299 | 299 | if (response.code === 0) { |
| 300 | - this.$message.success(this.$t('newOaWorkflowDetail.submitSuccess')) | |
| 300 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 301 | 301 | this._goBack() |
| 302 | 302 | } else { |
| 303 | 303 | this.$message.error(response.msg) | ... | ... |
src/views/oa/newOaWorkflowFormEditList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="new-oa-workflow-form-edit-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -271,7 +271,7 @@ export default { |
| 271 | 271 | |
| 272 | 272 | const res = await updateOaWorkflowFormData(formData) |
| 273 | 273 | if (res.code === 0) { |
| 274 | - this.$message.success(this.$t('newOaWorkflowFormEdit.submitSuccess')) | |
| 274 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 275 | 275 | this.closeEditInfo() |
| 276 | 276 | } else { |
| 277 | 277 | this.$message.error(res.msg || this.$t('newOaWorkflowFormEdit.submitError')) | ... | ... |
src/views/oa/workTaskDetailList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="work-task-detail-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div class="flex justify-between"> |
| ... | ... | @@ -366,7 +366,7 @@ export default { |
| 366 | 366 | async auditSubmit() { |
| 367 | 367 | try { |
| 368 | 368 | await finishWorkTask(this.workTaskDetailInfo.audit) |
| 369 | - this.$message.success(this.$t('workTaskDetail.submitSuccess')) | |
| 369 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 370 | 370 | this.goBack() |
| 371 | 371 | } catch (error) { |
| 372 | 372 | this.$message.error(error.message || this.$t('workTaskDetail.submitFailed')) | ... | ... |
src/views/org/addScheduleClassesList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-schedule-classes-container"> |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -116,7 +116,7 @@ export default { |
| 116 | 116 | |
| 117 | 117 | const res = await saveScheduleClasses(this.addScheduleClassesInfo) |
| 118 | 118 | if (res.code === 0) { |
| 119 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 119 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 120 | 120 | this.goBack() |
| 121 | 121 | } else { |
| 122 | 122 | this.$message.error(res.msg) | ... | ... |
src/views/org/editScheduleClassesList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-schedule-classes-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -120,7 +120,7 @@ export default { |
| 120 | 120 | async editScheduleClasses() { |
| 121 | 121 | try { |
| 122 | 122 | await updateScheduleClasses(this.editScheduleClassesInfo) |
| 123 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 123 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 124 | 124 | this.goBack() |
| 125 | 125 | } catch (error) { |
| 126 | 126 | this.$message.error(error.message || this.$t('common.updateFailed')) | ... | ... |
src/views/org/scheduleClassesPageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="schedule-classes-container animated fadeInRight"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="box-card"> |
| ... | ... | @@ -199,7 +199,7 @@ export default { |
| 199 | 199 | pagePath: 'reportStaffMonthScheduleClasses' |
| 200 | 200 | } |
| 201 | 201 | await exportData(params) |
| 202 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 202 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 203 | 203 | } catch (error) { |
| 204 | 204 | console.error('导出失败:', error) |
| 205 | 205 | this.$message.error(this.$t('common.exportFailed')) | ... | ... |
src/views/owner/addOwnerCommitteeList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-owner-committee-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -275,7 +275,7 @@ export default { |
| 275 | 275 | const response = await saveOwnerCommittee(this.addOwnerCommitteeInfo) |
| 276 | 276 | |
| 277 | 277 | if (response.code === 0) { |
| 278 | - this.$message.success(this.$t('addOwnerCommittee.saveSuccess')) | |
| 278 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 279 | 279 | this.goBack() |
| 280 | 280 | } else { |
| 281 | 281 | this.$message.error(response.msg || this.$t('addOwnerCommittee.saveError')) | ... | ... |
src/views/owner/auditAuthOwnerUndoList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="audit-auth-owner-undo-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -197,7 +197,7 @@ export default { |
| 197 | 197 | this.$message.error(res.msg) |
| 198 | 198 | return |
| 199 | 199 | } |
| 200 | - this.$message.success(this.$t('auditAuthOwnerUndo.submitSuccess')) | |
| 200 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 201 | 201 | this.$router.go(-1) |
| 202 | 202 | } catch (error) { |
| 203 | 203 | this.$message.error(this.$t('auditAuthOwnerUndo.submitFailed') + error) | ... | ... |
src/views/owner/editOwnerCommitteeList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-owner-committee-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -259,7 +259,7 @@ export default { |
| 259 | 259 | try { |
| 260 | 260 | await this.$refs.form.validate() |
| 261 | 261 | await updateOwnerCommittee(this.formData) |
| 262 | - this.$message.success(this.$t('editOwnerCommittee.updateSuccess')) | |
| 262 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 263 | 263 | this.goBack() |
| 264 | 264 | } catch (error) { |
| 265 | 265 | if (error instanceof Error) { | ... | ... |
src/views/owner/ownerBindRoom.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="room-bind-owner-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -162,7 +162,7 @@ export default { |
| 162 | 162 | |
| 163 | 163 | const res = await sellRoom(data) |
| 164 | 164 | if (res.code === 0) { |
| 165 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 165 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 166 | 166 | this._goBack() |
| 167 | 167 | } else { |
| 168 | 168 | this.$message.error(res.msg || this.$t('common.submitFailed')) | ... | ... |
src/views/owner/ownerCommitteeManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="owner-committee-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-wrapper"> |
| ... | ... | @@ -161,7 +161,7 @@ export default { |
| 161 | 161 | }, |
| 162 | 162 | handleDeleteSuccess() { |
| 163 | 163 | this.getList() |
| 164 | - this.$message.success(this.$t('ownerCommitteeManage.deleteSuccess')) | |
| 164 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 165 | 165 | }, |
| 166 | 166 | handleSizeChange(val) { |
| 167 | 167 | this.pagination.size = val | ... | ... |
src/views/owner/roomBindOwnerList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="room-bind-owner-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between" > |
| ... | ... | @@ -160,7 +160,7 @@ export default { |
| 160 | 160 | |
| 161 | 161 | const res = await sellRoom(data) |
| 162 | 162 | if (res.code === 0) { |
| 163 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 163 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 164 | 164 | this._goBack() |
| 165 | 165 | } else { |
| 166 | 166 | this.$message.error(res.msg || this.$t('common.submitFailed')) | ... | ... |
src/views/report/reportFeeSummaryList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="report-fee-summary-container animated fadeInRight"> |
| 3 | 3 | <el-row class="flex justify-start" :gutter="20"> |
| 4 | 4 | <el-col :span="3" class="padding-r-0"> |
| ... | ... | @@ -305,7 +305,7 @@ export default { |
| 305 | 305 | } |
| 306 | 306 | |
| 307 | 307 | await exportData(params) |
| 308 | - this.$message.success(this.$t('reportFeeSummary.exportSuccess')) | |
| 308 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 309 | 309 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 310 | 310 | } catch (error) { |
| 311 | 311 | console.error('Failed to export:', error) | ... | ... |
src/views/report/reportNoFeeRoomList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="report-no-fee-room-container animated fadeInRight"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -214,7 +214,7 @@ export default { |
| 214 | 214 | pagePath: 'reportNoFeeRoom' |
| 215 | 215 | } |
| 216 | 216 | await exportData(params) |
| 217 | - this.$message.success(this.$t('reportNoFeeRoom.exportSuccess')) | |
| 217 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 218 | 218 | } catch (error) { |
| 219 | 219 | console.error('导出失败:', error) |
| 220 | 220 | this.$message.error(this.$t('reportNoFeeRoom.exportFailed')) | ... | ... |
src/views/report/reportQuestionAnswerDetailList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="report-question-answer-detail-container animated fadeInRight"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -163,7 +163,7 @@ export default { |
| 163 | 163 | pagePath: 'reportQuestionAnswerDetail' |
| 164 | 164 | } |
| 165 | 165 | await exportData(params) |
| 166 | - this.$message.success(this.$t('reportQuestionAnswerDetail.exportSuccess')) | |
| 166 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 167 | 167 | } catch (error) { |
| 168 | 168 | this.$message.error(this.$t('reportQuestionAnswerDetail.exportError')) |
| 169 | 169 | } | ... | ... |
src/views/resource/addItemOutList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div> |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -378,7 +378,7 @@ export default { |
| 378 | 378 | try { |
| 379 | 379 | const res = await goodsCollection(this.addItemOutInfo) |
| 380 | 380 | if (res.code === 0) { |
| 381 | - this.$message.success(this.$t('addItemOut.submitSuccess')) | |
| 381 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 382 | 382 | this.goBack() |
| 383 | 383 | } else { |
| 384 | 384 | this.$message.error(res.msg || this.$t('addItemOut.submitFailed')) | ... | ... |
src/views/resource/addPurchaseApplyList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-purchase-apply-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -282,7 +282,7 @@ export default { |
| 282 | 282 | const res = await purchaseApply(this.addPurchaseApplyInfo) |
| 283 | 283 | if (res.code === 0) { |
| 284 | 284 | this.$router.go(-1) |
| 285 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 285 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 286 | 286 | } else { |
| 287 | 287 | this.$message.error(res.msg) |
| 288 | 288 | } | ... | ... |
src/views/resource/allocationStorehouseApplyList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="allocation-storehouse-apply-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -379,7 +379,7 @@ export default { |
| 379 | 379 | try { |
| 380 | 380 | const res = await saveAllocationStorehouse(this.form) |
| 381 | 381 | if (res.code === 0) { |
| 382 | - this.$message.success(this.$t('allocationStorehouseApply.submitSuccess')) | |
| 382 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 383 | 383 | this.goBack() |
| 384 | 384 | } else { |
| 385 | 385 | this.$message.error(res.msg) | ... | ... |
src/views/resource/allocationStorehouseDetailedList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="animated fadeInRight ecommerce padding"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="4"> |
| ... | ... | @@ -375,7 +375,7 @@ export default { |
| 375 | 375 | pagePath: 'allocationStorehouseDetailed' |
| 376 | 376 | } |
| 377 | 377 | await exportData(params) |
| 378 | - this.$message.success(this.$t('allocationStorehouseDetailed.exportSuccess')) | |
| 378 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 379 | 379 | // 这里可以添加跳转到下载页面的逻辑 |
| 380 | 380 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 381 | 381 | } catch (error) { | ... | ... |
src/views/resource/allocationStorehouseEnterList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="allocation-storehouse-enter-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -145,7 +145,7 @@ export default { |
| 145 | 145 | |
| 146 | 146 | try { |
| 147 | 147 | await allocationStoreEnter(this.allocationStorehouseEnterInfo) |
| 148 | - this.$message.success(this.$t('allocationStorehouseEnter.submitSuccess')) | |
| 148 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 149 | 149 | this.$router.go(-1) |
| 150 | 150 | } catch (error) { |
| 151 | 151 | this.$message.error(error.message || this.$t('allocationStorehouseEnter.submitError')) | ... | ... |
src/views/resource/allocationUserStorehouseManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="allocation-user-storehouse-manage-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-wrapper"> |
| ... | ... | @@ -446,7 +446,7 @@ export default { |
| 446 | 446 | ...this.allocationUserStorehouseManageInfo.conditions |
| 447 | 447 | } |
| 448 | 448 | await exportData(params) |
| 449 | - this.$message.success(this.$t('allocationUserStorehouseManage.exportSuccess')) | |
| 449 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 450 | 450 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 451 | 451 | } catch (error) { |
| 452 | 452 | console.error('Failed to export:', error) | ... | ... |
src/views/resource/assetInventoryManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="asset-inventory-manage-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="4" class=""> |
| ... | ... | @@ -252,7 +252,7 @@ export default { |
| 252 | 252 | pagePath: 'assetInventoryManage' |
| 253 | 253 | } |
| 254 | 254 | await exportAssetInventory(params) |
| 255 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 255 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 256 | 256 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 257 | 257 | } catch (error) { |
| 258 | 258 | console.error('导出失败:', error) | ... | ... |
src/views/resource/editAllocationStorehouseApplyList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-allocation-storehouse-apply-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -273,7 +273,7 @@ export default { |
| 273 | 273 | this.loading = true |
| 274 | 274 | const response = await updateAllocationStorehouse(this.formData) |
| 275 | 275 | if (response.code === 0) { |
| 276 | - this.$message.success(this.$t('editAllocationStorehouseApply.updateSuccess')) | |
| 276 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 277 | 277 | this.$router.go(-1) |
| 278 | 278 | } else { |
| 279 | 279 | this.$message.error(response.msg) | ... | ... |
src/views/resource/editPurchaseApplyList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-purchase-apply-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -201,7 +201,7 @@ export default { |
| 201 | 201 | |
| 202 | 202 | try { |
| 203 | 203 | await updatePurchaseApply(this.editPurchaseApplyInfo) |
| 204 | - this.$message.success(this.$t('editPurchaseApply.updateSuccess')) | |
| 204 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 205 | 205 | this.goBack() |
| 206 | 206 | } catch (error) { |
| 207 | 207 | console.error('提交采购申请失败:', error) | ... | ... |
src/views/resource/itemOutManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="item-out-manage-container"> |
| 3 | 3 | <el-row class="wrapper" :gutter="10"> |
| 4 | 4 | <el-col :span="4" class="padding-r-0"> |
| ... | ... | @@ -246,7 +246,7 @@ export default { |
| 246 | 246 | pagePath: 'itemOutManage' |
| 247 | 247 | } |
| 248 | 248 | await exportData(params) |
| 249 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 249 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 250 | 250 | this.$router.push('/pages/property/downloadTempFile?tab=downloadCenter') |
| 251 | 251 | } catch (error) { |
| 252 | 252 | console.error('导出失败:', error) | ... | ... |
src/views/resource/purchaseApplyManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="purchase-apply-manage-container"> |
| 3 | 3 | |
| 4 | 4 | <div class="wrapper wrapper-content animated fadeInRight ecommerce"> |
| ... | ... | @@ -277,7 +277,7 @@ export default { |
| 277 | 277 | pagePath: 'purchaseApplyManage' |
| 278 | 278 | } |
| 279 | 279 | await exportData(params) |
| 280 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 280 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 281 | 281 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 282 | 282 | } catch (error) { |
| 283 | 283 | console.error('导出失败:', error) | ... | ... |
src/views/resource/resourceAuditFlowList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="resource-audit-flow-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-card"> |
| ... | ... | @@ -182,7 +182,7 @@ export default { |
| 182 | 182 | this.loading = true |
| 183 | 183 | const res = await deployWorkflow({ modelId: row.modelId }) |
| 184 | 184 | if (res.code === 0) { |
| 185 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 185 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 186 | 186 | this.fetchData() |
| 187 | 187 | } else { |
| 188 | 188 | this.$message.error(res.msg || this.$t('common.submitFailed')) | ... | ... |
src/views/resource/resourceEnterManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="resource-enter-manage-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -165,7 +165,7 @@ export default { |
| 165 | 165 | try { |
| 166 | 166 | const response = await resourceEnter(this.resourceEnterManageInfo) |
| 167 | 167 | if (response.code === 0) { |
| 168 | - this.$message.success(this.$t('resourceEnterManage.submitSuccess')) | |
| 168 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 169 | 169 | this.$router.go(-1) |
| 170 | 170 | } else { |
| 171 | 171 | this.$message.error(response.msg) | ... | ... |
src/views/resource/resourceOutManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="resource-out-manage-container"> |
| 3 | 3 | <div class="box-card"> |
| 4 | 4 | <div class="card-header flex justify-between"> |
| ... | ... | @@ -151,7 +151,7 @@ export default { |
| 151 | 151 | |
| 152 | 152 | const response = await submitResourceOut(this.resourceOutManageInfo) |
| 153 | 153 | if (response.code === 0) { |
| 154 | - this.$message.success(this.$t('resourceOutManage.submitSuccess')) | |
| 154 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 155 | 155 | this.$router.go(-1) |
| 156 | 156 | } else { |
| 157 | 157 | this.$message.error(response.msg) | ... | ... |
src/views/resource/resourceStoreManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="animated fadeInRight ecommerce"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="5" class="tree-container"> |
| ... | ... | @@ -470,7 +470,7 @@ export default { |
| 470 | 470 | try { |
| 471 | 471 | this.resourceStoreManageInfo.conditions.pagePath = 'resourceStoreManage' |
| 472 | 472 | const res = await exportData(this.resourceStoreManageInfo.conditions) |
| 473 | - this.$message.success(this.$t('resourceStoreManage.exportSuccess')) | |
| 473 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 474 | 474 | if (res && res.code === 0) { |
| 475 | 475 | window.open('/#/pages/property/downloadTempFile?tab=下载中心') |
| 476 | 476 | } | ... | ... |
src/views/resource/resourceStoreUseRecordManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="resource-store-use-record-manage-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-wrapper"> |
| ... | ... | @@ -331,7 +331,7 @@ export default { |
| 331 | 331 | ...this.resourceStoreUseRecordManageInfo.conditions |
| 332 | 332 | } |
| 333 | 333 | await exportData(params) |
| 334 | - this.$message.success(this.$t('common.exportSuccess')) | |
| 334 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 335 | 335 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 336 | 336 | } catch (error) { |
| 337 | 337 | console.error(error) | ... | ... |
src/views/resource/returnStorehouseApplyManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="animated fadeInRight ecommerce padding"> |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -238,7 +238,7 @@ export default { |
| 238 | 238 | try { |
| 239 | 239 | const res = await saveAllocationStorehouse(this.returnStorehouseManageInfo) |
| 240 | 240 | if (res.code === 0) { |
| 241 | - this.$message.success(this.$t('returnStorehouseApplyManage.returnSuccess')) | |
| 241 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 242 | 242 | this._goBack() |
| 243 | 243 | } else { |
| 244 | 244 | this.$message.error(res.msg) | ... | ... |
src/views/resource/scrapGoodsStepList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="scrap-goods-step-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -188,7 +188,7 @@ export default { |
| 188 | 188 | saveAllocationUserStorehouse(this.form) |
| 189 | 189 | .then(response => { |
| 190 | 190 | if (response.code === 0) { |
| 191 | - this.$message.success(this.$t('scrapGoodsStep.submitSuccess')) | |
| 191 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 192 | 192 | this.$router.push('/resource/myResourceStoreManage') |
| 193 | 193 | } else { |
| 194 | 194 | this.$message.error(response.msg) | ... | ... |
src/views/resource/transferGoodsManageList.vue
| ... | ... | @@ -242,7 +242,7 @@ export default { |
| 242 | 242 | postData |
| 243 | 243 | ) |
| 244 | 244 | if (res.code === 0) { |
| 245 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 245 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 246 | 246 | this.$router.push('/resource/myResourceStoreManage') |
| 247 | 247 | } else { |
| 248 | 248 | this.$message.error(res.msg) | ... | ... |
src/views/resource/urgentPurchaseApplyStepList.vue
src/views/room/addRoomViewList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-room-view-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between "> |
| ... | ... | @@ -308,7 +308,7 @@ export default { |
| 308 | 308 | |
| 309 | 309 | try { |
| 310 | 310 | await saveRoom(this.addRoomViewInfo) |
| 311 | - this.$message.success(this.$t('addRoomView.saveSuccess')) | |
| 311 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 312 | 312 | this._goBack() |
| 313 | 313 | } catch (error) { |
| 314 | 314 | console.error('保存失败:', error) | ... | ... |
src/views/room/handoverList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="handover-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -179,7 +179,7 @@ export default { |
| 179 | 179 | try { |
| 180 | 180 | const res = await saveHandover(this.handoverInfo) |
| 181 | 181 | if (res.code === 0) { |
| 182 | - this.$message.success(this.$t('handover.submitSuccess')) | |
| 182 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 183 | 183 | this.goBack() |
| 184 | 184 | } else { |
| 185 | 185 | this.$message.error(res.msg) | ... | ... |
src/views/room/ownerExitRoomList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="owner-exit-room-container"> |
| 3 | 3 | <!-- 业主信息 --> |
| 4 | 4 | <el-card class="box-card"> |
| ... | ... | @@ -154,7 +154,7 @@ export default { |
| 154 | 154 | try { |
| 155 | 155 | const res = await ownerExitRoom(this.ownerExitRoomInfo) |
| 156 | 156 | if (res.code === 0) { |
| 157 | - this.$message.success(this.$t('common.submitSuccess')) | |
| 157 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 158 | 158 | this.goBack() |
| 159 | 159 | } else { |
| 160 | 160 | this.$message.error(res.msg) | ... | ... |
src/views/scm/addReserveDiningList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-reserve-dining-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -158,7 +158,7 @@ export default { |
| 158 | 158 | const response = await saveReserveGoods(this.addReserveDiningInfo) |
| 159 | 159 | |
| 160 | 160 | if (response.code === 0) { |
| 161 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 161 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 162 | 162 | this.goBack() |
| 163 | 163 | } else { |
| 164 | 164 | this.$message.error(response.msg) | ... | ... |
src/views/scm/addReserveServiceList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-reserve-service-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -188,7 +188,7 @@ export default { |
| 188 | 188 | try { |
| 189 | 189 | const response = await saveReserveGoods(this.addReserveServiceInfo) |
| 190 | 190 | if (response.code === 0) { |
| 191 | - this.$message.success(this.$t('addReserveService.saveSuccess')) | |
| 191 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 192 | 192 | this.$router.go(-1) |
| 193 | 193 | } else { |
| 194 | 194 | this.$message.error(response.msg) | ... | ... |
src/views/scm/couponPropertyUserDetailList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="coupon-property-user-detail-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="6"> |
| ... | ... | @@ -178,7 +178,7 @@ export default { |
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | this.couponId = '' |
| 181 | - this.$message.success(this.$t('couponPropertyUser.verifySuccess')) | |
| 181 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 182 | 182 | this.getList() |
| 183 | 183 | |
| 184 | 184 | if (res.data && res.data.length > 0) { | ... | ... |
src/views/scm/editReserveDiningList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-reserve-dining-container"> |
| 3 | 3 | <el-card> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -203,7 +203,7 @@ export default { |
| 203 | 203 | try { |
| 204 | 204 | const res = await updateReserveGoods(this.editReserveDiningInfo) |
| 205 | 205 | if (res.code === 0) { |
| 206 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 206 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 207 | 207 | this.$router.go(-1) |
| 208 | 208 | } else { |
| 209 | 209 | this.$message.error(res.msg) | ... | ... |
src/views/scm/editReserveServiceList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-reserve-service-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="clearfix"> |
| ... | ... | @@ -257,7 +257,7 @@ export default { |
| 257 | 257 | const { code, msg } = await updateReserveGoods(this.editReserveServiceInfo) |
| 258 | 258 | |
| 259 | 259 | if (code === 0) { |
| 260 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 260 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 261 | 261 | this.$router.go(-1) |
| 262 | 262 | } else { |
| 263 | 263 | this.$message.error(msg) | ... | ... |
src/views/scm/ownerDiningList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="owner-dining-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-wrapper"> |
| ... | ... | @@ -186,7 +186,7 @@ export default { |
| 186 | 186 | pagePath: 'ownerDining' |
| 187 | 187 | } |
| 188 | 188 | await exportData(params) |
| 189 | - this.$message.success(this.$t('ownerDining.exportSuccess')) | |
| 189 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 190 | 190 | } catch (error) { |
| 191 | 191 | this.$message.error(this.$t('ownerDining.exportError')) |
| 192 | 192 | } finally { | ... | ... |
src/views/scm/reserveConfirmList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="reserve-confirm-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="6"> |
| ... | ... | @@ -244,7 +244,7 @@ export default { |
| 244 | 244 | return |
| 245 | 245 | } |
| 246 | 246 | |
| 247 | - this.$message.success(this.$t('reserveConfirm.confirmSuccess')) | |
| 247 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 248 | 248 | this.reserveConfirmInfo.timeId = '' |
| 249 | 249 | this.listReserveConfirms() |
| 250 | 250 | ... | ... |
src/views/staff/aStaffDetailList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="padding"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div class="flex justify-between"> |
| ... | ... | @@ -162,11 +162,11 @@ export default { |
| 162 | 162 | this.staffDetailInfo.photo = "/img/noPhoto.jpg" |
| 163 | 163 | }, |
| 164 | 164 | handleResetSuccess() { |
| 165 | - this.$message.success(this.$t('aStaffDetailList.resetSuccess')) | |
| 165 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 166 | 166 | }, |
| 167 | 167 | handleEditSuccess() { |
| 168 | 168 | this.loadStaffInfo() |
| 169 | - this.$message.success(this.$t('aStaffDetailList.editSuccess')) | |
| 169 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 170 | 170 | }, |
| 171 | 171 | |
| 172 | 172 | } | ... | ... |
src/views/system/communitySettingManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="community-setting-manage-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="4"> |
| ... | ... | @@ -111,7 +111,7 @@ export default { |
| 111 | 111 | this.$message.error(msg) |
| 112 | 112 | return; |
| 113 | 113 | } |
| 114 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 114 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 115 | 115 | this.loadSettingKeys() |
| 116 | 116 | } catch (error) { |
| 117 | 117 | console.error('保存设置失败:', error) | ... | ... |
src/views/system/feePrintPageManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="fee-print-page-manage-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-wrapper"> |
| ... | ... | @@ -160,7 +160,7 @@ export default { |
| 160 | 160 | pageId: row.pageId, |
| 161 | 161 | state: 'T' |
| 162 | 162 | }).then(() => { |
| 163 | - this.$message.success(this.$t('feePrintPageManage.enableSuccess')) | |
| 163 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 164 | 164 | this.getList() |
| 165 | 165 | }) |
| 166 | 166 | }, | ... | ... |
src/views/system/historyFeeDetailImportList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="history-fee-detail-import-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -108,7 +108,7 @@ export default { |
| 108 | 108 | try { |
| 109 | 109 | const res = await importData(param) |
| 110 | 110 | if (res.code === 0) { |
| 111 | - this.$message.success(this.$t('historyFeeDetailImport.importSuccess')) | |
| 111 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 112 | 112 | this.historyFeeDetailImportInfo.excelTemplate = null |
| 113 | 113 | this.$router.push({ |
| 114 | 114 | path: '/views/system/assetImportLogDetail', | ... | ... |
src/views/system/registerProtocolList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="register-protocol-container"> |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -80,7 +80,7 @@ export default { |
| 80 | 80 | async updateRegisterProtocol() { |
| 81 | 81 | try { |
| 82 | 82 | await updateRegisterProtocol(this.registerProtocolInfo) |
| 83 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 83 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 84 | 84 | this.listRegisterProtocols() |
| 85 | 85 | } catch (error) { |
| 86 | 86 | this.$message.error(error.message || this.$t('common.updateFailed')) | ... | ... |
src/views/system/systemInfoManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="system-info-manage-container"> |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -147,7 +147,7 @@ export default { |
| 147 | 147 | handleEditSuccess() { |
| 148 | 148 | this.getSystemInfo() |
| 149 | 149 | this.editDialogVisible = false |
| 150 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 150 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 151 | 151 | } |
| 152 | 152 | } |
| 153 | 153 | } | ... | ... |
src/views/system/workflowSettingManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="workflow-setting-container"> |
| 3 | 3 | <el-row :gutter="20"> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -222,7 +222,7 @@ export default { |
| 222 | 222 | ...this.workflowSettingInfo, |
| 223 | 223 | communityId: this.communityId |
| 224 | 224 | }) |
| 225 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 225 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 226 | 226 | this._goBack() |
| 227 | 227 | } catch (error) { |
| 228 | 228 | this.$message.error(error.message) | ... | ... |
src/views/tenant/addAppApi.vue
| 1 | -<template> | |
| 2 | - <div class="add-app-api-container"> | |
| 3 | - <el-card class="box-card"> | |
| 4 | - <div class="card-title" slot="header"> | |
| 5 | - <span> | |
| 6 | - {{ $t('addAppApi.title') }} | |
| 7 | - </span> | |
| 8 | - </div> | |
| 9 | - <div class="api-info-list"> | |
| 10 | - <div class="api-info-row"> | |
| 11 | - <div class="api-info-item"> | |
| 12 | - <span class="label"> | |
| 13 | - {{ $t('addAppApi.appName') }}: | |
| 14 | - </span> | |
| 15 | - <span class="value"> | |
| 16 | - {{ form.name || '-' }} | |
| 17 | - </span> | |
| 18 | - </div> | |
| 19 | - <div class="api-info-item"> | |
| 20 | - <span class="label"> | |
| 21 | - {{ $t('addAppApi.appId') }}: | |
| 22 | - </span> | |
| 23 | - <span class="value"> | |
| 24 | - {{ form.appId || '-' }} | |
| 25 | - </span> | |
| 26 | - </div> | |
| 27 | - <div class="api-info-item"> | |
| 28 | - <span class="label"> | |
| 29 | - {{ $t('addAppApi.remark') }}: | |
| 30 | - </span> | |
| 31 | - <span class="value"> | |
| 32 | - {{ form.remark || '-' }} | |
| 33 | - </span> | |
| 34 | - </div> | |
| 35 | - </div> | |
| 36 | - </div> | |
| 37 | - </el-card> | |
| 38 | - <!-- 新增:选择接口卡片 --> | |
| 39 | - <el-card class="box-card select-api-card"> | |
| 40 | - <div class="card-title select-api-title-row" slot="header"> | |
| 41 | - <span> | |
| 42 | - {{ $t('addAppApi.selectApiTitle') }} | |
| 43 | - </span> | |
| 44 | - <el-button @click="showSelectDialog" class="select-btn" size="mini" type="primary"> | |
| 45 | - {{ $t('common.selectBtn') }} | |
| 46 | - </el-button> | |
| 47 | - </div> | |
| 48 | - <div class="api-info-list"> | |
| 49 | - <div class="api-info-row"> | |
| 50 | - <div class="api-info-item"> | |
| 51 | - <span class="label"> | |
| 52 | - {{ $t('addAppApi.interfaceName.label') }}: | |
| 53 | - </span> | |
| 54 | - <span class="value"> | |
| 55 | - {{ selectApi.apiName || '-' }} | |
| 56 | - </span> | |
| 57 | - </div> | |
| 58 | - <div class="api-info-item"> | |
| 59 | - <span class="label"> | |
| 60 | - {{ $t('addAppApi.interfaceCode.label') }}: | |
| 61 | - </span> | |
| 62 | - <span class="value"> | |
| 63 | - {{ selectApi.apiCode || '-' }} | |
| 64 | - </span> | |
| 65 | - </div> | |
| 66 | - <div class="api-info-item"> | |
| 67 | - <span class="label"> | |
| 68 | - {{ $t('addAppApi.seq.label') }}: | |
| 69 | - </span> | |
| 70 | - <span class="value"> | |
| 71 | - {{ selectApi.seq || '-' }} | |
| 72 | - </span> | |
| 73 | - </div> | |
| 74 | - <div class="api-info-item"> | |
| 75 | - <span class="label"> | |
| 76 | - {{ $t('addAppApi.remark') }}: | |
| 77 | - </span> | |
| 78 | - <span class="value"> | |
| 79 | - {{ selectApi.remark || '-' }} | |
| 80 | - </span> | |
| 81 | - </div> | |
| 82 | - </div> | |
| 83 | - </div> | |
| 84 | - </el-card> | |
| 85 | - | |
| 86 | - <!-- 页面底部提交按钮 --> | |
| 87 | - <div class="page-actions"> | |
| 88 | - <!--返回按钮--> | |
| 89 | - <el-button @click="$router.go(-1)" type="default"> | |
| 90 | - {{ $t('common.cancel') }} | |
| 91 | - </el-button> | |
| 92 | - <el-button @click="handleSubmit" type="primary"> | |
| 93 | - {{ $t('common.submit') }} | |
| 94 | - </el-button> | |
| 95 | - </div> | |
| 96 | - <select-hc-api :dialog-visible="selectDialogVisible" @select="handleApiSelect" @update:dialogvisible="val => selectDialogVisible = val" ref="selectHcApiRef"> | |
| 97 | - </select-hc-api> | |
| 98 | - </div> | |
| 99 | -</template> | |
| 100 | - | |
| 101 | -<script> | |
| 102 | - import { getHcAppList } from '@/api/tenant/hcAppApi' | |
| 103 | - import { addAppApi } from '@/api/tenant/appApiApi' | |
| 104 | - import { deepCopy } from '@/api/util/vcApi' | |
| 105 | - import SelectHcApi from '@/components/tenant/SelectHcApi.vue'; | |
| 106 | - | |
| 107 | - export default { | |
| 108 | - name: 'AddAppApi', | |
| 109 | - data() { | |
| 110 | - return { | |
| 111 | - form: { | |
| 112 | - appId: '', | |
| 113 | - name: '', | |
| 114 | - remark: '' | |
| 115 | - }, | |
| 116 | - selectApi: { | |
| 117 | - apiId: '', | |
| 118 | - apiCode: '', | |
| 119 | - apiName: '', | |
| 120 | - seq: '', | |
| 121 | - remark: '' | |
| 122 | - }, | |
| 123 | - selectDialogVisible: false, | |
| 124 | - apiList: [], // 这里填充你的API列表数据 | |
| 125 | - selectedApi: null | |
| 126 | - } | |
| 127 | - }, | |
| 128 | - created() { | |
| 129 | - const { appId } = this.$route.query | |
| 130 | - this.form.appId = appId; | |
| 131 | - this.getApp(); | |
| 132 | - }, | |
| 133 | - components: { | |
| 134 | - SelectHcApi | |
| 135 | - }, | |
| 136 | - methods: { | |
| 137 | - showSelectDialog() { | |
| 138 | - this.$refs.selectHcApiRef.openDialog(); | |
| 139 | - }, | |
| 140 | - handleApiSelect(api) { | |
| 141 | - deepCopy(api, this.selectApi) | |
| 142 | - console.log('Selected API:', api); | |
| 143 | - }, | |
| 144 | - async getApp() { | |
| 145 | - const params = { | |
| 146 | - page: 1, | |
| 147 | - row: 1, | |
| 148 | - appId: this.form.appId, | |
| 149 | - } | |
| 150 | - const { data } = await getHcAppList(params) | |
| 151 | - deepCopy(data.data[0], this.form) | |
| 152 | - console.log(this.form, data.data[0]) | |
| 153 | - }, | |
| 154 | - async handleSubmit() { | |
| 155 | - console.log('addAppApi type:', typeof addAppApi); // 添加这行调试信息 | |
| 156 | - try { | |
| 157 | - await addAppApi({ | |
| 158 | - appId: this.form.appId, | |
| 159 | - apiId: this.selectApi.apiId, | |
| 160 | - apiCode: this.selectApi.apiCode, | |
| 161 | - }) | |
| 162 | - this.$message.success(this.$t('tenant.add.success')) | |
| 163 | - this.$emit('success') | |
| 164 | - this.$router.go(-1) | |
| 165 | - } catch (error) { | |
| 166 | - console.error('添加失败:', error) | |
| 167 | - } | |
| 168 | - } | |
| 169 | - } | |
| 170 | - } | |
| 171 | -</script> | |
| 172 | - | |
| 173 | -<style lang="scss" scoped> | |
| 174 | -.add-app-api-container { | |
| 175 | - width: 100%; | |
| 176 | - padding: 40px 0 0 0; | |
| 177 | - | |
| 178 | - .box-card { | |
| 179 | - width: 100%; | |
| 180 | - box-sizing: border-box; | |
| 181 | - | |
| 182 | - .card-title { | |
| 183 | - text-align: left; | |
| 184 | - font-size: 18px; | |
| 185 | - font-weight: bold; | |
| 186 | - color: #333; | |
| 187 | - } | |
| 188 | - | |
| 189 | - .api-info-list { | |
| 190 | - margin-top: 20px; | |
| 191 | - | |
| 192 | - .api-info-row { | |
| 193 | - display: flex; | |
| 194 | - flex-wrap: nowrap; | |
| 195 | - | |
| 196 | - .api-info-item { | |
| 197 | - flex: 1 1 0; | |
| 198 | - min-width: 0; | |
| 199 | - display: flex; | |
| 200 | - flex-direction: row; | |
| 201 | - align-items: center; | |
| 202 | - margin-right: 24px; | |
| 203 | - | |
| 204 | - .label { | |
| 205 | - color: #888; | |
| 206 | - font-size: 14px; | |
| 207 | - margin-bottom: 0; | |
| 208 | - margin-right: 0; | |
| 209 | - white-space: nowrap; | |
| 210 | - } | |
| 211 | - | |
| 212 | - .value { | |
| 213 | - color: #222; | |
| 214 | - font-size: 16px; | |
| 215 | - word-break: break-all; | |
| 216 | - flex: 1; | |
| 217 | - } | |
| 218 | - } | |
| 219 | - | |
| 220 | - .api-info-item:last-child { | |
| 221 | - margin-right: 0; | |
| 222 | - } | |
| 223 | - } | |
| 224 | - } | |
| 225 | - } | |
| 226 | - | |
| 227 | - .select-api-card { | |
| 228 | - margin-top: 20px; | |
| 229 | - } | |
| 230 | - | |
| 231 | - .select-api-title-row { | |
| 232 | - display: flex; | |
| 233 | - justify-content: space-between; | |
| 234 | - align-items: center; | |
| 235 | - | |
| 236 | - .select-btn { | |
| 237 | - margin-left: 16px; | |
| 238 | - } | |
| 239 | - } | |
| 240 | - | |
| 241 | - .page-actions { | |
| 242 | - width: 100%; | |
| 243 | - margin-top: 32px; | |
| 244 | - display: flex; | |
| 245 | - justify-content: flex-end; | |
| 246 | - } | |
| 247 | -} | |
| 1 | +<template> | |
| 2 | + <div class="add-app-api-container"> | |
| 3 | + <el-card class="box-card"> | |
| 4 | + <div class="card-title" slot="header"> | |
| 5 | + <span> | |
| 6 | + {{ $t('addAppApi.title') }} | |
| 7 | + </span> | |
| 8 | + </div> | |
| 9 | + <div class="api-info-list"> | |
| 10 | + <div class="api-info-row"> | |
| 11 | + <div class="api-info-item"> | |
| 12 | + <span class="label"> | |
| 13 | + {{ $t('addAppApi.appName') }}: | |
| 14 | + </span> | |
| 15 | + <span class="value"> | |
| 16 | + {{ form.name || '-' }} | |
| 17 | + </span> | |
| 18 | + </div> | |
| 19 | + <div class="api-info-item"> | |
| 20 | + <span class="label"> | |
| 21 | + {{ $t('addAppApi.appId') }}: | |
| 22 | + </span> | |
| 23 | + <span class="value"> | |
| 24 | + {{ form.appId || '-' }} | |
| 25 | + </span> | |
| 26 | + </div> | |
| 27 | + <div class="api-info-item"> | |
| 28 | + <span class="label"> | |
| 29 | + {{ $t('addAppApi.remark') }}: | |
| 30 | + </span> | |
| 31 | + <span class="value"> | |
| 32 | + {{ form.remark || '-' }} | |
| 33 | + </span> | |
| 34 | + </div> | |
| 35 | + </div> | |
| 36 | + </div> | |
| 37 | + </el-card> | |
| 38 | + <!-- 新增:选择接口卡片 --> | |
| 39 | + <el-card class="box-card select-api-card"> | |
| 40 | + <div class="card-title select-api-title-row" slot="header"> | |
| 41 | + <span> | |
| 42 | + {{ $t('addAppApi.selectApiTitle') }} | |
| 43 | + </span> | |
| 44 | + <el-button @click="showSelectDialog" class="select-btn" size="mini" type="primary"> | |
| 45 | + {{ $t('common.selectBtn') }} | |
| 46 | + </el-button> | |
| 47 | + </div> | |
| 48 | + <div class="api-info-list"> | |
| 49 | + <div class="api-info-row"> | |
| 50 | + <div class="api-info-item"> | |
| 51 | + <span class="label"> | |
| 52 | + {{ $t('addAppApi.interfaceName.label') }}: | |
| 53 | + </span> | |
| 54 | + <span class="value"> | |
| 55 | + {{ selectApi.apiName || '-' }} | |
| 56 | + </span> | |
| 57 | + </div> | |
| 58 | + <div class="api-info-item"> | |
| 59 | + <span class="label"> | |
| 60 | + {{ $t('addAppApi.interfaceCode.label') }}: | |
| 61 | + </span> | |
| 62 | + <span class="value"> | |
| 63 | + {{ selectApi.apiCode || '-' }} | |
| 64 | + </span> | |
| 65 | + </div> | |
| 66 | + <div class="api-info-item"> | |
| 67 | + <span class="label"> | |
| 68 | + {{ $t('addAppApi.seq.label') }}: | |
| 69 | + </span> | |
| 70 | + <span class="value"> | |
| 71 | + {{ selectApi.seq || '-' }} | |
| 72 | + </span> | |
| 73 | + </div> | |
| 74 | + <div class="api-info-item"> | |
| 75 | + <span class="label"> | |
| 76 | + {{ $t('addAppApi.remark') }}: | |
| 77 | + </span> | |
| 78 | + <span class="value"> | |
| 79 | + {{ selectApi.remark || '-' }} | |
| 80 | + </span> | |
| 81 | + </div> | |
| 82 | + </div> | |
| 83 | + </div> | |
| 84 | + </el-card> | |
| 85 | + | |
| 86 | + | |
| 87 | + <!-- 页面底部提交按钮 --> | |
| 88 | + <div class="page-actions"> | |
| 89 | + <!--返回按钮--> | |
| 90 | + <el-button @click="$router.go(-1)" type="default"> | |
| 91 | + {{ $t('common.cancel') }} | |
| 92 | + </el-button> | |
| 93 | + <el-button @click="handleSubmit" type="primary"> | |
| 94 | + {{ $t('common.submit') }} | |
| 95 | + </el-button> | |
| 96 | + </div> | |
| 97 | + <select-hc-api :dialog-visible="selectDialogVisible" @select="handleApiSelect" @update:dialogvisible="val => selectDialogVisible = val" ref="selectHcApiRef"> | |
| 98 | + </select-hc-api> | |
| 99 | + </div> | |
| 100 | +</template> | |
| 101 | + | |
| 102 | +<script> | |
| 103 | + import { getHcAppList } from '@/api/tenant/hcAppApi' | |
| 104 | + import { addAppApi } from '@/api/tenant/appApiApi' | |
| 105 | + import { deepCopy } from '@/api/util/vcApi' | |
| 106 | + import SelectHcApi from '@/components/tenant/SelectHcApi.vue'; | |
| 107 | + | |
| 108 | + export default { | |
| 109 | + name: 'AddAppApi', | |
| 110 | + data() { | |
| 111 | + return { | |
| 112 | + form: { | |
| 113 | + appId: '', | |
| 114 | + name: '', | |
| 115 | + remark: '' | |
| 116 | + }, | |
| 117 | + selectApi: { | |
| 118 | + apiId: '', | |
| 119 | + apiCode: '', | |
| 120 | + apiName: '', | |
| 121 | + seq: '', | |
| 122 | + remark: '' | |
| 123 | + }, | |
| 124 | + selectDialogVisible: false, | |
| 125 | + apiList: [], // 这里填充你的API列表数据 | |
| 126 | + selectedApi: null | |
| 127 | + } | |
| 128 | + }, | |
| 129 | + created() { | |
| 130 | + const { appId } = this.$route.query | |
| 131 | + this.form.appId = appId; | |
| 132 | + this.getApp(); | |
| 133 | + }, | |
| 134 | + components: { | |
| 135 | + SelectHcApi | |
| 136 | + }, | |
| 137 | + methods: { | |
| 138 | + showSelectDialog() { | |
| 139 | + this.$refs.selectHcApiRef.openDialog(); | |
| 140 | + }, | |
| 141 | + handleApiSelect(api) { | |
| 142 | + deepCopy(api, this.selectApi) | |
| 143 | + console.log('Selected API:', api); | |
| 144 | + }, | |
| 145 | + async getApp() { | |
| 146 | + const params = { | |
| 147 | + page: 1, | |
| 148 | + row: 1, | |
| 149 | + appId: this.form.appId, | |
| 150 | + } | |
| 151 | + const { data } = await getHcAppList(params) | |
| 152 | + deepCopy(data.data[0], this.form) | |
| 153 | + console.log(this.form, data.data[0]) | |
| 154 | + }, | |
| 155 | + async handleSubmit() { | |
| 156 | + console.log('addAppApi type:', typeof addAppApi); // 添加这行调试信息 | |
| 157 | + try { | |
| 158 | + await addAppApi({ | |
| 159 | + appId: this.form.appId, | |
| 160 | + apiId: this.selectApi.apiId, | |
| 161 | + apiCode: this.selectApi.apiCode, | |
| 162 | + })this.$t('common.operationSuccess') | |
| 163 | + this.$message.success(this.$t('common.operateSuccess')) | |
| 164 | + this.$emit('success') | |
| 165 | + this.$router.go(-1) | |
| 166 | + } catch (error) { | |
| 167 | + console.error('添加失败:', error) | |
| 168 | + } | |
| 169 | + } | |
| 170 | + } | |
| 171 | + } | |
| 172 | +</script> | |
| 173 | + | |
| 174 | +<style lang="scss" scoped> | |
| 175 | +.add-app-api-container { | |
| 176 | + width: 100%; | |
| 177 | + padding: 40px 0 0 0; | |
| 178 | + | |
| 179 | + .box-card { | |
| 180 | + width: 100%; | |
| 181 | + box-sizing: border-box; | |
| 182 | + | |
| 183 | + .card-title { | |
| 184 | + text-align: left; | |
| 185 | + font-size: 18px; | |
| 186 | + font-weight: bold; | |
| 187 | + color: #333; | |
| 188 | + } | |
| 189 | + | |
| 190 | + .api-info-list { | |
| 191 | + margin-top: 20px; | |
| 192 | + | |
| 193 | + .api-info-row { | |
| 194 | + display: flex; | |
| 195 | + flex-wrap: nowrap; | |
| 196 | + | |
| 197 | + .api-info-item { | |
| 198 | + flex: 1 1 0; | |
| 199 | + min-width: 0; | |
| 200 | + display: flex; | |
| 201 | + flex-direction: row; | |
| 202 | + align-items: center; | |
| 203 | + margin-right: 24px; | |
| 204 | + | |
| 205 | + .label { | |
| 206 | + color: #888; | |
| 207 | + font-size: 14px; | |
| 208 | + margin-bottom: 0; | |
| 209 | + margin-right: 0; | |
| 210 | + white-space: nowrap; | |
| 211 | + } | |
| 212 | + | |
| 213 | + .value { | |
| 214 | + color: #222; | |
| 215 | + font-size: 16px; | |
| 216 | + word-break: break-all; | |
| 217 | + flex: 1; | |
| 218 | + } | |
| 219 | + } | |
| 220 | + | |
| 221 | + .api-info-item:last-child { | |
| 222 | + margin-right: 0; | |
| 223 | + } | |
| 224 | + } | |
| 225 | + } | |
| 226 | + } | |
| 227 | + | |
| 228 | + .select-api-card { | |
| 229 | + margin-top: 20px; | |
| 230 | + } | |
| 231 | + | |
| 232 | + .select-api-title-row { | |
| 233 | + display: flex; | |
| 234 | + justify-content: space-between; | |
| 235 | + align-items: center; | |
| 236 | + | |
| 237 | + .select-btn { | |
| 238 | + margin-left: 16px; | |
| 239 | + } | |
| 240 | + } | |
| 241 | + | |
| 242 | + .page-actions { | |
| 243 | + width: 100%; | |
| 244 | + margin-top: 32px; | |
| 245 | + display: flex; | |
| 246 | + justify-content: flex-end; | |
| 247 | + } | |
| 248 | +} | |
| 248 | 249 | </style> |
| 249 | 250 | \ No newline at end of file | ... | ... |
src/views/work/addItemReleaseViewList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-item-release-view-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -243,7 +243,7 @@ export default { |
| 243 | 243 | this.form.communityId = this.communityId |
| 244 | 244 | const res = await saveItemRelease(this.form) |
| 245 | 245 | if (res.code === 0) { |
| 246 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 246 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 247 | 247 | this.goBack() |
| 248 | 248 | } else { |
| 249 | 249 | this.$message.error(res.msg) | ... | ... |
src/views/work/addRoomRepairList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="add-room-repair-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -128,7 +128,7 @@ export default { |
| 128 | 128 | |
| 129 | 129 | const res = await saveOwnerRepair(this.addRoomRepairInfo) |
| 130 | 130 | if (res.code === 0) { |
| 131 | - this.$message.success(this.$t('addRoomRepair.submitSuccess')) | |
| 131 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 132 | 132 | this._goBack() |
| 133 | 133 | } else { |
| 134 | 134 | this.$message.error(res.msg) | ... | ... |
src/views/work/editItemReleaseViewList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="edit-item-release-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -184,7 +184,7 @@ export default { |
| 184 | 184 | this.editItemReleaseViewInfo.communityId = this.communityId |
| 185 | 185 | const res = await updateItemRelease(this.editItemReleaseViewInfo) |
| 186 | 186 | if (res.code === 0) { |
| 187 | - this.$message.success(this.$t('common.updateSuccess')) | |
| 187 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 188 | 188 | this.goBack() |
| 189 | 189 | } else { |
| 190 | 190 | this.$message.error(res.msg) | ... | ... |
src/views/work/finishRepairList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="finish-repair-container"> |
| 3 | 3 | <el-card class="box-card"> |
| 4 | 4 | <div slot="header" class="flex justify-between"> |
| ... | ... | @@ -244,7 +244,7 @@ export default { |
| 244 | 244 | } |
| 245 | 245 | const res = await repairFinish(params) |
| 246 | 246 | if (res.code === 0) { |
| 247 | - this.$message.success(this.$t('finishRepair.submitSuccess')) | |
| 247 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 248 | 248 | this.backToList() |
| 249 | 249 | } else { |
| 250 | 250 | this.$message.error(res.msg) | ... | ... |
src/views/work/itemReleaseDetailList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="item-release-detail-container"> |
| 3 | 3 | <!-- 放行详情 --> |
| 4 | 4 | <el-row> |
| ... | ... | @@ -311,7 +311,7 @@ export default { |
| 311 | 311 | |
| 312 | 312 | try { |
| 313 | 313 | await auditUndoItemRelease(_audit) |
| 314 | - this.$message.success(this.$t('itemReleaseDetail.submitSuccess')) | |
| 314 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 315 | 315 | this._goBack() |
| 316 | 316 | } catch (error) { |
| 317 | 317 | this.$message.error(error.message || this.$t('itemReleaseDetail.submitFailed')) | ... | ... |
src/views/work/itemReleaseTypeManageList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="item-release-type-manage-container"> |
| 3 | 3 | <!-- 查询条件 --> |
| 4 | 4 | <el-card class="search-wrapper"> |
| ... | ... | @@ -153,7 +153,7 @@ export default { |
| 153 | 153 | async handleDeploy(row) { |
| 154 | 154 | try { |
| 155 | 155 | await deployModel({ modelId: row.modelId }) |
| 156 | - this.$message.success(this.$t('itemReleaseTypeManage.deploySuccess')) | |
| 156 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 157 | 157 | this.getList() |
| 158 | 158 | } catch (error) { |
| 159 | 159 | this.$message.error(this.$t('itemReleaseTypeManage.deployError')) | ... | ... |
src/views/work/myRepairDispatchManageList.vue
| ... | ... | @@ -249,7 +249,7 @@ export default { |
| 249 | 249 | } |
| 250 | 250 | |
| 251 | 251 | await closeRepairDispatch(params) |
| 252 | - this.$message.success(this.$t('common.operateSuccess')) | |
| 252 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 253 | 253 | this._listOwnerRepairs(this.pagination.current, this.pagination.size) |
| 254 | 254 | } catch (error) { |
| 255 | 255 | console.error('结单操作失败:', error) | ... | ... |
src/views/work/repairPoolManageList.vue
src/views/work/repairTypeUserList.vue
| 1 | -<template> | |
| 1 | +<template> | |
| 2 | 2 | <div class="padding"> |
| 3 | 3 | <el-row> |
| 4 | 4 | <el-col :span="24"> |
| ... | ... | @@ -142,7 +142,7 @@ export default { |
| 142 | 142 | |
| 143 | 143 | const response = await saveRepairTypeUser(data) |
| 144 | 144 | if (response.code === 0) { |
| 145 | - this.$message.success(this.$t('common.saveSuccess')) | |
| 145 | + this.$message.success(this.$t('common.operationSuccess')) | |
| 146 | 146 | this._listRepairTypeUsers(this.currentPage, this.pageSize) |
| 147 | 147 | } else { |
| 148 | 148 | this.$message.error(response.msg || this.$t('common.saveFailed')) | ... | ... |