Browse Source

企业搜索及申请绑定功能交互

yangc 8 years ago
parent
commit
0e83b7911b
2 changed files with 11 additions and 2 deletions
  1. 10 1
      components/personalMaterial/PersonalMaterial.vue
  2. 1 1
      nuxt.config.js

+ 10 - 1
components/personalMaterial/PersonalMaterial.vue

@@ -118,6 +118,11 @@
         timer: 5
       }
     },
+    computed: {
+      user () {
+        return this.$store.state.option.user
+      }
+    },
     methods: {
       goLastPage: function () {
         window.history.back(-1)
@@ -163,6 +168,9 @@
       },
       setShowApplyRecord: function (flag) {
         if (flag) {
+          this.$http.get('/basic/enterprise/findApplyInfo', {params: {phone: this.user.data.userTel}})
+            .then(response => {
+            })
         }
         this.showApplyRecord = flag
       }
@@ -337,9 +345,10 @@
               list-style: inside;
               color: #ff8522;
               float: right;
-              margin: 19px 61px 0 36px;
+              margin: 19px 61px 0 0;
               li {
                 margin-bottom: 20px;
+                white-space: nowrap;
                 &:nth-child(2) {
                   margin-left: 10px;
                 }

+ 1 - 1
nuxt.config.js

@@ -1,6 +1,6 @@
 const path = require('path')
 const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://10.10.100.107:8081/platform-b2c/' : 'http://192.168.253.121:8080/platform-b2c/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'http://10.10.100.107:8081/platform-b2c/' : 'http://10.1.51.90:8080/platform-b2c/')
 
 module.exports = {
   router: {