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
fccfe259
Commit
fccfe259
authored
Aug 20, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
06d943e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
19 deletions
+17
-19
classstutree-form.vue
src/components/exam/classstutree-form.vue
+7
-13
examPaper.vue
src/pages/exam/examPaper.vue
+10
-6
No files found.
src/components/exam/classstutree-form.vue
View file @
fccfe259
...
...
@@ -172,19 +172,13 @@
<div
class=
"text-h6"
>
选择学员
</div>
</q-card-section>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-ml-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<q-input
@
input=
"research()"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.GuestName"
label=
"学员名称"
@
clear=
"research()"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-input
@
input=
"research()"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.ClassName"
label=
"班级名称"
@
clear=
"research()"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-input
@
input=
"research()"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.ClassNo"
label=
"班级编号"
@
clear=
"research()"
maxlength=
"20"
/>
</div>
<div
class=
"row wrap"
style=
"width:100%;margin-left:30px;"
>
<q-input
@
input=
"research()"
class=
"col-3 q-mr-lg"
clearable
filled
v-model=
"msg.GuestName"
label=
"学员名称"
@
clear=
"research()"
maxlength=
"20"
/>
<q-input
@
input=
"research()"
class=
"col-3 q-mr-lg"
clearable
filled
v-model=
"msg.ClassName"
label=
"班级名称"
@
clear=
"research()"
maxlength=
"20"
/>
<q-input
@
input=
"research()"
class=
"col-3"
clearable
filled
v-model=
"msg.ClassNo"
label=
"班级编号"
@
clear=
"research()"
maxlength=
"20"
/>
</div>
</div>
<q-card-section
class=
"q-pt-none scroll"
style=
"max-height: 50vh"
>
...
...
src/pages/exam/examPaper.vue
View file @
fccfe259
...
...
@@ -27,16 +27,20 @@
.Exam_PaperName
{
width
:
300px
;
display
:
inline
;
display
:
inline
-block
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
margin-left
:
3px
;
}
.Exam_PaperName
i
{
font-size
:
18px
;
}
.examPaper
.el-table__expand-icon
{
position
:
relative
;
top
:
-6px
;
}
</
style
>
<!--试卷库管理-->
<
template
>
...
...
@@ -66,16 +70,16 @@
</q-btn-dropdown>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content
examPaper
"
>
<el-table
:data=
"dataList"
v-loading=
"loading"
:expand-row-keys=
"expandKeys"
:default-expand-all=
"true"
class=
"tree-tab-chapter"
style=
"width: 100%;margin-bottom: 20px;"
row-key=
"PaperId"
ref=
"examPaperTab"
@
row-click=
"rowsClick"
:tree-props=
"
{ children: 'ChildList', hasChildren: 'hasChildren' }">
<el-table-column
prop=
"PaperName"
label=
"文件夹/试卷"
width=
"400"
>
<template
slot-scope=
"scope"
>
<i
v-if=
"scope.row.PaperType==1"
title=
"文件夹"
class=
"iconfont icon-weibiaoti5"
style=
"color:#85CDFD;position:relative;top:-5px;"
></i>
<i
v-if=
"scope.row.PaperType==2"
title=
"试卷"
class=
"iconfont icon-icon-test1"
style=
"color:#85CDFD;position:relative;top:-5px;"
></i>
<div
class=
"Exam_PaperName"
>
{{
scope
.
row
.
PaperName
}}
<i
v-if=
"scope.row.PaperType==1"
title=
"文件夹"
class=
"iconfont icon-wenjianjia"
></i>
<i
v-if=
"scope.row.PaperType==2"
title=
"试卷"
class=
"iconfont icon-icon-test1"
></i>
<q-tooltip
v-if=
"scope.row.PaperName.length>10"
:offset=
"[10, 10]"
>
{{
scope
.
row
.
PaperName
}}
</q-tooltip>
</div>
</
template
>
...
...
@@ -127,7 +131,7 @@
label=
"重命名"
/>
</
template
>
<
template
v-if=
"scope.row.PaperType==2"
>
<q-btn
flat
size=
"xs"
color=
"primary"
style=
"font-weight:400"
@
click=
"goExameEdit(scope.row)"
<q-btn
flat
size=
"xs"
color=
"primary"
style=
"font-weight:400
;width:68px;
"
@
click=
"goExameEdit(scope.row)"
label=
"编辑"
/>
</
template
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left: 10px"
>
...
...
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