@@ -98,8 +98,7 @@ export default {
},
methods: {
goBack() {
- console.log(this.$parent)
- this.$parent.isShow = true
+ this.$emit('close')
}
@@ -109,7 +109,7 @@ export default {
this.dataList = res.data.records
- this.$parent.showHistory = true
@@ -141,8 +141,7 @@
</div>
-
- <DealerApplyDetail v-else />
+ <DealerApplyDetail v-else @close="handleClose"/>
</template>
@@ -204,6 +203,9 @@ export default {
editFn() {
this.isShow = false
+ },
+ handleClose(){
+ this.isShow = true
@@ -209,7 +209,7 @@
<!-- 记录页面 -->
- <DealerDepositHistory :historyId="historyId" v-else />
+ <DealerDepositHistory :historyId="historyId" @close="handleClose" v-else />
@@ -353,6 +353,9 @@ export default {
+ this.showHistory = true
// //押金
// amountFn(e) {
// if (this.dialogForm.rate != 0 || this.dialogForm.rate != "") {