Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Q
qualityTesting_studentHome
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tobacco
qualityTesting_studentHome
Commits
90103255
提交
90103255
authored
3月 22, 2023
作者:
zfl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提示框修改,快速筛选题目
上级
e4c862ac
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
50 行增加
和
21 行删除
+50
-21
index.vue
src/views/upload-result/index.vue
+50
-21
没有找到文件。
src/views/upload-result/index.vue
浏览文件 @
90103255
...
@@ -61,6 +61,9 @@
...
@@ -61,6 +61,9 @@
}}
}}
</div>
</div>
<div
class=
"right_data"
>
<div
class=
"right_data"
>
<el-button
type=
"text"
style=
"color: #303133; width: 70px"
@
click=
"s_item=(e + (i - 1) * 5 - 1);dialogVisible=true"
>
{{
test_result_sub_data
[
e
+
(
i
-
1
)
*
5
-
1
].
value
}}
</el-button>
<!--
<el-input
<!--
<el-input
v-if=
"test_result_sub_data[e + (i - 1) * 5 - 1]"
v-if=
"test_result_sub_data[e + (i - 1) * 5 - 1]"
v-model=
"
v-model=
"
...
@@ -70,34 +73,30 @@
...
@@ -70,34 +73,30 @@
class=
"input_box"
class=
"input_box"
>
>
</el-input>
-->
</el-input>
-->
<el-popover
<
!--
<
el-popover
style=
"display: block; width: 100%; height: 100%"
style=
"display: block; width: 100%; height: 100%"
v-if=
"test_result_sub_data[e + (i - 1) * 5 - 1]"
v-if=
"test_result_sub_data[e + (i - 1) * 5 - 1]"
placement=
"bottom"
placement=
"bottom"
width=
"300"
width=
"370"
height=
"400"
v-model=
"
v-model=
"
test_result_sub_data[e + (i - 1) * 5 - 1].visible
test_result_sub_data[e + (i - 1) * 5 - 1].visible
"
"
trigger=
"click"
trigger=
"click"
>
>
<div>
<div
style=
"overflow-y: scroll;max-height: 400px;"
>
<el-row>
<el-row
>
<el-radio-group
<el-col
:span=
"8"
v-for=
"(tobacco_grades_data_f, tobacco_grades_data_index) in tobacco_grades_data"
v-model=
"
:key=
"'t'+(e + (i - 1) * 5 - 1)+tobacco_grades_data_index"
style=
"height:119px;border-bottom: 1px solid #e6ebf5; padding:8px 0px"
>
test_result_sub_data[e + (i - 1) * 5 - 1]
.value
<div
style=
"padding:2px 0px"
><el-tag>
组别:
{{
tobacco_grades_data_f
.
name
}}
</el-tag></div>
"
<el-radio-group
size=
"mini"
@
change=
"test_result_sub_data[e + (i - 1) * 5 - 1].visible=false"
v-model=
"test_result_sub_data[e + (i - 1) * 5 - 1].value"
>
>
<el-radio-button
<el-col
v-for=
"(grade_code_i, grade_code_index) in tobacco_grades_data_f.value"
:span=
"6"
:key=
"'s'+tobacco_grades_data_index+(e + (i - 1) * 5 - 1)+grade_code_index"
v-for=
"(i, index) in tobacco_grades_data"
:label=
"grade_code_i.grade_code"
>
{{
grade_code_i
.
grade_code
}}
</el-radio-button>
:key=
"index"
>
<el-radio
:label=
"i.grade_code"
>
{{
i
.
grade_code
}}
</el-radio>
</el-col>
</el-radio-group>
</el-radio-group>
</el-col>
</el-row>
</el-row>
</div>
</div>
<el-button
<el-button
...
@@ -109,7 +108,7 @@
...
@@ -109,7 +108,7 @@
test_result_sub_data
[
e
+
(
i
-
1
)
*
5
-
1
].
value
test_result_sub_data
[
e
+
(
i
-
1
)
*
5
-
1
].
value
}}
}}
</el-button>
</el-button>
</el-popover>
</el-popover>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -211,6 +210,34 @@
...
@@ -211,6 +210,34 @@
>
>
</div>
</div>
</el-card>
</el-card>
<el-button
type=
"primary"
style=
"width: 100%"
@
click=
"dialogVisible=true"
>
sssss
</el-button
>
<el-dialog
title=
"请选择等级"
v-if=
"test_result_sub_data[s_item]"
:visible
.
sync=
"dialogVisible"
width=
"400px"
>
<div
style=
"overflow-y: scroll;max-height: 500px;"
>
<el-row
>
<el-col
:span=
"8"
v-for=
"(tobacco_grades_data_f, tobacco_grades_data_index) in tobacco_grades_data"
:key=
"'t'+(s_item)+tobacco_grades_data_index"
style=
"height:119px;border-bottom: 1px solid #e6ebf5; padding:8px 0px"
>
<div
style=
"padding:2px 0px"
><el-tag>
组别:{{tobacco_grades_data_f.name}}
</el-tag></div>
<el-radio-group
size=
"mini"
@
change=
"dialogVisible=false"
v-model=
"test_result_sub_data[s_item].value"
>
<el-radio-button
v-for=
"(grade_code_i, grade_code_index) in tobacco_grades_data_f.value"
:key=
"'s'+tobacco_grades_data_index+(s_item)+grade_code_index"
:label=
"grade_code_i.grade_code"
>
{{grade_code_i.grade_code}}
</el-radio-button>
</el-radio-group>
</el-col>
</el-row>
</div>
<!-- <span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
</span> -->
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -224,6 +251,8 @@ export default {
...
@@ -224,6 +251,8 @@ export default {
components
:
{
TestInfo
,
AnswerView
},
components
:
{
TestInfo
,
AnswerView
},
data
()
{
data
()
{
return
{
return
{
s_item
:
0
,
dialogVisible
:
false
,
headers
:
{
Authorization
:
' Bearer '
+
getToken
()
},
headers
:
{
Authorization
:
' Bearer '
+
getToken
()
},
IP
:
process
.
env
.
VUE_APP_BASE_API
,
IP
:
process
.
env
.
VUE_APP_BASE_API
,
row
:
1
,
row
:
1
,
...
@@ -292,7 +321,7 @@ export default {
...
@@ -292,7 +321,7 @@ export default {
begin_answer_time
:
res
.
begin_answer_time
,
begin_answer_time
:
res
.
begin_answer_time
,
duration
:
res
.
examination_questions
.
duration
*
60
,
duration
:
res
.
examination_questions
.
duration
*
60
,
const_down
:
const_down
:
res
.
examination_questions
.
duration
*
res
.
examination_questions
.
duration
*
60
-
(
res
.
begin_answer_duration
?
res
.
begin_answer_duration
:
0
),
-
(
res
.
begin_answer_duration
?
res
.
begin_answer_duration
:
0
),
status
:
res
.
status
,
status
:
res
.
status
,
title
:
res
.
examination_questions_title
,
title
:
res
.
examination_questions_title
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论