diff --git a/src/api/index.ts b/src/api/index.ts index 72b134e..70b6482 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -611,6 +611,7 @@ export async function editsystemsetting(e?: any): Promise { console.log(res) if(res.code == 0){ message.success("修改成功") + store.dispatch("setUserInfo"); return true; }else{ message.error(res.msg); @@ -621,7 +622,10 @@ export async function editsystemsetting(e?: any): Promise { /** * 货币列表 */ - +export async function getcurrencys(){ + const res=await get("currencys") + return res.data +} /** * 发送验证码 @@ -765,6 +769,13 @@ export async function getliveinfo(id: number){ return {...liveinfo,studentlist} } +/** + * 参与直播的学生列表 + */ +export async function getstudentlist(data?: any) { + const studentlist = (await get("studentLive",data)).data; + return studentlist +} /** * 直播日历 diff --git a/src/components/LiveCount.vue b/src/components/LiveCount.vue index 075dcb2..375661e 100644 --- a/src/components/LiveCount.vue +++ b/src/components/LiveCount.vue @@ -2,14 +2,14 @@
上课学生
-
查看详情
+
查看详情
-
{{ i.name }}
+
{{ i.name }} {{zid}}
{{ i.interest }}
@@ -236,12 +236,14 @@ \ No newline at end of file diff --git a/src/views/regime/VideoInfo.vue b/src/views/regime/VideoInfo.vue index c7b6ca4..92ba954 100644 --- a/src/views/regime/VideoInfo.vue +++ b/src/views/regime/VideoInfo.vue @@ -2,7 +2,7 @@
- +