|
|
|
|
@ -45,6 +45,7 @@ export default {
|
|
|
|
|
canvasHeight: 0,
|
|
|
|
|
_name:'',
|
|
|
|
|
_job:'',
|
|
|
|
|
_oid:'',
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
props: {
|
|
|
|
|
@ -74,6 +75,9 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
job:{
|
|
|
|
|
default:'',
|
|
|
|
|
},
|
|
|
|
|
oid:{
|
|
|
|
|
default:'',
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
@ -110,20 +114,28 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
job(val){
|
|
|
|
|
this._job = val;
|
|
|
|
|
},
|
|
|
|
|
oid(val){
|
|
|
|
|
this._oid = val;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
init() {
|
|
|
|
|
let that = this;
|
|
|
|
|
let that = this;
|
|
|
|
|
that._name = that.name;
|
|
|
|
|
that._job = that.job;
|
|
|
|
|
that._oid = that.oid;
|
|
|
|
|
that.appInfo = that.recommendList;
|
|
|
|
|
console.log("that.appInfo", that.appInfo);
|
|
|
|
|
let _env = uni.getAccountInfoSync().miniProgram.envVersion;
|
|
|
|
|
if(!that._oid || that._oid == 0){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
that.G.Get(
|
|
|
|
|
that.api.bind_getCode,
|
|
|
|
|
that.api.bind_getOrderCode,
|
|
|
|
|
{
|
|
|
|
|
env: _env,
|
|
|
|
|
orderId:that._oid,
|
|
|
|
|
},
|
|
|
|
|
(res) => {
|
|
|
|
|
console.log("获取邀请码:", res);
|
|
|
|
|
|