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
ea4a1da9
Commit
ea4a1da9
authored
Feb 03, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e8b5b8b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
appointment.vue
pages/appointment/appointment.vue
+11
-5
confirmAppointment.vue
pages/appointment/confirmAppointment.vue
+5
-3
No files found.
pages/appointment/appointment.vue
View file @
ea4a1da9
...
@@ -225,10 +225,7 @@ import tabbars from '@/components/tabbar/index';
...
@@ -225,10 +225,7 @@ import tabbars from '@/components/tabbar/index';
screenshow
:
false
,
screenshow
:
false
,
screenList
:[],
screenList
:[],
contents
:[],
contents
:[],
contents2
:[
contents2
:[],
{
'ID'
:
0
,
Name
:
'李老师'
},
{
'ID'
:
1
,
Name
:
'林老师'
},
],
subscribeList
:[],
subscribeList
:[],
weekMode
:
true
,
weekMode
:
true
,
msg
:{
msg
:{
...
@@ -236,7 +233,8 @@ import tabbars from '@/components/tabbar/index';
...
@@ -236,7 +233,8 @@ import tabbars from '@/components/tabbar/index';
SelectEndTime
:
''
,
SelectEndTime
:
''
,
CourseClassId
:
0
,
CourseClassId
:
0
,
TeacherId
:
0
,
TeacherId
:
0
,
}
},
showteacher
:
0
,
//0为约课 1位老师进去查看自己的约课情况
}
}
},
},
...
@@ -251,6 +249,14 @@ import tabbars from '@/components/tabbar/index';
...
@@ -251,6 +249,14 @@ import tabbars from '@/components/tabbar/index';
this
.
showtabbars
=
false
this
.
showtabbars
=
false
}
}
}
}
if
(
options
&&
options
.
teacher
){
//判断是否个人老师进入页面
this
.
showteacher
=
options
.
teacher
;
this
.
list
=
[{
name
:
'综合排序'
},
{
name
:
'课程'
}],
}
this
.
msg
.
SelectStartTime
=
formatDate
(
new
Date
(),
'yyyy-MM-dd'
),
this
.
msg
.
SelectStartTime
=
formatDate
(
new
Date
(),
'yyyy-MM-dd'
),
this
.
msg
.
SelectEndTime
=
formatDate
(
new
Date
(),
'yyyy-MM-dd'
),
this
.
msg
.
SelectEndTime
=
formatDate
(
new
Date
(),
'yyyy-MM-dd'
),
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
...
...
pages/appointment/confirmAppointment.vue
View file @
ea4a1da9
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</view>
</view>
<view
class=
"box-top"
style=
"margin-top: 15px;"
v-if=
" data.StudentNumType==1"
>
<view
class=
"box-top"
style=
"margin-top: 15px;"
v-if=
" data.StudentNumType==1"
>
<view
class=
"top-item"
>
<view
class=
"top-item"
>
<text>
预约课节
</text>
<text>
课时数量
</text>
<input
class=
"uni-input "
type=
"number"
v-model=
"classDay"
style=
'text-align: right;'
placeholder=
"输入课节"
@
blur=
'totalsc'
/>
<input
class=
"uni-input "
type=
"number"
v-model=
"classDay"
style=
'text-align: right;'
placeholder=
"输入课节"
@
blur=
'totalsc'
/>
</view>
</view>
<view
class=
"top-item"
style=
"border: none;"
@
click=
"show=true"
>
<view
class=
"top-item"
style=
"border: none;"
@
click=
"show=true"
>
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
totalsc
(){
//总时长计算和点数的计算
totalsc
(){
//总时长计算和点数的计算
if
(
this
.
classDay
<
this
.
ifvalue
){
if
(
this
.
classDay
<
this
.
ifvalue
){
uni
.
showToast
({
uni
.
showToast
({
title
:
"不能小于"
+
this
.
ifvalue
+
'课
节
'
,
title
:
"不能小于"
+
this
.
ifvalue
+
'课
时数量
'
,
icon
:
'none'
icon
:
'none'
})
})
...
@@ -217,9 +217,11 @@
...
@@ -217,9 +217,11 @@
},
},
confirm
(
e
){
confirm
(
e
){
this
.
addMsg
.
StudyDate
=
e
.
hour
+
':'
+
e
.
minute
this
.
addMsg
.
StudyDate
=
e
.
hour
+
':'
+
e
.
minute
let
msg
=
this
.
addMsg
msg
.
StudyDateStr
=
this
.
data
.
StudyDateStr
+
' '
+
this
.
addMsg
.
StudyDate
+
':00'
this
.
request2
({
this
.
request2
({
url
:
'/api/AppletPoint/GetTeacherCourseOrder'
,
url
:
'/api/AppletPoint/GetTeacherCourseOrder'
,
data
:
this
.
addM
sg
data
:
m
sg
},
},
res
=>
{
res
=>
{
},
},
...
...
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