Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Q
qualityTesting_adminHome
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tobacco
qualityTesting_adminHome
Commits
7421b204
提交
7421b204
authored
3月 28, 2023
作者:
wangjialong209
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
数据统计优化修改
上级
0b211777
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
5 行删除
+15
-5
SimpleTable.vue
src/components/AnalyseModule/components/SimpleTable.vue
+13
-3
detail.vue
src/views/student/display_board/detail.vue
+1
-1
index.vue
src/views/student/examination_questions/comment/index.vue
+1
-1
没有找到文件。
src/components/AnalyseModule/components/SimpleTable.vue
浏览文件 @
7421b204
...
...
@@ -13,7 +13,7 @@
</tr>
-->
<tr
v-for=
"(item, index) in table_data.labers"
:key=
"index"
>
<th>
{{
item
.
label
}}
</th>
<th>
{{
table_data
.
data
[
item
.
key
]
}}
</th>
<th>
{{
keepTwoDecimal
(
table_data
.
data
[
item
.
key
])
}}
</th>
<th></th>
</tr>
</table>
...
...
@@ -35,9 +35,19 @@ export default {
},
mounted
()
{
},
methods
:
{}
methods
:
{
//保留两位,四舍五入
keepTwoDecimal
(
num
)
{
var
result
=
parseFloat
(
num
);
if
(
isNaN
(
result
))
{
return
false
;
}
else
{
result
=
Math
.
round
(
num
*
100
)
/
100
;
return
result
;
}
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.container_box
{
...
...
src/views/student/display_board/detail.vue
浏览文件 @
7421b204
...
...
@@ -203,7 +203,7 @@ export default {
console
.
log
(
'获取试题详情'
);
console
.
log
(
res
);
this
.
found_remark
=
res
.
found_remark
||
''
;
this
.
head_data
.
title
=
res
.
review_content
.
EyeStability
.
title
;
//标题
this
.
head_data
.
title
=
res
.
review_content
.
title_list
;
//标题
this
.
is_loading
=
false
;
this
.
review_conditions
=
res
.
review_conditions
;
//审阅条件
if
(
res
.
review_content
)
{
...
...
src/views/student/examination_questions/comment/index.vue
浏览文件 @
7421b204
...
...
@@ -278,7 +278,7 @@ export default {
console
.
log
(
'统计数据'
);
console
.
log
(
res
);
this
.
is_loading
=
false
;
this
.
head_data
.
title
=
res
.
EyeStability
.
title
;
//标题
this
.
head_data
.
title
=
res
.
title_list
;
//标题
this
.
result_section
=
this
.
changeScore
(
res
.
ScoreScore
);
//成绩分段
this
.
area_score
=
this
.
changeAreaScore
(
res
.
AreaScore
);
//南北方得分
this
.
province_score
=
this
.
changeProvinceScore
(
res
.
ProvinceScore
);
//省区得分
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论