|
@@ -51,7 +51,7 @@
|
51
|
51
|
</el-pagination>
|
52
|
52
|
</div>
|
53
|
53
|
|
54
|
|
- <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" :before-close="handleClose" center>
|
|
54
|
+ <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" :before-close="handleDialogClose" center>
|
55
|
55
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
56
|
56
|
<el-tab-pane label="上下分" name="deposit">
|
57
|
57
|
<el-form :rules="rules" ref="dataForm" :model="temp" label-position="left" label-width="100px" style='width: 400px; margin-left:50px;'>
|
|
@@ -88,7 +88,7 @@
|
88
|
88
|
</el-tabs>
|
89
|
89
|
|
90
|
90
|
<div slot="footer" class="dialog-footer">
|
91
|
|
- <el-button @click="dialogFormVisible = false">取 消</el-button>
|
|
91
|
+ <el-button @click="handleDialogClose">取 消</el-button>
|
92
|
92
|
<el-button v-if="dialogStatus=='reward'" type="primary" @click="rewardChips">確 定</el-button>
|
93
|
93
|
<el-button v-if="dialogStatus=='deposit'" type="primary" @click="depositChips">確 定</el-button>
|
94
|
94
|
</div>
|
|
@@ -260,7 +260,7 @@ export default {
|
260
|
260
|
handleClick(tab, event) {
|
261
|
261
|
this.dialogStatus = tab.name;
|
262
|
262
|
},
|
263
|
|
- handleClose() {
|
|
263
|
+ handleDialogClose() {
|
264
|
264
|
this.activeName = 'deposit';
|
265
|
265
|
this.dialogFormVisible = false;
|
266
|
266
|
},
|