xinfeng il y a 5 ans
Parent
commit
7e79a9d718
3 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 7 2
      pages/otherpage/money/withdraw.vue
  2. 1 1
      plugins/router.js
  3. 0 5
      plugins/seoRouter.js

+ 7 - 2
pages/otherpage/money/withdraw.vue

@@ -76,10 +76,14 @@
     data() {
       return {
         bankInfo: {},
-        vCoins: 0
+        vCoins: 0,
+        fpUrl: ''
       }
     },
     created() {
+      const {coins=0, fpUrl=0} = this.$route.query || {}
+      this.vCoins = coins
+      this.fpUrl = fpUrl
       this.getAccountBankInfo()
       this.getWithdrawType()
     },
@@ -105,7 +109,8 @@
         this.vCoins = this.bankInfo.incomeTaxBalance
       },
       onJumpToUpload() {
-        location.href = '/otherpage/money/uploadInvoice?coins=' + this.vCoins || 0
+        const {vCoins, fpUrl} = this
+        location.href = `/otherpage/money/uploadInvoice?coins=${vCoins}&fpUrl=${fpUrl}`
       },
       submitCommit() {
         this.$axios.post('/api/recruit/addInvoiceWithdrawalApply', {

+ 1 - 1
plugins/router.js

@@ -116,7 +116,7 @@ export default ({
       }
       let jobDetailNow = {
         name: 'jobSeoDetails_$',
-        path: '/d/:tid',
+        path: '/d/:id',
         component: jobDetail.component
       }
       try {

+ 0 - 5
plugins/seoRouter.js

@@ -29,11 +29,6 @@ const extendRoutes = (routes, resolve) => {
     path: '/job/*',
     component: resolve(__dirname, '../pages/job/index.vue')
   })
-  routes.unshift({
-    name: 'JobListSeoDetail',
-    path: '/job/d/:tid',
-    component: resolve(__dirname, '../pages/job/detail/_tid.vue')
-  })
   // /** 兼职招聘SEO优化 end**/
   //
   //