代码修改

This commit is contained in:
taoxu 2023-12-19 18:10:58 +08:00
parent e71150d648
commit 6a37245622
4 changed files with 5 additions and 3 deletions

View File

@ -158,6 +158,7 @@
if (res.code == 0) {
this.stulist=res.data
console.log(this.stulist,'this.stulistthis.stulist');
this.orgstulist = JSON.parse(JSON.stringify(res.data));
this.selectedIds.forEach(selectedItem => {
const index = this.stulist.findIndex(item => item.teacherId === selectedItem.id);

View File

@ -162,7 +162,7 @@
},
getworklist() {
this.$u.get(`/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => {
this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => {
if (res.code == 0) {

View File

@ -332,6 +332,7 @@
<view class="caption_add" @click="addclass()">添加</view>
</view>
</u-popup>
<u-toast ref="uToast" />
</view>
</template>

View File

@ -169,7 +169,7 @@
});
},
getclassinfo() {
this.$u.get(`/admin-api/classroom/detail?id=${this.classid}`).then(res => {
this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/detail?id=${this.classid}`).then(res => {
if (res.code == 0) {
@ -183,7 +183,7 @@
})
},
getworkinfo() {
this.$u.get(`/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => {
this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/work-record/list?classId=${this.classid}`).then(res => {
if (res.code == 0) {