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
1fcafac0
Commit
1fcafac0
authored
Dec 13, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f74032b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
subscribe.vue
src/pages/studyAbroad/subscribe.vue
+15
-4
No files found.
src/pages/studyAbroad/subscribe.vue
View file @
1fcafac0
...
@@ -41,8 +41,10 @@
...
@@ -41,8 +41,10 @@
<!-- <q-btn v-if="msg.ClassType==2" dense text-color="primary" icon="download" flat unelevated label="下载排课表"
<!-- <q-btn v-if="msg.ClassType==2" dense text-color="primary" icon="download" flat unelevated label="下载排课表"
@click="DownLoadStuLearnChapterStatic" /> -->
@click="DownLoadStuLearnChapterStatic" /> -->
<div
style=
"margin-left:10px;"
>
<q-btn
v-if=
"msg.ClassType==3"
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
<div
style=
"margin-left:10px;"
>
<q-btn
v-if=
"msg.ClassType==3"
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
label=
"下载排课表"
@
click=
"DownLoadStuLearnChapterStatic"
/></div>
label=
"下载老师排课表"
@
click=
"DownLoadStuLearnChapterStatic"
/></div>
<q-separator
vertical
/>
<div
style=
"margin-left:10px;"
>
<q-btn
v-if=
"msg.ClassType==3"
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
label=
"下载学生发课表"
@
click=
"DownLoadPlanStudentExcel"
/></div>
</div>
</div>
<div
class=
"viewbox"
>
<div
class=
"viewbox"
>
<q-calendar
v-model=
"selectedDate"
:view=
"viewType"
ref=
"calendar"
locale=
"zh-CN"
class=
"calendar-container "
<q-calendar
v-model=
"selectedDate"
:view=
"viewType"
ref=
"calendar"
locale=
"zh-CN"
class=
"calendar-container "
...
@@ -404,11 +406,20 @@
...
@@ -404,11 +406,20 @@
},
},
//下载课表
//下载课表
DownLoadStuLearnChapterStatic
()
{
DownLoadStuLearnChapterStatic
()
{
let
dateStartDate
=
new
Date
(
this
.
msg
.
StartDate
);
EduDownLoad
(
"/TeacherClass/GetAppointmentPlanStatExcel"
,
this
.
msg
,
"排课表统计.xls"
,
res
=>
{
let
dateEndDate
=
new
Date
(
this
.
msg
.
EndDate
);
EduDownLoad
(
"/TeacherClass/GetAppointmentPlanStatExcel"
,
this
.
msg
,
(
dateStartDate
.
getMonth
()
+
1
)
+
"月"
+
dateStartDate
.
getDate
()
+
"日-"
+
(
dateEndDate
.
getMonth
()
+
1
)
+
"月"
+
dateEndDate
.
getDate
()
+
"日老师排课统计.xls"
,
res
=>
{
});
});
},
},
//下载课表
DownLoadPlanStudentExcel
()
{
let
dateStartDate
=
new
Date
(
this
.
msg
.
StartDate
);
let
dateEndDate
=
new
Date
(
this
.
msg
.
EndDate
);
EduDownLoad
(
"/TeacherClass/GetAppointmentPlanStudentExcel"
,
this
.
msg
,
(
dateStartDate
.
getMonth
()
+
1
)
+
"月"
+
dateStartDate
.
getDate
()
+
"日-"
+
(
dateEndDate
.
getMonth
()
+
1
)
+
"月"
+
dateEndDate
.
getDate
()
+
"日学生排课统计.xls"
,
res
=>
{
});
},
badgeStyles
(
event
,
type
,
timeStartPos
,
timeDurationHeight
,
index
,
total
)
{
badgeStyles
(
event
,
type
,
timeStartPos
,
timeDurationHeight
,
index
,
total
)
{
const
s
=
{};
const
s
=
{};
if
(
timeStartPos
)
{
if
(
timeStartPos
)
{
...
...
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