Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Q
qualityTesting_adminHome
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tobacco
qualityTesting_adminHome
Commits
e10fc11f
提交
e10fc11f
authored
4月 28, 2023
作者:
Yroc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
'后台问题优化'
上级
946c437d
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
37 行增加
和
53 行删除
+37
-53
EyeStabilityTable.vue
...components/AnalyseModule/components/EyeStabilityTable.vue
+6
-2
table.vue
src/components/AnalyseModule/components/table.vue
+0
-32
detail.vue
src/views/student/display_board/detail.vue
+19
-0
index.vue
src/views/student/examination_questions/comment/index.vue
+1
-1
index.vue
src/views/student/test_results/detail/index.vue
+11
-18
没有找到文件。
src/components/AnalyseModule/components/EyeStabilityTable.vue
浏览文件 @
e10fc11f
...
...
@@ -8,8 +8,12 @@
<
template
>
<div
class=
"container_box"
>
<el-row>
<el-col
:span=
"24"
>
<el-tag
v-for=
"(i, index) in area_data"
:key=
"index"
<el-col
:span=
"24"
style=
"height: 28px"
>
<el-tag
:title=
"`$
{'稳定' + '/' + '答题人次'}`"
style="margin-right: 15px"
v-for="(i, index) in area_data"
:key="index"
>
{{
index
}}
:
{{
i
}}
</el-tag
>
</el-col>
...
...
src/components/AnalyseModule/components/table.vue
浏览文件 @
e10fc11f
...
...
@@ -60,38 +60,6 @@
</el-popover>
</div>
<div
v-else-if=
"typeof item['distribute'] == 'object'"
>
<!--
<el-popover
placement=
"top-start"
title=
"答对名单:"
trigger=
"hover"
v-if=
"item.correct_student"
>
<span>
{{
item
.
correct_student
}}
</span>
<div
slot=
"reference"
v-for=
"(h, key, j) in item['distribute']"
:key=
"j"
>
{{
key
}}
(
{{
item
[
'distribute'
][
key
]
}}
题)
</div>
</el-popover>
<el-popover
placement=
"top-start"
title=
"答错名单:"
trigger=
"hover"
v-else-if=
"item.wrong_student"
>
<span>
{{
item
.
wrong_student
}}
</span>
<div
slot=
"reference"
v-for=
"(h, key, j) in item['distribute']"
:key=
"j"
>
{{
key
}}
(
{{
item
[
'distribute'
][
key
]
}}
题)
</div>
</el-popover>
-->
<div
v-for=
"(h, key, j) in item['distribute']"
:key=
"j"
>
{{
key
}}
(
{{
item
[
'distribute'
][
key
]
}}
题)
</div>
...
...
src/views/student/display_board/detail.vue
浏览文件 @
e10fc11f
...
...
@@ -521,12 +521,31 @@ export default {
conclusion_table
:
element
.
conclusion_table
,
});
});
// let area_data = {};
// for (let index in datas.tool_data.area) {
// area_data[index || '地域信息暂无'] =
// datas.tool_data.area[index].instability +
// '/' +
// datas.tool_data.area[index].all;
// }
// area_data['总稳定性比值'] =
// datas.tool_data.all.instability + '/' + datas.tool_data.all.all;
let
area_data
=
{};
for
(
let
index
in
datas
.
tool_data
.
area
)
{
area_data
[
index
||
'地域信息暂无'
]
=
datas
.
tool_data
.
area
[
index
].
instability
+
'/'
+
datas
.
tool_data
.
area
[
index
].
all
;
}
area_data
[
'总稳定性比值'
]
=
datas
.
tool_data
.
all
.
instability
+
'/'
+
datas
.
tool_data
.
all
.
all
;
return
{
type
:
'eye_stability_table'
,
chart_id
:
'eye_stability'
,
print_id
:
'eye_stability'
,
color
:
'#529B2E'
,
title
:
'眼光稳定性'
,
area_data
,
labers
,
list
,
};
...
...
src/views/student/examination_questions/comment/index.vue
浏览文件 @
e10fc11f
...
...
@@ -615,7 +615,7 @@ export default {
'/'
+
datas
.
tool_data
.
area
[
index
].
all
;
}
area_data
[
'总稳定比值'
]
=
area_data
[
'总稳定
性
比值'
]
=
datas
.
tool_data
.
all
.
instability
+
'/'
+
datas
.
tool_data
.
all
.
all
;
return
{
type
:
'eye_stability_table'
,
...
...
src/views/student/test_results/detail/index.vue
浏览文件 @
e10fc11f
...
...
@@ -3,7 +3,7 @@
* @Author: AnthonyD
* @Date: 2023-03-29 17:06:03
* @Last Modified by: AnthonyD
* @Last Modified time: 2023-04-2
1 17:13:47
* @Last Modified time: 2023-04-2
8 17:14:22
*/
</
script
>
<
template
>
...
...
@@ -423,23 +423,6 @@ export default {
{
label
:
'稳定性'
,
key
:
'stability'
},
];
//处理稳定性数据
// const changeStability = (items) => {
// let all_num = items.exactness.length + items.wrong.length;
// let Accuracy = toPercent(items.exactness.length, all_num); //准确率
// return {
// accuracy: { label: '正确率', value: Accuracy },
// // exactness: { label: '正确数据', value: items.exactness },
// wrong: { label: '错误数据', value: items.wrong },
// };
// };
// datas.data.forEach((element, index) => {
// list.push({
// title: datas.title[index],
// answer: element.answer,
// stability: changeStability(element),
// });
// });
//处理稳定性数据
datas
.
data
.
forEach
((
element
,
index
)
=>
{
// console.log(element);
let
answer_data
=
element
.
conclusion_data
;
...
...
@@ -461,11 +444,21 @@ export default {
conclusion_data
:
answer_data
,
});
});
let
area_data
=
{};
for
(
let
index
in
datas
.
tool_data
.
area
)
{
area_data
[
index
||
'地域信息暂无'
]
=
datas
.
tool_data
.
area
[
index
].
instability
+
'/'
+
datas
.
tool_data
.
area
[
index
].
all
;
}
area_data
[
'总稳定性比值'
]
=
datas
.
tool_data
.
all
.
instability
+
'/'
+
datas
.
tool_data
.
all
.
all
;
return
{
type
:
'eye_stability_table'
,
chart_id
:
'eye_stability'
,
color
:
'#E6A23C'
,
title
:
'眼光稳定性'
,
area_data
,
labers
,
list
,
};
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论