Commit ee50880d authored by wangxuelai's avatar wangxuelai

''

parent 4efb2ced
......@@ -2213,7 +2213,7 @@ Page({
title: '日签生成中...'
})
generateCustomerQrcode({
scene: `c=${clockDetail.id}&t=${this.data.tid}`,
scene: `c=${clockDetail.id}&t=${this.data.tid}&w=${app.globalData.currentSchoolStudentId}`,
page: `src/pages/clockdetail/newindex`
// scene: `ctd=${visitor && visitor.id}&t=${this.data.tid}`,
// page: `src/pages/beforeinvitation/index`
......@@ -2637,7 +2637,7 @@ Page({
generateCustomerQrcode({
// scene: `i=${this.data.id}&t=${this.data.tid}&p=7`,
// page: `src/pages/themeindex/index`
scene: `ctd=${visitor && visitor.id}&t=${this.data.tid}`,
scene: `ctd=${visitor && visitor.id}&t=${this.data.tid}&w=${app.globalData.currentSchoolStudentId}`,
page: `src/pages/beforeinvitation/index`
}).then((res) => {
const {
......@@ -2869,7 +2869,7 @@ Page({
type: 2,
subject_id: this.data.tid,
page: 'src/pages/calendarthemeindex/index',
scene: `i=${this.data.id}&t=${this.data.tid}`
scene: `i=${this.data.id}&t=${this.data.tid}&w=${app.globalData.currentSchoolStudentId}`
}).then((res) => {
wx.hideLoading();
if (res.code == 200) {
......
......@@ -59,7 +59,7 @@ Page({
source_id: this.data.clockId,
source_type: 1,
}).then(() => {
this.initPost(`t=${tid}&c=${clockId}`, 'src/pages/clockdetail/newindex', clockId,tid);
this.initPost(`t=${tid}&c=${clockId}&w=${app.globalData.currentSchoolStudentId}`, 'src/pages/clockdetail/newindex', clockId,tid);
this.clockDetail()
})
// this.initPost(`t=${tid}&c=${clockId}`, page, clockId,tid);
......
......@@ -250,9 +250,9 @@ Page({
},
generateCustomerQrcode () {
const visitor = LocalStorage.getItem('visitor');
let scene = `ctd=${visitor && visitor.id}&t=${this.data.tid}`;
let scene = `ctd=${visitor && visitor.id}&t=${this.data.tid}&w=${app.globalData.currentSchoolStudentId}`;
if(this.data.pagefrom=="morethemeindex"){
scene = `ctd=${visitor && visitor.id}&t=${this.data.tid}&p=1`;
scene = `ctd=${visitor && visitor.id}&t=${this.data.tid}&p=1&w=${app.globalData.currentSchoolStudentId}`;
}
generateCustomerQrcode({
scene: scene,
......
......@@ -2342,7 +2342,7 @@ Page({
title: '日签生成中...'
})
generateCustomerQrcode({
scene: `i=${this.data.id}&t=${this.data.tid}`,
scene: `i=${this.data.id}&t=${this.data.tid}&w=${app.globalData.currentSchoolStudentId}`,
page: `src/pages/themeindex/index`
}).then((res) => {
const {
......
......@@ -254,8 +254,8 @@ Page({
title: '结课证书生成中...'
})
generateCustomerQrcode({
scene: `i=${certificateInfo.subject.class_id}&t=${certificateInfo.subject.id}`,
page: `src/pages/themeindex/index`
scene: `i=${certificateInfo.subject.class_id}&t=${certificateInfo.subject.id}&w=${app.globalData.currentSchoolStudentId}`,
page: `src/pages/calendarthemeindex/index`
}).then((res) => {
const {
code,
......@@ -289,7 +289,7 @@ Page({
},
{ // 头像
type: 'image',
url: certificateInfo.avatar,
url: imagify(certificateInfo.avatar),
top: 274,
left: 313,
width: 124,
......
......@@ -261,7 +261,7 @@ Page({
},
generateCustomerQrcode () {
let scene = `s=${this.data.sid}&c=${this.data.id}&r=${this.data.rid}&t=${this.data.type}`;
let scene = `s=${this.data.sid}&c=${this.data.id}&r=${this.data.rid}&t=${this.data.type}&w=${app.globalData.currentSchoolStudentId}`;
generateCustomerQrcode({
scene: scene,
page: `${this.data.sharePage}`
......
......@@ -839,7 +839,7 @@ Page({
mask: true,
})
generateCustomerQrcode({
scene: `i=${this.data.id}&t=${this.data.tid}&p=7`,
scene: `i=${this.data.id}&t=${this.data.tid}&p=7&w=${app.globalData.currentSchoolStudentId}`,
page: `src/pages/themeindex/index`
}).then((res) => {
const {
......
......@@ -1511,7 +1511,7 @@ Page({
title: '日签生成中...'
})
generateCustomerQrcode({
scene: `c=${clockDetail.id}&t=${this.data.tid}`,
scene: `c=${clockDetail.id}&t=${this.data.tid}&w=${app.globalData.currentSchoolStudentId}`,
page: `src/pages/clockdetail/newindex`
}).then((res) => {
const {
......@@ -2447,7 +2447,7 @@ Page({
title: '日签生成中...'
})
generateCustomerQrcode({
scene: `i=${this.data.id}&t=${this.data.tid}`,
scene: `i=${this.data.id}&t=${this.data.tid}&w=${app.globalData.currentSchoolStudentId}`,
page: `src/pages/themeindex/index`
}).then((res) => {
const {
......
......@@ -231,7 +231,7 @@ Page({
title: '加载中...'
})
generateCustomerQrcode({
scene: `c=${this.data.cid}&t=${this.data.tid}`,
scene: `c=${this.data.cid}&t=${this.data.tid}&w=${app.globalData.currentSchoolStudentId}`,
page: `src/pages/clockdetail/newindex`
}).then((res) => {
const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment