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 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponDetailManage.add.title')" | 3 | :title="$t('couponDetailManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -163,7 +163,7 @@ export default { | @@ -163,7 +163,7 @@ export default { | ||
| 163 | if (valid) { | 163 | if (valid) { |
| 164 | try { | 164 | try { |
| 165 | await saveCouponDetail(this.formData) | 165 | await saveCouponDetail(this.formData) |
| 166 | - this.$message.success(this.$t('couponDetailManage.add.success')) | 166 | + this.$message.success(this.$t('common.operationSuccess')) |
| 167 | this.visible = false | 167 | this.visible = false |
| 168 | this.$emit('success') | 168 | this.$emit('success') |
| 169 | } catch (error) { | 169 | } catch (error) { |
src/components/account/AddCouponPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponPoolManage.add.title')" | 3 | :title="$t('couponPoolManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -158,7 +158,7 @@ export default { | @@ -158,7 +158,7 @@ export default { | ||
| 158 | if (valid) { | 158 | if (valid) { |
| 159 | try { | 159 | try { |
| 160 | await saveCouponPool(this.form) | 160 | await saveCouponPool(this.form) |
| 161 | - this.$message.success(this.$t('couponPoolManage.add.success')) | 161 | + this.$message.success(this.$t('common.operationSuccess')) |
| 162 | this.visible = false | 162 | this.visible = false |
| 163 | this.$emit('success') | 163 | this.$emit('success') |
| 164 | } catch (error) { | 164 | } catch (error) { |
src/components/account/DeleteCouponDetail.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponDetailManage.delete.title')" | 3 | :title="$t('couponDetailManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleConfirm() { | 38 | async handleConfirm() { |
| 39 | try { | 39 | try { |
| 40 | await deleteCouponDetail({ detailId: this.detailId }) | 40 | await deleteCouponDetail({ detailId: this.detailId }) |
| 41 | - this.$message.success(this.$t('couponDetailManage.delete.success')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.visible = false | 42 | this.visible = false |
| 43 | this.$emit('success') | 43 | this.$emit('success') |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/account/DeleteCouponPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponPoolManage.delete.title')" | 3 | :title="$t('couponPoolManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | async handleSubmit() { | 41 | async handleSubmit() { |
| 42 | try { | 42 | try { |
| 43 | await deleteCouponPool({ poolId: this.poolId }) | 43 | await deleteCouponPool({ poolId: this.poolId }) |
| 44 | - this.$message.success(this.$t('couponPoolManage.delete.success')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | this.visible = false | 45 | this.visible = false |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/account/EditCouponPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponPoolManage.edit.title')" | 3 | :title="$t('couponPoolManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -154,7 +154,7 @@ export default { | @@ -154,7 +154,7 @@ export default { | ||
| 154 | if (valid) { | 154 | if (valid) { |
| 155 | try { | 155 | try { |
| 156 | await updateCouponPool(this.form) | 156 | await updateCouponPool(this.form) |
| 157 | - this.$message.success(this.$t('couponPoolManage.edit.success')) | 157 | + this.$message.success(this.$t('common.operationSuccess')) |
| 158 | this.visible = false | 158 | this.visible = false |
| 159 | this.$emit('success') | 159 | this.$emit('success') |
| 160 | } catch (error) { | 160 | } catch (error) { |
src/components/account/cancelAccountDetail.vue
src/components/account/deleteAccount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteAccount.title')" | 3 | :title="$t('deleteAccount.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | 42 | ||
| 43 | try { | 43 | try { |
| 44 | await deleteAccount({ acctId: this.accountData.acctId }) | 44 | await deleteAccount({ acctId: this.accountData.acctId }) |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.visible = false | 46 | this.visible = false |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/account/prestoreAccount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('prestoreAccount.title')" :visible.sync="visible" width="800px" @close="handleClose"> | 2 | <el-dialog :title="$t('prestoreAccount.title')" :visible.sync="visible" width="800px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('prestoreAccount.accountType')" prop="acctType" required> | 4 | <el-form-item :label="$t('prestoreAccount.accountType')" prop="acctType" required> |
| @@ -173,7 +173,7 @@ export default { | @@ -173,7 +173,7 @@ export default { | ||
| 173 | 173 | ||
| 174 | try { | 174 | try { |
| 175 | await ownerPrestoreAccount(this.formData) | 175 | await ownerPrestoreAccount(this.formData) |
| 176 | - this.$message.success(this.$t('common.saveSuccess')) | 176 | + this.$message.success(this.$t('common.operationSuccess')) |
| 177 | this.visible = false | 177 | this.visible = false |
| 178 | this.$emit('success') | 178 | this.$emit('success') |
| 179 | } catch (error) { | 179 | } catch (error) { |
src/components/admin/AddAdvert.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('advertManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('advertManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('advertManage.add.adName')" prop="adName"> | 4 | <el-form-item :label="$t('advertManage.add.adName')" prop="adName"> |
| @@ -171,7 +171,7 @@ export default { | @@ -171,7 +171,7 @@ export default { | ||
| 171 | } | 171 | } |
| 172 | 172 | ||
| 173 | await saveAdvert(params) | 173 | await saveAdvert(params) |
| 174 | - this.$message.success(this.$t('advertManage.add.success')) | 174 | + this.$message.success(this.$t('common.operationSuccess')) |
| 175 | this.$emit('success') | 175 | this.$emit('success') |
| 176 | this.visible = false | 176 | this.visible = false |
| 177 | } catch (error) { | 177 | } catch (error) { |
src/components/admin/DeleteAdvert.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('advertManage.delete.title')" | 3 | :title="$t('advertManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -34,7 +34,7 @@ export default { | @@ -34,7 +34,7 @@ export default { | ||
| 34 | async handleConfirm() { | 34 | async handleConfirm() { |
| 35 | try { | 35 | try { |
| 36 | await deleteAdvert(this.advertId) | 36 | await deleteAdvert(this.advertId) |
| 37 | - this.$message.success(this.$t('advertManage.delete.success')) | 37 | + this.$message.success(this.$t('common.operationSuccess')) |
| 38 | this.$emit('success') | 38 | this.$emit('success') |
| 39 | this.visible = false | 39 | this.visible = false |
| 40 | } catch (error) { | 40 | } catch (error) { |
src/components/admin/EditAdvert.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('advertManage.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('advertManage.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('advertManage.edit.adName')" prop="adName"> | 4 | <el-form-item :label="$t('advertManage.edit.adName')" prop="adName"> |
| @@ -182,7 +182,7 @@ export default { | @@ -182,7 +182,7 @@ export default { | ||
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | await updateAdvert(params) | 184 | await updateAdvert(params) |
| 185 | - this.$message.success(this.$t('advertManage.edit.success')) | 185 | + this.$message.success(this.$t('common.operationSuccess')) |
| 186 | this.$emit('success') | 186 | this.$emit('success') |
| 187 | this.visible = false | 187 | this.visible = false |
| 188 | } catch (error) { | 188 | } catch (error) { |
src/components/car/addCarModal.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%"> |
| 3 | <el-form :model="addCarModelInfo" :rules="rules" ref="addCarForm"> | 3 | <el-form :model="addCarModelInfo" :rules="rules" ref="addCarForm"> |
| 4 | <el-form-item :label="$t('listOwnerCar.carNum')" prop="carNum"> | 4 | <el-form-item :label="$t('listOwnerCar.carNum')" prop="carNum"> |
| @@ -97,7 +97,7 @@ export default { | @@ -97,7 +97,7 @@ export default { | ||
| 97 | this.visible = false | 97 | this.visible = false |
| 98 | this.clearAddCarModalInfo() | 98 | this.clearAddCarModalInfo() |
| 99 | this.$emit('notify') | 99 | this.$emit('notify') |
| 100 | - this.$message.success(this.$t('common.saveSuccess')) | 100 | + this.$message.success(this.$t('common.operationSuccess')) |
| 101 | } else { | 101 | } else { |
| 102 | this.$message.error(response.msg) | 102 | this.$message.error(response.msg) |
| 103 | } | 103 | } |
src/components/car/addParkingArea.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('parkingAreaManage.addTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> | 2 | <el-dialog :title="$t('parkingAreaManage.addTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | <el-form ref="form" :model="addParkingAreaInfo" label-width="150px" label-position="left"> | 3 | <el-form ref="form" :model="addParkingAreaInfo" label-width="150px" label-position="left"> |
| 4 | <el-form-item :label="$t('parkingAreaManage.parkingNum')" prop="num" | 4 | <el-form-item :label="$t('parkingAreaManage.parkingNum')" prop="num" |
| @@ -97,7 +97,7 @@ export default { | @@ -97,7 +97,7 @@ export default { | ||
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | await saveParkingArea(params) | 99 | await saveParkingArea(params) |
| 100 | - this.$message.success(this.$t('parkingAreaManage.addSuccess')) | 100 | + this.$message.success(this.$t('common.operationSuccess')) |
| 101 | this.visible = false | 101 | this.visible = false |
| 102 | this.$emit('success') | 102 | this.$emit('success') |
| 103 | } catch (error) { | 103 | } catch (error) { |
src/components/car/addParkingBox.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('addParkingBox.title')" | 3 | :title="$t('addParkingBox.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -201,7 +201,7 @@ export default { | @@ -201,7 +201,7 @@ export default { | ||
| 201 | if (valid) { | 201 | if (valid) { |
| 202 | try { | 202 | try { |
| 203 | await addParkingBox(this.formData) | 203 | await addParkingBox(this.formData) |
| 204 | - this.$message.success(this.$t('parkingBoxManage.addSuccess')) | 204 | + this.$message.success(this.$t('common.operationSuccess')) |
| 205 | this.visible = false | 205 | this.visible = false |
| 206 | this.$emit('success') | 206 | this.$emit('success') |
| 207 | } catch (error) { | 207 | } catch (error) { |
src/components/car/addParkingSpace.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addParkingSpace.title')" :visible.sync="visible" width="50%" @close="closeDialog"> | 2 | <el-dialog :title="$t('addParkingSpace.title')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | <el-form :model="form" ref="form" label-width="120px"> | 3 | <el-form :model="form" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('addParkingSpace.parkingSpaceNum')" prop="num" | 4 | <el-form-item :label="$t('addParkingSpace.parkingSpaceNum')" prop="num" |
| @@ -104,7 +104,7 @@ export default { | @@ -104,7 +104,7 @@ export default { | ||
| 104 | 104 | ||
| 105 | const res = await saveParkingSpace(this.form) | 105 | const res = await saveParkingSpace(this.form) |
| 106 | if (res.code === 0) { | 106 | if (res.code === 0) { |
| 107 | - this.$message.success(this.$t('common.saveSuccess')) | 107 | + this.$message.success(this.$t('common.operationSuccess')) |
| 108 | this.$emit('success') | 108 | this.$emit('success') |
| 109 | this.visible = false | 109 | this.visible = false |
| 110 | } else { | 110 | } else { |
src/components/car/batchAddParkingSpace.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('batchAddParkingSpace.title')" :visible.sync="visible" width="50%" @close="closeDialog"> | 2 | <el-dialog :title="$t('batchAddParkingSpace.title')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | <el-form :model="form" ref="form" label-width="120px"> | 3 | <el-form :model="form" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('batchAddParkingSpace.prefixNum')" prop="preNum"> | 4 | <el-form-item :label="$t('batchAddParkingSpace.prefixNum')" prop="preNum"> |
| @@ -113,7 +113,7 @@ export default { | @@ -113,7 +113,7 @@ export default { | ||
| 113 | 113 | ||
| 114 | const res = await batchSaveParkingSpace(this.form) | 114 | const res = await batchSaveParkingSpace(this.form) |
| 115 | if (res.code === 0) { | 115 | if (res.code === 0) { |
| 116 | - this.$message.success(this.$t('common.saveSuccess')) | 116 | + this.$message.success(this.$t('common.operationSuccess')) |
| 117 | this.$emit('success') | 117 | this.$emit('success') |
| 118 | this.visible = false | 118 | this.visible = false |
| 119 | } else { | 119 | } else { |
src/components/car/deleteOwnerCar.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('listOwnerCar.confirmDelete')" | 3 | :title="$t('listOwnerCar.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -39,7 +39,7 @@ export default { | @@ -39,7 +39,7 @@ export default { | ||
| 39 | this.loading = true | 39 | this.loading = true |
| 40 | try { | 40 | try { |
| 41 | await deleteOwnerCars({ carId: this.carInfo.carId,memberId:this.carInfo.memberId }) | 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 | this.$emit('success') | 43 | this.$emit('success') |
| 44 | this.visible = false | 44 | this.visible = false |
| 45 | } catch (error) { | 45 | } catch (error) { |
src/components/car/deleteParkingArea.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('parkingAreaManage.deleteTitle')" :visible.sync="visible" width="30%" center> | 2 | <el-dialog :title="$t('parkingAreaManage.deleteTitle')" :visible.sync="visible" width="30%" center> |
| 3 | <div style="text-align: center"> | 3 | <div style="text-align: center"> |
| 4 | <p>{{ $t('parkingAreaManage.deleteConfirm') }}</p> | 4 | <p>{{ $t('parkingAreaManage.deleteConfirm') }}</p> |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | await deleteParkingArea(params) | 53 | await deleteParkingArea(params) |
| 54 | - this.$message.success(this.$t('parkingAreaManage.deleteSuccess')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | this.visible = false | 55 | this.visible = false |
| 56 | this.$emit('success') | 56 | this.$emit('success') |
| 57 | } catch (error) { | 57 | } catch (error) { |
src/components/car/deleteParkingBox.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteParkingBox.title')" | 3 | :title="$t('deleteParkingBox.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleConfirm() { | 38 | async handleConfirm() { |
| 39 | try { | 39 | try { |
| 40 | await deleteParkingBox({ boxId: this.boxId }) | 40 | await deleteParkingBox({ boxId: this.boxId }) |
| 41 | - this.$message.success(this.$t('parkingBoxManage.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.visible = false | 42 | this.visible = false |
| 43 | this.$emit('success') | 43 | this.$emit('success') |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/car/deleteParkingSpace.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteParkingSpace.title')" | 3 | :title="$t('deleteParkingSpace.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | this.deleting = true | 42 | this.deleting = true |
| 43 | const res = await deleteParkingSpace(this.currentParkingSpace) | 43 | const res = await deleteParkingSpace(this.currentParkingSpace) |
| 44 | if (res.code === 0) { | 44 | if (res.code === 0) { |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.visible = false | 47 | this.visible = false |
| 48 | } else { | 48 | } else { |
src/components/car/deleteParkingSpaceApply.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteParkingSpaceApply.confirmOperation')" | 3 | :title="$t('deleteParkingSpaceApply.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -45,7 +45,7 @@ export default { | @@ -45,7 +45,7 @@ export default { | ||
| 45 | }) | 45 | }) |
| 46 | 46 | ||
| 47 | if (response.code === 0) { | 47 | if (response.code === 0) { |
| 48 | - this.$message.success(this.$t('common.deleteSuccess')) | 48 | + this.$message.success(this.$t('common.operationSuccess')) |
| 49 | this.visible = false | 49 | this.visible = false |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | } else { | 51 | } else { |
src/components/car/editCar.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('listOwnerCar.editCar')" | 3 | :title="$t('listOwnerCar.editCar')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -141,7 +141,7 @@ export default { | @@ -141,7 +141,7 @@ export default { | ||
| 141 | this.loading = true | 141 | this.loading = true |
| 142 | try { | 142 | try { |
| 143 | await editOwnerCar(this.form) | 143 | await editOwnerCar(this.form) |
| 144 | - this.$message.success(this.$t('listOwnerCar.updateSuccess')) | 144 | + this.$message.success(this.$t('common.operationSuccess')) |
| 145 | this.$emit('success') | 145 | this.$emit('success') |
| 146 | this.visible = false | 146 | this.visible = false |
| 147 | } catch (error) { | 147 | } catch (error) { |
src/components/car/editMemberCar.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="50%"> | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="50%"> |
| 3 | <el-form :model="editMemberCarInfo" :rules="rules" ref="editMemberCarForm"> | 3 | <el-form :model="editMemberCarInfo" :rules="rules" ref="editMemberCarForm"> |
| 4 | <el-form-item :label="$t('listOwnerCar.carNum')" prop="carNum"> | 4 | <el-form-item :label="$t('listOwnerCar.carNum')" prop="carNum"> |
| @@ -93,7 +93,7 @@ export default { | @@ -93,7 +93,7 @@ export default { | ||
| 93 | if (response.code === 0) { | 93 | if (response.code === 0) { |
| 94 | this.visible = false | 94 | this.visible = false |
| 95 | this.$emit('notify') | 95 | this.$emit('notify') |
| 96 | - this.$message.success(this.$t('common.editSuccess')) | 96 | + this.$message.success(this.$t('common.operationSuccess')) |
| 97 | } else { | 97 | } else { |
| 98 | this.$message.error(response.msg) | 98 | this.$message.error(response.msg) |
| 99 | } | 99 | } |
src/components/car/editParkingArea.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('parkingAreaManage.editTitle')" | 3 | :title="$t('parkingAreaManage.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -137,7 +137,7 @@ export default { | @@ -137,7 +137,7 @@ export default { | ||
| 137 | } | 137 | } |
| 138 | 138 | ||
| 139 | await updateParkingArea(params) | 139 | await updateParkingArea(params) |
| 140 | - this.$message.success(this.$t('parkingAreaManage.editSuccess')) | 140 | + this.$message.success(this.$t('common.operationSuccess')) |
| 141 | this.visible = false | 141 | this.visible = false |
| 142 | this.$emit('success') | 142 | this.$emit('success') |
| 143 | } catch (error) { | 143 | } catch (error) { |
src/components/car/editParkingBox.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('editParkingBox.title')" | 3 | :title="$t('editParkingBox.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -193,7 +193,7 @@ export default { | @@ -193,7 +193,7 @@ export default { | ||
| 193 | if (valid) { | 193 | if (valid) { |
| 194 | try { | 194 | try { |
| 195 | await updateParkingBox(this.formData) | 195 | await updateParkingBox(this.formData) |
| 196 | - this.$message.success(this.$t('parkingBoxManage.updateSuccess')) | 196 | + this.$message.success(this.$t('common.operationSuccess')) |
| 197 | this.visible = false | 197 | this.visible = false |
| 198 | this.$emit('success') | 198 | this.$emit('success') |
| 199 | } catch (error) { | 199 | } catch (error) { |
src/components/car/editParkingSpace.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('editParkingSpace.title')" | 3 | :title="$t('editParkingSpace.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -145,7 +145,7 @@ export default { | @@ -145,7 +145,7 @@ export default { | ||
| 145 | 145 | ||
| 146 | const res = await editParkingSpace(this.form) | 146 | const res = await editParkingSpace(this.form) |
| 147 | if (res.code === 0) { | 147 | if (res.code === 0) { |
| 148 | - this.$message.success(this.$t('common.saveSuccess')) | 148 | + this.$message.success(this.$t('common.operationSuccess')) |
| 149 | this.$emit('success') | 149 | this.$emit('success') |
| 150 | this.visible = false | 150 | this.visible = false |
| 151 | } else { | 151 | } else { |
src/components/car/editParkingSpaceApply.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('editParkingSpaceApply.editApplication')" | 3 | :title="$t('editParkingSpaceApply.editApplication')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -188,7 +188,7 @@ export default { | @@ -188,7 +188,7 @@ export default { | ||
| 188 | try { | 188 | try { |
| 189 | const response = await updateParkingSpaceApply(this.formData) | 189 | const response = await updateParkingSpaceApply(this.formData) |
| 190 | if (response.code === 0) { | 190 | if (response.code === 0) { |
| 191 | - this.$message.success(this.$t('common.updateSuccess')) | 191 | + this.$message.success(this.$t('common.operationSuccess')) |
| 192 | this.visible = false | 192 | this.visible = false |
| 193 | this.$emit('success') | 193 | this.$emit('success') |
| 194 | } else { | 194 | } else { |
src/components/car/importOwnerCar.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('listOwnerCar.importCarTitle')" :visible.sync="visible" width="600px" @close="resetForm"> | 2 | <el-dialog :title="$t('listOwnerCar.importCarTitle')" :visible.sync="visible" width="600px" @close="resetForm"> |
| 3 | <el-form :model="form" label-width="120px" class="text-left"> | 3 | <el-form :model="form" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('listOwnerCar.selectFile')"> | 4 | <el-form-item :label="$t('listOwnerCar.selectFile')"> |
| @@ -77,7 +77,7 @@ export default { | @@ -77,7 +77,7 @@ export default { | ||
| 77 | importAdapt: 'importOwnerCar' | 77 | importAdapt: 'importOwnerCar' |
| 78 | }) | 78 | }) |
| 79 | 79 | ||
| 80 | - this.$message.success(this.$t('listOwnerCar.importSuccess')) | 80 | + this.$message.success(this.$t('common.operationSuccess')) |
| 81 | this.$emit('success') | 81 | this.$emit('success') |
| 82 | this.visible = false | 82 | this.visible = false |
| 83 | this.$router.push(`/views/system/assetImportLogDetail?logId=${response.logId}&logType=importOwnerCar`) | 83 | this.$router.push(`/views/system/assetImportLogDetail?logId=${response.logId}&logType=importOwnerCar`) |
src/components/community/AddCommunitySpace.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('communitySpaceManage.addSpace')" :visible.sync="visible" width="50%" @close="resetForm"> | 2 | <el-dialog :title="$t('communitySpaceManage.addSpace')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('communitySpaceManage.name')" prop="name"> | 4 | <el-form-item :label="$t('communitySpaceManage.name')" prop="name"> |
| @@ -88,7 +88,7 @@ export default { | @@ -88,7 +88,7 @@ export default { | ||
| 88 | if (valid) { | 88 | if (valid) { |
| 89 | try { | 89 | try { |
| 90 | await saveCommunitySpace(this.form) | 90 | await saveCommunitySpace(this.form) |
| 91 | - this.$message.success(this.$t('common.success')) | 91 | + this.$message.success(this.$t('common.operationSuccess')) |
| 92 | this.visible = false | 92 | this.visible = false |
| 93 | this.$emit('success') | 93 | this.$emit('success') |
| 94 | } catch (error) { | 94 | } catch (error) { |
src/components/community/AddCommunityVenue.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('communitySpaceManage.add') + $t('communitySpaceManage.venue')" | 3 | :title="$t('communitySpaceManage.add') + $t('communitySpaceManage.venue')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -90,7 +90,7 @@ export default { | @@ -90,7 +90,7 @@ export default { | ||
| 90 | if (valid) { | 90 | if (valid) { |
| 91 | try { | 91 | try { |
| 92 | await saveCommunityVenue(this.form) | 92 | await saveCommunityVenue(this.form) |
| 93 | - this.$message.success(this.$t('common.success')) | 93 | + this.$message.success(this.$t('common.operationSuccess')) |
| 94 | this.visible = false | 94 | this.visible = false |
| 95 | this.$emit('success') | 95 | this.$emit('success') |
| 96 | } catch (error) { | 96 | } catch (error) { |
src/components/community/AddLocation.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('locationManage.add')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('locationManage.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('locationManage.locationName')" prop="locationName" :rules="[ | 4 | <el-form-item :label="$t('locationManage.locationName')" prop="locationName" :rules="[ |
| @@ -114,7 +114,7 @@ export default { | @@ -114,7 +114,7 @@ export default { | ||
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | await saveCommunityLocation(this.formData) | 116 | await saveCommunityLocation(this.formData) |
| 117 | - this.$message.success(this.$t('common.addSuccess')) | 117 | + this.$message.success(this.$t('common.operationSuccess')) |
| 118 | this.visible = false | 118 | this.visible = false |
| 119 | this.$emit('success') | 119 | this.$emit('success') |
| 120 | } catch (error) { | 120 | } catch (error) { |
src/components/community/AddPropertyCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('propertyCommunity.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('propertyCommunity.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="form" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('propertyCommunity.add.openCommunity')"> | 4 | <el-form-item :label="$t('propertyCommunity.add.openCommunity')"> |
| @@ -100,7 +100,7 @@ export default { | @@ -100,7 +100,7 @@ export default { | ||
| 100 | async handleSubmit() { | 100 | async handleSubmit() { |
| 101 | try { | 101 | try { |
| 102 | await joinCommunity(this.form) | 102 | await joinCommunity(this.form) |
| 103 | - this.$message.success(this.$t('common.saveSuccess')) | 103 | + this.$message.success(this.$t('common.operationSuccess')) |
| 104 | this.$emit('success') | 104 | this.$emit('success') |
| 105 | this.visible = false | 105 | this.visible = false |
| 106 | } catch (error) { | 106 | } catch (error) { |
src/components/community/AddRoomRenovation.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('roomRenovationManage.add')" :visible.sync="visible" width="40%" @close="resetForm"> | 2 | <el-dialog :title="$t('roomRenovationManage.add')" :visible.sync="visible" width="40%" @close="resetForm"> |
| 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> | 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName" required> | 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName" required> |
src/components/community/DeleteCommunitySpace.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('communitySpaceManage.confirmDelete')" | 3 | :title="$t('communitySpaceManage.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -36,7 +36,7 @@ export default { | @@ -36,7 +36,7 @@ export default { | ||
| 36 | async confirmDelete() { | 36 | async confirmDelete() { |
| 37 | try { | 37 | try { |
| 38 | await deleteCommunitySpace(this.spaceId) | 38 | await deleteCommunitySpace(this.spaceId) |
| 39 | - this.$message.success(this.$t('common.success')) | 39 | + this.$message.success(this.$t('common.operationSuccess')) |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | } catch (error) { | 42 | } catch (error) { |
src/components/community/DeleteCommunityVenue.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('communitySpaceManage.confirmDelete')" | 3 | :title="$t('communitySpaceManage.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -36,7 +36,7 @@ export default { | @@ -36,7 +36,7 @@ export default { | ||
| 36 | async confirmDelete() { | 36 | async confirmDelete() { |
| 37 | try { | 37 | try { |
| 38 | await deleteCommunityVenue(this.venueId) | 38 | await deleteCommunityVenue(this.venueId) |
| 39 | - this.$message.success(this.$t('common.success')) | 39 | + this.$message.success(this.$t('common.operationSuccess')) |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | } catch (error) { | 42 | } catch (error) { |
src/components/community/DeleteLocation.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('locationManage.confirmOperation')" | 3 | :title="$t('locationManage.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | communityId: getCommunityId() | 42 | communityId: getCommunityId() |
| 43 | } | 43 | } |
| 44 | await deleteCommunityLocation(params) | 44 | await deleteCommunityLocation(params) |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.visible = false | 46 | this.visible = false |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/community/DeletePropertyCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('propertyCommunity.delete.title')" | 3 | :title="$t('propertyCommunity.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleSubmit() { | 38 | async handleSubmit() { |
| 39 | try { | 39 | try { |
| 40 | await quitCommunity(this.form) | 40 | await quitCommunity(this.form) |
| 41 | - this.$message.success(this.$t('common.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | this.visible = false | 43 | this.visible = false |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/community/DeleteRoomDecorationRecord.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteRoomDecorationRecord.title')" | 3 | :title="$t('deleteRoomDecorationRecord.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | try { | 43 | try { |
| 44 | this.record.communityId = getCommunityId() | 44 | this.record.communityId = getCommunityId() |
| 45 | await deleteRoomRenovationRecord(this.record) | 45 | await deleteRoomRenovationRecord(this.record) |
| 46 | - this.$message.success(this.$t('deleteRoomDecorationRecord.success')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | } catch (error) { | 49 | } catch (error) { |
src/components/community/DeleteRoomRenovation.vue
src/components/community/EditCommunitySpace.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('communitySpaceManage.edit')" | 3 | :title="$t('communitySpaceManage.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -97,7 +97,7 @@ export default { | @@ -97,7 +97,7 @@ export default { | ||
| 97 | if (valid) { | 97 | if (valid) { |
| 98 | try { | 98 | try { |
| 99 | await updateCommunitySpace(this.form) | 99 | await updateCommunitySpace(this.form) |
| 100 | - this.$message.success(this.$t('common.success')) | 100 | + this.$message.success(this.$t('common.operationSuccess')) |
| 101 | this.visible = false | 101 | this.visible = false |
| 102 | this.$emit('success') | 102 | this.$emit('success') |
| 103 | } catch (error) { | 103 | } catch (error) { |
src/components/community/EditCommunitySpaceOpenTime.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('communitySpaceManage.openTimeTitle')" | 3 | :title="$t('communitySpaceManage.openTimeTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -50,7 +50,7 @@ export default { | @@ -50,7 +50,7 @@ export default { | ||
| 50 | async updateOpenTime(item) { | 50 | async updateOpenTime(item) { |
| 51 | try { | 51 | try { |
| 52 | await updateCommunitySpaceOpenTime(item) | 52 | await updateCommunitySpaceOpenTime(item) |
| 53 | - this.$message.success(this.$t('common.success')) | 53 | + this.$message.success(this.$t('common.operationSuccess')) |
| 54 | } catch (error) { | 54 | } catch (error) { |
| 55 | console.error('更新开放时间失败:', error) | 55 | console.error('更新开放时间失败:', error) |
| 56 | } | 56 | } |
src/components/community/EditCommunityVenue.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('communitySpaceManage.edit') + $t('communitySpaceManage.venue')" | 3 | :title="$t('communitySpaceManage.edit') + $t('communitySpaceManage.venue')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -90,7 +90,7 @@ export default { | @@ -90,7 +90,7 @@ export default { | ||
| 90 | if (valid) { | 90 | if (valid) { |
| 91 | try { | 91 | try { |
| 92 | await updateCommunityVenue(this.form) | 92 | await updateCommunityVenue(this.form) |
| 93 | - this.$message.success(this.$t('common.success')) | 93 | + this.$message.success(this.$t('common.operationSuccess')) |
| 94 | this.visible = false | 94 | this.visible = false |
| 95 | this.$emit('success') | 95 | this.$emit('success') |
| 96 | } catch (error) { | 96 | } catch (error) { |
src/components/community/EditLocation.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('locationManage.edit')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('locationManage.edit')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('locationManage.locationName')" prop="locationName" :rules="[ | 4 | <el-form-item :label="$t('locationManage.locationName')" prop="locationName" :rules="[ |
| @@ -117,7 +117,7 @@ export default { | @@ -117,7 +117,7 @@ export default { | ||
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | await updateCommunityLocation(this.formData) | 119 | await updateCommunityLocation(this.formData) |
| 120 | - this.$message.success(this.$t('common.editSuccess')) | 120 | + this.$message.success(this.$t('common.operationSuccess')) |
| 121 | this.visible = false | 121 | this.visible = false |
| 122 | this.$emit('success') | 122 | this.$emit('success') |
| 123 | } catch (error) { | 123 | } catch (error) { |
src/components/community/EditPropertyCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('propertyCommunity.edit.title')" | 3 | :title="$t('propertyCommunity.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -113,7 +113,7 @@ export default { | @@ -113,7 +113,7 @@ export default { | ||
| 113 | async handleSubmit() { | 113 | async handleSubmit() { |
| 114 | try { | 114 | try { |
| 115 | await updateMenuGroupCommunity(this.form) | 115 | await updateMenuGroupCommunity(this.form) |
| 116 | - this.$message.success(this.$t('common.saveSuccess')) | 116 | + this.$message.success(this.$t('common.operationSuccess')) |
| 117 | this.$emit('success') | 117 | this.$emit('success') |
| 118 | this.visible = false | 118 | this.visible = false |
| 119 | } catch (error) { | 119 | } catch (error) { |
src/components/community/EditRoomRenovation.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('roomRenovationManage.modify')" :visible.sync="visible" width="40%" @close="resetForm"> | 2 | <el-dialog :title="$t('roomRenovationManage.modify')" :visible.sync="visible" width="40%" @close="resetForm"> |
| 3 | <el-form :model="form" ref="form" label-width="120px"> | 3 | <el-form :model="form" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName"> | 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName"> |
src/components/community/RoomDecorationAcceptance.vue
src/components/community/RoomDecorationRecord.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('roomDecorationRecord.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('roomDecorationRecord.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="roomDecorationRecordInfo" label-width="120px" class="text-left" label-position="left"> | 3 | <el-form ref="form" :model="roomDecorationRecordInfo" label-width="120px" class="text-left" label-position="left"> |
| 4 | <el-form-item :label="$t('roomDecorationRecord.room')"> | 4 | <el-form-item :label="$t('roomDecorationRecord.room')"> |
| @@ -119,7 +119,7 @@ export default { | @@ -119,7 +119,7 @@ export default { | ||
| 119 | 119 | ||
| 120 | 120 | ||
| 121 | await updateRoomDecorationRecord(this.roomDecorationRecordInfo) | 121 | await updateRoomDecorationRecord(this.roomDecorationRecordInfo) |
| 122 | - this.$message.success(this.$t('common.saveSuccess')) | 122 | + this.$message.success(this.$t('common.operationSuccess')) |
| 123 | this.$emit('success') | 123 | this.$emit('success') |
| 124 | this.visible = false | 124 | this.visible = false |
| 125 | } catch (error) { | 125 | } catch (error) { |
src/components/community/RoomRenovationCompleted.vue
src/components/community/RoomToExamine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('roomRenovationManage.review')" :visible.sync="visible" width="40%" @close="resetForm"> | 2 | <el-dialog :title="$t('roomRenovationManage.review')" :visible.sync="visible" width="40%" @close="resetForm"> |
| 3 | <el-form :model="form" ref="form" label-width="120px"> | 3 | <el-form :model="form" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName"> | 4 | <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName"> |
src/components/community/UploadVedio.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="upload-vedio-container"> | 2 | <div class="upload-vedio-container"> |
| 3 | <div v-if="progress > 0" class="progress-container"> | 3 | <div v-if="progress > 0" class="progress-container"> |
| 4 | <el-progress :percentage="progress" :stroke-width="2" /> | 4 | <el-progress :percentage="progress" :stroke-width="2" /> |
| @@ -84,7 +84,7 @@ export default { | @@ -84,7 +84,7 @@ export default { | ||
| 84 | this.progress = 100 | 84 | this.progress = 100 |
| 85 | this.realFileName = response.realFileName | 85 | this.realFileName = response.realFileName |
| 86 | this.vedio = response | 86 | this.vedio = response |
| 87 | - this.$message.success(this.$t('uploadVedio.success')) | 87 | + this.$message.success(this.$t('common.operationSuccess')) |
| 88 | } catch (error) { | 88 | } catch (error) { |
| 89 | this.$message.error(this.$t('uploadVedio.failed')) | 89 | this.$message.error(this.$t('uploadVedio.failed')) |
| 90 | this.progress = 0 | 90 | this.progress = 0 |
src/components/community/addCityArea.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('cityArea.addArea')" | 3 | :title="$t('cityArea.addArea')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -66,7 +66,7 @@ export default { | @@ -66,7 +66,7 @@ export default { | ||
| 66 | try { | 66 | try { |
| 67 | await this.$refs.form.validate() | 67 | await this.$refs.form.validate() |
| 68 | await addArea(this.formData) | 68 | await addArea(this.formData) |
| 69 | - this.$message.success(this.$t('common.saveSuccess')) | 69 | + this.$message.success(this.$t('common.operationSuccess')) |
| 70 | this.visible = false | 70 | this.visible = false |
| 71 | this.$emit('refresh') | 71 | this.$emit('refresh') |
| 72 | } catch (error) { | 72 | } catch (error) { |
src/components/community/addCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addCommunity.title')" :visible.sync="visible" width="40%" @close="clearAddCommunityInfo"> | 2 | <el-dialog :title="$t('addCommunity.title')" :visible.sync="visible" width="40%" @close="clearAddCommunityInfo"> |
| 3 | <el-form ref="form" :model="addCommunityInfo" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="addCommunityInfo" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('addCommunity.name')" prop="name" required> | 4 | <el-form-item :label="$t('addCommunity.name')" prop="name" required> |
| @@ -85,7 +85,7 @@ export default { | @@ -85,7 +85,7 @@ export default { | ||
| 85 | } | 85 | } |
| 86 | saveCommunity(this.addCommunityInfo).then(res => { | 86 | saveCommunity(this.addCommunityInfo).then(res => { |
| 87 | console.log(res) | 87 | console.log(res) |
| 88 | - this.$message.success(this.$t('addCommunity.saveSuccess')) | 88 | + this.$message.success(this.$t('common.operationSuccess')) |
| 89 | this.visible = false | 89 | this.visible = false |
| 90 | this.$emit('listData') | 90 | this.$emit('listData') |
| 91 | }).catch(error => { | 91 | }).catch(error => { |
src/components/community/addCommunitySpacePerson.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addCommunitySpacePerson.title')" :visible.sync="visible" width="800px" @close="closeDialog"> | 2 | <el-dialog :title="$t('addCommunitySpacePerson.title')" :visible.sync="visible" width="800px" @close="closeDialog"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-row> | 4 | <el-row> |
| @@ -163,7 +163,7 @@ export default { | @@ -163,7 +163,7 @@ export default { | ||
| 163 | async saveData() { | 163 | async saveData() { |
| 164 | try { | 164 | try { |
| 165 | await saveCommunitySpacePerson(this.formData) | 165 | await saveCommunitySpacePerson(this.formData) |
| 166 | - this.$message.success(this.$t('common.saveSuccess')) | 166 | + this.$message.success(this.$t('common.operationSuccess')) |
| 167 | this.visible = false | 167 | this.visible = false |
| 168 | this.$emit('success') | 168 | this.$emit('success') |
| 169 | } catch (error) { | 169 | } catch (error) { |
src/components/community/addCommunityWechat.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addCommunityWechat.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('addCommunityWechat.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | <el-form-item :label="$t('addCommunityWechat.name')" prop="name"> | 4 | <el-form-item :label="$t('addCommunityWechat.name')" prop="name"> |
| @@ -102,7 +102,7 @@ export default { | @@ -102,7 +102,7 @@ export default { | ||
| 102 | try { | 102 | try { |
| 103 | const res = await saveAdminSmallWeChat(this.form) | 103 | const res = await saveAdminSmallWeChat(this.form) |
| 104 | if (res.code === 0) { | 104 | if (res.code === 0) { |
| 105 | - this.$message.success(this.$t('communityWechat.addSuccess')) | 105 | + this.$message.success(this.$t('common.operationSuccess')) |
| 106 | this.visible = false | 106 | this.visible = false |
| 107 | this.$emit('success') | 107 | this.$emit('success') |
| 108 | } else { | 108 | } else { |
src/components/community/communityDataToIot.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('communityDataToIot.title')" :visible.sync="visible" width="30%" | 2 | <el-dialog :title="$t('communityDataToIot.title')" :visible.sync="visible" width="30%" |
| 3 | @close="closeCommunityDataToIotModel"> | 3 | @close="closeCommunityDataToIotModel"> |
| 4 | <div style="text-align: center"> | 4 | <div style="text-align: center"> |
| @@ -34,7 +34,7 @@ export default { | @@ -34,7 +34,7 @@ export default { | ||
| 34 | _toSendCommunityDataToIot() { | 34 | _toSendCommunityDataToIot() { |
| 35 | sendCommunityToIot(this.communityDataToIotInfo).then(res => { | 35 | sendCommunityToIot(this.communityDataToIotInfo).then(res => { |
| 36 | console.log(res) | 36 | console.log(res) |
| 37 | - this.$message.success(this.$t('communityDataToIot.syncSuccess')) | 37 | + this.$message.success(this.$t('common.operationSuccess')) |
| 38 | this.visible = false | 38 | this.visible = false |
| 39 | }).catch(error => { | 39 | }).catch(error => { |
| 40 | this.$message.error(error.message) | 40 | this.$message.error(error.message) |
src/components/community/deleteCityArea.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('cityArea.confirmOperation')" | 3 | :title="$t('cityArea.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -32,7 +32,7 @@ export default { | @@ -32,7 +32,7 @@ export default { | ||
| 32 | async handleDelete() { | 32 | async handleDelete() { |
| 33 | try { | 33 | try { |
| 34 | await deleteArea(this.currentArea) | 34 | await deleteArea(this.currentArea) |
| 35 | - this.$message.success(this.$t('common.deleteSuccess')) | 35 | + this.$message.success(this.$t('common.operationSuccess')) |
| 36 | this.visible = false | 36 | this.visible = false |
| 37 | this.$emit('refresh') | 37 | this.$emit('refresh') |
| 38 | } catch (error) { | 38 | } catch (error) { |
src/components/community/deleteCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteCommunity.title')" | 3 | :title="$t('deleteCommunity.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -35,7 +35,7 @@ export default { | @@ -35,7 +35,7 @@ export default { | ||
| 35 | deleteCommunity() { | 35 | deleteCommunity() { |
| 36 | deleteCommunity(this.deleteCommunityInfo).then(res => { | 36 | deleteCommunity(this.deleteCommunityInfo).then(res => { |
| 37 | console.log(res) | 37 | console.log(res) |
| 38 | - this.$message.success(this.$t('deleteCommunity.deleteSuccess')) | 38 | + this.$message.success(this.$t('common.operationSuccess')) |
| 39 | this.visible = false | 39 | this.visible = false |
| 40 | this.$emit('listData') | 40 | this.$emit('listData') |
| 41 | }).catch(error => { | 41 | }).catch(error => { |
src/components/community/deleteCommunityPublicity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('communityPublicityManage.deleteTitle')" | 3 | :title="$t('communityPublicityManage.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | communityId: getCommunityId() | 46 | communityId: getCommunityId() |
| 47 | } | 47 | } |
| 48 | await deleteCommunityPublicity(params) | 48 | await deleteCommunityPublicity(params) |
| 49 | - this.$message.success(this.$t('communityPublicityManage.deleteSuccess')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | this.handleClose() | 51 | this.handleClose() |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/community/deleteCommunitySpacePerson.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteCommunitySpacePerson.confirmTitle')" | 3 | :title="$t('deleteCommunitySpacePerson.confirmTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | } | 44 | } |
| 45 | await deleteCommunitySpacePerson(data) | 45 | await deleteCommunitySpacePerson(data) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | - this.$message.success(this.$t('common.deleteSuccess')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.close() | 48 | this.close() |
| 49 | } catch (error) { | 49 | } catch (error) { |
| 50 | this.$message.error(error.message || this.$t('common.deleteFailed')) | 50 | this.$message.error(error.message || this.$t('common.deleteFailed')) |
src/components/community/editCityArea.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('cityArea.editArea')" :visible.sync="visible" width="50%"> | 2 | <el-dialog :title="$t('cityArea.editArea')" :visible.sync="visible" width="50%"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('cityArea.areaName')" prop="areaName" | 4 | <el-form-item :label="$t('cityArea.areaName')" prop="areaName" |
| @@ -56,7 +56,7 @@ export default { | @@ -56,7 +56,7 @@ export default { | ||
| 56 | try { | 56 | try { |
| 57 | await this.$refs.form.validate() | 57 | await this.$refs.form.validate() |
| 58 | await updateArea(this.formData) | 58 | await updateArea(this.formData) |
| 59 | - this.$message.success(this.$t('common.saveSuccess')) | 59 | + this.$message.success(this.$t('common.operationSuccess')) |
| 60 | this.visible = false | 60 | this.visible = false |
| 61 | this.$emit('refresh') | 61 | this.$emit('refresh') |
| 62 | } catch (error) { | 62 | } catch (error) { |
src/components/community/editCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editCommunity.title')" :visible.sync="visible" width="60%" @close="refreshEditCommunityInfo"> | 2 | <el-dialog :title="$t('editCommunity.title')" :visible.sync="visible" width="60%" @close="refreshEditCommunityInfo"> |
| 3 | <el-form ref="form" :model="editCommunityInfo" label-width="120px"> | 3 | <el-form ref="form" :model="editCommunityInfo" label-width="120px"> |
| 4 | <el-form-item :label="$t('editCommunity.name')" prop="name" required> | 4 | <el-form-item :label="$t('editCommunity.name')" prop="name" required> |
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | } | 95 | } |
| 96 | updateCommunity(this.editCommunityInfo).then(res => { | 96 | updateCommunity(this.editCommunityInfo).then(res => { |
| 97 | console.log(res) | 97 | console.log(res) |
| 98 | - this.$message.success(this.$t('editCommunity.saveSuccess')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.visible = false | 99 | this.visible = false |
| 100 | this.$emit('listData') | 100 | this.$emit('listData') |
| 101 | 101 |
src/components/community/editCommunityArea.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="800px" @close="resetForm"> | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('enterCommunity.communityName')" prop="name"> | 4 | <el-form-item :label="$t('enterCommunity.communityName')" prop="name"> |
| @@ -93,8 +93,12 @@ export default { | @@ -93,8 +93,12 @@ export default { | ||
| 93 | }, | 93 | }, |
| 94 | async updateCommunity() { | 94 | async updateCommunity() { |
| 95 | try { | 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 | this.visible = false | 102 | this.visible = false |
| 99 | this.$emit('success') | 103 | this.$emit('success') |
| 100 | } catch (error) { | 104 | } catch (error) { |
src/components/community/syncSubscribeWechat.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('wechatSubscribe.confirmTitle')" | 3 | :title="$t('wechatSubscribe.confirmTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | communityId: getCommunityId() | 38 | communityId: getCommunityId() |
| 39 | } | 39 | } |
| 40 | await synchronizeWechatSubscribe(params) | 40 | await synchronizeWechatSubscribe(params) |
| 41 | - this.$message.success(this.$t('wechatSubscribe.syncSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | this.handleClose() | 43 | this.handleClose() |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/contract/StopContract.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('stopContract.dialog.title')" | 3 | :title="$t('stopContract.dialog.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleConfirm() { | 38 | async handleConfirm() { |
| 39 | try { | 39 | try { |
| 40 | await stopContract(this.currentContract) | 40 | await stopContract(this.currentContract) |
| 41 | - this.$message.success(this.$t('stopContract.message.success')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | this.handleClose() | 43 | this.handleClose() |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/contract/addContractPartya.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('contractPartyaManage.add.title')" | 3 | :title="$t('contractPartyaManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -116,7 +116,7 @@ export default { | @@ -116,7 +116,7 @@ export default { | ||
| 116 | if (valid) { | 116 | if (valid) { |
| 117 | try { | 117 | try { |
| 118 | await saveContractPartya(this.formData) | 118 | await saveContractPartya(this.formData) |
| 119 | - this.$message.success(this.$t('common.addSuccess')) | 119 | + this.$message.success(this.$t('common.operationSuccess')) |
| 120 | this.visible = false | 120 | this.visible = false |
| 121 | this.$emit('success') | 121 | this.$emit('success') |
| 122 | } catch (error) { | 122 | } catch (error) { |
src/components/contract/addContractType.vue
| @@ -116,7 +116,7 @@ export default { | @@ -116,7 +116,7 @@ export default { | ||
| 116 | const res = await saveContractType(this.form) | 116 | const res = await saveContractType(this.form) |
| 117 | 117 | ||
| 118 | if (res.code === 0) { | 118 | if (res.code === 0) { |
| 119 | - this.$message.success(this.$t('common.operateSuccess')) | 119 | + this.$message.success(this.$t('common.operationSuccess')) |
| 120 | this.visible = false | 120 | this.visible = false |
| 121 | this.$emit('success') | 121 | this.$emit('success') |
| 122 | } else { | 122 | } else { |
src/components/contract/addContractTypeSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('contractTypeSpecManage.add.title')" | 3 | :title="$t('contractTypeSpecManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -206,7 +206,7 @@ export default { | @@ -206,7 +206,7 @@ export default { | ||
| 206 | if (valid) { | 206 | if (valid) { |
| 207 | try { | 207 | try { |
| 208 | await saveContractTypeSpec(this.formData) | 208 | await saveContractTypeSpec(this.formData) |
| 209 | - this.$message.success(this.$t('contractTypeSpecManage.add.success')) | 209 | + this.$message.success(this.$t('common.operationSuccess')) |
| 210 | this.visible = false | 210 | this.visible = false |
| 211 | this.$emit('success') | 211 | this.$emit('success') |
| 212 | } catch (error) { | 212 | } catch (error) { |
src/components/contract/addTemplateView.vue
| @@ -89,7 +89,7 @@ export default { | @@ -89,7 +89,7 @@ export default { | ||
| 89 | : await saveContractTypeTemplate(data) | 89 | : await saveContractTypeTemplate(data) |
| 90 | 90 | ||
| 91 | if (res.code === 0) { | 91 | if (res.code === 0) { |
| 92 | - this.$message.success(this.$t('common.operateSuccess')) | 92 | + this.$message.success(this.$t('common.operationSuccess')) |
| 93 | this.visible = false | 93 | this.visible = false |
| 94 | this.$emit('success') | 94 | this.$emit('success') |
| 95 | } else { | 95 | } else { |
src/components/contract/deleteContract.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('contractManage.delete.title')" | 3 | :title="$t('contractManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | communityId: getCommunityId() | 42 | communityId: getCommunityId() |
| 43 | } | 43 | } |
| 44 | await deleteContract(params) | 44 | await deleteContract(params) |
| 45 | - this.$message.success(this.$t('contractManage.delete.success')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.handleClose() | 47 | this.handleClose() |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/contract/deleteContractChangePlan.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteContractChangePlan.title')" | 3 | :title="$t('deleteContractChangePlan.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleConfirm() { | 38 | async handleConfirm() { |
| 39 | try { | 39 | try { |
| 40 | await deleteContractChangePlan(this.currentData) | 40 | await deleteContractChangePlan(this.currentData) |
| 41 | - this.$message.success(this.$t('deleteContractChangePlan.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | this.handleClose() | 43 | this.handleClose() |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/contract/deleteContractPartya.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('contractPartyaManage.delete.title')" | 3 | :title="$t('contractPartyaManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | async handleConfirm() { | 51 | async handleConfirm() { |
| 52 | try { | 52 | try { |
| 53 | await deleteContractPartya(this.deleteData) | 53 | await deleteContractPartya(this.deleteData) |
| 54 | - this.$message.success(this.$t('common.deleteSuccess')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | this.visible = false | 55 | this.visible = false |
| 56 | this.$emit('success') | 56 | this.$emit('success') |
| 57 | } catch (error) { | 57 | } catch (error) { |
src/components/contract/deleteContractType.vue
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | const res = await deleteContractType(this.form) | 54 | const res = await deleteContractType(this.form) |
| 55 | 55 | ||
| 56 | if (res.code === 0) { | 56 | if (res.code === 0) { |
| 57 | - this.$message.success(this.$t('common.operateSuccess')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.visible = false | 58 | this.visible = false |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } else { | 60 | } else { |
src/components/contract/deleteContractTypeSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('contractTypeSpecManage.delete.title')" | 3 | :title="$t('contractTypeSpecManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | async handleConfirm() { | 51 | async handleConfirm() { |
| 52 | try { | 52 | try { |
| 53 | await deleteContractTypeSpec(this.formData) | 53 | await deleteContractTypeSpec(this.formData) |
| 54 | - this.$message.success(this.$t('contractTypeSpecManage.delete.success')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | this.visible = false | 55 | this.visible = false |
| 56 | this.$emit('success') | 56 | this.$emit('success') |
| 57 | } catch (error) { | 57 | } catch (error) { |
src/components/contract/editContract.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('contractManage.edit.title')" :visible.sync="visible" width="70%" :before-close="handleClose"> | 2 | <el-dialog :title="$t('contractManage.edit.title')" :visible.sync="visible" width="70%" :before-close="handleClose"> |
| 3 | <el-form :model="editContractInfo" label-width="120px" class="text-left" ref="editForm"> | 3 | <el-form :model="editContractInfo" label-width="120px" class="text-left" ref="editForm"> |
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -297,7 +297,7 @@ export default { | @@ -297,7 +297,7 @@ export default { | ||
| 297 | 297 | ||
| 298 | const data = await uploadFile(formData,{}) | 298 | const data = await uploadFile(formData,{}) |
| 299 | this.editContractInfo.contractFilePo[index].fileSaveName = data.realFileName | 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 | } catch (error) { | 301 | } catch (error) { |
| 302 | console.error('上传文件失败:', error) | 302 | console.error('上传文件失败:', error) |
| 303 | this.$message.error(this.$t('contractManage.edit.uploadError')) | 303 | this.$message.error(this.$t('contractManage.edit.uploadError')) |
| @@ -306,7 +306,7 @@ export default { | @@ -306,7 +306,7 @@ export default { | ||
| 306 | async editContract() { | 306 | async editContract() { |
| 307 | try { | 307 | try { |
| 308 | await updateContract(this.editContractInfo) | 308 | await updateContract(this.editContractInfo) |
| 309 | - this.$message.success(this.$t('contractManage.edit.saveSuccess')) | 309 | + this.$message.success(this.$t('common.operationSuccess')) |
| 310 | this.$emit('success') | 310 | this.$emit('success') |
| 311 | this.handleClose() | 311 | this.handleClose() |
| 312 | } catch (error) { | 312 | } catch (error) { |
src/components/contract/editContractPartya.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('contractPartyaManage.edit.title')" | 3 | :title="$t('contractPartyaManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -124,7 +124,7 @@ export default { | @@ -124,7 +124,7 @@ export default { | ||
| 124 | if (valid) { | 124 | if (valid) { |
| 125 | try { | 125 | try { |
| 126 | await updateContractPartya(this.formData) | 126 | await updateContractPartya(this.formData) |
| 127 | - this.$message.success(this.$t('common.editSuccess')) | 127 | + this.$message.success(this.$t('common.operationSuccess')) |
| 128 | this.visible = false | 128 | this.visible = false |
| 129 | this.$emit('success') | 129 | this.$emit('success') |
| 130 | } catch (error) { | 130 | } catch (error) { |
src/components/contract/editContractType.vue
| @@ -126,7 +126,7 @@ export default { | @@ -126,7 +126,7 @@ export default { | ||
| 126 | const res = await updateContractType(this.form) | 126 | const res = await updateContractType(this.form) |
| 127 | 127 | ||
| 128 | if (res.code === 0) { | 128 | if (res.code === 0) { |
| 129 | - this.$message.success(this.$t('common.operateSuccess')) | 129 | + this.$message.success(this.$t('common.operationSuccess')) |
| 130 | this.visible = false | 130 | this.visible = false |
| 131 | this.$emit('success') | 131 | this.$emit('success') |
| 132 | } else { | 132 | } else { |
src/components/contract/editContractTypeSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('contractTypeSpecManage.edit.title')" | 3 | :title="$t('contractTypeSpecManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -209,7 +209,7 @@ export default { | @@ -209,7 +209,7 @@ export default { | ||
| 209 | if (valid) { | 209 | if (valid) { |
| 210 | try { | 210 | try { |
| 211 | await updateContractTypeSpec(this.formData) | 211 | await updateContractTypeSpec(this.formData) |
| 212 | - this.$message.success(this.$t('contractTypeSpecManage.edit.success')) | 212 | + this.$message.success(this.$t('common.operationSuccess')) |
| 213 | this.visible = false | 213 | this.visible = false |
| 214 | this.$emit('success') | 214 | this.$emit('success') |
| 215 | } catch (error) { | 215 | } catch (error) { |
src/components/dev/AddApp.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('app.dialog.addTitle')" | 3 | :title="$t('app.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -101,7 +101,7 @@ export default { | @@ -101,7 +101,7 @@ export default { | ||
| 101 | try { | 101 | try { |
| 102 | await this.$refs.form.validate() | 102 | await this.$refs.form.validate() |
| 103 | await addApp(this.form) | 103 | await addApp(this.form) |
| 104 | - this.$message.success(this.$t('app.add.success')) | 104 | + this.$message.success(this.$t('common.operationSuccess')) |
| 105 | this.handleClose() | 105 | this.handleClose() |
| 106 | this.$emit('success') | 106 | this.$emit('success') |
| 107 | } catch (error) { | 107 | } catch (error) { |
src/components/dev/AddAttrSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('attrSpec.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('attrSpec.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('attrSpec.form.domain')" prop="domain"> | 4 | <el-form-item :label="$t('attrSpec.form.domain')" prop="domain"> |
| @@ -141,7 +141,7 @@ export default { | @@ -141,7 +141,7 @@ export default { | ||
| 141 | await this.$refs.form.validate() | 141 | await this.$refs.form.validate() |
| 142 | this.form.tableName = this.tableName | 142 | this.form.tableName = this.tableName |
| 143 | await addAttrSpec(this.form) | 143 | await addAttrSpec(this.form) |
| 144 | - this.$message.success(this.$t('attrSpec.add.success')) | 144 | + this.$message.success(this.$t('common.operationSuccess')) |
| 145 | this.handleClose() | 145 | this.handleClose() |
| 146 | this.$emit('success') | 146 | this.$emit('success') |
| 147 | } catch (error) { | 147 | } catch (error) { |
src/components/dev/AddAttrValue.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('attrValue.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('attrValue.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('attrValue.form.value')" prop="value"> | 4 | <el-form-item :label="$t('attrValue.form.value')" prop="value"> |
| @@ -84,7 +84,7 @@ export default { | @@ -84,7 +84,7 @@ export default { | ||
| 84 | await this.$refs.form.validate() | 84 | await this.$refs.form.validate() |
| 85 | this.form.specId = this.specId | 85 | this.form.specId = this.specId |
| 86 | await addAttrValue(this.form) | 86 | await addAttrValue(this.form) |
| 87 | - this.$message.success(this.$t('attrValue.add.success')) | 87 | + this.$message.success(this.$t('common.operationSuccess')) |
| 88 | this.handleClose() | 88 | this.handleClose() |
| 89 | this.$emit('success') | 89 | this.$emit('success') |
| 90 | } catch (error) { | 90 | } catch (error) { |
src/components/dev/AddBusinessDatabus.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('businessDatabus.dialog.addTitle')" | 3 | :title="$t('businessDatabus.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -116,7 +116,7 @@ export default { | @@ -116,7 +116,7 @@ export default { | ||
| 116 | try { | 116 | try { |
| 117 | await this.$refs.form.validate() | 117 | await this.$refs.form.validate() |
| 118 | await addBusinessDatabus(this.form) | 118 | await addBusinessDatabus(this.form) |
| 119 | - this.$message.success(this.$t('businessDatabus.add.success')) | 119 | + this.$message.success(this.$t('common.operationSuccess')) |
| 120 | this.handleClose() | 120 | this.handleClose() |
| 121 | this.$emit('success') | 121 | this.$emit('success') |
| 122 | } catch (error) { | 122 | } catch (error) { |
src/components/dev/AddBusinessTableHis.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('businessTableHis.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" | 2 | <el-dialog :title="$t('businessTableHis.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| @@ -88,7 +88,7 @@ export default { | @@ -88,7 +88,7 @@ export default { | ||
| 88 | try { | 88 | try { |
| 89 | await this.$refs.form.validate() | 89 | await this.$refs.form.validate() |
| 90 | await addBusinessTableHis(this.form) | 90 | await addBusinessTableHis(this.form) |
| 91 | - this.$message.success(this.$t('businessTableHis.add.success')) | 91 | + this.$message.success(this.$t('common.operationSuccess')) |
| 92 | this.handleClose() | 92 | this.handleClose() |
| 93 | this.$emit('success') | 93 | this.$emit('success') |
| 94 | } catch (error) { | 94 | } catch (error) { |
src/components/dev/AddDict.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('dict.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('dict.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('dict.form.name')" prop="name"> | 4 | <el-form-item :label="$t('dict.form.name')" prop="name"> |
| @@ -72,7 +72,7 @@ export default { | @@ -72,7 +72,7 @@ export default { | ||
| 72 | await this.$refs.form.validate() | 72 | await this.$refs.form.validate() |
| 73 | this.form.specId = this.specId | 73 | this.form.specId = this.specId |
| 74 | await addDict(this.form) | 74 | await addDict(this.form) |
| 75 | - this.$message.success(this.$t('dict.add.success')) | 75 | + this.$message.success(this.$t('common.operationSuccess')) |
| 76 | this.handleClose() | 76 | this.handleClose() |
| 77 | this.$emit('success') | 77 | this.$emit('success') |
| 78 | } catch (error) { | 78 | } catch (error) { |
src/components/dev/AddMapping.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('mapping.dialog.addTitle')" | 3 | :title="$t('mapping.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -104,7 +104,7 @@ export default { | @@ -104,7 +104,7 @@ export default { | ||
| 104 | await this.$refs.form.validate() | 104 | await this.$refs.form.validate() |
| 105 | this.form.domain = this.domain | 105 | this.form.domain = this.domain |
| 106 | await addMapping(this.form) | 106 | await addMapping(this.form) |
| 107 | - this.$message.success(this.$t('mapping.add.success')) | 107 | + this.$message.success(this.$t('common.operationSuccess')) |
| 108 | this.handleClose() | 108 | this.handleClose() |
| 109 | this.$emit('success') | 109 | this.$emit('success') |
| 110 | } catch (error) { | 110 | } catch (error) { |
src/components/dev/AddMappingDomain.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('mappingDomain.dialog.addTitle')" | 3 | :title="$t('mappingDomain.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -100,7 +100,7 @@ export default { | @@ -100,7 +100,7 @@ export default { | ||
| 100 | try { | 100 | try { |
| 101 | await this.$refs.form.validate() | 101 | await this.$refs.form.validate() |
| 102 | await addMappingDomain(this.form) | 102 | await addMappingDomain(this.form) |
| 103 | - this.$message.success(this.$t('mappingDomain.add.success')) | 103 | + this.$message.success(this.$t('common.operationSuccess')) |
| 104 | this.handleClose() | 104 | this.handleClose() |
| 105 | this.$emit('success') | 105 | this.$emit('success') |
| 106 | } catch (error) { | 106 | } catch (error) { |
src/components/dev/AddMenu.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('menu.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('menu.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('menu.form.name')" prop="name"> | 4 | <el-form-item :label="$t('menu.form.name')" prop="name"> |
| @@ -124,7 +124,7 @@ export default { | @@ -124,7 +124,7 @@ export default { | ||
| 124 | await addMenu({ | 124 | await addMenu({ |
| 125 | data: _data | 125 | data: _data |
| 126 | }) | 126 | }) |
| 127 | - this.$message.success(this.$t('menu.add.success')) | 127 | + this.$message.success(this.$t('common.operationSuccess')) |
| 128 | this.handleClose() | 128 | this.handleClose() |
| 129 | this.$emit('success') | 129 | this.$emit('success') |
| 130 | } catch (error) { | 130 | } catch (error) { |
src/components/dev/AddMenuCatalog.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('menuCatalog.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('menuCatalog.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('menuCatalog.form.name')" prop="name"> | 4 | <el-form-item :label="$t('menuCatalog.form.name')" prop="name"> |
| @@ -101,7 +101,7 @@ export default { | @@ -101,7 +101,7 @@ export default { | ||
| 101 | try { | 101 | try { |
| 102 | await this.$refs.form.validate() | 102 | await this.$refs.form.validate() |
| 103 | await addMenuCatalog(this.form) | 103 | await addMenuCatalog(this.form) |
| 104 | - this.$message.success(this.$t('menuCatalog.add.success')) | 104 | + this.$message.success(this.$t('common.operationSuccess')) |
| 105 | this.handleClose() | 105 | this.handleClose() |
| 106 | this.$emit('success') | 106 | this.$emit('success') |
| 107 | } catch (error) { | 107 | } catch (error) { |
src/components/dev/AddMenuGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('menuGroup.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('menuGroup.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('menuGroup.form.name')" prop="name"> | 4 | <el-form-item :label="$t('menuGroup.form.name')" prop="name"> |
| @@ -111,7 +111,7 @@ export default { | @@ -111,7 +111,7 @@ export default { | ||
| 111 | try { | 111 | try { |
| 112 | await this.$refs.form.validate() | 112 | await this.$refs.form.validate() |
| 113 | await addMenuGroup(this.form) | 113 | await addMenuGroup(this.form) |
| 114 | - this.$message.success(this.$t('menuGroup.add.success')) | 114 | + this.$message.success(this.$t('common.operationSuccess')) |
| 115 | this.handleClose() | 115 | this.handleClose() |
| 116 | this.$emit('success') | 116 | this.$emit('success') |
| 117 | } catch (error) { | 117 | } catch (error) { |
src/components/dev/AddMenuGroupCatalog.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('menuGroupCatalog.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" | 2 | <el-dialog :title="$t('menuGroupCatalog.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| @@ -98,7 +98,7 @@ export default { | @@ -98,7 +98,7 @@ export default { | ||
| 98 | caId: this.caId, | 98 | caId: this.caId, |
| 99 | storeType: this.storeType, | 99 | storeType: this.storeType, |
| 100 | }) | 100 | }) |
| 101 | - this.$message.success(this.$t('menuGroupCatalog.add.success')) | 101 | + this.$message.success(this.$t('common.operationSuccess')) |
| 102 | this.handleClose() | 102 | this.handleClose() |
| 103 | this.$emit('success') | 103 | this.$emit('success') |
| 104 | } catch (error) { | 104 | } catch (error) { |
src/components/dev/AddPrivilege.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('privilege.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('privilege.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('privilege.form.name')" prop="name"> | 4 | <el-form-item :label="$t('privilege.form.name')" prop="name"> |
| @@ -87,7 +87,7 @@ export default { | @@ -87,7 +87,7 @@ export default { | ||
| 87 | this.form.domain = this.domain | 87 | this.form.domain = this.domain |
| 88 | await this.$refs.form.validate() | 88 | await this.$refs.form.validate() |
| 89 | await addPrivilege(this.form) | 89 | await addPrivilege(this.form) |
| 90 | - this.$message.success(this.$t('privilege.add.success')) | 90 | + this.$message.success(this.$t('common.operationSuccess')) |
| 91 | this.handleClose() | 91 | this.handleClose() |
| 92 | this.$emit('success') | 92 | this.$emit('success') |
| 93 | } catch (error) { | 93 | } catch (error) { |
src/components/dev/AddService.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('service.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('service.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | ||
| @@ -110,7 +110,7 @@ export default { | @@ -110,7 +110,7 @@ export default { | ||
| 110 | try { | 110 | try { |
| 111 | await this.$refs.form.validate() | 111 | await this.$refs.form.validate() |
| 112 | await addService(this.form) | 112 | await addService(this.form) |
| 113 | - this.$message.success(this.$t('service.add.success')) | 113 | + this.$message.success(this.$t('common.operationSuccess')) |
| 114 | this.handleClose() | 114 | this.handleClose() |
| 115 | this.$emit('success') | 115 | this.$emit('success') |
| 116 | } catch (error) { | 116 | } catch (error) { |
src/components/dev/AddServiceBusiness.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('serviceBusiness.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" | 2 | <el-dialog :title="$t('serviceBusiness.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | try { | 95 | try { |
| 96 | await this.$refs.form.validate() | 96 | await this.$refs.form.validate() |
| 97 | await addServiceBusiness(this.form) | 97 | await addServiceBusiness(this.form) |
| 98 | - this.$message.success(this.$t('serviceBusiness.add.success')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.handleClose() | 99 | this.handleClose() |
| 100 | this.$emit('success') | 100 | this.$emit('success') |
| 101 | } catch (error) { | 101 | } catch (error) { |
src/components/dev/AddTask.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('task.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('task.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('task.form.taskName')" prop="taskName"> | 4 | <el-form-item :label="$t('task.form.taskName')" prop="taskName"> |
| @@ -105,7 +105,7 @@ export default { | @@ -105,7 +105,7 @@ export default { | ||
| 105 | try { | 105 | try { |
| 106 | await this.$refs.form.validate() | 106 | await this.$refs.form.validate() |
| 107 | await addTask(this.form) | 107 | await addTask(this.form) |
| 108 | - this.$message.success(this.$t('task.add.success')) | 108 | + this.$message.success(this.$t('common.operationSuccess')) |
| 109 | this.handleClose() | 109 | this.handleClose() |
| 110 | this.$emit('success') | 110 | this.$emit('success') |
| 111 | } catch (error) { | 111 | } catch (error) { |
src/components/dev/DelApp.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('app.dialog.delTitle')" | 3 | :title="$t('app.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteApp(this.appId) | 56 | await deleteApp(this.appId) |
| 57 | - this.$message.success(this.$t('app.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelAttrSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('attrSpec.dialog.delTitle')" | 3 | :title="$t('attrSpec.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteAttrSpec(this.specId) | 56 | await deleteAttrSpec(this.specId) |
| 57 | - this.$message.success(this.$t('attrSpec.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelAttrValue.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('attrValue.dialog.delTitle')" | 3 | :title="$t('attrValue.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -58,7 +58,7 @@ export default { | @@ -58,7 +58,7 @@ export default { | ||
| 58 | async handleConfirm() { | 58 | async handleConfirm() { |
| 59 | try { | 59 | try { |
| 60 | await deleteAttrValue(this.valueId,this.specId) | 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 | this.handleClose() | 62 | this.handleClose() |
| 63 | this.$emit('success') | 63 | this.$emit('success') |
| 64 | } catch (error) { | 64 | } catch (error) { |
src/components/dev/DelBusinessDatabus.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('businessDatabus.dialog.delTitle')" | 3 | :title="$t('businessDatabus.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteBusinessDatabus(this.databusId) | 56 | await deleteBusinessDatabus(this.databusId) |
| 57 | - this.$message.success(this.$t('businessDatabus.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelBusinessTableHis.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('businessTableHis.dialog.delTitle')" | 3 | :title="$t('businessTableHis.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteBusinessTableHis(this.hisId) | 56 | await deleteBusinessTableHis(this.hisId) |
| 57 | - this.$message.success(this.$t('businessTableHis.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelDict.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('dict.dialog.delTitle')" | 3 | :title="$t('dict.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteDict(this.id) | 56 | await deleteDict(this.id) |
| 57 | - this.$message.success(this.$t('dict.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelMapping.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('mapping.dialog.delTitle')" | 3 | :title="$t('mapping.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteMapping(this.mappingId) | 56 | await deleteMapping(this.mappingId) |
| 57 | - this.$message.success(this.$t('mapping.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelMappingDomain.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('mappingDomain.dialog.delTitle')" | 3 | :title="$t('mappingDomain.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteMappingDomain(this.id) | 56 | await deleteMappingDomain(this.id) |
| 57 | - this.$message.success(this.$t('mappingDomain.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelMenu.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menu.dialog.delTitle')" | 3 | :title="$t('menu.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -58,7 +58,7 @@ export default { | @@ -58,7 +58,7 @@ export default { | ||
| 58 | async handleConfirm() { | 58 | async handleConfirm() { |
| 59 | try { | 59 | try { |
| 60 | await deleteMenu(this.mId,this.pId) | 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 | this.handleClose() | 62 | this.handleClose() |
| 63 | this.$emit('success') | 63 | this.$emit('success') |
| 64 | } catch (error) { | 64 | } catch (error) { |
src/components/dev/DelMenuCatalog.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menuCatalog.dialog.delTitle')" | 3 | :title="$t('menuCatalog.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -58,7 +58,7 @@ export default { | @@ -58,7 +58,7 @@ export default { | ||
| 58 | async handleConfirm() { | 58 | async handleConfirm() { |
| 59 | try { | 59 | try { |
| 60 | await deleteMenuCatalog(this.caId,this.storeType) | 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 | this.handleClose() | 62 | this.handleClose() |
| 63 | this.$emit('success') | 63 | this.$emit('success') |
| 64 | } catch (error) { | 64 | } catch (error) { |
src/components/dev/DelMenuGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menuGroup.dialog.delTitle')" | 3 | :title="$t('menuGroup.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteMenuGroup(this.gId) | 56 | await deleteMenuGroup(this.gId) |
| 57 | - this.$message.success(this.$t('menuGroup.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelMenuGroupCatalog.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menuGroupCatalog.dialog.delTitle')" | 3 | :title="$t('menuGroupCatalog.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -58,7 +58,7 @@ export default { | @@ -58,7 +58,7 @@ export default { | ||
| 58 | async handleConfirm() { | 58 | async handleConfirm() { |
| 59 | try { | 59 | try { |
| 60 | await deleteMenuGroupCatalog(this.gcId,this.storeType) | 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 | this.handleClose() | 62 | this.handleClose() |
| 63 | this.$emit('success') | 63 | this.$emit('success') |
| 64 | } catch (error) { | 64 | } catch (error) { |
src/components/dev/DelPrivilege.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('privilege.dialog.delTitle')" | 3 | :title="$t('privilege.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deletePrivilege(this.privilegeId) | 56 | await deletePrivilege(this.privilegeId) |
| 57 | - this.$message.success(this.$t('privilege.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelRoute.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('route.dialog.delTitle')" | 3 | :title="$t('route.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteRoute(this.routeId) | 56 | await deleteRoute(this.routeId) |
| 57 | - this.$message.success(this.$t('route.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelService.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('service.dialog.delTitle')" | 3 | :title="$t('service.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteService(this.serviceId) | 56 | await deleteService(this.serviceId) |
| 57 | - this.$message.success(this.$t('service.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelServiceBusiness.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('serviceBusiness.dialog.delTitle')" | 3 | :title="$t('serviceBusiness.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteServiceBusiness(this.serviceBusinessId) | 56 | await deleteServiceBusiness(this.serviceBusinessId) |
| 57 | - this.$message.success(this.$t('serviceBusiness.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DelTask.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('task.dialog.delTitle')" | 3 | :title="$t('task.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteTask(this.taskId) | 56 | await deleteTask(this.taskId) |
| 57 | - this.$message.success(this.$t('task.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/dev/DeleteServiceProvide.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('serviceProvideManage.delete.title')" | 3 | :title="$t('serviceProvideManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | async handleConfirm() { | 44 | async handleConfirm() { |
| 45 | try { | 45 | try { |
| 46 | await deleteServiceProvide({ id: this.serviceId }) | 46 | await deleteServiceProvide({ id: this.serviceId }) |
| 47 | - this.$message.success(this.$t('serviceProvideManage.delete.success')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.$emit('success') | 48 | this.$emit('success') |
| 49 | this.handleClose() | 49 | this.handleClose() |
| 50 | } catch (error) { | 50 | } catch (error) { |
src/components/dev/EditApp.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('app.dialog.editTitle')" | 3 | :title="$t('app.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -113,7 +113,7 @@ export default { | @@ -113,7 +113,7 @@ export default { | ||
| 113 | try { | 113 | try { |
| 114 | await this.$refs.form.validate() | 114 | await this.$refs.form.validate() |
| 115 | await updateApp(this.form) | 115 | await updateApp(this.form) |
| 116 | - this.$message.success(this.$t('app.edit.success')) | 116 | + this.$message.success(this.$t('common.operationSuccess')) |
| 117 | this.handleClose() | 117 | this.handleClose() |
| 118 | this.$emit('success') | 118 | this.$emit('success') |
| 119 | } catch (error) { | 119 | } catch (error) { |
src/components/dev/EditAttrSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('attrSpec.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('attrSpec.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('attrSpec.form.domain')" prop="domain"> | 4 | <el-form-item :label="$t('attrSpec.form.domain')" prop="domain"> |
| @@ -147,7 +147,7 @@ export default { | @@ -147,7 +147,7 @@ export default { | ||
| 147 | try { | 147 | try { |
| 148 | await this.$refs.form.validate() | 148 | await this.$refs.form.validate() |
| 149 | await updateAttrSpec(this.form) | 149 | await updateAttrSpec(this.form) |
| 150 | - this.$message.success(this.$t('attrSpec.edit.success')) | 150 | + this.$message.success(this.$t('common.operationSuccess')) |
| 151 | this.handleClose() | 151 | this.handleClose() |
| 152 | this.$emit('success') | 152 | this.$emit('success') |
| 153 | } catch (error) { | 153 | } catch (error) { |
src/components/dev/EditAttrValue.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('attrValue.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('attrValue.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('attrValue.form.value')" prop="value"> | 4 | <el-form-item :label="$t('attrValue.form.value')" prop="value"> |
| @@ -92,7 +92,7 @@ export default { | @@ -92,7 +92,7 @@ export default { | ||
| 92 | try { | 92 | try { |
| 93 | await this.$refs.form.validate() | 93 | await this.$refs.form.validate() |
| 94 | await updateAttrValue(this.form) | 94 | await updateAttrValue(this.form) |
| 95 | - this.$message.success(this.$t('attrValue.edit.success')) | 95 | + this.$message.success(this.$t('common.operationSuccess')) |
| 96 | this.handleClose() | 96 | this.handleClose() |
| 97 | this.$emit('success') | 97 | this.$emit('success') |
| 98 | } catch (error) { | 98 | } catch (error) { |
src/components/dev/EditBusinessDatabus.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('businessDatabus.dialog.editTitle')" | 3 | :title="$t('businessDatabus.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -127,7 +127,7 @@ export default { | @@ -127,7 +127,7 @@ export default { | ||
| 127 | try { | 127 | try { |
| 128 | await this.$refs.form.validate() | 128 | await this.$refs.form.validate() |
| 129 | await updateBusinessDatabus(this.form) | 129 | await updateBusinessDatabus(this.form) |
| 130 | - this.$message.success(this.$t('businessDatabus.edit.success')) | 130 | + this.$message.success(this.$t('common.operationSuccess')) |
| 131 | this.handleClose() | 131 | this.handleClose() |
| 132 | this.$emit('success') | 132 | this.$emit('success') |
| 133 | } catch (error) { | 133 | } catch (error) { |
src/components/dev/EditBusinessTableHis.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('businessTableHis.dialog.editTitle')" | 3 | :title="$t('businessTableHis.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -123,7 +123,7 @@ export default { | @@ -123,7 +123,7 @@ export default { | ||
| 123 | try { | 123 | try { |
| 124 | await this.$refs.form.validate() | 124 | await this.$refs.form.validate() |
| 125 | await updateBusinessTableHis(this.form) | 125 | await updateBusinessTableHis(this.form) |
| 126 | - this.$message.success(this.$t('businessTableHis.edit.success')) | 126 | + this.$message.success(this.$t('common.operationSuccess')) |
| 127 | this.handleClose() | 127 | this.handleClose() |
| 128 | this.$emit('success') | 128 | this.$emit('success') |
| 129 | } catch (error) { | 129 | } catch (error) { |
src/components/dev/EditDict.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('dict.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('dict.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('dict.form.name')" prop="name"> | 4 | <el-form-item :label="$t('dict.form.name')" prop="name"> |
| @@ -79,7 +79,7 @@ export default { | @@ -79,7 +79,7 @@ export default { | ||
| 79 | try { | 79 | try { |
| 80 | await this.$refs.form.validate() | 80 | await this.$refs.form.validate() |
| 81 | await updateDict(this.form) | 81 | await updateDict(this.form) |
| 82 | - this.$message.success(this.$t('dict.edit.success')) | 82 | + this.$message.success(this.$t('common.operationSuccess')) |
| 83 | this.handleClose() | 83 | this.handleClose() |
| 84 | this.$emit('success') | 84 | this.$emit('success') |
| 85 | } catch (error) { | 85 | } catch (error) { |
src/components/dev/EditMapping.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('mapping.dialog.editTitle')" | 3 | :title="$t('mapping.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -118,7 +118,7 @@ export default { | @@ -118,7 +118,7 @@ export default { | ||
| 118 | try { | 118 | try { |
| 119 | await this.$refs.form.validate() | 119 | await this.$refs.form.validate() |
| 120 | await updateMapping(this.form) | 120 | await updateMapping(this.form) |
| 121 | - this.$message.success(this.$t('mapping.edit.success')) | 121 | + this.$message.success(this.$t('common.operationSuccess')) |
| 122 | this.handleClose() | 122 | this.handleClose() |
| 123 | this.$emit('success') | 123 | this.$emit('success') |
| 124 | } catch (error) { | 124 | } catch (error) { |
src/components/dev/EditMappingDomain.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('mappingDomain.dialog.editTitle')" | 3 | :title="$t('mappingDomain.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -111,7 +111,7 @@ export default { | @@ -111,7 +111,7 @@ export default { | ||
| 111 | try { | 111 | try { |
| 112 | await this.$refs.form.validate() | 112 | await this.$refs.form.validate() |
| 113 | await updateMappingDomain(this.form) | 113 | await updateMappingDomain(this.form) |
| 114 | - this.$message.success(this.$t('mappingDomain.edit.success')) | 114 | + this.$message.success(this.$t('common.operationSuccess')) |
| 115 | this.handleClose() | 115 | this.handleClose() |
| 116 | this.$emit('success') | 116 | this.$emit('success') |
| 117 | } catch (error) { | 117 | } catch (error) { |
src/components/dev/EditMenu.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('menu.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('menu.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('menu.form.name')" prop="name"> | 4 | <el-form-item :label="$t('menu.form.name')" prop="name"> |
| @@ -103,7 +103,7 @@ export default { | @@ -103,7 +103,7 @@ export default { | ||
| 103 | try { | 103 | try { |
| 104 | await this.$refs.form.validate() | 104 | await this.$refs.form.validate() |
| 105 | await updateMenu(this.form) | 105 | await updateMenu(this.form) |
| 106 | - this.$message.success(this.$t('menu.edit.success')) | 106 | + this.$message.success(this.$t('common.operationSuccess')) |
| 107 | this.handleClose() | 107 | this.handleClose() |
| 108 | this.$emit('success') | 108 | this.$emit('success') |
| 109 | } catch (error) { | 109 | } catch (error) { |
src/components/dev/EditMenuCatalog.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('menuCatalog.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('menuCatalog.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('menuCatalog.form.name')" prop="name"> | 4 | <el-form-item :label="$t('menuCatalog.form.name')" prop="name"> |
| @@ -110,7 +110,7 @@ export default { | @@ -110,7 +110,7 @@ export default { | ||
| 110 | try { | 110 | try { |
| 111 | await this.$refs.form.validate() | 111 | await this.$refs.form.validate() |
| 112 | await updateMenuCatalog(this.form) | 112 | await updateMenuCatalog(this.form) |
| 113 | - this.$message.success(this.$t('menuCatalog.edit.success')) | 113 | + this.$message.success(this.$t('common.operationSuccess')) |
| 114 | this.handleClose() | 114 | this.handleClose() |
| 115 | this.$emit('success') | 115 | this.$emit('success') |
| 116 | } catch (error) { | 116 | } catch (error) { |
src/components/dev/EditMenuGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('menuGroup.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('menuGroup.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('menuGroup.form.name')" prop="name"> | 4 | <el-form-item :label="$t('menuGroup.form.name')" prop="name"> |
| @@ -119,7 +119,7 @@ export default { | @@ -119,7 +119,7 @@ export default { | ||
| 119 | try { | 119 | try { |
| 120 | await this.$refs.form.validate() | 120 | await this.$refs.form.validate() |
| 121 | await updateMenuGroup(this.form) | 121 | await updateMenuGroup(this.form) |
| 122 | - this.$message.success(this.$t('menuGroup.edit.success')) | 122 | + this.$message.success(this.$t('common.operationSuccess')) |
| 123 | this.handleClose() | 123 | this.handleClose() |
| 124 | this.$emit('success') | 124 | this.$emit('success') |
| 125 | } catch (error) { | 125 | } catch (error) { |
src/components/dev/EditPrivilege.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('privilege.dialog.editTitle')" | 3 | :title="$t('privilege.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -108,7 +108,7 @@ export default { | @@ -108,7 +108,7 @@ export default { | ||
| 108 | try { | 108 | try { |
| 109 | await this.$refs.form.validate() | 109 | await this.$refs.form.validate() |
| 110 | await updatePrivilege(this.form) | 110 | await updatePrivilege(this.form) |
| 111 | - this.$message.success(this.$t('privilege.edit.success')) | 111 | + this.$message.success(this.$t('common.operationSuccess')) |
| 112 | this.handleClose() | 112 | this.handleClose() |
| 113 | this.$emit('success') | 113 | this.$emit('success') |
| 114 | } catch (error) { | 114 | } catch (error) { |
src/components/dev/EditService.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('service.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('service.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | 4 | ||
| @@ -120,7 +120,7 @@ export default { | @@ -120,7 +120,7 @@ export default { | ||
| 120 | try { | 120 | try { |
| 121 | await this.$refs.form.validate() | 121 | await this.$refs.form.validate() |
| 122 | await updateService(this.form) | 122 | await updateService(this.form) |
| 123 | - this.$message.success(this.$t('service.edit.success')) | 123 | + this.$message.success(this.$t('common.operationSuccess')) |
| 124 | this.handleClose() | 124 | this.handleClose() |
| 125 | this.$emit('success') | 125 | this.$emit('success') |
| 126 | } catch (error) { | 126 | } catch (error) { |
src/components/dev/EditServiceBusiness.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('serviceBusiness.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" | 2 | <el-dialog :title="$t('serviceBusiness.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| @@ -102,7 +102,7 @@ export default { | @@ -102,7 +102,7 @@ export default { | ||
| 102 | try { | 102 | try { |
| 103 | await this.$refs.form.validate() | 103 | await this.$refs.form.validate() |
| 104 | await updateServiceBusiness(this.form) | 104 | await updateServiceBusiness(this.form) |
| 105 | - this.$message.success(this.$t('serviceBusiness.edit.success')) | 105 | + this.$message.success(this.$t('common.operationSuccess')) |
| 106 | this.handleClose() | 106 | this.handleClose() |
| 107 | this.$emit('success') | 107 | this.$emit('success') |
| 108 | } catch (error) { | 108 | } catch (error) { |
src/components/dev/EditServiceProvide.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | <el-form-item :label="$t('serviceProvideManage.table.name')" prop="name"> | 4 | <el-form-item :label="$t('serviceProvideManage.table.name')" prop="name"> |
| @@ -127,7 +127,7 @@ export default { | @@ -127,7 +127,7 @@ export default { | ||
| 127 | try { | 127 | try { |
| 128 | await this.$refs.form.validate() | 128 | await this.$refs.form.validate() |
| 129 | await updateServiceProvide(this.form) | 129 | await updateServiceProvide(this.form) |
| 130 | - this.$message.success(this.$t('serviceProvideManage.table.success')) | 130 | + this.$message.success(this.$t('common.operationSuccess')) |
| 131 | this.$emit('success') | 131 | this.$emit('success') |
| 132 | this.handleClose() | 132 | this.handleClose() |
| 133 | } catch (error) { | 133 | } catch (error) { |
src/components/dev/EditTask.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('task.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('task.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('task.form.taskName')" prop="taskName"> | 4 | <el-form-item :label="$t('task.form.taskName')" prop="taskName"> |
| @@ -93,7 +93,7 @@ export default { | @@ -93,7 +93,7 @@ export default { | ||
| 93 | try { | 93 | try { |
| 94 | await this.$refs.form.validate() | 94 | await this.$refs.form.validate() |
| 95 | await updateTask(this.form) | 95 | await updateTask(this.form) |
| 96 | - this.$message.success(this.$t('task.edit.success')) | 96 | + this.$message.success(this.$t('common.operationSuccess')) |
| 97 | this.handleClose() | 97 | this.handleClose() |
| 98 | this.$emit('success') | 98 | this.$emit('success') |
| 99 | } catch (error) { | 99 | } catch (error) { |
src/components/fee/AddCommunityPayment.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addCommunityPayment.title')" :visible.sync="visible" width="800px" @closed="resetForm"> | 2 | <el-dialog :title="$t('addCommunityPayment.title')" :visible.sync="visible" width="800px" @closed="resetForm"> |
| 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> | 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
| 4 | <el-form-item :label="$t('communityPayment.paymentName')" prop="paymentName"> | 4 | <el-form-item :label="$t('communityPayment.paymentName')" prop="paymentName"> |
| @@ -171,7 +171,7 @@ export default { | @@ -171,7 +171,7 @@ export default { | ||
| 171 | paymentKeys: this.paymentKeys | 171 | paymentKeys: this.paymentKeys |
| 172 | } | 172 | } |
| 173 | await saveAdminPaymentPool(payload) | 173 | await saveAdminPaymentPool(payload) |
| 174 | - this.$message.success(this.$t('common.saveSuccess')) | 174 | + this.$message.success(this.$t('common.operationSuccess')) |
| 175 | this.visible = false | 175 | this.visible = false |
| 176 | this.$emit('success') | 176 | this.$emit('success') |
| 177 | } catch (error) { | 177 | } catch (error) { |
src/components/fee/DeleteCommunityPayment.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteCommunityPayment.title')" | 3 | :title="$t('deleteCommunityPayment.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -36,7 +36,7 @@ export default { | @@ -36,7 +36,7 @@ export default { | ||
| 36 | async confirmDelete() { | 36 | async confirmDelete() { |
| 37 | try { | 37 | try { |
| 38 | await deleteAdminPaymentPool({ ppId: this.paymentId }) | 38 | await deleteAdminPaymentPool({ ppId: this.paymentId }) |
| 39 | - this.$message.success(this.$t('common.deleteSuccess')) | 39 | + this.$message.success(this.$t('common.operationSuccess')) |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | } catch (error) { | 42 | } catch (error) { |
src/components/fee/EditCommunityPayment.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editCommunityPayment.title')" :visible.sync="visible" width="800px" @closed="resetForm"> | 2 | <el-dialog :title="$t('editCommunityPayment.title')" :visible.sync="visible" width="800px" @closed="resetForm"> |
| 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> | 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
| 4 | <el-form-item :label="$t('communityPayment.paymentName')" prop="paymentName"> | 4 | <el-form-item :label="$t('communityPayment.paymentName')" prop="paymentName"> |
src/components/fee/FeeConfigDetailDiscount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-table :data="discounts" border style="width: 100%"> | 3 | <el-table :data="discounts" border style="width: 100%"> |
| 4 | <el-table-column prop="discountName" :label="$t('feeConfigDetail.discountName')" align="center"></el-table-column> | 4 | <el-table-column prop="discountName" :label="$t('feeConfigDetail.discountName')" align="center"></el-table-column> |
| @@ -105,7 +105,7 @@ export default { | @@ -105,7 +105,7 @@ export default { | ||
| 105 | configDiscountId: this.currentDiscount.configDiscountId, | 105 | configDiscountId: this.currentDiscount.configDiscountId, |
| 106 | communityId: this.getCommunityId() | 106 | communityId: this.getCommunityId() |
| 107 | }) | 107 | }) |
| 108 | - this.$message.success(this.$t('feeConfigDetail.deleteSuccess')) | 108 | + this.$message.success(this.$t('common.operationSuccess')) |
| 109 | this.loadData() | 109 | this.loadData() |
| 110 | this.deleteDialogVisible = false | 110 | this.deleteDialogVisible = false |
| 111 | } catch (error) { | 111 | } catch (error) { |
src/components/fee/addApplyRoomDiscount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('applyRoomDiscount.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('applyRoomDiscount.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('applyRoomDiscount.add.room')" prop="roomName"> | 4 | <el-form-item :label="$t('applyRoomDiscount.add.room')" prop="roomName"> |
| @@ -235,7 +235,7 @@ export default { | @@ -235,7 +235,7 @@ export default { | ||
| 235 | try { | 235 | try { |
| 236 | this.form.communityId = getCommunityId() | 236 | this.form.communityId = getCommunityId() |
| 237 | await saveApplyRoomDiscount(this.form) | 237 | await saveApplyRoomDiscount(this.form) |
| 238 | - this.$message.success(this.$t('applyRoomDiscount.message.saveSuccess')) | 238 | + this.$message.success(this.$t('common.operationSuccess')) |
| 239 | this.visible = false | 239 | this.visible = false |
| 240 | this.$emit('success') | 240 | this.$emit('success') |
| 241 | } catch (error) { | 241 | } catch (error) { |
src/components/fee/addApplyRoomDiscountType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('discountType.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('discountType.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('discountType.form.typeName')" prop="typeName"> | 4 | <el-form-item :label="$t('discountType.form.typeName')" prop="typeName"> |
| @@ -62,7 +62,7 @@ export default { | @@ -62,7 +62,7 @@ export default { | ||
| 62 | try { | 62 | try { |
| 63 | this.formData.communityId = getCommunityId() | 63 | this.formData.communityId = getCommunityId() |
| 64 | await saveApplyRoomDiscountType(this.formData) | 64 | await saveApplyRoomDiscountType(this.formData) |
| 65 | - this.$message.success(this.$t('discountType.add.success')) | 65 | + this.$message.success(this.$t('common.operationSuccess')) |
| 66 | this.visible = false | 66 | this.visible = false |
| 67 | this.$emit('success') | 67 | this.$emit('success') |
| 68 | } catch (error) { | 68 | } catch (error) { |
src/components/fee/addFeeCombo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('feeComboManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('feeComboManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('feeComboManage.add.comboName')" prop="comboName"> | 4 | <el-form-item :label="$t('feeComboManage.add.comboName')" prop="comboName"> |
| @@ -93,7 +93,7 @@ export default { | @@ -93,7 +93,7 @@ export default { | ||
| 93 | if (valid) { | 93 | if (valid) { |
| 94 | try { | 94 | try { |
| 95 | await saveFeeCombo(this.form) | 95 | await saveFeeCombo(this.form) |
| 96 | - this.$message.success(this.$t('feeComboManage.add.success')) | 96 | + this.$message.success(this.$t('common.operationSuccess')) |
| 97 | this.$emit('success') | 97 | this.$emit('success') |
| 98 | this.visible = false | 98 | this.visible = false |
| 99 | } catch (error) { | 99 | } catch (error) { |
src/components/fee/addFeeComboMember.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px" :rules="rules"> | 3 | <el-form ref="form" :model="formData" label-width="120px" :rules="rules"> |
| 4 | <el-form-item :label="$t('feeComboMemberManage.feeType')" prop="feeTypeCd"> | 4 | <el-form-item :label="$t('feeComboMemberManage.feeType')" prop="feeTypeCd"> |
| @@ -89,7 +89,7 @@ export default { | @@ -89,7 +89,7 @@ export default { | ||
| 89 | if (valid) { | 89 | if (valid) { |
| 90 | try { | 90 | try { |
| 91 | await saveFeeComboMember(this.formData) | 91 | await saveFeeComboMember(this.formData) |
| 92 | - this.$message.success(this.$t('feeComboMemberManage.addSuccess')) | 92 | + this.$message.success(this.$t('common.operationSuccess')) |
| 93 | this.$emit('success') | 93 | this.$emit('success') |
| 94 | this.visible = false | 94 | this.visible = false |
| 95 | } catch (error) { | 95 | } catch (error) { |
src/components/fee/addFeeConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="80%" @close="resetForm"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="80%" @close="resetForm"> |
| 3 | <el-form :model="form" :rules="rules" label-width="150px" ref="form"> | 3 | <el-form :model="form" :rules="rules" label-width="150px" ref="form"> |
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -315,7 +315,7 @@ export default { | @@ -315,7 +315,7 @@ export default { | ||
| 315 | // 调用API保存 | 315 | // 调用API保存 |
| 316 | await saveFeeConfig(this.form) | 316 | await saveFeeConfig(this.form) |
| 317 | 317 | ||
| 318 | - this.$message.success(this.$t('common.saveSuccess')) | 318 | + this.$message.success(this.$t('common.operationSuccess')) |
| 319 | this.visible = false | 319 | this.visible = false |
| 320 | this.$emit('success') | 320 | this.$emit('success') |
| 321 | } catch (error) { | 321 | } catch (error) { |
src/components/fee/addFeeDiscount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('feeDiscountManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('feeDiscountManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="addFeeDiscountInfo" label-width="120px" :rules="rules"> | 3 | <el-form ref="form" :model="addFeeDiscountInfo" label-width="120px" :rules="rules"> |
| 4 | <el-form-item :label="$t('feeDiscountManage.add.discountName')" prop="discountName"> | 4 | <el-form-item :label="$t('feeDiscountManage.add.discountName')" prop="discountName"> |
| @@ -137,7 +137,7 @@ export default { | @@ -137,7 +137,7 @@ export default { | ||
| 137 | 137 | ||
| 138 | try { | 138 | try { |
| 139 | await saveFeeDiscount(this.addFeeDiscountInfo) | 139 | await saveFeeDiscount(this.addFeeDiscountInfo) |
| 140 | - this.$message.success(this.$t('common.saveSuccess')) | 140 | + this.$message.success(this.$t('common.operationSuccess')) |
| 141 | this.$emit('success') | 141 | this.$emit('success') |
| 142 | this.visible = false | 142 | this.visible = false |
| 143 | this.resetForm() | 143 | this.resetForm() |
src/components/fee/addFloorShare.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('floorShare.addTitle')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('floorShare.addTitle')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left" label-position="right"> |
| 4 | <el-form-item :label="$t('floorShare.floor')" prop="floorNum"> | 4 | <el-form-item :label="$t('floorShare.floor')" prop="floorNum"> |
| @@ -134,7 +134,7 @@ export default { | @@ -134,7 +134,7 @@ export default { | ||
| 134 | if (valid) { | 134 | if (valid) { |
| 135 | try { | 135 | try { |
| 136 | await saveFloorShareMeter(this.form) | 136 | await saveFloorShareMeter(this.form) |
| 137 | - this.$message.success(this.$t('floorShare.addSuccess')) | 137 | + this.$message.success(this.$t('common.operationSuccess')) |
| 138 | this.dialogVisible = false | 138 | this.dialogVisible = false |
| 139 | this.$emit('success') | 139 | this.$emit('success') |
| 140 | } catch (error) { | 140 | } catch (error) { |
src/components/fee/addMeterType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('meterTypeManage.addTitle')" | 3 | :title="$t('meterTypeManage.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -70,7 +70,7 @@ export default { | @@ -70,7 +70,7 @@ export default { | ||
| 70 | if (valid) { | 70 | if (valid) { |
| 71 | try { | 71 | try { |
| 72 | await saveMeterType(this.form) | 72 | await saveMeterType(this.form) |
| 73 | - this.$message.success(this.$t('meterTypeManage.addSuccess')) | 73 | + this.$message.success(this.$t('common.operationSuccess')) |
| 74 | this.visible = false | 74 | this.visible = false |
| 75 | this.$emit('success') | 75 | this.$emit('success') |
| 76 | } catch (error) { | 76 | } catch (error) { |
src/components/fee/addMeterWater.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('meterWater.addMeterReading')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('meterWater.addMeterReading')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | <el-form-item :label="$t('meterWater.feeType')" prop="feeTypeCd"> | 4 | <el-form-item :label="$t('meterWater.feeType')" prop="feeTypeCd"> |
| @@ -315,7 +315,7 @@ export default { | @@ -315,7 +315,7 @@ export default { | ||
| 315 | 315 | ||
| 316 | try { | 316 | try { |
| 317 | await saveMeterWater(this.form) | 317 | await saveMeterWater(this.form) |
| 318 | - this.$message.success(this.$t('common.saveSuccess')) | 318 | + this.$message.success(this.$t('common.operationSuccess')) |
| 319 | this.dialogVisible = false | 319 | this.dialogVisible = false |
| 320 | this.$emit('success') | 320 | this.$emit('success') |
| 321 | } catch (error) { | 321 | } catch (error) { |
src/components/fee/addPayFeeConfigDiscount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addPayFeeConfigDiscount.addTitle')" :visible.sync="visible" width="800px" | 2 | <el-dialog :title="$t('addPayFeeConfigDiscount.addTitle')" :visible.sync="visible" width="800px" |
| 3 | :close-on-click-modal="false" @closed="resetForm"> | 3 | :close-on-click-modal="false" @closed="resetForm"> |
| 4 | <el-form ref="form" :model="form" :rules="rules" label-width="160px"> | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="160px"> |
| @@ -139,7 +139,7 @@ export default { | @@ -139,7 +139,7 @@ export default { | ||
| 139 | try { | 139 | try { |
| 140 | this.loading = true | 140 | this.loading = true |
| 141 | await savePayFeeConfigDiscount(this.form) | 141 | await savePayFeeConfigDiscount(this.form) |
| 142 | - this.$message.success(this.$t('addPayFeeConfigDiscount.saveSuccess')) | 142 | + this.$message.success(this.$t('common.operationSuccess')) |
| 143 | this.visible = false | 143 | this.visible = false |
| 144 | this.$emit('success') | 144 | this.$emit('success') |
| 145 | } catch (error) { | 145 | } catch (error) { |
src/components/fee/addPayFeeQrcode.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('payFeeQrcode.add.title')" | 3 | :title="$t('payFeeQrcode.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -190,7 +190,7 @@ export default { | @@ -190,7 +190,7 @@ export default { | ||
| 190 | if (valid) { | 190 | if (valid) { |
| 191 | try { | 191 | try { |
| 192 | await savePayFeeQrcode(this.form) | 192 | await savePayFeeQrcode(this.form) |
| 193 | - this.$message.success(this.$t('payFeeQrcode.message.addSuccess')) | 193 | + this.$message.success(this.$t('common.operationSuccess')) |
| 194 | this.visible = false | 194 | this.visible = false |
| 195 | this.$emit('success') | 195 | this.$emit('success') |
| 196 | } catch (error) { | 196 | } catch (error) { |
src/components/fee/addProxyFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addProxyFee.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> | 2 | <el-dialog :title="$t('addProxyFee.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('addProxyFee.feeType')" prop="feeTypeCd"> | 4 | <el-form-item :label="$t('addProxyFee.feeType')" prop="feeTypeCd"> |
| @@ -235,7 +235,7 @@ export default { | @@ -235,7 +235,7 @@ export default { | ||
| 235 | 235 | ||
| 236 | 236 | ||
| 237 | saveProxyFee(params).then(() => { | 237 | saveProxyFee(params).then(() => { |
| 238 | - this.$message.success(this.$t('addProxyFee.successMessage')) | 238 | + this.$message.success(this.$t('common.operationSuccess')) |
| 239 | this.$emit('success') | 239 | this.$emit('success') |
| 240 | this.handleClose() | 240 | this.handleClose() |
| 241 | }).catch(error => { | 241 | }).catch(error => { |
src/components/fee/addProxyFeeDemo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-button @click="openModal">{{ $t('addProxyFeeDemo.openModal') }}</el-button> | 3 | <el-button @click="openModal">{{ $t('addProxyFeeDemo.openModal') }}</el-button> |
| 4 | <add-proxy-fee ref="addProxyFee" @success="handleSuccess"></add-proxy-fee> | 4 | <add-proxy-fee ref="addProxyFee" @success="handleSuccess"></add-proxy-fee> |
| @@ -22,7 +22,7 @@ export default { | @@ -22,7 +22,7 @@ export default { | ||
| 22 | }) | 22 | }) |
| 23 | }, | 23 | }, |
| 24 | handleSuccess() { | 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 | <el-dialog :title="$t('shareReading.add.title')" :visible.sync="dialogVisible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('shareReading.add.title')" :visible.sync="dialogVisible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('shareReading.add.meter')" prop="fsmId"> | 4 | <el-form-item :label="$t('shareReading.add.meter')" prop="fsmId"> |
| @@ -104,7 +104,7 @@ export default { | @@ -104,7 +104,7 @@ export default { | ||
| 104 | try { | 104 | try { |
| 105 | this.form.communityId = getCommunityId() | 105 | this.form.communityId = getCommunityId() |
| 106 | await saveFloorShareReading(this.form) | 106 | await saveFloorShareReading(this.form) |
| 107 | - this.$message.success(this.$t('shareReading.message.addSuccess')) | 107 | + this.$message.success(this.$t('common.operationSuccess')) |
| 108 | this.dialogVisible = false | 108 | this.dialogVisible = false |
| 109 | this.$emit('success') | 109 | this.$emit('success') |
| 110 | } catch (error) { | 110 | } catch (error) { |
src/components/fee/applyDeleteFeeBatch.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('applyDeleteFeeBatch.title')" | 3 | :title="$t('applyDeleteFeeBatch.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -97,7 +97,7 @@ export default { | @@ -97,7 +97,7 @@ export default { | ||
| 97 | if (valid) { | 97 | if (valid) { |
| 98 | try { | 98 | try { |
| 99 | await applyDeletePayFeeBatch(this.formData) | 99 | await applyDeletePayFeeBatch(this.formData) |
| 100 | - this.$message.success(this.$t('applyDeleteFeeBatch.message.success')) | 100 | + this.$message.success(this.$t('common.operationSuccess')) |
| 101 | this.visible = false | 101 | this.visible = false |
| 102 | this.$emit('success') | 102 | this.$emit('success') |
| 103 | } catch (error) { | 103 | } catch (error) { |
src/components/fee/applyRoomDiscountRecord.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('applyRoomDiscountRecord.title')" :visible.sync="visible" width="60%" | 2 | <el-dialog :title="$t('applyRoomDiscountRecord.title')" :visible.sync="visible" width="60%" |
| 3 | :before-close="handleClose"> | 3 | :before-close="handleClose"> |
| 4 | <el-form :model="form" label-width="120px" label-position="left" class="text-left"> | 4 | <el-form :model="form" label-width="120px" label-position="left" class="text-left"> |
| @@ -120,7 +120,7 @@ export default { | @@ -120,7 +120,7 @@ export default { | ||
| 120 | 120 | ||
| 121 | const res = await addApplyRoomDiscountRecord(this.form) | 121 | const res = await addApplyRoomDiscountRecord(this.form) |
| 122 | if (res.code === 0) { | 122 | if (res.code === 0) { |
| 123 | - this.$message.success(this.$t('common.saveSuccess')) | 123 | + this.$message.success(this.$t('common.operationSuccess')) |
| 124 | this.handleClose() | 124 | this.handleClose() |
| 125 | this.$emit('success') | 125 | this.$emit('success') |
| 126 | } else { | 126 | } else { |
src/components/fee/auditShareReading.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('shareReading.audit.title')" | 3 | :title="$t('shareReading.audit.title')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -71,7 +71,7 @@ export default { | @@ -71,7 +71,7 @@ export default { | ||
| 71 | if (valid) { | 71 | if (valid) { |
| 72 | try { | 72 | try { |
| 73 | await auditFloorShareReading(this.form) | 73 | await auditFloorShareReading(this.form) |
| 74 | - this.$message.success(this.$t('shareReading.message.auditSuccess')) | 74 | + this.$message.success(this.$t('common.operationSuccess')) |
| 75 | this.dialogVisible = false | 75 | this.dialogVisible = false |
| 76 | this.$emit('success') | 76 | this.$emit('success') |
| 77 | } catch (error) { | 77 | } catch (error) { |
src/components/fee/carCreateFeeAdd.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('carCreateFeeAdd.createFee')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('carCreateFeeAdd.createFee')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form :model="form" label-width="150px" ref="form" class="text-left"> | 3 | <el-form :model="form" label-width="150px" ref="form" class="text-left"> |
| 4 | <el-form-item v-if="isMore" :label="$t('carCreateFeeAdd.chargeScope')" prop="locationTypeCd" | 4 | <el-form-item v-if="isMore" :label="$t('carCreateFeeAdd.chargeScope')" prop="locationTypeCd" |
| @@ -185,7 +185,7 @@ export default { | @@ -185,7 +185,7 @@ export default { | ||
| 185 | // 提交表单 | 185 | // 提交表单 |
| 186 | //const res = ; | 186 | //const res = ; |
| 187 | await saveParkingSpaceCreateFee(this.form) | 187 | await saveParkingSpaceCreateFee(this.form) |
| 188 | - this.$message.success(this.$t('common.saveSuccess')) | 188 | + this.$message.success(this.$t('common.operationSuccess')) |
| 189 | this.visible = false | 189 | this.visible = false |
| 190 | this.$emit('success') | 190 | this.$emit('success') |
| 191 | 191 |
src/components/fee/deleteApplyRoomDiscount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('applyRoomDiscount.delete.title')" | 3 | :title="$t('applyRoomDiscount.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -59,7 +59,7 @@ export default { | @@ -59,7 +59,7 @@ export default { | ||
| 59 | try { | 59 | try { |
| 60 | this.loading = true | 60 | this.loading = true |
| 61 | await deleteApplyRoomDiscount(this.form) | 61 | await deleteApplyRoomDiscount(this.form) |
| 62 | - this.$message.success(this.$t('applyRoomDiscount.message.deleteSuccess')) | 62 | + this.$message.success(this.$t('common.operationSuccess')) |
| 63 | this.visible = false | 63 | this.visible = false |
| 64 | this.$emit('success') | 64 | this.$emit('success') |
| 65 | } catch (error) { | 65 | } catch (error) { |
src/components/fee/deleteApplyRoomDiscountRecord.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteApplyRoomDiscountRecord.title')" | 3 | :title="$t('deleteApplyRoomDiscountRecord.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -49,7 +49,7 @@ export default { | @@ -49,7 +49,7 @@ export default { | ||
| 49 | 49 | ||
| 50 | const res = await cutApplyRoomDiscountRecord(params) | 50 | const res = await cutApplyRoomDiscountRecord(params) |
| 51 | if (res.code === 0) { | 51 | if (res.code === 0) { |
| 52 | - this.$message.success(this.$t('common.deleteSuccess')) | 52 | + this.$message.success(this.$t('common.operationSuccess')) |
| 53 | this.handleClose() | 53 | this.handleClose() |
| 54 | this.$emit('success') | 54 | this.$emit('success') |
| 55 | } else { | 55 | } else { |
src/components/fee/deleteApplyRoomDiscountType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('discountType.delete.title')" | 3 | :title="$t('discountType.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -60,7 +60,7 @@ export default { | @@ -60,7 +60,7 @@ export default { | ||
| 60 | try { | 60 | try { |
| 61 | this.formData.communityId = getCommunityId() | 61 | this.formData.communityId = getCommunityId() |
| 62 | await deleteApplyRoomDiscountType(this.formData) | 62 | await deleteApplyRoomDiscountType(this.formData) |
| 63 | - this.$message.success(this.$t('discountType.delete.success')) | 63 | + this.$message.success(this.$t('common.operationSuccess')) |
| 64 | this.visible = false | 64 | this.visible = false |
| 65 | this.$emit('success') | 65 | this.$emit('success') |
| 66 | } catch (error) { | 66 | } catch (error) { |
src/components/fee/deleteFee.vue
| @@ -39,7 +39,7 @@ export default { | @@ -39,7 +39,7 @@ export default { | ||
| 39 | try { | 39 | try { |
| 40 | const res = await deleteFee(this.deleteFeeInfo) | 40 | const res = await deleteFee(this.deleteFeeInfo) |
| 41 | if (res.code === 0) { | 41 | if (res.code === 0) { |
| 42 | - this.$message.success(this.$t('common.operateSuccess')) | 42 | + this.$message.success(this.$t('common.operationSuccess')) |
| 43 | this.$emit('success') | 43 | this.$emit('success') |
| 44 | this.handleClose() | 44 | this.handleClose() |
| 45 | } else { | 45 | } else { |
src/components/fee/deleteFeeCombo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('feeComboManage.delete.title')" | 3 | :title="$t('feeComboManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | this.loading = true | 51 | this.loading = true |
| 52 | try { | 52 | try { |
| 53 | await deleteFeeCombo(this.form) | 53 | await deleteFeeCombo(this.form) |
| 54 | - this.$message.success(this.$t('feeComboManage.delete.success')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | this.$emit('success') | 55 | this.$emit('success') |
| 56 | this.visible = false | 56 | this.visible = false |
| 57 | } catch (error) { | 57 | } catch (error) { |
src/components/fee/deleteFeeComboMember.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirm')" | 3 | :title="$t('common.confirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -40,7 +40,7 @@ export default { | @@ -40,7 +40,7 @@ export default { | ||
| 40 | async handleConfirm() { | 40 | async handleConfirm() { |
| 41 | try { | 41 | try { |
| 42 | await deleteFeeComboMember(this.formData) | 42 | await deleteFeeComboMember(this.formData) |
| 43 | - this.$message.success(this.$t('feeComboMemberManage.deleteSuccess')) | 43 | + this.$message.success(this.$t('common.operationSuccess')) |
| 44 | this.$emit('success') | 44 | this.$emit('success') |
| 45 | this.visible = false | 45 | this.visible = false |
| 46 | } catch (error) { | 46 | } catch (error) { |
src/components/fee/deleteFeeConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.operation')" :visible.sync="visible" width="500px"> | 2 | <el-dialog :title="$t('common.operation')" :visible.sync="visible" width="500px"> |
| 3 | <p>{{ $t('feeConfigManage.confirmDeleteFeeItem') }}</p> | 3 | <p>{{ $t('feeConfigManage.confirmDeleteFeeItem') }}</p> |
| 4 | 4 | ||
| @@ -33,7 +33,7 @@ export default { | @@ -33,7 +33,7 @@ export default { | ||
| 33 | communityId: this.getCommunityId() | 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 | this.visible = false | 37 | this.visible = false |
| 38 | this.$emit('success') | 38 | this.$emit('success') |
| 39 | } catch (error) { | 39 | } catch (error) { |
src/components/fee/deleteFeeDemo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-button @click="openModal">{{ $t('deleteFeeDemo.openModal') }}</el-button> | 3 | <el-button @click="openModal">{{ $t('deleteFeeDemo.openModal') }}</el-button> |
| 4 | <delete-fee ref="deleteFee" @success="handleSuccess"></delete-fee> | 4 | <delete-fee ref="deleteFee" @success="handleSuccess"></delete-fee> |
| @@ -20,7 +20,7 @@ export default { | @@ -20,7 +20,7 @@ export default { | ||
| 20 | }) | 20 | }) |
| 21 | }, | 21 | }, |
| 22 | handleSuccess() { | 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 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('feeDiscountManage.delete.title')" | 3 | :title="$t('feeDiscountManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | async deleteFeeDiscount() { | 51 | async deleteFeeDiscount() { |
| 52 | try { | 52 | try { |
| 53 | await deleteFeeDiscount(this.deleteFeeDiscountInfo) | 53 | await deleteFeeDiscount(this.deleteFeeDiscountInfo) |
| 54 | - this.$message.success(this.$t('common.deleteSuccess')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | this.$emit('success') | 55 | this.$emit('success') |
| 56 | this.visible = false | 56 | this.visible = false |
| 57 | this.resetForm() | 57 | this.resetForm() |
src/components/fee/deleteFeeRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteFeeRule.confirmTitle')" | 3 | :title="$t('deleteFeeRule.confirmTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -45,7 +45,7 @@ export default { | @@ -45,7 +45,7 @@ export default { | ||
| 45 | if (response.code === 0) { | 45 | if (response.code === 0) { |
| 46 | this.dialogVisible = false | 46 | this.dialogVisible = false |
| 47 | this.$emit('delete-success') | 47 | this.$emit('delete-success') |
| 48 | - this.$message.success(this.$t('deleteFeeRule.deleteSuccess')) | 48 | + this.$message.success(this.$t('common.operationSuccess')) |
| 49 | } else { | 49 | } else { |
| 50 | this.$message.error(response.msg) | 50 | this.$message.error(response.msg) |
| 51 | } | 51 | } |
src/components/fee/deleteFloorShare.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('floorShare.deleteConfirm')" | 3 | :title="$t('floorShare.deleteConfirm')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | this.loading = true | 43 | this.loading = true |
| 44 | try { | 44 | try { |
| 45 | await deleteFloorShareMeter(this.form) | 45 | await deleteFloorShareMeter(this.form) |
| 46 | - this.$message.success(this.$t('floorShare.deleteSuccess')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.dialogVisible = false | 47 | this.dialogVisible = false |
| 48 | this.$emit('success') | 48 | this.$emit('success') |
| 49 | } catch (error) { | 49 | } catch (error) { |
src/components/fee/deleteInvoiceApply.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteInvoiceApply.title')" | 3 | :title="$t('deleteInvoiceApply.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | } | 46 | } |
| 47 | await deleteApi(params) | 47 | await deleteApi(params) |
| 48 | this.$emit('success') | 48 | this.$emit('success') |
| 49 | - this.$message.success(this.$t('common.deleteSuccess')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.closeDialog() | 50 | this.closeDialog() |
| 51 | } catch (error) { | 51 | } catch (error) { |
| 52 | this.$message.error(error.message) | 52 | this.$message.error(error.message) |
src/components/fee/deleteMeterType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('meterTypeManage.deleteTitle')" | 3 | :title="$t('meterTypeManage.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -48,7 +48,7 @@ export default { | @@ -48,7 +48,7 @@ export default { | ||
| 48 | try { | 48 | try { |
| 49 | this.loading = true | 49 | this.loading = true |
| 50 | await deleteMeterType(this.form) | 50 | await deleteMeterType(this.form) |
| 51 | - this.$message.success(this.$t('meterTypeManage.deleteSuccess')) | 51 | + this.$message.success(this.$t('common.operationSuccess')) |
| 52 | this.visible = false | 52 | this.visible = false |
| 53 | this.$emit('success') | 53 | this.$emit('success') |
| 54 | } catch (error) { | 54 | } catch (error) { |
src/components/fee/deleteMeterWater.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('meterWater.confirmOperation')" | 3 | :title="$t('meterWater.confirmOperation')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -45,7 +45,7 @@ export default { | @@ -45,7 +45,7 @@ export default { | ||
| 45 | waterId: this.waterId, | 45 | waterId: this.waterId, |
| 46 | communityId: this.communityId | 46 | communityId: this.communityId |
| 47 | }) | 47 | }) |
| 48 | - this.$message.success(this.$t('common.deleteSuccess')) | 48 | + this.$message.success(this.$t('common.operationSuccess')) |
| 49 | this.dialogVisible = false | 49 | this.dialogVisible = false |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | } catch (error) { | 51 | } catch (error) { |
src/components/fee/deleteOweFeeCallable.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteOweFeeCallable.title')" | 3 | :title="$t('deleteOweFeeCallable.title')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | this.$emit('listOweFeeCallable', {}) | 54 | this.$emit('listOweFeeCallable', {}) |
| 55 | this.$emit('listOwnerData', {}) | 55 | this.$emit('listOwnerData', {}) |
| 56 | this.$emit('success', {}) | 56 | this.$emit('success', {}) |
| 57 | - this.$message.success(this.$t('deleteOweFeeCallable.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | } else { | 58 | } else { |
| 59 | this.$message.error(res.msg) | 59 | this.$message.error(res.msg) |
| 60 | } | 60 | } |
src/components/fee/deleteOwnerInvoice.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('confirmDeleteTitle')" | 3 | :title="$t('confirmDeleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -31,7 +31,7 @@ export default { | @@ -31,7 +31,7 @@ export default { | ||
| 31 | async handleDelete() { | 31 | async handleDelete() { |
| 32 | try { | 32 | try { |
| 33 | await deleteOwnerInvoice({ oiId: this.currentData.oiId }) | 33 | await deleteOwnerInvoice({ oiId: this.currentData.oiId }) |
| 34 | - this.$message.success(this.$t('common.deleteSuccess')) | 34 | + this.$message.success(this.$t('common.operationSuccess')) |
| 35 | this.visible = false | 35 | this.visible = false |
| 36 | this.$emit('success') | 36 | this.$emit('success') |
| 37 | } catch (error) { | 37 | } catch (error) { |
src/components/fee/deletePayFeeConfigDiscount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deletePayFeeConfigDiscount.title')" | 3 | :title="$t('deletePayFeeConfigDiscount.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | try { | 41 | try { |
| 42 | this.loading = true | 42 | this.loading = true |
| 43 | await deletePayFeeConfigDiscount(this.configDiscount) | 43 | await deletePayFeeConfigDiscount(this.configDiscount) |
| 44 | - this.$message.success(this.$t('deletePayFeeConfigDiscount.deleteSuccess')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | this.visible = false | 45 | this.visible = false |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/fee/deletePayFeeQrcode.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('payFeeQrcode.delete.title')" | 3 | :title="$t('payFeeQrcode.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -58,7 +58,7 @@ export default { | @@ -58,7 +58,7 @@ export default { | ||
| 58 | async handleConfirm() { | 58 | async handleConfirm() { |
| 59 | try { | 59 | try { |
| 60 | await deletePayFeeQrcode(this.currentData) | 60 | await deletePayFeeQrcode(this.currentData) |
| 61 | - this.$message.success(this.$t('payFeeQrcode.message.deleteSuccess')) | 61 | + this.$message.success(this.$t('common.operationSuccess')) |
| 62 | this.visible = false | 62 | this.visible = false |
| 63 | this.$emit('success') | 63 | this.$emit('success') |
| 64 | } catch (error) { | 64 | } catch (error) { |
src/components/fee/deleteShareReading.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('shareReading.delete.title')" | 3 | :title="$t('shareReading.delete.title')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -40,7 +40,7 @@ export default { | @@ -40,7 +40,7 @@ export default { | ||
| 40 | readingId: this.readingId, | 40 | readingId: this.readingId, |
| 41 | communityId: this.communityId | 41 | communityId: this.communityId |
| 42 | }) | 42 | }) |
| 43 | - this.$message.success(this.$t('shareReading.message.deleteSuccess')) | 43 | + this.$message.success(this.$t('common.operationSuccess')) |
| 44 | this.dialogVisible = false | 44 | this.dialogVisible = false |
| 45 | this.$emit('success') | 45 | this.$emit('success') |
| 46 | } catch (error) { | 46 | } catch (error) { |
src/components/fee/doImportCreateFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('doImportCreateFee.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> | 2 | <el-dialog :title="$t('doImportCreateFee.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> |
| 3 | <el-form label-width="120px" class="text-left"> | 3 | <el-form label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('doImportCreateFee.selectFile')"> | 4 | <el-form-item :label="$t('doImportCreateFee.selectFile')"> |
| @@ -76,7 +76,7 @@ export default { | @@ -76,7 +76,7 @@ export default { | ||
| 76 | importData(formData).then(response => { | 76 | importData(formData).then(response => { |
| 77 | const res = response | 77 | const res = response |
| 78 | if (res.code === 0) { | 78 | if (res.code === 0) { |
| 79 | - this.$message.success(this.$t('doImportCreateFee.successMessage')) | 79 | + this.$message.success(this.$t('common.operationSuccess')) |
| 80 | this.handleClose() | 80 | this.handleClose() |
| 81 | this.$router.push(`/views/system/assetImportLogDetail?logId=${res.data.logId}&logType=importCustomFee`) | 81 | this.$router.push(`/views/system/assetImportLogDetail?logId=${res.data.logId}&logType=importCustomFee`) |
| 82 | } else { | 82 | } else { |
src/components/fee/editApplyRoomDiscount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('applyRoomDiscount.edit.title')" :visible.sync="visible" width="60%" @close="handleClose"> | 2 | <el-dialog :title="$t('applyRoomDiscount.edit.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('applyRoomDiscount.edit.startTime')" prop="startTime"> | 4 | <el-form-item :label="$t('applyRoomDiscount.edit.startTime')" prop="startTime"> |
| @@ -141,7 +141,7 @@ export default { | @@ -141,7 +141,7 @@ export default { | ||
| 141 | async updateApplyRoomDiscount() { | 141 | async updateApplyRoomDiscount() { |
| 142 | try { | 142 | try { |
| 143 | await updateApplyRoomDiscount(this.form) | 143 | await updateApplyRoomDiscount(this.form) |
| 144 | - this.$message.success(this.$t('applyRoomDiscount.message.updateSuccess')) | 144 | + this.$message.success(this.$t('common.operationSuccess')) |
| 145 | this.visible = false | 145 | this.visible = false |
| 146 | this.$emit('success') | 146 | this.$emit('success') |
| 147 | } catch (error) { | 147 | } catch (error) { |
src/components/fee/editApplyRoomDiscountRecord.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('applyRoomDiscount.editRecord.title')" :visible.sync="visible" width="60%" @close="handleClose"> | 2 | <el-dialog :title="$t('applyRoomDiscount.editRecord.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('applyRoomDiscount.editRecord.ardId')" prop="ardId"> | 4 | <el-form-item :label="$t('applyRoomDiscount.editRecord.ardId')" prop="ardId"> |
| @@ -145,7 +145,7 @@ export default { | @@ -145,7 +145,7 @@ export default { | ||
| 145 | async updateApplyRoomDiscount() { | 145 | async updateApplyRoomDiscount() { |
| 146 | try { | 146 | try { |
| 147 | await editApplyRoomDiscount(this.form) | 147 | await editApplyRoomDiscount(this.form) |
| 148 | - this.$message.success(this.$t('applyRoomDiscount.message.updateSuccess')) | 148 | + this.$message.success(this.$t('common.operationSuccess')) |
| 149 | this.visible = false | 149 | this.visible = false |
| 150 | this.$emit('success') | 150 | this.$emit('success') |
| 151 | } catch (error) { | 151 | } catch (error) { |
src/components/fee/editApplyRoomDiscountType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('discountType.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('discountType.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('discountType.form.applyType')" prop="applyType"> | 4 | <el-form-item :label="$t('discountType.form.applyType')" prop="applyType"> |
| @@ -69,7 +69,7 @@ export default { | @@ -69,7 +69,7 @@ export default { | ||
| 69 | try { | 69 | try { |
| 70 | this.formData.communityId = getCommunityId() | 70 | this.formData.communityId = getCommunityId() |
| 71 | await updateApplyRoomDiscountType(this.formData) | 71 | await updateApplyRoomDiscountType(this.formData) |
| 72 | - this.$message.success(this.$t('discountType.edit.success')) | 72 | + this.$message.success(this.$t('common.operationSuccess')) |
| 73 | this.visible = false | 73 | this.visible = false |
| 74 | this.$emit('success') | 74 | this.$emit('success') |
| 75 | } catch (error) { | 75 | } catch (error) { |
src/components/fee/editFee.vue
| @@ -127,7 +127,7 @@ export default { | @@ -127,7 +127,7 @@ export default { | ||
| 127 | try { | 127 | try { |
| 128 | const res = await updateFee(this.editFeeInfo) | 128 | const res = await updateFee(this.editFeeInfo) |
| 129 | if (res.code === 0) { | 129 | if (res.code === 0) { |
| 130 | - this.$message.success(this.$t('common.operateSuccess')) | 130 | + this.$message.success(this.$t('common.operationSuccess')) |
| 131 | this.$emit('success') | 131 | this.$emit('success') |
| 132 | this.handleClose() | 132 | this.handleClose() |
| 133 | } else { | 133 | } else { |
src/components/fee/editFeeCombo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('feeComboManage.edit.title')" | 3 | :title="$t('feeComboManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -88,7 +88,7 @@ export default { | @@ -88,7 +88,7 @@ export default { | ||
| 88 | if (valid) { | 88 | if (valid) { |
| 89 | try { | 89 | try { |
| 90 | await updateFeeCombo(this.form) | 90 | await updateFeeCombo(this.form) |
| 91 | - this.$message.success(this.$t('feeComboManage.edit.success')) | 91 | + this.$message.success(this.$t('common.operationSuccess')) |
| 92 | this.$emit('success') | 92 | this.$emit('success') |
| 93 | this.visible = false | 93 | this.visible = false |
| 94 | } catch (error) { | 94 | } catch (error) { |
src/components/fee/editFeeConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="80%" @close="resetForm"> | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="80%" @close="resetForm"> |
| 3 | <el-form :model="form" label-width="150px" ref="form"> | 3 | <el-form :model="form" label-width="150px" ref="form"> |
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -277,7 +277,7 @@ export default { | @@ -277,7 +277,7 @@ export default { | ||
| 277 | // 调用API更新 | 277 | // 调用API更新 |
| 278 | await updateFeeConfig(this.form) | 278 | await updateFeeConfig(this.form) |
| 279 | 279 | ||
| 280 | - this.$message.success(this.$t('common.saveSuccess')) | 280 | + this.$message.success(this.$t('common.operationSuccess')) |
| 281 | this.visible = false | 281 | this.visible = false |
| 282 | this.$emit('success') | 282 | this.$emit('success') |
| 283 | } catch (error) { | 283 | } catch (error) { |
src/components/fee/editFeeDemo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-button @click="openModal">{{ $t('editFeeDemo.openModal') }}</el-button> | 3 | <el-button @click="openModal">{{ $t('editFeeDemo.openModal') }}</el-button> |
| 4 | <edit-fee ref="editFee" @success="handleSuccess"></edit-fee> | 4 | <edit-fee ref="editFee" @success="handleSuccess"></edit-fee> |
| @@ -27,7 +27,7 @@ export default { | @@ -27,7 +27,7 @@ export default { | ||
| 27 | }) | 27 | }) |
| 28 | }, | 28 | }, |
| 29 | handleSuccess() { | 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 | <el-dialog :title="$t('feeDiscountManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('feeDiscountManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="editFeeDiscountInfo" label-width="120px" :rules="rules"> | 3 | <el-form ref="form" :model="editFeeDiscountInfo" label-width="120px" :rules="rules"> |
| 4 | <el-form-item :label="$t('feeDiscountManage.edit.discountName')" prop="discountName"> | 4 | <el-form-item :label="$t('feeDiscountManage.edit.discountName')" prop="discountName"> |
| @@ -150,7 +150,7 @@ export default { | @@ -150,7 +150,7 @@ export default { | ||
| 150 | 150 | ||
| 151 | try { | 151 | try { |
| 152 | await updateFeeDiscount(this.editFeeDiscountInfo) | 152 | await updateFeeDiscount(this.editFeeDiscountInfo) |
| 153 | - this.$message.success(this.$t('common.saveSuccess')) | 153 | + this.$message.success(this.$t('common.operationSuccess')) |
| 154 | this.$emit('success') | 154 | this.$emit('success') |
| 155 | this.visible = false | 155 | this.visible = false |
| 156 | this.resetForm() | 156 | this.resetForm() |
src/components/fee/editFeeRule.vue
| @@ -89,7 +89,7 @@ export default { | @@ -89,7 +89,7 @@ export default { | ||
| 89 | try { | 89 | try { |
| 90 | const res = await updatePayFeeRule(this.editFeeRuleInfo) | 90 | const res = await updatePayFeeRule(this.editFeeRuleInfo) |
| 91 | if (res.code === 0) { | 91 | if (res.code === 0) { |
| 92 | - this.$message.success(this.$t('common.operateSuccess')) | 92 | + this.$message.success(this.$t('common.operationSuccess')) |
| 93 | this.$emit('success') | 93 | this.$emit('success') |
| 94 | this.handleClose() | 94 | this.handleClose() |
| 95 | } else { | 95 | } else { |
src/components/fee/editFeeRuleDemo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-button @click="openModal">{{ $t('editFeeRuleDemo.openModal') }}</el-button> | 3 | <el-button @click="openModal">{{ $t('editFeeRuleDemo.openModal') }}</el-button> |
| 4 | <edit-fee-rule ref="editFeeRule" @success="handleSuccess"></edit-fee-rule> | 4 | <edit-fee-rule ref="editFeeRule" @success="handleSuccess"></edit-fee-rule> |
| @@ -22,7 +22,7 @@ export default { | @@ -22,7 +22,7 @@ export default { | ||
| 22 | }) | 22 | }) |
| 23 | }, | 23 | }, |
| 24 | handleSuccess() { | 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 | <el-dialog :title="$t('floorShare.editTitle')" :visible.sync="dialogVisible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('floorShare.editTitle')" :visible.sync="dialogVisible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | <el-form-item :label="$t('floorShare.floor')" prop="floorNum"> | 4 | <el-form-item :label="$t('floorShare.floor')" prop="floorNum"> |
| @@ -135,7 +135,7 @@ export default { | @@ -135,7 +135,7 @@ export default { | ||
| 135 | if (valid) { | 135 | if (valid) { |
| 136 | try { | 136 | try { |
| 137 | await updateFloorShareMeter(this.form) | 137 | await updateFloorShareMeter(this.form) |
| 138 | - this.$message.success(this.$t('floorShare.editSuccess')) | 138 | + this.$message.success(this.$t('common.operationSuccess')) |
| 139 | this.dialogVisible = false | 139 | this.dialogVisible = false |
| 140 | this.$emit('success') | 140 | this.$emit('success') |
| 141 | } catch (error) { | 141 | } catch (error) { |
src/components/fee/editMeterType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('meterTypeManage.editTitle')" | 3 | :title="$t('meterTypeManage.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -80,7 +80,7 @@ export default { | @@ -80,7 +80,7 @@ export default { | ||
| 80 | if (valid) { | 80 | if (valid) { |
| 81 | try { | 81 | try { |
| 82 | await updateMeterType(this.form) | 82 | await updateMeterType(this.form) |
| 83 | - this.$message.success(this.$t('meterTypeManage.editSuccess')) | 83 | + this.$message.success(this.$t('common.operationSuccess')) |
| 84 | this.visible = false | 84 | this.visible = false |
| 85 | this.$emit('success') | 85 | this.$emit('success') |
| 86 | } catch (error) { | 86 | } catch (error) { |
src/components/fee/editMeterWater.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('meterWater.editMeterReading')" | 3 | :title="$t('meterWater.editMeterReading')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -128,7 +128,7 @@ export default { | @@ -128,7 +128,7 @@ export default { | ||
| 128 | 128 | ||
| 129 | try { | 129 | try { |
| 130 | await updateMeterWater(this.form) | 130 | await updateMeterWater(this.form) |
| 131 | - this.$message.success(this.$t('common.saveSuccess')) | 131 | + this.$message.success(this.$t('common.operationSuccess')) |
| 132 | this.dialogVisible = false | 132 | this.dialogVisible = false |
| 133 | this.$emit('success') | 133 | this.$emit('success') |
| 134 | } catch (error) { | 134 | } catch (error) { |
src/components/fee/editOwnerInvoice.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('editTitle')" | 3 | :title="$t('editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -104,7 +104,7 @@ export default { | @@ -104,7 +104,7 @@ export default { | ||
| 104 | async handleSave() { | 104 | async handleSave() { |
| 105 | try { | 105 | try { |
| 106 | await updateOwnerInvoice(this.formData) | 106 | await updateOwnerInvoice(this.formData) |
| 107 | - this.$message.success(this.$t('common.saveSuccess')) | 107 | + this.$message.success(this.$t('common.operationSuccess')) |
| 108 | this.visible = false | 108 | this.visible = false |
| 109 | this.$emit('success') | 109 | this.$emit('success') |
| 110 | } catch (error) { | 110 | } catch (error) { |
src/components/fee/editPayFeeQrcode.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('payFeeQrcode.edit.title')" | 3 | :title="$t('payFeeQrcode.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -196,7 +196,7 @@ export default { | @@ -196,7 +196,7 @@ export default { | ||
| 196 | if (valid) { | 196 | if (valid) { |
| 197 | try { | 197 | try { |
| 198 | await updatePayFeeQrcode(this.form) | 198 | await updatePayFeeQrcode(this.form) |
| 199 | - this.$message.success(this.$t('payFeeQrcode.message.editSuccess')) | 199 | + this.$message.success(this.$t('common.operationSuccess')) |
| 200 | this.visible = false | 200 | this.visible = false |
| 201 | this.$emit('success') | 201 | this.$emit('success') |
| 202 | } catch (error) { | 202 | } catch (error) { |
src/components/fee/exportCarFeeImportExcel.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('exportCarFeeImportExcel.templateExport')" :visible.sync="visible" width="50%"> | 2 | <el-dialog :title="$t('exportCarFeeImportExcel.templateExport')" :visible.sync="visible" width="50%"> |
| 3 | <el-form label-width="150px" class="text-left"> | 3 | <el-form label-width="150px" class="text-left"> |
| 4 | <el-form-item :label="$t('exportCarFeeImportExcel.parkingLot')"> | 4 | <el-form-item :label="$t('exportCarFeeImportExcel.parkingLot')"> |
| @@ -120,7 +120,7 @@ export default { | @@ -120,7 +120,7 @@ export default { | ||
| 120 | configIds | 120 | configIds |
| 121 | }) | 121 | }) |
| 122 | 122 | ||
| 123 | - this.$message.success(this.$t('common.exportSuccess')) | 123 | + this.$message.success(this.$t('common.operationSuccess')) |
| 124 | this.visible = false | 124 | this.visible = false |
| 125 | } catch (error) { | 125 | } catch (error) { |
| 126 | this.$message.error(this.$t('common.exportError')) | 126 | this.$message.error(this.$t('common.exportError')) |
src/components/fee/finishFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('finishFee.confirmOperation')" | 3 | :title="$t('finishFee.confirmOperation')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
| 48 | communityId: this.communityId | 48 | communityId: this.communityId |
| 49 | } | 49 | } |
| 50 | await finishFee(params) | 50 | await finishFee(params) |
| 51 | - this.$message.success(this.$t('finishFee.successMessage')) | 51 | + this.$message.success(this.$t('common.operationSuccess')) |
| 52 | this.closeFinishFeeModel() | 52 | this.closeFinishFeeModel() |
| 53 | this.$emit('success') | 53 | this.$emit('success') |
| 54 | } catch (error) { | 54 | } catch (error) { |
src/components/fee/finishFeeRule.vue
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | try { | 43 | try { |
| 44 | const res = await updatePayFeeRule(data) | 44 | const res = await updatePayFeeRule(data) |
| 45 | if (res.code === 0) { | 45 | if (res.code === 0) { |
| 46 | - this.$message.success(this.$t('common.operateSuccess')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | this.handleClose() | 48 | this.handleClose() |
| 49 | } else { | 49 | } else { |
src/components/fee/importMeterWaterFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('meterWater.meterReadingImport')" :visible.sync="dialogVisible" width="40%" | 2 | <el-dialog :title="$t('meterWater.meterReadingImport')" :visible.sync="dialogVisible" width="40%" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right" class="text-left"> | 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,7 +156,7 @@ export default { | ||
| 156 | pagePath:'exportMeterWater' | 156 | pagePath:'exportMeterWater' |
| 157 | }) | 157 | }) |
| 158 | 158 | ||
| 159 | - this.$message.success(this.$t('meterWater.downloadStarted')) | 159 | + this.$message.success(this.$t('common.operationSuccess')) |
| 160 | this.dialogVisible = false | 160 | this.dialogVisible = false |
| 161 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 161 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 162 | 162 | ||
| @@ -188,7 +188,7 @@ export default { | @@ -188,7 +188,7 @@ export default { | ||
| 188 | this.$message.error(res.msg) | 188 | this.$message.error(res.msg) |
| 189 | return ; | 189 | return ; |
| 190 | } | 190 | } |
| 191 | - this.$message.success(this.$t('meterWater.importSuccess')) | 191 | + this.$message.success(this.$t('common.operationSuccess')) |
| 192 | this.dialogVisible = false | 192 | this.dialogVisible = false |
| 193 | this.$emit('success', res.logId) | 193 | this.$emit('success', res.logId) |
| 194 | } catch (error) { | 194 | } catch (error) { |
src/components/fee/importMeterWaterFee2.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('meterWater.meterReadingImport2')" :visible.sync="dialogVisible" width="40%" | 2 | <el-dialog :title="$t('meterWater.meterReadingImport2')" :visible.sync="dialogVisible" width="40%" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right" class="text-left"> | 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,7 +160,7 @@ export default { | ||
| 160 | feeName, | 160 | feeName, |
| 161 | pagePath: 'exportMeterWater2' | 161 | pagePath: 'exportMeterWater2' |
| 162 | }) | 162 | }) |
| 163 | - this.$message.success(this.$t('meterWater.downloadStarted')) | 163 | + this.$message.success(this.$t('common.operationSuccess')) |
| 164 | this.dialogVisible = false | 164 | this.dialogVisible = false |
| 165 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 165 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 166 | } catch (error) { | 166 | } catch (error) { |
| @@ -192,7 +192,7 @@ export default { | @@ -192,7 +192,7 @@ export default { | ||
| 192 | this.$message.error(res.msg) | 192 | this.$message.error(res.msg) |
| 193 | return ; | 193 | return ; |
| 194 | } | 194 | } |
| 195 | - this.$message.success(this.$t('meterWater.importSuccess')) | 195 | + this.$message.success(this.$t('common.operationSuccess')) |
| 196 | this.dialogVisible = false | 196 | this.dialogVisible = false |
| 197 | this.$emit('success', res.logId) | 197 | this.$emit('success', res.logId) |
| 198 | } catch (error) { | 198 | } catch (error) { |
src/components/fee/importRoomFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('importRoomFee.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('importRoomFee.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" label-width="120px" class="text-left" label-position="right"> | 3 | <el-form ref="form" :model="form" label-width="120px" class="text-left" label-position="right"> |
| 4 | <el-form-item :label="$t('importRoomFee.form.feeTypeCd')" prop="feeTypeCd" :rules="[ | 4 | <el-form-item :label="$t('importRoomFee.form.feeTypeCd')" prop="feeTypeCd" :rules="[ |
| @@ -117,7 +117,7 @@ export default { | @@ -117,7 +117,7 @@ export default { | ||
| 117 | return {code: 500, msg: error} | 117 | return {code: 500, msg: error} |
| 118 | }) | 118 | }) |
| 119 | if (res.code === 0) { | 119 | if (res.code === 0) { |
| 120 | - this.$message.success(this.$t('importRoomFee.message.importSuccess')) | 120 | + this.$message.success(this.$t('common.operationSuccess')) |
| 121 | this.visible = false | 121 | this.visible = false |
| 122 | this.$emit('success') | 122 | this.$emit('success') |
| 123 | this.$router.push({ | 123 | this.$router.push({ |
| @@ -150,7 +150,7 @@ export default { | @@ -150,7 +150,7 @@ export default { | ||
| 150 | this.visible = false | 150 | this.visible = false |
| 151 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 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 | } catch (error) { | 154 | } catch (error) { |
| 155 | console.error('下载模板失败:', error) | 155 | console.error('下载模板失败:', error) |
| 156 | this.$message.error(this.$t('importRoomFee.message.downloadFailed')) | 156 | this.$message.error(this.$t('importRoomFee.message.downloadFailed')) |
src/components/fee/mergeFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('mergeFee.confirmOperation')" | 3 | :title="$t('mergeFee.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | if (res.code === 0) { | 51 | if (res.code === 0) { |
| 52 | this.closeMergeFeeModel() | 52 | this.closeMergeFeeModel() |
| 53 | this.$emit('merge-success') | 53 | this.$emit('merge-success') |
| 54 | - this.$message.success(this.$t('mergeFee.mergeSuccess')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | } else { | 55 | } else { |
| 56 | this.$message.error(res.msg) | 56 | this.$message.error(res.msg) |
| 57 | } | 57 | } |
src/components/fee/mergeFeeDemo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-button @click="openComponent">{{ $t('mergeFeeDemo.openComponent') }}</el-button> | 3 | <el-button @click="openComponent">{{ $t('mergeFeeDemo.openComponent') }}</el-button> |
| 4 | <merge-fee ref="mergeFee" @merge-success="handleMergeSuccess"></merge-fee> | 4 | <merge-fee ref="mergeFee" @merge-success="handleMergeSuccess"></merge-fee> |
| @@ -20,7 +20,7 @@ export default { | @@ -20,7 +20,7 @@ export default { | ||
| 20 | }) | 20 | }) |
| 21 | }, | 21 | }, |
| 22 | handleMergeSuccess() { | 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 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('prestoreAccount.title')" | 3 | :title="$t('prestoreAccount.title')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -197,7 +197,7 @@ export default { | @@ -197,7 +197,7 @@ export default { | ||
| 197 | 197 | ||
| 198 | ownerPrestoreAccount(params).then(response => { | 198 | ownerPrestoreAccount(params).then(response => { |
| 199 | if (response.code === 0) { | 199 | if (response.code === 0) { |
| 200 | - this.$message.success(this.$t('prestoreAccount.saveSuccess')) | 200 | + this.$message.success(this.$t('common.operationSuccess')) |
| 201 | this.dialogVisible = false | 201 | this.dialogVisible = false |
| 202 | this.clearPrestoreAccountInfo() | 202 | this.clearPrestoreAccountInfo() |
| 203 | this.$emit('save-success') | 203 | this.$emit('save-success') |
src/components/fee/prestoreAccount2.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('prestoreAccount2.title')" | 3 | :title="$t('prestoreAccount2.title')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -100,7 +100,7 @@ export default { | @@ -100,7 +100,7 @@ export default { | ||
| 100 | 100 | ||
| 101 | const response = await this.$http.post('/account.ownerPrestoreAccount', this.formData) | 101 | const response = await this.$http.post('/account.ownerPrestoreAccount', this.formData) |
| 102 | if (response.data.code === 0) { | 102 | if (response.data.code === 0) { |
| 103 | - this.$message.success(this.$t('prestoreAccount2.saveSuccess')) | 103 | + this.$message.success(this.$t('common.operationSuccess')) |
| 104 | this.close() | 104 | this.close() |
| 105 | this.$emit('success') | 105 | this.$emit('success') |
| 106 | this.$emit('refresh') | 106 | this.$emit('refresh') |
src/components/fee/refundDepositFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('refundDepositFee.title')" | 3 | :title="$t('refundDepositFee.title')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | 44 | ||
| 45 | const response = await refundFeeDeposit(this.refundData) | 45 | const response = await refundFeeDeposit(this.refundData) |
| 46 | if (response.code === 0) { | 46 | if (response.code === 0) { |
| 47 | - this.$message.success(this.$t('refundDepositFee.success')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.$emit('success') | 48 | this.$emit('success') |
| 49 | } else { | 49 | } else { |
| 50 | this.$message.error(response.data.msg) | 50 | this.$message.error(response.data.msg) |
src/components/fee/returnPayFee.vue
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | this.loading = true | 95 | this.loading = true |
| 96 | await saveReturnPayFee(this.formData) | 96 | await saveReturnPayFee(this.formData) |
| 97 | 97 | ||
| 98 | - this.$message.success(this.$t('common.operateSuccess')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.visible = false | 99 | this.visible = false |
| 100 | this.$emit('success') | 100 | this.$emit('success') |
| 101 | } catch (error) { | 101 | } catch (error) { |
src/components/fee/reviewApplyRoomDiscount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('applyRoomDiscount.review.title')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('applyRoomDiscount.review.title')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> |
| 4 | <template v-if="form.state !== '5'"> | 4 | <template v-if="form.state !== '5'"> |
| @@ -282,7 +282,7 @@ export default { | @@ -282,7 +282,7 @@ export default { | ||
| 282 | async updateReview() { | 282 | async updateReview() { |
| 283 | try { | 283 | try { |
| 284 | await updateReviewApplyRoomDiscount(this.form) | 284 | await updateReviewApplyRoomDiscount(this.form) |
| 285 | - this.$message.success(this.$t('applyRoomDiscount.message.reviewSuccess')) | 285 | + this.$message.success(this.$t('common.operationSuccess')) |
| 286 | this.visible = false | 286 | this.visible = false |
| 287 | this.$emit('success') | 287 | this.$emit('success') |
| 288 | } catch (error) { | 288 | } catch (error) { |
src/components/fee/roomCreateFeeAdd.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('roomCreateFeeAdd.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> | 2 | <el-dialog :title="$t('roomCreateFeeAdd.title')" :visible.sync="visible" width="40%" :before-close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('roomCreateFeeAdd.location')"> | 4 | <el-form-item :label="$t('roomCreateFeeAdd.location')"> |
| @@ -208,7 +208,7 @@ export default { | @@ -208,7 +208,7 @@ export default { | ||
| 208 | } | 208 | } |
| 209 | 209 | ||
| 210 | saveRoomCreateFee(params).then(() => { | 210 | saveRoomCreateFee(params).then(() => { |
| 211 | - this.$message.success(this.$t('roomCreateFeeAdd.successMessage')) | 211 | + this.$message.success(this.$t('common.operationSuccess')) |
| 212 | this.$emit('success') | 212 | this.$emit('success') |
| 213 | this.handleClose() | 213 | this.handleClose() |
| 214 | }).catch(error => { | 214 | }).catch(error => { |
src/components/fee/roomCreateFeeAddDemo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-button @click="openModal">{{ $t('roomCreateFeeAddDemo.openModal') }}</el-button> | 3 | <el-button @click="openModal">{{ $t('roomCreateFeeAddDemo.openModal') }}</el-button> |
| 4 | <room-create-fee-add ref="roomCreateFeeAdd" @success="handleSuccess"></room-create-fee-add> | 4 | <room-create-fee-add ref="roomCreateFeeAdd" @success="handleSuccess"></room-create-fee-add> |
| @@ -25,7 +25,7 @@ export default { | @@ -25,7 +25,7 @@ export default { | ||
| 25 | }) | 25 | }) |
| 26 | }, | 26 | }, |
| 27 | handleSuccess() { | 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,7 +76,7 @@ export default { | ||
| 76 | 76 | ||
| 77 | splitFee(data).then(response => { | 77 | splitFee(data).then(response => { |
| 78 | if (response.code === 0) { | 78 | if (response.code === 0) { |
| 79 | - this.$message.success(this.$t('common.operateSuccess')) | 79 | + this.$message.success(this.$t('common.operationSuccess')) |
| 80 | this.$emit('success') | 80 | this.$emit('success') |
| 81 | this.close() | 81 | this.close() |
| 82 | } else { | 82 | } else { |
src/components/fee/tempImportRoomFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('tempImportRoomFee.title')" :visible.sync="dialogVisible" width="40%" | 2 | <el-dialog :title="$t('tempImportRoomFee.title')" :visible.sync="dialogVisible" width="40%" |
| 3 | @close="clearTempImportRoomFeeInfo"> | 3 | @close="clearTempImportRoomFeeInfo"> |
| 4 | <el-form :model="form" label-width="120px" class="text-left"> | 4 | <el-form :model="form" label-width="120px" class="text-left"> |
| @@ -164,7 +164,7 @@ export default { | @@ -164,7 +164,7 @@ export default { | ||
| 164 | if (res.code == 0) { | 164 | if (res.code == 0) { |
| 165 | this.dialogVisible = false | 165 | this.dialogVisible = false |
| 166 | this.$emit('success') | 166 | this.$emit('success') |
| 167 | - this.$message.success(this.$t('tempImportRoomFee.createSuccess')) | 167 | + this.$message.success(this.$t('common.operationSuccess')) |
| 168 | } else { | 168 | } else { |
| 169 | this.$message.error(res.msg) | 169 | this.$message.error(res.msg) |
| 170 | } | 170 | } |
src/components/fee/uploadInvoicePhoto.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('uploadInvoicePhoto.title')" | 3 | :title="$t('uploadInvoicePhoto.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -82,7 +82,7 @@ export default { | @@ -82,7 +82,7 @@ export default { | ||
| 82 | } | 82 | } |
| 83 | await uploadInvoicePhoto(params) | 83 | await uploadInvoicePhoto(params) |
| 84 | this.$emit('success') | 84 | this.$emit('success') |
| 85 | - this.$message.success(this.$t('common.saveSuccess')) | 85 | + this.$message.success(this.$t('common.operationSuccess')) |
| 86 | this.closeDialog() | 86 | this.closeDialog() |
| 87 | } catch (error) { | 87 | } catch (error) { |
| 88 | this.$message.error(error.message) | 88 | this.$message.error(error.message) |
src/components/fee/uploadVedio.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="upload-vedio-container"> | 2 | <div class="upload-vedio-container"> |
| 3 | <div v-if="progress > 0" class="progress-container"> | 3 | <div v-if="progress > 0" class="progress-container"> |
| 4 | <el-progress :percentage="progress" :stroke-width="2"></el-progress> | 4 | <el-progress :percentage="progress" :stroke-width="2"></el-progress> |
| @@ -69,7 +69,7 @@ export default { | @@ -69,7 +69,7 @@ export default { | ||
| 69 | if (res.code === 0) { | 69 | if (res.code === 0) { |
| 70 | this.progress = 100 | 70 | this.progress = 100 |
| 71 | this.realFileName = res.data.realFileName | 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 | } catch (error) { | 74 | } catch (error) { |
| 75 | this.$message.error(this.$t('uploadVedio.uploadFailed')) | 75 | this.$message.error(this.$t('uploadVedio.uploadFailed')) |
src/components/fee/wirteInvoiceEvent.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('wirteInvoiceEvent.title')" | 3 | :title="$t('wirteInvoiceEvent.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -86,7 +86,7 @@ export default { | @@ -86,7 +86,7 @@ export default { | ||
| 86 | } | 86 | } |
| 87 | await writeInvoiceEvent(params) | 87 | await writeInvoiceEvent(params) |
| 88 | this.$emit('success') | 88 | this.$emit('success') |
| 89 | - this.$message.success(this.$t('common.saveSuccess')) | 89 | + this.$message.success(this.$t('common.operationSuccess')) |
| 90 | this.closeDialog() | 90 | this.closeDialog() |
| 91 | } catch (error) { | 91 | } catch (error) { |
| 92 | this.$message.error(error.message) | 92 | this.$message.error(error.message) |
src/components/fee/writeOweFeeCallable.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('writeOweFeeCallable.title')" :visible.sync="dialogVisible" width="40%" | 2 | <el-dialog :title="$t('writeOweFeeCallable.title')" :visible.sync="dialogVisible" width="40%" |
| 3 | :before-close="handleClose"> | 3 | :before-close="handleClose"> |
| 4 | <div class="ibox-content"> | 4 | <div class="ibox-content"> |
| @@ -74,7 +74,7 @@ export default { | @@ -74,7 +74,7 @@ export default { | ||
| 74 | this.$emit('listOweFeeCallable', {}) | 74 | this.$emit('listOweFeeCallable', {}) |
| 75 | this.$emit('listOwnerData', {}) | 75 | this.$emit('listOwnerData', {}) |
| 76 | this.$emit('success', {}) | 76 | this.$emit('success', {}) |
| 77 | - this.$message.success(this.$t('writeOweFeeCallable.success')) | 77 | + this.$message.success(this.$t('common.operationSuccess')) |
| 78 | } else { | 78 | } else { |
| 79 | this.$message.error(res.msg) | 79 | this.$message.error(res.msg) |
| 80 | } | 80 | } |
src/components/inspection/AddInspectionItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('inspectionItemManage.addTitle')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('inspectionItemManage.addTitle')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('inspectionItemManage.itemNameLabel')" prop="itemName"> | 4 | <el-form-item :label="$t('inspectionItemManage.itemNameLabel')" prop="itemName"> |
| @@ -72,7 +72,7 @@ export default { | @@ -72,7 +72,7 @@ export default { | ||
| 72 | this.loading = true | 72 | this.loading = true |
| 73 | try { | 73 | try { |
| 74 | await saveInspectionItem(this.formData) | 74 | await saveInspectionItem(this.formData) |
| 75 | - this.$message.success(this.$t('inspectionItemManage.addSuccess')) | 75 | + this.$message.success(this.$t('common.operationSuccess')) |
| 76 | this.visible = false | 76 | this.visible = false |
| 77 | this.$emit('success') | 77 | this.$emit('success') |
| 78 | } catch (error) { | 78 | } catch (error) { |
src/components/inspection/AddInspectionRoute.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('inspectionRoute.addRouteTitle')" | 3 | :title="$t('inspectionRoute.addRouteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -108,7 +108,7 @@ export default { | @@ -108,7 +108,7 @@ export default { | ||
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | await saveInspectionRoute(params) | 110 | await saveInspectionRoute(params) |
| 111 | - this.$message.success(this.$t('inspectionRoute.addSuccess')) | 111 | + this.$message.success(this.$t('common.operationSuccess')) |
| 112 | this.$emit('success') | 112 | this.$emit('success') |
| 113 | this.handleClose() | 113 | this.handleClose() |
| 114 | } catch (error) { | 114 | } catch (error) { |
src/components/inspection/ChooseInspectionRoutePoint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('inspectionRoute.choosePointTitle')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('inspectionRoute.choosePointTitle')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -107,7 +107,7 @@ export default { | @@ -107,7 +107,7 @@ export default { | ||
| 107 | })) | 107 | })) |
| 108 | } | 108 | } |
| 109 | await saveInspectionRoutePoint(params) | 109 | await saveInspectionRoutePoint(params) |
| 110 | - this.$message.success(this.$t('inspectionRoute.addSuccess')) | 110 | + this.$message.success(this.$t('common.operationSuccess')) |
| 111 | this.$emit('success') | 111 | this.$emit('success') |
| 112 | this.handleClose() | 112 | this.handleClose() |
| 113 | } catch (error) { | 113 | } catch (error) { |
src/components/inspection/DeleteInspectionItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('inspectionItemManage.confirmDelete')" | 3 | :title="$t('inspectionItemManage.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -48,7 +48,7 @@ export default { | @@ -48,7 +48,7 @@ export default { | ||
| 48 | this.loading = true | 48 | this.loading = true |
| 49 | try { | 49 | try { |
| 50 | await deleteInspectionItem(this.formData) | 50 | await deleteInspectionItem(this.formData) |
| 51 | - this.$message.success(this.$t('inspectionItemManage.deleteSuccess')) | 51 | + this.$message.success(this.$t('common.operationSuccess')) |
| 52 | this.visible = false | 52 | this.visible = false |
| 53 | this.$emit('success') | 53 | this.$emit('success') |
| 54 | } catch (error) { | 54 | } catch (error) { |
src/components/inspection/DeleteInspectionRoute.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.confirmDelete')" :visible.sync="visible" width="30%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.confirmDelete')" :visible.sync="visible" width="30%" @close="handleClose"> |
| 3 | <div class="text-center"> | 3 | <div class="text-center"> |
| 4 | <p>{{ $t('inspectionRoute.confirmDeleteRoute') }}</p> | 4 | <p>{{ $t('inspectionRoute.confirmDeleteRoute') }}</p> |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | communityId: this.communityId | 42 | communityId: this.communityId |
| 43 | } | 43 | } |
| 44 | await deleteRoute(params) | 44 | await deleteRoute(params) |
| 45 | - this.$message.success(this.$t('inspectionRoute.deleteSuccess')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.handleClose() | 47 | this.handleClose() |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/inspection/DeleteInspectionRoutePoint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirmOperation')" | 3 | :title="$t('common.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -50,7 +50,7 @@ export default { | @@ -50,7 +50,7 @@ export default { | ||
| 50 | communityId: this.communityId | 50 | communityId: this.communityId |
| 51 | } | 51 | } |
| 52 | await deletePoint(params) | 52 | await deletePoint(params) |
| 53 | - this.$message.success(this.$t('inspectionRoute.deleteSuccess')) | 53 | + this.$message.success(this.$t('common.operationSuccess')) |
| 54 | this.$emit('success') | 54 | this.$emit('success') |
| 55 | this.handleClose() | 55 | this.handleClose() |
| 56 | } catch (error) { | 56 | } catch (error) { |
src/components/inspection/DeleteInspectionTask.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteInspectionTask.confirmOperation')" | 3 | :title="$t('deleteInspectionTask.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleConfirm() { | 38 | async handleConfirm() { |
| 39 | try { | 39 | try { |
| 40 | await deleteInspectionTask({ taskId: this.taskId }) | 40 | await deleteInspectionTask({ taskId: this.taskId }) |
| 41 | - this.$message.success(this.$t('common.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.visible = false | 42 | this.visible = false |
| 43 | this.$emit('success') | 43 | this.$emit('success') |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/inspection/EditInspectionItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('inspectionItemManage.editTitle')" | 3 | :title="$t('inspectionItemManage.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -86,7 +86,7 @@ export default { | @@ -86,7 +86,7 @@ export default { | ||
| 86 | this.loading = true | 86 | this.loading = true |
| 87 | try { | 87 | try { |
| 88 | await updateInspectionItem(this.formData) | 88 | await updateInspectionItem(this.formData) |
| 89 | - this.$message.success(this.$t('inspectionItemManage.editSuccess')) | 89 | + this.$message.success(this.$t('common.operationSuccess')) |
| 90 | this.visible = false | 90 | this.visible = false |
| 91 | this.$emit('success') | 91 | this.$emit('success') |
| 92 | } catch (error) { | 92 | } catch (error) { |
src/components/inspection/EditInspectionRoute.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('inspectionRoute.editRouteTitle')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('inspectionRoute.editRouteTitle')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="editInspectionRouteInfo" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="editInspectionRouteInfo" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('inspectionRoute.routeName')" prop="routeName"> | 4 | <el-form-item :label="$t('inspectionRoute.routeName')" prop="routeName"> |
| @@ -75,7 +75,7 @@ export default { | @@ -75,7 +75,7 @@ export default { | ||
| 75 | await this.$refs.form.validate() | 75 | await this.$refs.form.validate() |
| 76 | 76 | ||
| 77 | await updateInspectionRoute(this.editInspectionRouteInfo) | 77 | await updateInspectionRoute(this.editInspectionRouteInfo) |
| 78 | - this.$message.success(this.$t('inspectionRoute.editSuccess')) | 78 | + this.$message.success(this.$t('common.operationSuccess')) |
| 79 | this.$emit('success') | 79 | this.$emit('success') |
| 80 | this.handleClose() | 80 | this.handleClose() |
| 81 | } catch (error) { | 81 | } catch (error) { |
src/components/inspection/EditInspectionRoutePoint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('inspectionRoute.editPointTitle')" | 3 | :title="$t('inspectionRoute.editPointTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -111,7 +111,7 @@ export default { | @@ -111,7 +111,7 @@ export default { | ||
| 111 | if (!valid) return | 111 | if (!valid) return |
| 112 | 112 | ||
| 113 | await updateInspectionRoutePointRel(this.editInspectionRoutePointInfo) | 113 | await updateInspectionRoutePointRel(this.editInspectionRoutePointInfo) |
| 114 | - this.$message.success(this.$t('inspectionRoute.editSuccess')) | 114 | + this.$message.success(this.$t('common.operationSuccess')) |
| 115 | this.$emit('success') | 115 | this.$emit('success') |
| 116 | this.handleClose() | 116 | this.handleClose() |
| 117 | }) | 117 | }) |
src/components/inspection/InspectionTaskTransfer.vue
| @@ -86,7 +86,7 @@ export default { | @@ -86,7 +86,7 @@ export default { | ||
| 86 | 86 | ||
| 87 | try { | 87 | try { |
| 88 | await updateInspectionTask(this.form) | 88 | await updateInspectionTask(this.form) |
| 89 | - this.$message.success(this.$t('common.operateSuccess')) | 89 | + this.$message.success(this.$t('common.operationSuccess')) |
| 90 | this.visible = false | 90 | this.visible = false |
| 91 | this.$emit('success') | 91 | this.$emit('success') |
| 92 | } catch (error) { | 92 | } catch (error) { |
src/components/inspection/addInspectionItemTitle.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('inspectionItemTitleManage.addTitle')" | 3 | :title="$t('inspectionItemTitleManage.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -170,7 +170,7 @@ export default { | @@ -170,7 +170,7 @@ export default { | ||
| 170 | } | 170 | } |
| 171 | 171 | ||
| 172 | await saveInspectionItemTitle(params) | 172 | await saveInspectionItemTitle(params) |
| 173 | - this.$message.success(this.$t('common.saveSuccess')) | 173 | + this.$message.success(this.$t('common.operationSuccess')) |
| 174 | this.visible = false | 174 | this.visible = false |
| 175 | this.$emit('success') | 175 | this.$emit('success') |
| 176 | } catch (error) { | 176 | } catch (error) { |
src/components/inspection/addInspectionPoint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addInspectionPoint.title')" :visible.sync="dialogVisible" width="60%" top="5vh" | 2 | <el-dialog :title="$t('addInspectionPoint.title')" :visible.sync="dialogVisible" width="60%" top="5vh" |
| 3 | @close="resetForm"> | 3 | @close="resetForm"> |
| 4 | <el-form ref="addForm" :model="addInspectionPointInfo" class="text-left" :rules="rules" label-width="120px" label-position="right"> | 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,7 +238,7 @@ export default { | ||
| 238 | const response = await saveInspectionPoint(this.addInspectionPointInfo) | 238 | const response = await saveInspectionPoint(this.addInspectionPointInfo) |
| 239 | 239 | ||
| 240 | if (response.code === 0) { | 240 | if (response.code === 0) { |
| 241 | - this.$message.success(this.$t('addInspectionPoint.saveSuccess')) | 241 | + this.$message.success(this.$t('common.operationSuccess')) |
| 242 | this.dialogVisible = false | 242 | this.dialogVisible = false |
| 243 | this.$emit('success') | 243 | this.$emit('success') |
| 244 | } else { | 244 | } else { |
src/components/inspection/addMaintainanceItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('maintainanceItem.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('maintainanceItem.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" > | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" > |
| 4 | <el-form-item :label="$t('maintainanceItem.form.itemTitle')" prop="itemTitle"> | 4 | <el-form-item :label="$t('maintainanceItem.form.itemTitle')" prop="itemTitle"> |
| @@ -138,7 +138,7 @@ export default { | @@ -138,7 +138,7 @@ export default { | ||
| 138 | if (valid) { | 138 | if (valid) { |
| 139 | try { | 139 | try { |
| 140 | await saveMaintainanceItem(this.form) | 140 | await saveMaintainanceItem(this.form) |
| 141 | - this.$message.success(this.$t('common.saveSuccess')) | 141 | + this.$message.success(this.$t('common.operationSuccess')) |
| 142 | this.$emit('success') | 142 | this.$emit('success') |
| 143 | this.visible = false | 143 | this.visible = false |
| 144 | } catch (error) { | 144 | } catch (error) { |
src/components/inspection/addMaintainanceStandard.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('maintainanceStandard.add.title')" | 3 | :title="$t('maintainanceStandard.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | if (valid) { | 95 | if (valid) { |
| 96 | try { | 96 | try { |
| 97 | await saveMaintainanceStandard(this.formData) | 97 | await saveMaintainanceStandard(this.formData) |
| 98 | - this.$message.success(this.$t('maintainanceStandard.message.addSuccess')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.visible = false | 99 | this.visible = false |
| 100 | this.$emit('success') | 100 | this.$emit('success') |
| 101 | } catch (error) { | 101 | } catch (error) { |
src/components/inspection/chooseMaintainancePlanMachine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('chooseMaintainancePlanMachine.title')" | 3 | :title="$t('chooseMaintainancePlanMachine.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -156,7 +156,7 @@ export default { | @@ -156,7 +156,7 @@ export default { | ||
| 156 | await saveMaintainancePlanMachine(params) | 156 | await saveMaintainancePlanMachine(params) |
| 157 | this.$emit('success') | 157 | this.$emit('success') |
| 158 | this.visible = false | 158 | this.visible = false |
| 159 | - this.$message.success(this.$t('chooseMaintainancePlanMachine.addSuccess')) | 159 | + this.$message.success(this.$t('common.operationSuccess')) |
| 160 | } catch (error) { | 160 | } catch (error) { |
| 161 | this.$message.error(this.$t('chooseMaintainancePlanMachine.addError')) | 161 | this.$message.error(this.$t('chooseMaintainancePlanMachine.addError')) |
| 162 | } | 162 | } |
src/components/inspection/chooseMaintainanceStandardItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('chooseMaintainanceStandardItem.title')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('chooseMaintainanceStandardItem.title')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -142,7 +142,7 @@ export default { | @@ -142,7 +142,7 @@ export default { | ||
| 142 | items: selectedItems | 142 | items: selectedItems |
| 143 | } | 143 | } |
| 144 | await saveMaintainanceStandardItem(params) | 144 | await saveMaintainanceStandardItem(params) |
| 145 | - this.$message.success(this.$t('chooseMaintainanceStandardItem.submitSuccess')) | 145 | + this.$message.success(this.$t('common.operationSuccess')) |
| 146 | this.$emit('success') | 146 | this.$emit('success') |
| 147 | this.handleClose() | 147 | this.handleClose() |
| 148 | } catch (error) { | 148 | } catch (error) { |
src/components/inspection/deleteInspectionItemTitle.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.delete')" | 3 | :title="$t('common.delete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | await deleteInspectionItemTitle(params) | 43 | await deleteInspectionItemTitle(params) |
| 44 | - this.$message.success(this.$t('common.deleteSuccess')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | this.visible = false | 45 | this.visible = false |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/inspection/deleteInspectionPlan.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('inspectionPlan.confirmDeleteTitle')" | 3 | :title="$t('inspectionPlan.confirmDeleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -34,7 +34,7 @@ export default { | @@ -34,7 +34,7 @@ export default { | ||
| 34 | async confirmDelete() { | 34 | async confirmDelete() { |
| 35 | try { | 35 | try { |
| 36 | await deleteInspectionPlan({ inspectionPlanId: this.currentPlanId }) | 36 | await deleteInspectionPlan({ inspectionPlanId: this.currentPlanId }) |
| 37 | - this.$message.success(this.$t('inspectionPlan.deleteSuccess')) | 37 | + this.$message.success(this.$t('common.operationSuccess')) |
| 38 | this.visible = false | 38 | this.visible = false |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | } catch (error) { | 40 | } catch (error) { |
src/components/inspection/deleteInspectionPoint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteInspectionPoint.title')" | 3 | :title="$t('deleteInspectionPoint.title')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -57,7 +57,7 @@ export default { | @@ -57,7 +57,7 @@ export default { | ||
| 57 | const response = await deleteInspectionPoint(this.deleteInspectionPointInfo) | 57 | const response = await deleteInspectionPoint(this.deleteInspectionPointInfo) |
| 58 | 58 | ||
| 59 | if (response.code === 0) { | 59 | if (response.code === 0) { |
| 60 | - this.$message.success(this.$t('deleteInspectionPoint.deleteSuccess')) | 60 | + this.$message.success(this.$t('common.operationSuccess')) |
| 61 | this.dialogVisible = false | 61 | this.dialogVisible = false |
| 62 | this.$emit('success') | 62 | this.$emit('success') |
| 63 | } else { | 63 | } else { |
src/components/inspection/deleteMaintainanceItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('maintainanceItem.delete.title')" | 3 | :title="$t('maintainanceItem.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -60,7 +60,7 @@ export default { | @@ -60,7 +60,7 @@ export default { | ||
| 60 | itemId: this.form.itemId, | 60 | itemId: this.form.itemId, |
| 61 | communityId: this.form.communityId | 61 | communityId: this.form.communityId |
| 62 | }) | 62 | }) |
| 63 | - this.$message.success(this.$t('common.deleteSuccess')) | 63 | + this.$message.success(this.$t('common.operationSuccess')) |
| 64 | this.$emit('success') | 64 | this.$emit('success') |
| 65 | this.visible = false | 65 | this.visible = false |
| 66 | } catch (error) { | 66 | } catch (error) { |
src/components/inspection/deleteMaintainancePlan.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteMaintainancePlan.title')" | 3 | :title="$t('deleteMaintainancePlan.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | communityId: this.communityId | 43 | communityId: this.communityId |
| 44 | } | 44 | } |
| 45 | await deleteMaintainancePlan(params) | 45 | await deleteMaintainancePlan(params) |
| 46 | - this.$message.success(this.$t('deleteMaintainancePlan.success')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | } catch (error) { | 49 | } catch (error) { |
src/components/inspection/deleteMaintainancePlanMachine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('deleteMaintainancePlanMachine.title')" :visible.sync="visible" width="30%" @close="handleClose"> | 2 | <el-dialog :title="$t('deleteMaintainancePlanMachine.title')" :visible.sync="visible" width="30%" @close="handleClose"> |
| 3 | 3 | ||
| 4 | <div style="text-align: center; margin-bottom: 20px;"> | 4 | <div style="text-align: center; margin-bottom: 20px;"> |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | await deleteMaintainancePlanMachine(params) | 38 | await deleteMaintainancePlanMachine(params) |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | - this.$message.success(this.$t('deleteMaintainancePlanMachine.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | } catch (error) { | 42 | } catch (error) { |
| 43 | this.$message.error(this.$t('deleteMaintainancePlanMachine.deleteError')) | 43 | this.$message.error(this.$t('deleteMaintainancePlanMachine.deleteError')) |
| 44 | } | 44 | } |
src/components/inspection/deleteMaintainanceStandard.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('maintainanceStandard.delete.title')" | 3 | :title="$t('maintainanceStandard.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | try { | 47 | try { |
| 48 | this.loading = true | 48 | this.loading = true |
| 49 | await deleteMaintainanceStandard(this.currentData) | 49 | await deleteMaintainanceStandard(this.currentData) |
| 50 | - this.$message.success(this.$t('maintainanceStandard.message.deleteSuccess')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | this.visible = false | 51 | this.visible = false |
| 52 | this.$emit('success') | 52 | this.$emit('success') |
| 53 | } catch (error) { | 53 | } catch (error) { |
src/components/inspection/deleteMaintainanceStandardItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('deleteMaintainanceStandardItem.title')" :visible.sync="visible" width="30%" @close="handleClose"> | 2 | <el-dialog :title="$t('deleteMaintainanceStandardItem.title')" :visible.sync="visible" width="30%" @close="handleClose"> |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | communityId: getCommunityId() | 51 | communityId: getCommunityId() |
| 52 | } | 52 | } |
| 53 | await deleteMaintainanceStandardItem(params) | 53 | await deleteMaintainanceStandardItem(params) |
| 54 | - this.$message.success(this.$t('deleteMaintainanceStandardItem.deleteSuccess')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | this.$emit('success') | 55 | this.$emit('success') |
| 56 | this.handleClose() | 56 | this.handleClose() |
| 57 | } catch (error) { | 57 | } catch (error) { |
src/components/inspection/deleteMaintainanceTask.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteMaintainanceTask.title')" | 3 | :title="$t('deleteMaintainanceTask.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | this.loading = true | 54 | this.loading = true |
| 55 | deleteMaintainanceTask(this.task) | 55 | deleteMaintainanceTask(this.task) |
| 56 | .then(() => { | 56 | .then(() => { |
| 57 | - this.$message.success(this.$t('deleteMaintainanceTask.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.$emit('success') | 58 | this.$emit('success') |
| 59 | this.visible = false | 59 | this.visible = false |
| 60 | }) | 60 | }) |
src/components/inspection/editInspectionItemTitle.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('inspectionItemTitleManage.editTitle')" :visible.sync="visible" width="50%" @close="resetForm"> | 2 | <el-dialog :title="$t('inspectionItemTitleManage.editTitle')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('inspectionItemTitleManage.title')" prop="itemTitle" | 4 | <el-form-item :label="$t('inspectionItemTitleManage.title')" prop="itemTitle" |
| @@ -128,7 +128,7 @@ export default { | @@ -128,7 +128,7 @@ export default { | ||
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | await updateInspectionItemTitle(params) | 130 | await updateInspectionItemTitle(params) |
| 131 | - this.$message.success(this.$t('common.updateSuccess')) | 131 | + this.$message.success(this.$t('common.operationSuccess')) |
| 132 | this.visible = false | 132 | this.visible = false |
| 133 | this.$emit('success') | 133 | this.$emit('success') |
| 134 | } catch (error) { | 134 | } catch (error) { |
src/components/inspection/editInspectionPlan.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('inspectionPlan.modify')" :visible.sync="visible" width="80%" @close="resetForm"> | 2 | <el-dialog :title="$t('inspectionPlan.modify')" :visible.sync="visible" width="80%" @close="resetForm"> |
| 3 | <el-form ref="form" :model="formData" label-width="150px" class="text-left"> | 3 | <el-form ref="form" :model="formData" label-width="150px" class="text-left"> |
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -252,7 +252,7 @@ export default { | @@ -252,7 +252,7 @@ export default { | ||
| 252 | 252 | ||
| 253 | // 调用API | 253 | // 调用API |
| 254 | await updateInspectionPlan(payload) | 254 | await updateInspectionPlan(payload) |
| 255 | - this.$message.success(this.$t('inspectionPlan.updateSuccess')) | 255 | + this.$message.success(this.$t('common.operationSuccess')) |
| 256 | this.visible = false | 256 | this.visible = false |
| 257 | this.$emit('success') | 257 | this.$emit('success') |
| 258 | } catch (error) { | 258 | } catch (error) { |
src/components/inspection/editInspectionPoint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editInspectionPoint.title')" :visible.sync="dialogVisible" width="60%" top="5vh" | 2 | <el-dialog :title="$t('editInspectionPoint.title')" :visible.sync="dialogVisible" width="60%" top="5vh" |
| 3 | @close="resetForm"> | 3 | @close="resetForm"> |
| 4 | <el-form ref="editForm" :model="editInspectionPointInfo" :rules="rules" label-width="120px" label-position="right"> | 4 | <el-form ref="editForm" :model="editInspectionPointInfo" :rules="rules" label-width="120px" label-position="right"> |
| @@ -246,7 +246,7 @@ export default { | @@ -246,7 +246,7 @@ export default { | ||
| 246 | const response = await updateInspectionPoint(this.editInspectionPointInfo) | 246 | const response = await updateInspectionPoint(this.editInspectionPointInfo) |
| 247 | 247 | ||
| 248 | if (response.code === 0) { | 248 | if (response.code === 0) { |
| 249 | - this.$message.success(this.$t('editInspectionPoint.updateSuccess')) | 249 | + this.$message.success(this.$t('common.operationSuccess')) |
| 250 | this.dialogVisible = false | 250 | this.dialogVisible = false |
| 251 | this.$emit('success') | 251 | this.$emit('success') |
| 252 | } else { | 252 | } else { |
src/components/inspection/editMaintainanceItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('maintainanceItem.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('maintainanceItem.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('maintainanceItem.form.titleType')" prop="titleType"> | 4 | <el-form-item :label="$t('maintainanceItem.form.titleType')" prop="titleType"> |
| @@ -149,7 +149,7 @@ export default { | @@ -149,7 +149,7 @@ export default { | ||
| 149 | if (valid) { | 149 | if (valid) { |
| 150 | try { | 150 | try { |
| 151 | await updateMaintainanceItem(this.form) | 151 | await updateMaintainanceItem(this.form) |
| 152 | - this.$message.success(this.$t('common.updateSuccess')) | 152 | + this.$message.success(this.$t('common.operationSuccess')) |
| 153 | this.$emit('success') | 153 | this.$emit('success') |
| 154 | this.visible = false | 154 | this.visible = false |
| 155 | } catch (error) { | 155 | } catch (error) { |
src/components/inspection/editMaintainanceStandard.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('maintainanceStandard.edit.title')" | 3 | :title="$t('maintainanceStandard.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -102,7 +102,7 @@ export default { | @@ -102,7 +102,7 @@ export default { | ||
| 102 | if (valid) { | 102 | if (valid) { |
| 103 | try { | 103 | try { |
| 104 | await updateMaintainanceStandard(this.formData) | 104 | await updateMaintainanceStandard(this.formData) |
| 105 | - this.$message.success(this.$t('maintainanceStandard.message.editSuccess')) | 105 | + this.$message.success(this.$t('common.operationSuccess')) |
| 106 | this.visible = false | 106 | this.visible = false |
| 107 | this.$emit('success') | 107 | this.$emit('success') |
| 108 | } catch (error) { | 108 | } catch (error) { |
src/components/inspection/inspectionPlanState.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('inspectionPlan.confirmOperation')" :visible.sync="visible" width="30%"> | 2 | <el-dialog :title="$t('inspectionPlan.confirmOperation')" :visible.sync="visible" width="30%"> |
| 3 | <div class="text-center"> | 3 | <div class="text-center"> |
| 4 | <p>{{ $t('inspectionPlan.confirmStateChange', { state: stateName }) }}</p> | 4 | <p>{{ $t('inspectionPlan.confirmStateChange', { state: stateName }) }}</p> |
| @@ -37,7 +37,7 @@ export default { | @@ -37,7 +37,7 @@ export default { | ||
| 37 | inspectionPlanId: this.inspectionPlanId, | 37 | inspectionPlanId: this.inspectionPlanId, |
| 38 | state: this.state | 38 | state: this.state |
| 39 | }) | 39 | }) |
| 40 | - this.$message.success(this.$t('inspectionPlan.stateChangeSuccess')) | 40 | + this.$message.success(this.$t('common.operationSuccess')) |
| 41 | this.visible = false | 41 | this.visible = false |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | } catch (error) { | 43 | } catch (error) { |
src/components/inspection/maintainancePlanState.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('maintainancePlanState.title')" | 3 | :title="$t('maintainancePlanState.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -52,7 +52,7 @@ export default { | @@ -52,7 +52,7 @@ export default { | ||
| 52 | communityId: this.communityId | 52 | communityId: this.communityId |
| 53 | } | 53 | } |
| 54 | await updateMaintainancePlanState(params) | 54 | await updateMaintainancePlanState(params) |
| 55 | - this.$message.success(this.$t('maintainancePlanState.success')) | 55 | + this.$message.success(this.$t('common.operationSuccess')) |
| 56 | this.$emit('success') | 56 | this.$emit('success') |
| 57 | this.visible = false | 57 | this.visible = false |
| 58 | } catch (error) { | 58 | } catch (error) { |
src/components/inspection/maintainanceTaskTransfer.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('maintainanceTaskTransfer.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('maintainanceTaskTransfer.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> | 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('maintainanceTaskTransfer.transferTarget')" prop="staffId"> | 4 | <el-form-item :label="$t('maintainanceTaskTransfer.transferTarget')" prop="staffId"> |
| @@ -120,7 +120,7 @@ export default { | @@ -120,7 +120,7 @@ export default { | ||
| 120 | this.loading = true | 120 | this.loading = true |
| 121 | updateMaintainanceTask(this.form) | 121 | updateMaintainanceTask(this.form) |
| 122 | .then(() => { | 122 | .then(() => { |
| 123 | - this.$message.success(this.$t('maintainanceTaskTransfer.success')) | 123 | + this.$message.success(this.$t('common.operationSuccess')) |
| 124 | this.$emit('success') | 124 | this.$emit('success') |
| 125 | this.visible = false | 125 | this.visible = false |
| 126 | }) | 126 | }) |
src/components/machine/AddMachine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('layout.machineAdd')" | 3 | :title="$t('layout.machineAdd')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -107,7 +107,7 @@ export default { | @@ -107,7 +107,7 @@ export default { | ||
| 107 | try { | 107 | try { |
| 108 | await this.$refs.form.validate() | 108 | await this.$refs.form.validate() |
| 109 | await addMachine(this.form) | 109 | await addMachine(this.form) |
| 110 | - this.$message.success(this.$t('layout.addSuccess')) | 110 | + this.$message.success(this.$t('common.operationSuccess')) |
| 111 | this.$emit('success') | 111 | this.$emit('success') |
| 112 | this.handleClose() | 112 | this.handleClose() |
| 113 | } catch (error) { | 113 | } catch (error) { |
src/components/machine/DelMachine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('layout.deleteConfirm')" | 3 | :title="$t('layout.deleteConfirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleConfirm() { | 38 | async handleConfirm() { |
| 39 | try { | 39 | try { |
| 40 | await deleteMachine(this.machineId) | 40 | await deleteMachine(this.machineId) |
| 41 | - this.$message.success(this.$t('layout.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | this.handleClose() | 43 | this.handleClose() |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/machine/EditMachine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('layout.machineEdit')" | 3 | :title="$t('layout.machineEdit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -100,7 +100,7 @@ export default { | @@ -100,7 +100,7 @@ export default { | ||
| 100 | try { | 100 | try { |
| 101 | await this.$refs.form.validate() | 101 | await this.$refs.form.validate() |
| 102 | await updateMachine(this.form) | 102 | await updateMachine(this.form) |
| 103 | - this.$message.success(this.$t('layout.editSuccess')) | 103 | + this.$message.success(this.$t('common.operationSuccess')) |
| 104 | this.$emit('success') | 104 | this.$emit('success') |
| 105 | this.handleClose() | 105 | this.handleClose() |
| 106 | } catch (error) { | 106 | } catch (error) { |
src/components/machine/addMachinePrinter.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('machinePrinterManage.add.title')" | 3 | :title="$t('machinePrinterManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -112,7 +112,7 @@ export default { | @@ -112,7 +112,7 @@ export default { | ||
| 112 | if (valid) { | 112 | if (valid) { |
| 113 | try { | 113 | try { |
| 114 | await saveMachinePrinter(this.form) | 114 | await saveMachinePrinter(this.form) |
| 115 | - this.$message.success(this.$t('machinePrinterManage.message.addSuccess')) | 115 | + this.$message.success(this.$t('common.operationSuccess')) |
| 116 | this.visible = false | 116 | this.visible = false |
| 117 | this.$emit('success') | 117 | this.$emit('success') |
| 118 | } catch (error) { | 118 | } catch (error) { |
src/components/machine/addMachineTranslate.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('machineTranslateManage.add.title')" | 3 | :title="$t('machineTranslateManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -131,7 +131,7 @@ export default { | @@ -131,7 +131,7 @@ export default { | ||
| 131 | if (valid) { | 131 | if (valid) { |
| 132 | try { | 132 | try { |
| 133 | await saveMachineTranslate(this.formData) | 133 | await saveMachineTranslate(this.formData) |
| 134 | - this.$message.success(this.$t('machineTranslateManage.message.addSuccess')) | 134 | + this.$message.success(this.$t('common.operationSuccess')) |
| 135 | this.visible = false | 135 | this.visible = false |
| 136 | this.$emit('success') | 136 | this.$emit('success') |
| 137 | } catch (error) { | 137 | } catch (error) { |
src/components/machine/addMachineType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('machineTypeTree.machineTypeName')" prop="machineTypeName"> | 4 | <el-form-item :label="$t('machineTypeTree.machineTypeName')" prop="machineTypeName"> |
| @@ -122,7 +122,7 @@ export default { | @@ -122,7 +122,7 @@ export default { | ||
| 122 | if (valid) { | 122 | if (valid) { |
| 123 | try { | 123 | try { |
| 124 | await saveMachineType(this.form) | 124 | await saveMachineType(this.form) |
| 125 | - this.$message.success(this.$t('common.addSuccess')) | 125 | + this.$message.success(this.$t('common.operationSuccess')) |
| 126 | this.dialogVisible = false | 126 | this.dialogVisible = false |
| 127 | this.$emit('success') | 127 | this.$emit('success') |
| 128 | } catch (error) { | 128 | } catch (error) { |
src/components/machine/addPrinterRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('printerRule.addTitle')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('printerRule.addTitle')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('printerRule.ruleName')" prop="ruleName"> | 4 | <el-form-item :label="$t('printerRule.ruleName')" prop="ruleName"> |
| @@ -83,7 +83,7 @@ export default { | @@ -83,7 +83,7 @@ export default { | ||
| 83 | if (valid) { | 83 | if (valid) { |
| 84 | try { | 84 | try { |
| 85 | await savePrinterRule(this.form) | 85 | await savePrinterRule(this.form) |
| 86 | - this.$message.success(this.$t('common.addSuccess')) | 86 | + this.$message.success(this.$t('common.operationSuccess')) |
| 87 | this.visible = false | 87 | this.visible = false |
| 88 | this.$emit('success') | 88 | this.$emit('success') |
| 89 | } catch (error) { | 89 | } catch (error) { |
src/components/machine/addPrinterRuleFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('printerRuleFees.addTitle')" | 3 | :title="$t('printerRuleFees.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | if (valid) { | 95 | if (valid) { |
| 96 | try { | 96 | try { |
| 97 | await savePrinterRuleFee(this.form) | 97 | await savePrinterRuleFee(this.form) |
| 98 | - this.$message.success(this.$t('common.addSuccess')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.visible = false | 99 | this.visible = false |
| 100 | this.$emit('success') | 100 | this.$emit('success') |
| 101 | } catch (error) { | 101 | } catch (error) { |
src/components/machine/addPrinterRuleMachine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('printerRuleMachine.addTitle')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('printerRuleMachine.addTitle')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left" > | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left" > |
| 4 | <el-form-item :label="$t('printerRuleMachine.machine')" prop="machineId"> | 4 | <el-form-item :label="$t('printerRuleMachine.machine')" prop="machineId"> |
| @@ -77,7 +77,7 @@ export default { | @@ -77,7 +77,7 @@ export default { | ||
| 77 | if (valid) { | 77 | if (valid) { |
| 78 | try { | 78 | try { |
| 79 | await savePrinterRuleMachine(this.form) | 79 | await savePrinterRuleMachine(this.form) |
| 80 | - this.$message.success(this.$t('common.addSuccess')) | 80 | + this.$message.success(this.$t('common.operationSuccess')) |
| 81 | this.visible = false | 81 | this.visible = false |
| 82 | this.$emit('success') | 82 | this.$emit('success') |
| 83 | } catch (error) { | 83 | } catch (error) { |
src/components/machine/addPrinterRuleRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('printerRuleRepair.addTitle')" | 3 | :title="$t('printerRuleRepair.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | if (valid) { | 95 | if (valid) { |
| 96 | try { | 96 | try { |
| 97 | await savePrinterRuleRepair(this.form) | 97 | await savePrinterRuleRepair(this.form) |
| 98 | - this.$message.success(this.$t('common.addSuccess')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.visible = false | 99 | this.visible = false |
| 100 | this.$emit('success') | 100 | this.$emit('success') |
| 101 | } catch (error) { | 101 | } catch (error) { |
src/components/machine/changeStateEquipment.vue
| @@ -72,7 +72,7 @@ export default { | @@ -72,7 +72,7 @@ export default { | ||
| 72 | async handleSubmit() { | 72 | async handleSubmit() { |
| 73 | try { | 73 | try { |
| 74 | await changeStateEquipment(this.formData) | 74 | await changeStateEquipment(this.formData) |
| 75 | - this.$message.success(this.$t('common.operateSuccess')) | 75 | + this.$message.success(this.$t('common.operationSuccess')) |
| 76 | this.dialogVisible = false | 76 | this.dialogVisible = false |
| 77 | this.$emit('success') | 77 | this.$emit('success') |
| 78 | } catch (error) { | 78 | } catch (error) { |
src/components/machine/deleteEquipmentAccount.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.delete')" :visible.sync="dialogVisible" width="30%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.delete')" :visible.sync="dialogVisible" width="30%" @close="handleClose"> |
| 3 | <div class="confirm-content"> | 3 | <div class="confirm-content"> |
| 4 | <el-alert :title="$t('equipmentAccount.confirmDelete')" type="warning" :closable="false" show-icon> | 4 | <el-alert :title="$t('equipmentAccount.confirmDelete')" type="warning" :closable="false" show-icon> |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | async handleConfirm() { | 47 | async handleConfirm() { |
| 48 | try { | 48 | try { |
| 49 | await deleteEquipmentAccount(this.equipmentData) | 49 | await deleteEquipmentAccount(this.equipmentData) |
| 50 | - this.$message.success(this.$t('common.deleteSuccess')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | this.dialogVisible = false | 51 | this.dialogVisible = false |
| 52 | this.$emit('success') | 52 | this.$emit('success') |
| 53 | } catch (error) { | 53 | } catch (error) { |
src/components/machine/deleteMachinePrinter.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('machinePrinterManage.delete.title')" | 3 | :title="$t('machinePrinterManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -45,7 +45,7 @@ export default { | @@ -45,7 +45,7 @@ export default { | ||
| 45 | async handleConfirm() { | 45 | async handleConfirm() { |
| 46 | try { | 46 | try { |
| 47 | await deleteMachinePrinter(this.form) | 47 | await deleteMachinePrinter(this.form) |
| 48 | - this.$message.success(this.$t('machinePrinterManage.message.deleteSuccess')) | 48 | + this.$message.success(this.$t('common.operationSuccess')) |
| 49 | this.visible = false | 49 | this.visible = false |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | } catch (error) { | 51 | } catch (error) { |
src/components/machine/deleteMachineType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('machineTypeTree.confirmOperation')" | 3 | :title="$t('machineTypeTree.confirmOperation')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -40,7 +40,7 @@ export default { | @@ -40,7 +40,7 @@ export default { | ||
| 40 | async handleConfirm() { | 40 | async handleConfirm() { |
| 41 | try { | 41 | try { |
| 42 | await deleteMachineType(this.form) | 42 | await deleteMachineType(this.form) |
| 43 | - this.$message.success(this.$t('common.deleteSuccess')) | 43 | + this.$message.success(this.$t('common.operationSuccess')) |
| 44 | this.dialogVisible = false | 44 | this.dialogVisible = false |
| 45 | this.$emit('success') | 45 | this.$emit('success') |
| 46 | } catch (error) { | 46 | } catch (error) { |
src/components/machine/deletePrinterRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('printerRule.deleteTitle')" | 3 | :title="$t('printerRule.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | async handleDelete() { | 47 | async handleDelete() { |
| 48 | try { | 48 | try { |
| 49 | await deletePrinterRule(this.form) | 49 | await deletePrinterRule(this.form) |
| 50 | - this.$message.success(this.$t('common.deleteSuccess')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | this.visible = false | 51 | this.visible = false |
| 52 | this.$emit('success') | 52 | this.$emit('success') |
| 53 | } catch (error) { | 53 | } catch (error) { |
src/components/machine/deletePrinterRuleFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('printerRuleFees.deleteTitle')" | 3 | :title="$t('printerRuleFees.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -50,7 +50,7 @@ export default { | @@ -50,7 +50,7 @@ export default { | ||
| 50 | prfId: this.form.prfId, | 50 | prfId: this.form.prfId, |
| 51 | communityId: this.form.communityId | 51 | communityId: this.form.communityId |
| 52 | }) | 52 | }) |
| 53 | - this.$message.success(this.$t('common.deleteSuccess')) | 53 | + this.$message.success(this.$t('common.operationSuccess')) |
| 54 | this.visible = false | 54 | this.visible = false |
| 55 | this.$emit('success') | 55 | this.$emit('success') |
| 56 | } catch (error) { | 56 | } catch (error) { |
src/components/machine/deletePrinterRuleMachine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('printerRuleMachine.deleteTitle')" | 3 | :title="$t('printerRuleMachine.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -53,7 +53,7 @@ export default { | @@ -53,7 +53,7 @@ export default { | ||
| 53 | prmId: this.form.prmId, | 53 | prmId: this.form.prmId, |
| 54 | communityId: this.form.communityId | 54 | communityId: this.form.communityId |
| 55 | }) | 55 | }) |
| 56 | - this.$message.success(this.$t('common.deleteSuccess')) | 56 | + this.$message.success(this.$t('common.operationSuccess')) |
| 57 | this.visible = false | 57 | this.visible = false |
| 58 | this.$emit('success') | 58 | this.$emit('success') |
| 59 | } catch (error) { | 59 | } catch (error) { |
src/components/machine/deletePrinterRuleRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('printerRuleRepair.deleteTitle')" | 3 | :title="$t('printerRuleRepair.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -50,7 +50,7 @@ export default { | @@ -50,7 +50,7 @@ export default { | ||
| 50 | prrId: this.form.prrId, | 50 | prrId: this.form.prrId, |
| 51 | communityId: this.form.communityId | 51 | communityId: this.form.communityId |
| 52 | }) | 52 | }) |
| 53 | - this.$message.success(this.$t('common.deleteSuccess')) | 53 | + this.$message.success(this.$t('common.operationSuccess')) |
| 54 | this.visible = false | 54 | this.visible = false |
| 55 | this.$emit('success') | 55 | this.$emit('success') |
| 56 | } catch (error) { | 56 | } catch (error) { |
src/components/machine/editMachinePrinter.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('machinePrinterManage.edit.title')" | 3 | :title="$t('machinePrinterManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -117,7 +117,7 @@ export default { | @@ -117,7 +117,7 @@ export default { | ||
| 117 | if (valid) { | 117 | if (valid) { |
| 118 | try { | 118 | try { |
| 119 | await updateMachinePrinter(this.form) | 119 | await updateMachinePrinter(this.form) |
| 120 | - this.$message.success(this.$t('machinePrinterManage.message.editSuccess')) | 120 | + this.$message.success(this.$t('common.operationSuccess')) |
| 121 | this.visible = false | 121 | this.visible = false |
| 122 | this.$emit('success') | 122 | this.$emit('success') |
| 123 | } catch (error) { | 123 | } catch (error) { |
src/components/machine/editMachineTranslate.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('machineTranslateManage.edit.title')" | 3 | :title="$t('machineTranslateManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -81,7 +81,7 @@ export default { | @@ -81,7 +81,7 @@ export default { | ||
| 81 | async handleSubmit() { | 81 | async handleSubmit() { |
| 82 | try { | 82 | try { |
| 83 | await resendIot(this.formData) | 83 | await resendIot(this.formData) |
| 84 | - this.$message.success(this.$t('machineTranslateManage.message.resyncSuccess')) | 84 | + this.$message.success(this.$t('common.operationSuccess')) |
| 85 | this.visible = false | 85 | this.visible = false |
| 86 | this.$emit('success') | 86 | this.$emit('success') |
| 87 | } catch (error) { | 87 | } catch (error) { |
src/components/machine/editMachineType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('machineTypeTree.edit')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('machineTypeTree.edit')" :visible.sync="dialogVisible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('machineTypeTree.machineTypeName')" prop="machineTypeName"> | 4 | <el-form-item :label="$t('machineTypeTree.machineTypeName')" prop="machineTypeName"> |
| @@ -135,7 +135,7 @@ export default { | @@ -135,7 +135,7 @@ export default { | ||
| 135 | if (valid) { | 135 | if (valid) { |
| 136 | try { | 136 | try { |
| 137 | await updateMachineType(this.form) | 137 | await updateMachineType(this.form) |
| 138 | - this.$message.success(this.$t('common.editSuccess')) | 138 | + this.$message.success(this.$t('common.operationSuccess')) |
| 139 | this.dialogVisible = false | 139 | this.dialogVisible = false |
| 140 | this.$emit('success') | 140 | this.$emit('success') |
| 141 | } catch (error) { | 141 | } catch (error) { |
src/components/machine/editPrinterRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('printerRule.editTitle')" | 3 | :title="$t('printerRule.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -75,7 +75,7 @@ export default { | @@ -75,7 +75,7 @@ export default { | ||
| 75 | if (valid) { | 75 | if (valid) { |
| 76 | try { | 76 | try { |
| 77 | await updatePrinterRule(this.form) | 77 | await updatePrinterRule(this.form) |
| 78 | - this.$message.success(this.$t('common.editSuccess')) | 78 | + this.$message.success(this.$t('common.operationSuccess')) |
| 79 | this.visible = false | 79 | this.visible = false |
| 80 | this.$emit('success') | 80 | this.$emit('success') |
| 81 | } catch (error) { | 81 | } catch (error) { |
src/components/machine/editPrinterRuleMachine.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('printerRuleMachine.editTitle')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('printerRuleMachine.editTitle')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('printerRuleMachine.machine')" prop="machineId"> | 4 | <el-form-item :label="$t('printerRuleMachine.machine')" prop="machineId"> |
| @@ -82,7 +82,7 @@ export default { | @@ -82,7 +82,7 @@ export default { | ||
| 82 | if (valid) { | 82 | if (valid) { |
| 83 | try { | 83 | try { |
| 84 | await updatePrinterRuleMachine(this.form) | 84 | await updatePrinterRuleMachine(this.form) |
| 85 | - this.$message.success(this.$t('common.editSuccess')) | 85 | + this.$message.success(this.$t('common.operationSuccess')) |
| 86 | this.visible = false | 86 | this.visible = false |
| 87 | this.$emit('success') | 87 | this.$emit('success') |
| 88 | } catch (error) { | 88 | } catch (error) { |
src/components/machine/importEquipment.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('equipmentAccount.importEquipment')" | 3 | :title="$t('equipmentAccount.importEquipment')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | formData.append('typeId', this.formData.typeId) | 95 | formData.append('typeId', this.formData.typeId) |
| 96 | 96 | ||
| 97 | await importEquipmentData(formData) | 97 | await importEquipmentData(formData) |
| 98 | - this.$message.success(this.$t('common.importSuccess')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.dialogVisible = false | 99 | this.dialogVisible = false |
| 100 | this.$emit('success') | 100 | this.$emit('success') |
| 101 | } catch (error) { | 101 | } catch (error) { |
src/components/machine/moveEquipment.vue
| @@ -81,7 +81,7 @@ export default { | @@ -81,7 +81,7 @@ export default { | ||
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | await moveEquipment(this.formData) | 83 | await moveEquipment(this.formData) |
| 84 | - this.$message.success(this.$t('common.operateSuccess')) | 84 | + this.$message.success(this.$t('common.operationSuccess')) |
| 85 | this.dialogVisible = false | 85 | this.dialogVisible = false |
| 86 | this.$emit('success') | 86 | this.$emit('success') |
| 87 | } catch (error) { | 87 | } catch (error) { |
src/components/mall/AddConvenienceMenus.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('convenienceMenus.addTitle')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('convenienceMenus.addTitle')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('convenienceMenus.menuName')" prop="name"> | 4 | <el-form-item :label="$t('convenienceMenus.menuName')" prop="name"> |
| @@ -77,7 +77,7 @@ export default { | @@ -77,7 +77,7 @@ export default { | ||
| 77 | if (valid) { | 77 | if (valid) { |
| 78 | try { | 78 | try { |
| 79 | await addConvenienceMenus(this.form) | 79 | await addConvenienceMenus(this.form) |
| 80 | - this.$message.success(this.$t('common.addSuccess')) | 80 | + this.$message.success(this.$t('common.operationSuccess')) |
| 81 | this.visible = false | 81 | this.visible = false |
| 82 | this.$emit('success') | 82 | this.$emit('success') |
| 83 | } catch (error) { | 83 | } catch (error) { |
src/components/mall/AddStoreInfo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('storeInfoManage.common.add')" | 3 | :title="$t('storeInfoManage.common.add')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -197,7 +197,7 @@ export default { | @@ -197,7 +197,7 @@ export default { | ||
| 197 | } | 197 | } |
| 198 | 198 | ||
| 199 | await saveStoreInfo(formData) | 199 | await saveStoreInfo(formData) |
| 200 | - this.$message.success(this.$t('storeInfoManage.common.saveSuccess')) | 200 | + this.$message.success(this.$t('common.operationSuccess')) |
| 201 | this.$emit('success') | 201 | this.$emit('success') |
| 202 | this.handleClose() | 202 | this.handleClose() |
| 203 | } catch (error) { | 203 | } catch (error) { |
src/components/mall/DeleteConvenienceMenus.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.deleteConfirm')" :visible.sync="visible" width="30%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.deleteConfirm')" :visible.sync="visible" width="30%" @close="handleClose"> |
| 3 | <p>{{ $t('convenienceMenus.deleteConfirm') }}</p> | 3 | <p>{{ $t('convenienceMenus.deleteConfirm') }}</p> |
| 4 | <span slot="footer" class="dialog-footer"> | 4 | <span slot="footer" class="dialog-footer"> |
| @@ -30,7 +30,7 @@ export default { | @@ -30,7 +30,7 @@ export default { | ||
| 30 | async handleConfirm() { | 30 | async handleConfirm() { |
| 31 | try { | 31 | try { |
| 32 | await deleteConvenienceMenus({ convenienceMenusId: this.convenienceMenusId }) | 32 | await deleteConvenienceMenus({ convenienceMenusId: this.convenienceMenusId }) |
| 33 | - this.$message.success(this.$t('common.deleteSuccess')) | 33 | + this.$message.success(this.$t('common.operationSuccess')) |
| 34 | this.visible = false | 34 | this.visible = false |
| 35 | this.$emit('success') | 35 | this.$emit('success') |
| 36 | } catch (error) { | 36 | } catch (error) { |
src/components/mall/DeleteJunkRequirement.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('junkRequirement.delete.title')" | 3 | :title="$t('junkRequirement.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | junkRequirementId: this.junkRequirementId, | 41 | junkRequirementId: this.junkRequirementId, |
| 42 | communityId: this.getCommunityId() | 42 | communityId: this.getCommunityId() |
| 43 | }) | 43 | }) |
| 44 | - this.$message.success(this.$t('junkRequirement.delete.success')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | this.$emit('success') | 45 | this.$emit('success') |
| 46 | this.close() | 46 | this.close() |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/mall/DeleteProduct.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteProduct.title')" | 3 | :title="$t('deleteProduct.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -37,7 +37,7 @@ export default { | @@ -37,7 +37,7 @@ export default { | ||
| 37 | async confirmDelete() { | 37 | async confirmDelete() { |
| 38 | try { | 38 | try { |
| 39 | await deleteProduct({ productId: this.productId }) | 39 | await deleteProduct({ productId: this.productId }) |
| 40 | - this.$message.success(this.$t('deleteProduct.success')) | 40 | + this.$message.success(this.$t('common.operationSuccess')) |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | this.handleClose() | 42 | this.handleClose() |
| 43 | } catch (error) { | 43 | } catch (error) { |
src/components/mall/DeleteStoreInfo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('storeInfoManage.common.confirm')" | 3 | :title="$t('storeInfoManage.common.confirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | async handleConfirm() { | 41 | async handleConfirm() { |
| 42 | try { | 42 | try { |
| 43 | await deleteStoreInfo({ storeInfoId: this.storeInfo.storeInfoId }) | 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 | this.visible = false | 45 | this.visible = false |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/mall/EditJunkRequirement.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('junkRequirement.edit.title')" | 3 | :title="$t('junkRequirement.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -122,7 +122,7 @@ export default { | @@ -122,7 +122,7 @@ export default { | ||
| 122 | ...this.editJunkRequirementInfo, | 122 | ...this.editJunkRequirementInfo, |
| 123 | communityId: this.getCommunityId() | 123 | communityId: this.getCommunityId() |
| 124 | }) | 124 | }) |
| 125 | - this.$message.success(this.$t('junkRequirement.edit.success')) | 125 | + this.$message.success(this.$t('common.operationSuccess')) |
| 126 | this.$emit('success') | 126 | this.$emit('success') |
| 127 | this.close() | 127 | this.close() |
| 128 | } catch (error) { | 128 | } catch (error) { |
src/components/mall/EditStoreInfo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('storeInfoManage.common.edit')" | 3 | :title="$t('storeInfoManage.common.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -212,7 +212,7 @@ export default { | @@ -212,7 +212,7 @@ export default { | ||
| 212 | } | 212 | } |
| 213 | 213 | ||
| 214 | await updateStoreInfo(formData) | 214 | await updateStoreInfo(formData) |
| 215 | - this.$message.success(this.$t('storeInfoManage.common.updateSuccess')) | 215 | + this.$message.success(this.$t('common.operationSuccess')) |
| 216 | this.$emit('success') | 216 | this.$emit('success') |
| 217 | this.handleClose() | 217 | this.handleClose() |
| 218 | } catch (error) { | 218 | } catch (error) { |
src/components/mall/ShopWithdraw.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('shopWithdraw.title')" :visible.sync="visible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('shopWithdraw.title')" :visible.sync="visible" width="500px" @close="handleClose"> |
| 3 | <el-form label-width="100px"> | 3 | <el-form label-width="100px"> |
| 4 | <el-form-item :label="$t('shopWithdraw.remark')"> | 4 | <el-form-item :label="$t('shopWithdraw.remark')"> |
| @@ -53,7 +53,7 @@ export default { | @@ -53,7 +53,7 @@ export default { | ||
| 53 | 53 | ||
| 54 | try { | 54 | try { |
| 55 | await auditShop(this.form) | 55 | await auditShop(this.form) |
| 56 | - this.$message.success(this.$t('shopWithdraw.success')) | 56 | + this.$message.success(this.$t('common.operationSuccess')) |
| 57 | this.visible = false | 57 | this.visible = false |
| 58 | this.$emit('success') | 58 | this.$emit('success') |
| 59 | } catch (error) { | 59 | } catch (error) { |
src/components/market/AddMarketBlacklist.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketBlacklist.add.title')" | 3 | :title="$t('marketBlacklist.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -65,7 +65,7 @@ export default { | @@ -65,7 +65,7 @@ export default { | ||
| 65 | if (valid) { | 65 | if (valid) { |
| 66 | try { | 66 | try { |
| 67 | await saveMarketBlacklist(this.formData) | 67 | await saveMarketBlacklist(this.formData) |
| 68 | - this.$message.success(this.$t('marketBlacklist.add.success')) | 68 | + this.$message.success(this.$t('common.operationSuccess')) |
| 69 | this.visible = false | 69 | this.visible = false |
| 70 | this.$emit('success') | 70 | this.$emit('success') |
| 71 | } catch (error) { | 71 | } catch (error) { |
src/components/market/AddMarketGoods.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketGoods.add')" | 3 | :title="$t('marketGoods.add')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -76,7 +76,7 @@ export default { | @@ -76,7 +76,7 @@ export default { | ||
| 76 | if (valid) { | 76 | if (valid) { |
| 77 | try { | 77 | try { |
| 78 | await saveMarketGoods(this.form) | 78 | await saveMarketGoods(this.form) |
| 79 | - this.$message.success(this.$t('common.saveSuccess')) | 79 | + this.$message.success(this.$t('common.operationSuccess')) |
| 80 | this.$emit('success') | 80 | this.$emit('success') |
| 81 | this.visible = false | 81 | this.visible = false |
| 82 | } catch (error) { | 82 | } catch (error) { |
src/components/market/AddMarketGoodsItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('marketGoodsItem.table.prodName')" prop="prodName"> | 4 | <el-form-item :label="$t('marketGoodsItem.table.prodName')" prop="prodName"> |
| @@ -109,7 +109,7 @@ export default { | @@ -109,7 +109,7 @@ export default { | ||
| 109 | if (valid) { | 109 | if (valid) { |
| 110 | try { | 110 | try { |
| 111 | await saveMarketGoodsItem(this.form) | 111 | await saveMarketGoodsItem(this.form) |
| 112 | - this.$message.success(this.$t('marketGoodsItem.saveSuccess')) | 112 | + this.$message.success(this.$t('common.operationSuccess')) |
| 113 | this.visible = false | 113 | this.visible = false |
| 114 | this.$emit('success') | 114 | this.$emit('success') |
| 115 | } catch (error) { | 115 | } catch (error) { |
src/components/market/AddMarketPic.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketPic.add')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('marketPic.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('marketPic.name')" prop="name"> | 4 | <el-form-item :label="$t('marketPic.name')" prop="name"> |
| @@ -74,7 +74,7 @@ export default { | @@ -74,7 +74,7 @@ export default { | ||
| 74 | if (valid) { | 74 | if (valid) { |
| 75 | try { | 75 | try { |
| 76 | await saveMarketPic(this.form) | 76 | await saveMarketPic(this.form) |
| 77 | - this.$message.success(this.$t('common.saveSuccess')) | 77 | + this.$message.success(this.$t('common.operationSuccess')) |
| 78 | this.$emit('success') | 78 | this.$emit('success') |
| 79 | this.visible = false | 79 | this.visible = false |
| 80 | } catch (error) { | 80 | } catch (error) { |
src/components/market/AddMarketRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketRule.add')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('marketRule.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('marketRule.name')" prop="name"> | 4 | <el-form-item :label="$t('marketRule.name')" prop="name"> |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | if (valid) { | 51 | if (valid) { |
| 52 | try { | 52 | try { |
| 53 | await saveMarketRule(this.form) | 53 | await saveMarketRule(this.form) |
| 54 | - this.$message.success(this.$t('marketRule.addSuccess')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | this.visible = false | 55 | this.visible = false |
| 56 | this.$emit('success') | 56 | this.$emit('success') |
| 57 | } catch (error) { | 57 | } catch (error) { |
src/components/market/AddMarketRuleCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketRule.associateCommunity')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('marketRule.associateCommunity')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> |
| 4 | <el-form-item :label="$t('marketRule.communityName')" prop="communityId"> | 4 | <el-form-item :label="$t('marketRule.communityName')" prop="communityId"> |
| @@ -78,7 +78,7 @@ export default { | @@ -78,7 +78,7 @@ export default { | ||
| 78 | if (valid) { | 78 | if (valid) { |
| 79 | try { | 79 | try { |
| 80 | await saveMarketRuleCommunity(this.form) | 80 | await saveMarketRuleCommunity(this.form) |
| 81 | - this.$message.success(this.$t('marketRule.addSuccess')) | 81 | + this.$message.success(this.$t('common.operationSuccess')) |
| 82 | this.visible = false | 82 | this.visible = false |
| 83 | this.$emit('success') | 83 | this.$emit('success') |
| 84 | } catch (error) { | 84 | } catch (error) { |
src/components/market/AddMarketRuleObj.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketRule.associateObject')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('marketRule.associateObject')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> |
| 4 | <el-form-item :label="$t('marketRule.objectName')" prop="objType"> | 4 | <el-form-item :label="$t('marketRule.objectName')" prop="objType"> |
| @@ -70,7 +70,7 @@ export default { | @@ -70,7 +70,7 @@ export default { | ||
| 70 | if (valid) { | 70 | if (valid) { |
| 71 | try { | 71 | try { |
| 72 | await saveMarketRuleObj(this.form) | 72 | await saveMarketRuleObj(this.form) |
| 73 | - this.$message.success(this.$t('marketRule.addSuccess')) | 73 | + this.$message.success(this.$t('common.operationSuccess')) |
| 74 | this.visible = false | 74 | this.visible = false |
| 75 | this.$emit('success') | 75 | this.$emit('success') |
| 76 | } catch (error) { | 76 | } catch (error) { |
src/components/market/AddMarketRuleWay.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketRule.associateMarketingMethod')" | 3 | :title="$t('marketRule.associateMarketingMethod')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -186,7 +186,7 @@ export default { | @@ -186,7 +186,7 @@ export default { | ||
| 186 | if (valid) { | 186 | if (valid) { |
| 187 | try { | 187 | try { |
| 188 | await saveMarketRuleWay(this.form) | 188 | await saveMarketRuleWay(this.form) |
| 189 | - this.$message.success(this.$t('marketRule.addSuccess')) | 189 | + this.$message.success(this.$t('common.operationSuccess')) |
| 190 | this.visible = false | 190 | this.visible = false |
| 191 | this.$emit('success') | 191 | this.$emit('success') |
| 192 | } catch (error) { | 192 | } catch (error) { |
src/components/market/AddMarketSms.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketSms.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('marketSms.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('marketSms.form.smsName')" prop="smsName"> | 4 | <el-form-item :label="$t('marketSms.form.smsName')" prop="smsName"> |
| @@ -101,7 +101,7 @@ export default { | @@ -101,7 +101,7 @@ export default { | ||
| 101 | smsTypeValues: this.smsTypeValues | 101 | smsTypeValues: this.smsTypeValues |
| 102 | } | 102 | } |
| 103 | await saveMarketSms(formData) | 103 | await saveMarketSms(formData) |
| 104 | - this.$message.success(this.$t('marketSms.add.success')) | 104 | + this.$message.success(this.$t('common.operationSuccess')) |
| 105 | this.visible = false | 105 | this.visible = false |
| 106 | this.$emit('success') | 106 | this.$emit('success') |
| 107 | } catch (error) { | 107 | } catch (error) { |
src/components/market/AddMarketText.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketText.add')" | 3 | :title="$t('marketText.add')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -133,7 +133,7 @@ export default { | @@ -133,7 +133,7 @@ export default { | ||
| 133 | if (valid) { | 133 | if (valid) { |
| 134 | try { | 134 | try { |
| 135 | await saveMarketText(this.form) | 135 | await saveMarketText(this.form) |
| 136 | - this.$message.success(this.$t('common.saveSuccess')) | 136 | + this.$message.success(this.$t('common.operationSuccess')) |
| 137 | this.$emit('success') | 137 | this.$emit('success') |
| 138 | this.visible = false | 138 | this.visible = false |
| 139 | } catch (error) { | 139 | } catch (error) { |
src/components/market/DeleteMarketBlacklist.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketBlacklist.delete.title')" | 3 | :title="$t('marketBlacklist.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -31,7 +31,7 @@ export default { | @@ -31,7 +31,7 @@ export default { | ||
| 31 | async handleConfirm() { | 31 | async handleConfirm() { |
| 32 | try { | 32 | try { |
| 33 | await deleteMarketBlacklist(this.formData) | 33 | await deleteMarketBlacklist(this.formData) |
| 34 | - this.$message.success(this.$t('marketBlacklist.delete.success')) | 34 | + this.$message.success(this.$t('common.operationSuccess')) |
| 35 | this.visible = false | 35 | this.visible = false |
| 36 | this.$emit('success') | 36 | this.$emit('success') |
| 37 | } catch (error) { | 37 | } catch (error) { |
src/components/market/DeleteMarketGoods.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.deleteConfirm')" | 3 | :title="$t('common.deleteConfirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -35,7 +35,7 @@ export default { | @@ -35,7 +35,7 @@ export default { | ||
| 35 | async handleConfirm() { | 35 | async handleConfirm() { |
| 36 | try { | 36 | try { |
| 37 | await deleteMarketGoods(this.goodsId) | 37 | await deleteMarketGoods(this.goodsId) |
| 38 | - this.$message.success(this.$t('common.deleteSuccess')) | 38 | + this.$message.success(this.$t('common.operationSuccess')) |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | } catch (error) { | 41 | } catch (error) { |
src/components/market/DeleteMarketGoodsItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirm')" | 3 | :title="$t('common.confirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -39,7 +39,7 @@ export default { | @@ -39,7 +39,7 @@ export default { | ||
| 39 | async handleConfirm() { | 39 | async handleConfirm() { |
| 40 | try { | 40 | try { |
| 41 | await deleteMarketGoodsItem(this.form) | 41 | await deleteMarketGoodsItem(this.form) |
| 42 | - this.$message.success(this.$t('marketGoodsItem.deleteSuccess')) | 42 | + this.$message.success(this.$t('common.operationSuccess')) |
| 43 | this.visible = false | 43 | this.visible = false |
| 44 | this.$emit('success') | 44 | this.$emit('success') |
| 45 | } catch (error) { | 45 | } catch (error) { |
src/components/market/DeleteMarketPic.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.deleteConfirm')" | 3 | :title="$t('common.deleteConfirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -35,7 +35,7 @@ export default { | @@ -35,7 +35,7 @@ export default { | ||
| 35 | async handleConfirm() { | 35 | async handleConfirm() { |
| 36 | try { | 36 | try { |
| 37 | await deleteMarketPic(this.picId) | 37 | await deleteMarketPic(this.picId) |
| 38 | - this.$message.success(this.$t('common.deleteSuccess')) | 38 | + this.$message.success(this.$t('common.operationSuccess')) |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | } catch (error) { | 41 | } catch (error) { |
src/components/market/DeleteMarketRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketRule.confirmDelete')" | 3 | :title="$t('marketRule.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -31,7 +31,7 @@ export default { | @@ -31,7 +31,7 @@ export default { | ||
| 31 | async handleConfirm() { | 31 | async handleConfirm() { |
| 32 | try { | 32 | try { |
| 33 | await deleteMarketRule({ ruleId: this.ruleId }) | 33 | await deleteMarketRule({ ruleId: this.ruleId }) |
| 34 | - this.$message.success(this.$t('marketRule.deleteSuccess')) | 34 | + this.$message.success(this.$t('common.operationSuccess')) |
| 35 | this.visible = false | 35 | this.visible = false |
| 36 | this.$emit('success') | 36 | this.$emit('success') |
| 37 | } catch (error) { | 37 | } catch (error) { |
src/components/market/DeleteMarketRuleCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketRule.confirmDelete')" :visible.sync="visible" width="30%"> | 2 | <el-dialog :title="$t('marketRule.confirmDelete')" :visible.sync="visible" width="30%"> |
| 3 | <p>{{ $t('marketRule.deleteConfirmMessage') }}</p> | 3 | <p>{{ $t('marketRule.deleteConfirmMessage') }}</p> |
| 4 | <span slot="footer" class="dialog-footer"> | 4 | <span slot="footer" class="dialog-footer"> |
| @@ -29,7 +29,7 @@ export default { | @@ -29,7 +29,7 @@ export default { | ||
| 29 | async handleConfirm() { | 29 | async handleConfirm() { |
| 30 | try { | 30 | try { |
| 31 | await deleteMarketRuleCommunity({ communityId: this.communityId , rcId: this.rcId}) | 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 | this.visible = false | 33 | this.visible = false |
| 34 | this.$emit('success') | 34 | this.$emit('success') |
| 35 | } catch (error) { | 35 | } catch (error) { |
src/components/market/DeleteMarketRuleObj.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketRule.confirmDelete')" | 3 | :title="$t('marketRule.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -31,7 +31,7 @@ export default { | @@ -31,7 +31,7 @@ export default { | ||
| 31 | async handleConfirm() { | 31 | async handleConfirm() { |
| 32 | try { | 32 | try { |
| 33 | await deleteMarketRuleObj({ objId: this.objId }) | 33 | await deleteMarketRuleObj({ objId: this.objId }) |
| 34 | - this.$message.success(this.$t('marketRule.deleteSuccess')) | 34 | + this.$message.success(this.$t('common.operationSuccess')) |
| 35 | this.visible = false | 35 | this.visible = false |
| 36 | this.$emit('success') | 36 | this.$emit('success') |
| 37 | } catch (error) { | 37 | } catch (error) { |
src/components/market/DeleteMarketRuleWay.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketRule.confirmDelete')" :visible.sync="visible" width="30%"> | 2 | <el-dialog :title="$t('marketRule.confirmDelete')" :visible.sync="visible" width="30%"> |
| 3 | <p>{{ $t('marketRule.deleteConfirmMessage') }}</p> | 3 | <p>{{ $t('marketRule.deleteConfirmMessage') }}</p> |
| 4 | <span slot="footer" class="dialog-footer"> | 4 | <span slot="footer" class="dialog-footer"> |
| @@ -27,7 +27,7 @@ export default { | @@ -27,7 +27,7 @@ export default { | ||
| 27 | async handleConfirm() { | 27 | async handleConfirm() { |
| 28 | try { | 28 | try { |
| 29 | await deleteMarketRuleWay({ wayId: this.wayId }) | 29 | await deleteMarketRuleWay({ wayId: this.wayId }) |
| 30 | - this.$message.success(this.$t('marketRule.deleteSuccess')) | 30 | + this.$message.success(this.$t('common.operationSuccess')) |
| 31 | this.visible = false | 31 | this.visible = false |
| 32 | this.$emit('success') | 32 | this.$emit('success') |
| 33 | } catch (error) { | 33 | } catch (error) { |
src/components/market/DeleteMarketSms.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketSms.delete.title')" | 3 | :title="$t('marketSms.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
| 41 | async handleConfirm() { | 41 | async handleConfirm() { |
| 42 | try { | 42 | try { |
| 43 | await deleteMarketSms({ smsId: this.smsId }) | 43 | await deleteMarketSms({ smsId: this.smsId }) |
| 44 | - this.$message.success(this.$t('marketSms.delete.success')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | this.visible = false | 45 | this.visible = false |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/market/DeleteMarketText.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.deleteConfirm')" | 3 | :title="$t('common.deleteConfirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -35,7 +35,7 @@ export default { | @@ -35,7 +35,7 @@ export default { | ||
| 35 | async handleConfirm() { | 35 | async handleConfirm() { |
| 36 | try { | 36 | try { |
| 37 | await deleteMarketText(this.textId) | 37 | await deleteMarketText(this.textId) |
| 38 | - this.$message.success(this.$t('common.deleteSuccess')) | 38 | + this.$message.success(this.$t('common.operationSuccess')) |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | } catch (error) { | 41 | } catch (error) { |
src/components/market/EditMarketBlacklist.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketBlacklist.edit.title')" | 3 | :title="$t('marketBlacklist.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -70,7 +70,7 @@ export default { | @@ -70,7 +70,7 @@ export default { | ||
| 70 | if (valid) { | 70 | if (valid) { |
| 71 | try { | 71 | try { |
| 72 | await updateMarketBlacklist(this.formData) | 72 | await updateMarketBlacklist(this.formData) |
| 73 | - this.$message.success(this.$t('marketBlacklist.edit.success')) | 73 | + this.$message.success(this.$t('common.operationSuccess')) |
| 74 | this.visible = false | 74 | this.visible = false |
| 75 | this.$emit('success') | 75 | this.$emit('success') |
| 76 | } catch (error) { | 76 | } catch (error) { |
src/components/market/EditMarketGoods.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketGoods.edit')" | 3 | :title="$t('marketGoods.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -81,7 +81,7 @@ export default { | @@ -81,7 +81,7 @@ export default { | ||
| 81 | if (valid) { | 81 | if (valid) { |
| 82 | try { | 82 | try { |
| 83 | await updateMarketGoods(this.form) | 83 | await updateMarketGoods(this.form) |
| 84 | - this.$message.success(this.$t('common.updateSuccess')) | 84 | + this.$message.success(this.$t('common.operationSuccess')) |
| 85 | this.$emit('success') | 85 | this.$emit('success') |
| 86 | this.visible = false | 86 | this.visible = false |
| 87 | } catch (error) { | 87 | } catch (error) { |
src/components/market/EditMarketGoodsItem.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.edit')" | 3 | :title="$t('common.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -135,7 +135,7 @@ export default { | @@ -135,7 +135,7 @@ export default { | ||
| 135 | if (valid) { | 135 | if (valid) { |
| 136 | try { | 136 | try { |
| 137 | await updateMarketGoodsItem(this.form) | 137 | await updateMarketGoodsItem(this.form) |
| 138 | - this.$message.success(this.$t('marketGoodsItem.updateSuccess')) | 138 | + this.$message.success(this.$t('common.operationSuccess')) |
| 139 | this.visible = false | 139 | this.visible = false |
| 140 | this.$emit('success') | 140 | this.$emit('success') |
| 141 | } catch (error) { | 141 | } catch (error) { |
src/components/market/EditMarketPic.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketPic.edit')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('marketPic.edit')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('marketPic.name')" prop="name"> | 4 | <el-form-item :label="$t('marketPic.name')" prop="name"> |
| @@ -83,7 +83,7 @@ export default { | @@ -83,7 +83,7 @@ export default { | ||
| 83 | if (valid) { | 83 | if (valid) { |
| 84 | try { | 84 | try { |
| 85 | await updateMarketPic(this.form) | 85 | await updateMarketPic(this.form) |
| 86 | - this.$message.success(this.$t('common.updateSuccess')) | 86 | + this.$message.success(this.$t('common.operationSuccess')) |
| 87 | this.$emit('success') | 87 | this.$emit('success') |
| 88 | this.visible = false | 88 | this.visible = false |
| 89 | } catch (error) { | 89 | } catch (error) { |
src/components/market/EditMarketRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketRule.edit')" | 3 | :title="$t('marketRule.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -66,7 +66,7 @@ export default { | @@ -66,7 +66,7 @@ export default { | ||
| 66 | if (valid) { | 66 | if (valid) { |
| 67 | try { | 67 | try { |
| 68 | await updateMarketRule(this.form) | 68 | await updateMarketRule(this.form) |
| 69 | - this.$message.success(this.$t('marketRule.editSuccess')) | 69 | + this.$message.success(this.$t('common.operationSuccess')) |
| 70 | this.visible = false | 70 | this.visible = false |
| 71 | this.$emit('success') | 71 | this.$emit('success') |
| 72 | } catch (error) { | 72 | } catch (error) { |
src/components/market/EditMarketSms.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('marketSms.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('marketSms.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('marketSms.form.smsName')" prop="smsName"> | 4 | <el-form-item :label="$t('marketSms.form.smsName')" prop="smsName"> |
| @@ -79,7 +79,7 @@ export default { | @@ -79,7 +79,7 @@ export default { | ||
| 79 | if (!valid) return | 79 | if (!valid) return |
| 80 | try { | 80 | try { |
| 81 | await updateMarketSms(this.form) | 81 | await updateMarketSms(this.form) |
| 82 | - this.$message.success(this.$t('marketSmsManage.message.editSuccess')) | 82 | + this.$message.success(this.$t('common.operationSuccess')) |
| 83 | this.$emit('success') | 83 | this.$emit('success') |
| 84 | this.visible = false | 84 | this.visible = false |
| 85 | } catch (error) { | 85 | } catch (error) { |
src/components/market/EditMarketText.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('marketText.edit')" | 3 | :title="$t('marketText.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -138,7 +138,7 @@ export default { | @@ -138,7 +138,7 @@ export default { | ||
| 138 | if (valid) { | 138 | if (valid) { |
| 139 | try { | 139 | try { |
| 140 | await updateMarketText(this.form) | 140 | await updateMarketText(this.form) |
| 141 | - this.$message.success(this.$t('common.updateSuccess')) | 141 | + this.$message.success(this.$t('common.operationSuccess')) |
| 142 | this.$emit('success') | 142 | this.$emit('success') |
| 143 | this.visible = false | 143 | this.visible = false |
| 144 | } catch (error) { | 144 | } catch (error) { |
src/components/oa/ReplyComplaintAppraise.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('replyComplaintAppraise.title')" | 3 | :title="$t('replyComplaintAppraise.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -64,7 +64,7 @@ export default { | @@ -64,7 +64,7 @@ export default { | ||
| 64 | 64 | ||
| 65 | this.submitting = true | 65 | this.submitting = true |
| 66 | await replyComplaintAppraise(this.form) | 66 | await replyComplaintAppraise(this.form) |
| 67 | - this.$message.success(this.$t('replyComplaintAppraise.success')) | 67 | + this.$message.success(this.$t('common.operationSuccess')) |
| 68 | this.visible = false | 68 | this.visible = false |
| 69 | this.$emit('success') | 69 | this.$emit('success') |
| 70 | } catch (error) { | 70 | } catch (error) { |
src/components/oa/addActivitiesType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('activitiesTypeManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('activitiesTypeManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('activitiesTypeManage.add.typeName')" prop="typeName"> | 4 | <el-form-item :label="$t('activitiesTypeManage.add.typeName')" prop="typeName"> |
| @@ -81,7 +81,7 @@ export default { | @@ -81,7 +81,7 @@ export default { | ||
| 81 | ...this.formData, | 81 | ...this.formData, |
| 82 | seq: Number(this.formData.seq) | 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 | this.visible = false | 85 | this.visible = false |
| 86 | this.$emit('success') | 86 | this.$emit('success') |
| 87 | } catch (error) { | 87 | } catch (error) { |
src/components/oa/addActivitiesView.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('activitiesManage.add.title')" :visible.sync="dialogVisible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('activitiesManage.add.title')" :visible.sync="dialogVisible" width="70%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> | 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
| 4 | <el-form-item :label="$t('activitiesManage.add.title')" prop="title"> | 4 | <el-form-item :label="$t('activitiesManage.add.title')" prop="title"> |
| @@ -121,7 +121,7 @@ export default { | @@ -121,7 +121,7 @@ export default { | ||
| 121 | try { | 121 | try { |
| 122 | this.form.communityId = getCommunityId() | 122 | this.form.communityId = getCommunityId() |
| 123 | await saveActivities(this.form) | 123 | await saveActivities(this.form) |
| 124 | - this.$message.success(this.$t('common.saveSuccess')) | 124 | + this.$message.success(this.$t('common.operationSuccess')) |
| 125 | this.dialogVisible = false | 125 | this.dialogVisible = false |
| 126 | this.$emit('success') | 126 | this.$emit('success') |
| 127 | } catch (error) { | 127 | } catch (error) { |
src/components/oa/addAttendanceClasses.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addAttendanceClasses.title')" :visible.sync="visible" width="60%" @close="closeDialog"> | 2 | <el-dialog :title="$t('addAttendanceClasses.title')" :visible.sync="visible" width="60%" @close="closeDialog"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px" label-position="right"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px" label-position="right"> |
| 4 | <el-row> | 4 | <el-row> |
| @@ -113,7 +113,7 @@ export default { | @@ -113,7 +113,7 @@ export default { | ||
| 113 | await this.$refs.form.validate() | 113 | await this.$refs.form.validate() |
| 114 | const response = await saveAttendanceClasses(this.formData) | 114 | const response = await saveAttendanceClasses(this.formData) |
| 115 | if (response.code === 0) { | 115 | if (response.code === 0) { |
| 116 | - this.$message.success(this.$t('addAttendanceClasses.saveSuccess')) | 116 | + this.$message.success(this.$t('common.operationSuccess')) |
| 117 | this.$emit('success') | 117 | this.$emit('success') |
| 118 | this.closeDialog() | 118 | this.closeDialog() |
| 119 | } else { | 119 | } else { |
src/components/oa/addExamineProject.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('examineProjectManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('examineProjectManage.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right" class="text-left"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right" class="text-left"> |
| 4 | <el-form-item :label="$t('examineProjectManage.form.name')" prop="name"> | 4 | <el-form-item :label="$t('examineProjectManage.form.name')" prop="name"> |
| @@ -84,7 +84,7 @@ export default { | @@ -84,7 +84,7 @@ export default { | ||
| 84 | if (valid) { | 84 | if (valid) { |
| 85 | try { | 85 | try { |
| 86 | await saveExamineProject(this.formData) | 86 | await saveExamineProject(this.formData) |
| 87 | - this.$message.success(this.$t('examineProjectManage.add.success')) | 87 | + this.$message.success(this.$t('common.operationSuccess')) |
| 88 | this.visible = false | 88 | this.visible = false |
| 89 | this.$emit('success') | 89 | this.$emit('success') |
| 90 | } catch (error) { | 90 | } catch (error) { |
src/components/oa/addNotepad.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addNotepad.title')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('addNotepad.title')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-form :model="addNotepadInfo" ref="form" :rules="rules" label-width="120px"> | 3 | <el-form :model="addNotepadInfo" ref="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('addNotepad.room')" prop="roomName"> | 4 | <el-form-item :label="$t('addNotepad.room')" prop="roomName"> |
| @@ -111,7 +111,7 @@ export default { | @@ -111,7 +111,7 @@ export default { | ||
| 111 | await saveNotepad(this.addNotepadInfo) | 111 | await saveNotepad(this.addNotepadInfo) |
| 112 | this.$emit('success') | 112 | this.$emit('success') |
| 113 | this.visible = false | 113 | this.visible = false |
| 114 | - this.$message.success(this.$t('common.saveSuccess')) | 114 | + this.$message.success(this.$t('common.operationSuccess')) |
| 115 | } catch (error) { | 115 | } catch (error) { |
| 116 | this.$message.error(error.message || this.$t('common.saveFailed')) | 116 | this.$message.error(error.message || this.$t('common.saveFailed')) |
| 117 | } | 117 | } |
src/components/oa/addNotepadDetail.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('notepadManage.addDetail.title')" | 3 | :title="$t('notepadManage.addDetail.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -99,7 +99,7 @@ export default { | @@ -99,7 +99,7 @@ export default { | ||
| 99 | if (valid) { | 99 | if (valid) { |
| 100 | try { | 100 | try { |
| 101 | await saveNotepadDetail(this.formData) | 101 | await saveNotepadDetail(this.formData) |
| 102 | - this.$message.success(this.$t('common.saveSuccess')) | 102 | + this.$message.success(this.$t('common.operationSuccess')) |
| 103 | this.visible = false | 103 | this.visible = false |
| 104 | this.$emit('success') | 104 | this.$emit('success') |
| 105 | } catch (error) { | 105 | } catch (error) { |
src/components/oa/addOaWorkflow.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('oaWorkflowManage.add.title')" | 3 | :title="$t('oaWorkflowManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -103,7 +103,7 @@ export default { | @@ -103,7 +103,7 @@ export default { | ||
| 103 | if (valid) { | 103 | if (valid) { |
| 104 | try { | 104 | try { |
| 105 | await saveOaWorkflow(this.form) | 105 | await saveOaWorkflow(this.form) |
| 106 | - this.$message.success(this.$t('oaWorkflowManage.add.success')) | 106 | + this.$message.success(this.$t('common.operationSuccess')) |
| 107 | this.visible = false | 107 | this.visible = false |
| 108 | this.$emit('success') | 108 | this.$emit('success') |
| 109 | } catch (error) { | 109 | } catch (error) { |
src/components/oa/addOwnerVoting.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-owner-voting-container"> | 2 | <div class="add-owner-voting-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header"> | 4 | <div slot="header"> |
| @@ -194,7 +194,7 @@ export default { | @@ -194,7 +194,7 @@ export default { | ||
| 194 | if (valid) { | 194 | if (valid) { |
| 195 | try { | 195 | try { |
| 196 | await addOwnerVote(this.form) | 196 | await addOwnerVote(this.form) |
| 197 | - this.$message.success(this.$t('ownerVoting.add.success')) | 197 | + this.$message.success(this.$t('common.operationSuccess')) |
| 198 | this.$router.push('/views/oa/ownerVotingList') | 198 | this.$router.push('/views/oa/ownerVotingList') |
| 199 | } catch (error) { | 199 | } catch (error) { |
| 200 | this.$message.error(error.message || this.$t('ownerVoting.add.error')) | 200 | this.$message.error(error.message || this.$t('ownerVoting.add.error')) |
src/components/oa/addQuestionTitle.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('questionTitle.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('questionTitle.add.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('questionTitle.add.name')" prop="qaTitle" :rules="[ | 4 | <el-form-item :label="$t('questionTitle.add.name')" prop="qaTitle" :rules="[ |
| @@ -122,7 +122,7 @@ export default { | @@ -122,7 +122,7 @@ export default { | ||
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | await saveQuestionTitle(this.formData) | 124 | await saveQuestionTitle(this.formData) |
| 125 | - this.$message.success(this.$t('questionTitle.add.success')) | 125 | + this.$message.success(this.$t('common.operationSuccess')) |
| 126 | this.$emit('success') | 126 | this.$emit('success') |
| 127 | this.visible = false | 127 | this.visible = false |
| 128 | } catch (error) { | 128 | } catch (error) { |
src/components/oa/addWorkType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('workType.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('workType.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('workType.form.typeName')" prop="typeName"> | 4 | <el-form-item :label="$t('workType.form.typeName')" prop="typeName"> |
| @@ -93,7 +93,7 @@ export default { | @@ -93,7 +93,7 @@ export default { | ||
| 93 | communityId: getCommunityId() | 93 | communityId: getCommunityId() |
| 94 | } | 94 | } |
| 95 | await saveWorkType(params) | 95 | await saveWorkType(params) |
| 96 | - this.$message.success(this.$t('workType.add.success')) | 96 | + this.$message.success(this.$t('common.operationSuccess')) |
| 97 | this.visible = false | 97 | this.visible = false |
| 98 | this.$emit('success') | 98 | this.$emit('success') |
| 99 | } catch (error) { | 99 | } catch (error) { |
src/components/oa/deleteActivities.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('activitiesManage.delete.title')" | 3 | :title="$t('activitiesManage.delete.title')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -40,7 +40,7 @@ export default { | @@ -40,7 +40,7 @@ export default { | ||
| 40 | communityId: getCommunityId() | 40 | communityId: getCommunityId() |
| 41 | } | 41 | } |
| 42 | await deleteActivities(params) | 42 | await deleteActivities(params) |
| 43 | - this.$message.success(this.$t('common.deleteSuccess')) | 43 | + this.$message.success(this.$t('common.operationSuccess')) |
| 44 | this.dialogVisible = false | 44 | this.dialogVisible = false |
| 45 | this.$emit('success') | 45 | this.$emit('success') |
| 46 | } catch (error) { | 46 | } catch (error) { |
src/components/oa/deleteActivitiesType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('activitiesTypeManage.delete.title')" | 3 | :title="$t('activitiesTypeManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -52,7 +52,7 @@ export default { | @@ -52,7 +52,7 @@ export default { | ||
| 52 | async handleConfirm() { | 52 | async handleConfirm() { |
| 53 | try { | 53 | try { |
| 54 | await deleteActivitiesType(this.deleteData) | 54 | await deleteActivitiesType(this.deleteData) |
| 55 | - this.$message.success(this.$t('activitiesTypeManage.delete.success')) | 55 | + this.$message.success(this.$t('common.operationSuccess')) |
| 56 | this.visible = false | 56 | this.visible = false |
| 57 | this.$emit('success') | 57 | this.$emit('success') |
| 58 | } catch (error) { | 58 | } catch (error) { |
src/components/oa/deleteAttendanceClasses.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteAttendanceClasses.title')" | 3 | :title="$t('deleteAttendanceClasses.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -45,7 +45,7 @@ export default { | @@ -45,7 +45,7 @@ export default { | ||
| 45 | try { | 45 | try { |
| 46 | const response = await deleteAttendanceClasses(this.formData) | 46 | const response = await deleteAttendanceClasses(this.formData) |
| 47 | if (response.code === 0) { | 47 | if (response.code === 0) { |
| 48 | - this.$message.success(this.$t('deleteAttendanceClasses.deleteSuccess')) | 48 | + this.$message.success(this.$t('common.operationSuccess')) |
| 49 | this.$emit('success') | 49 | this.$emit('success') |
| 50 | this.closeDialog() | 50 | this.closeDialog() |
| 51 | } else { | 51 | } else { |
src/components/oa/deleteAttendanceClassesStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('attendanceClassesStaffManage.delete.title')" | 3 | :title="$t('attendanceClassesStaffManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | communityId: getCommunityId() | 43 | communityId: getCommunityId() |
| 44 | } | 44 | } |
| 45 | await deleteAttendanceClassesStaff(params) | 45 | await deleteAttendanceClassesStaff(params) |
| 46 | - this.$message.success(this.$t('attendanceClassesStaffManage.delete.success')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | } catch (error) { | 49 | } catch (error) { |
src/components/oa/deleteComplaint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('complaint.delete.title')" | 3 | :title="$t('complaint.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | complaintId: this.complaintId, | 42 | complaintId: this.complaintId, |
| 43 | communityId: this.communityId | 43 | communityId: this.communityId |
| 44 | }) | 44 | }) |
| 45 | - this.$message.success(this.$t('complaint.delete.success')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.visible = false | 47 | this.visible = false |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/oa/deleteComplaintType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteComplaintType.confirmTitle')" | 3 | :title="$t('deleteComplaintType.confirmTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | await deleteComplaintType(params) | 41 | await deleteComplaintType(params) |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | this.visible = false | 43 | this.visible = false |
| 44 | - this.$message.success(this.$t('deleteComplaintType.success')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | } catch (error) { | 45 | } catch (error) { |
| 46 | this.$message.error(this.$t('deleteComplaintType.error')) | 46 | this.$message.error(this.$t('deleteComplaintType.error')) |
| 47 | } | 47 | } |
src/components/oa/deleteExamineProject.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('examineProjectManage.delete.title')" | 3 | :title="$t('examineProjectManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -50,7 +50,7 @@ export default { | @@ -50,7 +50,7 @@ export default { | ||
| 50 | try { | 50 | try { |
| 51 | this.loading = true | 51 | this.loading = true |
| 52 | await deleteExamineProject(this.formData) | 52 | await deleteExamineProject(this.formData) |
| 53 | - this.$message.success(this.$t('examineProjectManage.delete.success')) | 53 | + this.$message.success(this.$t('common.operationSuccess')) |
| 54 | this.visible = false | 54 | this.visible = false |
| 55 | this.$emit('success') | 55 | this.$emit('success') |
| 56 | } catch (error) { | 56 | } catch (error) { |
src/components/oa/deleteExamineStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('examineStaffManage.delete.title')" | 3 | :title="$t('examineStaffManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -48,7 +48,7 @@ export default { | @@ -48,7 +48,7 @@ export default { | ||
| 48 | await deleteExamineStaff(params) | 48 | await deleteExamineStaff(params) |
| 49 | this.$emit('success') | 49 | this.$emit('success') |
| 50 | this.visible = false | 50 | this.visible = false |
| 51 | - this.$message.success(this.$t('examineStaffManage.delete.success')) | 51 | + this.$message.success(this.$t('common.operationSuccess')) |
| 52 | } catch (error) { | 52 | } catch (error) { |
| 53 | this.$message.error(this.$t('examineStaffManage.delete.error')) | 53 | this.$message.error(this.$t('examineStaffManage.delete.error')) |
| 54 | } | 54 | } |
src/components/oa/deleteNotepad.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('notepadManage.delete.title')" | 3 | :title="$t('notepadManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleConfirm() { | 38 | async handleConfirm() { |
| 39 | try { | 39 | try { |
| 40 | await deleteNotepad(this.formData) | 40 | await deleteNotepad(this.formData) |
| 41 | - this.$message.success(this.$t('common.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.visible = false | 42 | this.visible = false |
| 43 | this.$emit('success') | 43 | this.$emit('success') |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/oa/deleteNotice.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('noticeManage.delete.title')" | 3 | :title="$t('noticeManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | communityId: this.communityId | 47 | communityId: this.communityId |
| 48 | } | 48 | } |
| 49 | await deleteNotice(params) | 49 | await deleteNotice(params) |
| 50 | - this.$message.success(this.$t('noticeManage.delete.successMessage')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | this.$emit('success') | 51 | this.$emit('success') |
| 52 | this.visible = false | 52 | this.visible = false |
| 53 | } catch (error) { | 53 | } catch (error) { |
src/components/oa/deleteOaWorkflow.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('oaWorkflowManage.delete.title')" | 3 | :title="$t('oaWorkflowManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | async handleConfirm() { | 41 | async handleConfirm() { |
| 42 | try { | 42 | try { |
| 43 | await deleteOaWorkflow({ flowId: this.flowId }) | 43 | await deleteOaWorkflow({ flowId: this.flowId }) |
| 44 | - this.$message.success(this.$t('oaWorkflowManage.delete.success')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | this.visible = false | 45 | this.visible = false |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/oa/deleteOwnerVoting.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('ownerVoting.delete.title')" | 3 | :title="$t('ownerVoting.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | qaId: this.qaId, | 46 | qaId: this.qaId, |
| 47 | communityId: this.communityId | 47 | communityId: this.communityId |
| 48 | }) | 48 | }) |
| 49 | - this.$message.success(this.$t('ownerVoting.delete.success')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | this.visible = false | 51 | this.visible = false |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/oa/deleteQuestionAnswer.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('ownerVoting.deleteQuestionAnswer.title')" | 3 | :title="$t('ownerVoting.deleteQuestionAnswer.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | qaId: this.qaId, | 46 | qaId: this.qaId, |
| 47 | communityId: this.communityId | 47 | communityId: this.communityId |
| 48 | }) | 48 | }) |
| 49 | - this.$message.success(this.$t('ownerVoting.deleteQuestionAnswer.success')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | this.visible = false | 51 | this.visible = false |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/oa/deleteQuestionTitle.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('questionTitle.delete.title')" | 3 | :title="$t('questionTitle.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -60,7 +60,7 @@ export default { | @@ -60,7 +60,7 @@ export default { | ||
| 60 | try { | 60 | try { |
| 61 | this.loading = true | 61 | this.loading = true |
| 62 | await deleteQuestionTitle(this.formData) | 62 | await deleteQuestionTitle(this.formData) |
| 63 | - this.$message.success(this.$t('questionTitle.delete.success')) | 63 | + this.$message.success(this.$t('common.operationSuccess')) |
| 64 | this.$emit('success') | 64 | this.$emit('success') |
| 65 | this.visible = false | 65 | this.visible = false |
| 66 | } catch (error) { | 66 | } catch (error) { |
src/components/oa/deleteWork.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('startWork.delete.title')" | 3 | :title="$t('startWork.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | workId: this.currentWork.workId, | 46 | workId: this.currentWork.workId, |
| 47 | communityId: this.communityId | 47 | communityId: this.communityId |
| 48 | }) | 48 | }) |
| 49 | - this.$message.success(this.$t('startWork.delete.success')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | this.handleClose() | 51 | this.handleClose() |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/oa/deleteWorkType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('workType.delete.title')" | 3 | :title="$t('workType.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | communityId: getCommunityId() | 44 | communityId: getCommunityId() |
| 45 | } | 45 | } |
| 46 | await deleteWorkType(params) | 46 | await deleteWorkType(params) |
| 47 | - this.$message.success(this.$t('workType.delete.success')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | this.$emit('success') | 49 | this.$emit('success') |
| 50 | } catch (error) { | 50 | } catch (error) { |
src/components/oa/doingComplaint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('doingComplaint.title')" | 3 | :title="$t('doingComplaint.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -66,7 +66,7 @@ export default { | @@ -66,7 +66,7 @@ export default { | ||
| 66 | await auditComplaint(this.formData) | 66 | await auditComplaint(this.formData) |
| 67 | this.$emit('success') | 67 | this.$emit('success') |
| 68 | this.visible = false | 68 | this.visible = false |
| 69 | - this.$message.success(this.$t('doingComplaint.success')) | 69 | + this.$message.success(this.$t('common.operationSuccess')) |
| 70 | } catch (error) { | 70 | } catch (error) { |
| 71 | console.error(error) | 71 | console.error(error) |
| 72 | this.$message.error(this.$t('doingComplaint.error')) | 72 | this.$message.error(this.$t('doingComplaint.error')) |
src/components/oa/editActivitiesType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('activitiesTypeManage.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('activitiesTypeManage.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('activitiesTypeManage.edit.typeCd')" prop="typeCd"> | 4 | <el-form-item :label="$t('activitiesTypeManage.edit.typeCd')" prop="typeCd"> |
| @@ -91,7 +91,7 @@ export default { | @@ -91,7 +91,7 @@ export default { | ||
| 91 | ...this.formData, | 91 | ...this.formData, |
| 92 | seq: Number(this.formData.seq) | 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 | this.visible = false | 95 | this.visible = false |
| 96 | this.$emit('success') | 96 | this.$emit('success') |
| 97 | } catch (error) { | 97 | } catch (error) { |
src/components/oa/editActivitiesView.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('activitiesManage.edit.title')" :visible.sync="dialogVisible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('activitiesManage.edit.title')" :visible.sync="dialogVisible" width="70%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> | 3 | <el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
| 4 | <el-form-item :label="$t('activitiesManage.edit.title')" prop="title"> | 4 | <el-form-item :label="$t('activitiesManage.edit.title')" prop="title"> |
| @@ -132,7 +132,7 @@ export default { | @@ -132,7 +132,7 @@ export default { | ||
| 132 | try { | 132 | try { |
| 133 | this.form.communityId = getCommunityId() | 133 | this.form.communityId = getCommunityId() |
| 134 | await updateActivities(this.form) | 134 | await updateActivities(this.form) |
| 135 | - this.$message.success(this.$t('common.saveSuccess')) | 135 | + this.$message.success(this.$t('common.operationSuccess')) |
| 136 | this.dialogVisible = false | 136 | this.dialogVisible = false |
| 137 | this.$emit('success') | 137 | this.$emit('success') |
| 138 | } catch (error) { | 138 | } catch (error) { |
src/components/oa/editAttendanceClasses.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editAttendanceClasses.title')" :visible.sync="visible" width="60%" @close="closeDialog"> | 2 | <el-dialog :title="$t('editAttendanceClasses.title')" :visible.sync="visible" width="60%" @close="closeDialog"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px" label-position="right"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px" label-position="right"> |
| 4 | <el-row> | 4 | <el-row> |
| @@ -130,7 +130,7 @@ export default { | @@ -130,7 +130,7 @@ export default { | ||
| 130 | await this.$refs.form.validate() | 130 | await this.$refs.form.validate() |
| 131 | const response = await updateAttendanceClasses(this.formData) | 131 | const response = await updateAttendanceClasses(this.formData) |
| 132 | if (response.code === 0) { | 132 | if (response.code === 0) { |
| 133 | - this.$message.success(this.$t('editAttendanceClasses.editSuccess')) | 133 | + this.$message.success(this.$t('common.operationSuccess')) |
| 134 | this.$emit('success') | 134 | this.$emit('success') |
| 135 | this.closeDialog() | 135 | this.closeDialog() |
| 136 | } else { | 136 | } else { |
src/components/oa/editComplaint.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('complaint.edit.title')" | 3 | :title="$t('complaint.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -132,7 +132,7 @@ export default { | @@ -132,7 +132,7 @@ export default { | ||
| 132 | if (valid) { | 132 | if (valid) { |
| 133 | try { | 133 | try { |
| 134 | await updateComplaint(this.form) | 134 | await updateComplaint(this.form) |
| 135 | - this.$message.success(this.$t('complaint.edit.success')) | 135 | + this.$message.success(this.$t('common.operationSuccess')) |
| 136 | this.$emit('success') | 136 | this.$emit('success') |
| 137 | this.visible = false | 137 | this.visible = false |
| 138 | } catch (error) { | 138 | } catch (error) { |
src/components/oa/editExamineProject.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('examineProjectManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('examineProjectManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right" class="text-left"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right" class="text-left"> |
| 4 | <el-form-item :label="$t('examineProjectManage.form.name')" prop="name"> | 4 | <el-form-item :label="$t('examineProjectManage.form.name')" prop="name"> |
| @@ -92,7 +92,7 @@ export default { | @@ -92,7 +92,7 @@ export default { | ||
| 92 | if (valid) { | 92 | if (valid) { |
| 93 | try { | 93 | try { |
| 94 | await updateExamineProject(this.formData) | 94 | await updateExamineProject(this.formData) |
| 95 | - this.$message.success(this.$t('examineProjectManage.edit.success')) | 95 | + this.$message.success(this.$t('common.operationSuccess')) |
| 96 | this.visible = false | 96 | this.visible = false |
| 97 | this.$emit('success') | 97 | this.$emit('success') |
| 98 | } catch (error) { | 98 | } catch (error) { |
src/components/oa/editNotepad.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('notepadManage.edit.title')" | 3 | :title="$t('notepadManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -141,7 +141,7 @@ export default { | @@ -141,7 +141,7 @@ export default { | ||
| 141 | if (valid) { | 141 | if (valid) { |
| 142 | try { | 142 | try { |
| 143 | await updateNotepad(this.formData) | 143 | await updateNotepad(this.formData) |
| 144 | - this.$message.success(this.$t('common.updateSuccess')) | 144 | + this.$message.success(this.$t('common.operationSuccess')) |
| 145 | this.visible = false | 145 | this.visible = false |
| 146 | this.$emit('success') | 146 | this.$emit('success') |
| 147 | } catch (error) { | 147 | } catch (error) { |
src/components/oa/editOaWorkflow.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('oaWorkflowManage.edit.title')" | 3 | :title="$t('oaWorkflowManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -81,7 +81,7 @@ export default { | @@ -81,7 +81,7 @@ export default { | ||
| 81 | if (valid) { | 81 | if (valid) { |
| 82 | try { | 82 | try { |
| 83 | await updateOaWorkflow(this.form) | 83 | await updateOaWorkflow(this.form) |
| 84 | - this.$message.success(this.$t('oaWorkflowManage.edit.success')) | 84 | + this.$message.success(this.$t('common.operationSuccess')) |
| 85 | this.visible = false | 85 | this.visible = false |
| 86 | this.$emit('success') | 86 | this.$emit('success') |
| 87 | } catch (error) { | 87 | } catch (error) { |
src/components/oa/editQuestionAnswer.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('questionAnswerManage.edit.title')" | 3 | :title="$t('questionAnswerManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -190,7 +190,7 @@ export default { | @@ -190,7 +190,7 @@ export default { | ||
| 190 | try { | 190 | try { |
| 191 | this.formData.communityId = getCommunityId() | 191 | this.formData.communityId = getCommunityId() |
| 192 | await updateQuestionAnswer(this.formData) | 192 | await updateQuestionAnswer(this.formData) |
| 193 | - this.$message.success(this.$t('questionAnswerManage.message.updateSuccess')) | 193 | + this.$message.success(this.$t('common.operationSuccess')) |
| 194 | this.visible = false | 194 | this.visible = false |
| 195 | this.$emit('success') | 195 | this.$emit('success') |
| 196 | } catch (error) { | 196 | } catch (error) { |
src/components/oa/editQuestionTitle.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('questionTitle.edit.title')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('questionTitle.edit.title')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('questionTitle.edit.type')" prop="titleType" :rules="[ | 4 | <el-form-item :label="$t('questionTitle.edit.type')" prop="titleType" :rules="[ |
| @@ -129,7 +129,7 @@ export default { | @@ -129,7 +129,7 @@ export default { | ||
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | await updateQuestionTitle(this.formData) | 131 | await updateQuestionTitle(this.formData) |
| 132 | - this.$message.success(this.$t('questionTitle.edit.success')) | 132 | + this.$message.success(this.$t('common.operationSuccess')) |
| 133 | this.$emit('success') | 133 | this.$emit('success') |
| 134 | this.visible = false | 134 | this.visible = false |
| 135 | } catch (error) { | 135 | } catch (error) { |
src/components/oa/editWorkType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('workType.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('workType.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('workType.form.typeName')" prop="typeName"> | 4 | <el-form-item :label="$t('workType.form.typeName')" prop="typeName"> |
| @@ -98,7 +98,7 @@ export default { | @@ -98,7 +98,7 @@ export default { | ||
| 98 | communityId: getCommunityId() | 98 | communityId: getCommunityId() |
| 99 | } | 99 | } |
| 100 | await updateWorkType(params) | 100 | await updateWorkType(params) |
| 101 | - this.$message.success(this.$t('workType.edit.success')) | 101 | + this.$message.success(this.$t('common.operationSuccess')) |
| 102 | this.visible = false | 102 | this.visible = false |
| 103 | this.$emit('success') | 103 | this.$emit('success') |
| 104 | } catch (error) { | 104 | } catch (error) { |
src/components/oa/newOaWorkflowForm.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="new-oa-workflow-form"> | 2 | <div class="new-oa-workflow-form"> |
| 3 | <el-card class="form-card"> | 3 | <el-card class="form-card"> |
| 4 | <el-form ref="form" :model="formData" label-width="120px" label-position="right" class="text-left"> | 4 | <el-form ref="form" :model="formData" label-width="120px" label-position="right" class="text-left"> |
| @@ -211,7 +211,7 @@ export default { | @@ -211,7 +211,7 @@ export default { | ||
| 211 | 211 | ||
| 212 | const res = await saveOaWorkflowFormData(_data) | 212 | const res = await saveOaWorkflowFormData(_data) |
| 213 | if (res.code === 0) { | 213 | if (res.code === 0) { |
| 214 | - this.$message.success(this.$t('common.submitSuccess')) | 214 | + this.$message.success(this.$t('common.operationSuccess')) |
| 215 | this.resetForm() | 215 | this.resetForm() |
| 216 | this.$emit('switch-tab', 'newOaWorkflowPool') | 216 | this.$emit('switch-tab', 'newOaWorkflowPool') |
| 217 | } else { | 217 | } else { |
src/components/oa/notepadDetail.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('notepadManage.detail.title')" | 3 | :title="$t('notepadManage.detail.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -92,7 +92,7 @@ export default { | @@ -92,7 +92,7 @@ export default { | ||
| 92 | detailId: row.detailId, | 92 | detailId: row.detailId, |
| 93 | communityId: this.formData.communityId | 93 | communityId: this.formData.communityId |
| 94 | }) | 94 | }) |
| 95 | - this.$message.success(this.$t('common.deleteSuccess')) | 95 | + this.$message.success(this.$t('common.operationSuccess')) |
| 96 | this.loadDetails() | 96 | this.loadDetails() |
| 97 | } catch (error) { | 97 | } catch (error) { |
| 98 | console.error('删除记事本详情失败:', error) | 98 | console.error('删除记事本详情失败:', error) |
src/components/oa/notepadOwnerRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('notepadManage.ownerRepair.title')" | 3 | :title="$t('notepadManage.ownerRepair.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -172,7 +172,7 @@ export default { | @@ -172,7 +172,7 @@ export default { | ||
| 172 | if (valid) { | 172 | if (valid) { |
| 173 | try { | 173 | try { |
| 174 | await saveOwnerRepair(this.formData) | 174 | await saveOwnerRepair(this.formData) |
| 175 | - this.$message.success(this.$t('common.submitSuccess')) | 175 | + this.$message.success(this.$t('common.operationSuccess')) |
| 176 | this.visible = false | 176 | this.visible = false |
| 177 | this.$emit('success') | 177 | this.$emit('success') |
| 178 | } catch (error) { | 178 | } catch (error) { |
src/components/oa/publishQuestionAnswer.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('ownerVoting.publish.title')" | 3 | :title="$t('ownerVoting.publish.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -101,7 +101,7 @@ export default { | @@ -101,7 +101,7 @@ export default { | ||
| 101 | if (valid) { | 101 | if (valid) { |
| 102 | try { | 102 | try { |
| 103 | await publishQuestion(this.form) | 103 | await publishQuestion(this.form) |
| 104 | - this.$message.success(this.$t('ownerVoting.publish.success')) | 104 | + this.$message.success(this.$t('common.operationSuccess')) |
| 105 | this.$emit('success') | 105 | this.$emit('success') |
| 106 | this.visible = false | 106 | this.visible = false |
| 107 | } catch (error) { | 107 | } catch (error) { |
src/components/oa/staffAttendanceReplenishCheckIn.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('staffAttendance.replenishCheckIn')" | 3 | :title="$t('staffAttendance.replenishCheckIn')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -75,7 +75,7 @@ export default { | @@ -75,7 +75,7 @@ export default { | ||
| 75 | 75 | ||
| 76 | try { | 76 | try { |
| 77 | await attendanceReplenishCheckIn(this.form) | 77 | await attendanceReplenishCheckIn(this.form) |
| 78 | - this.$message.success(this.$t('staffAttendance.replenishSuccess')) | 78 | + this.$message.success(this.$t('common.operationSuccess')) |
| 79 | this.$emit('success') | 79 | this.$emit('success') |
| 80 | this.visible = false | 80 | this.visible = false |
| 81 | } catch (error) { | 81 | } catch (error) { |
src/components/oa/uploadFile.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="upload-file-container"> | 2 | <div class="upload-file-container"> |
| 3 | <div class="progress" v-if="uploadFileInfo.progress > 0"> | 3 | <div class="progress" v-if="uploadFileInfo.progress > 0"> |
| 4 | <el-progress | 4 | <el-progress |
| @@ -94,7 +94,7 @@ export default { | @@ -94,7 +94,7 @@ export default { | ||
| 94 | }) | 94 | }) |
| 95 | 95 | ||
| 96 | this.uploadFileInfo.progress = 100 | 96 | this.uploadFileInfo.progress = 100 |
| 97 | - this.$message.success(this.$t('uploadFile.uploadSuccess')) | 97 | + this.$message.success(this.$t('common.operationSuccess')) |
| 98 | this.uploadFileInfo.fileName = res.fileName | 98 | this.uploadFileInfo.fileName = res.fileName |
| 99 | this.uploadFileInfo.realFileName = res.realFileName | 99 | this.uploadFileInfo.realFileName = res.realFileName |
| 100 | this.$emit(this.callBackListener, this.callBackFunction, res) | 100 | this.$emit(this.callBackListener, this.callBackFunction, res) |
src/components/org/AddOrg.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('org.addOrg')" | 3 | :title="$t('org.addOrg')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -71,7 +71,7 @@ | @@ -71,7 +71,7 @@ | ||
| 71 | if (valid) { | 71 | if (valid) { |
| 72 | saveOrg(this.form).then(response => { | 72 | saveOrg(this.form).then(response => { |
| 73 | console.log(response) | 73 | console.log(response) |
| 74 | - this.$message.success(this.$t('org.saveSuccess')) | 74 | + this.$message.success(this.$t('common.operationSuccess')) |
| 75 | this.visible = false | 75 | this.visible = false |
| 76 | this.$emit('refresh') | 76 | this.$emit('refresh') |
| 77 | }) | 77 | }) |
src/components/org/DeleteOrgRelStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.confirm')" :visible.sync="visible" width="30%"> | 2 | <el-dialog :title="$t('common.confirm')" :visible.sync="visible" width="30%"> |
| 3 | <span>{{ $t('org.confirmDelete') }}</span> | 3 | <span>{{ $t('org.confirmDelete') }}</span> |
| 4 | <span slot="footer" class="dialog-footer"> | 4 | <span slot="footer" class="dialog-footer"> |
| @@ -30,7 +30,7 @@ export default { | @@ -30,7 +30,7 @@ export default { | ||
| 30 | orgId: this.currentStaff.orgId | 30 | orgId: this.currentStaff.orgId |
| 31 | }).then(response => { | 31 | }).then(response => { |
| 32 | console.log(response) | 32 | console.log(response) |
| 33 | - this.$message.success(this.$t('org.deleteSuccess')) | 33 | + this.$message.success(this.$t('common.operationSuccess')) |
| 34 | this.visible = false | 34 | this.visible = false |
| 35 | this.$emit('refresh') | 35 | this.$emit('refresh') |
| 36 | },error => { | 36 | },error => { |
src/components/org/EditOrg.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('org.editOrg')" | 3 | :title="$t('org.editOrg')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -89,7 +89,7 @@ | @@ -89,7 +89,7 @@ | ||
| 89 | if (valid) { | 89 | if (valid) { |
| 90 | updateOrg(this.form).then(response => { | 90 | updateOrg(this.form).then(response => { |
| 91 | console.log(response) | 91 | console.log(response) |
| 92 | - this.$message.success(this.$t('common.submitSuccess')) | 92 | + this.$message.success(this.$t('common.operationSuccess')) |
| 93 | this.visible = false | 93 | this.visible = false |
| 94 | this.$emit('refresh') | 94 | this.$emit('refresh') |
| 95 | }) | 95 | }) |
src/components/org/OrgRelStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('org.relatedStaff')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('org.relatedStaff')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="18" :offset="12"> | 4 | <el-col :span="18" :offset="12"> |
| @@ -82,7 +82,7 @@ export default { | @@ -82,7 +82,7 @@ export default { | ||
| 82 | staffIds: this.selectedStaffs.join(',') | 82 | staffIds: this.selectedStaffs.join(',') |
| 83 | }).then(response => { | 83 | }).then(response => { |
| 84 | console.log(response) | 84 | console.log(response) |
| 85 | - this.$message.success(this.$t('org.relateSuccess')) | 85 | + this.$message.success(this.$t('common.operationSuccess')) |
| 86 | this.visible = false | 86 | this.visible = false |
| 87 | this.$emit('refresh') | 87 | this.$emit('refresh') |
| 88 | }) | 88 | }) |
src/components/org/addClasses.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('classesManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('classesManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('classesManage.add.name')" prop="name" :rules="[ | 4 | <el-form-item :label="$t('classesManage.add.name')" prop="name" :rules="[ |
| @@ -100,7 +100,7 @@ export default { | @@ -100,7 +100,7 @@ export default { | ||
| 100 | await this.$refs.form.validate() | 100 | await this.$refs.form.validate() |
| 101 | this.loading = true | 101 | this.loading = true |
| 102 | await saveClasses(this.formData) | 102 | await saveClasses(this.formData) |
| 103 | - this.$message.success(this.$t('common.saveSuccess')) | 103 | + this.$message.success(this.$t('common.operationSuccess')) |
| 104 | this.visible = false | 104 | this.visible = false |
| 105 | this.$emit('success') | 105 | this.$emit('success') |
| 106 | } catch (error) { | 106 | } catch (error) { |
src/components/org/addDataPrivilege.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('dataPrivilege.addTitle')" | 3 | :title="$t('dataPrivilege.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -76,7 +76,7 @@ export default { | @@ -76,7 +76,7 @@ export default { | ||
| 76 | if (valid) { | 76 | if (valid) { |
| 77 | try { | 77 | try { |
| 78 | await saveDataPrivilege(this.form) | 78 | await saveDataPrivilege(this.form) |
| 79 | - this.$message.success(this.$t('dataPrivilege.addSuccess')) | 79 | + this.$message.success(this.$t('common.operationSuccess')) |
| 80 | this.visible = false | 80 | this.visible = false |
| 81 | this.$emit('success') | 81 | this.$emit('success') |
| 82 | } catch (error) { | 82 | } catch (error) { |
src/components/org/addDataPrivilegeStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('dataPrivilege.staff')" :visible.sync="visible" width="70%" top="5vh" @close="handleClose"> | 2 | <el-dialog :title="$t('dataPrivilege.staff')" :visible.sync="visible" width="70%" top="5vh" @close="handleClose"> |
| 3 | <div class="search-bar"> | 3 | <div class="search-bar"> |
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -135,7 +135,7 @@ export default { | @@ -135,7 +135,7 @@ export default { | ||
| 135 | communityId: getCommunityId() | 135 | communityId: getCommunityId() |
| 136 | }) | 136 | }) |
| 137 | 137 | ||
| 138 | - this.$message.success(this.$t('dataPrivilege.associateSuccess')) | 138 | + this.$message.success(this.$t('common.operationSuccess')) |
| 139 | this.visible = false | 139 | this.visible = false |
| 140 | this.$emit('success') | 140 | this.$emit('success') |
| 141 | } catch (error) { | 141 | } catch (error) { |
src/components/org/addDataPrivilegeUnit.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('dataPrivilege.buildingUnit')" :visible.sync="visible" width="70%" top="5vh" | 2 | <el-dialog :title="$t('dataPrivilege.buildingUnit')" :visible.sync="visible" width="70%" top="5vh" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <div class="search-bar"> | 4 | <div class="search-bar"> |
| @@ -136,7 +136,7 @@ export default { | @@ -136,7 +136,7 @@ export default { | ||
| 136 | communityId: getCommunityId() | 136 | communityId: getCommunityId() |
| 137 | }) | 137 | }) |
| 138 | 138 | ||
| 139 | - this.$message.success(this.$t('dataPrivilege.associateSuccess')) | 139 | + this.$message.success(this.$t('common.operationSuccess')) |
| 140 | this.visible = false | 140 | this.visible = false |
| 141 | this.$emit('success') | 141 | this.$emit('success') |
| 142 | } catch (error) { | 142 | } catch (error) { |
src/components/org/addScheduleClassesStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('scheduleClassesStaffManage.addTitle')" :visible.sync="visible" width="70%" | 2 | <el-dialog :title="$t('scheduleClassesStaffManage.addTitle')" :visible.sync="visible" width="70%" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | staffs: this.staffs | 46 | staffs: this.staffs |
| 47 | } | 47 | } |
| 48 | await saveScheduleClassesStaff(params) | 48 | await saveScheduleClassesStaff(params) |
| 49 | - this.$message.success(this.$t('common.saveSuccess')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | this.visible = false | 51 | this.visible = false |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/org/deleteClasses.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('classesManage.delete.title')" | 3 | :title="$t('classesManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -48,7 +48,7 @@ export default { | @@ -48,7 +48,7 @@ export default { | ||
| 48 | try { | 48 | try { |
| 49 | this.loading = true | 49 | this.loading = true |
| 50 | await deleteClasses({ classesId: this.classesId }) | 50 | await deleteClasses({ classesId: this.classesId }) |
| 51 | - this.$message.success(this.$t('common.deleteSuccess')) | 51 | + this.$message.success(this.$t('common.operationSuccess')) |
| 52 | this.visible = false | 52 | this.visible = false |
| 53 | this.$emit('success') | 53 | this.$emit('success') |
| 54 | } catch (error) { | 54 | } catch (error) { |
src/components/org/deleteDataPrivilege.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('dataPrivilege.deleteTitle')" | 3 | :title="$t('dataPrivilege.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -39,7 +39,7 @@ export default { | @@ -39,7 +39,7 @@ export default { | ||
| 39 | dpId: this.dpId, | 39 | dpId: this.dpId, |
| 40 | communityId: this.communityId | 40 | communityId: this.communityId |
| 41 | }) | 41 | }) |
| 42 | - this.$message.success(this.$t('dataPrivilege.deleteSuccess')) | 42 | + this.$message.success(this.$t('common.operationSuccess')) |
| 43 | this.visible = false | 43 | this.visible = false |
| 44 | this.$emit('success') | 44 | this.$emit('success') |
| 45 | } catch (error) { | 45 | } catch (error) { |
src/components/org/deleteDataPrivilegeStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('dataPrivilege.confirmOperation')" :visible.sync="visible" width="400px" center> | 2 | <el-dialog :title="$t('dataPrivilege.confirmOperation')" :visible.sync="visible" width="400px" center> |
| 3 | <div class="delete-content"> | 3 | <div class="delete-content"> |
| 4 | <p>{{ $t('dataPrivilege.confirmCancelAuth') }}</p> | 4 | <p>{{ $t('dataPrivilege.confirmCancelAuth') }}</p> |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | this.loading = true | 44 | this.loading = true |
| 45 | try { | 45 | try { |
| 46 | await deleteDataPrivilegeStaff(this.form) | 46 | await deleteDataPrivilegeStaff(this.form) |
| 47 | - this.$message.success(this.$t('dataPrivilege.deleteSuccess')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | this.$emit('success') | 49 | this.$emit('success') |
| 50 | } catch (error) { | 50 | } catch (error) { |
src/components/org/deleteDataPrivilegeUnit.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('dataPrivilege.confirmOperation')" :visible.sync="visible" width="400px" center> | 2 | <el-dialog :title="$t('dataPrivilege.confirmOperation')" :visible.sync="visible" width="400px" center> |
| 3 | <div class="delete-content"> | 3 | <div class="delete-content"> |
| 4 | <p>{{ $t('dataPrivilege.confirmCancelUnit') }}</p> | 4 | <p>{{ $t('dataPrivilege.confirmCancelUnit') }}</p> |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | this.loading = true | 44 | this.loading = true |
| 45 | try { | 45 | try { |
| 46 | await deleteDataPrivilegeUnit(this.form) | 46 | await deleteDataPrivilegeUnit(this.form) |
| 47 | - this.$message.success(this.$t('dataPrivilege.deleteSuccess')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | this.$emit('success') | 49 | this.$emit('success') |
| 50 | } catch (error) { | 50 | } catch (error) { |
src/components/org/deleteScheduleClasses.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('scheduleClasses.delete.title')" | 3 | :title="$t('scheduleClasses.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -34,7 +34,7 @@ export default { | @@ -34,7 +34,7 @@ export default { | ||
| 34 | async handleConfirm() { | 34 | async handleConfirm() { |
| 35 | try { | 35 | try { |
| 36 | await deleteScheduleClasses(this.currentItem) | 36 | await deleteScheduleClasses(this.currentItem) |
| 37 | - this.$message.success(this.$t('scheduleClasses.delete.success')) | 37 | + this.$message.success(this.$t('common.operationSuccess')) |
| 38 | this.$emit('success') | 38 | this.$emit('success') |
| 39 | this.visible = false | 39 | this.visible = false |
| 40 | } catch (error) { | 40 | } catch (error) { |
src/components/org/deleteScheduleClassesStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirmDelete')" | 3 | :title="$t('common.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -33,7 +33,7 @@ export default { | @@ -33,7 +33,7 @@ export default { | ||
| 33 | async confirmDelete() { | 33 | async confirmDelete() { |
| 34 | try { | 34 | try { |
| 35 | await deleteScheduleClassesStaff(this.deleteData) | 35 | await deleteScheduleClassesStaff(this.deleteData) |
| 36 | - this.$message.success(this.$t('common.deleteSuccess')) | 36 | + this.$message.success(this.$t('common.operationSuccess')) |
| 37 | this.$emit('success') | 37 | this.$emit('success') |
| 38 | this.visible = false | 38 | this.visible = false |
| 39 | } catch (error) { | 39 | } catch (error) { |
src/components/org/editClasses.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('classesManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('classesManage.edit.title')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('classesManage.edit.name')" prop="name" :rules="[ | 4 | <el-form-item :label="$t('classesManage.edit.name')" prop="name" :rules="[ |
| @@ -99,7 +99,7 @@ export default { | @@ -99,7 +99,7 @@ export default { | ||
| 99 | await this.$refs.form.validate() | 99 | await this.$refs.form.validate() |
| 100 | this.loading = true | 100 | this.loading = true |
| 101 | await updateClasses(this.formData) | 101 | await updateClasses(this.formData) |
| 102 | - this.$message.success(this.$t('common.saveSuccess')) | 102 | + this.$message.success(this.$t('common.operationSuccess')) |
| 103 | this.visible = false | 103 | this.visible = false |
| 104 | this.$emit('success') | 104 | this.$emit('success') |
| 105 | } catch (error) { | 105 | } catch (error) { |
src/components/org/editDataPrivilege.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('dataPrivilege.editTitle')" | 3 | :title="$t('dataPrivilege.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -80,7 +80,7 @@ export default { | @@ -80,7 +80,7 @@ export default { | ||
| 80 | if (valid) { | 80 | if (valid) { |
| 81 | try { | 81 | try { |
| 82 | await updateDataPrivilege(this.form) | 82 | await updateDataPrivilege(this.form) |
| 83 | - this.$message.success(this.$t('dataPrivilege.editSuccess')) | 83 | + this.$message.success(this.$t('common.operationSuccess')) |
| 84 | this.visible = false | 84 | this.visible = false |
| 85 | this.$emit('success') | 85 | this.$emit('success') |
| 86 | } catch (error) { | 86 | } catch (error) { |
src/components/org/scheduleClassesState.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('scheduleClasses.state.title')" | 3 | :title="$t('scheduleClasses.state.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | async handleConfirm() { | 42 | async handleConfirm() { |
| 43 | try { | 43 | try { |
| 44 | await updateScheduleClassesState(this.formData) | 44 | await updateScheduleClassesState(this.formData) |
| 45 | - this.$message.success(this.$t('scheduleClasses.state.success')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.visible = false | 47 | this.visible = false |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/owner/AddOwnerCommittee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('addOwnerCommittee.addTitle')" | 3 | :title="$t('addOwnerCommittee.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -314,7 +314,7 @@ export default { | @@ -314,7 +314,7 @@ export default { | ||
| 314 | communityId | 314 | communityId |
| 315 | } | 315 | } |
| 316 | await saveOwnerCommittee(data) | 316 | await saveOwnerCommittee(data) |
| 317 | - this.$message.success(this.$t('common.saveSuccess')) | 317 | + this.$message.success(this.$t('common.operationSuccess')) |
| 318 | this.visible = false | 318 | this.visible = false |
| 319 | this.$emit('success') | 319 | this.$emit('success') |
| 320 | } catch (error) { | 320 | } catch (error) { |
src/components/owner/DeleteAppUserBindingOwner.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.delete')" | 3 | :title="$t('common.delete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | await deleteAppUserBindingOwner(params) | 48 | await deleteAppUserBindingOwner(params) |
| 49 | - this.$message.success(this.$t('deleteBinding.successMsg')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.$emit('delete-success') | 50 | this.$emit('delete-success') |
| 51 | this.closeDialog() | 51 | this.closeDialog() |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/owner/addOwner.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('listOwner.buttons.add')" :visible.sync="visible" width="800px" @close="resetForm"> | 2 | <el-dialog :title="$t('listOwner.buttons.add')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -229,7 +229,7 @@ export default { | @@ -229,7 +229,7 @@ export default { | ||
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | await saveOwner(params) | 231 | await saveOwner(params) |
| 232 | - this.$message.success(this.$t('listOwner.saveSuccess')) | 232 | + this.$message.success(this.$t('common.operationSuccess')) |
| 233 | this.visible = false | 233 | this.visible = false |
| 234 | this.$emit('success') | 234 | this.$emit('success') |
| 235 | } catch (error) { | 235 | } catch (error) { |
src/components/owner/addOwnerMember.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addOwnerMember.title')" :visible.sync="dialogVisible" width="60%" | 2 | <el-dialog :title="$t('addOwnerMember.title')" :visible.sync="dialogVisible" width="60%" |
| 3 | @close="_closeSaveOwnerModal"> | 3 | @close="_closeSaveOwnerModal"> |
| 4 | <el-form :model="addOwnerMemberInfo" :rules="rules" ref="form" label-width="120px"> | 4 | <el-form :model="addOwnerMemberInfo" :rules="rules" ref="form" label-width="120px"> |
| @@ -192,7 +192,7 @@ export default { | @@ -192,7 +192,7 @@ export default { | ||
| 192 | saveOwnerMember(params) | 192 | saveOwnerMember(params) |
| 193 | .then(res => { | 193 | .then(res => { |
| 194 | if (res.code == 0) { | 194 | if (res.code == 0) { |
| 195 | - this.$message.success(this.$t('common.saveSuccess')) | 195 | + this.$message.success(this.$t('common.operationSuccess')) |
| 196 | this.dialogVisible = false | 196 | this.dialogVisible = false |
| 197 | this.$emit('success') | 197 | this.$emit('success') |
| 198 | } else { | 198 | } else { |
src/components/owner/deleteOwner.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('listOwner.buttons.delete')" :visible.sync="visible" width="500px"> | 2 | <el-dialog :title="$t('listOwner.buttons.delete')" :visible.sync="visible" width="500px"> |
| 3 | <p>{{ $t('listOwner.confirmDelete') }}</p> | 3 | <p>{{ $t('listOwner.confirmDelete') }}</p> |
| 4 | 4 | ||
| @@ -36,7 +36,7 @@ export default { | @@ -36,7 +36,7 @@ export default { | ||
| 36 | ownerId: this.owner.ownerId, | 36 | ownerId: this.owner.ownerId, |
| 37 | memberId: this.owner.memberId | 37 | memberId: this.owner.memberId |
| 38 | }) | 38 | }) |
| 39 | - this.$message.success(this.$t('listOwner.deleteSuccess')) | 39 | + this.$message.success(this.$t('common.operationSuccess')) |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | } catch (error) { | 42 | } catch (error) { |
src/components/owner/editOwner.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('listOwner.buttons.edit')" :visible.sync="visible" width="800px" @close="resetForm"> | 2 | <el-dialog :title="$t('listOwner.buttons.edit')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -260,7 +260,7 @@ export default { | @@ -260,7 +260,7 @@ export default { | ||
| 260 | } | 260 | } |
| 261 | 261 | ||
| 262 | await editOwner(params) | 262 | await editOwner(params) |
| 263 | - this.$message.success(this.$t('common.submitSuccess')) | 263 | + this.$message.success(this.$t('common.operationSuccess')) |
| 264 | this.visible = false | 264 | this.visible = false |
| 265 | this.$emit('success') | 265 | this.$emit('success') |
| 266 | } catch (error) { | 266 | } catch (error) { |
src/components/owner/editOwnerMember.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editOwnerMember.title')" :visible.sync="dialogVisible" width="60%" | 2 | <el-dialog :title="$t('editOwnerMember.title')" :visible.sync="dialogVisible" width="60%" |
| 3 | @close="_closeEditOwnerMemberModal"> | 3 | @close="_closeEditOwnerMemberModal"> |
| 4 | <el-form :model="editOwnerMemberInfo" :rules="rules" ref="form" label-width="120px"> | 4 | <el-form :model="editOwnerMemberInfo" :rules="rules" ref="form" label-width="120px"> |
| @@ -214,7 +214,7 @@ export default { | @@ -214,7 +214,7 @@ export default { | ||
| 214 | editOwnerMember(params) | 214 | editOwnerMember(params) |
| 215 | .then(res => { | 215 | .then(res => { |
| 216 | if (res.code === 0) { | 216 | if (res.code === 0) { |
| 217 | - this.$message.success(this.$t('common.saveSuccess')) | 217 | + this.$message.success(this.$t('common.operationSuccess')) |
| 218 | this.dialogVisible = false | 218 | this.dialogVisible = false |
| 219 | this.$emit('success') | 219 | this.$emit('success') |
| 220 | } else { | 220 | } else { |
src/components/owner/ownerDetailAppUser.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="margin-top"> | 2 | <div class="margin-top"> |
| 3 | <el-table :data="ownerDetailAppUserInfo.appUsers" style="width: 100%"> | 3 | <el-table :data="ownerDetailAppUserInfo.appUsers" style="width: 100%"> |
| 4 | <el-table-column prop="communityName" :label="$t('ownerDetailAppUser.communityName')" | 4 | <el-table-column prop="communityName" :label="$t('ownerDetailAppUser.communityName')" |
| @@ -99,7 +99,7 @@ export default { | @@ -99,7 +99,7 @@ export default { | ||
| 99 | auditInfo.appUserId = this.ownerDetailAppUserInfo.currentAppUserId | 99 | auditInfo.appUserId = this.ownerDetailAppUserInfo.currentAppUserId |
| 100 | 100 | ||
| 101 | updateAppUserBindingOwner(auditInfo).then(() => { | 101 | updateAppUserBindingOwner(auditInfo).then(() => { |
| 102 | - this.$message.success(this.$t('common.processSuccess')) | 102 | + this.$message.success(this.$t('common.operationSuccess')) |
| 103 | this._loadOwnerDetailAppUserData(1, this.pagination.pageSize) | 103 | this._loadOwnerDetailAppUserData(1, this.pagination.pageSize) |
| 104 | }).catch(error => { | 104 | }).catch(error => { |
| 105 | this.$message.error(this.$t('common.processFailed') + error) | 105 | this.$message.error(this.$t('common.processFailed') + error) |
src/components/project/AddProject.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('project.dialog.addTitle')" | 3 | :title="$t('project.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -100,7 +100,7 @@ export default { | @@ -100,7 +100,7 @@ export default { | ||
| 100 | try { | 100 | try { |
| 101 | await this.$refs.form.validate() | 101 | await this.$refs.form.validate() |
| 102 | await addProject(this.form) | 102 | await addProject(this.form) |
| 103 | - this.$message.success(this.$t('project.add.success')) | 103 | + this.$message.success(this.$t('common.operationSuccess')) |
| 104 | this.handleClose() | 104 | this.handleClose() |
| 105 | this.$emit('success') | 105 | this.$emit('success') |
| 106 | } catch (error) { | 106 | } catch (error) { |
src/components/project/DelProject.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('project.dialog.delTitle')" | 3 | :title="$t('project.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteProject(this.projectId) | 56 | await deleteProject(this.projectId) |
| 57 | - this.$message.success(this.$t('project.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/project/EditProject.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('project.dialog.editTitle')" | 3 | :title="$t('project.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -108,7 +108,7 @@ export default { | @@ -108,7 +108,7 @@ export default { | ||
| 108 | try { | 108 | try { |
| 109 | await this.$refs.form.validate() | 109 | await this.$refs.form.validate() |
| 110 | await updateProject(this.form) | 110 | await updateProject(this.form) |
| 111 | - this.$message.success(this.$t('project.edit.success')) | 111 | + this.$message.success(this.$t('common.operationSuccess')) |
| 112 | this.handleClose() | 112 | this.handleClose() |
| 113 | this.$emit('success') | 113 | this.$emit('success') |
| 114 | } catch (error) { | 114 | } catch (error) { |
src/components/property/deleteParkingSpaceApply.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('deleteParkingSpaceApply.title')" :visible.sync="visible" width="30%"> | 2 | <el-dialog :title="$t('deleteParkingSpaceApply.title')" :visible.sync="visible" width="30%"> |
| 3 | <span>{{ $t('deleteParkingSpaceApply.confirmDelete') }}</span> | 3 | <span>{{ $t('deleteParkingSpaceApply.confirmDelete') }}</span> |
| 4 | <span slot="footer" class="dialog-footer"> | 4 | <span slot="footer" class="dialog-footer"> |
| @@ -27,7 +27,7 @@ export default { | @@ -27,7 +27,7 @@ export default { | ||
| 27 | handleConfirm() { | 27 | handleConfirm() { |
| 28 | deleteParkingSpaceApply({ applyId: this.applyId }).then(response => { | 28 | deleteParkingSpaceApply({ applyId: this.applyId }).then(response => { |
| 29 | console.log(response) | 29 | console.log(response) |
| 30 | - this.$message.success(this.$t('deleteParkingSpaceApply.deleteSuccess')) | 30 | + this.$message.success(this.$t('common.operationSuccess')) |
| 31 | this.visible = false | 31 | this.visible = false |
| 32 | this.$emit('refresh') | 32 | this.$emit('refresh') |
| 33 | }).catch(error => { | 33 | }).catch(error => { |
src/components/property/editMachineTranslate.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editMachineTranslate.title')" :visible.sync="visible" width="50%"> | 2 | <el-dialog :title="$t('editMachineTranslate.title')" :visible.sync="visible" width="50%"> |
| 3 | <el-form :model="form" label-width="120px"> | 3 | <el-form :model="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('editMachineTranslate.machineCode')"> | 4 | <el-form-item :label="$t('editMachineTranslate.machineCode')"> |
| @@ -52,7 +52,7 @@ export default { | @@ -52,7 +52,7 @@ export default { | ||
| 52 | handleSubmit() { | 52 | handleSubmit() { |
| 53 | resyncMachineTranslate(this.form).then(response => { | 53 | resyncMachineTranslate(this.form).then(response => { |
| 54 | console.log(response) | 54 | console.log(response) |
| 55 | - this.$message.success(this.$t('editMachineTranslate.resyncSuccess')) | 55 | + this.$message.success(this.$t('common.operationSuccess')) |
| 56 | this.visible = false | 56 | this.visible = false |
| 57 | this.$emit('refresh') | 57 | this.$emit('refresh') |
| 58 | }).catch(error => { | 58 | }).catch(error => { |
src/components/property/editParkingSpaceApply.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editParkingSpaceApply.title')" :visible.sync="visible" width="50%"> | 2 | <el-dialog :title="$t('editParkingSpaceApply.title')" :visible.sync="visible" width="50%"> |
| 3 | <el-form :model="form" label-width="120px"> | 3 | <el-form :model="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('editParkingSpaceApply.carNum')"> | 4 | <el-form-item :label="$t('editParkingSpaceApply.carNum')"> |
| @@ -85,7 +85,7 @@ export default { | @@ -85,7 +85,7 @@ export default { | ||
| 85 | handleSubmit() { | 85 | handleSubmit() { |
| 86 | updateParkingSpaceApply(this.form).then(response => { | 86 | updateParkingSpaceApply(this.form).then(response => { |
| 87 | console.log(response) | 87 | console.log(response) |
| 88 | - this.$message.success(this.$t('editParkingSpaceApply.updateSuccess')) | 88 | + this.$message.success(this.$t('common.operationSuccess')) |
| 89 | this.visible = false | 89 | this.visible = false |
| 90 | this.$emit('refresh') | 90 | this.$emit('refresh') |
| 91 | }).catch(error => { | 91 | }).catch(error => { |
src/components/report/AddComponentCondition.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> | 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('componentConditionManage.name')" prop="name"> | 4 | <el-form-item :label="$t('componentConditionManage.name')" prop="name"> |
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | if (valid) { | 95 | if (valid) { |
| 96 | try { | 96 | try { |
| 97 | await saveReportCustomComponentCondition(this.form) | 97 | await saveReportCustomComponentCondition(this.form) |
| 98 | - this.$message.success(this.$t('common.addSuccess')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.visible = false | 99 | this.visible = false |
| 100 | this.$emit('success') | 100 | this.$emit('success') |
| 101 | } catch (error) { | 101 | } catch (error) { |
src/components/report/AddReportCustom.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('addReportCustom.title')" | 3 | :title="$t('addReportCustom.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -131,7 +131,7 @@ export default { | @@ -131,7 +131,7 @@ export default { | ||
| 131 | if (valid) { | 131 | if (valid) { |
| 132 | try { | 132 | try { |
| 133 | await saveReportCustom(this.form) | 133 | await saveReportCustom(this.form) |
| 134 | - this.$message.success(this.$t('common.saveSuccess')) | 134 | + this.$message.success(this.$t('common.operationSuccess')) |
| 135 | this.$emit('success') | 135 | this.$emit('success') |
| 136 | this.visible = false | 136 | this.visible = false |
| 137 | } catch (error) { | 137 | } catch (error) { |
src/components/report/AddReportCustomComponent.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="80%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="80%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="150px" label-position="right"> |
| 4 | <el-form-item :label="$t('reportCustomComponent.table.name')" prop="name"> | 4 | <el-form-item :label="$t('reportCustomComponent.table.name')" prop="name"> |
| @@ -92,7 +92,7 @@ export default { | @@ -92,7 +92,7 @@ export default { | ||
| 92 | try { | 92 | try { |
| 93 | await this.$refs.form.validate() | 93 | await this.$refs.form.validate() |
| 94 | await addReportCustomComponent(this.form) | 94 | await addReportCustomComponent(this.form) |
| 95 | - this.$message.success(this.$t('common.addSuccess')) | 95 | + this.$message.success(this.$t('common.operationSuccess')) |
| 96 | this.$emit('success') | 96 | this.$emit('success') |
| 97 | this.$emit('update:visible', false) | 97 | this.$emit('update:visible', false) |
| 98 | } catch (error) { | 98 | } catch (error) { |
src/components/report/AddReportCustomComponentFooter.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('reportCustomComponentFooterManage.name')" prop="name" required> | 4 | <el-form-item :label="$t('reportCustomComponentFooterManage.name')" prop="name" required> |
| @@ -68,7 +68,7 @@ export default { | @@ -68,7 +68,7 @@ export default { | ||
| 68 | try { | 68 | try { |
| 69 | await this.$refs.form.validate() | 69 | await this.$refs.form.validate() |
| 70 | await saveReportCustomComponentFooter(this.formData) | 70 | await saveReportCustomComponentFooter(this.formData) |
| 71 | - this.$message.success(this.$t('common.addSuccess')) | 71 | + this.$message.success(this.$t('common.operationSuccess')) |
| 72 | this.handleClose() | 72 | this.handleClose() |
| 73 | this.$emit('success') | 73 | this.$emit('success') |
| 74 | } catch (error) { | 74 | } catch (error) { |
src/components/report/AddReportCustomComponentRel.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-row> | 2 | <el-row> |
| 3 | <el-col :span="24"> | 3 | <el-col :span="24"> |
| 4 | <el-card> | 4 | <el-card> |
| @@ -70,7 +70,7 @@ export default { | @@ -70,7 +70,7 @@ export default { | ||
| 70 | if (valid) { | 70 | if (valid) { |
| 71 | try { | 71 | try { |
| 72 | await saveReportCustomComponentRel(this.form) | 72 | await saveReportCustomComponentRel(this.form) |
| 73 | - this.$message.success(this.$t('addReportCustomComponentRel.saveSuccess')) | 73 | + this.$message.success(this.$t('common.operationSuccess')) |
| 74 | this.$emit('success') | 74 | this.$emit('success') |
| 75 | } catch (error) { | 75 | } catch (error) { |
| 76 | this.$message.error(error.message || this.$t('addReportCustomComponentRel.saveError')) | 76 | this.$message.error(error.message || this.$t('addReportCustomComponentRel.saveError')) |
src/components/report/AddReportCustomGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | <el-form-item :label="$t('reportCustomGroupManage.table.name')" prop="name"> | 4 | <el-form-item :label="$t('reportCustomGroupManage.table.name')" prop="name"> |
| @@ -91,7 +91,7 @@ export default { | @@ -91,7 +91,7 @@ export default { | ||
| 91 | if (valid) { | 91 | if (valid) { |
| 92 | try { | 92 | try { |
| 93 | await saveReportCustomGroup(this.form) | 93 | await saveReportCustomGroup(this.form) |
| 94 | - this.$message.success(this.$t('reportCustomGroupManage.add.success')) | 94 | + this.$message.success(this.$t('common.operationSuccess')) |
| 95 | this.$emit('success') | 95 | this.$emit('success') |
| 96 | this.handleClose() | 96 | this.handleClose() |
| 97 | } catch (error) { | 97 | } catch (error) { |
src/components/report/DeleteComponentCondition.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirmOperation')" | 3 | :title="$t('common.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -33,7 +33,7 @@ export default { | @@ -33,7 +33,7 @@ export default { | ||
| 33 | async handleConfirm() { | 33 | async handleConfirm() { |
| 34 | try { | 34 | try { |
| 35 | await deleteReportCustomComponentCondition({ conditionId: this.conditionId }) | 35 | await deleteReportCustomComponentCondition({ conditionId: this.conditionId }) |
| 36 | - this.$message.success(this.$t('common.deleteSuccess')) | 36 | + this.$message.success(this.$t('common.operationSuccess')) |
| 37 | this.visible = false | 37 | this.visible = false |
| 38 | this.$emit('success') | 38 | this.$emit('success') |
| 39 | } catch (error) { | 39 | } catch (error) { |
src/components/report/DeleteReportCustom.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteReportCustom.title')" | 3 | :title="$t('deleteReportCustom.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | async handleConfirm() { | 42 | async handleConfirm() { |
| 43 | try { | 43 | try { |
| 44 | await deleteReportCustom(this.customId) | 44 | await deleteReportCustom(this.customId) |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.visible = false | 47 | this.visible = false |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/report/DeleteReportCustomComponent.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirm')" | 3 | :title="$t('common.confirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | async handleConfirm() { | 41 | async handleConfirm() { |
| 42 | try { | 42 | try { |
| 43 | await deleteReportCustomComponent({ componentId: this.componentId }) | 43 | await deleteReportCustomComponent({ componentId: this.componentId }) |
| 44 | - this.$message.success(this.$t('common.deleteSuccess')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | this.$emit('success') | 45 | this.$emit('success') |
| 46 | this.$emit('update:visible', false) | 46 | this.$emit('update:visible', false) |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/report/DeleteReportCustomComponentFooter.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.delete')" | 3 | :title="$t('common.delete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -34,7 +34,7 @@ export default { | @@ -34,7 +34,7 @@ export default { | ||
| 34 | async handleConfirm() { | 34 | async handleConfirm() { |
| 35 | try { | 35 | try { |
| 36 | await deleteReportCustomComponentFooter({ footerId: this.footerId }) | 36 | await deleteReportCustomComponentFooter({ footerId: this.footerId }) |
| 37 | - this.$message.success(this.$t('common.deleteSuccess')) | 37 | + this.$message.success(this.$t('common.operationSuccess')) |
| 38 | this.handleClose() | 38 | this.handleClose() |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | } catch (error) { | 40 | } catch (error) { |
src/components/report/DeleteReportCustomComponentRel.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteReportCustomComponentRel.title')" | 3 | :title="$t('deleteReportCustomComponentRel.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -35,7 +35,7 @@ export default { | @@ -35,7 +35,7 @@ export default { | ||
| 35 | customId:this.currentRow.customId, | 35 | customId:this.currentRow.customId, |
| 36 | communityId: '-1' | 36 | communityId: '-1' |
| 37 | }) | 37 | }) |
| 38 | - this.$message.success(this.$t('deleteReportCustomComponentRel.deleteSuccess')) | 38 | + this.$message.success(this.$t('common.operationSuccess')) |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | } catch (error) { | 41 | } catch (error) { |
src/components/report/DeleteReportCustomGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirm')" | 3 | :title="$t('common.confirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -41,7 +41,7 @@ export default { | @@ -41,7 +41,7 @@ export default { | ||
| 41 | async handleConfirm() { | 41 | async handleConfirm() { |
| 42 | try { | 42 | try { |
| 43 | await deleteReportCustomGroup({ groupId: this.groupId }) | 43 | await deleteReportCustomGroup({ groupId: this.groupId }) |
| 44 | - this.$message.success(this.$t('reportCustomGroupManage.delete.success')) | 44 | + this.$message.success(this.$t('common.operationSuccess')) |
| 45 | this.$emit('success') | 45 | this.$emit('success') |
| 46 | this.handleClose() | 46 | this.handleClose() |
| 47 | } catch (error) { | 47 | } catch (error) { |
src/components/report/EditComponentCondition.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> | 3 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('componentConditionManage.name')" prop="name"> | 4 | <el-form-item :label="$t('componentConditionManage.name')" prop="name"> |
| @@ -94,7 +94,7 @@ export default { | @@ -94,7 +94,7 @@ export default { | ||
| 94 | if (valid) { | 94 | if (valid) { |
| 95 | try { | 95 | try { |
| 96 | await updateReportCustomComponentCondition(this.form) | 96 | await updateReportCustomComponentCondition(this.form) |
| 97 | - this.$message.success(this.$t('common.editSuccess')) | 97 | + this.$message.success(this.$t('common.operationSuccess')) |
| 98 | this.visible = false | 98 | this.visible = false |
| 99 | this.$emit('success') | 99 | this.$emit('success') |
| 100 | } catch (error) { | 100 | } catch (error) { |
src/components/report/EditReportCustom.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('editReportCustom.title')" | 3 | :title="$t('editReportCustom.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -141,7 +141,7 @@ export default { | @@ -141,7 +141,7 @@ export default { | ||
| 141 | if (valid) { | 141 | if (valid) { |
| 142 | try { | 142 | try { |
| 143 | await updateReportCustom(this.form) | 143 | await updateReportCustom(this.form) |
| 144 | - this.$message.success(this.$t('common.updateSuccess')) | 144 | + this.$message.success(this.$t('common.operationSuccess')) |
| 145 | this.$emit('success') | 145 | this.$emit('success') |
| 146 | this.visible = false | 146 | this.visible = false |
| 147 | } catch (error) { | 147 | } catch (error) { |
src/components/report/EditReportCustomComponent.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.edit')" | 3 | :title="$t('common.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -160,7 +160,7 @@ export default { | @@ -160,7 +160,7 @@ export default { | ||
| 160 | try { | 160 | try { |
| 161 | await this.$refs.form.validate() | 161 | await this.$refs.form.validate() |
| 162 | await updateReportCustomComponent(this.form) | 162 | await updateReportCustomComponent(this.form) |
| 163 | - this.$message.success(this.$t('common.editSuccess')) | 163 | + this.$message.success(this.$t('common.operationSuccess')) |
| 164 | this.$emit('success') | 164 | this.$emit('success') |
| 165 | this.$emit('update:visible', false) | 165 | this.$emit('update:visible', false) |
| 166 | } catch (error) { | 166 | } catch (error) { |
src/components/report/EditReportCustomComponentFooter.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="70%" @close="handleClose"> | 2 | <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="70%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('reportCustomComponentFooterManage.name')" prop="name" required> | 4 | <el-form-item :label="$t('reportCustomComponentFooterManage.name')" prop="name" required> |
| @@ -58,7 +58,7 @@ export default { | @@ -58,7 +58,7 @@ export default { | ||
| 58 | try { | 58 | try { |
| 59 | await this.$refs.form.validate() | 59 | await this.$refs.form.validate() |
| 60 | await updateReportCustomComponentFooter(this.formData) | 60 | await updateReportCustomComponentFooter(this.formData) |
| 61 | - this.$message.success(this.$t('common.editSuccess')) | 61 | + this.$message.success(this.$t('common.operationSuccess')) |
| 62 | this.handleClose() | 62 | this.handleClose() |
| 63 | this.$emit('success') | 63 | this.$emit('success') |
| 64 | } catch (error) { | 64 | } catch (error) { |
src/components/report/EditReportCustomGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.edit')" | 3 | :title="$t('common.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -148,7 +148,7 @@ export default { | @@ -148,7 +148,7 @@ export default { | ||
| 148 | if (valid) { | 148 | if (valid) { |
| 149 | try { | 149 | try { |
| 150 | await updateReportCustomGroup(this.form) | 150 | await updateReportCustomGroup(this.form) |
| 151 | - this.$message.success(this.$t('reportCustomGroupManage.edit.success')) | 151 | + this.$message.success(this.$t('common.operationSuccess')) |
| 152 | this.$emit('success') | 152 | this.$emit('success') |
| 153 | this.handleClose() | 153 | this.handleClose() |
| 154 | } catch (error) { | 154 | } catch (error) { |
src/components/report/reportFeeDetailCar.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="report-fee-detail-car"> | 2 | <div class="report-fee-detail-car"> |
| 3 | <div class="operation-bar"> | 3 | <div class="operation-bar"> |
| 4 | <el-button | 4 | <el-button |
| @@ -137,7 +137,7 @@ export default { | @@ -137,7 +137,7 @@ export default { | ||
| 137 | pagePath: 'reportFeeDetailCar' | 137 | pagePath: 'reportFeeDetailCar' |
| 138 | } | 138 | } |
| 139 | await exportReportFeeDetailCar(params) | 139 | await exportReportFeeDetailCar(params) |
| 140 | - this.$message.success(this.$t('common.exportSuccess')) | 140 | + this.$message.success(this.$t('common.operationSuccess')) |
| 141 | } catch (error) { | 141 | } catch (error) { |
| 142 | console.error('导出失败:', error) | 142 | console.error('导出失败:', error) |
| 143 | this.$message.error(this.$t('common.exportFailed')) | 143 | this.$message.error(this.$t('common.exportFailed')) |
src/components/report/reportFeeDetailContract.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="report-fee-detail-contract"> | 2 | <div class="report-fee-detail-contract"> |
| 3 | <div class="operation-bar"> | 3 | <div class="operation-bar"> |
| 4 | <el-button | 4 | <el-button |
| @@ -137,7 +137,7 @@ export default { | @@ -137,7 +137,7 @@ export default { | ||
| 137 | pagePath: 'reportFeeDetailContract' | 137 | pagePath: 'reportFeeDetailContract' |
| 138 | } | 138 | } |
| 139 | await exportReportFeeDetailContract(params) | 139 | await exportReportFeeDetailContract(params) |
| 140 | - this.$message.success(this.$t('common.exportSuccess')) | 140 | + this.$message.success(this.$t('common.operationSuccess')) |
| 141 | } catch (error) { | 141 | } catch (error) { |
| 142 | console.error('导出失败:', error) | 142 | console.error('导出失败:', error) |
| 143 | this.$message.error(this.$t('common.exportFailed')) | 143 | this.$message.error(this.$t('common.exportFailed')) |
src/components/report/reportFeeDetailOwner.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="report-fee-detail-owner"> | 2 | <div class="report-fee-detail-owner"> |
| 3 | <div class="operation-bar"> | 3 | <div class="operation-bar"> |
| 4 | <el-button | 4 | <el-button |
| @@ -140,7 +140,7 @@ export default { | @@ -140,7 +140,7 @@ export default { | ||
| 140 | pagePath: 'reportFeeDetailOwner' | 140 | pagePath: 'reportFeeDetailOwner' |
| 141 | } | 141 | } |
| 142 | await exportReportFeeDetailOwner(params) | 142 | await exportReportFeeDetailOwner(params) |
| 143 | - this.$message.success(this.$t('common.exportSuccess')) | 143 | + this.$message.success(this.$t('common.operationSuccess')) |
| 144 | } catch (error) { | 144 | } catch (error) { |
| 145 | console.error('导出失败:', error) | 145 | console.error('导出失败:', error) |
| 146 | this.$message.error(this.$t('common.exportFailed')) | 146 | this.$message.error(this.$t('common.exportFailed')) |
src/components/report/reportFeeDetailRoom.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="report-fee-detail-room"> | 2 | <div class="report-fee-detail-room"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="4"> | 4 | <el-col :span="4"> |
| @@ -151,7 +151,7 @@ export default { | @@ -151,7 +151,7 @@ export default { | ||
| 151 | pagePath: 'reportFeeDetailRoom' | 151 | pagePath: 'reportFeeDetailRoom' |
| 152 | } | 152 | } |
| 153 | await exportReportFeeDetailRoom(params) | 153 | await exportReportFeeDetailRoom(params) |
| 154 | - this.$message.success(this.$t('common.exportSuccess')) | 154 | + this.$message.success(this.$t('common.operationSuccess')) |
| 155 | } catch (error) { | 155 | } catch (error) { |
| 156 | console.error('导出失败:', error) | 156 | console.error('导出失败:', error) |
| 157 | this.$message.error(this.$t('common.exportFailed')) | 157 | this.$message.error(this.$t('common.exportFailed')) |
src/components/resource/AddResourceAuditFlow.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('resourceAuditFlow.addTitle')" :visible.sync="dialogVisible" width="600px" @close="handleClose"> | 2 | <el-dialog :title="$t('resourceAuditFlow.addTitle')" :visible.sync="dialogVisible" width="600px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('resourceAuditFlow.flowName')" prop="flowName" :label-width="formLabelWidth"> | 4 | <el-form-item :label="$t('resourceAuditFlow.flowName')" prop="flowName" :label-width="formLabelWidth"> |
| @@ -77,7 +77,7 @@ export default { | @@ -77,7 +77,7 @@ export default { | ||
| 77 | try { | 77 | try { |
| 78 | const res = await saveResourceAuditFlow(this.form) | 78 | const res = await saveResourceAuditFlow(this.form) |
| 79 | if (res.code == 0) { | 79 | if (res.code == 0) { |
| 80 | - this.$message.success(this.$t('common.submitSuccess')) | 80 | + this.$message.success(this.$t('common.operationSuccess')) |
| 81 | this.dialogVisible = false | 81 | this.dialogVisible = false |
| 82 | this.$emit('success') | 82 | this.$emit('success') |
| 83 | } else { | 83 | } else { |
src/components/resource/AddResourceSupplier.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('addResourceSupplier.title')" | 3 | :title="$t('addResourceSupplier.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -152,7 +152,7 @@ export default { | @@ -152,7 +152,7 @@ export default { | ||
| 152 | communityId: getCommunityId() | 152 | communityId: getCommunityId() |
| 153 | } | 153 | } |
| 154 | await saveResourceSupplier(params) | 154 | await saveResourceSupplier(params) |
| 155 | - this.$message.success(this.$t('common.success')) | 155 | + this.$message.success(this.$t('common.operationSuccess')) |
| 156 | this.visible = false | 156 | this.visible = false |
| 157 | this.$emit('success') | 157 | this.$emit('success') |
| 158 | } catch (error) { | 158 | } catch (error) { |
src/components/resource/AddStorehouse.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('storehouseManage.buttons.add')" :visible.sync="visible" width="50%" @close="close"> | 2 | <el-dialog :title="$t('storehouseManage.buttons.add')" :visible.sync="visible" width="50%" @close="close"> |
| 3 | <el-form :model="form" label-width="150px" :rules="rules" ref="form"> | 3 | <el-form :model="form" label-width="150px" :rules="rules" ref="form"> |
| 4 | <el-form-item :label="$t('storehouseManage.table.shName')" prop="shName"> | 4 | <el-form-item :label="$t('storehouseManage.table.shName')" prop="shName"> |
| @@ -177,7 +177,7 @@ export default { | @@ -177,7 +177,7 @@ export default { | ||
| 177 | await saveStorehouse(this.form) | 177 | await saveStorehouse(this.form) |
| 178 | this.$emit('success') | 178 | this.$emit('success') |
| 179 | this.close() | 179 | this.close() |
| 180 | - this.$message.success(this.$t('storehouseManage.messages.addSuccess')) | 180 | + this.$message.success(this.$t('common.operationSuccess')) |
| 181 | } catch (error) { | 181 | } catch (error) { |
| 182 | if (error.message) { | 182 | if (error.message) { |
| 183 | this.$message.error(error.message) | 183 | this.$message.error(error.message) |
src/components/resource/DeleteResourceAuditFlow.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('resourceAuditFlow.confirmTitle')" | 3 | :title="$t('resourceAuditFlow.confirmTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | }) | 44 | }) |
| 45 | 45 | ||
| 46 | if (res.code === 0) { | 46 | if (res.code === 0) { |
| 47 | - this.$message.success(this.$t('common.deleteSuccess')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.dialogVisible = false | 48 | this.dialogVisible = false |
| 49 | this.$emit('success') | 49 | this.$emit('success') |
| 50 | } else { | 50 | } else { |
src/components/resource/DeleteResourceSupplier.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteResourceSupplier.title')" | 3 | :title="$t('deleteResourceSupplier.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -48,7 +48,7 @@ export default { | @@ -48,7 +48,7 @@ export default { | ||
| 48 | communityId: getCommunityId() | 48 | communityId: getCommunityId() |
| 49 | } | 49 | } |
| 50 | await deleteResourceSupplier(params) | 50 | await deleteResourceSupplier(params) |
| 51 | - this.$message.success(this.$t('common.success')) | 51 | + this.$message.success(this.$t('common.operationSuccess')) |
| 52 | this.visible = false | 52 | this.visible = false |
| 53 | this.$emit('success') | 53 | this.$emit('success') |
| 54 | } catch (error) { | 54 | } catch (error) { |
src/components/resource/DeleteStorehouse.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.delete')" | 3 | :title="$t('common.delete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -45,7 +45,7 @@ export default { | @@ -45,7 +45,7 @@ export default { | ||
| 45 | await deleteStorehouse(params) | 45 | await deleteStorehouse(params) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.close() | 47 | this.close() |
| 48 | - this.$message.success(this.$t('storehouseManage.messages.deleteSuccess')) | 48 | + this.$message.success(this.$t('common.operationSuccess')) |
| 49 | } catch (error) { | 49 | } catch (error) { |
| 50 | this.$message.error(error.message || this.$t('storehouseManage.messages.deleteError')) | 50 | this.$message.error(error.message || this.$t('storehouseManage.messages.deleteError')) |
| 51 | } | 51 | } |
src/components/resource/EditResourceAuditFlow.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('resourceAuditFlow.editTitle')" | 3 | :title="$t('resourceAuditFlow.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -121,7 +121,7 @@ export default { | @@ -121,7 +121,7 @@ export default { | ||
| 121 | try { | 121 | try { |
| 122 | const res = await updateResourceAuditFlow(this.form) | 122 | const res = await updateResourceAuditFlow(this.form) |
| 123 | if (res.code === 0) { | 123 | if (res.code === 0) { |
| 124 | - this.$message.success(this.$t('common.updateSuccess')) | 124 | + this.$message.success(this.$t('common.operationSuccess')) |
| 125 | this.dialogVisible = false | 125 | this.dialogVisible = false |
| 126 | this.$emit('success') | 126 | this.$emit('success') |
| 127 | } else { | 127 | } else { |
src/components/resource/EditResourceSupplier.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('editResourceSupplier.title')" | 3 | :title="$t('editResourceSupplier.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -154,7 +154,7 @@ export default { | @@ -154,7 +154,7 @@ export default { | ||
| 154 | communityId: getCommunityId() | 154 | communityId: getCommunityId() |
| 155 | } | 155 | } |
| 156 | await updateResourceSupplier(params) | 156 | await updateResourceSupplier(params) |
| 157 | - this.$message.success(this.$t('common.success')) | 157 | + this.$message.success(this.$t('common.operationSuccess')) |
| 158 | this.visible = false | 158 | this.visible = false |
| 159 | this.$emit('success') | 159 | this.$emit('success') |
| 160 | } catch (error) { | 160 | } catch (error) { |
src/components/resource/EditStorehouse.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('storehouseManage.buttons.edit')" | 3 | :title="$t('storehouseManage.buttons.edit')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -167,7 +167,7 @@ export default { | @@ -167,7 +167,7 @@ export default { | ||
| 167 | await updateStorehouse(this.form) | 167 | await updateStorehouse(this.form) |
| 168 | this.$emit('success') | 168 | this.$emit('success') |
| 169 | this.close() | 169 | this.close() |
| 170 | - this.$message.success(this.$t('common.submitSuccess')) | 170 | + this.$message.success(this.$t('common.operationSuccess')) |
| 171 | } catch (error) { | 171 | } catch (error) { |
| 172 | if (error.message) { | 172 | if (error.message) { |
| 173 | this.$message.error(error.message) | 173 | this.$message.error(error.message) |
src/components/resource/addResourceStore.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('resourceStoreManage.addResource')" :visible.sync="dialogVisible" width="70%" | 2 | <el-dialog :title="$t('resourceStoreManage.addResource')" :visible.sync="dialogVisible" width="70%" |
| 3 | :close-on-click-modal="false" @closed="handleClosed"> | 3 | :close-on-click-modal="false" @closed="handleClosed"> |
| 4 | <el-form ref="addForm" :model="formData" :rules="rules" label-width="180px" label-position="right"> | 4 | <el-form ref="addForm" :model="formData" :rules="rules" label-width="180px" label-position="right"> |
| @@ -370,7 +370,7 @@ export default { | @@ -370,7 +370,7 @@ export default { | ||
| 370 | if (valid) { | 370 | if (valid) { |
| 371 | try { | 371 | try { |
| 372 | await saveResourceStore(this.formData) | 372 | await saveResourceStore(this.formData) |
| 373 | - this.$message.success(this.$t('resourceStoreManage.addSuccess')) | 373 | + this.$message.success(this.$t('common.operationSuccess')) |
| 374 | this.dialogVisible = false | 374 | this.dialogVisible = false |
| 375 | this.$emit('success') | 375 | this.$emit('success') |
| 376 | } catch (error) { | 376 | } catch (error) { |
src/components/resource/addResourceStoreSpecification.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('resourceStoreSpecificationManage.addSpec')" :visible.sync="visible" width="50%" | 2 | <el-dialog :title="$t('resourceStoreSpecificationManage.addSpec')" :visible.sync="visible" width="50%" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form :model="form" :rules="rules" ref="formRef" label-width="120px"> | 4 | <el-form :model="form" :rules="rules" ref="formRef" label-width="120px"> |
| @@ -127,7 +127,7 @@ export default { | @@ -127,7 +127,7 @@ export default { | ||
| 127 | if (valid) { | 127 | if (valid) { |
| 128 | try { | 128 | try { |
| 129 | await saveResourceStoreSpecification(this.form) | 129 | await saveResourceStoreSpecification(this.form) |
| 130 | - this.$message.success(this.$t('common.saveSuccess')) | 130 | + this.$message.success(this.$t('common.operationSuccess')) |
| 131 | this.visible = false | 131 | this.visible = false |
| 132 | this.$emit('success') | 132 | this.$emit('success') |
| 133 | } catch (error) { | 133 | } catch (error) { |
src/components/resource/addResourceStoreType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="40%" :close-on-click-modal="false" | 2 | <el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="40%" :close-on-click-modal="false" |
| 3 | @closed="handleClosed"> | 3 | @closed="handleClosed"> |
| 4 | <el-form ref="addForm" :model="formData" :rules="rules" label-width="120px" label-position="right"> | 4 | <el-form ref="addForm" :model="formData" :rules="rules" label-width="120px" label-position="right"> |
| @@ -67,7 +67,7 @@ export default { | @@ -67,7 +67,7 @@ export default { | ||
| 67 | try { | 67 | try { |
| 68 | this.saving = true | 68 | this.saving = true |
| 69 | await saveResourceStoreType(this.formData) | 69 | await saveResourceStoreType(this.formData) |
| 70 | - this.$message.success(this.$t('resourceStoreManage.addTypeSuccess')) | 70 | + this.$message.success(this.$t('common.operationSuccess')) |
| 71 | this.dialogVisible = false | 71 | this.dialogVisible = false |
| 72 | this.$emit('success') | 72 | this.$emit('success') |
| 73 | } catch (error) { | 73 | } catch (error) { |
src/components/resource/allocationAuditDiv.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-card width="50%" > | 2 | <el-card width="50%" > |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('auditDiv.action')" prop="auditCode"> | 4 | <el-form-item :label="$t('auditDiv.action')" prop="auditCode"> |
| @@ -113,7 +113,7 @@ export default { | @@ -113,7 +113,7 @@ export default { | ||
| 113 | try { | 113 | try { |
| 114 | const res = await auditAllocationStoreOrder(this.formData) | 114 | const res = await auditAllocationStoreOrder(this.formData) |
| 115 | if (res.code == 0) { | 115 | if (res.code == 0) { |
| 116 | - this.$message.success(this.$t('common.submitSuccess')) | 116 | + this.$message.success(this.$t('common.operationSuccess')) |
| 117 | this.$router.go(-1) | 117 | this.$router.go(-1) |
| 118 | this.$emit('success') | 118 | this.$emit('success') |
| 119 | } else { | 119 | } else { |
src/components/resource/auditDiv.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-card width="50%" > | 2 | <el-card width="50%" > |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('auditDiv.action')" prop="auditCode"> | 4 | <el-form-item :label="$t('auditDiv.action')" prop="auditCode"> |
| @@ -113,7 +113,7 @@ export default { | @@ -113,7 +113,7 @@ export default { | ||
| 113 | try { | 113 | try { |
| 114 | const res = await auditApplyOrder(this.formData) | 114 | const res = await auditApplyOrder(this.formData) |
| 115 | if (res.code === 0) { | 115 | if (res.code === 0) { |
| 116 | - this.$message.success(this.$t('auditDiv.submitSuccess')) | 116 | + this.$message.success(this.$t('common.operationSuccess')) |
| 117 | this.$router.go(-1) | 117 | this.$router.go(-1) |
| 118 | this.$emit('success') | 118 | this.$emit('success') |
| 119 | } else { | 119 | } else { |
src/components/resource/cancelAssetInventory.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('assetInventoryManage.cancel.title')" | 3 | :title="$t('assetInventoryManage.cancel.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | communityId | 42 | communityId |
| 43 | } | 43 | } |
| 44 | await updateAssetInventory(params) | 44 | await updateAssetInventory(params) |
| 45 | - this.$message.success(this.$t('assetInventoryManage.cancel.success')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.handleClose() | 47 | this.handleClose() |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/resource/deleteAssetInventory.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('assetInventoryManage.delete.title')" | 3 | :title="$t('assetInventoryManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -40,7 +40,7 @@ export default { | @@ -40,7 +40,7 @@ export default { | ||
| 40 | communityId | 40 | communityId |
| 41 | } | 41 | } |
| 42 | await deleteAssetInventory(params) | 42 | await deleteAssetInventory(params) |
| 43 | - this.$message.success(this.$t('common.deleteSuccess')) | 43 | + this.$message.success(this.$t('common.operationSuccess')) |
| 44 | this.$emit('success') | 44 | this.$emit('success') |
| 45 | this.handleClose() | 45 | this.handleClose() |
| 46 | } catch (error) { | 46 | } catch (error) { |
src/components/resource/deleteItemOut.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteItemOut.title')" | 3 | :title="$t('deleteItemOut.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | communityId: getCommunityId() | 42 | communityId: getCommunityId() |
| 43 | } | 43 | } |
| 44 | await deletePurchaseApply(params) | 44 | await deletePurchaseApply(params) |
| 45 | - this.$message.success(this.$t('deleteItemOut.deleteSuccess')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | this.handleClose() | 47 | this.handleClose() |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/resource/deletePurchaseApply.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('purchaseApplyManage.delete.title')" | 3 | :title="$t('purchaseApplyManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | async handleConfirm() { | 47 | async handleConfirm() { |
| 48 | try { | 48 | try { |
| 49 | await deletePurchaseApply(this.form) | 49 | await deletePurchaseApply(this.form) |
| 50 | - this.$message.success(this.$t('purchaseApplyManage.delete.success')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | this.visible = false | 51 | this.visible = false |
| 52 | this.$emit('success') | 52 | this.$emit('success') |
| 53 | } catch (error) { | 53 | } catch (error) { |
src/components/resource/deleteResourceStore.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('resourceStoreManage.confirmOperation')" | 3 | :title="$t('resourceStoreManage.confirmOperation')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | communityId: getCommunityId() | 47 | communityId: getCommunityId() |
| 48 | } | 48 | } |
| 49 | await deleteResourceStore(params) | 49 | await deleteResourceStore(params) |
| 50 | - this.$message.success(this.$t('resourceStoreManage.deleteSuccess')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | this.dialogVisible = false | 51 | this.dialogVisible = false |
| 52 | this.$emit('success') | 52 | this.$emit('success') |
| 53 | } catch (error) { | 53 | } catch (error) { |
src/components/resource/deleteResourceStoreSpecification.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('resourceStoreSpecificationManage.confirmDeleteTitle')" | 3 | :title="$t('resourceStoreSpecificationManage.confirmDeleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -37,7 +37,7 @@ export default { | @@ -37,7 +37,7 @@ export default { | ||
| 37 | async confirmDelete() { | 37 | async confirmDelete() { |
| 38 | try { | 38 | try { |
| 39 | await deleteResourceStoreSpecification(this.rssId) | 39 | await deleteResourceStoreSpecification(this.rssId) |
| 40 | - this.$message.success(this.$t('common.deleteSuccess')) | 40 | + this.$message.success(this.$t('common.operationSuccess')) |
| 41 | this.visible = false | 41 | this.visible = false |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | } catch (error) { | 43 | } catch (error) { |
src/components/resource/deleteResourceStoreType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | id="deleteResourceStoreTypeModel" | 3 | id="deleteResourceStoreTypeModel" |
| 4 | :title="$t('deleteResourceStoreType.confirmTitle')" | 4 | :title="$t('deleteResourceStoreType.confirmTitle')" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | try { | 42 | try { |
| 43 | const response = await deleteResourceStoreType(this.deleteResourceStoreTypeInfo) | 43 | const response = await deleteResourceStoreType(this.deleteResourceStoreTypeInfo) |
| 44 | if (response.code === 0) { | 44 | if (response.code === 0) { |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.handleClose() | 46 | this.handleClose() |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | } else { | 48 | } else { |
src/components/resource/editPurchaseApply.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('purchaseApplyManage.edit.title')" | 3 | :title="$t('purchaseApplyManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -78,7 +78,7 @@ export default { | @@ -78,7 +78,7 @@ export default { | ||
| 78 | async submitForm() { | 78 | async submitForm() { |
| 79 | try { | 79 | try { |
| 80 | await updatePurchaseApply(this.form) | 80 | await updatePurchaseApply(this.form) |
| 81 | - this.$message.success(this.$t('common.saveSuccess')) | 81 | + this.$message.success(this.$t('common.operationSuccess')) |
| 82 | this.visible = false | 82 | this.visible = false |
| 83 | this.$emit('success') | 83 | this.$emit('success') |
| 84 | } catch (error) { | 84 | } catch (error) { |
src/components/resource/editResourceStore.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('resourceStoreManage.editResource')" :visible.sync="dialogVisible" width="70%" | 2 | <el-dialog :title="$t('resourceStoreManage.editResource')" :visible.sync="dialogVisible" width="70%" |
| 3 | :close-on-click-modal="false" @closed="handleClosed"> | 3 | :close-on-click-modal="false" @closed="handleClosed"> |
| 4 | <el-form ref="editForm" :model="formData" :rules="rules" label-width="180px" label-position="right"> | 4 | <el-form ref="editForm" :model="formData" :rules="rules" label-width="180px" label-position="right"> |
| @@ -370,7 +370,7 @@ export default { | @@ -370,7 +370,7 @@ export default { | ||
| 370 | if (valid) { | 370 | if (valid) { |
| 371 | try { | 371 | try { |
| 372 | await updateResourceStore(this.formData) | 372 | await updateResourceStore(this.formData) |
| 373 | - this.$message.success(this.$t('resourceStoreManage.updateSuccess')) | 373 | + this.$message.success(this.$t('common.operationSuccess')) |
| 374 | this.dialogVisible = false | 374 | this.dialogVisible = false |
| 375 | this.$emit('success') | 375 | this.$emit('success') |
| 376 | } catch (error) { | 376 | } catch (error) { |
src/components/resource/editResourceStoreSpecification.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('resourceStoreSpecificationManage.editItemSpec')" | 3 | :title="$t('resourceStoreSpecificationManage.editItemSpec')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -167,7 +167,7 @@ export default { | @@ -167,7 +167,7 @@ export default { | ||
| 167 | if (valid) { | 167 | if (valid) { |
| 168 | try { | 168 | try { |
| 169 | await updateResourceStoreSpecification(this.form) | 169 | await updateResourceStoreSpecification(this.form) |
| 170 | - this.$message.success(this.$t('common.updateSuccess')) | 170 | + this.$message.success(this.$t('common.operationSuccess')) |
| 171 | this.visible = false | 171 | this.visible = false |
| 172 | this.$emit('success') | 172 | this.$emit('success') |
| 173 | } catch (error) { | 173 | } catch (error) { |
src/components/resource/editResourceStoreType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('resourceStoreManage.editResourceType')" :visible.sync="dialogVisible" width="40%" | 2 | <el-dialog :title="$t('resourceStoreManage.editResourceType')" :visible.sync="dialogVisible" width="40%" |
| 3 | :close-on-click-modal="false" @closed="handleClosed"> | 3 | :close-on-click-modal="false" @closed="handleClosed"> |
| 4 | <el-form ref="editForm" :model="formData" :rules="rules" label-width="120px" label-position="right"> | 4 | <el-form ref="editForm" :model="formData" :rules="rules" label-width="120px" label-position="right"> |
| @@ -64,7 +64,7 @@ export default { | @@ -64,7 +64,7 @@ export default { | ||
| 64 | try { | 64 | try { |
| 65 | this.saving = true | 65 | this.saving = true |
| 66 | await updateResourceStoreType(this.formData) | 66 | await updateResourceStoreType(this.formData) |
| 67 | - this.$message.success(this.$t('resourceStoreManage.updateTypeSuccess')) | 67 | + this.$message.success(this.$t('common.operationSuccess')) |
| 68 | this.dialogVisible = false | 68 | this.dialogVisible = false |
| 69 | this.$emit('success') | 69 | this.$emit('success') |
| 70 | } catch (error) { | 70 | } catch (error) { |
src/components/resource/importResourceStore.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('resourceStoreManage.importResource')" :visible.sync="dialogVisible" width="40%" | 2 | <el-dialog :title="$t('resourceStoreManage.importResource')" :visible.sync="dialogVisible" width="40%" |
| 3 | :close-on-click-modal="false" @closed="handleClosed"> | 3 | :close-on-click-modal="false" @closed="handleClosed"> |
| 4 | <el-form ref="importForm" :model="formData" :rules="rules" label-width="120px" label-position="right" class="text-left"> | 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,7 +124,7 @@ export default { | ||
| 124 | this.$message.error(error) | 124 | this.$message.error(error) |
| 125 | }) | 125 | }) |
| 126 | if (res && res.code === 0) { | 126 | if (res && res.code === 0) { |
| 127 | - this.$message.success(this.$t('resourceStoreManage.importSuccess')) | 127 | + this.$message.success(this.$t('common.operationSuccess')) |
| 128 | this.dialogVisible = false | 128 | this.dialogVisible = false |
| 129 | this.$emit('success') | 129 | this.$emit('success') |
| 130 | } | 130 | } |
src/components/role/AddPrivilegeGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="isEdit ? $t('role.editRole') : $t('role.addRole')" :visible.sync="visible" width="40%" | 2 | <el-dialog :title="isEdit ? $t('role.editRole') : $t('role.addRole')" :visible.sync="visible" width="40%" |
| 3 | @close="resetForm"> | 3 | @close="resetForm"> |
| 4 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 4 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| @@ -74,7 +74,7 @@ export default { | @@ -74,7 +74,7 @@ export default { | ||
| 74 | await savePrivilegeGroup(this.form) | 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 | this.visible = false | 78 | this.visible = false |
| 79 | this.$emit('success') | 79 | this.$emit('success') |
| 80 | } catch (error) { | 80 | } catch (error) { |
src/components/role/AddRoleCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('role.community')" :visible.sync="visible" width="70%" @close="resetForm"> | 2 | <el-dialog :title="$t('role.community')" :visible.sync="visible" width="70%" @close="resetForm"> |
| 3 | <div class="text-right"> | 3 | <div class="text-right"> |
| 4 | <el-input v-model="searchForm.communityName" :placeholder="$t('role.communityName')" | 4 | <el-input v-model="searchForm.communityName" :placeholder="$t('role.communityName')" |
| @@ -91,7 +91,7 @@ export default { | @@ -91,7 +91,7 @@ export default { | ||
| 91 | communities | 91 | communities |
| 92 | }) | 92 | }) |
| 93 | 93 | ||
| 94 | - this.$message.success(this.$t('role.saveSuccess')) | 94 | + this.$message.success(this.$t('common.operationSuccess')) |
| 95 | this.$emit('success') | 95 | this.$emit('success') |
| 96 | this.visible = false | 96 | this.visible = false |
| 97 | } catch (error) { | 97 | } catch (error) { |
src/components/role/AddRoleStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('role.staff')" :visible.sync="visible" width="70%" @close="resetForm"> | 2 | <el-dialog :title="$t('role.staff')" :visible.sync="visible" width="70%" @close="resetForm"> |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -94,7 +94,7 @@ export default { | @@ -94,7 +94,7 @@ export default { | ||
| 94 | staffs | 94 | staffs |
| 95 | }) | 95 | }) |
| 96 | 96 | ||
| 97 | - this.$message.success(this.$t('role.saveSuccess')) | 97 | + this.$message.success(this.$t('common.operationSuccess')) |
| 98 | this.$emit('success') | 98 | this.$emit('success') |
| 99 | this.visible = false | 99 | this.visible = false |
| 100 | } catch (error) { | 100 | } catch (error) { |
src/components/role/DeletePrivilegeGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('role.confirmDelete')" | 3 | :title="$t('role.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
| 31 | async confirmDelete() { | 31 | async confirmDelete() { |
| 32 | try { | 32 | try { |
| 33 | await deletePrivilegeGroup({ pgId: this.pgId }) | 33 | await deletePrivilegeGroup({ pgId: this.pgId }) |
| 34 | - this.$message.success(this.$t('role.deleteSuccess')) | 34 | + this.$message.success(this.$t('common.operationSuccess')) |
| 35 | this.$emit('success') | 35 | this.$emit('success') |
| 36 | this.visible = false | 36 | this.visible = false |
| 37 | } catch (error) { | 37 | } catch (error) { |
src/components/role/DeleteRoleCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('role.confirmDelete')" | 3 | :title="$t('role.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -37,7 +37,7 @@ export default { | @@ -37,7 +37,7 @@ export default { | ||
| 37 | roleId: this.community.roleId, | 37 | roleId: this.community.roleId, |
| 38 | communityId: this.community.communityId | 38 | communityId: this.community.communityId |
| 39 | }) | 39 | }) |
| 40 | - this.$message.success(this.$t('role.deleteSuccess')) | 40 | + this.$message.success(this.$t('common.operationSuccess')) |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | this.visible = false | 42 | this.visible = false |
| 43 | } catch (error) { | 43 | } catch (error) { |
src/components/role/DeleteRoleStaff.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('role.confirmDelete')" | 3 | :title="$t('role.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | staffId: this.staff.userId, | 38 | staffId: this.staff.userId, |
| 39 | userId:this.staff.userId | 39 | userId:this.staff.userId |
| 40 | }) | 40 | }) |
| 41 | - this.$message.success(this.$t('role.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | this.visible = false | 43 | this.visible = false |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/role/EditPrivilegeGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('role.edit')" :visible.sync="visible" width="40%" @close="resetForm"> | 2 | <el-dialog :title="$t('role.edit')" :visible.sync="visible" width="40%" @close="resetForm"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('role.name')" prop="name"> | 4 | <el-form-item :label="$t('role.name')" prop="name"> |
| @@ -55,7 +55,7 @@ export default { | @@ -55,7 +55,7 @@ export default { | ||
| 55 | if (valid) { | 55 | if (valid) { |
| 56 | try { | 56 | try { |
| 57 | await updatePrivilegeGroup(this.form) | 57 | await updatePrivilegeGroup(this.form) |
| 58 | - this.$message.success(this.$t('role.updateSuccess')) | 58 | + this.$message.success(this.$t('common.operationSuccess')) |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | this.visible = false | 60 | this.visible = false |
| 61 | } catch (error) { | 61 | } catch (error) { |
src/components/room/addFloor.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('room.addFloor.title')" | 3 | :title="$t('room.addFloor.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -120,7 +120,7 @@ export default { | @@ -120,7 +120,7 @@ export default { | ||
| 120 | const response = await addFloor(this.form) | 120 | const response = await addFloor(this.form) |
| 121 | 121 | ||
| 122 | if (response.code == 0) { | 122 | if (response.code == 0) { |
| 123 | - this.$message.success(this.$t('room.addFloor.saveSuccess')) | 123 | + this.$message.success(this.$t('common.operationSuccess')) |
| 124 | this.handleClose() | 124 | this.handleClose() |
| 125 | this.$emit('handleRefreshTree', {}) | 125 | this.$emit('handleRefreshTree', {}) |
| 126 | } else { | 126 | } else { |
src/components/room/addPropertyRightRegistration.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('propertyRightRegistration.add.title')" :visible.sync="visible" width="70%" | 2 | <el-dialog :title="$t('propertyRightRegistration.add.title')" :visible.sync="visible" width="70%" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="formData" label-width="120px"> | 4 | <el-form ref="form" :model="formData" label-width="120px"> |
| @@ -282,7 +282,7 @@ export default { | @@ -282,7 +282,7 @@ export default { | ||
| 282 | } | 282 | } |
| 283 | 283 | ||
| 284 | await savePropertyRightRegistration(params) | 284 | await savePropertyRightRegistration(params) |
| 285 | - this.$message.success(this.$t('propertyRightRegistration.add.success')) | 285 | + this.$message.success(this.$t('common.operationSuccess')) |
| 286 | this.visible = false | 286 | this.visible = false |
| 287 | this.$emit('success') | 287 | this.$emit('success') |
| 288 | } catch (error) { | 288 | } catch (error) { |
src/components/room/addShops.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('shops.addShop')" :visible.sync="dialogVisible" width="40%"> | 2 | <el-dialog :title="$t('shops.addShop')" :visible.sync="dialogVisible" width="40%"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('shops.shopNumber')" prop="roomNum"> | 4 | <el-form-item :label="$t('shops.shopNumber')" prop="roomNum"> |
| @@ -123,7 +123,7 @@ export default { | @@ -123,7 +123,7 @@ export default { | ||
| 123 | saveShops(this.formData) | 123 | saveShops(this.formData) |
| 124 | .then(res => { | 124 | .then(res => { |
| 125 | if (res.code == 0) { | 125 | if (res.code == 0) { |
| 126 | - this.$message.success(this.$t('common.saveSuccess')) | 126 | + this.$message.success(this.$t('common.operationSuccess')) |
| 127 | this.dialogVisible = false | 127 | this.dialogVisible = false |
| 128 | this.$emit('success') | 128 | this.$emit('success') |
| 129 | } else { | 129 | } else { |
src/components/room/addUnit.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addUnit.title')" :visible.sync="visible" width="50%" :before-close="handleClose"> | 2 | <el-dialog :title="$t('addUnit.title')" :visible.sync="visible" width="50%" :before-close="handleClose"> |
| 3 | <el-form ref="form" :model="addUnitInfo" label-width="120px"> | 3 | <el-form ref="form" :model="addUnitInfo" label-width="120px"> |
| 4 | <el-form-item :label="$t('addUnit.unitNum')" prop="unitNum" required> | 4 | <el-form-item :label="$t('addUnit.unitNum')" prop="unitNum" required> |
| @@ -99,7 +99,7 @@ export default { | @@ -99,7 +99,7 @@ export default { | ||
| 99 | 99 | ||
| 100 | try { | 100 | try { |
| 101 | await saveUnit(this.addUnitInfo) | 101 | await saveUnit(this.addUnitInfo) |
| 102 | - this.$message.success(this.$t('addUnit.successMessage')) | 102 | + this.$message.success(this.$t('common.operationSuccess')) |
| 103 | this.$emit('handleRefreshTree', {}) | 103 | this.$emit('handleRefreshTree', {}) |
| 104 | 104 | ||
| 105 | this.handleClose() | 105 | this.handleClose() |
src/components/room/bindOwnerShops.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="formTitle" :visible.sync="dialogVisible" width="50%"> | 2 | <el-dialog :title="formTitle" :visible.sync="dialogVisible" width="50%"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('shops.shopNumber')"> | 4 | <el-form-item :label="$t('shops.shopNumber')"> |
| @@ -157,7 +157,7 @@ export default { | @@ -157,7 +157,7 @@ export default { | ||
| 157 | saveOwnerShops(this.formData) | 157 | saveOwnerShops(this.formData) |
| 158 | .then(res => { | 158 | .then(res => { |
| 159 | if (res.code == 0) { | 159 | if (res.code == 0) { |
| 160 | - this.$message.success(this.$t('common.saveSuccess')) | 160 | + this.$message.success(this.$t('common.operationSuccess')) |
| 161 | this.dialogVisible = false | 161 | this.dialogVisible = false |
| 162 | this.$emit('success') | 162 | this.$emit('success') |
| 163 | } else { | 163 | } else { |
src/components/room/deleteFloor.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('room.deleteFloor.title')" :visible.sync="visible" width="30%" :before-close="handleClose"> | 2 | <el-dialog :title="$t('room.deleteFloor.title')" :visible.sync="visible" width="30%" :before-close="handleClose"> |
| 3 | <p>{{ $t('room.deleteFloor.confirmMessage') }}</p> | 3 | <p>{{ $t('room.deleteFloor.confirmMessage') }}</p> |
| 4 | <span slot="footer" class="dialog-footer"> | 4 | <span slot="footer" class="dialog-footer"> |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | const response = await deleteFloor(this.floorInfo) | 38 | const response = await deleteFloor(this.floorInfo) |
| 39 | 39 | ||
| 40 | if (response.code == 0) { | 40 | if (response.code == 0) { |
| 41 | - this.$message.success(this.$t('room.deleteFloor.deleteSuccess')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.handleClose() | 42 | this.handleClose() |
| 43 | this.$emit('handleRefreshTree', {}) | 43 | this.$emit('handleRefreshTree', {}) |
| 44 | 44 |
src/components/room/deletePropertyRightRegistration.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('propertyRightRegistration.delete.title')" | 3 | :title="$t('propertyRightRegistration.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | try { | 44 | try { |
| 45 | const res = await deletePropertyRightRegistration(this.deleteData) | 45 | const res = await deletePropertyRightRegistration(this.deleteData) |
| 46 | if (res.code === 0) { | 46 | if (res.code === 0) { |
| 47 | - this.$message.success(this.$t('propertyRightRegistration.delete.success')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | this.$emit('success') | 49 | this.$emit('success') |
| 50 | } else { | 50 | } else { |
src/components/room/deleteRoom.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('room.deleteRoom.title')" :visible.sync="dialogVisible" width="30%"> | 2 | <el-dialog :title="$t('room.deleteRoom.title')" :visible.sync="dialogVisible" width="30%"> |
| 3 | <div style="text-align: center"> | 3 | <div style="text-align: center"> |
| 4 | <p>{{ $t('room.deleteRoom.confirmMessage') }}</p> | 4 | <p>{{ $t('room.deleteRoom.confirmMessage') }}</p> |
| @@ -39,7 +39,7 @@ export default { | @@ -39,7 +39,7 @@ export default { | ||
| 39 | this.dialogVisible = false | 39 | this.dialogVisible = false |
| 40 | this.$emit('handleRefreshRoom') | 40 | this.$emit('handleRefreshRoom') |
| 41 | 41 | ||
| 42 | - this.$message.success(this.$t('common.deleteSuccess')) | 42 | + this.$message.success(this.$t('common.operationSuccess')) |
| 43 | } catch (error) { | 43 | } catch (error) { |
| 44 | console.error('删除房屋失败', error) | 44 | console.error('删除房屋失败', error) |
| 45 | this.$message.error(error.message || this.$t('common.deleteFailed')) | 45 | this.$message.error(error.message || this.$t('common.deleteFailed')) |
src/components/room/deleteUnit.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteUnit.title')" | 3 | :title="$t('deleteUnit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | 47 | ||
| 48 | try { | 48 | try { |
| 49 | await deleteUnit(param) | 49 | await deleteUnit(param) |
| 50 | - this.$message.success(this.$t('deleteUnit.successMessage')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | this.$emit('handleRefreshTree', {}) | 51 | this.$emit('handleRefreshTree', {}) |
| 52 | 52 | ||
| 53 | this.handleClose() | 53 | this.handleClose() |
src/components/room/editFloor.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('room.editFloor.title')" :visible.sync="visible" width="50%" :before-close="handleClose"> | 2 | <el-dialog :title="$t('room.editFloor.title')" :visible.sync="visible" width="50%" :before-close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('room.editFloor.floorNum')" prop="floorNum"> | 4 | <el-form-item :label="$t('room.editFloor.floorNum')" prop="floorNum"> |
| @@ -112,7 +112,7 @@ export default { | @@ -112,7 +112,7 @@ export default { | ||
| 112 | const response = await editFloor(payload) | 112 | const response = await editFloor(payload) |
| 113 | 113 | ||
| 114 | if (response.code == 0) { | 114 | if (response.code == 0) { |
| 115 | - this.$message.success(this.$t('room.editFloor.updateSuccess')) | 115 | + this.$message.success(this.$t('common.operationSuccess')) |
| 116 | this.handleClose() | 116 | this.handleClose() |
| 117 | this.$emit('handleRefreshTree', {}) | 117 | this.$emit('handleRefreshTree', {}) |
| 118 | 118 |
src/components/room/editPropertyRightRegistration.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('propertyRightRegistration.edit.title')" :visible.sync="visible" width="70%" | 2 | <el-dialog :title="$t('propertyRightRegistration.edit.title')" :visible.sync="visible" width="70%" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="formData" label-width="120px"> | 4 | <el-form ref="form" :model="formData" label-width="120px"> |
| @@ -196,7 +196,7 @@ export default { | @@ -196,7 +196,7 @@ export default { | ||
| 196 | 196 | ||
| 197 | const res = await updatePropertyRightRegistration(params) | 197 | const res = await updatePropertyRightRegistration(params) |
| 198 | if (res.code === 0) { | 198 | if (res.code === 0) { |
| 199 | - this.$message.success(this.$t('propertyRightRegistration.edit.success')) | 199 | + this.$message.success(this.$t('common.operationSuccess')) |
| 200 | this.visible = false | 200 | this.visible = false |
| 201 | this.$emit('success') | 201 | this.$emit('success') |
| 202 | } else { | 202 | } else { |
src/components/room/editPropertyRightRegistrationDetail.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('propertyRightDetail.edit.title')" :visible.sync="visible" width="70%" | 2 | <el-dialog :title="$t('propertyRightDetail.edit.title')" :visible.sync="visible" width="70%" |
| 3 | :before-close="handleClose"> | 3 | :before-close="handleClose"> |
| 4 | <el-form ref="form" :model="editPropertyRightRegistrationDetailInfo" label-width="120px"> | 4 | <el-form ref="form" :model="editPropertyRightRegistrationDetailInfo" label-width="120px"> |
| @@ -171,7 +171,7 @@ export default { | @@ -171,7 +171,7 @@ export default { | ||
| 171 | 171 | ||
| 172 | updatePropertyRightRegistrationDetail(params) | 172 | updatePropertyRightRegistrationDetail(params) |
| 173 | .then(() => { | 173 | .then(() => { |
| 174 | - this.$message.success(this.$t('common.updateSuccess')) | 174 | + this.$message.success(this.$t('common.operationSuccess')) |
| 175 | this.$emit('success') | 175 | this.$emit('success') |
| 176 | this.handleClose() | 176 | this.handleClose() |
| 177 | }) | 177 | }) |
src/components/room/editShops.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('shops.edit') + $t('shops.shopInfo')" :visible.sync="dialogVisible" width="50%"> | 2 | <el-dialog :title="$t('shops.edit') + $t('shops.shopInfo')" :visible.sync="dialogVisible" width="50%"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('shops.shopId')"> | 4 | <el-form-item :label="$t('shops.shopId')"> |
| @@ -177,7 +177,7 @@ export default { | @@ -177,7 +177,7 @@ export default { | ||
| 177 | updateShops(this.formData) | 177 | updateShops(this.formData) |
| 178 | .then(res => { | 178 | .then(res => { |
| 179 | if (res.code == 0) { | 179 | if (res.code == 0) { |
| 180 | - this.$message.success(this.$t('common.saveSuccess')) | 180 | + this.$message.success(this.$t('common.operationSuccess')) |
| 181 | this.dialogVisible = false | 181 | this.dialogVisible = false |
| 182 | this.$emit('success') | 182 | this.$emit('success') |
| 183 | } else { | 183 | } else { |
src/components/room/editUnit.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('editUnit.title')" | 3 | :title="$t('editUnit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -109,7 +109,7 @@ export default { | @@ -109,7 +109,7 @@ export default { | ||
| 109 | 109 | ||
| 110 | try { | 110 | try { |
| 111 | await updateUnit(this.editUnitInfo) | 111 | await updateUnit(this.editUnitInfo) |
| 112 | - this.$message.success(this.$t('editUnit.successMessage')) | 112 | + this.$message.success(this.$t('common.operationSuccess')) |
| 113 | this.$emit('handleRefreshTree', {}) | 113 | this.$emit('handleRefreshTree', {}) |
| 114 | 114 | ||
| 115 | this.handleClose() | 115 | this.handleClose() |
src/components/room/examinePropertyRightRegistration.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('propertyRightRegistration.examine.title')" :visible.sync="visible" width="50%" | 2 | <el-dialog :title="$t('propertyRightRegistration.examine.title')" :visible.sync="visible" width="50%" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form ref="form" :model="formData" label-width="120px"> | 4 | <el-form ref="form" :model="formData" label-width="120px"> |
| @@ -102,7 +102,7 @@ export default { | @@ -102,7 +102,7 @@ export default { | ||
| 102 | 102 | ||
| 103 | const res = await updatePropertyRightRegistration(params) | 103 | const res = await updatePropertyRightRegistration(params) |
| 104 | if (res.code === 0) { | 104 | if (res.code === 0) { |
| 105 | - this.$message.success(this.$t('propertyRightRegistration.examine.success')) | 105 | + this.$message.success(this.$t('common.operationSuccess')) |
| 106 | this.visible = false | 106 | this.visible = false |
| 107 | this.$emit('success') | 107 | this.$emit('success') |
| 108 | } else { | 108 | } else { |
src/components/scm/AddCouponRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponRule.addRule')" | 3 | :title="$t('couponRule.addRule')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -66,7 +66,7 @@ export default { | @@ -66,7 +66,7 @@ export default { | ||
| 66 | if (valid) { | 66 | if (valid) { |
| 67 | try { | 67 | try { |
| 68 | await saveCouponRule(this.form) | 68 | await saveCouponRule(this.form) |
| 69 | - this.$message.success(this.$t('common.addSuccess')) | 69 | + this.$message.success(this.$t('common.operationSuccess')) |
| 70 | this.visible = false | 70 | this.visible = false |
| 71 | this.$emit('success') | 71 | this.$emit('success') |
| 72 | } catch (error) { | 72 | } catch (error) { |
src/components/scm/AddCouponRuleCpps.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponRuleCpps.addCoupon')" | 3 | :title="$t('couponRuleCpps.addCoupon')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -129,7 +129,7 @@ export default { | @@ -129,7 +129,7 @@ export default { | ||
| 129 | if (valid) { | 129 | if (valid) { |
| 130 | try { | 130 | try { |
| 131 | await saveCouponRuleCpps(this.form) | 131 | await saveCouponRuleCpps(this.form) |
| 132 | - this.$message.success(this.$t('common.addSuccess')) | 132 | + this.$message.success(this.$t('common.operationSuccess')) |
| 133 | this.visible = false | 133 | this.visible = false |
| 134 | this.$emit('success') | 134 | this.$emit('success') |
| 135 | } catch (error) { | 135 | } catch (error) { |
src/components/scm/AddCouponRuleFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('couponRuleFee.addFee')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('couponRuleFee.addFee')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('couponRuleFee.fee')" prop="feeConfigId"> | 4 | <el-form-item :label="$t('couponRuleFee.fee')" prop="feeConfigId"> |
| @@ -105,7 +105,7 @@ export default { | @@ -105,7 +105,7 @@ export default { | ||
| 105 | if (valid) { | 105 | if (valid) { |
| 106 | try { | 106 | try { |
| 107 | await saveCouponRuleFee(this.form) | 107 | await saveCouponRuleFee(this.form) |
| 108 | - this.$message.success(this.$t('common.addSuccess')) | 108 | + this.$message.success(this.$t('common.operationSuccess')) |
| 109 | this.visible = false | 109 | this.visible = false |
| 110 | this.$emit('success') | 110 | this.$emit('success') |
| 111 | } catch (error) { | 111 | } catch (error) { |
src/components/scm/AddSupplier.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('supplierManage.add')" :visible.sync="visible" width="800px" @close="resetForm"> | 2 | <el-dialog :title="$t('supplierManage.add')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('supplierManage.supplierType')" prop="stId"> | 4 | <el-form-item :label="$t('supplierManage.supplierType')" prop="stId"> |
| @@ -129,7 +129,7 @@ export default { | @@ -129,7 +129,7 @@ export default { | ||
| 129 | try { | 129 | try { |
| 130 | const res = await saveSupplier(this.form) | 130 | const res = await saveSupplier(this.form) |
| 131 | if (res.code === 0) { | 131 | if (res.code === 0) { |
| 132 | - this.$message.success(this.$t('common.saveSuccess')) | 132 | + this.$message.success(this.$t('common.operationSuccess')) |
| 133 | this.visible = false | 133 | this.visible = false |
| 134 | this.$emit('success') | 134 | this.$emit('success') |
| 135 | } else { | 135 | } else { |
src/components/scm/AddSupplierType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('supplierTypeManage.add.title')" | 3 | :title="$t('supplierTypeManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -65,7 +65,7 @@ export default { | @@ -65,7 +65,7 @@ export default { | ||
| 65 | if (valid) { | 65 | if (valid) { |
| 66 | try { | 66 | try { |
| 67 | await saveSupplierType(this.form) | 67 | await saveSupplierType(this.form) |
| 68 | - this.$message.success(this.$t('supplierTypeManage.message.addSuccess')) | 68 | + this.$message.success(this.$t('common.operationSuccess')) |
| 69 | this.visible = false | 69 | this.visible = false |
| 70 | this.$emit('success') | 70 | this.$emit('success') |
| 71 | } catch (error) { | 71 | } catch (error) { |
src/components/scm/ConfigSupplier.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('supplierManage.config')" | 3 | :title="$t('supplierManage.config')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -63,7 +63,7 @@ export default { | @@ -63,7 +63,7 @@ export default { | ||
| 63 | try { | 63 | try { |
| 64 | const res = await saveSupplierConfig(this.form) | 64 | const res = await saveSupplierConfig(this.form) |
| 65 | if (res.code === 0) { | 65 | if (res.code === 0) { |
| 66 | - this.$message.success(this.$t('common.saveSuccess')) | 66 | + this.$message.success(this.$t('common.operationSuccess')) |
| 67 | this.visible = false | 67 | this.visible = false |
| 68 | } else { | 68 | } else { |
| 69 | this.$message.error(res.msg || this.$t('common.saveFailed')) | 69 | this.$message.error(res.msg || this.$t('common.saveFailed')) |
src/components/scm/DeleteCouponRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponRule.deleteConfirm')" | 3 | :title="$t('couponRule.deleteConfirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | async handleConfirm() { | 43 | async handleConfirm() { |
| 44 | try { | 44 | try { |
| 45 | await deleteCouponRule(this.currentRule) | 45 | await deleteCouponRule(this.currentRule) |
| 46 | - this.$message.success(this.$t('common.deleteSuccess')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.visible = false | 47 | this.visible = false |
| 48 | this.$emit('success') | 48 | this.$emit('success') |
| 49 | } catch (error) { | 49 | } catch (error) { |
src/components/scm/DeleteCouponRuleCpps.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponRuleCpps.deleteConfirm')" | 3 | :title="$t('couponRuleCpps.deleteConfirm')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | crcId: this.currentItem.crcId, | 46 | crcId: this.currentItem.crcId, |
| 47 | communityId: this.currentItem.communityId | 47 | communityId: this.currentItem.communityId |
| 48 | }) | 48 | }) |
| 49 | - this.$message.success(this.$t('common.deleteSuccess')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.visible = false | 50 | this.visible = false |
| 51 | this.$emit('success') | 51 | this.$emit('success') |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/scm/DeleteCouponRuleFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('couponRuleFee.deleteConfirm')" :visible.sync="visible" width="30%" center @close="handleClose"> | 2 | <el-dialog :title="$t('couponRuleFee.deleteConfirm')" :visible.sync="visible" width="30%" center @close="handleClose"> |
| 3 | <div class="text-center"> | 3 | <div class="text-center"> |
| 4 | <p>{{ $t('couponRuleFee.deletePrompt') }}</p> | 4 | <p>{{ $t('couponRuleFee.deletePrompt') }}</p> |
| @@ -57,7 +57,7 @@ export default { | @@ -57,7 +57,7 @@ export default { | ||
| 57 | crfId: this.currentItem.crfId, | 57 | crfId: this.currentItem.crfId, |
| 58 | communityId: this.currentItem.communityId | 58 | communityId: this.currentItem.communityId |
| 59 | }) | 59 | }) |
| 60 | - this.$message.success(this.$t('common.deleteSuccess')) | 60 | + this.$message.success(this.$t('common.operationSuccess')) |
| 61 | this.visible = false | 61 | this.visible = false |
| 62 | this.$emit('success') | 62 | this.$emit('success') |
| 63 | } catch (error) { | 63 | } catch (error) { |
src/components/scm/DeleteSupplier.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('supplierManage.confirmDelete')" | 3 | :title="$t('supplierManage.confirmDelete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -36,7 +36,7 @@ export default { | @@ -36,7 +36,7 @@ export default { | ||
| 36 | try { | 36 | try { |
| 37 | const res = await deleteSupplier(this.supplier.supplierId) | 37 | const res = await deleteSupplier(this.supplier.supplierId) |
| 38 | if (res.code === 0) { | 38 | if (res.code === 0) { |
| 39 | - this.$message.success(this.$t('common.deleteSuccess')) | 39 | + this.$message.success(this.$t('common.operationSuccess')) |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | } else { | 42 | } else { |
src/components/scm/DeleteSupplierType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('supplierTypeManage.delete.title')" | 3 | :title="$t('supplierTypeManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -35,7 +35,7 @@ export default { | @@ -35,7 +35,7 @@ export default { | ||
| 35 | async handleConfirm() { | 35 | async handleConfirm() { |
| 36 | try { | 36 | try { |
| 37 | await deleteSupplierType(this.stId) | 37 | await deleteSupplierType(this.stId) |
| 38 | - this.$message.success(this.$t('supplierTypeManage.message.deleteSuccess')) | 38 | + this.$message.success(this.$t('common.operationSuccess')) |
| 39 | this.visible = false | 39 | this.visible = false |
| 40 | this.$emit('success') | 40 | this.$emit('success') |
| 41 | } catch (error) { | 41 | } catch (error) { |
src/components/scm/EditCouponRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponRule.editRule')" | 3 | :title="$t('couponRule.editRule')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -72,7 +72,7 @@ export default { | @@ -72,7 +72,7 @@ export default { | ||
| 72 | if (valid) { | 72 | if (valid) { |
| 73 | try { | 73 | try { |
| 74 | await updateCouponRule(this.form) | 74 | await updateCouponRule(this.form) |
| 75 | - this.$message.success(this.$t('common.editSuccess')) | 75 | + this.$message.success(this.$t('common.operationSuccess')) |
| 76 | this.visible = false | 76 | this.visible = false |
| 77 | this.$emit('success') | 77 | this.$emit('success') |
| 78 | } catch (error) { | 78 | } catch (error) { |
src/components/scm/EditCouponRuleCpps.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponRuleCpps.editCoupon')" | 3 | :title="$t('couponRuleCpps.editCoupon')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -128,7 +128,7 @@ export default { | @@ -128,7 +128,7 @@ export default { | ||
| 128 | if (valid) { | 128 | if (valid) { |
| 129 | try { | 129 | try { |
| 130 | await updateCouponRuleCpps(this.form) | 130 | await updateCouponRuleCpps(this.form) |
| 131 | - this.$message.success(this.$t('common.editSuccess')) | 131 | + this.$message.success(this.$t('common.operationSuccess')) |
| 132 | this.visible = false | 132 | this.visible = false |
| 133 | this.$emit('success') | 133 | this.$emit('success') |
| 134 | } catch (error) { | 134 | } catch (error) { |
src/components/scm/EditSupplier.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('supplierManage.edit')" :visible.sync="visible" width="800px" @close="resetForm"> | 2 | <el-dialog :title="$t('supplierManage.edit')" :visible.sync="visible" width="800px" @close="resetForm"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('supplierManage.supplierType')" prop="stId"> | 4 | <el-form-item :label="$t('supplierManage.supplierType')" prop="stId"> |
| @@ -131,7 +131,7 @@ export default { | @@ -131,7 +131,7 @@ export default { | ||
| 131 | try { | 131 | try { |
| 132 | const res = await updateSupplier(this.form) | 132 | const res = await updateSupplier(this.form) |
| 133 | if (res.code === 0) { | 133 | if (res.code === 0) { |
| 134 | - this.$message.success(this.$t('common.updateSuccess')) | 134 | + this.$message.success(this.$t('common.operationSuccess')) |
| 135 | this.visible = false | 135 | this.visible = false |
| 136 | this.$emit('success') | 136 | this.$emit('success') |
| 137 | } else { | 137 | } else { |
src/components/scm/EditSupplierType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('supplierTypeManage.edit.title')" | 3 | :title="$t('supplierTypeManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -70,7 +70,7 @@ export default { | @@ -70,7 +70,7 @@ export default { | ||
| 70 | if (valid) { | 70 | if (valid) { |
| 71 | try { | 71 | try { |
| 72 | await updateSupplierType(this.form) | 72 | await updateSupplierType(this.form) |
| 73 | - this.$message.success(this.$t('supplierTypeManage.message.editSuccess')) | 73 | + this.$message.success(this.$t('common.operationSuccess')) |
| 74 | this.visible = false | 74 | this.visible = false |
| 75 | this.$emit('success') | 75 | this.$emit('success') |
| 76 | } catch (error) { | 76 | } catch (error) { |
src/components/scm/addCouponPropertyPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponPropertyPoolManage.add.title')" | 3 | :title="$t('couponPropertyPoolManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -162,7 +162,7 @@ export default { | @@ -162,7 +162,7 @@ export default { | ||
| 162 | if (valid) { | 162 | if (valid) { |
| 163 | try { | 163 | try { |
| 164 | await saveCouponPropertyPool(this.formData) | 164 | await saveCouponPropertyPool(this.formData) |
| 165 | - this.$message.success(this.$t('couponPropertyPoolManage.add.success')) | 165 | + this.$message.success(this.$t('common.operationSuccess')) |
| 166 | this.visible = false | 166 | this.visible = false |
| 167 | this.$emit('success') | 167 | this.$emit('success') |
| 168 | } catch (error) { | 168 | } catch (error) { |
src/components/scm/addIntegralConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('integralConfigManage.add.title')" | 3 | :title="$t('integralConfigManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -170,7 +170,7 @@ export default { | @@ -170,7 +170,7 @@ export default { | ||
| 170 | if (valid) { | 170 | if (valid) { |
| 171 | try { | 171 | try { |
| 172 | await saveIntegralConfig(this.formData) | 172 | await saveIntegralConfig(this.formData) |
| 173 | - this.$message.success(this.$t('integralConfigManage.message.addSuccess')) | 173 | + this.$message.success(this.$t('common.operationSuccess')) |
| 174 | this.visible = false | 174 | this.visible = false |
| 175 | this.$emit('success') | 175 | this.$emit('success') |
| 176 | } catch (error) { | 176 | } catch (error) { |
src/components/scm/addIntegralRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('integralRule.addTitle')" | 3 | :title="$t('integralRule.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -71,7 +71,7 @@ export default { | @@ -71,7 +71,7 @@ export default { | ||
| 71 | communityId: this.communityId | 71 | communityId: this.communityId |
| 72 | } | 72 | } |
| 73 | await saveIntegralRule(params) | 73 | await saveIntegralRule(params) |
| 74 | - this.$message.success(this.$t('common.addSuccess')) | 74 | + this.$message.success(this.$t('common.operationSuccess')) |
| 75 | this.visible = false | 75 | this.visible = false |
| 76 | this.$emit('success') | 76 | this.$emit('success') |
| 77 | } catch (error) { | 77 | } catch (error) { |
src/components/scm/addIntegralRuleConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('integralRule.addConfigTitle')" | 3 | :title="$t('integralRule.addConfigTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -93,7 +93,7 @@ export default { | @@ -93,7 +93,7 @@ export default { | ||
| 93 | 93 | ||
| 94 | try { | 94 | try { |
| 95 | await saveIntegralRuleConfig(this.form) | 95 | await saveIntegralRuleConfig(this.form) |
| 96 | - this.$message.success(this.$t('common.addSuccess')) | 96 | + this.$message.success(this.$t('common.operationSuccess')) |
| 97 | this.visible = false | 97 | this.visible = false |
| 98 | this.$emit('success') | 98 | this.$emit('success') |
| 99 | } catch (error) { | 99 | } catch (error) { |
src/components/scm/addIntegralRuleFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('integralRule.addFeeTitle')" | 3 | :title="$t('integralRule.addFeeTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -101,7 +101,7 @@ export default { | @@ -101,7 +101,7 @@ export default { | ||
| 101 | communityId: this.communityId | 101 | communityId: this.communityId |
| 102 | } | 102 | } |
| 103 | await saveIntegralRuleFee(params) | 103 | await saveIntegralRuleFee(params) |
| 104 | - this.$message.success(this.$t('common.addSuccess')) | 104 | + this.$message.success(this.$t('common.operationSuccess')) |
| 105 | this.visible = false | 105 | this.visible = false |
| 106 | this.$emit('success') | 106 | this.$emit('success') |
| 107 | } catch (error) { | 107 | } catch (error) { |
src/components/scm/addReserveCatalog.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('reserveCatalogManage.add.title')" | 3 | :title="$t('reserveCatalogManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -129,7 +129,7 @@ export default { | @@ -129,7 +129,7 @@ export default { | ||
| 129 | if (valid) { | 129 | if (valid) { |
| 130 | try { | 130 | try { |
| 131 | await saveReserveCatalog(this.formData) | 131 | await saveReserveCatalog(this.formData) |
| 132 | - this.$message.success(this.$t('reserveCatalogManage.add.success')) | 132 | + this.$message.success(this.$t('common.operationSuccess')) |
| 133 | this.visible = false | 133 | this.visible = false |
| 134 | this.$emit('success') | 134 | this.$emit('success') |
| 135 | } catch (error) { | 135 | } catch (error) { |
src/components/scm/addReserveDiningPerson.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addReserveDiningPerson.reserveDining')" :visible.sync="visible" width="70%" | 2 | <el-dialog :title="$t('addReserveDiningPerson.reserveDining')" :visible.sync="visible" width="70%" |
| 3 | @close="closeDialog"> | 3 | @close="closeDialog"> |
| 4 | <el-form :model="form" label-width="120px" ref="form"> | 4 | <el-form :model="form" label-width="120px" ref="form"> |
| @@ -167,7 +167,7 @@ export default { | @@ -167,7 +167,7 @@ export default { | ||
| 167 | saveReserveGoodsOrder(this.form) | 167 | saveReserveGoodsOrder(this.form) |
| 168 | .then(response => { | 168 | .then(response => { |
| 169 | if (response.code === 0) { | 169 | if (response.code === 0) { |
| 170 | - this.$message.success(this.$t('common.saveSuccess')) | 170 | + this.$message.success(this.$t('common.operationSuccess')) |
| 171 | this.closeDialog() | 171 | this.closeDialog() |
| 172 | this.$emit('success') | 172 | this.$emit('success') |
| 173 | } else { | 173 | } else { |
src/components/scm/addReserveParams.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('reserveParamsManage.addTitle')" | 3 | :title="$t('reserveParamsManage.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -198,7 +198,7 @@ export default { | @@ -198,7 +198,7 @@ export default { | ||
| 198 | : this.formData.workdays.join(',') | 198 | : this.formData.workdays.join(',') |
| 199 | } | 199 | } |
| 200 | await saveReserveParams(params) | 200 | await saveReserveParams(params) |
| 201 | - this.$message.success(this.$t('common.addSuccess')) | 201 | + this.$message.success(this.$t('common.operationSuccess')) |
| 202 | this.visible = false | 202 | this.visible = false |
| 203 | this.$emit('success') | 203 | this.$emit('success') |
| 204 | } catch (error) { | 204 | } catch (error) { |
src/components/scm/addReserveServicePerson.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addReserveServicePerson.reserveService')" :visible.sync="dialogVisible" width="70%" | 2 | <el-dialog :title="$t('addReserveServicePerson.reserveService')" :visible.sync="dialogVisible" width="70%" |
| 3 | @close="handleClose"> | 3 | @close="handleClose"> |
| 4 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> | 4 | <el-form :model="form" :rules="rules" ref="form" label-width="120px"> |
| @@ -210,7 +210,7 @@ export default { | @@ -210,7 +210,7 @@ export default { | ||
| 210 | }] | 210 | }] |
| 211 | 211 | ||
| 212 | await saveReserveGoodsOrder(this.form) | 212 | await saveReserveGoodsOrder(this.form) |
| 213 | - this.$message.success(this.$t('common.saveSuccess')) | 213 | + this.$message.success(this.$t('common.operationSuccess')) |
| 214 | this.dialogVisible = false | 214 | this.dialogVisible = false |
| 215 | this.$emit('success') | 215 | this.$emit('success') |
| 216 | } catch (error) { | 216 | } catch (error) { |
src/components/scm/addSupplierCoupon.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('supplierCoupon.addTitle')" | 3 | :title="$t('supplierCoupon.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -104,7 +104,7 @@ export default { | @@ -104,7 +104,7 @@ export default { | ||
| 104 | if (valid) { | 104 | if (valid) { |
| 105 | try { | 105 | try { |
| 106 | await addSupplierCoupon(this.form) | 106 | await addSupplierCoupon(this.form) |
| 107 | - this.$message.success(this.$t('supplierCoupon.addSuccess')) | 107 | + this.$message.success(this.$t('common.operationSuccess')) |
| 108 | this.visible = false | 108 | this.visible = false |
| 109 | this.$emit('success') | 109 | this.$emit('success') |
| 110 | } catch (error) { | 110 | } catch (error) { |
src/components/scm/deleteApplyWithholdGold.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteApplyWithholdGold.confirmTitle')" | 3 | :title="$t('deleteApplyWithholdGold.confirmTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -45,7 +45,7 @@ export default { | @@ -45,7 +45,7 @@ export default { | ||
| 45 | communityId: this.currentData.communityId | 45 | communityId: this.currentData.communityId |
| 46 | }) | 46 | }) |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | - this.$message.success(this.$t('deleteApplyWithholdGold.deleteSuccess')) | 48 | + this.$message.success(this.$t('common.operationSuccess')) |
| 49 | this.visible = false | 49 | this.visible = false |
| 50 | } catch (error) { | 50 | } catch (error) { |
| 51 | console.error('Delete failed:', error) | 51 | console.error('Delete failed:', error) |
src/components/scm/deleteApplyWithholdIntegral.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteApplyWithholdIntegral.confirmTitle')" | 3 | :title="$t('deleteApplyWithholdIntegral.confirmTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -48,7 +48,7 @@ export default { | @@ -48,7 +48,7 @@ export default { | ||
| 48 | } | 48 | } |
| 49 | await deleteIntegralWithdrawal(params) | 49 | await deleteIntegralWithdrawal(params) |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | - this.$message.success(this.$t('deleteApplyWithholdIntegral.deleteSuccess')) | 51 | + this.$message.success(this.$t('common.operationSuccess')) |
| 52 | this.close() | 52 | this.close() |
| 53 | } catch (error) { | 53 | } catch (error) { |
| 54 | console.error('Failed to delete integral withdrawal:', error) | 54 | console.error('Failed to delete integral withdrawal:', error) |
src/components/scm/deleteCouponPropertyPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponPropertyPoolManage.delete.title')" | 3 | :title="$t('couponPropertyPoolManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -49,7 +49,7 @@ export default { | @@ -49,7 +49,7 @@ export default { | ||
| 49 | async handleConfirm() { | 49 | async handleConfirm() { |
| 50 | try { | 50 | try { |
| 51 | await deleteCouponPropertyPool(this.formData) | 51 | await deleteCouponPropertyPool(this.formData) |
| 52 | - this.$message.success(this.$t('couponPropertyPoolManage.delete.success')) | 52 | + this.$message.success(this.$t('common.operationSuccess')) |
| 53 | this.visible = false | 53 | this.visible = false |
| 54 | this.$emit('success') | 54 | this.$emit('success') |
| 55 | } catch (error) { | 55 | } catch (error) { |
src/components/scm/deleteCouponPropertyPoolDetail.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponPropertyPoolDetail.delete.title')" | 3 | :title="$t('couponPropertyPoolDetail.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -38,7 +38,7 @@ export default { | @@ -38,7 +38,7 @@ export default { | ||
| 38 | async handleConfirm() { | 38 | async handleConfirm() { |
| 39 | try { | 39 | try { |
| 40 | await deleteCouponPropertyPoolDetail(this.currentRow) | 40 | await deleteCouponPropertyPoolDetail(this.currentRow) |
| 41 | - this.$message.success(this.$t('couponPropertyPoolDetail.delete.success')) | 41 | + this.$message.success(this.$t('common.operationSuccess')) |
| 42 | this.$emit('success') | 42 | this.$emit('success') |
| 43 | this.handleClose() | 43 | this.handleClose() |
| 44 | } catch (error) { | 44 | } catch (error) { |
src/components/scm/deleteIntegralConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('integralConfigManage.delete.title')" | 3 | :title="$t('integralConfigManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -59,7 +59,7 @@ export default { | @@ -59,7 +59,7 @@ export default { | ||
| 59 | try { | 59 | try { |
| 60 | this.loading = true | 60 | this.loading = true |
| 61 | await deleteIntegralConfig(this.deleteData) | 61 | await deleteIntegralConfig(this.deleteData) |
| 62 | - this.$message.success(this.$t('integralConfigManage.message.deleteSuccess')) | 62 | + this.$message.success(this.$t('common.operationSuccess')) |
| 63 | this.visible = false | 63 | this.visible = false |
| 64 | this.$emit('success') | 64 | this.$emit('success') |
| 65 | } catch (error) { | 65 | } catch (error) { |
src/components/scm/deleteIntegralRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirmTitle')" | 3 | :title="$t('common.confirmTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -40,7 +40,7 @@ export default { | @@ -40,7 +40,7 @@ export default { | ||
| 40 | ruleId: this.ruleId, | 40 | ruleId: this.ruleId, |
| 41 | communityId: this.communityId | 41 | communityId: this.communityId |
| 42 | }) | 42 | }) |
| 43 | - this.$message.success(this.$t('common.deleteSuccess')) | 43 | + this.$message.success(this.$t('common.operationSuccess')) |
| 44 | this.visible = false | 44 | this.visible = false |
| 45 | this.$emit('success') | 45 | this.$emit('success') |
| 46 | } catch (error) { | 46 | } catch (error) { |
src/components/scm/deleteIntegralRuleConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirmTitle')" | 3 | :title="$t('common.confirmTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -42,7 +42,7 @@ export default { | @@ -42,7 +42,7 @@ export default { | ||
| 42 | configId: this.configId, | 42 | configId: this.configId, |
| 43 | ruleId: this.ruleId | 43 | ruleId: this.ruleId |
| 44 | }) | 44 | }) |
| 45 | - this.$message.success(this.$t('common.deleteSuccess')) | 45 | + this.$message.success(this.$t('common.operationSuccess')) |
| 46 | this.visible = false | 46 | this.visible = false |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | } catch (error) { | 48 | } catch (error) { |
src/components/scm/deleteIntegralRuleFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirmTitle')" | 3 | :title="$t('common.confirmTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | ruleId: this.ruleId, | 46 | ruleId: this.ruleId, |
| 47 | communityId: this.communityId | 47 | communityId: this.communityId |
| 48 | }) | 48 | }) |
| 49 | - this.$message.success(this.$t('common.deleteSuccess')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.visible = false | 50 | this.visible = false |
| 51 | this.$emit('success') | 51 | this.$emit('success') |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/scm/deleteReserveCatalog.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('reserveCatalogManage.delete.title')" | 3 | :title="$t('reserveCatalogManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -61,7 +61,7 @@ export default { | @@ -61,7 +61,7 @@ export default { | ||
| 61 | catalogId: this.formData.catalogId, | 61 | catalogId: this.formData.catalogId, |
| 62 | communityId: this.formData.communityId | 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 | this.visible = false | 65 | this.visible = false |
| 66 | this.$emit('success') | 66 | this.$emit('success') |
| 67 | } catch (error) { | 67 | } catch (error) { |
src/components/scm/deleteReserveDining.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirmOperation')" | 3 | :title="$t('common.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | deleteReserveGoods(this.form) | 47 | deleteReserveGoods(this.form) |
| 48 | .then(response => { | 48 | .then(response => { |
| 49 | if (response.code === 0) { | 49 | if (response.code === 0) { |
| 50 | - this.$message.success(this.$t('common.deleteSuccess')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | this.closeDialog() | 51 | this.closeDialog() |
| 52 | this.$emit('success') | 52 | this.$emit('success') |
| 53 | } else { | 53 | } else { |
src/components/scm/deleteReserveOrderPerson.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('reserveOrder.cancelAppointment')" | 3 | :title="$t('reserveOrder.cancelAppointment')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | try { | 43 | try { |
| 44 | this.loading = true | 44 | this.loading = true |
| 45 | await cancelReserveOrder({ orderId: this.currentRow.orderId }) | 45 | await cancelReserveOrder({ orderId: this.currentRow.orderId }) |
| 46 | - this.$message.success(this.$t('reserveOrder.cancelSuccess')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | } catch (error) { | 49 | } catch (error) { |
src/components/scm/deleteReserveParams.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('reserveParamsManage.deleteTitle')" | 3 | :title="$t('reserveParamsManage.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | try { | 54 | try { |
| 55 | this.loading = true | 55 | this.loading = true |
| 56 | await deleteReserveParams(this.currentRow) | 56 | await deleteReserveParams(this.currentRow) |
| 57 | - this.$message.success(this.$t('common.deleteSuccess')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.visible = false | 58 | this.visible = false |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/scm/deleteSupplierCoupon.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('supplierCoupon.deleteTitle')" :visible.sync="visible" width="30%"> | 2 | <el-dialog :title="$t('supplierCoupon.deleteTitle')" :visible.sync="visible" width="30%"> |
| 3 | <p>{{ $t('supplierCoupon.deleteConfirm') }}</p> | 3 | <p>{{ $t('supplierCoupon.deleteConfirm') }}</p> |
| 4 | <div slot="footer" class="dialog-footer"> | 4 | <div slot="footer" class="dialog-footer"> |
| @@ -33,7 +33,7 @@ export default { | @@ -33,7 +33,7 @@ export default { | ||
| 33 | async confirmDelete() { | 33 | async confirmDelete() { |
| 34 | try { | 34 | try { |
| 35 | await deleteSupplierCoupon({ couponId: this.couponId,supplierId:this.supplierId }) | 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 | this.visible = false | 37 | this.visible = false |
| 38 | this.$emit('success') | 38 | this.$emit('success') |
| 39 | } catch (error) { | 39 | } catch (error) { |
src/components/scm/editCouponPropertyPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponPropertyPoolManage.edit.title')" | 3 | :title="$t('couponPropertyPoolManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -174,7 +174,7 @@ export default { | @@ -174,7 +174,7 @@ export default { | ||
| 174 | if (valid) { | 174 | if (valid) { |
| 175 | try { | 175 | try { |
| 176 | await updateCouponPropertyPool(this.formData) | 176 | await updateCouponPropertyPool(this.formData) |
| 177 | - this.$message.success(this.$t('couponPropertyPoolManage.edit.success')) | 177 | + this.$message.success(this.$t('common.operationSuccess')) |
| 178 | this.visible = false | 178 | this.visible = false |
| 179 | this.$emit('success') | 179 | this.$emit('success') |
| 180 | } catch (error) { | 180 | } catch (error) { |
src/components/scm/editIntegralConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('integralConfigManage.edit.title')" | 3 | :title="$t('integralConfigManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -173,7 +173,7 @@ export default { | @@ -173,7 +173,7 @@ export default { | ||
| 173 | if (valid) { | 173 | if (valid) { |
| 174 | try { | 174 | try { |
| 175 | await updateIntegralConfig(this.formData) | 175 | await updateIntegralConfig(this.formData) |
| 176 | - this.$message.success(this.$t('integralConfigManage.message.editSuccess')) | 176 | + this.$message.success(this.$t('common.operationSuccess')) |
| 177 | this.visible = false | 177 | this.visible = false |
| 178 | this.$emit('success') | 178 | this.$emit('success') |
| 179 | } catch (error) { | 179 | } catch (error) { |
src/components/scm/editIntegralRule.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('integralRule.editTitle')" | 3 | :title="$t('integralRule.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -80,7 +80,7 @@ export default { | @@ -80,7 +80,7 @@ export default { | ||
| 80 | communityId: this.communityId | 80 | communityId: this.communityId |
| 81 | } | 81 | } |
| 82 | await updateIntegralRule(params) | 82 | await updateIntegralRule(params) |
| 83 | - this.$message.success(this.$t('common.editSuccess')) | 83 | + this.$message.success(this.$t('common.operationSuccess')) |
| 84 | this.visible = false | 84 | this.visible = false |
| 85 | this.$emit('success') | 85 | this.$emit('success') |
| 86 | } catch (error) { | 86 | } catch (error) { |
src/components/scm/editIntegralRuleFee.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('integralRule.editFeeTitle')" | 3 | :title="$t('integralRule.editFeeTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -110,7 +110,7 @@ export default { | @@ -110,7 +110,7 @@ export default { | ||
| 110 | communityId: this.communityId | 110 | communityId: this.communityId |
| 111 | } | 111 | } |
| 112 | await updateIntegralRuleFee(params) | 112 | await updateIntegralRuleFee(params) |
| 113 | - this.$message.success(this.$t('common.editSuccess')) | 113 | + this.$message.success(this.$t('common.operationSuccess')) |
| 114 | this.visible = false | 114 | this.visible = false |
| 115 | this.$emit('success') | 115 | this.$emit('success') |
| 116 | } catch (error) { | 116 | } catch (error) { |
src/components/scm/editReserveCatalog.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('reserveCatalogManage.edit.title')" | 3 | :title="$t('reserveCatalogManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -133,7 +133,7 @@ export default { | @@ -133,7 +133,7 @@ export default { | ||
| 133 | if (valid) { | 133 | if (valid) { |
| 134 | try { | 134 | try { |
| 135 | await updateReserveCatalog(this.formData) | 135 | await updateReserveCatalog(this.formData) |
| 136 | - this.$message.success(this.$t('reserveCatalogManage.edit.success')) | 136 | + this.$message.success(this.$t('common.operationSuccess')) |
| 137 | this.visible = false | 137 | this.visible = false |
| 138 | this.$emit('success') | 138 | this.$emit('success') |
| 139 | } catch (error) { | 139 | } catch (error) { |
src/components/scm/editReserveParams.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('reserveParamsManage.editTitle')" | 3 | :title="$t('reserveParamsManage.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -205,7 +205,7 @@ export default { | @@ -205,7 +205,7 @@ export default { | ||
| 205 | : this.formData.workdays.join(',') | 205 | : this.formData.workdays.join(',') |
| 206 | } | 206 | } |
| 207 | await updateReserveParams(params) | 207 | await updateReserveParams(params) |
| 208 | - this.$message.success(this.$t('common.editSuccess')) | 208 | + this.$message.success(this.$t('common.operationSuccess')) |
| 209 | this.visible = false | 209 | this.visible = false |
| 210 | this.$emit('success') | 210 | this.$emit('success') |
| 211 | } catch (error) { | 211 | } catch (error) { |
src/components/scm/editReserveParamsOpenTime.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('reserveParamsManage.setTimeTitle')" | 3 | :title="$t('reserveParamsManage.setTimeTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -66,7 +66,7 @@ export default { | @@ -66,7 +66,7 @@ export default { | ||
| 66 | async handleStatusChange(item) { | 66 | async handleStatusChange(item) { |
| 67 | try { | 67 | try { |
| 68 | await updateReserveParamsOpenTime(item) | 68 | await updateReserveParamsOpenTime(item) |
| 69 | - this.$message.success(this.$t('common.updateSuccess')) | 69 | + this.$message.success(this.$t('common.operationSuccess')) |
| 70 | this.$emit('success') | 70 | this.$emit('success') |
| 71 | } catch (error) { | 71 | } catch (error) { |
| 72 | this.$message.error(error.message || this.$t('common.updateFailed')) | 72 | this.$message.error(error.message || this.$t('common.updateFailed')) |
src/components/scm/editSupplierCoupon.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('supplierCoupon.editTitle')" | 3 | :title="$t('supplierCoupon.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -101,7 +101,7 @@ export default { | @@ -101,7 +101,7 @@ export default { | ||
| 101 | if (valid) { | 101 | if (valid) { |
| 102 | try { | 102 | try { |
| 103 | await updateSupplierCoupon(this.form) | 103 | await updateSupplierCoupon(this.form) |
| 104 | - this.$message.success(this.$t('supplierCoupon.updateSuccess')) | 104 | + this.$message.success(this.$t('common.operationSuccess')) |
| 105 | this.visible = false | 105 | this.visible = false |
| 106 | this.$emit('success') | 106 | this.$emit('success') |
| 107 | } catch (error) { | 107 | } catch (error) { |
src/components/scm/giftCouponPropertyPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('couponPropertyPoolManage.gift.title')" | 3 | :title="$t('couponPropertyPoolManage.gift.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -95,7 +95,7 @@ export default { | @@ -95,7 +95,7 @@ export default { | ||
| 95 | if (valid) { | 95 | if (valid) { |
| 96 | try { | 96 | try { |
| 97 | await giftCouponProperty(this.formData) | 97 | await giftCouponProperty(this.formData) |
| 98 | - this.$message.success(this.$t('couponPropertyPoolManage.gift.success')) | 98 | + this.$message.success(this.$t('common.operationSuccess')) |
| 99 | this.visible = false | 99 | this.visible = false |
| 100 | this.$emit('success') | 100 | this.$emit('success') |
| 101 | } catch (error) { | 101 | } catch (error) { |
src/components/scm/integralRuleConfig.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="integral-rule-config"> | 2 | <div class="integral-rule-config"> |
| 3 | <el-row class="operation-bar"> | 3 | <el-row class="operation-bar"> |
| 4 | <el-col :span="24" class="text-right"> | 4 | <el-col :span="24" class="text-right"> |
| @@ -97,7 +97,7 @@ export default { | @@ -97,7 +97,7 @@ export default { | ||
| 97 | ruleId: this.ruleId, | 97 | ruleId: this.ruleId, |
| 98 | ircId: row.ircId | 98 | ircId: row.ircId |
| 99 | }) | 99 | }) |
| 100 | - this.$message.success(this.$t('common.deleteSuccess')) | 100 | + this.$message.success(this.$t('common.operationSuccess')) |
| 101 | this.handleQuery() | 101 | this.handleQuery() |
| 102 | } catch (error) { | 102 | } catch (error) { |
| 103 | if (error !== 'cancel') { | 103 | if (error !== 'cancel') { |
src/components/scm/integralRuleFees.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="integral-rule-fees"> | 2 | <div class="integral-rule-fees"> |
| 3 | <el-row class="operation-bar"> | 3 | <el-row class="operation-bar"> |
| 4 | <el-col :span="24" class="text-right"> | 4 | <el-col :span="24" class="text-right"> |
| @@ -107,7 +107,7 @@ export default { | @@ -107,7 +107,7 @@ export default { | ||
| 107 | irfId: row.irfId, | 107 | irfId: row.irfId, |
| 108 | ruleId: this.ruleId | 108 | ruleId: this.ruleId |
| 109 | }) | 109 | }) |
| 110 | - this.$message.success(this.$t('common.deleteSuccess')) | 110 | + this.$message.success(this.$t('common.operationSuccess')) |
| 111 | this.handleQuery() | 111 | this.handleQuery() |
| 112 | } catch (error) { | 112 | } catch (error) { |
| 113 | if (error !== 'cancel') { | 113 | if (error !== 'cancel') { |
src/components/scm/withholdGold.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('withholdGold.applyWithdraw')" | 3 | :title="$t('withholdGold.applyWithdraw')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -147,7 +147,7 @@ export default { | @@ -147,7 +147,7 @@ export default { | ||
| 147 | this.loading = true | 147 | this.loading = true |
| 148 | await applyGoldWithHold(this.form) | 148 | await applyGoldWithHold(this.form) |
| 149 | this.$emit('success') | 149 | this.$emit('success') |
| 150 | - this.$message.success(this.$t('withholdGold.submitSuccess')) | 150 | + this.$message.success(this.$t('common.operationSuccess')) |
| 151 | this.visible = false | 151 | this.visible = false |
| 152 | } catch (error) { | 152 | } catch (error) { |
| 153 | console.error('Submit failed:', error) | 153 | console.error('Submit failed:', error) |
src/components/scm/withholdIntegral.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('withholdIntegral.applyWithdraw')" | 3 | :title="$t('withholdIntegral.applyWithdraw')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -164,7 +164,7 @@ export default { | @@ -164,7 +164,7 @@ export default { | ||
| 164 | this.loading = true | 164 | this.loading = true |
| 165 | await applyIntegralWithdrawal(this.formData) | 165 | await applyIntegralWithdrawal(this.formData) |
| 166 | this.$emit('success') | 166 | this.$emit('success') |
| 167 | - this.$message.success(this.$t('withholdIntegral.applySuccess')) | 167 | + this.$message.success(this.$t('common.operationSuccess')) |
| 168 | this.close() | 168 | this.close() |
| 169 | }) | 169 | }) |
| 170 | } catch (error) { | 170 | } catch (error) { |
src/components/simplify/simplifyOwnerCar.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <div class="flex justify-between"> | 3 | <div class="flex justify-between"> |
| 4 | <div></div> | 4 | <div></div> |
| @@ -144,7 +144,7 @@ export default { | @@ -144,7 +144,7 @@ export default { | ||
| 144 | }, | 144 | }, |
| 145 | _deleteCarParkingSpace(car) { | 145 | _deleteCarParkingSpace(car) { |
| 146 | deleteCarParkingSpace(car).then(() => { | 146 | deleteCarParkingSpace(car).then(() => { |
| 147 | - this.$message.success(this.$t('simplifyOwnerCar.releaseSuccess')) | 147 | + this.$message.success(this.$t('common.operationSuccess')) |
| 148 | this.listSimplifyOwnerCar(this.currentPage, this.pageSize) | 148 | this.listSimplifyOwnerCar(this.currentPage, this.pageSize) |
| 149 | }).catch(err => { | 149 | }).catch(err => { |
| 150 | this.$message.error(err) | 150 | this.$message.error(err) |
src/components/staff/AOwnerDetailAppUser.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="owner-detail-app-user-container"> | 2 | <div class="owner-detail-app-user-container"> |
| 3 | <el-table :data="appUsers" border style="width: 100%"> | 3 | <el-table :data="appUsers" border style="width: 100%"> |
| 4 | <el-table-column prop="communityName" :label="$t('ownerDetailAppUser.communityName')" align="center"></el-table-column> | 4 | <el-table-column prop="communityName" :label="$t('ownerDetailAppUser.communityName')" align="center"></el-table-column> |
| @@ -105,7 +105,7 @@ export default { | @@ -105,7 +105,7 @@ export default { | ||
| 105 | } | 105 | } |
| 106 | const res = await updateAppUserBindingOwner(data) | 106 | const res = await updateAppUserBindingOwner(data) |
| 107 | if (res.code === 0) { | 107 | if (res.code === 0) { |
| 108 | - this.$message.success(this.$t('common.handleSuccess')) | 108 | + this.$message.success(this.$t('common.operationSuccess')) |
| 109 | this.loadData() | 109 | this.loadData() |
| 110 | } else { | 110 | } else { |
| 111 | this.$message.error(res.msg || this.$t('common.handleFailed')) | 111 | this.$message.error(res.msg || this.$t('common.handleFailed')) |
src/components/staff/DeleteAppUserBindingOwner.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteAppUserBindingOwner.title')" | 3 | :title="$t('deleteAppUserBindingOwner.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -37,7 +37,7 @@ export default { | @@ -37,7 +37,7 @@ export default { | ||
| 37 | try { | 37 | try { |
| 38 | const res = await deleteAppUserBindingOwner(this.currentData) | 38 | const res = await deleteAppUserBindingOwner(this.currentData) |
| 39 | if (res.code === 0) { | 39 | if (res.code === 0) { |
| 40 | - this.$message.success(this.$t('common.handleSuccess')) | 40 | + this.$message.success(this.$t('common.operationSuccess')) |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | this.visible = false | 42 | this.visible = false |
| 43 | } else { | 43 | } else { |
src/components/staff/DeleteSystemUser.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.delete')" | 3 | :title="$t('common.delete')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -36,7 +36,7 @@ export default { | @@ -36,7 +36,7 @@ export default { | ||
| 36 | async deleteSystemUser() { | 36 | async deleteSystemUser() { |
| 37 | try { | 37 | try { |
| 38 | await deleteSystemUser({ staffId: this.currentUser.userId }) | 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 | this.$emit('success') | 40 | this.$emit('success') |
| 41 | this.handleClose() | 41 | this.handleClose() |
| 42 | } catch (error) { | 42 | } catch (error) { |
src/components/staff/aStaffDetailCommunitys.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div > | 2 | <div > |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24" class="text-right"> | 4 | <el-col :span="24" class="text-right"> |
| @@ -107,11 +107,11 @@ export default { | @@ -107,11 +107,11 @@ export default { | ||
| 107 | }, | 107 | }, |
| 108 | handleAddCommunitySuccess() { | 108 | handleAddCommunitySuccess() { |
| 109 | this.loadData() | 109 | this.loadData() |
| 110 | - this.$message.success(this.$t('aStaffDetailList.addCommunitySuccess')) | 110 | + this.$message.success(this.$t('common.operationSuccess')) |
| 111 | }, | 111 | }, |
| 112 | handleDeleteCommunitySuccess() { | 112 | handleDeleteCommunitySuccess() { |
| 113 | this.loadData() | 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 | <el-dialog :title="$t('addAStaffCommunity.community')" :visible.sync="visible" width="60%" :before-close="handleClose"> | 2 | <el-dialog :title="$t('addAStaffCommunity.community')" :visible.sync="visible" width="60%" :before-close="handleClose"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <el-row> | 4 | <el-row> |
| @@ -125,7 +125,7 @@ export default { | @@ -125,7 +125,7 @@ export default { | ||
| 125 | staffId: this.staffId, | 125 | staffId: this.staffId, |
| 126 | communitys: this.selectedCommunities | 126 | communitys: this.selectedCommunities |
| 127 | }) | 127 | }) |
| 128 | - this.$message.success(this.$t('addAStaffCommunity.addSuccess')) | 128 | + this.$message.success(this.$t('common.operationSuccess')) |
| 129 | this.handleClose() | 129 | this.handleClose() |
| 130 | this.$emit('success') | 130 | this.$emit('success') |
| 131 | } catch (error) { | 131 | } catch (error) { |
src/components/staff/addStaffCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('staffCommunity.addCommunityTitle')" :visible.sync="visible" width="70%"> | 2 | <el-dialog :title="$t('staffCommunity.addCommunityTitle')" :visible.sync="visible" width="70%"> |
| 3 | 3 | ||
| 4 | <el-row :gutter="20"> | 4 | <el-row :gutter="20"> |
| @@ -97,7 +97,7 @@ export default { | @@ -97,7 +97,7 @@ export default { | ||
| 97 | })) | 97 | })) |
| 98 | } | 98 | } |
| 99 | await saveStaffCommunity(params) | 99 | await saveStaffCommunity(params) |
| 100 | - this.$message.success(this.$t('staffCommunity.addSuccess')) | 100 | + this.$message.success(this.$t('common.operationSuccess')) |
| 101 | this.$emit('success') | 101 | this.$emit('success') |
| 102 | this.visible = false | 102 | this.visible = false |
| 103 | } catch (error) { | 103 | } catch (error) { |
src/components/staff/deleteAStaffCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteAStaffCommunity.confirmOperation')" | 3 | :title="$t('deleteAStaffCommunity.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -36,7 +36,7 @@ export default { | @@ -36,7 +36,7 @@ export default { | ||
| 36 | async deleteStaffCommunity() { | 36 | async deleteStaffCommunity() { |
| 37 | try { | 37 | try { |
| 38 | await deleteStaffCommunity(this.community) | 38 | await deleteStaffCommunity(this.community) |
| 39 | - this.$message.success(this.$t('deleteAStaffCommunity.deleteSuccess')) | 39 | + this.$message.success(this.$t('common.operationSuccess')) |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | this.$emit('success') | 41 | this.$emit('success') |
| 42 | } catch (error) { | 42 | } catch (error) { |
src/components/staff/deleteStaff.vue
| 1 | -<!-- components/staff/deleteStaff.vue --> | 1 | +<!-- components/staff/deleteStaff.vue --> |
| 2 | <template> | 2 | <template> |
| 3 | <el-dialog | 3 | <el-dialog |
| 4 | :title="$t('staff.confirmOperation')" | 4 | :title="$t('staff.confirmOperation')" |
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | await deleteStaff({ | 43 | await deleteStaff({ |
| 44 | userId: this.staffInfo.userId | 44 | userId: this.staffInfo.userId |
| 45 | }) | 45 | }) |
| 46 | - this.$message.success(this.$t('staff.deleteSuccess')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | this.handleClose() | 48 | this.handleClose() |
| 49 | } catch (error) { | 49 | } catch (error) { |
src/components/staff/deleteStaffCommunity.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('staffCommunity.deleteConfirmTitle')" :visible.sync="visible" width="30%"> | 2 | <el-dialog :title="$t('staffCommunity.deleteConfirmTitle')" :visible.sync="visible" width="30%"> |
| 3 | 3 | ||
| 4 | <div class="text-center"> | 4 | <div class="text-center"> |
| @@ -31,7 +31,7 @@ export default { | @@ -31,7 +31,7 @@ export default { | ||
| 31 | async confirmDelete() { | 31 | async confirmDelete() { |
| 32 | try { | 32 | try { |
| 33 | await deleteStaffCommunity(this.currentData) | 33 | await deleteStaffCommunity(this.currentData) |
| 34 | - this.$message.success(this.$t('staffCommunity.deleteSuccess')) | 34 | + this.$message.success(this.$t('common.operationSuccess')) |
| 35 | this.$emit('success') | 35 | this.$emit('success') |
| 36 | this.visible = false | 36 | this.visible = false |
| 37 | } catch (error) { | 37 | } catch (error) { |
src/components/staff/editStaff.vue
| 1 | -<!-- components/staff/editStaff.vue --> | 1 | +<!-- components/staff/editStaff.vue --> |
| 2 | <template> | 2 | <template> |
| 3 | <el-dialog :title="$t('staff.modifyStaff')" :visible.sync="visible" width="50%" @close="handleClose"> | 3 | <el-dialog :title="$t('staff.modifyStaff')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 4 | <el-form ref="form" :model="editStaffInfo" label-width="120px"> | 4 | <el-form ref="form" :model="editStaffInfo" label-width="120px"> |
| @@ -156,7 +156,7 @@ export default { | @@ -156,7 +156,7 @@ export default { | ||
| 156 | 156 | ||
| 157 | await modifyStaff(data) | 157 | await modifyStaff(data) |
| 158 | this.visible = false | 158 | this.visible = false |
| 159 | - this.$message.success(this.$t('common.submitSuccess')) | 159 | + this.$message.success(this.$t('common.operationSuccess')) |
| 160 | this.$emit('success') | 160 | this.$emit('success') |
| 161 | this.handleClose() | 161 | this.handleClose() |
| 162 | } catch (error) { | 162 | } catch (error) { |
src/components/store/AddPropertyCompany.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('propertyCompanyManage.add')" :visible="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('propertyCompanyManage.add')" :visible="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="formData" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('propertyCompanyManage.name')" prop="name" required> | 4 | <el-form-item :label="$t('propertyCompanyManage.name')" prop="name" required> |
| @@ -106,7 +106,7 @@ export default { | @@ -106,7 +106,7 @@ export default { | ||
| 106 | async handleSubmit() { | 106 | async handleSubmit() { |
| 107 | try { | 107 | try { |
| 108 | await saveProperty(this.formData) | 108 | await saveProperty(this.formData) |
| 109 | - this.$message.success(this.$t('propertyCompanyManage.addSuccess')) | 109 | + this.$message.success(this.$t('common.operationSuccess')) |
| 110 | this.$emit('success') | 110 | this.$emit('success') |
| 111 | this.handleClose() | 111 | this.handleClose() |
| 112 | } catch (error) { | 112 | } catch (error) { |
src/components/store/AddStore.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('store.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('store.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('store.form.name')" prop="name"> | 4 | <el-form-item :label="$t('store.form.name')" prop="name"> |
| @@ -88,7 +88,7 @@ export default { | @@ -88,7 +88,7 @@ export default { | ||
| 88 | try { | 88 | try { |
| 89 | await this.$refs.form.validate() | 89 | await this.$refs.form.validate() |
| 90 | await addStore(this.form) | 90 | await addStore(this.form) |
| 91 | - this.$message.success(this.$t('store.add.success')) | 91 | + this.$message.success(this.$t('common.operationSuccess')) |
| 92 | this.handleClose() | 92 | this.handleClose() |
| 93 | this.$emit('success') | 93 | this.$emit('success') |
| 94 | } catch (error) { | 94 | } catch (error) { |
src/components/store/DelStore.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('store.dialog.delTitle')" | 3 | :title="$t('store.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteStore(this.storeId) | 56 | await deleteStore(this.storeId) |
| 57 | - this.$message.success(this.$t('store.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/store/DeletePropertyCompany.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('propertyCompanyManage.confirmOperation')" | 3 | :title="$t('propertyCompanyManage.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -34,7 +34,7 @@ export default { | @@ -34,7 +34,7 @@ export default { | ||
| 34 | async handleConfirm() { | 34 | async handleConfirm() { |
| 35 | try { | 35 | try { |
| 36 | await deleteProperty({ storeId: this.storeId, storeTypeCd: this.storeTypeCd }) | 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 | this.$emit('success') | 38 | this.$emit('success') |
| 39 | this.visible = false | 39 | this.visible = false |
| 40 | } catch (error) { | 40 | } catch (error) { |
src/components/store/EditPropertyCompany.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('propertyCompanyManage.edit')" :visible.sync="visible" width="40%" @close="handleClose"> | 2 | <el-dialog :title="$t('propertyCompanyManage.edit')" :visible.sync="visible" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('propertyCompanyManage.name')" prop="name" required> | 4 | <el-form-item :label="$t('propertyCompanyManage.name')" prop="name" required> |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | async handleSubmit() { | 46 | async handleSubmit() { |
| 47 | try { | 47 | try { |
| 48 | await updateProperty(this.formData) | 48 | await updateProperty(this.formData) |
| 49 | - this.$message.success(this.$t('propertyCompanyManage.editSuccess')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | this.visible = false | 51 | this.visible = false |
| 52 | } catch (error) { | 52 | } catch (error) { |
src/components/store/EditStore.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('store.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> | 2 | <el-dialog :title="$t('store.dialog.editTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| 4 | <el-form-item :label="$t('store.form.name')" prop="name"> | 4 | <el-form-item :label="$t('store.form.name')" prop="name"> |
| @@ -99,7 +99,7 @@ export default { | @@ -99,7 +99,7 @@ export default { | ||
| 99 | try { | 99 | try { |
| 100 | await this.$refs.form.validate() | 100 | await this.$refs.form.validate() |
| 101 | await updateStore(this.form) | 101 | await updateStore(this.form) |
| 102 | - this.$message.success(this.$t('store.edit.success')) | 102 | + this.$message.success(this.$t('common.operationSuccess')) |
| 103 | this.handleClose() | 103 | this.handleClose() |
| 104 | this.$emit('success') | 104 | this.$emit('success') |
| 105 | } catch (error) { | 105 | } catch (error) { |
src/components/store/UpdateStoreState.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('propertyCompanyManage.confirmOperation')" | 3 | :title="$t('propertyCompanyManage.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -43,7 +43,7 @@ export default { | @@ -43,7 +43,7 @@ export default { | ||
| 43 | storeId: this.storeInfo.storeId, | 43 | storeId: this.storeInfo.storeId, |
| 44 | state: this.state | 44 | state: this.state |
| 45 | }) | 45 | }) |
| 46 | - this.$message.success(this.$t('propertyCompanyManage.updateSuccess')) | 46 | + this.$message.success(this.$t('common.operationSuccess')) |
| 47 | this.$emit('success') | 47 | this.$emit('success') |
| 48 | this.visible = false | 48 | this.visible = false |
| 49 | } catch (error) { | 49 | } catch (error) { |
src/components/system/addFeePrintPage.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('feePrintPageManage.add.title')" | 3 | :title="$t('feePrintPageManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -107,7 +107,7 @@ export default { | @@ -107,7 +107,7 @@ export default { | ||
| 107 | try { | 107 | try { |
| 108 | this.loading = true | 108 | this.loading = true |
| 109 | await saveFeePrintPage(this.formData) | 109 | await saveFeePrintPage(this.formData) |
| 110 | - this.$message.success(this.$t('feePrintPageManage.add.success')) | 110 | + this.$message.success(this.$t('common.operationSuccess')) |
| 111 | this.$emit('success') | 111 | this.$emit('success') |
| 112 | this.visible = false | 112 | this.visible = false |
| 113 | } catch (error) { | 113 | } catch (error) { |
src/components/system/addFeePrintSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('feePrintSpecManage.addTitle')" :visible.sync="visible" width="50%" @close="resetForm"> | 2 | <el-dialog :title="$t('feePrintSpecManage.addTitle')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('feePrintSpecManage.spec')" prop="specCd"> | 4 | <el-form-item :label="$t('feePrintSpecManage.spec')" prop="specCd"> |
| @@ -94,7 +94,7 @@ export default { | @@ -94,7 +94,7 @@ export default { | ||
| 94 | this.submitting = true | 94 | this.submitting = true |
| 95 | try { | 95 | try { |
| 96 | await saveFeePrintSpec(this.formData) | 96 | await saveFeePrintSpec(this.formData) |
| 97 | - this.$message.success(this.$t('feePrintSpecManage.addSuccess')) | 97 | + this.$message.success(this.$t('common.operationSuccess')) |
| 98 | this.visible = false | 98 | this.visible = false |
| 99 | this.$emit('success') | 99 | this.$emit('success') |
| 100 | } catch (error) { | 100 | } catch (error) { |
src/components/system/addMenuUser.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('menuUserManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('menuUserManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('menuUserManage.add.menu')" prop="mId"> | 4 | <el-form-item :label="$t('menuUserManage.add.menu')" prop="mId"> |
| @@ -99,7 +99,7 @@ export default { | @@ -99,7 +99,7 @@ export default { | ||
| 99 | if (valid) { | 99 | if (valid) { |
| 100 | try { | 100 | try { |
| 101 | await saveMenuUser(this.form) | 101 | await saveMenuUser(this.form) |
| 102 | - this.$message.success(this.$t('menuUserManage.add.success')) | 102 | + this.$message.success(this.$t('common.operationSuccess')) |
| 103 | this.$emit('success') | 103 | this.$emit('success') |
| 104 | this.visible = false | 104 | this.visible = false |
| 105 | } catch (error) { | 105 | } catch (error) { |
src/components/system/addPaymentPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('paymentPool.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('paymentPool.add.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('paymentPool.add.paymentName')" prop="paymentName"> | 4 | <el-form-item :label="$t('paymentPool.add.paymentName')" prop="paymentName"> |
| @@ -190,7 +190,7 @@ export default { | @@ -190,7 +190,7 @@ export default { | ||
| 190 | })) | 190 | })) |
| 191 | } | 191 | } |
| 192 | await savePaymentPool(params) | 192 | await savePaymentPool(params) |
| 193 | - this.$message.success(this.$t('paymentPool.add.success')) | 193 | + this.$message.success(this.$t('common.operationSuccess')) |
| 194 | this.visible = false | 194 | this.visible = false |
| 195 | this.$emit('success') | 195 | this.$emit('success') |
| 196 | } catch (error) { | 196 | } catch (error) { |
src/components/system/addSmallWechat.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('smallWeChatManage.addTitle')" | 3 | :title="$t('smallWeChatManage.addTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -121,7 +121,7 @@ export default { | @@ -121,7 +121,7 @@ export default { | ||
| 121 | if (valid) { | 121 | if (valid) { |
| 122 | try { | 122 | try { |
| 123 | await saveSmallWeChat(this.formData) | 123 | await saveSmallWeChat(this.formData) |
| 124 | - this.$message.success(this.$t('smallWeChatManage.addSuccess')) | 124 | + this.$message.success(this.$t('common.operationSuccess')) |
| 125 | this.visible = false | 125 | this.visible = false |
| 126 | this.$emit('success') | 126 | this.$emit('success') |
| 127 | } catch (error) { | 127 | } catch (error) { |
src/components/system/deleteDownloadTempFile.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('deleteDownloadTempFile.title')" | 3 | :title="$t('deleteDownloadTempFile.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -44,7 +44,7 @@ export default { | @@ -44,7 +44,7 @@ export default { | ||
| 44 | } | 44 | } |
| 45 | await deleteUserDownloadFile(params) | 45 | await deleteUserDownloadFile(params) |
| 46 | this.$emit('success') | 46 | this.$emit('success') |
| 47 | - this.$message.success(this.$t('deleteDownloadTempFile.deleteSuccess')) | 47 | + this.$message.success(this.$t('common.operationSuccess')) |
| 48 | this.handleClose() | 48 | this.handleClose() |
| 49 | } catch (error) { | 49 | } catch (error) { |
| 50 | this.$message.error(this.$t('deleteDownloadTempFile.deleteFailed')) | 50 | this.$message.error(this.$t('deleteDownloadTempFile.deleteFailed')) |
src/components/system/deleteFeePrintPage.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('feePrintPageManage.delete.title')" | 3 | :title="$t('feePrintPageManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -56,7 +56,7 @@ export default { | @@ -56,7 +56,7 @@ export default { | ||
| 56 | try { | 56 | try { |
| 57 | this.loading = true | 57 | this.loading = true |
| 58 | await deleteFeePrintPage(this.currentRow) | 58 | await deleteFeePrintPage(this.currentRow) |
| 59 | - this.$message.success(this.$t('feePrintPageManage.delete.success')) | 59 | + this.$message.success(this.$t('common.operationSuccess')) |
| 60 | this.$emit('success') | 60 | this.$emit('success') |
| 61 | this.visible = false | 61 | this.visible = false |
| 62 | } catch (error) { | 62 | } catch (error) { |
src/components/system/deleteFeePrintSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('feePrintSpec.deleteTitle')" | 3 | :title="$t('feePrintSpec.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -49,7 +49,7 @@ export default { | @@ -49,7 +49,7 @@ export default { | ||
| 49 | this.deleting = true | 49 | this.deleting = true |
| 50 | try { | 50 | try { |
| 51 | await deleteFeePrintSpec(this.currentItem) | 51 | await deleteFeePrintSpec(this.currentItem) |
| 52 | - this.$message.success(this.$t('feePrintSpec.deleteSuccess')) | 52 | + this.$message.success(this.$t('common.operationSuccess')) |
| 53 | this.visible = false | 53 | this.visible = false |
| 54 | this.$emit('success') | 54 | this.$emit('success') |
| 55 | } catch (error) { | 55 | } catch (error) { |
src/components/system/deleteMenuUser.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menuUserManage.delete.title')" | 3 | :title="$t('menuUserManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -35,7 +35,7 @@ export default { | @@ -35,7 +35,7 @@ export default { | ||
| 35 | async handleConfirm() { | 35 | async handleConfirm() { |
| 36 | try { | 36 | try { |
| 37 | await deleteMenuUser(this.currentData) | 37 | await deleteMenuUser(this.currentData) |
| 38 | - this.$message.success(this.$t('menuUserManage.delete.success')) | 38 | + this.$message.success(this.$t('common.operationSuccess')) |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | this.visible = false | 40 | this.visible = false |
| 41 | } catch (error) { | 41 | } catch (error) { |
src/components/system/deletePaymentPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('paymentPool.delete.title')" | 3 | :title="$t('paymentPool.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -53,7 +53,7 @@ export default { | @@ -53,7 +53,7 @@ export default { | ||
| 53 | ppId: this.ppId, | 53 | ppId: this.ppId, |
| 54 | communityId: this.communityId | 54 | communityId: this.communityId |
| 55 | }) | 55 | }) |
| 56 | - this.$message.success(this.$t('paymentPool.delete.success')) | 56 | + this.$message.success(this.$t('common.operationSuccess')) |
| 57 | this.visible = false | 57 | this.visible = false |
| 58 | this.$emit('success') | 58 | this.$emit('success') |
| 59 | } catch (error) { | 59 | } catch (error) { |
src/components/system/deleteSmallWechat.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('smallWeChatManage.deleteTitle')" | 3 | :title="$t('smallWeChatManage.deleteTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | try { | 51 | try { |
| 52 | this.loading = true | 52 | this.loading = true |
| 53 | await deleteSmallWeChat(this.formData) | 53 | await deleteSmallWeChat(this.formData) |
| 54 | - this.$message.success(this.$t('smallWeChatManage.deleteSuccess')) | 54 | + this.$message.success(this.$t('common.operationSuccess')) |
| 55 | this.visible = false | 55 | this.visible = false |
| 56 | this.$emit('success') | 56 | this.$emit('success') |
| 57 | } catch (error) { | 57 | } catch (error) { |
src/components/system/editFeePrintPage.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('feePrintPageManage.edit.title')" | 3 | :title="$t('feePrintPageManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -116,7 +116,7 @@ export default { | @@ -116,7 +116,7 @@ export default { | ||
| 116 | try { | 116 | try { |
| 117 | this.loading = true | 117 | this.loading = true |
| 118 | await updateFeePrintPage(this.formData) | 118 | await updateFeePrintPage(this.formData) |
| 119 | - this.$message.success(this.$t('feePrintPageManage.edit.success')) | 119 | + this.$message.success(this.$t('common.operationSuccess')) |
| 120 | this.$emit('success') | 120 | this.$emit('success') |
| 121 | this.visible = false | 121 | this.visible = false |
| 122 | } catch (error) { | 122 | } catch (error) { |
src/components/system/editFeePrintSpec.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('feePrintSpecManage.editTitle')" :visible.sync="visible" width="50%" @close="resetForm"> | 2 | <el-dialog :title="$t('feePrintSpecManage.editTitle')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('feePrintSpecManage.spec')" prop="specCd"> | 4 | <el-form-item :label="$t('feePrintSpecManage.spec')" prop="specCd"> |
| @@ -104,7 +104,7 @@ export default { | @@ -104,7 +104,7 @@ export default { | ||
| 104 | this.submitting = true | 104 | this.submitting = true |
| 105 | try { | 105 | try { |
| 106 | await updateFeePrintSpec(this.formData) | 106 | await updateFeePrintSpec(this.formData) |
| 107 | - this.$message.success(this.$t('feePrintSpecManage.editSuccess')) | 107 | + this.$message.success(this.$t('common.operationSuccess')) |
| 108 | this.visible = false | 108 | this.visible = false |
| 109 | this.$emit('success') | 109 | this.$emit('success') |
| 110 | } catch (error) { | 110 | } catch (error) { |
src/components/system/editPaymentPool.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('paymentPool.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> | 2 | <el-dialog :title="$t('paymentPool.edit.title')" :visible.sync="visible" width="50%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" class="text-left"> |
| 4 | <el-form-item :label="$t('paymentPool.edit.paymentName')" prop="paymentName"> | 4 | <el-form-item :label="$t('paymentPool.edit.paymentName')" prop="paymentName"> |
| @@ -237,7 +237,7 @@ export default { | @@ -237,7 +237,7 @@ export default { | ||
| 237 | })) | 237 | })) |
| 238 | } | 238 | } |
| 239 | await updatePaymentPool(params) | 239 | await updatePaymentPool(params) |
| 240 | - this.$message.success(this.$t('paymentPool.edit.success')) | 240 | + this.$message.success(this.$t('common.operationSuccess')) |
| 241 | this.visible = false | 241 | this.visible = false |
| 242 | this.$emit('success') | 242 | this.$emit('success') |
| 243 | } catch (error) { | 243 | } catch (error) { |
src/components/system/editSmallWechat.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('smallWeChatManage.editTitle')" | 3 | :title="$t('smallWeChatManage.editTitle')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -121,7 +121,7 @@ export default { | @@ -121,7 +121,7 @@ export default { | ||
| 121 | if (valid) { | 121 | if (valid) { |
| 122 | try { | 122 | try { |
| 123 | await updateSmallWeChat(this.formData) | 123 | await updateSmallWeChat(this.formData) |
| 124 | - this.$message.success(this.$t('smallWeChatManage.editSuccess')) | 124 | + this.$message.success(this.$t('common.operationSuccess')) |
| 125 | this.visible = false | 125 | this.visible = false |
| 126 | this.$emit('success') | 126 | this.$emit('success') |
| 127 | } catch (error) { | 127 | } catch (error) { |
src/components/system/editStoreAttr.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editStoreAttr.title')" :visible.sync="visible" width="60%" @close="handleClose"> | 2 | <el-dialog :title="$t('editStoreAttr.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | <el-form-item :label="form.name"> | 4 | <el-form-item :label="form.name"> |
| @@ -64,7 +64,7 @@ export default { | @@ -64,7 +64,7 @@ export default { | ||
| 64 | if (valid) { | 64 | if (valid) { |
| 65 | try { | 65 | try { |
| 66 | await updateStoreAttr(this.form) | 66 | await updateStoreAttr(this.form) |
| 67 | - this.$message.success(this.$t('common.saveSuccess')) | 67 | + this.$message.success(this.$t('common.operationSuccess')) |
| 68 | this.visible = false | 68 | this.visible = false |
| 69 | this.$emit('success') | 69 | this.$emit('success') |
| 70 | } catch (error) { | 70 | } catch (error) { |
src/components/system/editStoreInfo.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('editStoreInfo.title')" :visible.sync="visible" width="60%" @close="handleClose"> | 2 | <el-dialog :title="$t('editStoreInfo.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> | 3 | <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right"> |
| 4 | <el-form-item :label="$t('editStoreInfo.storeName')" prop="name"> | 4 | <el-form-item :label="$t('editStoreInfo.storeName')" prop="name"> |
| @@ -96,7 +96,7 @@ export default { | @@ -96,7 +96,7 @@ export default { | ||
| 96 | if (valid) { | 96 | if (valid) { |
| 97 | try { | 97 | try { |
| 98 | await updateStoreInfo(this.form) | 98 | await updateStoreInfo(this.form) |
| 99 | - this.$message.success(this.$t('common.saveSuccess')) | 99 | + this.$message.success(this.$t('common.operationSuccess')) |
| 100 | this.visible = false | 100 | this.visible = false |
| 101 | this.$emit('success') | 101 | this.$emit('success') |
| 102 | } catch (error) { | 102 | } catch (error) { |
src/components/tenant/AddApiType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('apiType.dialog.addTitle')" | 3 | :title="$t('apiType.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -71,7 +71,7 @@ export default { | @@ -71,7 +71,7 @@ export default { | ||
| 71 | try { | 71 | try { |
| 72 | await this.$refs.form.validate() | 72 | await this.$refs.form.validate() |
| 73 | await addApiType(this.form) | 73 | await addApiType(this.form) |
| 74 | - this.$message.success(this.$t('apiType.add.success')) | 74 | + this.$message.success(this.$t('common.operationSuccess')) |
| 75 | this.handleClose() | 75 | this.handleClose() |
| 76 | this.$emit('success') | 76 | this.$emit('success') |
| 77 | } catch (error) { | 77 | } catch (error) { |
src/components/tenant/AddHcApi.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('hcApi.dialog.addTitle')" | 3 | :title="$t('hcApi.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -114,7 +114,7 @@ export default { | @@ -114,7 +114,7 @@ export default { | ||
| 114 | this.form.typeId = this.typeId; | 114 | this.form.typeId = this.typeId; |
| 115 | await this.$refs.form.validate() | 115 | await this.$refs.form.validate() |
| 116 | await addHcApi(this.form) | 116 | await addHcApi(this.form) |
| 117 | - this.$message.success(this.$t('hcApi.add.success')) | 117 | + this.$message.success(this.$t('common.operationSuccess')) |
| 118 | this.handleClose() | 118 | this.handleClose() |
| 119 | this.$emit('success') | 119 | this.$emit('success') |
| 120 | } catch (error) { | 120 | } catch (error) { |
src/components/tenant/AddHcApp.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('hcApp.dialog.addTitle')" | 3 | :title="$t('hcApp.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -106,7 +106,7 @@ export default { | @@ -106,7 +106,7 @@ export default { | ||
| 106 | try { | 106 | try { |
| 107 | await this.$refs.form.validate() | 107 | await this.$refs.form.validate() |
| 108 | await addHcApp(this.form) | 108 | await addHcApp(this.form) |
| 109 | - this.$message.success(this.$t('hcApp.add.success')) | 109 | + this.$message.success(this.$t('common.operationSuccess')) |
| 110 | this.handleClose() | 110 | this.handleClose() |
| 111 | this.$emit('success') | 111 | this.$emit('success') |
| 112 | } catch (error) { | 112 | } catch (error) { |
src/components/tenant/Addtenant.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('tenant.dialog.addTitle')" | 3 | :title="$t('tenant.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -98,7 +98,7 @@ export default { | @@ -98,7 +98,7 @@ export default { | ||
| 98 | try { | 98 | try { |
| 99 | await this.$refs.form.validate() | 99 | await this.$refs.form.validate() |
| 100 | await addTenant(this.form) | 100 | await addTenant(this.form) |
| 101 | - this.$message.success(this.$t('tenant.add.success')) | 101 | + this.$message.success(this.$t('common.operationSuccess')) |
| 102 | this.handleClose() | 102 | this.handleClose() |
| 103 | this.$emit('success') | 103 | this.$emit('success') |
| 104 | } catch (error) { | 104 | } catch (error) { |
src/components/tenant/DelApiType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('apiType.dialog.delTitle')" | 3 | :title="$t('apiType.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteApiType(this.typeId) | 56 | await deleteApiType(this.typeId) |
| 57 | - this.$message.success(this.$t('apiType.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/tenant/DelAppApi.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('appApi.dialog.delTitle')" | 3 | :title="$t('appApi.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteAppApi(this.aaId) | 56 | await deleteAppApi(this.aaId) |
| 57 | - this.$message.success(this.$t('appApi.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/tenant/DelHcApi.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('hcApi.dialog.delTitle')" | 3 | :title="$t('hcApi.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteHcApi(this.apiId) | 56 | await deleteHcApi(this.apiId) |
| 57 | - this.$message.success(this.$t('hcApi.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/tenant/DelHcApp.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('hcApp.dialog.delTitle')" | 3 | :title="$t('hcApp.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteHcApp(this.appId) | 56 | await deleteHcApp(this.appId) |
| 57 | - this.$message.success(this.$t('hcApp.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/tenant/Deltenant.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('tenant.dialog.delTitle')" | 3 | :title="$t('tenant.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteTenant(this.tenantId) | 56 | await deleteTenant(this.tenantId) |
| 57 | - this.$message.success(this.$t('tenant.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/tenant/EditApiType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('apiType.dialog.editTitle')" | 3 | :title="$t('apiType.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -86,7 +86,7 @@ export default { | @@ -86,7 +86,7 @@ export default { | ||
| 86 | try { | 86 | try { |
| 87 | await this.$refs.form.validate() | 87 | await this.$refs.form.validate() |
| 88 | await updateApiType(this.form) | 88 | await updateApiType(this.form) |
| 89 | - this.$message.success(this.$t('apiType.edit.success')) | 89 | + this.$message.success(this.$t('common.operationSuccess')) |
| 90 | this.handleClose() | 90 | this.handleClose() |
| 91 | this.$emit('success') | 91 | this.$emit('success') |
| 92 | } catch (error) { | 92 | } catch (error) { |
src/components/tenant/EditHcApi.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('hcApi.dialog.editTitle')" | 3 | :title="$t('hcApi.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -146,7 +146,7 @@ export default { | @@ -146,7 +146,7 @@ export default { | ||
| 146 | try { | 146 | try { |
| 147 | await this.$refs.form.validate() | 147 | await this.$refs.form.validate() |
| 148 | await updateHcApi(this.form) | 148 | await updateHcApi(this.form) |
| 149 | - this.$message.success(this.$t('hcApi.edit.success')) | 149 | + this.$message.success(this.$t('common.operationSuccess')) |
| 150 | this.handleClose() | 150 | this.handleClose() |
| 151 | this.$emit('success') | 151 | this.$emit('success') |
| 152 | } catch (error) { | 152 | } catch (error) { |
src/components/tenant/EditHcApp.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('hcApp.dialog.editTitle')" | 3 | :title="$t('hcApp.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -117,7 +117,7 @@ export default { | @@ -117,7 +117,7 @@ export default { | ||
| 117 | try { | 117 | try { |
| 118 | await this.$refs.form.validate() | 118 | await this.$refs.form.validate() |
| 119 | await updateHcApp(this.form) | 119 | await updateHcApp(this.form) |
| 120 | - this.$message.success(this.$t('hcApp.edit.success')) | 120 | + this.$message.success(this.$t('common.operationSuccess')) |
| 121 | this.handleClose() | 121 | this.handleClose() |
| 122 | this.$emit('success') | 122 | this.$emit('success') |
| 123 | } catch (error) { | 123 | } catch (error) { |
src/components/tenant/Edittenant.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('tenant.dialog.editTitle')" | 3 | :title="$t('tenant.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -105,7 +105,7 @@ export default { | @@ -105,7 +105,7 @@ export default { | ||
| 105 | try { | 105 | try { |
| 106 | await this.$refs.form.validate() | 106 | await this.$refs.form.validate() |
| 107 | await updateTenant(this.form) | 107 | await updateTenant(this.form) |
| 108 | - this.$message.success(this.$t('tenant.edit.success')) | 108 | + this.$message.success(this.$t('common.operationSuccess')) |
| 109 | this.handleClose() | 109 | this.handleClose() |
| 110 | this.$emit('success') | 110 | this.$emit('success') |
| 111 | } catch (error) { | 111 | } catch (error) { |
src/components/upload/FileUpload.vue
| 1 | -<!-- src/components/upload/FileUpload.vue --> | 1 | +<!-- src/components/upload/FileUpload.vue --> |
| 2 | <template> | 2 | <template> |
| 3 | <div> | 3 | <div> |
| 4 | <el-upload :action="uploadUrl" :headers="headers" :on-success="handleSuccess" :on-error="handleError" | 4 | <el-upload :action="uploadUrl" :headers="headers" :on-success="handleSuccess" :on-error="handleError" |
| @@ -47,7 +47,7 @@ export default { | @@ -47,7 +47,7 @@ export default { | ||
| 47 | const fileUrl = response.url || response.path | 47 | const fileUrl = response.url || response.path |
| 48 | this.$emit('input', fileUrl) | 48 | this.$emit('input', fileUrl) |
| 49 | this.$emit('success', fileUrl) | 49 | this.$emit('success', fileUrl) |
| 50 | - this.$message.success(this.$t('upload.success')) | 50 | + this.$message.success(this.$t('common.operationSuccess')) |
| 51 | } else { | 51 | } else { |
| 52 | this.$message.error(response.msg || this.$t('upload.error')) | 52 | this.$message.error(response.msg || this.$t('upload.error')) |
| 53 | } | 53 | } |
src/components/upload/uploadFile.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="upload-file-wrapper"> | 2 | <div class="upload-file-wrapper"> |
| 3 | <div class="progress" v-if="progress > 0"> | 3 | <div class="progress" v-if="progress > 0"> |
| 4 | <el-progress :percentage="progress" :stroke-width="2" /> | 4 | <el-progress :percentage="progress" :stroke-width="2" /> |
| @@ -80,7 +80,7 @@ export default { | @@ -80,7 +80,7 @@ export default { | ||
| 80 | this.$emit(this.callBackFunction, data) | 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 | } catch (error) { | 84 | } catch (error) { |
| 85 | this.$message.error(this.$t('uploadFile.error')) | 85 | this.$message.error(this.$t('uploadFile.error')) |
| 86 | console.error('上传文件失败:', error) | 86 | console.error('上传文件失败:', error) |
src/components/user/AddMenu.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menu.dialog.addTitle')" | 3 | :title="$t('menu.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -119,7 +119,7 @@ export default { | @@ -119,7 +119,7 @@ export default { | ||
| 119 | try { | 119 | try { |
| 120 | await this.$refs.form.validate() | 120 | await this.$refs.form.validate() |
| 121 | await addMenu(this.form) | 121 | await addMenu(this.form) |
| 122 | - this.$message.success(this.$t('menu.add.success')) | 122 | + this.$message.success(this.$t('common.operationSuccess')) |
| 123 | this.handleClose() | 123 | this.handleClose() |
| 124 | this.$emit('success') | 124 | this.$emit('success') |
| 125 | } catch (error) { | 125 | } catch (error) { |
src/components/user/AddMenuGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menuGroup.dialog.addTitle')" | 3 | :title="$t('menuGroup.dialog.addTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -104,7 +104,7 @@ export default { | @@ -104,7 +104,7 @@ export default { | ||
| 104 | try { | 104 | try { |
| 105 | await this.$refs.form.validate() | 105 | await this.$refs.form.validate() |
| 106 | await addMenuGroup(this.form) | 106 | await addMenuGroup(this.form) |
| 107 | - this.$message.success(this.$t('menuGroup.add.success')) | 107 | + this.$message.success(this.$t('common.operationSuccess')) |
| 108 | this.handleClose() | 108 | this.handleClose() |
| 109 | this.$emit('success') | 109 | this.$emit('success') |
| 110 | } catch (error) { | 110 | } catch (error) { |
src/components/user/DelMenu.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menu.dialog.delTitle')" | 3 | :title="$t('menu.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteMenu(this.mId) | 56 | await deleteMenu(this.mId) |
| 57 | - this.$message.success(this.$t('menu.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/user/DelMenuGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menuGroup.dialog.delTitle')" | 3 | :title="$t('menuGroup.dialog.delTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -54,7 +54,7 @@ export default { | @@ -54,7 +54,7 @@ export default { | ||
| 54 | async handleConfirm() { | 54 | async handleConfirm() { |
| 55 | try { | 55 | try { |
| 56 | await deleteMenuGroup(this.menuGroupId) | 56 | await deleteMenuGroup(this.menuGroupId) |
| 57 | - this.$message.success(this.$t('menuGroup.delete.success')) | 57 | + this.$message.success(this.$t('common.operationSuccess')) |
| 58 | this.handleClose() | 58 | this.handleClose() |
| 59 | this.$emit('success') | 59 | this.$emit('success') |
| 60 | } catch (error) { | 60 | } catch (error) { |
src/components/user/EditMenu.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menu.dialog.editTitle')" | 3 | :title="$t('menu.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -128,7 +128,7 @@ export default { | @@ -128,7 +128,7 @@ export default { | ||
| 128 | try { | 128 | try { |
| 129 | await this.$refs.form.validate() | 129 | await this.$refs.form.validate() |
| 130 | await updateMenu(this.form) | 130 | await updateMenu(this.form) |
| 131 | - this.$message.success(this.$t('menu.edit.success')) | 131 | + this.$message.success(this.$t('common.operationSuccess')) |
| 132 | this.handleClose() | 132 | this.handleClose() |
| 133 | this.$emit('success') | 133 | this.$emit('success') |
| 134 | } catch (error) { | 134 | } catch (error) { |
src/components/user/EditMenuGroup.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('menuGroup.dialog.editTitle')" | 3 | :title="$t('menuGroup.dialog.editTitle')" |
| 4 | :visible.sync="dialogVisible" | 4 | :visible.sync="dialogVisible" |
| @@ -112,7 +112,7 @@ export default { | @@ -112,7 +112,7 @@ export default { | ||
| 112 | try { | 112 | try { |
| 113 | await this.$refs.form.validate() | 113 | await this.$refs.form.validate() |
| 114 | await updateMenuGroup(this.form) | 114 | await updateMenuGroup(this.form) |
| 115 | - this.$message.success(this.$t('menuGroup.edit.success')) | 115 | + this.$message.success(this.$t('common.operationSuccess')) |
| 116 | this.handleClose() | 116 | this.handleClose() |
| 117 | this.$emit('success') | 117 | this.$emit('success') |
| 118 | } catch (error) { | 118 | } catch (error) { |
src/components/work/AddRepairSetting.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('repairSetting.addTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> | 2 | <el-dialog :title="$t('repairSetting.addTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px"> |
| 4 | <el-row> | 4 | <el-row> |
| @@ -203,7 +203,7 @@ export default { | @@ -203,7 +203,7 @@ export default { | ||
| 203 | if (valid) { | 203 | if (valid) { |
| 204 | try { | 204 | try { |
| 205 | await saveRepairSetting(this.formData) | 205 | await saveRepairSetting(this.formData) |
| 206 | - this.$message.success(this.$t('common.submitSuccess')) | 206 | + this.$message.success(this.$t('common.operationSuccess')) |
| 207 | this.$emit('success') | 207 | this.$emit('success') |
| 208 | this.closeDialog() | 208 | this.closeDialog() |
| 209 | } catch (error) { | 209 | } catch (error) { |
src/components/work/AppraiseRepair.vue
src/components/work/DeleteRepairSetting.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('repairSetting.confirmDeleteTitle')" :visible.sync="visible" width="30%" center> | 2 | <el-dialog :title="$t('repairSetting.confirmDeleteTitle')" :visible.sync="visible" width="30%" center> |
| 3 | <div style="text-align: center"> | 3 | <div style="text-align: center"> |
| 4 | <p>{{ $t('repairSetting.confirmDeleteContent') }} [{{ currentRow.repairTypeName }}]?</p> | 4 | <p>{{ $t('repairSetting.confirmDeleteContent') }} [{{ currentRow.repairTypeName }}]?</p> |
| @@ -35,7 +35,7 @@ export default { | @@ -35,7 +35,7 @@ export default { | ||
| 35 | async confirmDelete() { | 35 | async confirmDelete() { |
| 36 | try { | 36 | try { |
| 37 | await deleteRepairSetting(this.currentRow.settingId) | 37 | await deleteRepairSetting(this.currentRow.settingId) |
| 38 | - this.$message.success(this.$t('common.submitSuccess')) | 38 | + this.$message.success(this.$t('common.operationSuccess')) |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | this.closeDialog() | 40 | this.closeDialog() |
| 41 | } catch (error) { | 41 | } catch (error) { |
src/components/work/DeleteRepairTypeUser.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :visible="visible" | 3 | :visible="visible" |
| 4 | :title="$t('deleteRepairTypeUser.title')" | 4 | :title="$t('deleteRepairTypeUser.title')" |
| @@ -46,7 +46,7 @@ export default { | @@ -46,7 +46,7 @@ export default { | ||
| 46 | 46 | ||
| 47 | const response = await deleteRepairTypeUser(data) | 47 | const response = await deleteRepairTypeUser(data) |
| 48 | if (response.code === 0) { | 48 | if (response.code === 0) { |
| 49 | - this.$message.success(this.$t('common.deleteSuccess')) | 49 | + this.$message.success(this.$t('common.operationSuccess')) |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | this.handleClose() | 51 | this.handleClose() |
| 52 | } else { | 52 | } else { |
src/components/work/EditRepairSetting.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('repairSetting.editTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> | 2 | <el-dialog :title="$t('repairSetting.editTitle')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="150px"> |
| 4 | <el-row> | 4 | <el-row> |
| @@ -191,7 +191,7 @@ export default { | @@ -191,7 +191,7 @@ export default { | ||
| 191 | if (valid) { | 191 | if (valid) { |
| 192 | try { | 192 | try { |
| 193 | await updateRepairSetting(this.formData) | 193 | await updateRepairSetting(this.formData) |
| 194 | - this.$message.success(this.$t('common.submitSuccess')) | 194 | + this.$message.success(this.$t('common.operationSuccess')) |
| 195 | this.$emit('success') | 195 | this.$emit('success') |
| 196 | this.closeDialog() | 196 | this.closeDialog() |
| 197 | } catch (error) { | 197 | } catch (error) { |
src/components/work/EditRepairTypeUser.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :visible="visible" :title="$t('editRepairTypeUser.title')" width="40%" @close="handleClose"> | 2 | <el-dialog :visible="visible" :title="$t('editRepairTypeUser.title')" width="40%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="form" label-width="120px"> | 3 | <el-form ref="form" :model="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('editRepairTypeUser.status')" prop="state" required> | 4 | <el-form-item :label="$t('editRepairTypeUser.status')" prop="state" required> |
| @@ -69,7 +69,7 @@ export default { | @@ -69,7 +69,7 @@ export default { | ||
| 69 | 69 | ||
| 70 | const response = await updateRepairTypeUser(data) | 70 | const response = await updateRepairTypeUser(data) |
| 71 | if (response.code === 0) { | 71 | if (response.code === 0) { |
| 72 | - this.$message.success(this.$t('common.saveSuccess')) | 72 | + this.$message.success(this.$t('common.operationSuccess')) |
| 73 | this.$emit('success') | 73 | this.$emit('success') |
| 74 | this.handleClose() | 74 | this.handleClose() |
| 75 | } else { | 75 | } else { |
src/components/work/ReplyRepairAppraise.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('adminRepairDetail.replyAppraise')" | 3 | :title="$t('adminRepairDetail.replyAppraise')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -62,7 +62,7 @@ export default { | @@ -62,7 +62,7 @@ export default { | ||
| 62 | ...this.form, | 62 | ...this.form, |
| 63 | communityId: this.getCommunityId() | 63 | communityId: this.getCommunityId() |
| 64 | }) | 64 | }) |
| 65 | - this.$message.success(this.$t('adminRepairDetail.replySuccess')) | 65 | + this.$message.success(this.$t('common.operationSuccess')) |
| 66 | this.visible = false | 66 | this.visible = false |
| 67 | this.$emit('success') | 67 | this.$emit('success') |
| 68 | } catch (error) { | 68 | } catch (error) { |
src/components/work/StartRepair.vue
src/components/work/StopRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('repairDispatchManage.pause')" :visible.sync="visible" width="50%" @close="resetForm"> | 2 | <el-dialog :title="$t('repairDispatchManage.pause')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | <el-form :model="form" ref="form" label-width="120px"> | 3 | <el-form :model="form" ref="form" label-width="120px"> |
| 4 | <el-form-item :label="$t('repairDispatchManage.pauseReason')" prop="remark" | 4 | <el-form-item :label="$t('repairDispatchManage.pauseReason')" prop="remark" |
src/components/work/addItemReleaseType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('itemReleaseTypeManage.add.title')" | 3 | :title="$t('itemReleaseTypeManage.add.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -87,7 +87,7 @@ export default { | @@ -87,7 +87,7 @@ export default { | ||
| 87 | if (valid) { | 87 | if (valid) { |
| 88 | try { | 88 | try { |
| 89 | await saveItemReleaseType(this.form) | 89 | await saveItemReleaseType(this.form) |
| 90 | - this.$message.success(this.$t('itemReleaseTypeManage.add.success')) | 90 | + this.$message.success(this.$t('common.operationSuccess')) |
| 91 | this.visible = false | 91 | this.visible = false |
| 92 | this.$emit('success') | 92 | this.$emit('success') |
| 93 | } catch (error) { | 93 | } catch (error) { |
src/components/work/addOwnerRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('addOwnerRepair.title')" :visible.sync="visible" width="50%" @close="closeDialog"> | 2 | <el-dialog :title="$t('addOwnerRepair.title')" :visible.sync="visible" width="50%" @close="closeDialog"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px"> |
| 4 | <el-form-item :label="$t('addOwnerRepair.repairScope')" prop="repairObjType" required> | 4 | <el-form-item :label="$t('addOwnerRepair.repairScope')" prop="repairObjType" required> |
| @@ -211,7 +211,7 @@ export default { | @@ -211,7 +211,7 @@ export default { | ||
| 211 | if (valid) { | 211 | if (valid) { |
| 212 | ownerRepairManageApi.saveOwnerRepair(this.formData).then(res => { | 212 | ownerRepairManageApi.saveOwnerRepair(this.formData).then(res => { |
| 213 | if (res.code === 0) { | 213 | if (res.code === 0) { |
| 214 | - this.$message.success(this.$t('common.addSuccess')) | 214 | + this.$message.success(this.$t('common.operationSuccess')) |
| 215 | this.visible = false | 215 | this.visible = false |
| 216 | this.$emit('success') | 216 | this.$emit('success') |
| 217 | } else { | 217 | } else { |
src/components/work/deleteItemRelease.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('common.confirmOperation')" | 3 | :title="$t('common.confirmOperation')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -49,7 +49,7 @@ export default { | @@ -49,7 +49,7 @@ export default { | ||
| 49 | async handleConfirm() { | 49 | async handleConfirm() { |
| 50 | try { | 50 | try { |
| 51 | await deleteItemRelease(this.currentItem) | 51 | await deleteItemRelease(this.currentItem) |
| 52 | - this.$message.success(this.$t('common.deleteSuccess')) | 52 | + this.$message.success(this.$t('common.operationSuccess')) |
| 53 | this.$emit('success') | 53 | this.$emit('success') |
| 54 | this.visible = false | 54 | this.visible = false |
| 55 | } catch (error) { | 55 | } catch (error) { |
src/components/work/deleteItemReleaseType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('itemReleaseTypeManage.delete.title')" | 3 | :title="$t('itemReleaseTypeManage.delete.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -45,7 +45,7 @@ export default { | @@ -45,7 +45,7 @@ export default { | ||
| 45 | async handleConfirm() { | 45 | async handleConfirm() { |
| 46 | try { | 46 | try { |
| 47 | await deleteItemReleaseType(this.form) | 47 | await deleteItemReleaseType(this.form) |
| 48 | - this.$message.success(this.$t('itemReleaseTypeManage.delete.success')) | 48 | + this.$message.success(this.$t('common.operationSuccess')) |
| 49 | this.visible = false | 49 | this.visible = false |
| 50 | this.$emit('success') | 50 | this.$emit('success') |
| 51 | } catch (error) { | 51 | } catch (error) { |
src/components/work/deleteOwnerRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('common.delete')" :visible.sync="visible" width="30%"> | 2 | <el-dialog :title="$t('common.delete')" :visible.sync="visible" width="30%"> |
| 3 | <p>{{ $t('common.deleteConfirm') }}</p> | 3 | <p>{{ $t('common.deleteConfirm') }}</p> |
| 4 | 4 | ||
| @@ -34,7 +34,7 @@ export default { | @@ -34,7 +34,7 @@ export default { | ||
| 34 | communityId: getCommunityId() | 34 | communityId: getCommunityId() |
| 35 | }) | 35 | }) |
| 36 | 36 | ||
| 37 | - this.$message.success(this.$t('common.deleteSuccess')) | 37 | + this.$message.success(this.$t('common.operationSuccess')) |
| 38 | this.visible = false | 38 | this.visible = false |
| 39 | this.$emit('success') | 39 | this.$emit('success') |
| 40 | } catch (error) { | 40 | } catch (error) { |
src/components/work/dispatchRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('repairPoolManage.dispatch')" :visible.sync="visible" width="50%" @close="resetForm"> | 2 | <el-dialog :title="$t('repairPoolManage.dispatch')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item v-if="formData.action === 'BACK'" :label="$t('repairPoolManage.repairPerson')" prop="staffName"> | 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 | <el-dialog :title="$t('itemReleaseManage.edit.title')" :visible.sync="visible" width="60%" @close="handleClose"> | 2 | <el-dialog :title="$t('itemReleaseManage.edit.title')" :visible.sync="visible" width="60%" @close="handleClose"> |
| 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right"> | 3 | <el-form ref="form" :model="formData" :rules="rules" label-width="120px" label-position="right"> |
| 4 | <el-form-item :label="$t('itemReleaseManage.form.releaseType')" prop="typeId"> | 4 | <el-form-item :label="$t('itemReleaseManage.form.releaseType')" prop="typeId"> |
| @@ -175,7 +175,7 @@ export default { | @@ -175,7 +175,7 @@ export default { | ||
| 175 | if (valid) { | 175 | if (valid) { |
| 176 | try { | 176 | try { |
| 177 | await updateItemRelease(this.formData) | 177 | await updateItemRelease(this.formData) |
| 178 | - this.$message.success(this.$t('common.updateSuccess')) | 178 | + this.$message.success(this.$t('common.operationSuccess')) |
| 179 | this.$emit('success') | 179 | this.$emit('success') |
| 180 | this.visible = false | 180 | this.visible = false |
| 181 | } catch (error) { | 181 | } catch (error) { |
src/components/work/editItemReleaseType.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog | 2 | <el-dialog |
| 3 | :title="$t('itemReleaseTypeManage.edit.title')" | 3 | :title="$t('itemReleaseTypeManage.edit.title')" |
| 4 | :visible.sync="visible" | 4 | :visible.sync="visible" |
| @@ -93,7 +93,7 @@ export default { | @@ -93,7 +93,7 @@ export default { | ||
| 93 | if (valid) { | 93 | if (valid) { |
| 94 | try { | 94 | try { |
| 95 | await updateItemReleaseType(this.form) | 95 | await updateItemReleaseType(this.form) |
| 96 | - this.$message.success(this.$t('itemReleaseTypeManage.edit.success')) | 96 | + this.$message.success(this.$t('common.operationSuccess')) |
| 97 | this.visible = false | 97 | this.visible = false |
| 98 | this.$emit('success') | 98 | this.$emit('success') |
| 99 | } catch (error) { | 99 | } catch (error) { |
src/components/work/editOwnerRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('repairPoolManage.modify')" :visible.sync="visible" width="50%" @close="resetForm"> | 2 | <el-dialog :title="$t('repairPoolManage.modify')" :visible.sync="visible" width="50%" @close="resetForm"> |
| 3 | <el-form ref="form" :model="formData" label-width="120px"> | 3 | <el-form ref="form" :model="formData" label-width="120px"> |
| 4 | <el-form-item :label="$t('repairPoolManage.repairType')" prop="repairType" | 4 | <el-form-item :label="$t('repairPoolManage.repairType')" prop="repairType" |
| @@ -109,7 +109,7 @@ export default { | @@ -109,7 +109,7 @@ export default { | ||
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | await updateOwnerRepair(data) | 111 | await updateOwnerRepair(data) |
| 112 | - this.$message.success(this.$t('common.updateSuccess')) | 112 | + this.$message.success(this.$t('common.operationSuccess')) |
| 113 | this.visible = false | 113 | this.visible = false |
| 114 | this.$emit('success') | 114 | this.$emit('success') |
| 115 | } catch (error) { | 115 | } catch (error) { |
src/components/work/endRepair.vue
src/components/work/visitOwnerRepair.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-dialog :title="$t('repairReturnVisit.visitTitle')" :visible.sync="visible" width="600px" @close="resetForm"> | 2 | <el-dialog :title="$t('repairReturnVisit.visitTitle')" :visible.sync="visible" width="600px" @close="resetForm"> |
| 3 | <el-form ref="visitForm" :model="formData" :rules="rules" label-width="100px" label-position="right"> | 3 | <el-form ref="visitForm" :model="formData" :rules="rules" label-width="100px" label-position="right"> |
| 4 | <el-form-item :label="$t('repairReturnVisit.satisfaction')" prop="visitType"> | 4 | <el-form-item :label="$t('repairReturnVisit.satisfaction')" prop="visitType"> |
| @@ -68,7 +68,7 @@ export default { | @@ -68,7 +68,7 @@ export default { | ||
| 68 | if (valid) { | 68 | if (valid) { |
| 69 | try { | 69 | try { |
| 70 | await saveRepairReturnVisit(this.formData) | 70 | await saveRepairReturnVisit(this.formData) |
| 71 | - this.$message.success(this.$t('common.submitSuccess')) | 71 | + this.$message.success(this.$t('common.operationSuccess')) |
| 72 | this.visible = false | 72 | this.visible = false |
| 73 | this.$emit('success') | 73 | this.$emit('success') |
| 74 | } catch (error) { | 74 | } catch (error) { |
src/views/account/printSmallAccountReceiptList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="printSmallAccountReceipt-container"> | 2 | <div class="printSmallAccountReceipt-container"> |
| 3 | <div class="print_container"> | 3 | <div class="print_container"> |
| 4 | <div style="color:#000;font-size:32px" class="text-center"> | 4 | <div style="color:#000;font-size:32px" class="text-center"> |
| @@ -206,7 +206,7 @@ export default { | @@ -206,7 +206,7 @@ export default { | ||
| 206 | } | 206 | } |
| 207 | }, | 207 | }, |
| 208 | handleCloudPrintSuccess() { | 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 | <el-card class="box-card"> | 2 | <el-card class="box-card"> |
| 3 | <div slot="header" class=" flex justify-between"> | 3 | <div slot="header" class=" flex justify-between"> |
| 4 | <div>{{ $t('addParkingSpaceApply.title') }}</div> | 4 | <div>{{ $t('addParkingSpaceApply.title') }}</div> |
| @@ -168,7 +168,7 @@ export default { | @@ -168,7 +168,7 @@ export default { | ||
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | await saveParkingSpaceApply(data) | 170 | await saveParkingSpaceApply(data) |
| 171 | - this.$message.success(this.$t('common.submitSuccess')) | 171 | + this.$message.success(this.$t('common.operationSuccess')) |
| 172 | this.clearAddParkingSpaceApplyInfo() | 172 | this.clearAddParkingSpaceApplyInfo() |
| 173 | this._goBack() | 173 | this._goBack() |
| 174 | } catch (error) { | 174 | } catch (error) { |
src/views/car/auditParkingSpaceApply.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="audit-container"> | 2 | <div class="audit-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class=" flex justify-between"> | 4 | <div slot="header" class=" flex justify-between"> |
| @@ -214,7 +214,7 @@ export default { | @@ -214,7 +214,7 @@ export default { | ||
| 214 | } | 214 | } |
| 215 | 215 | ||
| 216 | await auditParkingSpaceApply(data) | 216 | await auditParkingSpaceApply(data) |
| 217 | - this.$message.success(this.$t('common.submitSuccess')) | 217 | + this.$message.success(this.$t('common.operationSuccess')) |
| 218 | this.goBack() | 218 | this.goBack() |
| 219 | } catch (error) { | 219 | } catch (error) { |
| 220 | this.$message.error(this.$t('common.submitFailed')) | 220 | this.$message.error(this.$t('common.submitFailed')) |
src/views/car/carAddParkingSpaceList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="app-container"> | 2 | <div class="app-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -159,7 +159,7 @@ export default { | @@ -159,7 +159,7 @@ export default { | ||
| 159 | 159 | ||
| 160 | const res = await addCarParkingSpace(data) | 160 | const res = await addCarParkingSpace(data) |
| 161 | if (res.code === 0) { | 161 | if (res.code === 0) { |
| 162 | - this.$message.success(this.$t('carAddParkingSpace.submitSuccess')) | 162 | + this.$message.success(this.$t('common.operationSuccess')) |
| 163 | this.$router.go(-1) | 163 | this.$router.go(-1) |
| 164 | } else { | 164 | } else { |
| 165 | this.$message.error(res.msg || this.$t('carAddParkingSpace.submitFailed')) | 165 | this.$message.error(res.msg || this.$t('carAddParkingSpace.submitFailed')) |
src/views/car/hireParkingSpaceList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-card class="box-card margin"> | 3 | <el-card class="box-card margin"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -286,7 +286,7 @@ export default { | @@ -286,7 +286,7 @@ export default { | ||
| 286 | } | 286 | } |
| 287 | 287 | ||
| 288 | await saveOwnerCar(params) | 288 | await saveOwnerCar(params) |
| 289 | - this.$message.success(this.$t('hireParkingSpace.saveSuccess')) | 289 | + this.$message.success(this.$t('common.operationSuccess')) |
| 290 | this.goBack() | 290 | this.goBack() |
| 291 | } catch (error) { | 291 | } catch (error) { |
| 292 | console.error('保存失败:', error) | 292 | console.error('保存失败:', error) |
src/views/car/listOwnerCarList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="list-owner-car-container"> | 2 | <div class="list-owner-car-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="3"> | 4 | <el-col :span="3"> |
| @@ -298,7 +298,7 @@ export default { | @@ -298,7 +298,7 @@ export default { | ||
| 298 | }).then(async () => { | 298 | }).then(async () => { |
| 299 | try { | 299 | try { |
| 300 | await deleteCarParkingSpace(car) | 300 | await deleteCarParkingSpace(car) |
| 301 | - this.$message.success(this.$t('listOwnerCar.releaseSuccess')) | 301 | + this.$message.success(this.$t('common.operationSuccess')) |
| 302 | this.listOwnerCarData() | 302 | this.listOwnerCarData() |
| 303 | } catch (error) { | 303 | } catch (error) { |
| 304 | console.error('释放车位失败:', error) | 304 | console.error('释放车位失败:', error) |
| @@ -342,7 +342,7 @@ export default { | @@ -342,7 +342,7 @@ export default { | ||
| 342 | pagePath: 'exportOwnerCar' | 342 | pagePath: 'exportOwnerCar' |
| 343 | } | 343 | } |
| 344 | await exportData(params) | 344 | await exportData(params) |
| 345 | - this.$message.success(this.$t('listOwnerCar.exportSuccess')) | 345 | + this.$message.success(this.$t('common.operationSuccess')) |
| 346 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 346 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 347 | } catch (error) { | 347 | } catch (error) { |
| 348 | console.error('导出失败:', error) | 348 | console.error('导出失败:', error) |
src/views/community/addCommunityPublicityList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-card class="add-publicity-container"> | 2 | <el-card class="add-publicity-container"> |
| 3 | <div slot="header" class="flex justify-between"> | 3 | <div slot="header" class="flex justify-between"> |
| 4 | <span>{{ $t('addCommunityPublicity.title') }}</span> | 4 | <span>{{ $t('addCommunityPublicity.title') }}</span> |
| @@ -106,7 +106,7 @@ export default { | @@ -106,7 +106,7 @@ export default { | ||
| 106 | this.formData.communityId = getCommunityId() | 106 | this.formData.communityId = getCommunityId() |
| 107 | const response = await saveCommunityPublicity(this.formData) | 107 | const response = await saveCommunityPublicity(this.formData) |
| 108 | if (response.code === 0) { | 108 | if (response.code === 0) { |
| 109 | - this.$message.success(this.$t('addCommunityPublicity.saveSuccess')) | 109 | + this.$message.success(this.$t('common.operationSuccess')) |
| 110 | this.goBack() | 110 | this.goBack() |
| 111 | } else { | 111 | } else { |
| 112 | this.$message.error(response.msg || this.$t('addCommunityPublicity.saveFailed')) | 112 | this.$message.error(response.msg || this.$t('addCommunityPublicity.saveFailed')) |
src/views/community/communitySpaceConfirmList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="community-space-confirm-container"> | 2 | <div class="community-space-confirm-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="6"> | 4 | <el-col :span="6"> |
| @@ -244,7 +244,7 @@ export default { | @@ -244,7 +244,7 @@ export default { | ||
| 244 | 244 | ||
| 245 | const result = await saveCommunitySpaceConfirmOrder(data) | 245 | const result = await saveCommunitySpaceConfirmOrder(data) |
| 246 | if (result.code === 0) { | 246 | if (result.code === 0) { |
| 247 | - this.$message.success(this.$t('communitySpaceConfirm.writeOffSuccess')) | 247 | + this.$message.success(this.$t('common.operationSuccess')) |
| 248 | this.communitySpaceConfirmInfo.timeId = '' | 248 | this.communitySpaceConfirmInfo.timeId = '' |
| 249 | 249 | ||
| 250 | // 更新核销结果 | 250 | // 更新核销结果 |
src/views/community/editCommunityPublicityList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-community-publicity-container"> | 2 | <div class="edit-community-publicity-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -168,7 +168,7 @@ export default { | @@ -168,7 +168,7 @@ export default { | ||
| 168 | } | 168 | } |
| 169 | const res = await updateCommunityPublicity(data) | 169 | const res = await updateCommunityPublicity(data) |
| 170 | if (res.code === 0) { | 170 | if (res.code === 0) { |
| 171 | - this.$message.success(this.$t('editCommunityPublicity.message.updateSuccess')) | 171 | + this.$message.success(this.$t('common.operationSuccess')) |
| 172 | this._goBack() | 172 | this._goBack() |
| 173 | } else { | 173 | } else { |
| 174 | this.$message.error(res.msg || this.$t('editCommunityPublicity.message.updateFailed')) | 174 | this.$message.error(res.msg || this.$t('editCommunityPublicity.message.updateFailed')) |
src/views/community/initializeCommunityManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="initialize-community-manage-container"> | 2 | <div class="initialize-community-manage-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <div class="ibox"> | 4 | <div class="ibox"> |
| @@ -143,7 +143,7 @@ export default { | @@ -143,7 +143,7 @@ export default { | ||
| 143 | try { | 143 | try { |
| 144 | const res = await initializeCommunity(data) | 144 | const res = await initializeCommunity(data) |
| 145 | this.msgData = res.data | 145 | this.msgData = res.data |
| 146 | - this.$message.success(this.$t('initializeCommunityManage.initializeSuccess')) | 146 | + this.$message.success(this.$t('common.operationSuccess')) |
| 147 | this.getList() | 147 | this.getList() |
| 148 | } catch (error) { | 148 | } catch (error) { |
| 149 | this.$message.error(error.message) | 149 | this.$message.error(error.message) |
src/views/contract/addContractList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-contract-container"> | 2 | <div class="add-contract-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -402,7 +402,7 @@ export default { | @@ -402,7 +402,7 @@ export default { | ||
| 402 | // 这里需要实现文件上传逻辑 | 402 | // 这里需要实现文件上传逻辑 |
| 403 | // uploadContactFile(formData).then(response => { | 403 | // uploadContactFile(formData).then(response => { |
| 404 | // this.addContractInfo.contractFilePo[index].fileSaveName = response.data | 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 | checkFileType(fileType) { | 408 | checkFileType(fileType) { |
| @@ -428,7 +428,7 @@ export default { | @@ -428,7 +428,7 @@ export default { | ||
| 428 | this.addContractInfo.communityId = this.communityId | 428 | this.addContractInfo.communityId = this.communityId |
| 429 | saveContract(this.addContractInfo).then(response => { | 429 | saveContract(this.addContractInfo).then(response => { |
| 430 | if (response.code === 0) { | 430 | if (response.code === 0) { |
| 431 | - this.$message.success(this.$t('contract.submitSuccess')) | 431 | + this.$message.success(this.$t('common.operationSuccess')) |
| 432 | this._goBack() | 432 | this._goBack() |
| 433 | } else { | 433 | } else { |
| 434 | this.$message.error(response.msg) | 434 | this.$message.error(response.msg) |
src/views/contract/contractApplyAuditOrdersList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="animated fadeInRight ecommerce padding"> | 2 | <div class="animated fadeInRight ecommerce padding"> |
| 3 | <el-row v-if="contractApplyAuditOrdersInfo.audit === '1'"> | 3 | <el-row v-if="contractApplyAuditOrdersInfo.audit === '1'"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -115,7 +115,7 @@ export default { | @@ -115,7 +115,7 @@ export default { | ||
| 115 | auditInfo.taskId = this.contractApplyAuditOrdersInfo.orderInfo.taskId | 115 | auditInfo.taskId = this.contractApplyAuditOrdersInfo.orderInfo.taskId |
| 116 | auditInfo.contractId = this.contractApplyAuditOrdersInfo.orderInfo.contractId | 116 | auditInfo.contractId = this.contractApplyAuditOrdersInfo.orderInfo.contractId |
| 117 | await needAuditContract(auditInfo) | 117 | await needAuditContract(auditInfo) |
| 118 | - this.$message.success(this.$t('common.handleSuccess')) | 118 | + this.$message.success(this.$t('common.operationSuccess')) |
| 119 | this._listAuditOrders(this.page.current, this.page.size) | 119 | this._listAuditOrders(this.page.current, this.page.size) |
| 120 | } catch (error) { | 120 | } catch (error) { |
| 121 | this.$message.error(this.$t('common.handleFailed') + error.message) | 121 | this.$message.error(this.$t('common.handleFailed') + error.message) |
| @@ -130,7 +130,7 @@ export default { | @@ -130,7 +130,7 @@ export default { | ||
| 130 | remark: this.$t('contractApplyAuditOrders.processEnd') | 130 | remark: this.$t('contractApplyAuditOrders.processEnd') |
| 131 | } | 131 | } |
| 132 | await needAuditContract(auditInfo) | 132 | await needAuditContract(auditInfo) |
| 133 | - this.$message.success(this.$t('common.handleSuccess')) | 133 | + this.$message.success(this.$t('common.operationSuccess')) |
| 134 | this._listAuditOrders(this.page.current, this.page.size) | 134 | this._listAuditOrders(this.page.current, this.page.size) |
| 135 | } catch (error) { | 135 | } catch (error) { |
| 136 | this.$message.error(this.$t('common.handleFailed') + error.message) | 136 | this.$message.error(this.$t('common.handleFailed') + error.message) |
src/views/contract/contractChangeAuditOrdersList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="animated fadeInRight ecommerce padding"> | 2 | <div class="animated fadeInRight ecommerce padding"> |
| 3 | <el-row v-if="contractChangeAuditOrdersInfo.audit === '1'"> | 3 | <el-row v-if="contractChangeAuditOrdersInfo.audit === '1'"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -113,7 +113,7 @@ export default { | @@ -113,7 +113,7 @@ export default { | ||
| 113 | 113 | ||
| 114 | try { | 114 | try { |
| 115 | await needAuditContractPlan(auditInfo) | 115 | await needAuditContractPlan(auditInfo) |
| 116 | - this.$message.success(this.$t('common.handleSuccess')) | 116 | + this.$message.success(this.$t('common.operationSuccess')) |
| 117 | this._listAuditOrders(this.page.current, this.page.size) | 117 | this._listAuditOrders(this.page.current, this.page.size) |
| 118 | } catch (error) { | 118 | } catch (error) { |
| 119 | this.$message.error(this.$t('common.handleFailed') + error.message) | 119 | this.$message.error(this.$t('common.handleFailed') + error.message) |
| @@ -130,7 +130,7 @@ export default { | @@ -130,7 +130,7 @@ export default { | ||
| 130 | 130 | ||
| 131 | try { | 131 | try { |
| 132 | await needAuditContractPlan(auditInfo) | 132 | await needAuditContractPlan(auditInfo) |
| 133 | - this.$message.success(this.$t('common.handleSuccess')) | 133 | + this.$message.success(this.$t('common.operationSuccess')) |
| 134 | this._listAuditOrders(this.page.current, this.page.size) | 134 | this._listAuditOrders(this.page.current, this.page.size) |
| 135 | } catch (error) { | 135 | } catch (error) { |
| 136 | this.$message.error(this.$t('common.handleFailed') + error.message) | 136 | this.$message.error(this.$t('common.handleFailed') + error.message) |
src/views/contract/contractChangeDetailList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="contract-change-detail-container"> | 2 | <div class="contract-change-detail-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -220,7 +220,7 @@ export default { | @@ -220,7 +220,7 @@ export default { | ||
| 220 | saveContractChangePlan(this.newContract) | 220 | saveContractChangePlan(this.newContract) |
| 221 | .then(response => { | 221 | .then(response => { |
| 222 | if (response.code === 0) { | 222 | if (response.code === 0) { |
| 223 | - this.$message.success(this.$t('common.submitSuccess')) | 223 | + this.$message.success(this.$t('common.operationSuccess')) |
| 224 | this.goBack() | 224 | this.goBack() |
| 225 | } else { | 225 | } else { |
| 226 | this.$message.error(response.msg) | 226 | this.$message.error(response.msg) |
src/views/dev/addRoute.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-app-api-container"> | 2 | <div class="add-app-api-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div class="card-title" slot="header"> | 4 | <div class="card-title" slot="header"> |
| @@ -186,7 +186,7 @@ export default { | @@ -186,7 +186,7 @@ export default { | ||
| 186 | await addRoute({ | 186 | await addRoute({ |
| 187 | data:data | 187 | data:data |
| 188 | }) | 188 | }) |
| 189 | - this.$message.success(this.$t('common.add.success')) | 189 | + this.$message.success(this.$t('common.operationSuccess')) |
| 190 | this.$emit('success') | 190 | this.$emit('success') |
| 191 | this.$router.go(-1) | 191 | this.$router.go(-1) |
| 192 | } catch (error) { | 192 | } catch (error) { |
src/views/dev/devServiceProvideList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="dev-service-provide-container"> | 2 | <div class="dev-service-provide-container"> |
| 3 | <el-steps :active="activeStep" finish-status="success" simple> | 3 | <el-steps :active="activeStep" finish-status="success" simple> |
| 4 | <el-step v-for="(title, index) in $t('devServiceProvide.stepTitles')" :key="index" :title="title" /> | 4 | <el-step v-for="(title, index) in $t('devServiceProvide.stepTitles')" :key="index" :title="title" /> |
| @@ -82,7 +82,7 @@ export default { | @@ -82,7 +82,7 @@ export default { | ||
| 82 | 82 | ||
| 83 | saveServiceProvide({ data: this.infos }) | 83 | saveServiceProvide({ data: this.infos }) |
| 84 | .then(() => { | 84 | .then(() => { |
| 85 | - this.$message.success(this.$t('devServiceProvide.saveSuccess')) | 85 | + this.$message.success(this.$t('common.operationSuccess')) |
| 86 | this.$router.go(-1) | 86 | this.$router.go(-1) |
| 87 | }) | 87 | }) |
| 88 | .catch(error => { | 88 | .catch(error => { |
src/views/fee/addOweFeeCallableList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-owe-fee-callable-container"> | 2 | <div class="add-owe-fee-callable-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -237,7 +237,7 @@ export default { | @@ -237,7 +237,7 @@ export default { | ||
| 237 | 237 | ||
| 238 | try { | 238 | try { |
| 239 | await saveOweFeeCallable(this.addOweFeeCallableInfo) | 239 | await saveOweFeeCallable(this.addOweFeeCallableInfo) |
| 240 | - this.$message.success(this.$t('common.submitSuccess')) | 240 | + this.$message.success(this.$t('common.operationSuccess')) |
| 241 | this.goBack() | 241 | this.goBack() |
| 242 | } catch (error) { | 242 | } catch (error) { |
| 243 | console.error('提交失败:', error) | 243 | console.error('提交失败:', error) |
| @@ -257,7 +257,7 @@ export default { | @@ -257,7 +257,7 @@ export default { | ||
| 257 | endTime: this.addOweFeeCallableInfo.endTime | 257 | endTime: this.addOweFeeCallableInfo.endTime |
| 258 | } | 258 | } |
| 259 | await exportCollectionLetterExcel(params) | 259 | await exportCollectionLetterExcel(params) |
| 260 | - this.$message.success(this.$t('common.exportSuccess')) | 260 | + this.$message.success(this.$t('common.operationSuccess')) |
| 261 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 261 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 262 | } catch (error) { | 262 | } catch (error) { |
| 263 | console.error('导出失败:', error) | 263 | console.error('导出失败:', error) |
src/views/fee/addOwnerInvoiceList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="app-container"> | 2 | <div class="app-container"> |
| 3 | <el-card shadow="never"> | 3 | <el-card shadow="never"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -135,7 +135,7 @@ export default { | @@ -135,7 +135,7 @@ export default { | ||
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | await saveOwnerInvoice(payload) | 137 | await saveOwnerInvoice(payload) |
| 138 | - this.$message.success(this.$t('common.saveSuccess')) | 138 | + this.$message.success(this.$t('common.operationSuccess')) |
| 139 | this.$router.go(-1) | 139 | this.$router.go(-1) |
| 140 | } catch (error) { | 140 | } catch (error) { |
| 141 | console.error('保存失败:', error) | 141 | console.error('保存失败:', error) |
src/views/fee/adminPayFeeDetailList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="admin-pay-fee-detail-container animated fadeInRight"> | 2 | <div class="admin-pay-fee-detail-container animated fadeInRight"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="4"> | 4 | <el-col :span="4"> |
| @@ -360,7 +360,7 @@ export default { | @@ -360,7 +360,7 @@ export default { | ||
| 360 | pagePath: 'adminPayFeeDetail' | 360 | pagePath: 'adminPayFeeDetail' |
| 361 | } | 361 | } |
| 362 | await exportFeeData(params) | 362 | await exportFeeData(params) |
| 363 | - this.$message.success(this.$t('adminPayFeeDetail.exportSuccess')) | 363 | + this.$message.success(this.$t('common.operationSuccess')) |
| 364 | // 这里可以添加跳转到下载页面的逻辑 | 364 | // 这里可以添加跳转到下载页面的逻辑 |
| 365 | // this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 365 | // this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 366 | } catch (error) { | 366 | } catch (error) { |
src/views/fee/applyRoomDiscountManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="apply-room-discount-container"> | 2 | <div class="apply-room-discount-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-wrapper"> | 4 | <el-card class="search-wrapper"> |
| @@ -263,7 +263,7 @@ export default { | @@ -263,7 +263,7 @@ export default { | ||
| 263 | } | 263 | } |
| 264 | 264 | ||
| 265 | await exportData(params) | 265 | await exportData(params) |
| 266 | - this.$message.success(this.$t('reportFeeSummary.exportSuccess')) | 266 | + this.$message.success(this.$t('common.operationSuccess')) |
| 267 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 267 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 268 | } catch (error) { | 268 | } catch (error) { |
| 269 | console.error('Failed to export:', error) | 269 | console.error('Failed to export:', error) |
src/views/fee/buyCarMonthCardList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-card class="buy-car-month-card-container"> | 2 | <el-card class="buy-car-month-card-container"> |
| 3 | <div slot="header" class="flex justify-between"> | 3 | <div slot="header" class="flex justify-between"> |
| 4 | <div>{{ $t('buyCarMonthCard.title') }}</div> | 4 | <div>{{ $t('buyCarMonthCard.title') }}</div> |
| @@ -193,7 +193,7 @@ export default { | @@ -193,7 +193,7 @@ export default { | ||
| 193 | 193 | ||
| 194 | const res = await buyCarMonthOrder(params) | 194 | const res = await buyCarMonthOrder(params) |
| 195 | if (res.code === 0) { | 195 | if (res.code === 0) { |
| 196 | - this.$message.success(this.$t('buyCarMonthCard.success.saveSuccess')) | 196 | + this.$message.success(this.$t('common.operationSuccess')) |
| 197 | this.goBack() | 197 | this.goBack() |
| 198 | } else { | 198 | } else { |
| 199 | this.$message.error(res.msg || this.$t('buyCarMonthCard.errors.saveFailed')) | 199 | this.$message.error(res.msg || this.$t('buyCarMonthCard.errors.saveFailed')) |
src/views/fee/invoiceApplyList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="padding"> | 2 | <div class="padding"> |
| 3 | <el-row :gutter="10"> | 3 | <el-row :gutter="10"> |
| 4 | <el-col :span="3"> | 4 | <el-col :span="3"> |
| @@ -230,7 +230,7 @@ export default { | @@ -230,7 +230,7 @@ export default { | ||
| 230 | communityId: this.communityId | 230 | communityId: this.communityId |
| 231 | } | 231 | } |
| 232 | await auditInvoiceApply(params) | 232 | await auditInvoiceApply(params) |
| 233 | - this.$message.success(this.$t('invoiceApply.auditSuccess')) | 233 | + this.$message.success(this.$t('common.operationSuccess')) |
| 234 | this.listInvoiceApplys() | 234 | this.listInvoiceApplys() |
| 235 | } catch (error) { | 235 | } catch (error) { |
| 236 | this.$message.error(error.message) | 236 | this.$message.error(error.message) |
src/views/fee/listOweFeeList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="list-owe-fee-container"> | 2 | <div class="list-owe-fee-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-card"> | 4 | <el-card class="search-card"> |
| @@ -336,7 +336,7 @@ export default { | @@ -336,7 +336,7 @@ export default { | ||
| 336 | configIds: this.listOweFeeInfo.feeConfigNames.map(item => item.configId).join(',') | 336 | configIds: this.listOweFeeInfo.feeConfigNames.map(item => item.configId).join(',') |
| 337 | } | 337 | } |
| 338 | await exportData(params) | 338 | await exportData(params) |
| 339 | - this.$message.success(this.$t('listOweFee.exportSuccess')) | 339 | + this.$message.success(this.$t('common.operationSuccess')) |
| 340 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 340 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 341 | } catch (error) { | 341 | } catch (error) { |
| 342 | console.error('导出失败:', error) | 342 | console.error('导出失败:', error) |
src/views/fee/ownerApplyInvoiceList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="owner-apply-invoice-container"> | 2 | <div class="owner-apply-invoice-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header" class="clearfix flex justify-between"> | 4 | <div slot="header" class="clearfix flex justify-between"> |
| @@ -286,7 +286,7 @@ export default { | @@ -286,7 +286,7 @@ export default { | ||
| 286 | 286 | ||
| 287 | // 调用API | 287 | // 调用API |
| 288 | await saveInvoiceApply(submitData) | 288 | await saveInvoiceApply(submitData) |
| 289 | - this.$message.success(this.$t('common.submitSuccess')) | 289 | + this.$message.success(this.$t('common.operationSuccess')) |
| 290 | this.goBack() | 290 | this.goBack() |
| 291 | } catch (error) { | 291 | } catch (error) { |
| 292 | console.error('Failed to submit invoice application:', error) | 292 | console.error('Failed to submit invoice application:', error) |
src/views/fee/payFeeAuditManageList.vue
| @@ -215,7 +215,7 @@ export default { | @@ -215,7 +215,7 @@ export default { | ||
| 215 | communityId: this.searchForm.communityId | 215 | communityId: this.searchForm.communityId |
| 216 | } | 216 | } |
| 217 | await savePayFeeAudit(params) | 217 | await savePayFeeAudit(params) |
| 218 | - this.$message.success(this.$t('common.operateSuccess')) | 218 | + this.$message.success(this.$t('common.operationSuccess')) |
| 219 | this.getList() | 219 | this.getList() |
| 220 | } catch (error) { | 220 | } catch (error) { |
| 221 | this.$message.error(error.message || this.$t('common.operateFailed')) | 221 | this.$message.error(error.message || this.$t('common.operateFailed')) |
src/views/fee/payFeeBatchList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="pay-fee-batch-container animated fadeInRight"> | 2 | <div class="pay-fee-batch-container animated fadeInRight"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -160,7 +160,7 @@ export default { | @@ -160,7 +160,7 @@ export default { | ||
| 160 | msg: auditInfo.remark | 160 | msg: auditInfo.remark |
| 161 | } | 161 | } |
| 162 | await updatePayFeeBatch(payFeeBatch) | 162 | await updatePayFeeBatch(payFeeBatch) |
| 163 | - this.$message.success(this.$t('payFeeBatch.message.auditSuccess')) | 163 | + this.$message.success(this.$t('common.operationSuccess')) |
| 164 | this._listPayFeeBatchs(this.pagination.current, this.pagination.size) | 164 | this._listPayFeeBatchs(this.pagination.current, this.pagination.size) |
| 165 | } catch (error) { | 165 | } catch (error) { |
| 166 | console.error('审核失败:', error) | 166 | console.error('审核失败:', error) |
src/views/fee/printSmallPayFeeList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="printSmallPayFee-container"> | 2 | <div class="printSmallPayFee-container"> |
| 3 | 3 | ||
| 4 | <div class="print_container"> | 4 | <div class="print_container"> |
| @@ -271,7 +271,7 @@ export default { | @@ -271,7 +271,7 @@ export default { | ||
| 271 | return; | 271 | return; |
| 272 | } | 272 | } |
| 273 | this.cloudPrintVisible = false | 273 | this.cloudPrintVisible = false |
| 274 | - this.$message.success(this.$t('printSmallPayFee.submitSuccess')) | 274 | + this.$message.success(this.$t('common.operationSuccess')) |
| 275 | } catch (error) { | 275 | } catch (error) { |
| 276 | console.error('Failed to submit cloud print:', error) | 276 | console.error('Failed to submit cloud print:', error) |
| 277 | this.$message.error(error.message || this.$t('printSmallPayFee.submitFailed')) | 277 | this.$message.error(error.message || this.$t('printSmallPayFee.submitFailed')) |
src/views/fee/returnPayFeeManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="return-pay-fee-manage-container animated fadeInRight"> | 2 | <div class="return-pay-fee-manage-container animated fadeInRight"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="box-card"> | 4 | <el-card class="box-card"> |
| @@ -266,7 +266,7 @@ export default { | @@ -266,7 +266,7 @@ export default { | ||
| 266 | } | 266 | } |
| 267 | 267 | ||
| 268 | await updateReturnPayFee(returnPayFee) | 268 | await updateReturnPayFee(returnPayFee) |
| 269 | - this.$message.success(this.$t('common.auditSuccess')) | 269 | + this.$message.success(this.$t('common.operationSuccess')) |
| 270 | this._listReturnPayFees(this.page.current, this.page.size) | 270 | this._listReturnPayFees(this.page.current, this.page.size) |
| 271 | } catch (error) { | 271 | } catch (error) { |
| 272 | console.error('审核失败:', error) | 272 | console.error('审核失败:', error) |
| @@ -281,7 +281,7 @@ export default { | @@ -281,7 +281,7 @@ export default { | ||
| 281 | } | 281 | } |
| 282 | 282 | ||
| 283 | await tryRefundMoney(returnPayFee) | 283 | await tryRefundMoney(returnPayFee) |
| 284 | - this.$message.success(this.$t('returnPayFeeManage.message.refundSubmitSuccess')) | 284 | + this.$message.success(this.$t('common.operationSuccess')) |
| 285 | this._listReturnPayFees(this.page.current, this.page.size) | 285 | this._listReturnPayFees(this.page.current, this.page.size) |
| 286 | } catch (error) { | 286 | } catch (error) { |
| 287 | console.error('提交退款失败:', error) | 287 | console.error('提交退款失败:', error) |
src/views/fee/roomCreatePayFeeList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="room-create-pay-fee-container"> | 2 | <div class="room-create-pay-fee-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -300,7 +300,7 @@ export default { | @@ -300,7 +300,7 @@ export default { | ||
| 300 | 300 | ||
| 301 | try { | 301 | try { |
| 302 | await saveRoomCreatePayFee(this.roomCreatePayFeeInfo) | 302 | await saveRoomCreatePayFee(this.roomCreatePayFeeInfo) |
| 303 | - this.$message.success(this.$t('common.saveSuccess')) | 303 | + this.$message.success(this.$t('common.operationSuccess')) |
| 304 | this.goBack() | 304 | this.goBack() |
| 305 | } catch (error) { | 305 | } catch (error) { |
| 306 | this.$message.error(error.message || this.$t('common.saveFailed')) | 306 | this.$message.error(error.message || this.$t('common.saveFailed')) |
src/views/fee/roomOweFeeCallableList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="room-owe-fee-callable-container"> | 2 | <div class="room-owe-fee-callable-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -107,7 +107,7 @@ export default { | @@ -107,7 +107,7 @@ export default { | ||
| 107 | try { | 107 | try { |
| 108 | const res = await saveOweFeeCallable(this.roomOweFeeCallableInfo) | 108 | const res = await saveOweFeeCallable(this.roomOweFeeCallableInfo) |
| 109 | if (res.code === 0) { | 109 | if (res.code === 0) { |
| 110 | - this.$message.success(this.$t('common.submitSuccess')) | 110 | + this.$message.success(this.$t('common.operationSuccess')) |
| 111 | this.$router.go(-1) | 111 | this.$router.go(-1) |
| 112 | } else { | 112 | } else { |
| 113 | this.$message.error(res.msg) | 113 | this.$message.error(res.msg) |
src/views/inspection/addInspectionPlanList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-inspection-plan-container"> | 2 | <div class="add-inspection-plan-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="text-left"> | 4 | <div slot="header" class="text-left"> |
| @@ -284,7 +284,7 @@ export default { | @@ -284,7 +284,7 @@ export default { | ||
| 284 | } | 284 | } |
| 285 | 285 | ||
| 286 | await saveInspectionPlan(formData) | 286 | await saveInspectionPlan(formData) |
| 287 | - this.$message.success(this.$t('addInspectionPlan.saveSuccess')) | 287 | + this.$message.success(this.$t('common.operationSuccess')) |
| 288 | this.goBack() | 288 | this.goBack() |
| 289 | } catch (error) { | 289 | } catch (error) { |
| 290 | console.error('保存巡检计划失败:', error) | 290 | console.error('保存巡检计划失败:', error) |
src/views/inspection/addMaintainancePlanList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-maintainance-plan-container"> | 2 | <div class="add-maintainance-plan-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -253,7 +253,7 @@ export default { | @@ -253,7 +253,7 @@ export default { | ||
| 253 | 253 | ||
| 254 | const { code, msg } = await saveMaintainancePlan(formData) | 254 | const { code, msg } = await saveMaintainancePlan(formData) |
| 255 | if (code === 0) { | 255 | if (code === 0) { |
| 256 | - this.$message.success(this.$t('addMaintainancePlan.saveSuccess')) | 256 | + this.$message.success(this.$t('common.operationSuccess')) |
| 257 | this.goBack() | 257 | this.goBack() |
| 258 | } else { | 258 | } else { |
| 259 | this.$message.error(msg) | 259 | this.$message.error(msg) |
src/views/inspection/editMaintainancePlanList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-maintainance-plan-container"> | 2 | <div class="edit-maintainance-plan-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -248,7 +248,7 @@ export default { | @@ -248,7 +248,7 @@ export default { | ||
| 248 | 248 | ||
| 249 | const res = await updateMaintainancePlan(params) | 249 | const res = await updateMaintainancePlan(params) |
| 250 | if (res.code === 0) { | 250 | if (res.code === 0) { |
| 251 | - this.$message.success(this.$t('editMaintainancePlan.saveSuccess')) | 251 | + this.$message.success(this.$t('common.operationSuccess')) |
| 252 | this.goBack() | 252 | this.goBack() |
| 253 | } else { | 253 | } else { |
| 254 | this.$message.error(res.msg) | 254 | this.$message.error(res.msg) |
src/views/inspection/inspectionTaskDetailsList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="padding"> | 2 | <div class="padding"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -427,7 +427,7 @@ export default { | @@ -427,7 +427,7 @@ export default { | ||
| 427 | } | 427 | } |
| 428 | const res = await exportInspectionTaskDetails(params) | 428 | const res = await exportInspectionTaskDetails(params) |
| 429 | if (res.code === 0) { | 429 | if (res.code === 0) { |
| 430 | - this.$message.success(this.$t('common.exportSuccess')) | 430 | + this.$message.success(this.$t('common.operationSuccess')) |
| 431 | // 这里需要根据实际项目调整跳转逻辑 | 431 | // 这里需要根据实际项目调整跳转逻辑 |
| 432 | this.$router.push({ path: '/pages/property/downloadTempFile', query: { tab: this.$t('common.downloadCenter') } }) | 432 | this.$router.push({ path: '/pages/property/downloadTempFile', query: { tab: this.$t('common.downloadCenter') } }) |
| 433 | } else { | 433 | } else { |
src/views/machine/addEquipmentAccountList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-equipment-account-container"> | 2 | <div class="add-equipment-account-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -226,7 +226,7 @@ export default { | @@ -226,7 +226,7 @@ export default { | ||
| 226 | const res = await saveEquipmentAccount(params) | 226 | const res = await saveEquipmentAccount(params) |
| 227 | 227 | ||
| 228 | if (res.code === 0) { | 228 | if (res.code === 0) { |
| 229 | - this.$message.success(this.$t('addEquipmentAccount.saveSuccess')) | 229 | + this.$message.success(this.$t('common.operationSuccess')) |
| 230 | this.$router.go(-1) | 230 | this.$router.go(-1) |
| 231 | } else { | 231 | } else { |
| 232 | this.$message.error(res.msg) | 232 | this.$message.error(res.msg) |
src/views/machine/editEquipmentAccountList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-equipment-account-container"> | 2 | <div class="edit-equipment-account-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -231,7 +231,7 @@ export default { | @@ -231,7 +231,7 @@ export default { | ||
| 231 | this.editEquipmentAccountInfo.communityId = this.communityId | 231 | this.editEquipmentAccountInfo.communityId = this.communityId |
| 232 | const res = await updateEquipmentAccount(this.editEquipmentAccountInfo) | 232 | const res = await updateEquipmentAccount(this.editEquipmentAccountInfo) |
| 233 | if (res.code === 0) { | 233 | if (res.code === 0) { |
| 234 | - this.$message.success(this.$t('common.updateSuccess')) | 234 | + this.$message.success(this.$t('common.operationSuccess')) |
| 235 | this._goBack() | 235 | this._goBack() |
| 236 | } else { | 236 | } else { |
| 237 | this.$message.error(res.msg) | 237 | this.$message.error(res.msg) |
src/views/oa/addAttendanceClassesStaffList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-attendance-classes-staff-container"> | 2 | <div class="add-attendance-classes-staff-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -93,7 +93,7 @@ export default { | @@ -93,7 +93,7 @@ export default { | ||
| 93 | try { | 93 | try { |
| 94 | const res = await saveAttendanceClassesStaff(this.form) | 94 | const res = await saveAttendanceClassesStaff(this.form) |
| 95 | if (res.code === 0) { | 95 | if (res.code === 0) { |
| 96 | - this.$message.success(this.$t('common.addSuccess')) | 96 | + this.$message.success(this.$t('common.operationSuccess')) |
| 97 | this.handleGoBack() | 97 | this.handleGoBack() |
| 98 | } else { | 98 | } else { |
| 99 | this.$message.error(res.msg) | 99 | this.$message.error(res.msg) |
src/views/oa/addComplaintList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-complaint-container"> | 2 | <div class="add-complaint-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -138,7 +138,7 @@ export default { | @@ -138,7 +138,7 @@ export default { | ||
| 138 | try { | 138 | try { |
| 139 | this.addComplaintInfo.communityId = this.communityId | 139 | this.addComplaintInfo.communityId = this.communityId |
| 140 | await saveComplaint(this.addComplaintInfo) | 140 | await saveComplaint(this.addComplaintInfo) |
| 141 | - this.$message.success(this.$t('addComplaint.saveSuccess')) | 141 | + this.$message.success(this.$t('common.operationSuccess')) |
| 142 | this.goBack() | 142 | this.goBack() |
| 143 | } catch (error) { | 143 | } catch (error) { |
| 144 | this.$message.error(error.message || this.$t('addComplaint.saveError')) | 144 | this.$message.error(error.message || this.$t('addComplaint.saveError')) |
src/views/oa/addComplaintTypeList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="padding"> | 2 | <div class="padding"> |
| 3 | <el-card class="complaint-type-container"> | 3 | <el-card class="complaint-type-container"> |
| 4 | <div class="header-wrapper"> | 4 | <div class="header-wrapper"> |
| @@ -119,7 +119,7 @@ export default { | @@ -119,7 +119,7 @@ export default { | ||
| 119 | 119 | ||
| 120 | const res = await saveComplaintType(params) | 120 | const res = await saveComplaintType(params) |
| 121 | if (res.code === 0) { | 121 | if (res.code === 0) { |
| 122 | - this.$message.success(this.$t('common.saveSuccess')) | 122 | + this.$message.success(this.$t('common.operationSuccess')) |
| 123 | this.goBack() | 123 | this.goBack() |
| 124 | } else { | 124 | } else { |
| 125 | this.$message.error(res.msg) | 125 | this.$message.error(res.msg) |
src/views/oa/addExamineStaffList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-examine-staff-container"> | 2 | <div class="add-examine-staff-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -136,7 +136,7 @@ export default { | @@ -136,7 +136,7 @@ export default { | ||
| 136 | 136 | ||
| 137 | const res = await saveExamineStaff(this.addExamineStaffInfo) | 137 | const res = await saveExamineStaff(this.addExamineStaffInfo) |
| 138 | if (res.code === 0) { | 138 | if (res.code === 0) { |
| 139 | - this.$message.success(this.$t('common.addSuccess')) | 139 | + this.$message.success(this.$t('common.operationSuccess')) |
| 140 | this._goBack() | 140 | this._goBack() |
| 141 | } else { | 141 | } else { |
| 142 | this.$message.error(res.msg) | 142 | this.$message.error(res.msg) |
src/views/oa/addNoticeViewList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-notice-view-container"> | 2 | <div class="add-notice-view-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -114,7 +114,7 @@ export default { | @@ -114,7 +114,7 @@ export default { | ||
| 114 | try { | 114 | try { |
| 115 | const response = await saveNotice(this.addNoticeViewInfo) | 115 | const response = await saveNotice(this.addNoticeViewInfo) |
| 116 | if (response.code === 0) { | 116 | if (response.code === 0) { |
| 117 | - this.$message.success(this.$t('addNoticeView.saveSuccess')) | 117 | + this.$message.success(this.$t('common.operationSuccess')) |
| 118 | this.$router.go(-1) | 118 | this.$router.go(-1) |
| 119 | } else { | 119 | } else { |
| 120 | this.$message.error(response.msg) | 120 | this.$message.error(response.msg) |
src/views/oa/addOwnerVotingList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-owner-voting-container"> | 2 | <div class="add-owner-voting-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -151,7 +151,7 @@ export default { | @@ -151,7 +151,7 @@ export default { | ||
| 151 | try { | 151 | try { |
| 152 | const res = await saveOwnerVote(this.addOwnerVotingInfo) | 152 | const res = await saveOwnerVote(this.addOwnerVotingInfo) |
| 153 | if (res.code === 0) { | 153 | if (res.code === 0) { |
| 154 | - this.$message.success(this.$t('common.saveSuccess')) | 154 | + this.$message.success(this.$t('common.operationSuccess')) |
| 155 | this.$router.go(-1) | 155 | this.$router.go(-1) |
| 156 | } else { | 156 | } else { |
| 157 | this.$message.error(res.msg) | 157 | this.$message.error(res.msg) |
src/views/oa/addQuestionAnswerList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-question-answer-container"> | 2 | <div class="add-question-answer-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -209,7 +209,7 @@ export default { | @@ -209,7 +209,7 @@ export default { | ||
| 209 | try { | 209 | try { |
| 210 | const res = await saveQuestionAnswer(this.addQuestionAnswerInfo) | 210 | const res = await saveQuestionAnswer(this.addQuestionAnswerInfo) |
| 211 | if (res.code === 0) { | 211 | if (res.code === 0) { |
| 212 | - this.$message.success(this.$t('addQuestionAnswer.saveSuccess')) | 212 | + this.$message.success(this.$t('common.operationSuccess')) |
| 213 | this.goBack() | 213 | this.goBack() |
| 214 | } else { | 214 | } else { |
| 215 | this.$message.error(res.msg) | 215 | this.$message.error(res.msg) |
src/views/oa/addWorkList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-work-container"> | 2 | <div class="add-work-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -254,7 +254,7 @@ export default { | @@ -254,7 +254,7 @@ export default { | ||
| 254 | 254 | ||
| 255 | const res = await saveWorkPool(params) | 255 | const res = await saveWorkPool(params) |
| 256 | if (res.code === 0) { | 256 | if (res.code === 0) { |
| 257 | - this.$message.success(this.$t('common.submitSuccess')) | 257 | + this.$message.success(this.$t('common.operationSuccess')) |
| 258 | this.goBack() | 258 | this.goBack() |
| 259 | } else { | 259 | } else { |
| 260 | this.$message.error(res.msg) | 260 | this.$message.error(res.msg) |
src/views/oa/copyWorkList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="copy-work-container"> | 2 | <div class="copy-work-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="4"> | 4 | <el-col :span="4"> |
| @@ -303,7 +303,7 @@ export default { | @@ -303,7 +303,7 @@ export default { | ||
| 303 | async _auditSubmit() { | 303 | async _auditSubmit() { |
| 304 | try { | 304 | try { |
| 305 | await finishWorkCopy(this.copyWorkInfo.audit) | 305 | await finishWorkCopy(this.copyWorkInfo.audit) |
| 306 | - this.$message.success(this.$t('common.submitSuccess')) | 306 | + this.$message.success(this.$t('common.operationSuccess')) |
| 307 | this.auditDialogVisible = false | 307 | this.auditDialogVisible = false |
| 308 | this._listCopyWorks(this.page.current, this.page.size) | 308 | this._listCopyWorks(this.page.current, this.page.size) |
| 309 | } catch (error) { | 309 | } catch (error) { |
src/views/oa/editComplaintTypeList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <el-card class="edit-complaint-type-container"> | 2 | <el-card class="edit-complaint-type-container"> |
| 3 | <div slot="header" class="clearfix"> | 3 | <div slot="header" class="clearfix"> |
| 4 | <span>{{ $t('editComplaintType.title') }}</span> | 4 | <span>{{ $t('editComplaintType.title') }}</span> |
| @@ -135,7 +135,7 @@ export default { | @@ -135,7 +135,7 @@ export default { | ||
| 135 | 135 | ||
| 136 | this.editComplaintTypeInfo.staffs = this.$refs.selectStaffs.getSelectedStaffs() | 136 | this.editComplaintTypeInfo.staffs = this.$refs.selectStaffs.getSelectedStaffs() |
| 137 | await updateComplaintType(this.editComplaintTypeInfo) | 137 | await updateComplaintType(this.editComplaintTypeInfo) |
| 138 | - this.$message.success(this.$t('editComplaintType.saveSuccess')) | 138 | + this.$message.success(this.$t('common.operationSuccess')) |
| 139 | this.handleBack() | 139 | this.handleBack() |
| 140 | } catch (error) { | 140 | } catch (error) { |
| 141 | this.$message.error(error.message || this.$t('editComplaintType.saveError')) | 141 | this.$message.error(error.message || this.$t('editComplaintType.saveError')) |
src/views/oa/editExamineStaffList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-examine-staff-container"> | 2 | <div class="edit-examine-staff-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -123,7 +123,7 @@ export default { | @@ -123,7 +123,7 @@ export default { | ||
| 123 | const res = await updateExamineStaff(this.editExamineStaffInfo) | 123 | const res = await updateExamineStaff(this.editExamineStaffInfo) |
| 124 | 124 | ||
| 125 | if (res.code === 0) { | 125 | if (res.code === 0) { |
| 126 | - this.$message.success(this.$t('common.updateSuccess')) | 126 | + this.$message.success(this.$t('common.operationSuccess')) |
| 127 | this._goBack() | 127 | this._goBack() |
| 128 | } else { | 128 | } else { |
| 129 | this.$message.error(res.msg) | 129 | this.$message.error(res.msg) |
src/views/oa/editNoticeViewList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-notice-container"> | 2 | <div class="edit-notice-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -107,7 +107,7 @@ export default { | @@ -107,7 +107,7 @@ export default { | ||
| 107 | try { | 107 | try { |
| 108 | const { code, msg } = await updateNotice(this.editNoticeViewInfo) | 108 | const { code, msg } = await updateNotice(this.editNoticeViewInfo) |
| 109 | if (code === 0) { | 109 | if (code === 0) { |
| 110 | - this.$message.success(this.$t('editNoticeView.updateSuccess')) | 110 | + this.$message.success(this.$t('common.operationSuccess')) |
| 111 | this.closeEditNoticeInfo() | 111 | this.closeEditNoticeInfo() |
| 112 | } else { | 112 | } else { |
| 113 | this.$message.error(msg) | 113 | this.$message.error(msg) |
src/views/oa/editOwnerVotingList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-owner-voting-container"> | 2 | <div class="edit-owner-voting-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -146,7 +146,7 @@ export default { | @@ -146,7 +146,7 @@ export default { | ||
| 146 | 146 | ||
| 147 | try { | 147 | try { |
| 148 | await updateOwnerVote(this.editOwnerVotingInfo) | 148 | await updateOwnerVote(this.editOwnerVotingInfo) |
| 149 | - this.$message.success(this.$t('editOwnerVoting.saveSuccess')) | 149 | + this.$message.success(this.$t('common.operationSuccess')) |
| 150 | this.goBack() | 150 | this.goBack() |
| 151 | } catch (error) { | 151 | } catch (error) { |
| 152 | this.$message.error(error.message || this.$t('editOwnerVoting.saveFailed')) | 152 | this.$message.error(error.message || this.$t('editOwnerVoting.saveFailed')) |
src/views/oa/editQuestionAnswerList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-question-answer-container"> | 2 | <div class="edit-question-answer-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -232,7 +232,7 @@ export default { | @@ -232,7 +232,7 @@ export default { | ||
| 232 | 232 | ||
| 233 | try { | 233 | try { |
| 234 | await updateQuestionAnswer(this.editQuestionAnswerInfo) | 234 | await updateQuestionAnswer(this.editQuestionAnswerInfo) |
| 235 | - this.$message.success(this.$t('editQuestionAnswer.updateSuccess')) | 235 | + this.$message.success(this.$t('common.operationSuccess')) |
| 236 | this.goBack() | 236 | this.goBack() |
| 237 | } catch (error) { | 237 | } catch (error) { |
| 238 | console.error('Failed to update question answer:', error) | 238 | console.error('Failed to update question answer:', error) |
src/views/oa/editWorkList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-work-container"> | 2 | <div class="edit-work-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -263,7 +263,7 @@ export default { | @@ -263,7 +263,7 @@ export default { | ||
| 263 | 263 | ||
| 264 | const res = await updateWorkPool(params) | 264 | const res = await updateWorkPool(params) |
| 265 | if (res.code === 0) { | 265 | if (res.code === 0) { |
| 266 | - this.$message.success(this.$t('common.submitSuccess')) | 266 | + this.$message.success(this.$t('common.operationSuccess')) |
| 267 | this.goBack() | 267 | this.goBack() |
| 268 | } else { | 268 | } else { |
| 269 | this.$message.error(res.msg) | 269 | this.$message.error(res.msg) |
src/views/oa/monthAttendanceManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="month-attendance-container"> | 2 | <div class="month-attendance-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-wrapper"> | 4 | <el-card class="search-wrapper"> |
| @@ -228,7 +228,7 @@ export default { | @@ -228,7 +228,7 @@ export default { | ||
| 228 | pagePath: 'monthAttendance' | 228 | pagePath: 'monthAttendance' |
| 229 | } | 229 | } |
| 230 | await exportMonthAttendance(params) | 230 | await exportMonthAttendance(params) |
| 231 | - this.$message.success(this.$t('monthAttendance.exportSuccess')) | 231 | + this.$message.success(this.$t('common.operationSuccess')) |
| 232 | } catch (error) { | 232 | } catch (error) { |
| 233 | this.$message.error(this.$t('monthAttendance.exportError')) | 233 | this.$message.error(this.$t('monthAttendance.exportError')) |
| 234 | } finally { | 234 | } finally { |
src/views/oa/newOaWorkflowDetailList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="new-oa-workflow-detail-container"> | 2 | <div class="new-oa-workflow-detail-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -297,7 +297,7 @@ export default { | @@ -297,7 +297,7 @@ export default { | ||
| 297 | try { | 297 | try { |
| 298 | const response = await auditOaWorkflow(audit) | 298 | const response = await auditOaWorkflow(audit) |
| 299 | if (response.code === 0) { | 299 | if (response.code === 0) { |
| 300 | - this.$message.success(this.$t('newOaWorkflowDetail.submitSuccess')) | 300 | + this.$message.success(this.$t('common.operationSuccess')) |
| 301 | this._goBack() | 301 | this._goBack() |
| 302 | } else { | 302 | } else { |
| 303 | this.$message.error(response.msg) | 303 | this.$message.error(response.msg) |
src/views/oa/newOaWorkflowFormEditList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="new-oa-workflow-form-edit-container"> | 2 | <div class="new-oa-workflow-form-edit-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -271,7 +271,7 @@ export default { | @@ -271,7 +271,7 @@ export default { | ||
| 271 | 271 | ||
| 272 | const res = await updateOaWorkflowFormData(formData) | 272 | const res = await updateOaWorkflowFormData(formData) |
| 273 | if (res.code === 0) { | 273 | if (res.code === 0) { |
| 274 | - this.$message.success(this.$t('newOaWorkflowFormEdit.submitSuccess')) | 274 | + this.$message.success(this.$t('common.operationSuccess')) |
| 275 | this.closeEditInfo() | 275 | this.closeEditInfo() |
| 276 | } else { | 276 | } else { |
| 277 | this.$message.error(res.msg || this.$t('newOaWorkflowFormEdit.submitError')) | 277 | this.$message.error(res.msg || this.$t('newOaWorkflowFormEdit.submitError')) |
src/views/oa/workTaskDetailList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="work-task-detail-container"> | 2 | <div class="work-task-detail-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div class="flex justify-between"> | 4 | <div class="flex justify-between"> |
| @@ -366,7 +366,7 @@ export default { | @@ -366,7 +366,7 @@ export default { | ||
| 366 | async auditSubmit() { | 366 | async auditSubmit() { |
| 367 | try { | 367 | try { |
| 368 | await finishWorkTask(this.workTaskDetailInfo.audit) | 368 | await finishWorkTask(this.workTaskDetailInfo.audit) |
| 369 | - this.$message.success(this.$t('workTaskDetail.submitSuccess')) | 369 | + this.$message.success(this.$t('common.operationSuccess')) |
| 370 | this.goBack() | 370 | this.goBack() |
| 371 | } catch (error) { | 371 | } catch (error) { |
| 372 | this.$message.error(error.message || this.$t('workTaskDetail.submitFailed')) | 372 | this.$message.error(error.message || this.$t('workTaskDetail.submitFailed')) |
src/views/org/addScheduleClassesList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-schedule-classes-container"> | 2 | <div class="add-schedule-classes-container"> |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -116,7 +116,7 @@ export default { | @@ -116,7 +116,7 @@ export default { | ||
| 116 | 116 | ||
| 117 | const res = await saveScheduleClasses(this.addScheduleClassesInfo) | 117 | const res = await saveScheduleClasses(this.addScheduleClassesInfo) |
| 118 | if (res.code === 0) { | 118 | if (res.code === 0) { |
| 119 | - this.$message.success(this.$t('common.saveSuccess')) | 119 | + this.$message.success(this.$t('common.operationSuccess')) |
| 120 | this.goBack() | 120 | this.goBack() |
| 121 | } else { | 121 | } else { |
| 122 | this.$message.error(res.msg) | 122 | this.$message.error(res.msg) |
src/views/org/editScheduleClassesList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-schedule-classes-container"> | 2 | <div class="edit-schedule-classes-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -120,7 +120,7 @@ export default { | @@ -120,7 +120,7 @@ export default { | ||
| 120 | async editScheduleClasses() { | 120 | async editScheduleClasses() { |
| 121 | try { | 121 | try { |
| 122 | await updateScheduleClasses(this.editScheduleClassesInfo) | 122 | await updateScheduleClasses(this.editScheduleClassesInfo) |
| 123 | - this.$message.success(this.$t('common.updateSuccess')) | 123 | + this.$message.success(this.$t('common.operationSuccess')) |
| 124 | this.goBack() | 124 | this.goBack() |
| 125 | } catch (error) { | 125 | } catch (error) { |
| 126 | this.$message.error(error.message || this.$t('common.updateFailed')) | 126 | this.$message.error(error.message || this.$t('common.updateFailed')) |
src/views/org/scheduleClassesPageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="schedule-classes-container animated fadeInRight"> | 2 | <div class="schedule-classes-container animated fadeInRight"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="box-card"> | 4 | <el-card class="box-card"> |
| @@ -199,7 +199,7 @@ export default { | @@ -199,7 +199,7 @@ export default { | ||
| 199 | pagePath: 'reportStaffMonthScheduleClasses' | 199 | pagePath: 'reportStaffMonthScheduleClasses' |
| 200 | } | 200 | } |
| 201 | await exportData(params) | 201 | await exportData(params) |
| 202 | - this.$message.success(this.$t('common.exportSuccess')) | 202 | + this.$message.success(this.$t('common.operationSuccess')) |
| 203 | } catch (error) { | 203 | } catch (error) { |
| 204 | console.error('导出失败:', error) | 204 | console.error('导出失败:', error) |
| 205 | this.$message.error(this.$t('common.exportFailed')) | 205 | this.$message.error(this.$t('common.exportFailed')) |
src/views/owner/addOwnerCommitteeList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-owner-committee-container"> | 2 | <div class="add-owner-committee-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -275,7 +275,7 @@ export default { | @@ -275,7 +275,7 @@ export default { | ||
| 275 | const response = await saveOwnerCommittee(this.addOwnerCommitteeInfo) | 275 | const response = await saveOwnerCommittee(this.addOwnerCommitteeInfo) |
| 276 | 276 | ||
| 277 | if (response.code === 0) { | 277 | if (response.code === 0) { |
| 278 | - this.$message.success(this.$t('addOwnerCommittee.saveSuccess')) | 278 | + this.$message.success(this.$t('common.operationSuccess')) |
| 279 | this.goBack() | 279 | this.goBack() |
| 280 | } else { | 280 | } else { |
| 281 | this.$message.error(response.msg || this.$t('addOwnerCommittee.saveError')) | 281 | this.$message.error(response.msg || this.$t('addOwnerCommittee.saveError')) |
src/views/owner/auditAuthOwnerUndoList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="audit-auth-owner-undo-container"> | 2 | <div class="audit-auth-owner-undo-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -197,7 +197,7 @@ export default { | @@ -197,7 +197,7 @@ export default { | ||
| 197 | this.$message.error(res.msg) | 197 | this.$message.error(res.msg) |
| 198 | return | 198 | return |
| 199 | } | 199 | } |
| 200 | - this.$message.success(this.$t('auditAuthOwnerUndo.submitSuccess')) | 200 | + this.$message.success(this.$t('common.operationSuccess')) |
| 201 | this.$router.go(-1) | 201 | this.$router.go(-1) |
| 202 | } catch (error) { | 202 | } catch (error) { |
| 203 | this.$message.error(this.$t('auditAuthOwnerUndo.submitFailed') + error) | 203 | this.$message.error(this.$t('auditAuthOwnerUndo.submitFailed') + error) |
src/views/owner/editOwnerCommitteeList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-owner-committee-container"> | 2 | <div class="edit-owner-committee-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -259,7 +259,7 @@ export default { | @@ -259,7 +259,7 @@ export default { | ||
| 259 | try { | 259 | try { |
| 260 | await this.$refs.form.validate() | 260 | await this.$refs.form.validate() |
| 261 | await updateOwnerCommittee(this.formData) | 261 | await updateOwnerCommittee(this.formData) |
| 262 | - this.$message.success(this.$t('editOwnerCommittee.updateSuccess')) | 262 | + this.$message.success(this.$t('common.operationSuccess')) |
| 263 | this.goBack() | 263 | this.goBack() |
| 264 | } catch (error) { | 264 | } catch (error) { |
| 265 | if (error instanceof Error) { | 265 | if (error instanceof Error) { |
src/views/owner/ownerBindRoom.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="room-bind-owner-container"> | 2 | <div class="room-bind-owner-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -162,7 +162,7 @@ export default { | @@ -162,7 +162,7 @@ export default { | ||
| 162 | 162 | ||
| 163 | const res = await sellRoom(data) | 163 | const res = await sellRoom(data) |
| 164 | if (res.code === 0) { | 164 | if (res.code === 0) { |
| 165 | - this.$message.success(this.$t('common.submitSuccess')) | 165 | + this.$message.success(this.$t('common.operationSuccess')) |
| 166 | this._goBack() | 166 | this._goBack() |
| 167 | } else { | 167 | } else { |
| 168 | this.$message.error(res.msg || this.$t('common.submitFailed')) | 168 | this.$message.error(res.msg || this.$t('common.submitFailed')) |
src/views/owner/ownerCommitteeManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="owner-committee-container"> | 2 | <div class="owner-committee-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-wrapper"> | 4 | <el-card class="search-wrapper"> |
| @@ -161,7 +161,7 @@ export default { | @@ -161,7 +161,7 @@ export default { | ||
| 161 | }, | 161 | }, |
| 162 | handleDeleteSuccess() { | 162 | handleDeleteSuccess() { |
| 163 | this.getList() | 163 | this.getList() |
| 164 | - this.$message.success(this.$t('ownerCommitteeManage.deleteSuccess')) | 164 | + this.$message.success(this.$t('common.operationSuccess')) |
| 165 | }, | 165 | }, |
| 166 | handleSizeChange(val) { | 166 | handleSizeChange(val) { |
| 167 | this.pagination.size = val | 167 | this.pagination.size = val |
src/views/owner/roomBindOwnerList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="room-bind-owner-container"> | 2 | <div class="room-bind-owner-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between" > | 4 | <div slot="header" class="flex justify-between" > |
| @@ -160,7 +160,7 @@ export default { | @@ -160,7 +160,7 @@ export default { | ||
| 160 | 160 | ||
| 161 | const res = await sellRoom(data) | 161 | const res = await sellRoom(data) |
| 162 | if (res.code === 0) { | 162 | if (res.code === 0) { |
| 163 | - this.$message.success(this.$t('common.submitSuccess')) | 163 | + this.$message.success(this.$t('common.operationSuccess')) |
| 164 | this._goBack() | 164 | this._goBack() |
| 165 | } else { | 165 | } else { |
| 166 | this.$message.error(res.msg || this.$t('common.submitFailed')) | 166 | this.$message.error(res.msg || this.$t('common.submitFailed')) |
src/views/report/reportFeeSummaryList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="report-fee-summary-container animated fadeInRight"> | 2 | <div class="report-fee-summary-container animated fadeInRight"> |
| 3 | <el-row class="flex justify-start" :gutter="20"> | 3 | <el-row class="flex justify-start" :gutter="20"> |
| 4 | <el-col :span="3" class="padding-r-0"> | 4 | <el-col :span="3" class="padding-r-0"> |
| @@ -305,7 +305,7 @@ export default { | @@ -305,7 +305,7 @@ export default { | ||
| 305 | } | 305 | } |
| 306 | 306 | ||
| 307 | await exportData(params) | 307 | await exportData(params) |
| 308 | - this.$message.success(this.$t('reportFeeSummary.exportSuccess')) | 308 | + this.$message.success(this.$t('common.operationSuccess')) |
| 309 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 309 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 310 | } catch (error) { | 310 | } catch (error) { |
| 311 | console.error('Failed to export:', error) | 311 | console.error('Failed to export:', error) |
src/views/report/reportNoFeeRoomList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="report-no-fee-room-container animated fadeInRight"> | 2 | <div class="report-no-fee-room-container animated fadeInRight"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -214,7 +214,7 @@ export default { | @@ -214,7 +214,7 @@ export default { | ||
| 214 | pagePath: 'reportNoFeeRoom' | 214 | pagePath: 'reportNoFeeRoom' |
| 215 | } | 215 | } |
| 216 | await exportData(params) | 216 | await exportData(params) |
| 217 | - this.$message.success(this.$t('reportNoFeeRoom.exportSuccess')) | 217 | + this.$message.success(this.$t('common.operationSuccess')) |
| 218 | } catch (error) { | 218 | } catch (error) { |
| 219 | console.error('导出失败:', error) | 219 | console.error('导出失败:', error) |
| 220 | this.$message.error(this.$t('reportNoFeeRoom.exportFailed')) | 220 | this.$message.error(this.$t('reportNoFeeRoom.exportFailed')) |
src/views/report/reportQuestionAnswerDetailList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="report-question-answer-detail-container animated fadeInRight"> | 2 | <div class="report-question-answer-detail-container animated fadeInRight"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -163,7 +163,7 @@ export default { | @@ -163,7 +163,7 @@ export default { | ||
| 163 | pagePath: 'reportQuestionAnswerDetail' | 163 | pagePath: 'reportQuestionAnswerDetail' |
| 164 | } | 164 | } |
| 165 | await exportData(params) | 165 | await exportData(params) |
| 166 | - this.$message.success(this.$t('reportQuestionAnswerDetail.exportSuccess')) | 166 | + this.$message.success(this.$t('common.operationSuccess')) |
| 167 | } catch (error) { | 167 | } catch (error) { |
| 168 | this.$message.error(this.$t('reportQuestionAnswerDetail.exportError')) | 168 | this.$message.error(this.$t('reportQuestionAnswerDetail.exportError')) |
| 169 | } | 169 | } |
src/views/resource/addItemOutList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div> | 2 | <div> |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -378,7 +378,7 @@ export default { | @@ -378,7 +378,7 @@ export default { | ||
| 378 | try { | 378 | try { |
| 379 | const res = await goodsCollection(this.addItemOutInfo) | 379 | const res = await goodsCollection(this.addItemOutInfo) |
| 380 | if (res.code === 0) { | 380 | if (res.code === 0) { |
| 381 | - this.$message.success(this.$t('addItemOut.submitSuccess')) | 381 | + this.$message.success(this.$t('common.operationSuccess')) |
| 382 | this.goBack() | 382 | this.goBack() |
| 383 | } else { | 383 | } else { |
| 384 | this.$message.error(res.msg || this.$t('addItemOut.submitFailed')) | 384 | this.$message.error(res.msg || this.$t('addItemOut.submitFailed')) |
src/views/resource/addPurchaseApplyList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-purchase-apply-container"> | 2 | <div class="add-purchase-apply-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -282,7 +282,7 @@ export default { | @@ -282,7 +282,7 @@ export default { | ||
| 282 | const res = await purchaseApply(this.addPurchaseApplyInfo) | 282 | const res = await purchaseApply(this.addPurchaseApplyInfo) |
| 283 | if (res.code === 0) { | 283 | if (res.code === 0) { |
| 284 | this.$router.go(-1) | 284 | this.$router.go(-1) |
| 285 | - this.$message.success(this.$t('common.submitSuccess')) | 285 | + this.$message.success(this.$t('common.operationSuccess')) |
| 286 | } else { | 286 | } else { |
| 287 | this.$message.error(res.msg) | 287 | this.$message.error(res.msg) |
| 288 | } | 288 | } |
src/views/resource/allocationStorehouseApplyList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="allocation-storehouse-apply-container"> | 2 | <div class="allocation-storehouse-apply-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -379,7 +379,7 @@ export default { | @@ -379,7 +379,7 @@ export default { | ||
| 379 | try { | 379 | try { |
| 380 | const res = await saveAllocationStorehouse(this.form) | 380 | const res = await saveAllocationStorehouse(this.form) |
| 381 | if (res.code === 0) { | 381 | if (res.code === 0) { |
| 382 | - this.$message.success(this.$t('allocationStorehouseApply.submitSuccess')) | 382 | + this.$message.success(this.$t('common.operationSuccess')) |
| 383 | this.goBack() | 383 | this.goBack() |
| 384 | } else { | 384 | } else { |
| 385 | this.$message.error(res.msg) | 385 | this.$message.error(res.msg) |
src/views/resource/allocationStorehouseDetailedList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="animated fadeInRight ecommerce padding"> | 2 | <div class="animated fadeInRight ecommerce padding"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="4"> | 4 | <el-col :span="4"> |
| @@ -375,7 +375,7 @@ export default { | @@ -375,7 +375,7 @@ export default { | ||
| 375 | pagePath: 'allocationStorehouseDetailed' | 375 | pagePath: 'allocationStorehouseDetailed' |
| 376 | } | 376 | } |
| 377 | await exportData(params) | 377 | await exportData(params) |
| 378 | - this.$message.success(this.$t('allocationStorehouseDetailed.exportSuccess')) | 378 | + this.$message.success(this.$t('common.operationSuccess')) |
| 379 | // 这里可以添加跳转到下载页面的逻辑 | 379 | // 这里可以添加跳转到下载页面的逻辑 |
| 380 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 380 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 381 | } catch (error) { | 381 | } catch (error) { |
src/views/resource/allocationStorehouseEnterList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="allocation-storehouse-enter-container"> | 2 | <div class="allocation-storehouse-enter-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -145,7 +145,7 @@ export default { | @@ -145,7 +145,7 @@ export default { | ||
| 145 | 145 | ||
| 146 | try { | 146 | try { |
| 147 | await allocationStoreEnter(this.allocationStorehouseEnterInfo) | 147 | await allocationStoreEnter(this.allocationStorehouseEnterInfo) |
| 148 | - this.$message.success(this.$t('allocationStorehouseEnter.submitSuccess')) | 148 | + this.$message.success(this.$t('common.operationSuccess')) |
| 149 | this.$router.go(-1) | 149 | this.$router.go(-1) |
| 150 | } catch (error) { | 150 | } catch (error) { |
| 151 | this.$message.error(error.message || this.$t('allocationStorehouseEnter.submitError')) | 151 | this.$message.error(error.message || this.$t('allocationStorehouseEnter.submitError')) |
src/views/resource/allocationUserStorehouseManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="allocation-user-storehouse-manage-container"> | 2 | <div class="allocation-user-storehouse-manage-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-wrapper"> | 4 | <el-card class="search-wrapper"> |
| @@ -446,7 +446,7 @@ export default { | @@ -446,7 +446,7 @@ export default { | ||
| 446 | ...this.allocationUserStorehouseManageInfo.conditions | 446 | ...this.allocationUserStorehouseManageInfo.conditions |
| 447 | } | 447 | } |
| 448 | await exportData(params) | 448 | await exportData(params) |
| 449 | - this.$message.success(this.$t('allocationUserStorehouseManage.exportSuccess')) | 449 | + this.$message.success(this.$t('common.operationSuccess')) |
| 450 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 450 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 451 | } catch (error) { | 451 | } catch (error) { |
| 452 | console.error('Failed to export:', error) | 452 | console.error('Failed to export:', error) |
src/views/resource/assetInventoryManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="asset-inventory-manage-container"> | 2 | <div class="asset-inventory-manage-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="4" class=""> | 4 | <el-col :span="4" class=""> |
| @@ -252,7 +252,7 @@ export default { | @@ -252,7 +252,7 @@ export default { | ||
| 252 | pagePath: 'assetInventoryManage' | 252 | pagePath: 'assetInventoryManage' |
| 253 | } | 253 | } |
| 254 | await exportAssetInventory(params) | 254 | await exportAssetInventory(params) |
| 255 | - this.$message.success(this.$t('common.exportSuccess')) | 255 | + this.$message.success(this.$t('common.operationSuccess')) |
| 256 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 256 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 257 | } catch (error) { | 257 | } catch (error) { |
| 258 | console.error('导出失败:', error) | 258 | console.error('导出失败:', error) |
src/views/resource/editAllocationStorehouseApplyList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-allocation-storehouse-apply-container"> | 2 | <div class="edit-allocation-storehouse-apply-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -273,7 +273,7 @@ export default { | @@ -273,7 +273,7 @@ export default { | ||
| 273 | this.loading = true | 273 | this.loading = true |
| 274 | const response = await updateAllocationStorehouse(this.formData) | 274 | const response = await updateAllocationStorehouse(this.formData) |
| 275 | if (response.code === 0) { | 275 | if (response.code === 0) { |
| 276 | - this.$message.success(this.$t('editAllocationStorehouseApply.updateSuccess')) | 276 | + this.$message.success(this.$t('common.operationSuccess')) |
| 277 | this.$router.go(-1) | 277 | this.$router.go(-1) |
| 278 | } else { | 278 | } else { |
| 279 | this.$message.error(response.msg) | 279 | this.$message.error(response.msg) |
src/views/resource/editPurchaseApplyList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-purchase-apply-container"> | 2 | <div class="edit-purchase-apply-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -201,7 +201,7 @@ export default { | @@ -201,7 +201,7 @@ export default { | ||
| 201 | 201 | ||
| 202 | try { | 202 | try { |
| 203 | await updatePurchaseApply(this.editPurchaseApplyInfo) | 203 | await updatePurchaseApply(this.editPurchaseApplyInfo) |
| 204 | - this.$message.success(this.$t('editPurchaseApply.updateSuccess')) | 204 | + this.$message.success(this.$t('common.operationSuccess')) |
| 205 | this.goBack() | 205 | this.goBack() |
| 206 | } catch (error) { | 206 | } catch (error) { |
| 207 | console.error('提交采购申请失败:', error) | 207 | console.error('提交采购申请失败:', error) |
src/views/resource/itemOutManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="item-out-manage-container"> | 2 | <div class="item-out-manage-container"> |
| 3 | <el-row class="wrapper" :gutter="10"> | 3 | <el-row class="wrapper" :gutter="10"> |
| 4 | <el-col :span="4" class="padding-r-0"> | 4 | <el-col :span="4" class="padding-r-0"> |
| @@ -246,7 +246,7 @@ export default { | @@ -246,7 +246,7 @@ export default { | ||
| 246 | pagePath: 'itemOutManage' | 246 | pagePath: 'itemOutManage' |
| 247 | } | 247 | } |
| 248 | await exportData(params) | 248 | await exportData(params) |
| 249 | - this.$message.success(this.$t('common.exportSuccess')) | 249 | + this.$message.success(this.$t('common.operationSuccess')) |
| 250 | this.$router.push('/pages/property/downloadTempFile?tab=downloadCenter') | 250 | this.$router.push('/pages/property/downloadTempFile?tab=downloadCenter') |
| 251 | } catch (error) { | 251 | } catch (error) { |
| 252 | console.error('导出失败:', error) | 252 | console.error('导出失败:', error) |
src/views/resource/purchaseApplyManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="purchase-apply-manage-container"> | 2 | <div class="purchase-apply-manage-container"> |
| 3 | 3 | ||
| 4 | <div class="wrapper wrapper-content animated fadeInRight ecommerce"> | 4 | <div class="wrapper wrapper-content animated fadeInRight ecommerce"> |
| @@ -277,7 +277,7 @@ export default { | @@ -277,7 +277,7 @@ export default { | ||
| 277 | pagePath: 'purchaseApplyManage' | 277 | pagePath: 'purchaseApplyManage' |
| 278 | } | 278 | } |
| 279 | await exportData(params) | 279 | await exportData(params) |
| 280 | - this.$message.success(this.$t('common.exportSuccess')) | 280 | + this.$message.success(this.$t('common.operationSuccess')) |
| 281 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 281 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 282 | } catch (error) { | 282 | } catch (error) { |
| 283 | console.error('导出失败:', error) | 283 | console.error('导出失败:', error) |
src/views/resource/resourceAuditFlowList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="resource-audit-flow-container"> | 2 | <div class="resource-audit-flow-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-card"> | 4 | <el-card class="search-card"> |
| @@ -182,7 +182,7 @@ export default { | @@ -182,7 +182,7 @@ export default { | ||
| 182 | this.loading = true | 182 | this.loading = true |
| 183 | const res = await deployWorkflow({ modelId: row.modelId }) | 183 | const res = await deployWorkflow({ modelId: row.modelId }) |
| 184 | if (res.code === 0) { | 184 | if (res.code === 0) { |
| 185 | - this.$message.success(this.$t('common.submitSuccess')) | 185 | + this.$message.success(this.$t('common.operationSuccess')) |
| 186 | this.fetchData() | 186 | this.fetchData() |
| 187 | } else { | 187 | } else { |
| 188 | this.$message.error(res.msg || this.$t('common.submitFailed')) | 188 | this.$message.error(res.msg || this.$t('common.submitFailed')) |
src/views/resource/resourceEnterManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="resource-enter-manage-container"> | 2 | <div class="resource-enter-manage-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -165,7 +165,7 @@ export default { | @@ -165,7 +165,7 @@ export default { | ||
| 165 | try { | 165 | try { |
| 166 | const response = await resourceEnter(this.resourceEnterManageInfo) | 166 | const response = await resourceEnter(this.resourceEnterManageInfo) |
| 167 | if (response.code === 0) { | 167 | if (response.code === 0) { |
| 168 | - this.$message.success(this.$t('resourceEnterManage.submitSuccess')) | 168 | + this.$message.success(this.$t('common.operationSuccess')) |
| 169 | this.$router.go(-1) | 169 | this.$router.go(-1) |
| 170 | } else { | 170 | } else { |
| 171 | this.$message.error(response.msg) | 171 | this.$message.error(response.msg) |
src/views/resource/resourceOutManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="resource-out-manage-container"> | 2 | <div class="resource-out-manage-container"> |
| 3 | <div class="box-card"> | 3 | <div class="box-card"> |
| 4 | <div class="card-header flex justify-between"> | 4 | <div class="card-header flex justify-between"> |
| @@ -151,7 +151,7 @@ export default { | @@ -151,7 +151,7 @@ export default { | ||
| 151 | 151 | ||
| 152 | const response = await submitResourceOut(this.resourceOutManageInfo) | 152 | const response = await submitResourceOut(this.resourceOutManageInfo) |
| 153 | if (response.code === 0) { | 153 | if (response.code === 0) { |
| 154 | - this.$message.success(this.$t('resourceOutManage.submitSuccess')) | 154 | + this.$message.success(this.$t('common.operationSuccess')) |
| 155 | this.$router.go(-1) | 155 | this.$router.go(-1) |
| 156 | } else { | 156 | } else { |
| 157 | this.$message.error(response.msg) | 157 | this.$message.error(response.msg) |
src/views/resource/resourceStoreManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="animated fadeInRight ecommerce"> | 2 | <div class="animated fadeInRight ecommerce"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="5" class="tree-container"> | 4 | <el-col :span="5" class="tree-container"> |
| @@ -470,7 +470,7 @@ export default { | @@ -470,7 +470,7 @@ export default { | ||
| 470 | try { | 470 | try { |
| 471 | this.resourceStoreManageInfo.conditions.pagePath = 'resourceStoreManage' | 471 | this.resourceStoreManageInfo.conditions.pagePath = 'resourceStoreManage' |
| 472 | const res = await exportData(this.resourceStoreManageInfo.conditions) | 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 | if (res && res.code === 0) { | 474 | if (res && res.code === 0) { |
| 475 | window.open('/#/pages/property/downloadTempFile?tab=下载中心') | 475 | window.open('/#/pages/property/downloadTempFile?tab=下载中心') |
| 476 | } | 476 | } |
src/views/resource/resourceStoreUseRecordManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="resource-store-use-record-manage-container"> | 2 | <div class="resource-store-use-record-manage-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-wrapper"> | 4 | <el-card class="search-wrapper"> |
| @@ -331,7 +331,7 @@ export default { | @@ -331,7 +331,7 @@ export default { | ||
| 331 | ...this.resourceStoreUseRecordManageInfo.conditions | 331 | ...this.resourceStoreUseRecordManageInfo.conditions |
| 332 | } | 332 | } |
| 333 | await exportData(params) | 333 | await exportData(params) |
| 334 | - this.$message.success(this.$t('common.exportSuccess')) | 334 | + this.$message.success(this.$t('common.operationSuccess')) |
| 335 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') | 335 | this.$router.push('/pages/property/downloadTempFile?tab=下载中心') |
| 336 | } catch (error) { | 336 | } catch (error) { |
| 337 | console.error(error) | 337 | console.error(error) |
src/views/resource/returnStorehouseApplyManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="animated fadeInRight ecommerce padding"> | 2 | <div class="animated fadeInRight ecommerce padding"> |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -238,7 +238,7 @@ export default { | @@ -238,7 +238,7 @@ export default { | ||
| 238 | try { | 238 | try { |
| 239 | const res = await saveAllocationStorehouse(this.returnStorehouseManageInfo) | 239 | const res = await saveAllocationStorehouse(this.returnStorehouseManageInfo) |
| 240 | if (res.code === 0) { | 240 | if (res.code === 0) { |
| 241 | - this.$message.success(this.$t('returnStorehouseApplyManage.returnSuccess')) | 241 | + this.$message.success(this.$t('common.operationSuccess')) |
| 242 | this._goBack() | 242 | this._goBack() |
| 243 | } else { | 243 | } else { |
| 244 | this.$message.error(res.msg) | 244 | this.$message.error(res.msg) |
src/views/resource/scrapGoodsStepList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="scrap-goods-step-container"> | 2 | <div class="scrap-goods-step-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -188,7 +188,7 @@ export default { | @@ -188,7 +188,7 @@ export default { | ||
| 188 | saveAllocationUserStorehouse(this.form) | 188 | saveAllocationUserStorehouse(this.form) |
| 189 | .then(response => { | 189 | .then(response => { |
| 190 | if (response.code === 0) { | 190 | if (response.code === 0) { |
| 191 | - this.$message.success(this.$t('scrapGoodsStep.submitSuccess')) | 191 | + this.$message.success(this.$t('common.operationSuccess')) |
| 192 | this.$router.push('/resource/myResourceStoreManage') | 192 | this.$router.push('/resource/myResourceStoreManage') |
| 193 | } else { | 193 | } else { |
| 194 | this.$message.error(response.msg) | 194 | this.$message.error(response.msg) |
src/views/resource/transferGoodsManageList.vue
| @@ -242,7 +242,7 @@ export default { | @@ -242,7 +242,7 @@ export default { | ||
| 242 | postData | 242 | postData |
| 243 | ) | 243 | ) |
| 244 | if (res.code === 0) { | 244 | if (res.code === 0) { |
| 245 | - this.$message.success(this.$t('common.operateSuccess')) | 245 | + this.$message.success(this.$t('common.operationSuccess')) |
| 246 | this.$router.push('/resource/myResourceStoreManage') | 246 | this.$router.push('/resource/myResourceStoreManage') |
| 247 | } else { | 247 | } else { |
| 248 | this.$message.error(res.msg) | 248 | this.$message.error(res.msg) |
src/views/resource/urgentPurchaseApplyStepList.vue
src/views/room/addRoomViewList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-room-view-container"> | 2 | <div class="add-room-view-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between "> | 4 | <div slot="header" class="flex justify-between "> |
| @@ -308,7 +308,7 @@ export default { | @@ -308,7 +308,7 @@ export default { | ||
| 308 | 308 | ||
| 309 | try { | 309 | try { |
| 310 | await saveRoom(this.addRoomViewInfo) | 310 | await saveRoom(this.addRoomViewInfo) |
| 311 | - this.$message.success(this.$t('addRoomView.saveSuccess')) | 311 | + this.$message.success(this.$t('common.operationSuccess')) |
| 312 | this._goBack() | 312 | this._goBack() |
| 313 | } catch (error) { | 313 | } catch (error) { |
| 314 | console.error('保存失败:', error) | 314 | console.error('保存失败:', error) |
src/views/room/handoverList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="handover-container"> | 2 | <div class="handover-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -179,7 +179,7 @@ export default { | @@ -179,7 +179,7 @@ export default { | ||
| 179 | try { | 179 | try { |
| 180 | const res = await saveHandover(this.handoverInfo) | 180 | const res = await saveHandover(this.handoverInfo) |
| 181 | if (res.code === 0) { | 181 | if (res.code === 0) { |
| 182 | - this.$message.success(this.$t('handover.submitSuccess')) | 182 | + this.$message.success(this.$t('common.operationSuccess')) |
| 183 | this.goBack() | 183 | this.goBack() |
| 184 | } else { | 184 | } else { |
| 185 | this.$message.error(res.msg) | 185 | this.$message.error(res.msg) |
src/views/room/ownerExitRoomList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="owner-exit-room-container"> | 2 | <div class="owner-exit-room-container"> |
| 3 | <!-- 业主信息 --> | 3 | <!-- 业主信息 --> |
| 4 | <el-card class="box-card"> | 4 | <el-card class="box-card"> |
| @@ -154,7 +154,7 @@ export default { | @@ -154,7 +154,7 @@ export default { | ||
| 154 | try { | 154 | try { |
| 155 | const res = await ownerExitRoom(this.ownerExitRoomInfo) | 155 | const res = await ownerExitRoom(this.ownerExitRoomInfo) |
| 156 | if (res.code === 0) { | 156 | if (res.code === 0) { |
| 157 | - this.$message.success(this.$t('common.submitSuccess')) | 157 | + this.$message.success(this.$t('common.operationSuccess')) |
| 158 | this.goBack() | 158 | this.goBack() |
| 159 | } else { | 159 | } else { |
| 160 | this.$message.error(res.msg) | 160 | this.$message.error(res.msg) |
src/views/scm/addReserveDiningList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-reserve-dining-container"> | 2 | <div class="add-reserve-dining-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -158,7 +158,7 @@ export default { | @@ -158,7 +158,7 @@ export default { | ||
| 158 | const response = await saveReserveGoods(this.addReserveDiningInfo) | 158 | const response = await saveReserveGoods(this.addReserveDiningInfo) |
| 159 | 159 | ||
| 160 | if (response.code === 0) { | 160 | if (response.code === 0) { |
| 161 | - this.$message.success(this.$t('common.saveSuccess')) | 161 | + this.$message.success(this.$t('common.operationSuccess')) |
| 162 | this.goBack() | 162 | this.goBack() |
| 163 | } else { | 163 | } else { |
| 164 | this.$message.error(response.msg) | 164 | this.$message.error(response.msg) |
src/views/scm/addReserveServiceList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-reserve-service-container"> | 2 | <div class="add-reserve-service-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -188,7 +188,7 @@ export default { | @@ -188,7 +188,7 @@ export default { | ||
| 188 | try { | 188 | try { |
| 189 | const response = await saveReserveGoods(this.addReserveServiceInfo) | 189 | const response = await saveReserveGoods(this.addReserveServiceInfo) |
| 190 | if (response.code === 0) { | 190 | if (response.code === 0) { |
| 191 | - this.$message.success(this.$t('addReserveService.saveSuccess')) | 191 | + this.$message.success(this.$t('common.operationSuccess')) |
| 192 | this.$router.go(-1) | 192 | this.$router.go(-1) |
| 193 | } else { | 193 | } else { |
| 194 | this.$message.error(response.msg) | 194 | this.$message.error(response.msg) |
src/views/scm/couponPropertyUserDetailList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="coupon-property-user-detail-container"> | 2 | <div class="coupon-property-user-detail-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="6"> | 4 | <el-col :span="6"> |
| @@ -178,7 +178,7 @@ export default { | @@ -178,7 +178,7 @@ export default { | ||
| 178 | } | 178 | } |
| 179 | 179 | ||
| 180 | this.couponId = '' | 180 | this.couponId = '' |
| 181 | - this.$message.success(this.$t('couponPropertyUser.verifySuccess')) | 181 | + this.$message.success(this.$t('common.operationSuccess')) |
| 182 | this.getList() | 182 | this.getList() |
| 183 | 183 | ||
| 184 | if (res.data && res.data.length > 0) { | 184 | if (res.data && res.data.length > 0) { |
src/views/scm/editReserveDiningList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-reserve-dining-container"> | 2 | <div class="edit-reserve-dining-container"> |
| 3 | <el-card> | 3 | <el-card> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -203,7 +203,7 @@ export default { | @@ -203,7 +203,7 @@ export default { | ||
| 203 | try { | 203 | try { |
| 204 | const res = await updateReserveGoods(this.editReserveDiningInfo) | 204 | const res = await updateReserveGoods(this.editReserveDiningInfo) |
| 205 | if (res.code === 0) { | 205 | if (res.code === 0) { |
| 206 | - this.$message.success(this.$t('common.saveSuccess')) | 206 | + this.$message.success(this.$t('common.operationSuccess')) |
| 207 | this.$router.go(-1) | 207 | this.$router.go(-1) |
| 208 | } else { | 208 | } else { |
| 209 | this.$message.error(res.msg) | 209 | this.$message.error(res.msg) |
src/views/scm/editReserveServiceList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-reserve-service-container"> | 2 | <div class="edit-reserve-service-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="clearfix"> | 4 | <div slot="header" class="clearfix"> |
| @@ -257,7 +257,7 @@ export default { | @@ -257,7 +257,7 @@ export default { | ||
| 257 | const { code, msg } = await updateReserveGoods(this.editReserveServiceInfo) | 257 | const { code, msg } = await updateReserveGoods(this.editReserveServiceInfo) |
| 258 | 258 | ||
| 259 | if (code === 0) { | 259 | if (code === 0) { |
| 260 | - this.$message.success(this.$t('common.saveSuccess')) | 260 | + this.$message.success(this.$t('common.operationSuccess')) |
| 261 | this.$router.go(-1) | 261 | this.$router.go(-1) |
| 262 | } else { | 262 | } else { |
| 263 | this.$message.error(msg) | 263 | this.$message.error(msg) |
src/views/scm/ownerDiningList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="owner-dining-container"> | 2 | <div class="owner-dining-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-wrapper"> | 4 | <el-card class="search-wrapper"> |
| @@ -186,7 +186,7 @@ export default { | @@ -186,7 +186,7 @@ export default { | ||
| 186 | pagePath: 'ownerDining' | 186 | pagePath: 'ownerDining' |
| 187 | } | 187 | } |
| 188 | await exportData(params) | 188 | await exportData(params) |
| 189 | - this.$message.success(this.$t('ownerDining.exportSuccess')) | 189 | + this.$message.success(this.$t('common.operationSuccess')) |
| 190 | } catch (error) { | 190 | } catch (error) { |
| 191 | this.$message.error(this.$t('ownerDining.exportError')) | 191 | this.$message.error(this.$t('ownerDining.exportError')) |
| 192 | } finally { | 192 | } finally { |
src/views/scm/reserveConfirmList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="reserve-confirm-container"> | 2 | <div class="reserve-confirm-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="6"> | 4 | <el-col :span="6"> |
| @@ -244,7 +244,7 @@ export default { | @@ -244,7 +244,7 @@ export default { | ||
| 244 | return | 244 | return |
| 245 | } | 245 | } |
| 246 | 246 | ||
| 247 | - this.$message.success(this.$t('reserveConfirm.confirmSuccess')) | 247 | + this.$message.success(this.$t('common.operationSuccess')) |
| 248 | this.reserveConfirmInfo.timeId = '' | 248 | this.reserveConfirmInfo.timeId = '' |
| 249 | this.listReserveConfirms() | 249 | this.listReserveConfirms() |
| 250 | 250 |
src/views/staff/aStaffDetailList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="padding"> | 2 | <div class="padding"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div class="flex justify-between"> | 4 | <div class="flex justify-between"> |
| @@ -162,11 +162,11 @@ export default { | @@ -162,11 +162,11 @@ export default { | ||
| 162 | this.staffDetailInfo.photo = "/img/noPhoto.jpg" | 162 | this.staffDetailInfo.photo = "/img/noPhoto.jpg" |
| 163 | }, | 163 | }, |
| 164 | handleResetSuccess() { | 164 | handleResetSuccess() { |
| 165 | - this.$message.success(this.$t('aStaffDetailList.resetSuccess')) | 165 | + this.$message.success(this.$t('common.operationSuccess')) |
| 166 | }, | 166 | }, |
| 167 | handleEditSuccess() { | 167 | handleEditSuccess() { |
| 168 | this.loadStaffInfo() | 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 | <div class="community-setting-manage-container"> | 2 | <div class="community-setting-manage-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="4"> | 4 | <el-col :span="4"> |
| @@ -111,7 +111,7 @@ export default { | @@ -111,7 +111,7 @@ export default { | ||
| 111 | this.$message.error(msg) | 111 | this.$message.error(msg) |
| 112 | return; | 112 | return; |
| 113 | } | 113 | } |
| 114 | - this.$message.success(this.$t('common.saveSuccess')) | 114 | + this.$message.success(this.$t('common.operationSuccess')) |
| 115 | this.loadSettingKeys() | 115 | this.loadSettingKeys() |
| 116 | } catch (error) { | 116 | } catch (error) { |
| 117 | console.error('保存设置失败:', error) | 117 | console.error('保存设置失败:', error) |
src/views/system/feePrintPageManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="fee-print-page-manage-container"> | 2 | <div class="fee-print-page-manage-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-wrapper"> | 4 | <el-card class="search-wrapper"> |
| @@ -160,7 +160,7 @@ export default { | @@ -160,7 +160,7 @@ export default { | ||
| 160 | pageId: row.pageId, | 160 | pageId: row.pageId, |
| 161 | state: 'T' | 161 | state: 'T' |
| 162 | }).then(() => { | 162 | }).then(() => { |
| 163 | - this.$message.success(this.$t('feePrintPageManage.enableSuccess')) | 163 | + this.$message.success(this.$t('common.operationSuccess')) |
| 164 | this.getList() | 164 | this.getList() |
| 165 | }) | 165 | }) |
| 166 | }, | 166 | }, |
src/views/system/historyFeeDetailImportList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="history-fee-detail-import-container"> | 2 | <div class="history-fee-detail-import-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -108,7 +108,7 @@ export default { | @@ -108,7 +108,7 @@ export default { | ||
| 108 | try { | 108 | try { |
| 109 | const res = await importData(param) | 109 | const res = await importData(param) |
| 110 | if (res.code === 0) { | 110 | if (res.code === 0) { |
| 111 | - this.$message.success(this.$t('historyFeeDetailImport.importSuccess')) | 111 | + this.$message.success(this.$t('common.operationSuccess')) |
| 112 | this.historyFeeDetailImportInfo.excelTemplate = null | 112 | this.historyFeeDetailImportInfo.excelTemplate = null |
| 113 | this.$router.push({ | 113 | this.$router.push({ |
| 114 | path: '/views/system/assetImportLogDetail', | 114 | path: '/views/system/assetImportLogDetail', |
src/views/system/registerProtocolList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="register-protocol-container"> | 2 | <div class="register-protocol-container"> |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -80,7 +80,7 @@ export default { | @@ -80,7 +80,7 @@ export default { | ||
| 80 | async updateRegisterProtocol() { | 80 | async updateRegisterProtocol() { |
| 81 | try { | 81 | try { |
| 82 | await updateRegisterProtocol(this.registerProtocolInfo) | 82 | await updateRegisterProtocol(this.registerProtocolInfo) |
| 83 | - this.$message.success(this.$t('common.updateSuccess')) | 83 | + this.$message.success(this.$t('common.operationSuccess')) |
| 84 | this.listRegisterProtocols() | 84 | this.listRegisterProtocols() |
| 85 | } catch (error) { | 85 | } catch (error) { |
| 86 | this.$message.error(error.message || this.$t('common.updateFailed')) | 86 | this.$message.error(error.message || this.$t('common.updateFailed')) |
src/views/system/systemInfoManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="system-info-manage-container"> | 2 | <div class="system-info-manage-container"> |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -147,7 +147,7 @@ export default { | @@ -147,7 +147,7 @@ export default { | ||
| 147 | handleEditSuccess() { | 147 | handleEditSuccess() { |
| 148 | this.getSystemInfo() | 148 | this.getSystemInfo() |
| 149 | this.editDialogVisible = false | 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 | <div class="workflow-setting-container"> | 2 | <div class="workflow-setting-container"> |
| 3 | <el-row :gutter="20"> | 3 | <el-row :gutter="20"> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -222,7 +222,7 @@ export default { | @@ -222,7 +222,7 @@ export default { | ||
| 222 | ...this.workflowSettingInfo, | 222 | ...this.workflowSettingInfo, |
| 223 | communityId: this.communityId | 223 | communityId: this.communityId |
| 224 | }) | 224 | }) |
| 225 | - this.$message.success(this.$t('common.saveSuccess')) | 225 | + this.$message.success(this.$t('common.operationSuccess')) |
| 226 | this._goBack() | 226 | this._goBack() |
| 227 | } catch (error) { | 227 | } catch (error) { |
| 228 | this.$message.error(error.message) | 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 | </style> | 249 | </style> |
| 249 | \ No newline at end of file | 250 | \ No newline at end of file |
src/views/work/addItemReleaseViewList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-item-release-view-container"> | 2 | <div class="add-item-release-view-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -243,7 +243,7 @@ export default { | @@ -243,7 +243,7 @@ export default { | ||
| 243 | this.form.communityId = this.communityId | 243 | this.form.communityId = this.communityId |
| 244 | const res = await saveItemRelease(this.form) | 244 | const res = await saveItemRelease(this.form) |
| 245 | if (res.code === 0) { | 245 | if (res.code === 0) { |
| 246 | - this.$message.success(this.$t('common.saveSuccess')) | 246 | + this.$message.success(this.$t('common.operationSuccess')) |
| 247 | this.goBack() | 247 | this.goBack() |
| 248 | } else { | 248 | } else { |
| 249 | this.$message.error(res.msg) | 249 | this.$message.error(res.msg) |
src/views/work/addRoomRepairList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="add-room-repair-container"> | 2 | <div class="add-room-repair-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -128,7 +128,7 @@ export default { | @@ -128,7 +128,7 @@ export default { | ||
| 128 | 128 | ||
| 129 | const res = await saveOwnerRepair(this.addRoomRepairInfo) | 129 | const res = await saveOwnerRepair(this.addRoomRepairInfo) |
| 130 | if (res.code === 0) { | 130 | if (res.code === 0) { |
| 131 | - this.$message.success(this.$t('addRoomRepair.submitSuccess')) | 131 | + this.$message.success(this.$t('common.operationSuccess')) |
| 132 | this._goBack() | 132 | this._goBack() |
| 133 | } else { | 133 | } else { |
| 134 | this.$message.error(res.msg) | 134 | this.$message.error(res.msg) |
src/views/work/editItemReleaseViewList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="edit-item-release-container"> | 2 | <div class="edit-item-release-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -184,7 +184,7 @@ export default { | @@ -184,7 +184,7 @@ export default { | ||
| 184 | this.editItemReleaseViewInfo.communityId = this.communityId | 184 | this.editItemReleaseViewInfo.communityId = this.communityId |
| 185 | const res = await updateItemRelease(this.editItemReleaseViewInfo) | 185 | const res = await updateItemRelease(this.editItemReleaseViewInfo) |
| 186 | if (res.code === 0) { | 186 | if (res.code === 0) { |
| 187 | - this.$message.success(this.$t('common.updateSuccess')) | 187 | + this.$message.success(this.$t('common.operationSuccess')) |
| 188 | this.goBack() | 188 | this.goBack() |
| 189 | } else { | 189 | } else { |
| 190 | this.$message.error(res.msg) | 190 | this.$message.error(res.msg) |
src/views/work/finishRepairList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="finish-repair-container"> | 2 | <div class="finish-repair-container"> |
| 3 | <el-card class="box-card"> | 3 | <el-card class="box-card"> |
| 4 | <div slot="header" class="flex justify-between"> | 4 | <div slot="header" class="flex justify-between"> |
| @@ -244,7 +244,7 @@ export default { | @@ -244,7 +244,7 @@ export default { | ||
| 244 | } | 244 | } |
| 245 | const res = await repairFinish(params) | 245 | const res = await repairFinish(params) |
| 246 | if (res.code === 0) { | 246 | if (res.code === 0) { |
| 247 | - this.$message.success(this.$t('finishRepair.submitSuccess')) | 247 | + this.$message.success(this.$t('common.operationSuccess')) |
| 248 | this.backToList() | 248 | this.backToList() |
| 249 | } else { | 249 | } else { |
| 250 | this.$message.error(res.msg) | 250 | this.$message.error(res.msg) |
src/views/work/itemReleaseDetailList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="item-release-detail-container"> | 2 | <div class="item-release-detail-container"> |
| 3 | <!-- 放行详情 --> | 3 | <!-- 放行详情 --> |
| 4 | <el-row> | 4 | <el-row> |
| @@ -311,7 +311,7 @@ export default { | @@ -311,7 +311,7 @@ export default { | ||
| 311 | 311 | ||
| 312 | try { | 312 | try { |
| 313 | await auditUndoItemRelease(_audit) | 313 | await auditUndoItemRelease(_audit) |
| 314 | - this.$message.success(this.$t('itemReleaseDetail.submitSuccess')) | 314 | + this.$message.success(this.$t('common.operationSuccess')) |
| 315 | this._goBack() | 315 | this._goBack() |
| 316 | } catch (error) { | 316 | } catch (error) { |
| 317 | this.$message.error(error.message || this.$t('itemReleaseDetail.submitFailed')) | 317 | this.$message.error(error.message || this.$t('itemReleaseDetail.submitFailed')) |
src/views/work/itemReleaseTypeManageList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="item-release-type-manage-container"> | 2 | <div class="item-release-type-manage-container"> |
| 3 | <!-- 查询条件 --> | 3 | <!-- 查询条件 --> |
| 4 | <el-card class="search-wrapper"> | 4 | <el-card class="search-wrapper"> |
| @@ -153,7 +153,7 @@ export default { | @@ -153,7 +153,7 @@ export default { | ||
| 153 | async handleDeploy(row) { | 153 | async handleDeploy(row) { |
| 154 | try { | 154 | try { |
| 155 | await deployModel({ modelId: row.modelId }) | 155 | await deployModel({ modelId: row.modelId }) |
| 156 | - this.$message.success(this.$t('itemReleaseTypeManage.deploySuccess')) | 156 | + this.$message.success(this.$t('common.operationSuccess')) |
| 157 | this.getList() | 157 | this.getList() |
| 158 | } catch (error) { | 158 | } catch (error) { |
| 159 | this.$message.error(this.$t('itemReleaseTypeManage.deployError')) | 159 | this.$message.error(this.$t('itemReleaseTypeManage.deployError')) |
src/views/work/myRepairDispatchManageList.vue
| @@ -249,7 +249,7 @@ export default { | @@ -249,7 +249,7 @@ export default { | ||
| 249 | } | 249 | } |
| 250 | 250 | ||
| 251 | await closeRepairDispatch(params) | 251 | await closeRepairDispatch(params) |
| 252 | - this.$message.success(this.$t('common.operateSuccess')) | 252 | + this.$message.success(this.$t('common.operationSuccess')) |
| 253 | this._listOwnerRepairs(this.pagination.current, this.pagination.size) | 253 | this._listOwnerRepairs(this.pagination.current, this.pagination.size) |
| 254 | } catch (error) { | 254 | } catch (error) { |
| 255 | console.error('结单操作失败:', error) | 255 | console.error('结单操作失败:', error) |
src/views/work/repairPoolManageList.vue
src/views/work/repairTypeUserList.vue
| 1 | -<template> | 1 | +<template> |
| 2 | <div class="padding"> | 2 | <div class="padding"> |
| 3 | <el-row> | 3 | <el-row> |
| 4 | <el-col :span="24"> | 4 | <el-col :span="24"> |
| @@ -142,7 +142,7 @@ export default { | @@ -142,7 +142,7 @@ export default { | ||
| 142 | 142 | ||
| 143 | const response = await saveRepairTypeUser(data) | 143 | const response = await saveRepairTypeUser(data) |
| 144 | if (response.code === 0) { | 144 | if (response.code === 0) { |
| 145 | - this.$message.success(this.$t('common.saveSuccess')) | 145 | + this.$message.success(this.$t('common.operationSuccess')) |
| 146 | this._listRepairTypeUsers(this.currentPage, this.pageSize) | 146 | this._listRepairTypeUsers(this.currentPage, this.pageSize) |
| 147 | } else { | 147 | } else { |
| 148 | this.$message.error(response.msg || this.$t('common.saveFailed')) | 148 | this.$message.error(response.msg || this.$t('common.saveFailed')) |