|
@@ -172,16 +172,16 @@
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
- //隐私合规接口,HBuildx3.3.3及其以后的版本需要调用合规检查
|
|
|
- var isContains = true;//隐私权政策是否包含高德开平隐私权政策 true是包含
|
|
|
- var isShow = true;//隐私权政策是否弹窗展示告知用户 true是展示
|
|
|
- sdkwx.updatePrivacyShow(isContains, isShow);
|
|
|
- var isAgree = true;//隐私权政策是否取得用户同意 true是用户同意
|
|
|
- sdkwx.updatePrivacyAgree(isAgree);
|
|
|
- //检查定位权限
|
|
|
- sdkwx.checkLocationPermission(function(res){
|
|
|
- console.log(res);
|
|
|
- });
|
|
|
+ // //隐私合规接口,HBuildx3.3.3及其以后的版本需要调用合规检查
|
|
|
+ // var isContains = true;//隐私权政策是否包含高德开平隐私权政策 true是包含
|
|
|
+ // var isShow = true;//隐私权政策是否弹窗展示告知用户 true是展示
|
|
|
+ // sdkwx.updatePrivacyShow(isContains, isShow);
|
|
|
+ // var isAgree = true;//隐私权政策是否取得用户同意 true是用户同意
|
|
|
+ // sdkwx.updatePrivacyAgree(isAgree);
|
|
|
+ // //检查定位权限
|
|
|
+ // sdkwx.checkLocationPermission(function(res){
|
|
|
+ // console.log(res);
|
|
|
+ // });
|
|
|
let phoneType = uni.getSystemInfoSync().platform //判断手机类型
|
|
|
this.enterpriseSenderCode = config.def().enterpriseSenderCode
|
|
|
this.environment = config.def().environment
|
|
@@ -194,6 +194,7 @@
|
|
|
this.appId = config.def().iosAppId
|
|
|
this.appSecurity = config.def().iosAppSecurity
|
|
|
}
|
|
|
+ debugger
|
|
|
if (!uni.getStorageSync('contractdata')) {
|
|
|
this.id = JSON.parse(decodeURIComponent(options.obj)).id
|
|
|
this.detailData.hyCarrierInfo.id = JSON.parse(decodeURIComponent(options.obj)).carrierId
|
|
@@ -211,6 +212,7 @@
|
|
|
},
|
|
|
onShow() {
|
|
|
if (uni.getStorageSync('contractdata')) {
|
|
|
+
|
|
|
this.id = uni.getStorageSync('contractdata').id
|
|
|
this.detailData.hyCarrierInfo.id = uni.getStorageSync('contractdata').carrierId
|
|
|
this.cyId = uni.getStorageSync('contractdata').carrierId
|