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
6c582b00
Commit
6c582b00
authored
Aug 19, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
370b8363
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
334 additions
and
11 deletions
+334
-11
App.vue
src/App.vue
+1
-1
classstutree-form.vue
src/components/exam/classstutree-form.vue
+313
-8
paperPublish.vue
src/pages/exam/paperPublish.vue
+20
-2
No files found.
src/App.vue
View file @
6c582b00
...
...
@@ -20,7 +20,7 @@ export default {
</
script
>
<
style
>
@import
url("//at.alicdn.com/t/font_2077629_
ou0hmd4zmr8
.css")
;
@import
url("//at.alicdn.com/t/font_2077629_
wob6liq2kxn
.css")
;
.q-scrollarea__thumb
{
z-index
:
999999
!important
;
}
...
...
src/components/exam/classstutree-form.vue
View file @
6c582b00
This diff is collapsed.
Click to expand it.
src/pages/exam/paperPublish.vue
View file @
6c582b00
...
...
@@ -231,7 +231,7 @@
<div
class=
"row"
>
<q-btn
color=
"accent"
@
click=
"setPublishExam"
class=
"q-mr-md"
label=
"发布考试"
/>
</div>
<classstutreeForm
v-if=
"isShowClassStu"
@
close=
"closeClassStuForm"
@
success=
"getClassStuList"
>
<classstutreeForm
v-if=
"isShowClassStu"
:sendStudent=
"sendStudent"
@
close=
"closeClassStuForm"
@
success=
"getClassStuList"
>
</classstutreeForm>
</div>
</template>
...
...
@@ -282,6 +282,7 @@
},
isShowClassStu
:
false
,
//是否显示学员弹窗
sendStudent
:[],
//传送已选学生
}
},
created
()
{
...
...
@@ -295,6 +296,23 @@
},
mounted
()
{
},
watch
:{
"postMsg.StudentList"
:{
handler
(
val
){
this
.
sendStudent
=
[];
val
.
forEach
(
x
=>
{
let
obj
=
{
ClassId
:
x
.
ClassId
,
CourseId
:
x
.
CourseId
,
GuestId
:
x
.
GuestId
,
Name
:
x
.
GuestName
,
OrderId
:
x
.
OrderId
}
this
.
sendStudent
.
push
(
obj
);
})
}
}
},
methods
:
{
//删除发放对象
...
...
@@ -305,7 +323,6 @@
queryExamPublish
({
Id
:
this
.
postMsg
.
Id
}).
then
(
res
=>
{
console
.
log
(
"res"
,
res
);
if
(
res
.
Code
==
1
)
{
var
tempData
=
res
.
Data
;
if
(
tempData
)
{
...
...
@@ -347,6 +364,7 @@
},
//获取选中的需要列表
getClassStuList
(
array
)
{
this
.
postMsg
.
StudentList
=
[];
if
(
array
&&
array
.
length
>
0
)
{
array
.
forEach
(
item
=>
{
this
.
postMsg
.
StudentList
.
push
({
...
...
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