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 @@ + + + + + \ 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 @@ + + + + + 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 => {