| .. | .. |
|---|
| 43 | 43 | </view> |
|---|
| 44 | 44 | </view> |
|---|
| 45 | 45 | <view class="num-wrapper"> |
|---|
| 46 | | - <view class="num-item" @click="goToThird()"> |
|---|
| 46 | + <!-- TODO 临时注释:悦养豆第三方小程序跳转 @click="goToThird()" --> |
|---|
| 47 | + <view class="num-item"> |
|---|
| 47 | 48 | <text class="num">{{ toThousands(careBeanNum) || 0 }}</text> |
|---|
| 48 | 49 | <view class="txt">悦养豆</view> |
|---|
| 49 | 50 | </view> |
|---|
| .. | .. |
|---|
| 463 | 464 | go(); |
|---|
| 464 | 465 | } |
|---|
| 465 | 466 | }, |
|---|
| 466 | | - goToThird() { |
|---|
| 467 | | - let that = this; |
|---|
| 467 | + // TODO 临时注释:悦养豆第三方小程序跳转,待开放时恢复 |
|---|
| 468 | + // goToThird() { |
|---|
| 469 | + // let that = this; |
|---|
| 468 | 470 | |
|---|
| 469 | | - function go() { |
|---|
| 470 | | - //第三方小程序 |
|---|
| 471 | | - let url = '/pages/profile/care-coupon-detail?' |
|---|
| 472 | | - url += 'sourceScene=user'; |
|---|
| 471 | + // function go() { |
|---|
| 472 | + // //第三方小程序 |
|---|
| 473 | + // let url = '/pages/profile/care-coupon-detail?' |
|---|
| 474 | + // url += 'sourceScene=user'; |
|---|
| 473 | 475 | |
|---|
| 474 | | - url += '&agentNo=' + ((that.$store.getters.belong && that.$store.getters.belong.agentNo) ? that.$store.getters.belong |
|---|
| 475 | | - .agentNo : ''); |
|---|
| 476 | | - url += '&agentChannel=' + ((that.$store.getters.belong && that.$store.getters.belong.channel) ? that.$store.getters |
|---|
| 477 | | - .belong.channel : ''); //归属代理人渠道 |
|---|
| 478 | | - url += '&agentCompany=' + ((that.$store.getters.belong && that.$store.getters.belong.companyCode) ? that.$store.getters |
|---|
| 479 | | - .belong.companyCode : ''); //agentCompany |
|---|
| 480 | | - url += '&agentBranch=' + ((that.$store.getters.belong && that.$store.getters.belong.branchCode) ? that.$store.getters |
|---|
| 481 | | - .belong |
|---|
| 482 | | - .branchCode : ''); //归属代理人支公司 |
|---|
| 483 | | - url += '&custAgentOrgNo=' + ((that.$store.getters.belong && that.$store.getters.belong.subCode) ? that.$store.getters |
|---|
| 484 | | - .belong.subCode : ''); //归属代理人机构编码 |
|---|
| 485 | | - url += '&unionId=' + that.$store.getters.unionId; |
|---|
| 486 | | - url += '&mobile=' + ((that.$store.getters.belong && that.$store.getters.belong.mobile) ? that.$store.getters.belong |
|---|
| 487 | | - .mobile : that.$store.getters.userInfo.mobile); |
|---|
| 476 | + // url += '&agentNo=' + ((that.$store.getters.belong && that.$store.getters.belong.agentNo) ? that.$store.getters.belong |
|---|
| 477 | + // .agentNo : ''); |
|---|
| 478 | + // url += '&agentChannel=' + ((that.$store.getters.belong && that.$store.getters.belong.channel) ? that.$store.getters |
|---|
| 479 | + // .belong.channel : ''); //归属代理人渠道 |
|---|
| 480 | + // url += '&agentCompany=' + ((that.$store.getters.belong && that.$store.getters.belong.companyCode) ? that.$store.getters |
|---|
| 481 | + // .belong.companyCode : ''); //agentCompany |
|---|
| 482 | + // url += '&agentBranch=' + ((that.$store.getters.belong && that.$store.getters.belong.branchCode) ? that.$store.getters |
|---|
| 483 | + // .belong |
|---|
| 484 | + // .branchCode : ''); //归属代理人支公司 |
|---|
| 485 | + // url += '&custAgentOrgNo=' + ((that.$store.getters.belong && that.$store.getters.belong.subCode) ? that.$store.getters |
|---|
| 486 | + // .belong.subCode : ''); //归属代理人机构编码 |
|---|
| 487 | + // url += '&unionId=' + that.$store.getters.unionId; |
|---|
| 488 | + // url += '&mobile=' + ((that.$store.getters.belong && that.$store.getters.belong.mobile) ? that.$store.getters.belong |
|---|
| 489 | + // .mobile : that.$store.getters.userInfo.mobile); |
|---|
| 488 | 490 | |
|---|
| 489 | | - // let params={}; |
|---|
| 490 | | - // params['custAgentNo']=((that.$store.getters.belong && that.$store.getters.belong.agentNo) ? that.$store |
|---|
| 491 | | - // .getters.belong.agentNo : ''); |
|---|
| 492 | | - // params['custAgentChnl']=((that.$store.getters.belong && that.$store.getters.belong.channel) ? that.$store |
|---|
| 493 | | - // .getters.belong.channel : ''); |
|---|
| 494 | | - // params['custAgentCoy']=((that.$store.getters.belong && that.$store.getters.belong.companyCode) ? that |
|---|
| 495 | | - // .$store.getters.belong.companyCode : ''); |
|---|
| 496 | | - // params['custAgentBranch']=((that.$store.getters.belong && that.$store.getters.belong.branchCode) ? that |
|---|
| 497 | | - // .$store.getters.belong.branchCode : ''); |
|---|
| 498 | | - // params['custAgentOrgNo']=((that.$store.getters.belong && that.$store.getters.belong.subCode) ? that |
|---|
| 499 | | - // .$store.getters.belong.subCode : ''); |
|---|
| 491 | + // // let params={}; |
|---|
| 492 | + // // params['custAgentNo']=((that.$store.getters.belong && that.$store.getters.belong.agentNo) ? that.$store |
|---|
| 493 | + // // .getters.belong.agentNo : ''); |
|---|
| 494 | + // // params['custAgentChnl']=((that.$store.getters.belong && that.$store.getters.belong.channel) ? that.$store |
|---|
| 495 | + // // .getters.belong.channel : ''); |
|---|
| 496 | + // // params['custAgentCoy']=((that.$store.getters.belong && that.$store.getters.belong.companyCode) ? that |
|---|
| 497 | + // // .$store.getters.belong.companyCode : ''); |
|---|
| 498 | + // // params['custAgentBranch']=((that.$store.getters.belong && that.$store.getters.belong.branchCode) ? that |
|---|
| 499 | + // // .$store.getters.belong.branchCode : ''); |
|---|
| 500 | + // // params['custAgentOrgNo']=((that.$store.getters.belong && that.$store.getters.belong.subCode) ? that |
|---|
| 501 | + // // .$store.getters.belong.subCode : ''); |
|---|
| 500 | 502 | |
|---|
| 501 | | - console.log(url); |
|---|
| 502 | | - const accountInfo = wx.getAccountInfoSync() |
|---|
| 503 | | - const envVersion = accountInfo.miniProgram.envVersion |
|---|
| 504 | | - console.log("envVersion::::", envVersion) |
|---|
| 503 | + // console.log(url); |
|---|
| 504 | + // const accountInfo = wx.getAccountInfoSync() |
|---|
| 505 | + // const envVersion = accountInfo.miniProgram.envVersion |
|---|
| 506 | + // console.log("envVersion::::", envVersion) |
|---|
| 505 | 507 | |
|---|
| 506 | | - uni.navigateToMiniProgram({ |
|---|
| 507 | | - appId: THIRD_APPID, |
|---|
| 508 | | - path: url, |
|---|
| 509 | | - envVersion: envVersion != 'release' ? 'trial' : 'release' |
|---|
| 510 | | - }) |
|---|
| 511 | | - } |
|---|
| 512 | | - if (!that.$store.getters.isLogin) { |
|---|
| 513 | | - toLogin(that); |
|---|
| 514 | | - that.loginBackFn = function () { |
|---|
| 515 | | - go(); |
|---|
| 516 | | - } |
|---|
| 517 | | - } else { |
|---|
| 518 | | - go(); |
|---|
| 519 | | - } |
|---|
| 520 | | - }, |
|---|
| 508 | + // uni.navigateToMiniProgram({ |
|---|
| 509 | + // appId: THIRD_APPID, |
|---|
| 510 | + // path: url, |
|---|
| 511 | + // envVersion: envVersion != 'release' ? 'trial' : 'release' |
|---|
| 512 | + // }) |
|---|
| 513 | + // } |
|---|
| 514 | + // if (!that.$store.getters.isLogin) { |
|---|
| 515 | + // toLogin(that); |
|---|
| 516 | + // that.loginBackFn = function () { |
|---|
| 517 | + // go(); |
|---|
| 518 | + // } |
|---|
| 519 | + // } else { |
|---|
| 520 | + // go(); |
|---|
| 521 | + // } |
|---|
| 522 | + // }, |
|---|
| 521 | 523 | // 获取地址数据 |
|---|
| 522 | 524 | getCityList: function () { |
|---|
| 523 | 525 | let that = this; |
|---|