Commit 1de4a479 authored by wangxuelai's avatar wangxuelai

'老师'

parent eca9539b
......@@ -202,27 +202,36 @@ Page({
})
},
// 发布打卡
addTheme(e){
addTheme(e) {
const { createtype, btnname } = e.currentTarget.dataset;
let url = '';
switch (Number(createtype)){
case 1:
url = `/business/pages/themeeditor/index?id=0&tid=0&sid=${this.data.sid}&my=${this.data.my}`;
break;
case 2:
url = `/business/pages/calendarthemeeditor/index?id=0&tid=0&sid=${this.data.sid}&my=${this.data.my}`;
break;
case 3:
url = `/business/pages/themeeditorlock/index?id=0&tid=0&sid=${this.data.sid}&my=${this.data.my}`;
break;
default:
break;
}
let url = "";
url = `/business/pages/themeeditor/index?tid=0&sid=${this.data.sid}&classes=[]&editType=${createtype}`;
wx.navigateTo({
url: `${url}`
})
});
this.log(btnname)
},
// addTheme(e){
// const { createtype, btnname } = e.currentTarget.dataset;
// let url = '';
// switch (Number(createtype)){
// case 1:
// url = `/business/pages/themeeditor/index?id=0&tid=0&sid=${this.data.sid}&my=${this.data.my}`;
// break;
// case 2:
// url = `/business/pages/calendarthemeeditor/index?id=0&tid=0&sid=${this.data.sid}&my=${this.data.my}`;
// break;
// case 3:
// url = `/business/pages/themeeditorlock/index?id=0&tid=0&sid=${this.data.sid}&my=${this.data.my}`;
// break;
// default:
// break;
// }
// wx.navigateTo({
// url: `${url}`
// })
// this.log(btnname)
// },
gotodotasks(){
wx.navigateTo({
url: `/business/pages/todotasks/index?sid=${this.data.sid}&my=${this.data.my}`
......
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