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
d00862de
Commit
d00862de
authored
Feb 24, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
b93a401f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
759 additions
and
425 deletions
+759
-425
schedu.js
src/api/scheduling/schedu.js
+11
-0
reservelist.vue
src/components/schedul/reservelist.vue
+13
-1
reserveclass-form.vue
src/components/school/student/reserveclass-form.vue
+266
-314
shitingCourseList-form.vue
src/components/school/student/shitingCourseList-form.vue
+369
-0
student-shiting.vue
src/components/school/student/student-shiting.vue
+100
-110
No files found.
src/api/scheduling/schedu.js
View file @
d00862de
...
...
@@ -345,3 +345,14 @@ export function delHolidayPlan(data) {
data
:
data
})
}
/**
* 获取日期范围 所有排课计划列表
* @param {JSON参数} data
*/
export
function
getToDayCoursePlanList
(
data
)
{
return
request
({
url
:
'/TeacherClass/GetToDayCoursePlanList'
,
method
:
'post'
,
data
:
data
})
}
\ No newline at end of file
src/components/schedul/reservelist.vue
View file @
d00862de
...
...
@@ -39,6 +39,12 @@
{{
props
.
row
.
CreateTimeStr
}}
</q-td>
</
template
>
<
template
v-slot:body-cell-Type=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.ReserveType==0"
>
正常试听
</span>
<span
v-if=
"props.row.ReserveType==1"
>
跟班试听
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-JoinNum=
"props"
>
<q-td
auto-width
:props=
"props"
>
<span
style=
"color:red;cursor:pointer"
...
...
@@ -72,7 +78,7 @@
<q-item-label>
收支明细
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"editVisitor(props.row)"
>
<q-item
clickable
v-close-popup
@
click=
"editVisitor(props.row)"
v-if=
"props.row.ReserveType==0"
>
<q-item-section>
<q-item-label>
修改
</q-item-label>
</q-item-section>
...
...
@@ -176,6 +182,12 @@
align
:
'left'
,
field
:
'ClassContent'
,
},
{
name
:
'Type'
,
label
:
'类型'
,
align
:
'left'
,
field
:
'Type'
,
},
{
name
:
'CreateByName'
,
label
:
'创建人'
,
...
...
src/components/school/student/reserveclass-form.vue
View file @
d00862de
This diff is collapsed.
Click to expand it.
src/components/school/student/shitingCourseList-form.vue
0 → 100644
View file @
d00862de
This diff is collapsed.
Click to expand it.
src/components/school/student/student-shiting.vue
View file @
d00862de
...
...
@@ -18,15 +18,9 @@
@
click=
"isShowAdd = false"
/>
</div>
-->
<reserveclass-form
:saveObj=
"saveObj"
@
close=
"closeReserveForm"
@
success=
"closeReserveForm"
v-if=
"!saveObj.IsHaveCurseManager || userInfo.IsCourseConsultant == 1"
></reserveclass-form>
<span
v-else
class=
"text-grey-4 q-mb-md"
>
学员已推送课程顾问,只能进行查看
</span
>
<reserveclass-form
:saveObj=
"saveObj"
@
close=
"closeReserveForm"
@
success=
"closeReserveForm"
v-if=
"!saveObj.IsHaveCurseManager || userInfo.IsCourseConsultant == 1"
></reserveclass-form>
<span
v-else
class=
"text-grey-4 q-mb-md"
>
学员已推送课程顾问,只能进行查看
</span>
<div
style=
"display:flex;flex:1;flex-direction: column;overflow:hidden;"
>
<div
class=
"TimeLineDiv"
>
<q-timeline
color=
"primary"
>
...
...
@@ -34,10 +28,14 @@
<template
v-slot:title
>
<div
class=
"visit_Cont"
>
<div
class=
"Log_Content"
>
<q-chip
color=
"primary"
size=
"xs"
text-color=
"white"
style=
"position:absolute;:top:0;right:0"
v-if=
"tItem.ReserveType==1"
>
跟班
</q-chip>
<div>
预约时间:
{{
tItem
.
ClassDateStr
}}
{{
tItem
.
ClassTime
}}
-
{{
tItem
.
EndTime
}}
</div>
<div
class=
"StuCom_Remark"
>
<div
style=
"flex-shrink:0"
>
主讲内容:
</div>
...
...
@@ -49,11 +47,8 @@
<span
class=
"StuCom_Left"
>
教室
</span>
:
{{
tItem
.
RoomName
}}
</div>
</div>
<div
@
click=
"DeleteVisitorReserve(tItem.Id)"
style=
"margin-top:10px;"
class=
"visit_delete text-negative"
>
<div
@
click=
"DeleteVisitorReserve(tItem.Id)"
style=
"margin-top:10px;"
class=
"visit_delete text-negative"
>
删除
</div>
</div>
...
...
@@ -69,31 +64,25 @@
</div>
</div>
<div
style=
"margin:20px 0;"
>
<q-pagination
class=
"full-width justify-end"
v-model=
"qMsg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
@
input=
"changePage"
/>
<q-pagination
class=
"full-width justify-end"
v-model=
"qMsg.pageIndex"
color=
"primary"
:max=
"page_Count"
input
@
input=
"changePage"
/>
</div>
</div>
</template>
<
script
>
import
{
import
{
SetVisitorReserve
,
queryVisitorReservePage
,
RemoveVisitorReserve
}
from
"../../../api/scheduling/schedu"
;
}
from
"../../../api/scheduling/schedu"
;
import
{
import
{
getTeacherDropDownList
,
queryClassRoomList
,
GetTrialLessonList
}
from
"../../../api/school/index"
;
import
reserveclassForm
from
"./reserveclass-form"
;
export
default
{
}
from
"../../../api/school/index"
;
import
reserveclassForm
from
"./reserveclass-form"
;
export
default
{
meta
:
{
title
:
""
},
...
...
@@ -174,5 +163,6 @@ export default {
this
.
getList
();
}
}
};
};
</
script
>
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