lilei 2 éve
szülő
commit
9b2f582a43

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1658903367909
+  "version": 1659076515138
 }

+ 7 - 1
src/views/numsGoodsShelves/approveStore/list.vue

@@ -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) {

+ 2 - 2
vue.config.js

@@ -211,8 +211,8 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        target: 'http://192.168.0.102/qpls-md',
-        // target: 'http://p.iscm.360arrow.com/qpls-md',
+        // target: 'http://192.168.0.102/qpls-md',
+        target: 'http://p.iscm.360arrow.com/qpls-md',
         // ws: false,
         ws: true,
         changeOrigin: true,