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
29c6692b
Commit
29c6692b
authored
Aug 24, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b98662fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
8 deletions
+60
-8
examPaper.vue
src/pages/exam/examPaper.vue
+60
-8
No files found.
src/pages/exam/examPaper.vue
View file @
29c6692b
...
@@ -60,9 +60,19 @@
...
@@ -60,9 +60,19 @@
cursor
:
default
!important
;
cursor
:
default
!important
;
pointer-events
:
none
;
pointer-events
:
none
;
}
}
.disabled-column
.el-checkbox__input
{
display
:
none
;
.disabled-column
.el-checkbox__input
{
display
:
none
;
}
.ExamPaper_Sysuser_Date
.el-range-editor
.el-range-input
{
background-color
:
transparent
;
}
}
.ExamPaper_Sysuser_Date
.el-range-editor.el-input__inner
{
background-color
:
transparent
;
}
</
style
>
</
style
>
<!--试卷库管理-->
<!--试卷库管理-->
<
template
>
<
template
>
...
@@ -70,8 +80,19 @@
...
@@ -70,8 +80,19 @@
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
change=
"getList"
clearable
filled
v-model=
"msg.PaperName"
@
clear=
"getList"
maxlength=
"20"
<q-input
@
input=
"refreshPage"
clearable
filled
v-model=
"msg.PaperName"
maxlength=
"20"
label=
"输入试卷名称"
/>
label=
"输入试卷名称、组卷人查找"
/>
</div>
<div
class=
"col-3 ExamPaper_Sysuser_Date"
>
<q-field
filled
>
<template
v-slot:control
>
<el-date-picker
v-model=
"dateTimeList"
@
change=
"refreshPage"
value-format=
"yyyy-MM-dd"
type=
"daterange"
style=
"border:none;"
range-separator=
"至"
start-placeholder=
"开始时间"
end-placeholder=
"结束时间"
></el-date-picker>
</
template
>
</q-field>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"refreshPage"
clearable
filled
v-model=
"msg.QExamineStatus"
:options=
"auditStatusList"
emit-value
map-options
label=
"审核状态"
/>
</div>
</div>
</div>
</div>
<div
class=
"page-option"
>
<div
class=
"page-option"
>
...
@@ -103,7 +124,8 @@
...
@@ -103,7 +124,8 @@
<span
v-if=
"index!=navList.length-1"
:key=
"index"
>
>
</span>
<span
v-if=
"index!=navList.length-1"
:key=
"index"
>
>
</span>
</
template
>
</
template
>
</div>
</div>
<exampaperlist
:dataList=
"dataList"
ref=
"examPaper"
:msg=
"msg"
:loading=
"loading"
@
success=
"refreshPage"
></exampaperlist>
<exampaperlist
:dataList=
"dataList"
ref=
"examPaper"
:msg=
"msg"
:loading=
"loading"
@
success=
"refreshPage"
>
</exampaperlist>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
:input=
"true"
@
input=
"changePage"
/>
</div>
</div>
...
@@ -120,18 +142,42 @@
...
@@ -120,18 +142,42 @@
exampaperlist
exampaperlist
},
},
meta
:
{
meta
:
{
title
:
"
考试
管理"
title
:
"
试卷
管理"
},
},
data
()
{
data
()
{
return
{
return
{
data
:
[],
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
rowsPerPage
:
10
,
rowsPerPage
:
10
,
PaperName
:
''
,
//题库名
PaperName
:
''
,
//题库名
ParentId
:
0
,
ParentId
:
0
,
QStartTime
:
""
,
//开始时间
QEndTime
:
""
,
//结束时间
QExamineStatus
:
''
,
//审核状态
},
},
dateTimeList
:
[],
//选择时间
auditStatusList
:
[{
value
:
0
,
label
:
"草稿"
},
{
value
:
1
,
label
:
"审核中"
},
{
value
:
2
,
label
:
"正常"
},
{
value
:
3
,
label
:
"驳回"
},
{
value
:
6
,
label
:
"作废"
}
],
pageCount
:
0
,
pageCount
:
0
,
loading
:
false
,
loading
:
false
,
dataList
:
[],
dataList
:
[],
...
@@ -168,10 +214,16 @@
...
@@ -168,10 +214,16 @@
},
},
//获取菜单分页列表
//获取菜单分页列表
getList
()
{
getList
()
{
if
(
this
.
dateTimeList
&&
this
.
dateTimeList
.
length
>
0
)
{
this
.
msg
.
QStartTime
=
this
.
dateTimeList
[
0
];
this
.
msg
.
QEndTime
=
this
.
dateTimeList
[
1
];
}
else
{
this
.
msg
.
QStartTime
=
''
;
this
.
msg
.
QEndTime
=
''
;
}
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
dataList
=
[];
this
.
dataList
=
[];
GetPaperPage
(
this
.
msg
).
then
(
res
=>
{
GetPaperPage
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
.
pageModel
.
PageData
;
this
.
dataList
=
res
.
Data
.
pageModel
.
PageData
;
...
...
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