Commit 4a6e42ad authored by wangxuelai's avatar wangxuelai

'点名页面我也要布置作业跳转页面修改'

parent 3f709be6
......@@ -1212,7 +1212,6 @@ Page({
id: this.data.circleInfo.id,
title: this.data.circleInfo.title
}])
console.log(classes, 'classes');
url = `/business/pages/themeeditor/index?tid=0&sid=${this.data.sid}&classes=${encodeURIComponent(classes)}&editType=${createtype}`;
wx.navigateTo({
url: `${url}`
......
......@@ -110,27 +110,48 @@ Page({
})
},
createRiliTheme() {
const classes = JSON.stringify([{
id: this.data.schedulesDetail.class_id,
title: this.data.schedulesDetail.class.title
}])
url = `/business/pages/themeeditor/index?tid=0&sid=${this.data.sid}&classes=${encodeURIComponent(classes)}&editType=2`;
wx.navigateTo({
url: `/business/pages/calendarthemeeditor/index?id=${this.data.schedulesDetail.class_id}&tid=0&sid=${this.data.sid}`
})
url: `${url}`
});
this.setData({
modalshow: false,
modelHideClass: false
})
},
createNormalTheme() {
// wx.navigateTo({
// url: `/business/pages/themeeditor/index?id=${this.data.schedulesDetail.class_id}&tid=0&sid=${this.data.sid}`
// })
const classes = JSON.stringify([{
id: this.data.schedulesDetail.class_id,
title: this.data.schedulesDetail.class.title
}])
url = `/business/pages/themeeditor/index?tid=0&sid=${this.data.sid}&classes=${encodeURIComponent(classes)}&editType=1`;
wx.navigateTo({
url: `/business/pages/themeeditor/index?id=${this.data.schedulesDetail.class_id}&tid=0&sid=${this.data.sid}`
})
url: `${url}`
});
this.setData({
modalshow: false,
modelHideClass: false
})
},
createUnlockTheme() {
// wx.navigateTo({
// url: `/business/pages/themeeditorlock/index?id=${this.data.schedulesDetail.class_id}&tid=0&sid=${this.data.sid}`
// })
const classes = JSON.stringify([{
id: this.data.schedulesDetail.class_id,
title: this.data.schedulesDetail.class.title
}])
url = `/business/pages/themeeditor/index?tid=0&sid=${this.data.sid}&classes=${encodeURIComponent(classes)}&editType=3`;
wx.navigateTo({
url: `/business/pages/themeeditorlock/index?id=${this.data.schedulesDetail.class_id}&tid=0&sid=${this.data.sid}`
})
url: `${url}`
});
this.setData({
modalshow: false,
modelHideClass: false
......
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