This commit is contained in:
@fawn-nine
2024-07-31 16:43:52 +08:00
parent 4b61167932
commit 634a0848b9
10 changed files with 2343 additions and 957 deletions

View File

@@ -172,21 +172,7 @@
},
surl(imageurl) {
return `url(${imageurl})`
},
goCreateClass(){
console.log('this.addType',this.addType);
if(this.addType != undefined){
uni.navigateTo({
url:`/pages/miniClass/addClass?type=${this.addType}&name=add`
})
}else{
uni.showToast({
title:'请选择班级的类型',
icon:'none'
})
return
}
},
},
fatherClick(e) {
console.log('点击', e)
this.page = 1
@@ -201,12 +187,7 @@
this.page = 1
this.getData(this.subTabId);
},
getData(id) {
// if (!this.flag) {
// console.log('正在执行,未完成')
// return
// }
getData(id) {
this.status = 1
this.flag = false
uni.showLoading({
@@ -218,6 +199,7 @@
data: {
"state": this.subTabId, //小班状态0待开班1已开班2完成
"type": this.curTagId // 班类型 0小班 1联合班 2精英班
},
header: { //默认 无 说明:请求头
'Content-Type': 'application/json'