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
c336c3eb
Commit
c336c3eb
authored
Jul 09, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0dae588d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
37 deletions
+42
-37
vacationPlan-form.vue
src/components/schedul/vacationPlan-form.vue
+22
-13
courseInfo.vue
src/pages/classroom/courseInfo.vue
+2
-5
useRecord.vue
src/pages/classroom/useRecord.vue
+7
-11
vacationPlan.vue
src/pages/scheduling/vacationPlan.vue
+4
-2
studentManager.vue
src/pages/teacher/studentManager.vue
+7
-6
No files found.
src/components/schedul/vacationPlan-form.vue
View file @
c336c3eb
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
<div
class=
"col-12 Sysuser_Date"
>
<div
class=
"col-12 Sysuser_Date"
>
<q-field
filled
>
<q-field
filled
>
<template
v-slot:control
>
<template
v-slot:control
>
<el-date-picker
v-model=
"date"
value-format=
"yyyy-MM-dd"
type=
"daterange"
<el-date-picker
v-model=
"date"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
</q-field>
</q-field>
...
@@ -72,8 +72,8 @@
...
@@ -72,8 +72,8 @@
created
()
{
created
()
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
HolidayId
>
0
)
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
HolidayId
>
0
)
{
this
.
addMsg
=
this
.
saveObj
this
.
addMsg
=
this
.
saveObj
this
.
date
[
0
]
=
this
.
saveObj
.
StartTime
this
.
date
[
0
]
=
this
.
saveObj
.
StartTime
this
.
date
[
1
]
=
this
.
saveObj
.
EndTime
this
.
date
[
1
]
=
this
.
saveObj
.
EndTime
}
}
},
},
methods
:
{
methods
:
{
...
@@ -84,11 +84,20 @@
...
@@ -84,11 +84,20 @@
},
},
//保存菜单
//保存菜单
saveCourse
()
{
saveCourse
()
{
console
.
log
(
this
.
date
)
this
.
addMsg
.
StartTime
=
this
.
date
[
0
]
if
(
!
this
.
date
)
{
this
.
addMsg
.
EndTime
=
this
.
date
[
1
]
this
.
date
=
[
""
,
""
]
if
(
this
.
addMsg
.
StartTime
==
""
||
this
.
addMsg
.
EndTime
==
""
){
}
this
.
Success
(
'请选择时间'
)
this
.
addMsg
.
StartTime
=
this
.
date
[
0
]
this
.
addMsg
.
EndTime
=
this
.
date
[
1
]
console
.
log
(
97
,
this
.
date
,
this
.
addMsg
)
if
(
this
.
addMsg
.
StartTime
==
""
||
this
.
addMsg
.
EndTime
==
""
)
{
this
.
$q
.
notify
({
icon
:
"error"
,
color
:
"negative"
,
message
:
'请选择时间'
,
position
:
"top"
})
return
return
}
}
setHolidayPlan
(
this
.
addMsg
).
then
(
res
=>
{
setHolidayPlan
(
this
.
addMsg
).
then
(
res
=>
{
...
...
src/pages/classroom/courseInfo.vue
View file @
c336c3eb
...
@@ -301,11 +301,9 @@
...
@@ -301,11 +301,9 @@
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
id
=
this
.
$route
.
query
.
id
;
}
}
},
},
mounted
(){
mounted
(){
this
.
getdata
();
this
.
getdata
();
},
},
methods
:
{
methods
:
{
getdata
(){
getdata
(){
...
@@ -352,7 +350,6 @@
...
@@ -352,7 +350,6 @@
if
(
res
.
Code
===
1
){
if
(
res
.
Code
===
1
){
this
.
initPlayer
(
res
.
Data
.
URL
,
res
.
Data
.
VideoImg
,
auth
)
this
.
initPlayer
(
res
.
Data
.
URL
,
res
.
Data
.
VideoImg
,
auth
)
}
}
})
})
}
}
},
},
...
...
src/pages/classroom/useRecord.vue
View file @
c336c3eb
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
@
input=
"getClassRoomTimeList"
standout=
"bg-primary text-white"
option-value=
"RoomId"
<q-select
@
input=
"getClassRoomTimeList"
standout=
"bg-primary text-white"
option-value=
"RoomId"
option-label=
"RoomName"
v-model=
"msg.ClassRoomId"
:options=
"classroomopt"
emit-value
map-options
option-label=
"RoomName"
v-model=
"msg.ClassRoomId"
:options=
"classroomopt"
emit-value
map-options
use-input
clearable
label=
"关联教室"
@
filter=
"filterFn"
>
label=
"关联教室"
@
filter=
"filterFn"
>
<template
v-slot:no-option
>
<template
v-slot:no-option
>
<q-item>
<q-item>
...
@@ -78,10 +78,8 @@
...
@@ -78,10 +78,8 @@
},
},
tbodayData
:
[],
tbodayData
:
[],
schoolopt
:
[],
schoolopt
:
[],
classroomopt
:
[{
classroomopt
:
[],
RoomName
:
"不限"
,
AllClassroomOpt
:[]
RoomId
:
0
}],
};
};
},
},
created
()
{
created
()
{
...
@@ -109,10 +107,10 @@
...
@@ -109,10 +107,10 @@
filterFn
(
val
,
update
)
{
filterFn
(
val
,
update
)
{
update
(()
=>
{
update
(()
=>
{
if
(
val
===
''
)
{
if
(
val
===
''
)
{
this
.
classroomopt
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
classroomo
pt
))
this
.
classroomopt
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllClassroomO
pt
))
}
else
{
}
else
{
const
needle
=
val
.
toLowerCase
();
const
needle
=
val
.
toLowerCase
();
this
.
classroomopt
=
this
.
classroomo
pt
.
filter
(
v
=>
v
.
RoomName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
this
.
classroomopt
=
this
.
AllClassroomO
pt
.
filter
(
v
=>
v
.
RoomName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
}
}
})
})
},
},
...
@@ -142,6 +140,7 @@
...
@@ -142,6 +140,7 @@
RoomId
:
0
RoomId
:
0
}
}
this
.
classroomopt
=
[
obj
,
...
res
[
0
].
RoomList
]
this
.
classroomopt
=
[
obj
,
...
res
[
0
].
RoomList
]
this
.
AllClassroomOpt
=
[
obj
,
...
res
[
0
].
RoomList
]
}
}
}
}
...
@@ -159,6 +158,7 @@
...
@@ -159,6 +158,7 @@
RoomId
:
0
RoomId
:
0
}
}
this
.
classroomopt
=
[
obj
,
...
res
[
0
].
RoomList
]
this
.
classroomopt
=
[
obj
,
...
res
[
0
].
RoomList
]
this
.
AllClassroomOpt
=
[
obj
,
...
res
[
0
].
RoomList
]
}
}
this
.
getClassRoomTimeList
()
this
.
getClassRoomTimeList
()
...
@@ -179,10 +179,6 @@
...
@@ -179,10 +179,6 @@
this
.
msg
.
ClassRoomId
=
val
.
RoomId
this
.
msg
.
ClassRoomId
=
val
.
RoomId
this
.
msg
.
SchoolId
=
val
.
schoolId
this
.
msg
.
SchoolId
=
val
.
schoolId
this
.
getClassRoomTimeList
();
this
.
getClassRoomTimeList
();
this
.
$forceUpdate
()
},
dateChoose
(
value
,
reason
,
details
)
{
},
},
//获取结束日期
//获取结束日期
getEndTime
(
date
)
{
getEndTime
(
date
)
{
...
...
src/pages/scheduling/vacationPlan.vue
View file @
c336c3eb
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<q-field
filled
>
<q-field
filled
>
<template
v-slot:control
>
<template
v-slot:control
>
<el-date-picker
v-model=
"dateList"
@
change=
"resetSearch()"
value-format=
"yyyy-MM-dd"
type=
"daterange"
style=
"border:none;"
<el-date-picker
v-model=
"dateList"
@
change=
"resetSearch()"
value-format=
"yyyy-MM-dd"
type=
"daterange"
style=
"border:none;"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
</q-field>
</q-field>
...
@@ -145,12 +145,14 @@
...
@@ -145,12 +145,14 @@
},
},
methods
:
{
methods
:
{
getList
()
{
getList
()
{
if
(
!
this
.
dateList
){
this
.
dateList
=
[
""
,
""
]
}
this
.
msg
.
StartTime
=
this
.
dateList
[
0
]
this
.
msg
.
StartTime
=
this
.
dateList
[
0
]
this
.
msg
.
EndTime
=
this
.
dateList
[
1
]
this
.
msg
.
EndTime
=
this
.
dateList
[
1
]
this
.
loading
=
true
this
.
loading
=
true
getHolidayPlanList
(
this
.
msg
).
then
(
res
=>
{
getHolidayPlanList
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
console
.
log
(
185
,
res
)
if
(
res
.
Code
===
1
)
{
if
(
res
.
Code
===
1
)
{
this
.
data
=
res
.
Data
.
PageData
this
.
data
=
res
.
Data
.
PageData
this
.
pageCount
=
res
.
Data
.
PageCount
this
.
pageCount
=
res
.
Data
.
PageCount
...
...
src/pages/teacher/studentManager.vue
View file @
c336c3eb
...
@@ -146,6 +146,12 @@
...
@@ -146,6 +146,12 @@
label
:
'学员名称'
,
label
:
'学员名称'
,
field
:
'GuestName'
,
field
:
'GuestName'
,
align
:
'left'
,
align
:
'left'
,
},
{
name
:
'Mobile'
,
label
:
'电话'
,
field
:
'Mobile'
,
align
:
'left'
},
},
{
{
name
:
'ClassName'
,
name
:
'ClassName'
,
...
@@ -165,12 +171,7 @@
...
@@ -165,12 +171,7 @@
field
:
'TotalPlanNum'
,
field
:
'TotalPlanNum'
,
align
:
'left'
align
:
'left'
},
},
{
name
:
'Mobile'
,
label
:
'电话'
,
field
:
'Mobile'
,
align
:
'left'
},
{
{
name
:
'IsRenewOrder'
,
name
:
'IsRenewOrder'
,
label
:
'是否是续课订单'
,
label
:
'是否是续课订单'
,
...
...
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