|
|
|
@ -75,7 +75,8 @@
|
|
|
|
|
<u-checkbox name="yes" shape="circle" activeColor="#76C458"></u-checkbox>
|
|
|
|
|
<view class="know">
|
|
|
|
|
已阅读并同意
|
|
|
|
|
<text @click="agreementHandle('service')">《用户协议》&《集保东西用户协议》</text>
|
|
|
|
|
<text @click="agreementHandle('service')">《软件许可及服务协议》</text>
|
|
|
|
|
<text @click="agreementHandle('privacy')">&《隐私保护政策》</text>
|
|
|
|
|
</view>
|
|
|
|
|
</u-checkbox-group>
|
|
|
|
|
</view>
|
|
|
|
@ -101,11 +102,11 @@ export default {
|
|
|
|
|
isChecked: false
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
async onLoad(options) {
|
|
|
|
|
async onLoad(options) {
|
|
|
|
|
if (options.tempVideoPath) {
|
|
|
|
|
this.isfinish = JSON.parse(options.isfinish) || false
|
|
|
|
|
this.video = await this.uploadFilePromise(options.tempVideoPath)
|
|
|
|
|
console.log('this.video',this.video)
|
|
|
|
|
this.isfinish = JSON.parse(options.isfinish) || false
|
|
|
|
|
this.video = await this.uploadFilePromise(options.tempVideoPath)
|
|
|
|
|
console.log('this.video', this.video)
|
|
|
|
|
const data = {
|
|
|
|
|
num: uni.getStorageSync("info").name || '',
|
|
|
|
|
name: uni.getStorageSync("info").num || '',
|
|
|
|
@ -262,7 +263,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async fddRealName() {
|
|
|
|
|
if(!this.num||!this.name)return this.$common.msgToast('姓名和身份证号不能为空')
|
|
|
|
|
if (!this.num || !this.name) return this.$common.msgToast('姓名和身份证号不能为空')
|
|
|
|
|
const data = {
|
|
|
|
|
num: this.num,
|
|
|
|
|
name: this.name,
|
|
|
|
@ -279,15 +280,10 @@ export default {
|
|
|
|
|
mobile
|
|
|
|
|
})
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
uni.setStorage({
|
|
|
|
|
key: "fddUrl",
|
|
|
|
|
data: res.data?.url,
|
|
|
|
|
success: function () {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
uni.setStorageSync("fddUrl",res.data?.url);
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: "/pages/realName/FDDRegister",
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.$common.msgToast(res.msg)
|
|
|
|
|
}
|
|
|
|
@ -300,7 +296,12 @@ export default {
|
|
|
|
|
this.$common.msgToast(res.msg)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
agreementHandle(type) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: "/pages/realName/agreement?type=" + type,
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|