|
|
|
@ -5,15 +5,15 @@ |
|
|
|
|
// brestUrl: 'http://192.168.3.4:9302/brest', |
|
|
|
|
// imgUrl: 'https://192.168.3.4:9301/filesystem/', |
|
|
|
|
//正式 |
|
|
|
|
// url: 'https://hsg.dctpay.com/crest', |
|
|
|
|
// imgUrl: 'https://hsg.dctpay.com/filesystem/', |
|
|
|
|
// brestUrl: 'https://hsg.dctpay.com/brest', |
|
|
|
|
// imageWxImg: 'https://hsg.dctpay.com/filesystem/wxApplets/', |
|
|
|
|
url: 'https://hsg.dctpay.com/crest', |
|
|
|
|
imgUrl: 'https://hsg.dctpay.com/filesystem/', |
|
|
|
|
brestUrl: 'https://hsg.dctpay.com/brest', |
|
|
|
|
imageWxImg: 'https://hsg.dctpay.com/filesystem/wxApplets/', |
|
|
|
|
//测试 |
|
|
|
|
url: 'https://hsgcs.dctpay.com/crest', |
|
|
|
|
brestUrl: 'https://hsgcs.dctpay.com/brest', |
|
|
|
|
imgUrl: 'https://hsgcs.dctpay.com/filesystem/', |
|
|
|
|
imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/', |
|
|
|
|
// url: 'https://hsgcs.dctpay.com/crest', |
|
|
|
|
// brestUrl: 'https://hsgcs.dctpay.com/brest', |
|
|
|
|
// imgUrl: 'https://hsgcs.dctpay.com/filesystem/', |
|
|
|
|
// imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/', |
|
|
|
|
userInfo: "", |
|
|
|
|
brestUserInfo: '', |
|
|
|
|
bresthighAgent: '', |
|
|
|
@ -58,9 +58,9 @@ |
|
|
|
|
pelletoilList: '' |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
onLaunch: function() { |
|
|
|
|
}, |
|
|
|
|
onLaunch: function() {}, |
|
|
|
|
onShow: function() { |
|
|
|
|
// #ifdef H5 |
|
|
|
|
let that = this; |
|
|
|
|
uni.getStorage({ |
|
|
|
|
key: 'openId', |
|
|
|
@ -112,7 +112,8 @@ |
|
|
|
|
success(e) { |
|
|
|
|
if (e.data) { |
|
|
|
|
if (that.globalData.accountId == '000001&key' || that.globalData.accountId == |
|
|
|
|
'000000&gasKey' || that.globalData.accountId == '000009&key' || that.globalData.accountId == '0000010&key') { |
|
|
|
|
'000000&gasKey' || that.globalData.accountId == '000009&key' || that.globalData |
|
|
|
|
.accountId == '0000010&key') { |
|
|
|
|
that.globalData.staffCode = e.data; |
|
|
|
|
} else { |
|
|
|
|
that.globalData.mchId = e.data; |
|
|
|
@ -130,6 +131,24 @@ |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
uni.getStorage({ |
|
|
|
|
key: 'cityName', |
|
|
|
|
success(e) { |
|
|
|
|
if (e.data) { |
|
|
|
|
that.globalData.cityName = e.data; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
uni.getStorage({ |
|
|
|
|
key: 'qianzhuCityName', |
|
|
|
|
success(e) { |
|
|
|
|
if (e.data) { |
|
|
|
|
that.globalData.qianzhuCityName = e.data; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
uni.getStorage({ |
|
|
|
|
key: 'companyId', |
|
|
|
|
success(e) { |
|
|
|
@ -155,6 +174,7 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
// #endif |
|
|
|
|
}, |
|
|
|
|
onHide: function() {} |
|
|
|
|
} |
|
|
|
|