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
d9db0d95
Commit
d9db0d95
authored
Jan 21, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7e270283
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
course.vue
src/pages/course/course.vue
+6
-6
question.vue
src/pages/course/question.vue
+11
-7
No files found.
src/pages/course/course.vue
View file @
d9db0d95
...
...
@@ -93,12 +93,12 @@
align
:
'left'
,
field
:
row
=>
row
.
CourseName
},
{
name
:
'CateName'
,
label
:
'所属分类'
,
field
:
'CateName'
,
align
:
'left'
},
//
{
//
name: 'CateName',
//
label: '所属分类',
//
field: 'CateName',
//
align: 'left'
//
},
{
name
:
'CoverImg'
,
label
:
'课程封面'
,
...
...
src/pages/course/question.vue
View file @
d9db0d95
...
...
@@ -9,7 +9,7 @@
overflow
:
hidden
;
white-space
:
nowrap
;
width
:
280px
;
}
</
style
>
...
...
@@ -18,20 +18,20 @@
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<q-input
@
change=
"
getQuestionList
"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.Title"
label=
"关键字"
@
clear=
"
getQuestionList
"
maxlength=
"20"
/>
<q-input
@
change=
"
research
"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.Title"
label=
"关键字"
@
clear=
"
research
"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"
getQuestionList
"
standout=
"bg-primary text-white"
option-value=
"QId"
option-label=
"Name"
<q-select
@
input=
"
research
"
standout=
"bg-primary text-white"
option-value=
"QId"
option-label=
"Name"
v-model=
"msg.QuestionTypeId"
:options=
"questionTypeList"
emit-value
map-options
label=
"题型"
multiple
clearable
/>
</div>
<div
class=
"col-3"
>
<q-input
@
change=
"
getQuestionList"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.PointName
"
label=
"知识点"
@
clear=
"getQuestionList
"
maxlength=
"20"
/>
<q-input
@
change=
"
research"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.PointName"
label=
"知识点
"
@
clear=
"research
"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"
getQuestionList
"
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"Name"
<q-select
@
input=
"
research
"
standout=
"bg-primary text-white"
option-value=
"Id"
option-label=
"Name"
v-model=
"msg.DifficultyType"
:options=
"questionDifficultyTypeList"
emit-value
map-options
label=
"难度"
multiple
clearable
/>
</div>
...
...
@@ -180,6 +180,10 @@
this
.
getQuestionList
();
},
methods
:
{
research
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
getQuestionList
();
},
importQuestion
(
type
)
{
this
.
importType
=
type
;
this
.
isShowImportUpload
=
true
;
...
...
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