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
86c7ae3b
Commit
86c7ae3b
authored
Aug 25, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
12483eb2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
10 deletions
+30
-10
exampaperlist.vue
src/components/exam/exampaperlist.vue
+30
-10
No files found.
src/components/exam/exampaperlist.vue
View file @
86c7ae3b
...
...
@@ -2,6 +2,12 @@
.examForm
.q-table__bottom
{
min-height
:
10px
;
}
.greenStyle
{
color
:
green
;
}
.color_shz
{
color
:
#1273BC
}
.color_tg
{
color
:
#4BCA81
}
.color_bh
{
color
:
#c94052
}
</
style
>
<
template
>
...
...
@@ -22,9 +28,9 @@
</
template
>
</div>
<div>
<q-btn
v-if=
"multipleSelection&&multipleSelection.length>0"
color=
"accent"
size=
"sm"
class=
"q-mr-md"
<q-btn
v-if=
"multipleSelection&&multipleSelection.length>0
&&IsMovePaper
"
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"movePaperFile()"
label=
"移动到"
/>
<q-btn
v-if=
"multipleSelection&&multipleSelection.length>0"
color=
"accent"
size=
"sm"
class=
"q-mr-md"
<q-btn
v-if=
"multipleSelection&&multipleSelection.length>0
&&IsDelPaper
"
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"删除"
@
click=
"batchDelete()"
/>
</div>
</div>
...
...
@@ -100,14 +106,20 @@
</template>
<
template
v-slot:body-cell-ExamineStatusStr=
"props"
>
<q-td
:props=
"props"
>
<template
v-if=
"props.row.ExamineStatus==4||props.row.ExamineStatus==3"
>
<el-popover
placement=
"bottom"
title=
"驳回原因"
width=
"350"
trigger=
"hover"
:content=
'props.row.ExamineRemark'
>
<span
slot=
"reference
"
>
{{
props
.
row
.
ExamineStatusStr
}}
</span>
<span
slot=
"reference"
class=
"color_bh
"
>
{{
props
.
row
.
ExamineStatusStr
}}
</span>
</el-popover>
</
template
>
<
template
v-else
>
<span
:class=
"
{'color_tg':props.row.ExamineStatus==2||props.row.ExamineStatus==5,
'color_bh':props.row.ExamineStatus==6}">
{{
props
.
row
.
ExamineStatusStr
}}
</span>
</
template
>
</q-td>
</template>
<
template
v-slot:body-cell-PaperType=
"props"
>
...
...
@@ -226,6 +238,8 @@
MoveIds
:
''
,
currentUserInfo
:
{},
//当前登录用户
IsPaperManager
:
false
,
IsMovePaper
:
false
,
//是否可以移动文件
IsDelPaper
:
false
,
//是否删除试卷
pageMsg
:
{
rowsPerPage
:
10
,
},
...
...
@@ -289,6 +303,12 @@
if
(
x
.
FunctionCode
==
"Paper_Manager"
)
{
//判断是否是试卷管理员
this
.
IsPaperManager
=
true
;
}
if
(
x
.
FunctionCode
==
"Paper_Move"
){
//判断是否有移动文件权限
this
.
IsMovePaper
=
true
;
}
if
(
x
.
FunctionCode
==
"Paper_Delete"
){
//判断是否有删除文件夹权限
this
.
IsDelPaper
=
true
;
}
})
},
mounted
()
{},
...
...
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