Browse Source

处理BUG

wangcz 7 years ago
parent
commit
322a87bb10

+ 2 - 2
components/mobile/register-saler/register/StepThird.vue

@@ -508,7 +508,7 @@
       // 个人用户,先注册企业,成功后,提交开店申请
       // 个人用户,先注册企业,成功后,提交开店申请
       registerSelf: function () {
       registerSelf: function () {
         this.showLoading = true
         this.showLoading = true
-        this.$http.post('/basic/enterprise/register?filePath=' + this.registerData.url, this.registerData.enterprise)
+        this.$http.post(`/basic/enterprise/register${this.registerData.url ? '?filePath=' + this.registerData.url : ''}`, this.registerData.enterprise)
           .then(response => {
           .then(response => {
             if (response.data.success) {
             if (response.data.success) {
               this.isSelfRegisterSuccess = true
               this.isSelfRegisterSuccess = true
@@ -691,7 +691,7 @@
             // this.$message.error('您还没有勾选相关条款')
             // this.$message.error('您还没有勾选相关条款')
           } else {
           } else {
             this.showLoading = true
             this.showLoading = true
-            this.$http.post('/basic/enterprise/register?filePath=' + this.registerData.url, this.registerData.enterprise)
+            this.$http.post(`/basic/enterprise/register${this.registerData.url ? '?filePath=' + this.registerData.url : ''}`, this.registerData.enterprise)
               .then(response => {
               .then(response => {
                 if (response.data.success) {
                 if (response.data.success) {
                   this.isSelfRegisterSuccess = true
                   this.isSelfRegisterSuccess = true

+ 1 - 1
pages/mobile/center/vendor/approval/index.vue

@@ -34,7 +34,7 @@
     <ul class="order-list-wrap" id="b2border-wrapper" v-show="orderList.length > 0">
     <ul class="order-list-wrap" id="b2border-wrapper" v-show="orderList.length > 0">
       <li v-for="item in orderList">
       <li v-for="item in orderList">
         <div class="list-title">
         <div class="list-title">
-          <span>{{item.inDate | time}}</span>
+          <span>{{item.inDate | timeDay}}</span>
           <span class="leave-active" v-if="item.finalresult && item.finalresult  === '合格'"><i class="fa fa-legal"></i>合格</span>
           <span class="leave-active" v-if="item.finalresult && item.finalresult  === '合格'"><i class="fa fa-legal"></i>合格</span>
           <span class="over-active" v-if="!item.finalresult || item.finalresult  !== '合格'"><i class="fa fa-legal"></i>不合格</span>
           <span class="over-active" v-if="!item.finalresult || item.finalresult  !== '合格'"><i class="fa fa-legal"></i>不合格</span>
         </div>
         </div>

+ 1 - 1
pages/mobile/center/vendor/sample/index.vue

@@ -245,7 +245,7 @@
         this.showModal = true
         this.showModal = true
         if (this.isUnread(bill.id)) {
         if (this.isUnread(bill.id)) {
           let lists = []
           let lists = []
-          this.$http.get(`/sale/sample/setRead`, {params: lists.push(bill.id)})
+          this.$http.post(`/sale/sample/setRead`, {params: lists.push(bill.id)})
         }
         }
         this.$http.get(`/sale/sample/${bill.id}/send`)
         this.$http.get(`/sale/sample/${bill.id}/send`)
           .then(res => {
           .then(res => {