|
@@ -3,7 +3,7 @@
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
<!-- 提示 -->
|
|
|
<a-alert type="info" style="margin-bottom: 10px">
|
|
|
- <div slot="message">我的邀请码:1A2B <a-button type="link" v-copyText="'1A2B'">复制</a-button></div>
|
|
|
+ <div slot="message">我的邀请码:{{ dealerInviteCode }} <a-button type="link" v-copyText="dealerInviteCode">复制</a-button></div>
|
|
|
</a-alert>
|
|
|
<!-- 搜索条件 -->
|
|
|
<div ref="tableSearch" class="table-page-search-wrapper">
|
|
@@ -83,6 +83,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import { mapState } from 'vuex'
|
|
|
import { commonMixin } from '@/utils/mixin'
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
import { xprhStoreApplyQueryPage, xprhStoreApplyAudit } from '@/api/approveStore'
|
|
@@ -134,6 +135,11 @@ export default {
|
|
|
nowData: null
|
|
|
}
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ ...mapState({
|
|
|
+ dealerInviteCode: state => state.user.info.extInfo.dealer.dealerInviteCode
|
|
|
+ })
|
|
|
+ },
|
|
|
methods: {
|
|
|
inited (viewer) {
|
|
|
if (viewer.length) {
|