|
|
@@ -396,44 +396,8 @@ export default {
|
|
|
},
|
|
|
selectShopFn(){
|
|
|
},
|
|
|
- goRenew (type) {
|
|
|
- let that = this
|
|
|
- let url = '/admin/shop/renew'
|
|
|
- if(type == 1){
|
|
|
- url = '/admin/home/me'
|
|
|
- }
|
|
|
- // #ifdef APP-PLUS
|
|
|
- if (plus.runtime.isApplicationExist({ pname: 'com.tencent.mm', action: 'weixin://' })) {
|
|
|
- plus.share.getServices(function (s) {
|
|
|
- var sweixin
|
|
|
- for (var i = 0; i < s.length; i++) {
|
|
|
- var t = s[i]
|
|
|
- if (t.id == 'weixin') {
|
|
|
- sweixin = t
|
|
|
- }
|
|
|
- }
|
|
|
- let d = that.getDictionariesInfo
|
|
|
- let miniOriginalId = d && d.miniOriginalId && d.miniOriginalId.current && d.miniOriginalId.current.ghs ? d.miniOriginalId.current.ghs : ''
|
|
|
- if (sweixin && sweixin.nativeClient) {
|
|
|
- sweixin.launchMiniProgram({
|
|
|
- id: miniOriginalId,
|
|
|
- path: '/admin/shop/renew',
|
|
|
- type: 0
|
|
|
- })
|
|
|
- } else {
|
|
|
- that.$msg('没有找到微信服务')
|
|
|
- }
|
|
|
- }, function (e) {
|
|
|
- that.$msg('没有找到微信服务哦')
|
|
|
- })
|
|
|
- } else {
|
|
|
- that.$msg('请安装微信,再打开小程序')
|
|
|
- }
|
|
|
- return
|
|
|
- // #endif
|
|
|
- // #ifndef APP-PLUS
|
|
|
+ goRenew () {
|
|
|
this.$util.pageTo({ url: '/admin/shop/renew' })
|
|
|
- // #endif
|
|
|
},
|
|
|
goOldRenew(){
|
|
|
this.$util.pageTo({ url: '/admin/shop/renewal'})
|