From 244011e3e4efd10a793c38ab66329c3a5e9dde4a Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 9 Nov 2020 09:21:54 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=90=8E=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/index.ts b/src/api/index.ts index 066afa1..a0bbfd4 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -33,6 +33,9 @@ export async function loginpass(phone: string, password: string,type?: number,sm store.commit("login", true); store.dispatch("setUserInfo"); router.push("/mine/archives") + setTimeout(()=>{ + location.reload(); + }, 1000) } } } @@ -636,9 +639,9 @@ export async function editsystemsetting(e?: any): Promise { const res = await put(`member/${store.state.userinfo.memberid}`,newdata); console.log(res) if(res.code == 0){ - location.reload(); message.success("修改成功") store.dispatch("setUserInfo"); + location.reload(); return true; }else{ message.error(res.msg); From 7e576ce0299a86b304cc53eb1fa9ede899ead6fd Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 9 Nov 2020 11:31:13 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B9=8B=E5=90=8E?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index a0bbfd4..fcace2d 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -795,6 +795,7 @@ interface LiveInfo { deleted_at: null; created_at: string; updated_at: string; + livestatus: number; } interface StudentList { @@ -946,12 +947,14 @@ export async function liveinfo(id: number): Promise{ dateline: liveinfo.dateline, livetime: liveinfo.livetime, livenumber: liveinfo.livenumber, - desc: liveinfo.desc + desc: liveinfo.desc, + status: liveinfo.status } } export async function setlive(data: any){ - data.status = data.livestatus; + // data.status = data.livestatus; + console.log(data) const info = await put("live/" + data.id, data) console.log(info.data) if(info.code==0){ From b683a58354dd74850e31c285f498118d8e017fe8 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 9 Nov 2020 14:46:55 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E6=BB=91=E5=8A=A8=E5=88=B0=E6=9C=80?= =?UTF-8?q?=E5=BA=95=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/regime/Liveing.vue | 55 +++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 20 deletions(-) diff --git a/src/views/regime/Liveing.vue b/src/views/regime/Liveing.vue index 4df75b3..fe33cb2 100644 --- a/src/views/regime/Liveing.vue +++ b/src/views/regime/Liveing.vue @@ -13,27 +13,19 @@
-
- 13:32:30 - Andy : - 老师,这个部分可以讲的慢一些吗? -
-
- 13:32:30 - Andy : - 老师,这个部分可以讲的慢一些吗? -
-
- 13:32:30 - Andy : - 老师,这个部分可以讲的慢一些吗? -
+
+ {{item.time}} + {{item.name}} : + {{item.text}} +
+
-
+
{{item.name}}
+
{{lan.$t('zhuangtai')}} - {{lan.$t('shenheweitongguo')}} + {{lan.$t('shenheweitongguo')}}
-
- {{lan.$t('yuanyin')}} - {{lan.$t('yuanyintext')}} -
+
+ {{lan.$t('yuanyin')}} + {{lan.$t('yuanyintext')}} +
+
{{lan.$t('xiugaishipin')}}
From fe3e92989899ec33c9b1153c0ca55e182895ad4c Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 9 Nov 2020 17:29:09 +0800 Subject: [PATCH 08/10] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E5=AD=A6=E7=94=9F=E4=B8=80=E7=9B=B4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/regime/SignupStu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/regime/SignupStu.vue b/src/views/regime/SignupStu.vue index fd729f4..49a982e 100644 --- a/src/views/regime/SignupStu.vue +++ b/src/views/regime/SignupStu.vue @@ -49,7 +49,7 @@
-