Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-dml
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-dml
Commits
54a2d56a
提交
54a2d56a
authored
11月 28, 2025
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
1cc0254a
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
31 行增加
和
5 行删除
+31
-5
RecordDialog.vue
src/modules/live/test/components/RecordDialog.vue
+1
-1
RecordView.vue
src/modules/live/test/components/RecordView.vue
+1
-1
CompetitionLive3.vue
src/modules/score/components/CompetitionLive3.vue
+0
-0
View.vue
src/modules/score/views/View.vue
+29
-3
没有找到文件。
src/modules/live/test/components/RecordDialog.vue
浏览文件 @
54a2d56a
...
...
@@ -130,7 +130,7 @@ useIntervalFn(() => {
</el-button>
</
template
>
<br
/>
<ImprovementPlan
:id=
"row.id"
:content=
"row.improvement_plan"
v-if=
"
row.id
"
/>
<ImprovementPlan
:id=
"row.id"
:content=
"row.improvement_plan"
v-if=
"
false
"
/>
<
template
v-if=
"row.upload_way == '2'"
>
<br
/>
<el-button
...
...
src/modules/live/test/components/RecordView.vue
浏览文件 @
54a2d56a
...
...
@@ -949,7 +949,7 @@ function formatDuration(seconds) {
<div
v-if=
"isView"
>
<p>
操作
</p>
<el-button
type=
"primary"
link
@
click=
"dialogVisible = true"
>
查看直播回放
</el-button>
<ImprovementPlan
:id=
"recordId"
:content=
"detail.improvement_plan"
v-if=
"
recordId
"
/>
<ImprovementPlan
:id=
"recordId"
:content=
"detail.improvement_plan"
v-if=
"
false
"
/>
</div>
</div>
</div>
...
...
src/modules/score/components/CompetitionLive3.vue
0 → 100644
浏览文件 @
54a2d56a
差异被折叠。
点击展开。
src/modules/score/views/View.vue
浏览文件 @
54a2d56a
...
...
@@ -10,6 +10,7 @@ const userStore = useUserStore()
const
CompetitionLive
=
defineAsyncComponent
(()
=>
import
(
'../components/CompetitionLive.vue'
))
const
CompetitionLiveProd
=
defineAsyncComponent
(()
=>
import
(
'../components/CompetitionLiveProd.vue'
))
const
CompetitionLive3
=
defineAsyncComponent
(()
=>
import
(
'../components/CompetitionLive3.vue'
))
const
CompetitionOperations
=
defineAsyncComponent
(()
=>
import
(
'../components/CompetitionOperations.vue'
))
const
route
=
useRoute
()
const
id
=
route
.
query
.
id
...
...
@@ -24,6 +25,17 @@ const totalScore = computed(() => {
return
Object
.
values
(
scoreDetails
).
reduce
((
acc
,
curr
)
=>
acc
+
(
curr
.
score
||
0
),
0
)
})
// 比赛规则
const
competitionRule
=
computed
(()
=>
{
const
competition_rule
=
detail
.
value
?.
competition_rule
||
{}
if
(
competition_rule
.
config
)
{
const
config
=
JSON
.
parse
(
competition_rule
.
config
)
return
{
...
competition_rule
,
...
config
}
}
else
{
return
competition_rule
}
})
// 所有评分人的评分列表
let
scores
=
[]
const
fetchDetail
=
async
()
=>
{
...
...
@@ -137,15 +149,29 @@ onBeforeUnmount(() => {
</div>
</div>
<el-divider
/>
<template
v-if=
"detail.competition_rule?.competition == 1"
>
<!-- 网络主播赛项 -->
<template
v-if=
"competitionRule.competition == 1"
>
<!-- “悦颜坊”美妆护肤案例 -->
<CompetitionLive
:detail=
"detail"
@
save=
"handleSave"
v-model:scoreDetails=
"scoreDetails"
v-if=
"detail.competition_rule?.questions == 1"
/>
v-if=
"competitionRule.questions == 1"
/>
<!-- 襄阳牛肉面2桶装(有牛肉) -->
<CompetitionLiveProd
:detail=
"detail"
@
save=
"handleSave"
v-model:scoreDetails=
"scoreDetails"
v-else
/>
</
template
>
<CompetitionOperations
:detail=
"detail"
@
save=
"handleSave"
v-model:scoreDetails=
"scoreDetails"
v-else
/>
<!-- 全媒体运营赛项 -->
<CompetitionOperations
:detail=
"detail"
@
save=
"handleSave"
v-model:scoreDetails=
"scoreDetails"
v-else-if=
"competitionRule.competition == 2"
/>
<!-- 互联网营销师(直播销售) -->
<CompetitionLive3
:detail=
"detail"
@
save=
"handleSave"
v-model:scoreDetails=
"scoreDetails"
v-else-if=
"competitionRule.competition == 3"
/>
</AppCard>
</template>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论