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
18a23dab
Commit
18a23dab
authored
Feb 22, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
d6d85367
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
314 additions
and
266 deletions
+314
-266
detail.vue
src/components/stuMan/subscribe/detail.vue
+10
-2
subscribeForm.vue
src/components/stuMan/subscribe/subscribeForm.vue
+14
-13
subscribe.vue
src/pages/studyAbroad/subscribe.vue
+290
-251
No files found.
src/components/stuMan/subscribe/detail.vue
View file @
18a23dab
...
...
@@ -73,7 +73,7 @@
color=
"accent"
size=
"xs"
label=
"确认"
v-if=
"saveObj.AppointState == 1&&saveObj.GuestList.length>=saveObj.ScrollMinNum"
v-if=
"saveObj.AppointState == 1&&saveObj.GuestList.length>=saveObj.ScrollMinNum
&&auth.IsEdit
"
@
click=
"confirmSub"
class=
"q-ml-md"
/>
...
...
@@ -110,7 +110,7 @@
v-if=
"saveObj.ClassType == 3"
>
<
template
v-slot:control
>
<div
v-if=
"saveObj.AppointState == 1"
>
<div
v-if=
"saveObj.AppointState == 1
&&auth.IsEdit
"
>
<div
class=
"q-mt-sm flex justify-start"
>
<q-btn
color=
"accent"
...
...
@@ -179,6 +179,14 @@ export default {
saveObj
:
{
type
:
Object
,
default
:
null
},
auth
:{
type
:
Object
,
default
:()
=>
{
return
{
IsEdit
:
false
}
}
}
},
data
()
{
...
...
src/components/stuMan/subscribe/subscribeForm.vue
View file @
18a23dab
...
...
@@ -25,6 +25,7 @@
<Detail
:dateObj=
"dateObj"
:saveObj=
"saveObj"
:auth=
"auth"
@
success=
"detailSuccessHandle"
@
close=
"detailCloseHandle"
/>
...
...
@@ -134,7 +135,7 @@
</q-field>
<div
class=
"row col"
v-show=
"(editType == 1 || saveObj.ClassType == 3)
&& showAddStu()
"
v-show=
"(editType == 1 || saveObj.ClassType == 3)
&&auth.IsEdit
"
>
<div
class=
"col-10"
>
<q-select
...
...
@@ -231,10 +232,20 @@ export default {
teacherList
:
{
type
:
Array
,
default
:
()
=>
[]
},
auth
:{
type
:
Object
,
default
:()
=>
{
return
{
IsEdit
:
false
}
}
}
},
watch
:
{
show
(
val
)
{
console
.
log
(
1111111
)
this
.
addLoading
=
false
if
(
val
)
{
this
.
stuInfo
=
""
;
this
.
teaClassMsg
.
CourseId
=
0
;
...
...
@@ -350,6 +361,7 @@ export default {
this
.
teacherTimeList
=
res
.
Data
;
});
},
//获取学生列表
getStu
()
{
this
.
stuMsg
.
CourseId
=
this
.
teaClassMsg
.
CourseId
||
0
;
this
.
stuMsg
.
CourseGradeId
=
...
...
@@ -361,7 +373,7 @@ export default {
this
.
allStuList
=
JSON
.
parse
(
JSON
.
stringify
(
res
.
Data
));
});
},
//筛选学
员
//筛选学
生
filterStu
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
""
)
{
...
...
@@ -518,17 +530,6 @@ export default {
this
.
addLoading
=
false
;
});
},
showAddStu
()
{
if
(
new
Date
(
this
.
dateObj
.
date
).
getTime
()
<
new
Date
(
QCalendar
.
today
()).
getTime
()
)
{
return
false
;
}
else
{
return
true
;
}
},
detailSuccessHandle
()
{
this
.
getStu
();
this
.
$emit
(
"success"
);
...
...
src/pages/studyAbroad/subscribe.vue
View file @
18a23dab
This diff is collapsed.
Click to expand it.
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