Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
1eeb1fa4
Commit
1eeb1fa4
authored
Feb 04, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d6468af0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
21 deletions
+32
-21
appointment.vue
pages/appointment/appointment.vue
+5
-5
confirmAppointment.vue
pages/appointment/confirmAppointment.vue
+6
-1
teacherOrderInfo.vue
pages/appointment/personal/teacherOrderInfo.vue
+19
-14
teacherOrderList.vue
pages/appointment/personal/teacherOrderList.vue
+2
-1
No files found.
pages/appointment/appointment.vue
View file @
1eeb1fa4
...
...
@@ -254,6 +254,7 @@ import tabbars from '@/components/tabbar/index';
totalData
:[],
fullDate
:
''
,
dotList
:[],
WeekStr
:
''
,
}
},
onLoad
(
options
)
{
...
...
@@ -305,13 +306,11 @@ import tabbars from '@/components/tabbar/index';
datechange
(
e
){
this
.
fullDate
=
e
.
fullDate
// this.msg.SelectStartTime = e.fullDate;
// this.msg.SelectEndTime = e.fullDate;
// this.init()
this
.
totalData
.
forEach
(
x
=>
{
let
time
=
x
.
DateYear
+
'-'
+
x
.
DateMonth
+
'-'
+
x
.
DateDay
if
(
this
.
fullDate
==
time
){
this
.
subscribeList
=
x
.
PlanList
this
.
WeekStr
=
x
.
WeekStr
}
})
},
...
...
@@ -438,7 +437,8 @@ import tabbars from '@/components/tabbar/index';
this
.
totalData
.
forEach
(
x
=>
{
let
time
=
x
.
DateYear
+
'-'
+
x
.
DateMonth
+
'-'
+
x
.
DateDay
if
(
this
.
fullDate
==
time
){
this
.
subscribeList
=
x
.
PlanList
this
.
subscribeList
=
x
.
PlanList
;
this
.
WeekStr
=
x
.
WeekStr
}
if
(
x
.
haveCourseCount
>
0
){
let
obj
=
{
...
...
@@ -460,7 +460,7 @@ import tabbars from '@/components/tabbar/index';
goconfirm
(
item
){
uni
.
navigateTo
({
url
:
'/pages/appointment/confirmAppointment?CourseId='
+
item
.
ID
url
:
'/pages/appointment/confirmAppointment?CourseId='
+
item
.
ID
+
'&WeekStr='
+
this
.
WeekStr
});
},
gostudent
(
item
){
//学员列表
...
...
pages/appointment/confirmAppointment.vue
View file @
1eeb1fa4
...
...
@@ -73,7 +73,7 @@
</view>
<view
class=
"top-item"
style=
"margin-top: 10px;"
>
<text>
上课时间
</text>
<text
class=
"t-item-r"
>
{{
data
.
StudyDateStr
}}
{{
data
.
StudyStartDate
}}
-
{{
data
.
StudyEndDate
}}
</text>
<text
class=
"t-item-r"
>
{{
data
.
StudyDateStr
}}
周
{{
WeekStr
}}
{{
data
.
StudyStartDate
}}
-
{{
data
.
StudyEndDate
}}
</text>
</view>
<view
class=
"top-item"
>
<text>
上课老师
</text>
...
...
@@ -164,11 +164,16 @@
},
classDay
:
1
,
ifvalue
:
1
,
WeekStr
:
''
,
}
},
onLoad
(
options
)
{
console
.
log
(
options
,
'options'
)
this
.
getPointCourseDetail
(
options
.
CourseId
)
if
(
options
&&
options
.
WeekStr
){
this
.
WeekStr
=
options
.
WeekStr
}
},
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
...
...
pages/appointment/personal/teacherOrderInfo.vue
View file @
1eeb1fa4
...
...
@@ -144,36 +144,41 @@
</view>
<view
class=
"orderInfo_List"
>
<view
class=
"stu_OrderRoom"
>
<view>
订单
列表
</view>
<view>
订单
数:
{{
dataList
.
OrderList
.
length
}}
</view>
<view>
报名
列表
</view>
<view>
报名
数:
{{
dataList
.
OrderList
.
length
}}
</view>
</view>
<view
class=
"teacherOrder_List"
v-for=
"(subItem,subIndex) in dataList.OrderList"
>
<view
style=
"text-align: right;margin:10px 0;"
>
<text
v-if=
"subItem.OrderStaus==2"
class=
"teach_InfoBtn"
@
click=
"goSureOrder(subItem)"
>
去确认
</text>
<text
v-if=
"subItem.OrderStaus==3"
style=
"color:#BBA16B;"
>
{{
subItem
.
OrderStausName
}}
</text>
<text
class=
"teach_InfoBtn"
style=
"margin-left:10px;"
v-if=
"subItem.OrderStaus==3"
@
click=
"sureWancheng(subItem)"
>
确认完成
</text>
<text
v-if=
"subItem.OrderStaus==4"
style=
"color:#969696;"
>
{{
subItem
.
OrderStausName
}}
</text>
<view
style=
"display: flex;flex-direction: row;align-items: center;justify-content: space-between;width: 100%;"
>
<view>
{{
subItem
.
CreateDate
}}
</view>
<view
style=
"text-align: right;margin:10px 0;"
>
<text
v-if=
"subItem.OrderStaus==2"
class=
"teach_InfoBtn"
@
click=
"goSureOrder(subItem)"
>
去确认
</text>
<text
v-if=
"subItem.OrderStaus==3"
style=
"color:#BBA16B;"
>
{{
subItem
.
OrderStausName
}}
</text>
<text
class=
"teach_InfoBtn"
style=
"margin-left:10px;"
v-if=
"subItem.OrderStaus==3"
@
click=
"sureWancheng(subItem)"
>
确认完成
</text>
<text
v-if=
"subItem.OrderStaus==4"
style=
"color:#969696;"
>
{{
subItem
.
OrderStausName
}}
</text>
</view>
</view>
<view
class=
"Torder_InnerList"
>
<view
style=
"display:flex;align-items: center;"
>
<image
mode=
"aspectFill"
:src=
"subItem.UserPhoto"
style=
"width: 28px; height: 28px;border-radius: 50%;"
></image>
<text
class=
"teacherName"
>
{{
subItem
.
UserName
}}
</text>
</view>
<view>
<image
style=
"width:12px;height:12px;margin-right:3px;"
src=
"../../../static/images/tookie.png"
alt=
""
></image>
{{
subItem
.
StudyDate
}}
(
{{
subItem
.
StudyDuration
}}{{
subItem
.
DurationUnit
}}
)
支付点数:
{{
subItem
.
ActualPointNum
}}
</view>
</view>
<view
class=
"Torder_InnerList"
>
<view>
支付点数:
{{
subItem
.
ActualPointNum
}}
</view>
<view>
下单时间:
{{
subItem
.
CreateDate
}}
<image
style=
"width:12px;height:12px;margin-right:3px;"
src=
"../../../static/images/tookie.png"
alt=
""
></image>
{{
subItem
.
StudyDate
}}
(
{{
subItem
.
StudyDuration
}}{{
subItem
.
DurationUnit
}}
)
</view>
</view>
<template
v-if=
"subItem.OrderStaus==2"
>
<textarea
style=
"height: 50px;width:
100%;margin-bottom:10
px;"
placeholder=
"请输入房间信息"
v-model=
"sureMsg.RoomInfo"
/>
<textarea
style=
"height: 50px;width:
calc(100vw - 65px);margin-bottom:10px;border: 1px solid #DFDDD8;padding: 5px;border-radius: 4
px;"
placeholder=
"请输入房间信息"
v-model=
"sureMsg.RoomInfo"
/>
</
template
>
<view
class=
"teacher_plateList"
v-if=
"subItem.RoomInfo&&subItem.OrderStaus!=2"
>
{{subItem.RoomInfo}}
...
...
pages/appointment/personal/teacherOrderList.vue
View file @
1eeb1fa4
...
...
@@ -65,13 +65,14 @@
<image
src=
"../../../static/images/dzf.png"
class=
"stu_StutasImg"
></image>
<view
class=
"student_Title"
>
<view
class=
"teacher_ClassName"
>
{{
item
.
CourseName
}}
</view>
<view
style=
"font-size: 13px;color: #12D9B0;"
v-if=
"item.ConfirmNum>0"
>
未确认
{{
item
.
ConfirmNum
}}
人
</view>
<!--
<text
v-if=
"item.OrderStaus==2"
style=
"color:#4699FC;"
>
待确认
</text>
<text
v-if=
"item.OrderStaus==3"
style=
"color:#BBA16B;"
>
待上课
</text>
<text
v-if=
"item.OrderStaus==4"
style=
"color:#969696;"
>
完成
</text>
-->
</view>
<view
style=
"display: flex;align-items: center;margin:15px 0 8px 0;"
>
<view
style=
"display:flex;align-items: center;"
>
<text
class=
"teacherName"
>
{{
item
.
OrderNum
}}
</text>
人
<text
class=
"teacherName"
>
报名
{{
item
.
OrderNum
}}
</text>
人
</view>
<view
class=
"stu_tookie"
style=
"display: flex;align-items: center;margin:3px 0 0 20px;"
>
<image
style=
"width:12px;height:12px;margin-right:3px;"
src=
"../../../static/images/tookie.png"
alt=
""
></image>
...
...
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