Compare commits

..

No commits in common. "6ac789823a4cde9ce4679642e64d71a74e5d55a8" and "76f3695d2812e058285ebd98dd50629c630612d4" have entirely different histories.

2 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
export function finishFee(data) { export function finishFee(data) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
request({ request({
url: '/fee.finishFee', url: '/fee/finishFee',
method: 'post', method: 'post',
data data
}).then(response => { }).then(response => {

View File

@ -51,6 +51,14 @@
this.$message.success(this.$t('finishFee.successMessage')) this.$message.success(this.$t('finishFee.successMessage'))
this.closeFinishFeeModel() this.closeFinishFeeModel()
this.$emit('success') this.$emit('success')
// Emit events to refresh related components
this.$bus.$emit('roomCreateFee:refresh')
this.$bus.$emit('listParkingSpaceFee:refresh')
this.$bus.$emit('simplifyRoomFee:refresh')
this.$bus.$emit('simplifyCarFee:refresh')
this.$bus.$emit('listContractFee:refresh')
this.$bus.$emit('contractDetailRoomFee:refresh')
this.$bus.$emit('ownerDetailRoomFee:refresh')
} catch (error) { } catch (error) {
this.$message.error(error.message || this.$t('finishFee.errorMessage')) this.$message.error(error.message || this.$t('finishFee.errorMessage'))
} }