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
e08679c0
Commit
e08679c0
authored
Aug 24, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
28f26929
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
examPaper.vue
src/pages/exam/examPaper.vue
+14
-3
No files found.
src/pages/exam/examPaper.vue
View file @
e08679c0
...
@@ -60,7 +60,9 @@
...
@@ -60,7 +60,9 @@
cursor
:
default
!important
;
cursor
:
default
!important
;
pointer-events
:
none
;
pointer-events
:
none
;
}
}
.disabled-column
.el-checkbox__input
{
display
:
none
;
}
</
style
>
</
style
>
<!--试卷库管理-->
<!--试卷库管理-->
<
template
>
<
template
>
...
@@ -107,7 +109,7 @@
...
@@ -107,7 +109,7 @@
<span
v-if=
"index!=navList.length-1"
:key=
"index"
>
>
</span>
<span
v-if=
"index!=navList.length-1"
:key=
"index"
>
>
</span>
</
template
>
</
template
>
</div>
</div>
<el-table
:data=
"dataList"
v-loading=
"loading"
ref=
"multipleTable"
@
selection-change=
"handleSelectionChange"
>
<el-table
:data=
"dataList"
v-loading=
"loading"
ref=
"multipleTable"
:cell-class-name=
"isRender"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"PaperName"
label=
"文件夹/试卷"
width=
"300"
>
<el-table-column
prop=
"PaperName"
label=
"文件夹/试卷"
width=
"300"
>
...
@@ -302,6 +304,7 @@
...
@@ -302,6 +304,7 @@
multipleSelection
:
[],
multipleSelection
:
[],
MoveIds
:
''
,
MoveIds
:
''
,
currentUserInfo
:
{},
//当前登录用户
currentUserInfo
:
{},
//当前登录用户
commonAccountId
:
-
1
,
}
}
},
},
created
()
{
created
()
{
...
@@ -318,11 +321,17 @@
...
@@ -318,11 +321,17 @@
this
.
IsPaperManager
=
true
;
this
.
IsPaperManager
=
true
;
}
}
})
})
this
.
commonAccountId
=
this
.
currentUserInfo
.
AccountId
;
},
},
mounted
()
{
mounted
()
{
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
isRender
(
row
){
if
(
row
.
row
.
CreateBy
!=
this
.
commonAccountId
){
return
'disabled-column'
}
},
//提交审核,重新提交审核
//提交审核,重新提交审核
submitAudit
(
item
)
{
submitAudit
(
item
)
{
submitApproval
({
submitApproval
({
...
@@ -346,7 +355,9 @@
...
@@ -346,7 +355,9 @@
var
myArray
=
[];
var
myArray
=
[];
if
(
this
.
multipleSelection
.
length
>
0
)
{
if
(
this
.
multipleSelection
.
length
>
0
)
{
this
.
multipleSelection
.
forEach
(
x
=>
{
this
.
multipleSelection
.
forEach
(
x
=>
{
myArray
.
push
(
x
.
PaperId
);
if
(
x
.
CreateBy
==
this
.
commonAccountId
){
myArray
.
push
(
x
.
PaperId
);
}
})
})
this
.
MoveIds
=
myArray
.
toString
();
this
.
MoveIds
=
myArray
.
toString
();
}
}
...
...
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