Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李苏
sgaqgl-vue
Commits
af1f344c
Commit
af1f344c
authored
Dec 20, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
count
parent
60f4e679
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
edit.vue
src/views/train/paperManagement/edit.vue
+18
-18
No files found.
src/views/train/paperManagement/edit.vue
View file @
af1f344c
...
...
@@ -35,7 +35,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[
{ required:
false,pattern: /^[1-9]\d*$/
,message: '请输入大于0的整数!'}]" label="单选题分值" ref="sscore" prop="sscore">
<el-form-item
:rules=
"[
{ required:
(form.scount>0)?true:false
,message: '请输入大于0的整数!'}]" label="单选题分值" ref="sscore" prop="sscore">
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.sscore"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -45,7 +45,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[
{ required:
false,pattern: /^[1-9]\d*$/
,message: '请输入大于0的整数!'}]" label="多选题分值" ref="mscore" prop="mscore">
<el-form-item
:rules=
"[
{ required:
(form.mcount>0)?true:false
,message: '请输入大于0的整数!'}]" label="多选题分值" ref="mscore" prop="mscore">
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.mscore"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -57,7 +57,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[
{ required:
false,pattern: /^[1-9]\d*$/
,message: '请输入大于0的整数!'}]" label="判断题分值" ref="jscore" prop="jscore">
<el-form-item
:rules=
"[
{ required:
(form.jcount>0)?true:false
,message: '请输入大于0的整数!'}]" label="判断题分值" ref="jscore" prop="jscore">
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.jscore"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -67,7 +67,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:rules=
"[
{ required:
false,pattern: /^[1-9]\d*$/
,message: '请输入大于0的整数!'}]" label="填空题分值" ref="fscore" prop="fscore">
<el-form-item
:rules=
"[
{ required:
(form.fcount>0)?true:false
,message: '请输入大于0的整数!'}]" label="填空题分值" ref="fscore" prop="fscore">
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.fscore"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -229,19 +229,19 @@
//总分
score
:
''
,
//单选题量
scount
:
''
,
scount
:
'
0
'
,
//单选题分值
sscore
:
'0'
,
//多选题量
mcount
:
''
,
mcount
:
'
0
'
,
//多选题分值
mscore
:
'0'
,
//判断题量
jcount
:
''
,
jcount
:
'
0
'
,
//判断题分值
jscore
:
'0'
,
//填空题量
fcount
:
''
,
fcount
:
'
0
'
,
//填空题分值
fscore
:
'0'
,
//考试时长
...
...
@@ -279,16 +279,16 @@
required
:
true
,
trigger
:
'blur'
},
],
//
jssj: [{
//
required: true,
//
trigger: 'blur'
//
}, ],
//
kssc:[
//
{
//
required: true,
//
trigger: 'blur'
//
}
//
],
jssj
:
[{
required
:
true
,
trigger
:
'blur'
},
],
kssc
:[
{
required
:
true
,
trigger
:
'blur'
}
],
}
}
},
...
...
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