Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
51f3c890
Commit
51f3c890
authored
Sep 18, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f4f92689
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
7 deletions
+22
-7
examtemplate-form.vue
src/components/exam/examtemplate-form.vue
+6
-0
paperCreate.vue
src/pages/exam/paperCreate.vue
+2
-0
paperEdit.vue
src/pages/exam/paperEdit.vue
+14
-7
No files found.
src/components/exam/examtemplate-form.vue
View file @
51f3c890
...
...
@@ -69,6 +69,12 @@
label
:
'模板名称'
,
field
:
'TemplateName'
,
align
:
'left'
,
},
{
name
:
'GroupTypeName'
,
label
:
'组卷类型'
,
field
:
'GroupTypeName'
,
align
:
'left'
,
},
{
name
:
'TemplateScore'
,
...
...
src/pages/exam/paperCreate.vue
View file @
51f3c890
...
...
@@ -563,12 +563,14 @@
},
//获取模板数据
getTemplateData
(
tempObj
)
{
console
.
log
(
"tempObj"
,
tempObj
)
if
(
tempObj
)
{
this
.
templateMsg
.
TemplateId
=
tempObj
.
TemplateId
;
this
.
templateMsg
.
TemplateName
=
tempObj
.
TemplateName
;
this
.
templateMsg
.
TemplateNum
=
tempObj
.
TemplateNum
;
this
.
templateMsg
.
TemplateScore
=
tempObj
.
TemplateScore
;
this
.
templateMsg
.
TemplateDifficultyType
=
tempObj
.
TemplateDifficultyType
;
this
.
templateMsg
.
GroupType
=
tempObj
.
GroupType
;
this
.
templateMsg
.
TemplateData
=
[];
var
tempData
=
tempObj
.
TemplateData
;
if
(
tempData
&&
tempData
.
length
>
0
)
{
...
...
src/pages/exam/paperEdit.vue
View file @
51f3c890
...
...
@@ -281,14 +281,21 @@
<q-select
filled
option-value=
"Id"
option-label=
"Name"
:options=
"questionDifficultyTypeList"
emit-value
map-options
label=
"难度"
use-input
clearable
v-model=
"DataObj.DifficultyType"
/>
</div>
<div
style=
"margin-left:20px;display:flex;align-items:center;"
>
组卷类型:
<q-radio
v-model=
"DataObj.GroupType"
:val=
"1"
label=
"问题类型"
/>
<q-radio
v-model=
"DataObj.GroupType"
:val=
"2"
label=
"题目大类"
/>
<div
style=
"margin-left:20px;"
>
<q-field
label=
"组卷类型"
stack-label
borderless
>
<template
v-slot:control
>
<q-radio
v-model=
"DataObj.GroupType"
:val=
"1"
label=
"问题类型"
/>
<q-radio
v-model=
"DataObj.GroupType"
:val=
"2"
label=
"题目大类"
/>
</
template
>
</q-field>
</div>
<div
style=
"margin:8px 0 0 40px"
>
<q-radio
v-model=
"DataObj.IsOpen"
:val=
"1"
label=
"私有"
/>
<q-radio
v-model=
"DataObj.IsOpen"
:val=
"2"
label=
"公开"
/>
<div
style=
"margin-left:20px;"
>
<q-field
label=
"访问设置"
stack-label
borderless
>
<
template
v-slot:control
>
<q-radio
v-model=
"DataObj.IsOpen"
:val=
"1"
label=
"私有"
title=
"只能自己查看"
/>
<q-radio
v-model=
"DataObj.IsOpen"
:val=
"2"
label=
"公开"
title=
"所有人均可见"
/>
</
template
>
</q-field>
</div>
</div>
<div
style=
"width:10%;text-align:right;"
>
...
...
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