From 8b38b01d19ec0e8f812fbfb3202eaae7e5d5d11e Mon Sep 17 00:00:00 2001
From: taoxu <2622874537@qq.com>
Date: Thu, 7 Dec 2023 15:09:29 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=B8=B2=E6=9F=93=20?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/http.interceptor.js | 2 +-
pages/Mystudent/Formteacher.vue | 2 +-
pages/Mystudent/addstu.vue | 207 +++++++++++
pages/Mystudent/formstu.vue | 371 +++++++++++++++++++
pages_teacher/teacher_class/class_detail.vue | 51 +--
5 files changed, 583 insertions(+), 50 deletions(-)
create mode 100644 pages/Mystudent/addstu.vue
create mode 100644 pages/Mystudent/formstu.vue
diff --git a/common/http.interceptor.js b/common/http.interceptor.js
index cbba2b2..930e143 100644
--- a/common/http.interceptor.js
+++ b/common/http.interceptor.js
@@ -42,7 +42,7 @@ const install = (Vue, vm) => {
// 所以哪怕您重新登录修改了Storage,下一次的请求将会是最新值
// const token = uni.getStorageSync('token');
- const token = " Bearer 8dc2aff0225547d7b9698f8e126a8b10"
+ const token = " Bearer d61c0fee9e404290b8e4ad7bd0167656"
// console.log("我是token", token)
config.header.Authorization = token;
diff --git a/pages/Mystudent/Formteacher.vue b/pages/Mystudent/Formteacher.vue
index fa4c70b..bc11c16 100644
--- a/pages/Mystudent/Formteacher.vue
+++ b/pages/Mystudent/Formteacher.vue
@@ -54,7 +54,7 @@ export default {
},
methods: {
getclassteacher(){
- this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/teacher/list?id=${this.classid}`).then(res => {
+ this.$u.get(`https://api.admin-v2.langsi.online/admin-api/classroom/teacher/list?classId=${this.classid}`).then(res => {
if (res.code == 0) {
diff --git a/pages/Mystudent/addstu.vue b/pages/Mystudent/addstu.vue
new file mode 100644
index 0000000..215860d
--- /dev/null
+++ b/pages/Mystudent/addstu.vue
@@ -0,0 +1,207 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 李斯丹妮
+
+
+ ID:3324
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/Mystudent/formstu.vue b/pages/Mystudent/formstu.vue
new file mode 100644
index 0000000..8a385f5
--- /dev/null
+++ b/pages/Mystudent/formstu.vue
@@ -0,0 +1,371 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + 添加学生
+
+
+
+
+
+
+
+
+
+
+
+ 李斯丹妮
+
+
+ ID:3324
+
+
+
+
+
+
+ 平均成绩/分
+
+
+ 6
+
+
+
+
+ 作业完成度
+
+
+ 80%
+
+
+
+
+
+
+
+
+
+
+
+
+ 李斯丹妮
+
+
+ ID:3324
+
+
+
+
+
+
+ 平均成绩/分
+
+
+ 6
+
+
+
+
+ 作业完成度
+
+
+ 80%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages_teacher/teacher_class/class_detail.vue b/pages_teacher/teacher_class/class_detail.vue
index ce5a412..b8409a8 100644
--- a/pages_teacher/teacher_class/class_detail.vue
+++ b/pages_teacher/teacher_class/class_detail.vue
@@ -92,52 +92,7 @@
return {
isShow: false,
- clas:[
- {
- title:'班级成员',
- image:[
- {
- url:'https://file.langsi.online/yasiimg/web/static/uXJ24nLEqmCb0FkFpmfy',
- },
- {
- url:'https://file.langsi.online/yasiimg/web/static/ufg5N01CbfezyG5wt48Q'
- },
- {
- url:'https://file.langsi.online/yasiimg/web/static/uXJ24nLEqmCb0FkFpmfy'
- },
- {
- url:'https://file.langsi.online/yasiimg/web/static/uy3xEPgyYPnRqPbpamya'
- },
- {
- url:'https://file.langsi.online/yasiimg/web/static/uY8idjLvCQSuYCzvus9A'
- },{
- url:'https://file.langsi.online/yasiimg/web/static/ucf2g8fGLqNtW7OpGNT6'
- },
- ]
- },
- {
- title:'带班老师',
- image:[
- {
- url:'https://file.langsi.online/yasiimg/web/static/uXJ24nLEqmCb0FkFpmfy',
- },
- {
- url:'https://file.langsi.online/yasiimg/web/static/ufg5N01CbfezyG5wt48Q'
- },
- {
- url:'https://file.langsi.online/yasiimg/web/static/uXJ24nLEqmCb0FkFpmfy'
- },
- {
- url:'https://file.langsi.online/yasiimg/web/static/uy3xEPgyYPnRqPbpamya'
- },
- {
- url:'https://file.langsi.online/yasiimg/web/static/uY8idjLvCQSuYCzvus9A'
- },{
- url:'https://file.langsi.online/yasiimg/web/static/ucf2g8fGLqNtW7OpGNT6'
- },
- ]
- }
- ],
+
operation:[
{
image:'https://file.langsi.online/yasiimg/web/static/ukPnTLkhCKU5zhbM7SMu',
@@ -188,7 +143,7 @@
},
toteacher(){
- uni.redirectTo({
+ uni.navigateTo({
url: "/pages/Mystudent/Formteacher?id=" + this.classinfo.id
}).then(res => {
@@ -199,7 +154,7 @@
},
tostu(){
- uni.redirectTo({
+ uni.navigateTo({
url: "/pages/Mystudent/formstu?id=" + this.classinfo.id
}).then(res => {