Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kaoshi-java
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
单欣鑫
kaoshi-java
Commits
0625c764
You need to sign in or sign up before continuing.
Commit
0625c764
authored
Oct 22, 2025
by
刘帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.BUG修复
parent
2105746b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
index.vue
ruoyi-ui/src/components/VideoUpload/index.vue
+2
-2
index.vue
ruoyi-ui/src/views/hezhi/examSubject/index.vue
+1
-1
subjectAnswer.vue
ruoyi-ui/src/views/hezhi/examSubject/subjectAnswer.vue
+5
-5
No files found.
ruoyi-ui/src/components/VideoUpload/index.vue
View file @
0625c764
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<!-- 上传提示 -->
<!-- 上传提示 -->
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
请上传
请上传
<template
v-if=
"fileSize"
>
大小不超过
<b
style=
"color: #f56c6c"
>
{{
fileSize
}}
M
B
</b>
</
template
>
<template
v-if=
"fileSize"
>
大小不超过
<b
style=
"color: #f56c6c"
>
1G
B
</b>
</
template
>
<
template
v-if=
"fileType"
>
格式为
<b
style=
"color: #f56c6c"
>
{{
fileType
.
join
(
"
/
"
)
}}
</b>
</
template
>
<
template
v-if=
"fileType"
>
格式为
<b
style=
"color: #f56c6c"
>
{{
fileType
.
join
(
"
/
"
)
}}
</b>
</
template
>
的文件
的文件
</div>
</div>
...
@@ -47,7 +47,7 @@ export default {
...
@@ -47,7 +47,7 @@ export default {
// 大小限制(MB)
// 大小限制(MB)
fileSize
:
{
fileSize
:
{
type
:
Number
,
type
:
Number
,
default
:
10
0
,
default
:
10
24
,
},
},
// 文件类型, 例如['png', 'jpg', 'jpeg']
// 文件类型, 例如['png', 'jpg', 'jpeg']
fileType
:
{
fileType
:
{
...
...
ruoyi-ui/src/views/hezhi/examSubject/index.vue
View file @
0625c764
...
@@ -410,7 +410,7 @@ export default {
...
@@ -410,7 +410,7 @@ export default {
if
(
subjectType
===
3
)
{
if
(
subjectType
===
3
)
{
this
.
form
.
score
=
1
;
this
.
form
.
score
=
1
;
}
}
if
(
subjectType
===
4
)
{
if
(
subjectType
===
4
||
subjectType
===
5
||
subjectType
===
6
)
{
this
.
form
.
score
=
10
;
this
.
form
.
score
=
10
;
}
}
},
},
...
...
ruoyi-ui/src/views/hezhi/examSubject/subjectAnswer.vue
View file @
0625c764
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<!--
<el-table-column
label=
"考试题目ID"
align=
"center"
prop=
"examSubjectId"
/>
-->
<!--
<el-table-column
label=
"考试题目ID"
align=
"center"
prop=
"examSubjectId"
/>
-->
<!--
<el-table-column
label=
"考试题目编号"
align=
"center"
prop=
"examSubjectNo"
/>
-->
<!--
<el-table-column
label=
"考试题目编号"
align=
"center"
prop=
"examSubjectNo"
/>
-->
<!--
<el-table-column
label=
"题目类型"
align=
"center"
prop=
"subjectType"
/>
-->
<!--
<el-table-column
label=
"题目类型"
align=
"center"
prop=
"subjectType"
/>
-->
<el-table-column
label=
"选项"
align=
"center"
prop=
"subjectOption"
v-if=
"this.subjectType !== 4"
>
<el-table-column
label=
"选项"
align=
"center"
prop=
"subjectOption"
v-if=
"this.subjectType !== 4
&& this.subjectType !== 5 && this.subjectType !== 6
"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.tb_subject_option"
:value=
"scope.row.subjectOption"
/>
<dict-tag
:options=
"dict.type.tb_subject_option"
:value=
"scope.row.subjectOption"
/>
</
template
>
</
template
>
...
@@ -28,12 +28,12 @@
...
@@ -28,12 +28,12 @@
{{
scope
.
row
.
subjectName
}}
{{
scope
.
row
.
subjectName
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"分数"
align=
"center"
prop=
"score"
v-if=
"this.subjectType === 4"
>
<el-table-column
label=
"分数"
align=
"center"
prop=
"score"
v-if=
"this.subjectType === 4
|| this.subjectType === 5 || this.subjectType === 6
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
score
}}
{{
scope
.
row
.
score
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"是否答案"
align=
"center"
prop=
"isAnswer"
v-if=
"this.subjectType !== 4"
>
<el-table-column
label=
"是否答案"
align=
"center"
prop=
"isAnswer"
v-if=
"this.subjectType !== 4
&& this.subjectType !== 5 && this.subjectType !== 6
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.isAnswer === 0"
>
否
</div>
<div
v-if=
"scope.row.isAnswer === 0"
>
否
</div>
<div
v-if=
"scope.row.isAnswer === 1"
>
是
</div>
<div
v-if=
"scope.row.isAnswer === 1"
>
是
</div>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
<!-- <el-form-item label="考试题目编号" prop="examSubjectNo">-->
<!-- <el-form-item label="考试题目编号" prop="examSubjectNo">-->
<!-- <el-input v-model="form.examSubjectNo" placeholder="请输入考试题目编号" />-->
<!-- <el-input v-model="form.examSubjectNo" placeholder="请输入考试题目编号" />-->
<!-- </el-form-item>-->
<!-- </el-form-item>-->
<el-form-item
label=
"选项"
prop=
"subjectOption"
v-if=
"this.subjectType !== 4"
>
<el-form-item
label=
"选项"
prop=
"subjectOption"
v-if=
"this.subjectType !== 4
&& this.subjectType !== 5 && this.subjectType !== 6
"
>
<el-select
v-model=
"form.subjectOption"
placeholder=
"请选择选项"
>
<el-select
v-model=
"form.subjectOption"
placeholder=
"请选择选项"
>
<el-option
<el-option
v-for=
"dict in dict.type.tb_subject_option"
v-for=
"dict in dict.type.tb_subject_option"
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
<el-form-item
label=
"选项内容"
prop=
"subjectName"
>
<el-form-item
label=
"选项内容"
prop=
"subjectName"
>
<el-input
v-model=
"form.subjectName"
placeholder=
"请输入选项内容"
/>
<el-input
v-model=
"form.subjectName"
placeholder=
"请输入选项内容"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"分数"
prop=
"score"
v-if=
"this.subjectType === 4"
>
<el-form-item
label=
"分数"
prop=
"score"
v-if=
"this.subjectType === 4
|| this.subjectType === 5 || this.subjectType === 6
"
>
<el-input
v-model=
"form.score"
type=
"number"
placeholder=
"请输入分数"
/>
<el-input
v-model=
"form.score"
type=
"number"
placeholder=
"请输入分数"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否答案"
v-if=
"this.subjectType === 1 || this.subjectType === 2"
>
<el-form-item
label=
"是否答案"
v-if=
"this.subjectType === 1 || this.subjectType === 2"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment