|
|
|
@ -27,11 +27,10 @@ Scene({ |
|
|
|
if(!util.isEmpty(options.type)){ |
|
|
|
this.data.type = Number(options.type) |
|
|
|
} |
|
|
|
this.showQrCode(`${qrUrl}?mark=ztb_saas&type=${this.data.type}&factoryId=${app.userInfo.factoryId}&customerId=${this.data.id}`) |
|
|
|
if(this.data.type == 0){ |
|
|
|
this.showQrCode(`${qrUrl}?mark=ztb_saas&type=${this.data.type}&factoryId=${app.userInfo.factoryId}&customerId=${this.data.id}`) |
|
|
|
this.fetchCustomerInfo() |
|
|
|
} else if(this.data.type == 1){ |
|
|
|
this.showQrCode(`${qrUrl}?mark=ztb_saas&type=${this.data.type}&factoryId=${app.userInfo.factoryId}&customerId=${this.data.id}`) |
|
|
|
let channel = this.getOpenerEventChannel() |
|
|
|
let that = this |
|
|
|
channel.once('onParam', function (data) { |
|
|
|
|