From 3188cfe351b0ef692a81c246b0cde89fce99efad Mon Sep 17 00:00:00 2001
From: yuping <82253452@qq.com>
Date: Tue, 13 Dec 2022 13:16:30 +0800
Subject: [PATCH] init
---
src/views/liveBroadcast/LiveBroadcast.vue | 25 ++++++++++++-----------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/views/liveBroadcast/LiveBroadcast.vue b/src/views/liveBroadcast/LiveBroadcast.vue
index c6ca195..c72a916 100644
--- a/src/views/liveBroadcast/LiveBroadcast.vue
+++ b/src/views/liveBroadcast/LiveBroadcast.vue
@@ -41,7 +41,7 @@
观看
{
- request(TASK_BROADCAST_SIGN, { id }).then(() => {
- console.log(data.value);
- data.value.signFlag = 1;
- });
+ request(TASK_BROADCAST_SIGN, {id}).then(() => {
+ data.value.signFlag = 1
+ })
};
-const commitClick = (id) => {
- request(TASK_BROADCAST_COMMIT, { id }).then(() => {
- data.value.evalFlag = 1;
- });
+const commitClick = () => {
+ router.push({path: '/surveydetail', query: {courseId: data.value.assessmentId}})
};
-function showClick() {}
+function showClick() {
+ window.open(data.value.liveLink)
+}
+