|
|
@@ -64,16 +64,28 @@
|
|
|
onShow() {
|
|
|
|
|
|
},
|
|
|
- onLoad() {
|
|
|
- this.getUserInfo()//获取用户信息
|
|
|
+ async onLoad() {
|
|
|
+ await this.getUserInfo()//获取用户信息
|
|
|
this.paycodeimg = QR.createQrCodeImg(this.$base.h5BaseUrl + "/#/pages/registr/h5Registr?systemCode=" + this
|
|
|
- .system_code+'&info='+JSON.stringify(this.Info), {
|
|
|
+ .system_code+'&info='+JSON.stringify({
|
|
|
+ name: this.Info.name,
|
|
|
+ infoId: this.Info.infoId,
|
|
|
+ id: this.Info.id,
|
|
|
+ headSculpture: this.Info.headSculpture,
|
|
|
+ deptName: this.Info.deptName,
|
|
|
+ }), {
|
|
|
size: parseInt(200), //二维码大小
|
|
|
|
|
|
})
|
|
|
this.recommendUrl = this.$base.h5BaseUrl + "/#/pages/registr/h5Registr?systemCode=" + this
|
|
|
- .system_code;
|
|
|
-
|
|
|
+ .system_code+'&info='+JSON.stringify({
|
|
|
+ name: this.Info.name,
|
|
|
+ infoId: this.Info.infoId,
|
|
|
+ id: this.Info.id,
|
|
|
+ headSculpture: this.Info.headSculpture,
|
|
|
+ deptName: this.Info.deptName,
|
|
|
+ });
|
|
|
+ console.log(this.recommendUrl);
|
|
|
uni.getImageInfo({
|
|
|
src: '../../static/image/my/logo.png',
|
|
|
success: image => {
|