Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-dml
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-dml
Commits
79368625
提交
79368625
authored
12月 10, 2025
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改评分模块
上级
3446b30a
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
33 行增加
和
1 行删除
+33
-1
CompetitionLive3.vue
src/modules/score/components/CompetitionLive3.vue
+33
-1
没有找到文件。
src/modules/score/components/CompetitionLive3.vue
浏览文件 @
79368625
...
@@ -12,6 +12,9 @@ import {
...
@@ -12,6 +12,9 @@ import {
import
ScoreCard
from
'./ScoreCard.vue'
import
ScoreCard
from
'./ScoreCard.vue'
import
ScoreCardLive
from
'./ScoreCardLive.vue'
import
ScoreCardLive
from
'./ScoreCardLive.vue'
import
Preview
from
'@/components/Preview.vue'
import
Preview
from
'@/components/Preview.vue'
import
{
useUserStore
}
from
'@/stores/user'
const
userStore
=
useUserStore
()
const
statusList
=
useMapStore
().
getMapValuesByKey
(
'system_status'
)
const
statusList
=
useMapStore
().
getMapValuesByKey
(
'system_status'
)
...
@@ -210,10 +213,33 @@ const activeTab = ref(1)
...
@@ -210,10 +213,33 @@ const activeTab = ref(1)
const
handleNext
=
()
=>
{
const
handleNext
=
()
=>
{
activeTab
.
value
++
activeTab
.
value
++
}
}
const
isScoreTeacher
=
computed
(()
=>
{
return
[
'15310038381'
,
'15310038382'
,
'15310038383'
,
'15310038384'
,
'15310038385'
,
'15310038386'
].
includes
(
userStore
.
user
.
mobile
)
})
watchEffect
(()
=>
{
if
(
isScoreTeacher
.
value
)
{
activeTab
.
value
=
scoreRules
.
value
.
length
-
1
}
})
const
disableTabPanel
=
(
type
)
=>
{
if
(
type
==
5
||
type
==
6
)
return
false
return
isScoreTeacher
.
value
}
</
script
>
</
script
>
<
template
>
<
template
>
<el-tabs
stretch
v-model=
"activeTab"
class=
"score-tabs"
>
<el-tabs
stretch
v-model=
"activeTab"
class=
"score-tabs"
>
<el-tab-pane
v-for=
"(item, index) in scoreRules"
:key=
"index"
:label=
"item.name"
:name=
"index + 1"
lazy
>
<el-tab-pane
v-for=
"(item, index) in scoreRules"
:key=
"index"
:label=
"item.name"
:name=
"index + 1"
lazy
:disabled=
"disableTabPanel(item.type)"
>
<!-- 商品品类管理 -->
<!-- 商品品类管理 -->
<template
v-if=
"item.type == 1"
>
<template
v-if=
"item.type == 1"
>
<ScoreCard
<ScoreCard
...
@@ -368,17 +394,21 @@ const handleNext = () => {
...
@@ -368,17 +394,21 @@ const handleNext = () => {
width
:
1000px
;
width
:
1000px
;
margin
:
0
auto
20px
;
margin
:
0
auto
20px
;
}
}
:deep
(
.el-tabs__nav-wrap
::after
)
{
:deep
(
.el-tabs__nav-wrap
::after
)
{
display
:
none
;
display
:
none
;
}
}
}
}
.score-header
{
.score-header
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.el-form
{
.el-form
{
flex
:
1
;
flex
:
1
;
}
}
}
}
.score-box
{
.score-box
{
width
:
100px
;
width
:
100px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
...
@@ -390,11 +420,13 @@ const handleNext = () => {
...
@@ -390,11 +420,13 @@ const handleNext = () => {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.table-expand-box
{
.table-expand-box
{
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
padding
:
20px
;
padding
:
20px
;
border-radius
:
10px
;
border-radius
:
10px
;
}
}
.form-box
{
.form-box
{
width
:
100%
;
width
:
100%
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论