mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
Compare commits
2 Commits
d2655d32e5
...
99af75acce
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99af75acce | ||
|
|
f9f290300f |
@ -1,15 +1,6 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
:title="$t('refundDepositFee.title')"
|
||||
:visible.sync="dialogVisible"
|
||||
width="30%"
|
||||
@close="handleClose"
|
||||
>
|
||||
<el-alert
|
||||
:title="$t('refundDepositFee.alertText')"
|
||||
type="warning"
|
||||
:closable="false"
|
||||
></el-alert>
|
||||
<el-dialog :title="$t('refundDepositFee.title')" :visible.sync="dialogVisible" width="30%" @close="handleClose">
|
||||
<el-alert :title="$t('refundDepositFee.alertText')" type="warning" :closable="false"></el-alert>
|
||||
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogVisible = false">{{ $t('common.cancel') }}</el-button>
|
||||
@ -41,10 +32,11 @@ export default {
|
||||
async refundDepositFee() {
|
||||
try {
|
||||
this.refundData.communityId = await getCommunityId()
|
||||
|
||||
|
||||
const response = await refundFeeDeposit(this.refundData)
|
||||
if (response.code === 0) {
|
||||
this.$message.success(this.$t('common.operationSuccess'))
|
||||
this.close()
|
||||
this.$emit('success')
|
||||
} else {
|
||||
this.$message.error(response.data.msg)
|
||||
@ -65,6 +57,7 @@ export default {
|
||||
.el-alert {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.dialog-footer {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user