|
@@ -73,13 +73,13 @@ var fileRecorder = new Vue({
|
|
|
accountInfo: {
|
|
|
// 权益剩余总数量
|
|
|
number: 0,
|
|
|
- // 剩余购买数量(充值)
|
|
|
+ // 剩余购买数量(充值)/number1
|
|
|
purchaseNum: 0,
|
|
|
- // 剩余兑换数量
|
|
|
+ // 剩余兑换数量/number2
|
|
|
exchangeNum: 0,
|
|
|
- // 剩余定期投放数量(超级订阅剩余权益个数)
|
|
|
+ // 剩余定期投放数量(超级订阅剩余权益个数)/number3
|
|
|
grantNum: 0,
|
|
|
- // 剩余留资数量(免费用户权益个数)
|
|
|
+ // 剩余留资数量(免费用户权益个数)/number4
|
|
|
freeNum: 0
|
|
|
},
|
|
|
working: false,
|
|
@@ -279,17 +279,38 @@ var fileRecorder = new Vue({
|
|
|
toBuyWithPoint () {
|
|
|
console.log('兑换附件下载,跳转工作桌面兑换')
|
|
|
if (goTemplateData.inIframe) {
|
|
|
- window.$BRACE.methods.open({
|
|
|
- route: {
|
|
|
- link: '/points',
|
|
|
- appName: 'pointSubApp',
|
|
|
- appType: 'qiankun'
|
|
|
- }
|
|
|
- })
|
|
|
+ try {
|
|
|
+ window.$BRACE.methods.open({
|
|
|
+ route: {
|
|
|
+ link: '/points',
|
|
|
+ appName: 'pointSubApp',
|
|
|
+ appType: 'qiankun'
|
|
|
+ }
|
|
|
+ })
|
|
|
+ } catch (error) {
|
|
|
+ window.open('/swordfish/integral/index')
|
|
|
+ }
|
|
|
} else {
|
|
|
window.open('/swordfish/integral/index')
|
|
|
}
|
|
|
},
|
|
|
+ goToFileNumberDetail () {
|
|
|
+ if (goTemplateData.inIframe) {
|
|
|
+ try {
|
|
|
+ window.$BRACE.methods.open({
|
|
|
+ route: {
|
|
|
+ link: '/big/filepack/history',
|
|
|
+ appName: 'bigMemberSubApp',
|
|
|
+ appType: 'qiankun'
|
|
|
+ }
|
|
|
+ })
|
|
|
+ } catch (error) {
|
|
|
+ window.open('/swordfish/page_big_pc/filepack/history')
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ window.open('/swordfish/page_big_pc/filepack/history')
|
|
|
+ }
|
|
|
+ },
|
|
|
doLeaveInfo: function () {
|
|
|
vm.isNeedSubmit('pc_mine_member_attach_learnmore',function(){
|
|
|
// vm.showSuccess = true
|