Browse Source

feat:采购单位画像包、附件下载包入口更改

yangfeng 3 years ago
parent
commit
4d0ee48933

+ 2 - 2
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/unit_portrayal.js

@@ -1667,7 +1667,7 @@ var vNode = {
       `
       // 判断是否购买全国,全国直接跳转到到充值页面, 非全国显示弹窗
       if(usage.provin == -1) {
-        location.href = '/jyapp/filePack/createOrder?type=1'
+        location.href = '/jy_mobile/common/order/create/areapack?type=1'
       } else {
         this.$dialog.confirm({
           title: '请选择充值方式',
@@ -1682,7 +1682,7 @@ var vNode = {
           closeOnClickOverlay: true,
           showCancelButton: true
         }).then(function () {
-          location.href = '/jyapp/filePack/createOrder?type=1'
+          location.href = '/jy_mobile/common/order/create/areapack?type=1'
         }).catch(function (e) {
           if (e == 'cancel') {
             //跳转清除旧套餐缓存,防止计算价格出错

+ 1 - 1
src/jfw/modules/app/src/web/templates/vipsubscribe/vip_UpgradeDetail.html

@@ -50,7 +50,7 @@ $(function () {
     $('.j-button-confirm').on('click', function () {
       //跳转清除旧套餐缓存,防止计算价格出错
       sessionStorage.removeItem('vipSub_oldBuySet')
-        location.href = '/jyapp/vipsubscribe/upgradePage'
+        location.href = '/jy_mobile/common/order/create/svip?type=upgrade'
     })
 })
 </script>

+ 2 - 2
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -1479,7 +1479,7 @@
                         width: 303
 
                     }).then(() => {
-                        location.href = '/jyapp/filePack/createOrder'
+                        location.href = '/jy_mobile/common/order/create/filepack?type=0'
                     })
                         .catch(() => {})
                     return
@@ -2789,7 +2789,7 @@
       })
       // 购买附件下载包
       $('.go-buy-file-pack').click(function(){
-       location.href = '/jyapp/filePack/createOrder'
+       location.href = '/jy_mobile/common/order/create/filepack?type=0'
       })
     })
 </script>

+ 3 - 3
src/web/staticres/big-member/js/unit_portrayal.js

@@ -467,7 +467,7 @@ var vNode = {
                 `
                 // 判断是否购买全国,全国直接跳转到到充值页面, 非全国显示弹窗
                 if(u.provin == -1) {
-                  location.href = '/swordfish/filePack/createOrder?type=1'
+                  location.href = '/jy_mobile/common/order/create/areapack?type=1'
                 } else {
                   _this.goUpgradeOrConcat()
                 }
@@ -1619,7 +1619,7 @@ var vNode = {
           `
           // 判断是否购买全国,全国直接跳转到到充值页面, 非全国显示弹窗
           if(usage.provin == -1) {
-            location.href = '/swordfish/filePack/createOrder?type=1'
+            location.href = '/jy_mobile/common/order/create/areapack?type=1'
           } else {
             this.$dialog.confirm({
               title: '请选择充值方式',
@@ -1634,7 +1634,7 @@ var vNode = {
               closeOnClickOverlay: true,
               showCancelButton: true
             }).then(function () {
-              location.href = '/swordfish/filePack/createOrder?type=1'
+              location.href = '/jy_mobile/common/order/create/areapack?type=1'
             }).catch(function (e) { 
               if (e == 'cancel') {
                 // location.href = '/front/vipsubscribe/upgradePage'

+ 4 - 4
src/web/staticres/common-module/collection/js/buyer-example.js

@@ -254,7 +254,7 @@ var buyerExample = {
           // 选择充值方式
           // 判断是否购买全国,全国直接跳转到到充值页面, 非全国显示弹窗
           if(u.provin == -1) {
-            location.href = '/jyapp/filePack/createOrder?type=1'
+            location.href = '/jy_mobile/common/order/create/areapack?type=1'
           } else {
             this.$dialog.confirm({
               title: '请选择充值方式',
@@ -269,7 +269,7 @@ var buyerExample = {
               closeOnClickOverlay: true,
               showCancelButton: true
             }).then(function () {
-              location.href = '/jyapp/filePack/createOrder?type=1'
+              location.href = '/jy_mobile/common/order/create/areapack?type=1'
             }).catch(function (e) {
               if(e == 'cancel') {
                 //跳转清除旧套餐缓存,防止计算价格出错
@@ -296,7 +296,7 @@ var buyerExample = {
         } else if (this.getTextMap.btnText == '立即充值') {
           // 判断是否购买全国,全国直接跳转到到充值页面, 非全国显示弹窗
           if(u.provin == -1) {
-            location.href = '/swordfish/filePack/createOrder?type=1'
+            location.href = '/jy_mobile/common/order/create/areapack?type=1'
           }  else {
             this.$dialog.confirm({
               title: '请选择充值方式',
@@ -311,7 +311,7 @@ var buyerExample = {
               closeOnClickOverlay: true,
               showCancelButton: true
             }).then(function () {
-              location.href = '/swordfish/filePack/createOrder?type=1'
+              location.href = '/jy_mobile/common/order/create/areapack?type=1'
             }).catch(function (e) {
               if(e == 'cancel') {
                 // location.href = '/front/vipsubscribe/upgradePage'

+ 2 - 2
src/web/staticres/common-module/coupon/js/coupon-template.js

@@ -132,7 +132,7 @@ Vue.component('coupon-list', {
         } else if (isSingleCourse) {
           location.href = '/jyxsapp/';
         } else if (isSingleFile) {
-          location.href = '/swordfish/filePack/createOrder'
+          location.href = '/jy_mobile/common/order/create/filepack?type=0'
         } else {
           location.href = '/weixin/frontPage/coupon/free/selectProduct?couponId=' + id;
         }
@@ -153,7 +153,7 @@ Vue.component('coupon-list', {
         } else if (isSingleCourse) {
           location.href = '/jyxsapp/?source=app_kongkim'
         } else if (isSingleFile) {
-          location.href = '/jyapp/filePack/createOrder'
+          location.href = '/jy_mobile/common/order/create/filepack?type=0'
         } else {
           location.href = '/jyapp/frontPage/coupon/free/selectProduct?couponId=' + id;
         }

+ 2 - 2
src/web/staticres/common-module/file-pack/js/index-wx.js

@@ -308,8 +308,8 @@ var vm = new Vue({
     },
     setBook() {
       var temp = {
-        wx: '/swordfish/filePack/createOrder',
-        app: '/jyapp/filePack/createOrder'
+        wx: '/jy_mobile/common/order/create/filepack?type=0',
+        app: '/jy_mobile/common/order/create/filepack?type=0'
       }
       var isWeixin = navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
       location.href = temp[isWeixin ? 'wx' : 'app']

+ 2 - 2
src/web/staticres/common-module/file-pack/js/index.js

@@ -288,8 +288,8 @@ var vm = new Vue({
     },
     setBook() {
       var temp = {
-        wx: '/swordfish/filePack/createOrder',
-        app: '/jyapp/filePack/createOrder'
+        wx: '/jy_mobile/common/order/create/filepack?type=0',
+        app: '/jy_mobile/common/order/create/filepack?type=0'
       }
       var isWeixin = navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
       location.href = temp[isWeixin ? 'wx' : 'app']

+ 4 - 4
src/web/staticres/common-module/order-list/js/order-list-config.js

@@ -362,8 +362,8 @@ var assetsConf = {
       app: '/jyapp/common/filePack/orderDetail'
     },
     buyAgain: {
-      wx: '/swordfish/filePack/createOrder',
-      app: '/jyapp/filePack/createOrder'
+      wx: '/jy_mobile/common/order/create/filepack?type=0',
+      app: '/jy_mobile/common/order/create/filepack?type=0'
     },
     imgMap: {
       headerImg: {
@@ -408,8 +408,8 @@ var assetsConf = {
       app: '/jyapp/common/buyerPortraitPack/orderDetail'
     },
     buyAgain: {
-      wx: '/swordfish/filePack/createOrder?type=1',
-      app: '/jyapp/filePack/createOrder?type=1'
+      wx: '/jy_mobile/common/order/create/areapack?type=1',
+      app: '/jy_mobile/common/order/create/areapack?type=1'
     },
     imgMap: {
       headerImg: {

+ 3 - 3
src/web/staticres/common-module/portraitRecord/js/index-wx.js

@@ -260,7 +260,7 @@ var vm = new Vue({
           `
           // 判断是否购买全国,全国直接跳转到到充值页面, 非全国显示弹窗
           if(this.points.provin == -1) {
-            location.href = '/swordfish/filePack/createOrder?type=1'
+            location.href = '/jy_mobile/common/order/create/areapack?type=1'
           } else {
             this.$dialog.confirm({
               title: '请选择充值方式',
@@ -275,10 +275,10 @@ var vm = new Vue({
               closeOnClickOverlay: true,
               showCancelButton: true
             }).then(function () {
-              location.href = '/swordfish/filePack/createOrder?type=1'
+              location.href = '/jy_mobile/common/order/create/areapack?type=1'
             }).catch(function (e) {
               if(e == 'cancel') {
-                location.href = '/front/vipsubscribe/upgradePage'
+                location.href = '/jy_mobile/common/order/create/svip?type=upgrade'
               }
             })
           }

+ 5 - 5
src/web/staticres/common-module/portraitRecord/js/index.js

@@ -242,7 +242,7 @@ var vm = new Vue({
           this.commonDialogFn(message, '前往升级', function() {
             //跳转清除旧套餐缓存,防止计算价格出错
             sessionStorage.removeItem('vipSub_oldBuySet')
-            location.href = '/jyapp/vipsubscribe/upgradePage'
+            location.href = '/jy_mobile/common/order/create/svip?type=upgrade'
           })
         }
       } else {
@@ -255,7 +255,7 @@ var vm = new Vue({
           `
           // 判断是否购买全国,全国直接跳转到到充值页面, 非全国显示弹窗
           if(this.points.provin == -1) {
-            location.href = '/jyapp/filePack/createOrder?type=1'
+            location.href = '/jy_mobile/common/order/create/areapack?type=1'
           } else {
             this.$dialog.confirm({
               title: '请选择充值方式',
@@ -270,12 +270,12 @@ var vm = new Vue({
               closeOnClickOverlay: true,
               showCancelButton: true
             }).then(function () {
-              location.href = '/jyapp/filePack/createOrder?type=1'
+              location.href = '/jy_mobile/common/order/create/areapack?type=1'
             }).catch(function (e) {
               if(e == 'cancel') {
                 //跳转清除旧套餐缓存,防止计算价格出错
                 sessionStorage.removeItem('vipSub_oldBuySet')
-                location.href = '/jyapp/vipsubscribe/upgradePage'
+                location.href = '/jy_mobile/common/order/create/svip?type=upgrade'
               }
             })
           }
@@ -346,7 +346,7 @@ var vm = new Vue({
       } else {
         //跳转清除旧套餐缓存,防止计算价格出错
         sessionStorage.removeItem('vipSub_oldBuySet')
-        location.href = '/jyapp/vipsubscribe/upgradePage'
+        location.href = '/jy_mobile/common/order/create/svip?type=upgrade'
       }
     }
   }

+ 2 - 2
src/web/templates/weixin/wxinfocontent_rec.html

@@ -1890,7 +1890,7 @@ function andownload() {
                                     width: 303
 
                                   }).then(() => {
-                                        location.href = '/swordfish/filePack/createOrder'
+                                        location.href = '/jy_mobile/common/order/create/filepack?type=0'
                                   })
                                   .catch(() => {})
                                   return
@@ -2876,7 +2876,7 @@ $(function(){
     })
     // 购买附件下载包
   $('.go-buy-file-pack').click(function(){
-   location.href = '/swordfish/filePack/createOrder'
+   location.href = '/jy_mobile/common/order/create/filepack?type=0'
   })
 })
 function reward(){