Commit c4f7c301 by 徐忆琳

Merge branch 'xuyl_v3.13_0' into 'scrmv3.13.0'

修改弹框点击两次问题

See merge request !5
2 parents 15b6ca0e ee8b39c3
<template> <template>
<div class='view-content-bottom'> <div class='view-content-bottom'>
<view-dialog-table :showFuncIntro='showFuncIntro' :selectedData='selectedData'></view-dialog-table> <!-- :showFuncIntro='showFuncIntro'-->
<view-dialog-table :selectedData='selectedData'></view-dialog-table>
<div class='view-content-search'> <div class='view-content-search'>
<el-form <el-form
inline inline
...@@ -313,9 +314,9 @@ export default { ...@@ -313,9 +314,9 @@ export default {
const { merchantName, merchantId } = row const { merchantName, merchantId } = row
const list = this.switchType(row, type) const list = this.switchType(row, type)
this.selectedData = { ...list[index], merchantName, type, merchantId } this.selectedData = { ...list[index], merchantName, type, merchantId }
this.$nextTick(() => { // this.$nextTick(() => {
this.showFuncIntro = !this.showFuncIntro // this.showFuncIntro = !this.showFuncIntro
}) // })
} }
} }
} }
......
...@@ -77,10 +77,10 @@ export default { ...@@ -77,10 +77,10 @@ export default {
name: 'ViewDialogTable', name: 'ViewDialogTable',
mixins: [tableDetailMixin], mixins: [tableDetailMixin],
props: { props: {
showFuncIntro: { // showFuncIntro: {
type: Boolean, // type: Boolean,
default: false // default: false
}, // },
selectedData: { selectedData: {
type: Object, type: Object,
default: {} default: {}
...@@ -88,6 +88,7 @@ export default { ...@@ -88,6 +88,7 @@ export default {
}, },
data() { data() {
return { return {
showFuncIntro:false,
getListApi: this.api.renewal.getDetail, getListApi: this.api.renewal.getDetail,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'totalNum' }, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'totalNum' },
tableParams: null, tableParams: null,
...@@ -130,8 +131,10 @@ export default { ...@@ -130,8 +131,10 @@ export default {
// '活动1' // '活动1'
this.renewalSearchForm.merchantId = newValue.merchantId this.renewalSearchForm.merchantId = newValue.merchantId
// '4419194XX' // '4419194XX'
setTimeout(() => { setTimeout(() => {
this.$refs.renewalListRef?.refreshTable() this.$refs.renewalListRef?.refreshTable()
this.showFuncIntro = true
}, 500) }, 500)
}, },
deep: true, deep: true,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!