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
eb825bcc
Commit
eb825bcc
authored
Aug 20, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
34419732
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
5 deletions
+30
-5
paperCreate.vue
src/pages/exam/paperCreate.vue
+30
-5
No files found.
src/pages/exam/paperCreate.vue
View file @
eb825bcc
...
...
@@ -18,14 +18,37 @@
color
:
red
;
cursor
:
pointer
;
}
.setpaperCreat
{
border
:
1px
dashed
#E1E1E5
;
padding-top
:
12px
;
border-radius
:
4px
;
padding
:
12px
4px
0
4px
;
margin
:
20px
0
10px
68px
;
}
.setpaperCreat
span
{
display
:
inline-block
;
background
:
#F2F5FA
;
padding
:
0
10px
;
height
:
26px
;
line-height
:
26px
;
border-radius
:
14px
;
color
:
#181E33
;
margin-left
:
10px
;
margin-bottom
:
12px
;
font-size
:
12px
;
}
</
style
>
<
template
>
<div
class=
"page-body"
>
组卷题库(
<span
style=
"color:red;"
>
*
</span>
):
{{
ShowBankName
}}
<br
/>
<a
style=
"cursor:pointer;color:blue;margin:10px 0 10px 0;display:inline-block;"
@
click=
"showQuestionBank"
>
选择题库
</a>
<br
/>
<a
style=
"cursor:pointer;color:blue;margin-bottom:10px;display:inline-block;"
@
click=
"showExamTemplate"
>
选择模板
</a>
<div>
组卷题库(
<span
style=
"color:red;"
>
*
</span>
)
<q-btn
color=
"accent"
size=
"sm"
@
click=
"showQuestionBank"
class=
"q-mr-md"
label=
"选择题库"
/><br
/>
</div>
<div
class=
"setpaperCreat"
v-if=
"QuestionArray.length>0"
>
<span
v-for=
"(item,index) in QuestionArray"
:key=
"index"
>
{{
item
.
BankName
}}
</span>
</div>
<q-btn
color=
"accent"
size=
"sm"
style=
"margin-top:20px;"
@
click=
"showExamTemplate"
class=
"q-mr-md"
label=
"选择模板"
/><br
/>
<br
/>
<div
class=
"row"
>
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"templateMsg.TemplateName"
...
...
@@ -132,7 +155,8 @@
BankList
:
[],
MoreQuestionTypeId
:
""
,
//更多题型
questionTypeList
:
[],
//问题列表
saveLoading
:
false
saveLoading
:
false
,
QuestionArray
:[]
}
},
created
()
{
...
...
@@ -297,6 +321,7 @@
},
//获取选择的题库
getBankData
(
bankArray
)
{
this
.
QuestionArray
=
bankArray
;
this
.
isShowQuestionBank
=
false
;
var
qBankIds
=
""
;
var
sBankName
=
""
;
...
...
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