Commit 6ec243d6c3da058212c204a8a7611b676ced2ef7

Authored by wuxw
1 parent a291ba27

v1.9 点击提交后,成功提示没有翻译成中文的问题

Showing 687 changed files with 1605 additions and 1599 deletions

Too many changes.

To preserve performance only 100 of 687 files are displayed.

src/api/owner/ownerDetailVisitApi.js
  1 +
0 2 \ No newline at end of file
... ...
src/components/account/AddCouponDetail.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('couponDetailManage.add.title')"
4 4 :visible.sync="visible"
... ... @@ -163,7 +163,7 @@ export default {
163 163 if (valid) {
164 164 try {
165 165 await saveCouponDetail(this.formData)
166   - this.$message.success(this.$t('couponDetailManage.add.success'))
  166 + this.$message.success(this.$t('common.operationSuccess'))
167 167 this.visible = false
168 168 this.$emit('success')
169 169 } catch (error) {
... ...
src/components/account/AddCouponPool.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('couponPoolManage.add.title')"
4 4 :visible.sync="visible"
... ... @@ -158,7 +158,7 @@ export default {
158 158 if (valid) {
159 159 try {
160 160 await saveCouponPool(this.form)
161   - this.$message.success(this.$t('couponPoolManage.add.success'))
  161 + this.$message.success(this.$t('common.operationSuccess'))
162 162 this.visible = false
163 163 this.$emit('success')
164 164 } catch (error) {
... ...
src/components/account/DeleteCouponDetail.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('couponDetailManage.delete.title')"
4 4 :visible.sync="visible"
... ... @@ -38,7 +38,7 @@ export default {
38 38 async handleConfirm() {
39 39 try {
40 40 await deleteCouponDetail({ detailId: this.detailId })
41   - this.$message.success(this.$t('couponDetailManage.delete.success'))
  41 + this.$message.success(this.$t('common.operationSuccess'))
42 42 this.visible = false
43 43 this.$emit('success')
44 44 } catch (error) {
... ...
src/components/account/DeleteCouponPool.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('couponPoolManage.delete.title')"
4 4 :visible.sync="visible"
... ... @@ -41,7 +41,7 @@ export default {
41 41 async handleSubmit() {
42 42 try {
43 43 await deleteCouponPool({ poolId: this.poolId })
44   - this.$message.success(this.$t('couponPoolManage.delete.success'))
  44 + this.$message.success(this.$t('common.operationSuccess'))
45 45 this.visible = false
46 46 this.$emit('success')
47 47 } catch (error) {
... ...
src/components/account/EditCouponPool.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('couponPoolManage.edit.title')"
4 4 :visible.sync="visible"
... ... @@ -154,7 +154,7 @@ export default {
154 154 if (valid) {
155 155 try {
156 156 await updateCouponPool(this.form)
157   - this.$message.success(this.$t('couponPoolManage.edit.success'))
  157 + this.$message.success(this.$t('common.operationSuccess'))
158 158 this.visible = false
159 159 this.$emit('success')
160 160 } catch (error) {
... ...
src/components/account/cancelAccountDetail.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('cancelAccountDetail.title')"
4 4 :visible.sync="visible"
... ...
src/components/account/deleteAccount.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('deleteAccount.title')"
4 4 :visible.sync="visible"
... ... @@ -42,7 +42,7 @@ export default {
42 42  
43 43 try {
44 44 await deleteAccount({ acctId: this.accountData.acctId })
45   - this.$message.success(this.$t('common.deleteSuccess'))
  45 + this.$message.success(this.$t('common.operationSuccess'))
46 46 this.visible = false
47 47 this.$emit('success')
48 48 } catch (error) {
... ...
src/components/account/prestoreAccount.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('prestoreAccount.title')" :visible.sync="visible" width="800px" @close="handleClose">
3 3 <el-form ref="form" :model="formData" :rules="rules" label-width="120px">
4 4 <el-form-item :label="$t('prestoreAccount.accountType')" prop="acctType" required>
... ... @@ -173,7 +173,7 @@ export default {
173 173  
174 174 try {
175 175 await ownerPrestoreAccount(this.formData)
176   - this.$message.success(this.$t('common.saveSuccess'))
  176 + this.$message.success(this.$t('common.operationSuccess'))
177 177 this.visible = false
178 178 this.$emit('success')
179 179 } catch (error) {
... ...
src/components/admin/AddAdvert.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('advertManage.add.title')" :visible.sync="visible" width="50%" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="120px">
4 4 <el-form-item :label="$t('advertManage.add.adName')" prop="adName">
... ... @@ -171,7 +171,7 @@ export default {
171 171 }
172 172  
173 173 await saveAdvert(params)
174   - this.$message.success(this.$t('advertManage.add.success'))
  174 + this.$message.success(this.$t('common.operationSuccess'))
175 175 this.$emit('success')
176 176 this.visible = false
177 177 } catch (error) {
... ...
src/components/admin/DeleteAdvert.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('advertManage.delete.title')"
4 4 :visible.sync="visible"
... ... @@ -34,7 +34,7 @@ export default {
34 34 async handleConfirm() {
35 35 try {
36 36 await deleteAdvert(this.advertId)
37   - this.$message.success(this.$t('advertManage.delete.success'))
  37 + this.$message.success(this.$t('common.operationSuccess'))
38 38 this.$emit('success')
39 39 this.visible = false
40 40 } catch (error) {
... ...
src/components/admin/EditAdvert.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('advertManage.edit.title')" :visible.sync="visible" width="50%" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="120px">
4 4 <el-form-item :label="$t('advertManage.edit.adName')" prop="adName">
... ... @@ -182,7 +182,7 @@ export default {
182 182 }
183 183  
184 184 await updateAdvert(params)
185   - this.$message.success(this.$t('advertManage.edit.success'))
  185 + this.$message.success(this.$t('common.operationSuccess'))
186 186 this.$emit('success')
187 187 this.visible = false
188 188 } catch (error) {
... ...
src/components/car/addCarModal.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('common.add')" :visible.sync="visible" width="50%">
3 3 <el-form :model="addCarModelInfo" :rules="rules" ref="addCarForm">
4 4 <el-form-item :label="$t('listOwnerCar.carNum')" prop="carNum">
... ... @@ -97,7 +97,7 @@ export default {
97 97 this.visible = false
98 98 this.clearAddCarModalInfo()
99 99 this.$emit('notify')
100   - this.$message.success(this.$t('common.saveSuccess'))
  100 + this.$message.success(this.$t('common.operationSuccess'))
101 101 } else {
102 102 this.$message.error(response.msg)
103 103 }
... ...
src/components/car/addParkingArea.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('parkingAreaManage.addTitle')" :visible.sync="visible" width="50%" @close="closeDialog">
3 3 <el-form ref="form" :model="addParkingAreaInfo" label-width="150px" label-position="left">
4 4 <el-form-item :label="$t('parkingAreaManage.parkingNum')" prop="num"
... ... @@ -97,7 +97,7 @@ export default {
97 97 }
98 98  
99 99 await saveParkingArea(params)
100   - this.$message.success(this.$t('parkingAreaManage.addSuccess'))
  100 + this.$message.success(this.$t('common.operationSuccess'))
101 101 this.visible = false
102 102 this.$emit('success')
103 103 } catch (error) {
... ...
src/components/car/addParkingBox.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('addParkingBox.title')"
4 4 :visible.sync="visible"
... ... @@ -201,7 +201,7 @@ export default {
201 201 if (valid) {
202 202 try {
203 203 await addParkingBox(this.formData)
204   - this.$message.success(this.$t('parkingBoxManage.addSuccess'))
  204 + this.$message.success(this.$t('common.operationSuccess'))
205 205 this.visible = false
206 206 this.$emit('success')
207 207 } catch (error) {
... ...
src/components/car/addParkingSpace.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('addParkingSpace.title')" :visible.sync="visible" width="50%" @close="closeDialog">
3 3 <el-form :model="form" ref="form" label-width="120px">
4 4 <el-form-item :label="$t('addParkingSpace.parkingSpaceNum')" prop="num"
... ... @@ -104,7 +104,7 @@ export default {
104 104  
105 105 const res = await saveParkingSpace(this.form)
106 106 if (res.code === 0) {
107   - this.$message.success(this.$t('common.saveSuccess'))
  107 + this.$message.success(this.$t('common.operationSuccess'))
108 108 this.$emit('success')
109 109 this.visible = false
110 110 } else {
... ...
src/components/car/batchAddParkingSpace.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('batchAddParkingSpace.title')" :visible.sync="visible" width="50%" @close="closeDialog">
3 3 <el-form :model="form" ref="form" label-width="120px">
4 4 <el-form-item :label="$t('batchAddParkingSpace.prefixNum')" prop="preNum">
... ... @@ -113,7 +113,7 @@ export default {
113 113  
114 114 const res = await batchSaveParkingSpace(this.form)
115 115 if (res.code === 0) {
116   - this.$message.success(this.$t('common.saveSuccess'))
  116 + this.$message.success(this.$t('common.operationSuccess'))
117 117 this.$emit('success')
118 118 this.visible = false
119 119 } else {
... ...
src/components/car/deleteOwnerCar.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('listOwnerCar.confirmDelete')"
4 4 :visible.sync="visible"
... ... @@ -39,7 +39,7 @@ export default {
39 39 this.loading = true
40 40 try {
41 41 await deleteOwnerCars({ carId: this.carInfo.carId,memberId:this.carInfo.memberId })
42   - this.$message.success(this.$t('listOwnerCar.deleteSuccess'))
  42 + this.$message.success(this.$t('common.operationSuccess'))
43 43 this.$emit('success')
44 44 this.visible = false
45 45 } catch (error) {
... ...
src/components/car/deleteParkingArea.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('parkingAreaManage.deleteTitle')" :visible.sync="visible" width="30%" center>
3 3 <div style="text-align: center">
4 4 <p>{{ $t('parkingAreaManage.deleteConfirm') }}</p>
... ... @@ -51,7 +51,7 @@ export default {
51 51 }
52 52  
53 53 await deleteParkingArea(params)
54   - this.$message.success(this.$t('parkingAreaManage.deleteSuccess'))
  54 + this.$message.success(this.$t('common.operationSuccess'))
55 55 this.visible = false
56 56 this.$emit('success')
57 57 } catch (error) {
... ...
src/components/car/deleteParkingBox.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('deleteParkingBox.title')"
4 4 :visible.sync="visible"
... ... @@ -38,7 +38,7 @@ export default {
38 38 async handleConfirm() {
39 39 try {
40 40 await deleteParkingBox({ boxId: this.boxId })
41   - this.$message.success(this.$t('parkingBoxManage.deleteSuccess'))
  41 + this.$message.success(this.$t('common.operationSuccess'))
42 42 this.visible = false
43 43 this.$emit('success')
44 44 } catch (error) {
... ...
src/components/car/deleteParkingSpace.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('deleteParkingSpace.title')"
4 4 :visible.sync="visible"
... ... @@ -42,7 +42,7 @@ export default {
42 42 this.deleting = true
43 43 const res = await deleteParkingSpace(this.currentParkingSpace)
44 44 if (res.code === 0) {
45   - this.$message.success(this.$t('common.deleteSuccess'))
  45 + this.$message.success(this.$t('common.operationSuccess'))
46 46 this.$emit('success')
47 47 this.visible = false
48 48 } else {
... ...
src/components/car/deleteParkingSpaceApply.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('deleteParkingSpaceApply.confirmOperation')"
4 4 :visible.sync="visible"
... ... @@ -45,7 +45,7 @@ export default {
45 45 })
46 46  
47 47 if (response.code === 0) {
48   - this.$message.success(this.$t('common.deleteSuccess'))
  48 + this.$message.success(this.$t('common.operationSuccess'))
49 49 this.visible = false
50 50 this.$emit('success')
51 51 } else {
... ...
src/components/car/editCar.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('listOwnerCar.editCar')"
4 4 :visible.sync="visible"
... ... @@ -141,7 +141,7 @@ export default {
141 141 this.loading = true
142 142 try {
143 143 await editOwnerCar(this.form)
144   - this.$message.success(this.$t('listOwnerCar.updateSuccess'))
  144 + this.$message.success(this.$t('common.operationSuccess'))
145 145 this.$emit('success')
146 146 this.visible = false
147 147 } catch (error) {
... ...
src/components/car/editMemberCar.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="50%">
3 3 <el-form :model="editMemberCarInfo" :rules="rules" ref="editMemberCarForm">
4 4 <el-form-item :label="$t('listOwnerCar.carNum')" prop="carNum">
... ... @@ -93,7 +93,7 @@ export default {
93 93 if (response.code === 0) {
94 94 this.visible = false
95 95 this.$emit('notify')
96   - this.$message.success(this.$t('common.editSuccess'))
  96 + this.$message.success(this.$t('common.operationSuccess'))
97 97 } else {
98 98 this.$message.error(response.msg)
99 99 }
... ...
src/components/car/editParkingArea.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('parkingAreaManage.editTitle')"
4 4 :visible.sync="visible"
... ... @@ -137,7 +137,7 @@ export default {
137 137 }
138 138  
139 139 await updateParkingArea(params)
140   - this.$message.success(this.$t('parkingAreaManage.editSuccess'))
  140 + this.$message.success(this.$t('common.operationSuccess'))
141 141 this.visible = false
142 142 this.$emit('success')
143 143 } catch (error) {
... ...
src/components/car/editParkingBox.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('editParkingBox.title')"
4 4 :visible.sync="visible"
... ... @@ -193,7 +193,7 @@ export default {
193 193 if (valid) {
194 194 try {
195 195 await updateParkingBox(this.formData)
196   - this.$message.success(this.$t('parkingBoxManage.updateSuccess'))
  196 + this.$message.success(this.$t('common.operationSuccess'))
197 197 this.visible = false
198 198 this.$emit('success')
199 199 } catch (error) {
... ...
src/components/car/editParkingSpace.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('editParkingSpace.title')"
4 4 :visible.sync="visible"
... ... @@ -145,7 +145,7 @@ export default {
145 145  
146 146 const res = await editParkingSpace(this.form)
147 147 if (res.code === 0) {
148   - this.$message.success(this.$t('common.saveSuccess'))
  148 + this.$message.success(this.$t('common.operationSuccess'))
149 149 this.$emit('success')
150 150 this.visible = false
151 151 } else {
... ...
src/components/car/editParkingSpaceApply.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('editParkingSpaceApply.editApplication')"
4 4 :visible.sync="visible"
... ... @@ -188,7 +188,7 @@ export default {
188 188 try {
189 189 const response = await updateParkingSpaceApply(this.formData)
190 190 if (response.code === 0) {
191   - this.$message.success(this.$t('common.updateSuccess'))
  191 + this.$message.success(this.$t('common.operationSuccess'))
192 192 this.visible = false
193 193 this.$emit('success')
194 194 } else {
... ...
src/components/car/importOwnerCar.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('listOwnerCar.importCarTitle')" :visible.sync="visible" width="600px" @close="resetForm">
3 3 <el-form :model="form" label-width="120px" class="text-left">
4 4 <el-form-item :label="$t('listOwnerCar.selectFile')">
... ... @@ -77,7 +77,7 @@ export default {
77 77 importAdapt: 'importOwnerCar'
78 78 })
79 79  
80   - this.$message.success(this.$t('listOwnerCar.importSuccess'))
  80 + this.$message.success(this.$t('common.operationSuccess'))
81 81 this.$emit('success')
82 82 this.visible = false
83 83 this.$router.push(`/views/system/assetImportLogDetail?logId=${response.logId}&logType=importOwnerCar`)
... ...
src/components/community/AddCommunitySpace.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('communitySpaceManage.addSpace')" :visible.sync="visible" width="50%" @close="resetForm">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="120px">
4 4 <el-form-item :label="$t('communitySpaceManage.name')" prop="name">
... ... @@ -88,7 +88,7 @@ export default {
88 88 if (valid) {
89 89 try {
90 90 await saveCommunitySpace(this.form)
91   - this.$message.success(this.$t('common.success'))
  91 + this.$message.success(this.$t('common.operationSuccess'))
92 92 this.visible = false
93 93 this.$emit('success')
94 94 } catch (error) {
... ...
src/components/community/AddCommunityVenue.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('communitySpaceManage.add') + $t('communitySpaceManage.venue')"
4 4 :visible.sync="visible"
... ... @@ -90,7 +90,7 @@ export default {
90 90 if (valid) {
91 91 try {
92 92 await saveCommunityVenue(this.form)
93   - this.$message.success(this.$t('common.success'))
  93 + this.$message.success(this.$t('common.operationSuccess'))
94 94 this.visible = false
95 95 this.$emit('success')
96 96 } catch (error) {
... ...
src/components/community/AddLocation.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('locationManage.add')" :visible.sync="visible" width="50%" @close="handleClose">
3 3 <el-form ref="form" :model="formData" label-width="120px">
4 4 <el-form-item :label="$t('locationManage.locationName')" prop="locationName" :rules="[
... ... @@ -114,7 +114,7 @@ export default {
114 114 }
115 115  
116 116 await saveCommunityLocation(this.formData)
117   - this.$message.success(this.$t('common.addSuccess'))
  117 + this.$message.success(this.$t('common.operationSuccess'))
118 118 this.visible = false
119 119 this.$emit('success')
120 120 } catch (error) {
... ...
src/components/community/AddPropertyCommunity.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('propertyCommunity.add.title')" :visible.sync="visible" width="50%" @close="handleClose">
3 3 <el-form ref="form" :model="form" label-width="120px" class="text-left">
4 4 <el-form-item :label="$t('propertyCommunity.add.openCommunity')">
... ... @@ -100,7 +100,7 @@ export default {
100 100 async handleSubmit() {
101 101 try {
102 102 await joinCommunity(this.form)
103   - this.$message.success(this.$t('common.saveSuccess'))
  103 + this.$message.success(this.$t('common.operationSuccess'))
104 104 this.$emit('success')
105 105 this.visible = false
106 106 } catch (error) {
... ...
src/components/community/AddRoomRenovation.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('roomRenovationManage.add')" :visible.sync="visible" width="40%" @close="resetForm">
3 3 <el-form :model="form" :rules="rules" ref="form" label-width="120px">
4 4 <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName" required>
... ...
src/components/community/DeleteCommunitySpace.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('communitySpaceManage.confirmDelete')"
4 4 :visible.sync="visible"
... ... @@ -36,7 +36,7 @@ export default {
36 36 async confirmDelete() {
37 37 try {
38 38 await deleteCommunitySpace(this.spaceId)
39   - this.$message.success(this.$t('common.success'))
  39 + this.$message.success(this.$t('common.operationSuccess'))
40 40 this.visible = false
41 41 this.$emit('success')
42 42 } catch (error) {
... ...
src/components/community/DeleteCommunityVenue.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('communitySpaceManage.confirmDelete')"
4 4 :visible.sync="visible"
... ... @@ -36,7 +36,7 @@ export default {
36 36 async confirmDelete() {
37 37 try {
38 38 await deleteCommunityVenue(this.venueId)
39   - this.$message.success(this.$t('common.success'))
  39 + this.$message.success(this.$t('common.operationSuccess'))
40 40 this.visible = false
41 41 this.$emit('success')
42 42 } catch (error) {
... ...
src/components/community/DeleteLocation.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('locationManage.confirmOperation')"
4 4 :visible.sync="visible"
... ... @@ -42,7 +42,7 @@ export default {
42 42 communityId: getCommunityId()
43 43 }
44 44 await deleteCommunityLocation(params)
45   - this.$message.success(this.$t('common.deleteSuccess'))
  45 + this.$message.success(this.$t('common.operationSuccess'))
46 46 this.visible = false
47 47 this.$emit('success')
48 48 } catch (error) {
... ...
src/components/community/DeletePropertyCommunity.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('propertyCommunity.delete.title')"
4 4 :visible.sync="visible"
... ... @@ -38,7 +38,7 @@ export default {
38 38 async handleSubmit() {
39 39 try {
40 40 await quitCommunity(this.form)
41   - this.$message.success(this.$t('common.deleteSuccess'))
  41 + this.$message.success(this.$t('common.operationSuccess'))
42 42 this.$emit('success')
43 43 this.visible = false
44 44 } catch (error) {
... ...
src/components/community/DeleteRoomDecorationRecord.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('deleteRoomDecorationRecord.title')"
4 4 :visible.sync="visible"
... ... @@ -43,7 +43,7 @@ export default {
43 43 try {
44 44 this.record.communityId = getCommunityId()
45 45 await deleteRoomRenovationRecord(this.record)
46   - this.$message.success(this.$t('deleteRoomDecorationRecord.success'))
  46 + this.$message.success(this.$t('common.operationSuccess'))
47 47 this.$emit('success')
48 48 this.visible = false
49 49 } catch (error) {
... ...
src/components/community/DeleteRoomRenovation.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('roomRenovationManage.confirmDelete')"
4 4 :visible.sync="visible"
... ...
src/components/community/EditCommunitySpace.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('communitySpaceManage.edit')"
4 4 :visible.sync="visible"
... ... @@ -97,7 +97,7 @@ export default {
97 97 if (valid) {
98 98 try {
99 99 await updateCommunitySpace(this.form)
100   - this.$message.success(this.$t('common.success'))
  100 + this.$message.success(this.$t('common.operationSuccess'))
101 101 this.visible = false
102 102 this.$emit('success')
103 103 } catch (error) {
... ...
src/components/community/EditCommunitySpaceOpenTime.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('communitySpaceManage.openTimeTitle')"
4 4 :visible.sync="visible"
... ... @@ -50,7 +50,7 @@ export default {
50 50 async updateOpenTime(item) {
51 51 try {
52 52 await updateCommunitySpaceOpenTime(item)
53   - this.$message.success(this.$t('common.success'))
  53 + this.$message.success(this.$t('common.operationSuccess'))
54 54 } catch (error) {
55 55 console.error('更新开放时间失败:', error)
56 56 }
... ...
src/components/community/EditCommunityVenue.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('communitySpaceManage.edit') + $t('communitySpaceManage.venue')"
4 4 :visible.sync="visible"
... ... @@ -90,7 +90,7 @@ export default {
90 90 if (valid) {
91 91 try {
92 92 await updateCommunityVenue(this.form)
93   - this.$message.success(this.$t('common.success'))
  93 + this.$message.success(this.$t('common.operationSuccess'))
94 94 this.visible = false
95 95 this.$emit('success')
96 96 } catch (error) {
... ...
src/components/community/EditLocation.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('locationManage.edit')" :visible.sync="visible" width="50%" @close="handleClose">
3 3 <el-form ref="form" :model="formData" label-width="120px">
4 4 <el-form-item :label="$t('locationManage.locationName')" prop="locationName" :rules="[
... ... @@ -117,7 +117,7 @@ export default {
117 117 }
118 118  
119 119 await updateCommunityLocation(this.formData)
120   - this.$message.success(this.$t('common.editSuccess'))
  120 + this.$message.success(this.$t('common.operationSuccess'))
121 121 this.visible = false
122 122 this.$emit('success')
123 123 } catch (error) {
... ...
src/components/community/EditPropertyCommunity.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('propertyCommunity.edit.title')"
4 4 :visible.sync="visible"
... ... @@ -113,7 +113,7 @@ export default {
113 113 async handleSubmit() {
114 114 try {
115 115 await updateMenuGroupCommunity(this.form)
116   - this.$message.success(this.$t('common.saveSuccess'))
  116 + this.$message.success(this.$t('common.operationSuccess'))
117 117 this.$emit('success')
118 118 this.visible = false
119 119 } catch (error) {
... ...
src/components/community/EditRoomRenovation.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('roomRenovationManage.modify')" :visible.sync="visible" width="40%" @close="resetForm">
3 3 <el-form :model="form" ref="form" label-width="120px">
4 4 <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName">
... ...
src/components/community/RoomDecorationAcceptance.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('roomRenovationManage.renovationAcceptance')"
4 4 :visible.sync="visible"
... ...
src/components/community/RoomDecorationRecord.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('roomDecorationRecord.title')" :visible.sync="visible" width="40%" @close="handleClose">
3 3 <el-form ref="form" :model="roomDecorationRecordInfo" label-width="120px" class="text-left" label-position="left">
4 4 <el-form-item :label="$t('roomDecorationRecord.room')">
... ... @@ -119,7 +119,7 @@ export default {
119 119  
120 120  
121 121 await updateRoomDecorationRecord(this.roomDecorationRecordInfo)
122   - this.$message.success(this.$t('common.saveSuccess'))
  122 + this.$message.success(this.$t('common.operationSuccess'))
123 123 this.$emit('success')
124 124 this.visible = false
125 125 } catch (error) {
... ...
src/components/community/RoomRenovationCompleted.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('roomRenovationManage.confirmComplete')"
4 4 :visible.sync="visible"
... ...
src/components/community/RoomToExamine.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('roomRenovationManage.review')" :visible.sync="visible" width="40%" @close="resetForm">
3 3 <el-form :model="form" ref="form" label-width="120px">
4 4 <el-form-item :label="$t('roomRenovationManage.room')" prop="roomName">
... ...
src/components/community/UploadVedio.vue
1   -<template>
  1 +<template>
2 2 <div class="upload-vedio-container">
3 3 <div v-if="progress > 0" class="progress-container">
4 4 <el-progress :percentage="progress" :stroke-width="2" />
... ... @@ -84,7 +84,7 @@ export default {
84 84 this.progress = 100
85 85 this.realFileName = response.realFileName
86 86 this.vedio = response
87   - this.$message.success(this.$t('uploadVedio.success'))
  87 + this.$message.success(this.$t('common.operationSuccess'))
88 88 } catch (error) {
89 89 this.$message.error(this.$t('uploadVedio.failed'))
90 90 this.progress = 0
... ...
src/components/community/addCityArea.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('cityArea.addArea')"
4 4 :visible.sync="visible"
... ... @@ -66,7 +66,7 @@ export default {
66 66 try {
67 67 await this.$refs.form.validate()
68 68 await addArea(this.formData)
69   - this.$message.success(this.$t('common.saveSuccess'))
  69 + this.$message.success(this.$t('common.operationSuccess'))
70 70 this.visible = false
71 71 this.$emit('refresh')
72 72 } catch (error) {
... ...
src/components/community/addCommunity.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('addCommunity.title')" :visible.sync="visible" width="40%" @close="clearAddCommunityInfo">
3 3 <el-form ref="form" :model="addCommunityInfo" label-width="120px" class="text-left">
4 4 <el-form-item :label="$t('addCommunity.name')" prop="name" required>
... ... @@ -85,7 +85,7 @@ export default {
85 85 }
86 86 saveCommunity(this.addCommunityInfo).then(res => {
87 87 console.log(res)
88   - this.$message.success(this.$t('addCommunity.saveSuccess'))
  88 + this.$message.success(this.$t('common.operationSuccess'))
89 89 this.visible = false
90 90 this.$emit('listData')
91 91 }).catch(error => {
... ...
src/components/community/addCommunitySpacePerson.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('addCommunitySpacePerson.title')" :visible.sync="visible" width="800px" @close="closeDialog">
3 3 <el-form ref="form" :model="formData" :rules="rules" label-width="120px">
4 4 <el-row>
... ... @@ -163,7 +163,7 @@ export default {
163 163 async saveData() {
164 164 try {
165 165 await saveCommunitySpacePerson(this.formData)
166   - this.$message.success(this.$t('common.saveSuccess'))
  166 + this.$message.success(this.$t('common.operationSuccess'))
167 167 this.visible = false
168 168 this.$emit('success')
169 169 } catch (error) {
... ...
src/components/community/addCommunityWechat.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('addCommunityWechat.title')" :visible.sync="visible" width="50%" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="120px" label-position="right">
4 4 <el-form-item :label="$t('addCommunityWechat.name')" prop="name">
... ... @@ -102,7 +102,7 @@ export default {
102 102 try {
103 103 const res = await saveAdminSmallWeChat(this.form)
104 104 if (res.code === 0) {
105   - this.$message.success(this.$t('communityWechat.addSuccess'))
  105 + this.$message.success(this.$t('common.operationSuccess'))
106 106 this.visible = false
107 107 this.$emit('success')
108 108 } else {
... ...
src/components/community/communityDataToIot.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('communityDataToIot.title')" :visible.sync="visible" width="30%"
3 3 @close="closeCommunityDataToIotModel">
4 4 <div style="text-align: center">
... ... @@ -34,7 +34,7 @@ export default {
34 34 _toSendCommunityDataToIot() {
35 35 sendCommunityToIot(this.communityDataToIotInfo).then(res => {
36 36 console.log(res)
37   - this.$message.success(this.$t('communityDataToIot.syncSuccess'))
  37 + this.$message.success(this.$t('common.operationSuccess'))
38 38 this.visible = false
39 39 }).catch(error => {
40 40 this.$message.error(error.message)
... ...
src/components/community/deleteCityArea.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('cityArea.confirmOperation')"
4 4 :visible.sync="visible"
... ... @@ -32,7 +32,7 @@ export default {
32 32 async handleDelete() {
33 33 try {
34 34 await deleteArea(this.currentArea)
35   - this.$message.success(this.$t('common.deleteSuccess'))
  35 + this.$message.success(this.$t('common.operationSuccess'))
36 36 this.visible = false
37 37 this.$emit('refresh')
38 38 } catch (error) {
... ...
src/components/community/deleteCommunity.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('deleteCommunity.title')"
4 4 :visible.sync="visible"
... ... @@ -35,7 +35,7 @@ export default {
35 35 deleteCommunity() {
36 36 deleteCommunity(this.deleteCommunityInfo).then(res => {
37 37 console.log(res)
38   - this.$message.success(this.$t('deleteCommunity.deleteSuccess'))
  38 + this.$message.success(this.$t('common.operationSuccess'))
39 39 this.visible = false
40 40 this.$emit('listData')
41 41 }).catch(error => {
... ...
src/components/community/deleteCommunityPublicity.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('communityPublicityManage.deleteTitle')"
4 4 :visible.sync="visible"
... ... @@ -46,7 +46,7 @@ export default {
46 46 communityId: getCommunityId()
47 47 }
48 48 await deleteCommunityPublicity(params)
49   - this.$message.success(this.$t('communityPublicityManage.deleteSuccess'))
  49 + this.$message.success(this.$t('common.operationSuccess'))
50 50 this.$emit('success')
51 51 this.handleClose()
52 52 } catch (error) {
... ...
src/components/community/deleteCommunitySpacePerson.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('deleteCommunitySpacePerson.confirmTitle')"
4 4 :visible.sync="visible"
... ... @@ -44,7 +44,7 @@ export default {
44 44 }
45 45 await deleteCommunitySpacePerson(data)
46 46 this.$emit('success')
47   - this.$message.success(this.$t('common.deleteSuccess'))
  47 + this.$message.success(this.$t('common.operationSuccess'))
48 48 this.close()
49 49 } catch (error) {
50 50 this.$message.error(error.message || this.$t('common.deleteFailed'))
... ...
src/components/community/editCityArea.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('cityArea.editArea')" :visible.sync="visible" width="50%">
3 3 <el-form ref="form" :model="formData" label-width="120px">
4 4 <el-form-item :label="$t('cityArea.areaName')" prop="areaName"
... ... @@ -56,7 +56,7 @@ export default {
56 56 try {
57 57 await this.$refs.form.validate()
58 58 await updateArea(this.formData)
59   - this.$message.success(this.$t('common.saveSuccess'))
  59 + this.$message.success(this.$t('common.operationSuccess'))
60 60 this.visible = false
61 61 this.$emit('refresh')
62 62 } catch (error) {
... ...
src/components/community/editCommunity.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('editCommunity.title')" :visible.sync="visible" width="60%" @close="refreshEditCommunityInfo">
3 3 <el-form ref="form" :model="editCommunityInfo" label-width="120px">
4 4 <el-form-item :label="$t('editCommunity.name')" prop="name" required>
... ... @@ -95,7 +95,7 @@ export default {
95 95 }
96 96 updateCommunity(this.editCommunityInfo).then(res => {
97 97 console.log(res)
98   - this.$message.success(this.$t('editCommunity.saveSuccess'))
  98 + this.$message.success(this.$t('common.operationSuccess'))
99 99 this.visible = false
100 100 this.$emit('listData')
101 101  
... ...
src/components/community/editCommunityArea.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('common.edit')" :visible.sync="visible" width="800px" @close="resetForm">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="120px">
4 4 <el-form-item :label="$t('enterCommunity.communityName')" prop="name">
... ... @@ -93,8 +93,12 @@ export default {
93 93 },
94 94 async updateCommunity() {
95 95 try {
96   - await updateCommunity(this.form)
97   - this.$message.success(this.$t('enterCommunity.updateSuccess'))
  96 + const {code,msg} = await updateCommunity(this.form)
  97 + if (code !== 0) {
  98 + this.$message.error(msg)
  99 + return
  100 + }
  101 + this.$message.success(this.$t('common.operationSuccess'))
98 102 this.visible = false
99 103 this.$emit('success')
100 104 } catch (error) {
... ...
src/components/community/syncSubscribeWechat.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('wechatSubscribe.confirmTitle')"
4 4 :visible.sync="visible"
... ... @@ -38,7 +38,7 @@ export default {
38 38 communityId: getCommunityId()
39 39 }
40 40 await synchronizeWechatSubscribe(params)
41   - this.$message.success(this.$t('wechatSubscribe.syncSuccess'))
  41 + this.$message.success(this.$t('common.operationSuccess'))
42 42 this.$emit('success')
43 43 this.handleClose()
44 44 } catch (error) {
... ...
src/components/contract/StopContract.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('stopContract.dialog.title')"
4 4 :visible.sync="visible"
... ... @@ -38,7 +38,7 @@ export default {
38 38 async handleConfirm() {
39 39 try {
40 40 await stopContract(this.currentContract)
41   - this.$message.success(this.$t('stopContract.message.success'))
  41 + this.$message.success(this.$t('common.operationSuccess'))
42 42 this.$emit('success')
43 43 this.handleClose()
44 44 } catch (error) {
... ...
src/components/contract/addContractPartya.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('contractPartyaManage.add.title')"
4 4 :visible.sync="visible"
... ... @@ -116,7 +116,7 @@ export default {
116 116 if (valid) {
117 117 try {
118 118 await saveContractPartya(this.formData)
119   - this.$message.success(this.$t('common.addSuccess'))
  119 + this.$message.success(this.$t('common.operationSuccess'))
120 120 this.visible = false
121 121 this.$emit('success')
122 122 } catch (error) {
... ...
src/components/contract/addContractType.vue
... ... @@ -116,7 +116,7 @@ export default {
116 116 const res = await saveContractType(this.form)
117 117  
118 118 if (res.code === 0) {
119   - this.$message.success(this.$t('common.operateSuccess'))
  119 + this.$message.success(this.$t('common.operationSuccess'))
120 120 this.visible = false
121 121 this.$emit('success')
122 122 } else {
... ...
src/components/contract/addContractTypeSpec.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('contractTypeSpecManage.add.title')"
4 4 :visible.sync="visible"
... ... @@ -206,7 +206,7 @@ export default {
206 206 if (valid) {
207 207 try {
208 208 await saveContractTypeSpec(this.formData)
209   - this.$message.success(this.$t('contractTypeSpecManage.add.success'))
  209 + this.$message.success(this.$t('common.operationSuccess'))
210 210 this.visible = false
211 211 this.$emit('success')
212 212 } catch (error) {
... ...
src/components/contract/addTemplateView.vue
... ... @@ -89,7 +89,7 @@ export default {
89 89 : await saveContractTypeTemplate(data)
90 90  
91 91 if (res.code === 0) {
92   - this.$message.success(this.$t('common.operateSuccess'))
  92 + this.$message.success(this.$t('common.operationSuccess'))
93 93 this.visible = false
94 94 this.$emit('success')
95 95 } else {
... ...
src/components/contract/deleteContract.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('contractManage.delete.title')"
4 4 :visible.sync="visible"
... ... @@ -42,7 +42,7 @@ export default {
42 42 communityId: getCommunityId()
43 43 }
44 44 await deleteContract(params)
45   - this.$message.success(this.$t('contractManage.delete.success'))
  45 + this.$message.success(this.$t('common.operationSuccess'))
46 46 this.$emit('success')
47 47 this.handleClose()
48 48 } catch (error) {
... ...
src/components/contract/deleteContractChangePlan.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('deleteContractChangePlan.title')"
4 4 :visible.sync="visible"
... ... @@ -38,7 +38,7 @@ export default {
38 38 async handleConfirm() {
39 39 try {
40 40 await deleteContractChangePlan(this.currentData)
41   - this.$message.success(this.$t('deleteContractChangePlan.deleteSuccess'))
  41 + this.$message.success(this.$t('common.operationSuccess'))
42 42 this.$emit('success')
43 43 this.handleClose()
44 44 } catch (error) {
... ...
src/components/contract/deleteContractPartya.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('contractPartyaManage.delete.title')"
4 4 :visible.sync="visible"
... ... @@ -51,7 +51,7 @@ export default {
51 51 async handleConfirm() {
52 52 try {
53 53 await deleteContractPartya(this.deleteData)
54   - this.$message.success(this.$t('common.deleteSuccess'))
  54 + this.$message.success(this.$t('common.operationSuccess'))
55 55 this.visible = false
56 56 this.$emit('success')
57 57 } catch (error) {
... ...
src/components/contract/deleteContractType.vue
... ... @@ -54,7 +54,7 @@ export default {
54 54 const res = await deleteContractType(this.form)
55 55  
56 56 if (res.code === 0) {
57   - this.$message.success(this.$t('common.operateSuccess'))
  57 + this.$message.success(this.$t('common.operationSuccess'))
58 58 this.visible = false
59 59 this.$emit('success')
60 60 } else {
... ...
src/components/contract/deleteContractTypeSpec.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('contractTypeSpecManage.delete.title')"
4 4 :visible.sync="visible"
... ... @@ -51,7 +51,7 @@ export default {
51 51 async handleConfirm() {
52 52 try {
53 53 await deleteContractTypeSpec(this.formData)
54   - this.$message.success(this.$t('contractTypeSpecManage.delete.success'))
  54 + this.$message.success(this.$t('common.operationSuccess'))
55 55 this.visible = false
56 56 this.$emit('success')
57 57 } catch (error) {
... ...
src/components/contract/editContract.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('contractManage.edit.title')" :visible.sync="visible" width="70%" :before-close="handleClose">
3 3 <el-form :model="editContractInfo" label-width="120px" class="text-left" ref="editForm">
4 4 <el-row :gutter="20">
... ... @@ -297,7 +297,7 @@ export default {
297 297  
298 298 const data = await uploadFile(formData,{})
299 299 this.editContractInfo.contractFilePo[index].fileSaveName = data.realFileName
300   - this.$message.success(this.$t('contractManage.edit.uploadSuccess'))
  300 + this.$message.success(this.$t('common.operationSuccess'))
301 301 } catch (error) {
302 302 console.error('上传文件失败:', error)
303 303 this.$message.error(this.$t('contractManage.edit.uploadError'))
... ... @@ -306,7 +306,7 @@ export default {
306 306 async editContract() {
307 307 try {
308 308 await updateContract(this.editContractInfo)
309   - this.$message.success(this.$t('contractManage.edit.saveSuccess'))
  309 + this.$message.success(this.$t('common.operationSuccess'))
310 310 this.$emit('success')
311 311 this.handleClose()
312 312 } catch (error) {
... ...
src/components/contract/editContractPartya.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('contractPartyaManage.edit.title')"
4 4 :visible.sync="visible"
... ... @@ -124,7 +124,7 @@ export default {
124 124 if (valid) {
125 125 try {
126 126 await updateContractPartya(this.formData)
127   - this.$message.success(this.$t('common.editSuccess'))
  127 + this.$message.success(this.$t('common.operationSuccess'))
128 128 this.visible = false
129 129 this.$emit('success')
130 130 } catch (error) {
... ...
src/components/contract/editContractType.vue
... ... @@ -126,7 +126,7 @@ export default {
126 126 const res = await updateContractType(this.form)
127 127  
128 128 if (res.code === 0) {
129   - this.$message.success(this.$t('common.operateSuccess'))
  129 + this.$message.success(this.$t('common.operationSuccess'))
130 130 this.visible = false
131 131 this.$emit('success')
132 132 } else {
... ...
src/components/contract/editContractTypeSpec.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('contractTypeSpecManage.edit.title')"
4 4 :visible.sync="visible"
... ... @@ -209,7 +209,7 @@ export default {
209 209 if (valid) {
210 210 try {
211 211 await updateContractTypeSpec(this.formData)
212   - this.$message.success(this.$t('contractTypeSpecManage.edit.success'))
  212 + this.$message.success(this.$t('common.operationSuccess'))
213 213 this.visible = false
214 214 this.$emit('success')
215 215 } catch (error) {
... ...
src/components/dev/AddApp.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('app.dialog.addTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -101,7 +101,7 @@ export default {
101 101 try {
102 102 await this.$refs.form.validate()
103 103 await addApp(this.form)
104   - this.$message.success(this.$t('app.add.success'))
  104 + this.$message.success(this.$t('common.operationSuccess'))
105 105 this.handleClose()
106 106 this.$emit('success')
107 107 } catch (error) {
... ...
src/components/dev/AddAttrSpec.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('attrSpec.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4 <el-form-item :label="$t('attrSpec.form.domain')" prop="domain">
... ... @@ -141,7 +141,7 @@ export default {
141 141 await this.$refs.form.validate()
142 142 this.form.tableName = this.tableName
143 143 await addAttrSpec(this.form)
144   - this.$message.success(this.$t('attrSpec.add.success'))
  144 + this.$message.success(this.$t('common.operationSuccess'))
145 145 this.handleClose()
146 146 this.$emit('success')
147 147 } catch (error) {
... ...
src/components/dev/AddAttrValue.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('attrValue.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4 <el-form-item :label="$t('attrValue.form.value')" prop="value">
... ... @@ -84,7 +84,7 @@ export default {
84 84 await this.$refs.form.validate()
85 85 this.form.specId = this.specId
86 86 await addAttrValue(this.form)
87   - this.$message.success(this.$t('attrValue.add.success'))
  87 + this.$message.success(this.$t('common.operationSuccess'))
88 88 this.handleClose()
89 89 this.$emit('success')
90 90 } catch (error) {
... ...
src/components/dev/AddBusinessDatabus.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('businessDatabus.dialog.addTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -116,7 +116,7 @@ export default {
116 116 try {
117 117 await this.$refs.form.validate()
118 118 await addBusinessDatabus(this.form)
119   - this.$message.success(this.$t('businessDatabus.add.success'))
  119 + this.$message.success(this.$t('common.operationSuccess'))
120 120 this.handleClose()
121 121 this.$emit('success')
122 122 } catch (error) {
... ...
src/components/dev/AddBusinessTableHis.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('businessTableHis.dialog.addTitle')" :visible.sync="dialogVisible" width="500px"
3 3 @close="handleClose">
4 4 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
... ... @@ -88,7 +88,7 @@ export default {
88 88 try {
89 89 await this.$refs.form.validate()
90 90 await addBusinessTableHis(this.form)
91   - this.$message.success(this.$t('businessTableHis.add.success'))
  91 + this.$message.success(this.$t('common.operationSuccess'))
92 92 this.handleClose()
93 93 this.$emit('success')
94 94 } catch (error) {
... ...
src/components/dev/AddDict.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('dict.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4 <el-form-item :label="$t('dict.form.name')" prop="name">
... ... @@ -72,7 +72,7 @@ export default {
72 72 await this.$refs.form.validate()
73 73 this.form.specId = this.specId
74 74 await addDict(this.form)
75   - this.$message.success(this.$t('dict.add.success'))
  75 + this.$message.success(this.$t('common.operationSuccess'))
76 76 this.handleClose()
77 77 this.$emit('success')
78 78 } catch (error) {
... ...
src/components/dev/AddMapping.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('mapping.dialog.addTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -104,7 +104,7 @@ export default {
104 104 await this.$refs.form.validate()
105 105 this.form.domain = this.domain
106 106 await addMapping(this.form)
107   - this.$message.success(this.$t('mapping.add.success'))
  107 + this.$message.success(this.$t('common.operationSuccess'))
108 108 this.handleClose()
109 109 this.$emit('success')
110 110 } catch (error) {
... ...
src/components/dev/AddMappingDomain.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('mappingDomain.dialog.addTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -100,7 +100,7 @@ export default {
100 100 try {
101 101 await this.$refs.form.validate()
102 102 await addMappingDomain(this.form)
103   - this.$message.success(this.$t('mappingDomain.add.success'))
  103 + this.$message.success(this.$t('common.operationSuccess'))
104 104 this.handleClose()
105 105 this.$emit('success')
106 106 } catch (error) {
... ...
src/components/dev/AddMenu.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('menu.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4 <el-form-item :label="$t('menu.form.name')" prop="name">
... ... @@ -124,7 +124,7 @@ export default {
124 124 await addMenu({
125 125 data: _data
126 126 })
127   - this.$message.success(this.$t('menu.add.success'))
  127 + this.$message.success(this.$t('common.operationSuccess'))
128 128 this.handleClose()
129 129 this.$emit('success')
130 130 } catch (error) {
... ...
src/components/dev/AddMenuCatalog.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('menuCatalog.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4 <el-form-item :label="$t('menuCatalog.form.name')" prop="name">
... ... @@ -101,7 +101,7 @@ export default {
101 101 try {
102 102 await this.$refs.form.validate()
103 103 await addMenuCatalog(this.form)
104   - this.$message.success(this.$t('menuCatalog.add.success'))
  104 + this.$message.success(this.$t('common.operationSuccess'))
105 105 this.handleClose()
106 106 this.$emit('success')
107 107 } catch (error) {
... ...
src/components/dev/AddMenuGroup.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('menuGroup.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4 <el-form-item :label="$t('menuGroup.form.name')" prop="name">
... ... @@ -111,7 +111,7 @@ export default {
111 111 try {
112 112 await this.$refs.form.validate()
113 113 await addMenuGroup(this.form)
114   - this.$message.success(this.$t('menuGroup.add.success'))
  114 + this.$message.success(this.$t('common.operationSuccess'))
115 115 this.handleClose()
116 116 this.$emit('success')
117 117 } catch (error) {
... ...
src/components/dev/AddMenuGroupCatalog.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('menuGroupCatalog.dialog.addTitle')" :visible.sync="dialogVisible" width="500px"
3 3 @close="handleClose">
4 4 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
... ... @@ -98,7 +98,7 @@ export default {
98 98 caId: this.caId,
99 99 storeType: this.storeType,
100 100 })
101   - this.$message.success(this.$t('menuGroupCatalog.add.success'))
  101 + this.$message.success(this.$t('common.operationSuccess'))
102 102 this.handleClose()
103 103 this.$emit('success')
104 104 } catch (error) {
... ...
src/components/dev/AddPrivilege.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('privilege.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4 <el-form-item :label="$t('privilege.form.name')" prop="name">
... ... @@ -87,7 +87,7 @@ export default {
87 87 this.form.domain = this.domain
88 88 await this.$refs.form.validate()
89 89 await addPrivilege(this.form)
90   - this.$message.success(this.$t('privilege.add.success'))
  90 + this.$message.success(this.$t('common.operationSuccess'))
91 91 this.handleClose()
92 92 this.$emit('success')
93 93 } catch (error) {
... ...
src/components/dev/AddService.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('service.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4  
... ... @@ -110,7 +110,7 @@ export default {
110 110 try {
111 111 await this.$refs.form.validate()
112 112 await addService(this.form)
113   - this.$message.success(this.$t('service.add.success'))
  113 + this.$message.success(this.$t('common.operationSuccess'))
114 114 this.handleClose()
115 115 this.$emit('success')
116 116 } catch (error) {
... ...
src/components/dev/AddServiceBusiness.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('serviceBusiness.dialog.addTitle')" :visible.sync="dialogVisible" width="500px"
3 3 @close="handleClose">
4 4 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
... ... @@ -95,7 +95,7 @@ export default {
95 95 try {
96 96 await this.$refs.form.validate()
97 97 await addServiceBusiness(this.form)
98   - this.$message.success(this.$t('serviceBusiness.add.success'))
  98 + this.$message.success(this.$t('common.operationSuccess'))
99 99 this.handleClose()
100 100 this.$emit('success')
101 101 } catch (error) {
... ...
src/components/dev/AddTask.vue
1   -<template>
  1 +<template>
2 2 <el-dialog :title="$t('task.dialog.addTitle')" :visible.sync="dialogVisible" width="500px" @close="handleClose">
3 3 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
4 4 <el-form-item :label="$t('task.form.taskName')" prop="taskName">
... ... @@ -105,7 +105,7 @@ export default {
105 105 try {
106 106 await this.$refs.form.validate()
107 107 await addTask(this.form)
108   - this.$message.success(this.$t('task.add.success'))
  108 + this.$message.success(this.$t('common.operationSuccess'))
109 109 this.handleClose()
110 110 this.$emit('success')
111 111 } catch (error) {
... ...
src/components/dev/DelApp.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('app.dialog.delTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -54,7 +54,7 @@ export default {
54 54 async handleConfirm() {
55 55 try {
56 56 await deleteApp(this.appId)
57   - this.$message.success(this.$t('app.delete.success'))
  57 + this.$message.success(this.$t('common.operationSuccess'))
58 58 this.handleClose()
59 59 this.$emit('success')
60 60 } catch (error) {
... ...
src/components/dev/DelAttrSpec.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('attrSpec.dialog.delTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -54,7 +54,7 @@ export default {
54 54 async handleConfirm() {
55 55 try {
56 56 await deleteAttrSpec(this.specId)
57   - this.$message.success(this.$t('attrSpec.delete.success'))
  57 + this.$message.success(this.$t('common.operationSuccess'))
58 58 this.handleClose()
59 59 this.$emit('success')
60 60 } catch (error) {
... ...
src/components/dev/DelAttrValue.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('attrValue.dialog.delTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -58,7 +58,7 @@ export default {
58 58 async handleConfirm() {
59 59 try {
60 60 await deleteAttrValue(this.valueId,this.specId)
61   - this.$message.success(this.$t('attrValue.delete.success'))
  61 + this.$message.success(this.$t('common.operationSuccess'))
62 62 this.handleClose()
63 63 this.$emit('success')
64 64 } catch (error) {
... ...
src/components/dev/DelBusinessDatabus.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('businessDatabus.dialog.delTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -54,7 +54,7 @@ export default {
54 54 async handleConfirm() {
55 55 try {
56 56 await deleteBusinessDatabus(this.databusId)
57   - this.$message.success(this.$t('businessDatabus.delete.success'))
  57 + this.$message.success(this.$t('common.operationSuccess'))
58 58 this.handleClose()
59 59 this.$emit('success')
60 60 } catch (error) {
... ...
src/components/dev/DelBusinessTableHis.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('businessTableHis.dialog.delTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -54,7 +54,7 @@ export default {
54 54 async handleConfirm() {
55 55 try {
56 56 await deleteBusinessTableHis(this.hisId)
57   - this.$message.success(this.$t('businessTableHis.delete.success'))
  57 + this.$message.success(this.$t('common.operationSuccess'))
58 58 this.handleClose()
59 59 this.$emit('success')
60 60 } catch (error) {
... ...
src/components/dev/DelDict.vue
1   -<template>
  1 +<template>
2 2 <el-dialog
3 3 :title="$t('dict.dialog.delTitle')"
4 4 :visible.sync="dialogVisible"
... ... @@ -54,7 +54,7 @@ export default {
54 54 async handleConfirm() {
55 55 try {
56 56 await deleteDict(this.id)
57   - this.$message.success(this.$t('dict.delete.success'))
  57 + this.$message.success(this.$t('common.operationSuccess'))
58 58 this.handleClose()
59 59 this.$emit('success')
60 60 } catch (error) {
... ...