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
7f55b579
Commit
7f55b579
authored
Dec 10, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
23155b25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
7 deletions
+25
-7
class-form.vue
src/components/course/class-form.vue
+25
-7
No files found.
src/components/course/class-form.vue
View file @
7f55b579
...
...
@@ -203,7 +203,7 @@
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.ClassStyle"
ref=
"ClassStyle"
:options=
"classSetList"
label=
"排课安排"
:dense=
"false"
class=
"col-6 q-pr-lg q-pr-lg"
emit-value
map-options
/>
emit-value
map-options
@
input=
"changeClassStyle(objOption.ClassStyle)"
/>
</div>
</div>
<div
class=
"row wrap"
v-if=
"objOption.ClassStyle==1"
>
...
...
@@ -417,6 +417,10 @@
this
.
initObj
()
},
methods
:
{
//下拉选择改变
changeClassStyle
(
style
)
{
this
.
checkedDays
=
[];
},
//初始化表单
initObj
()
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
ClassId
>
0
)
{
...
...
@@ -429,13 +433,7 @@
this
.
objOption
.
CouseId
=
TempData
.
CouseId
;
this
.
objOption
.
Teacher_Id
=
TempData
.
Teacher_Id
;
this
.
objOption
.
Assist_Id
=
TempData
.
Assist_Id
;
this
.
objOption
.
Group_Id
=
TempData
.
Group_Id
;
this
.
objOption
.
School_Id
=
TempData
.
School_Id
;
this
.
objOption
.
CreateBy
=
TempData
.
CreateBy
;
this
.
objOption
.
CreateTime
=
TempData
.
CreateTime
;
this
.
objOption
.
UpdateBy
=
TempData
.
UpdateBy
;
this
.
objOption
.
UpdateTime
=
TempData
.
UpdateTime
;
this
.
objOption
.
Status
=
TempData
.
Status
;
this
.
objOption
.
ClassPersion
=
TempData
.
ClassPersion
;
this
.
objOption
.
OpenTime
=
TempData
.
OpenTime
;
//暂无
this
.
objOption
.
EndOrderTime
=
TempData
.
EndOrderTime
;
...
...
@@ -451,6 +449,26 @@
this
.
objOption
.
ClassStatus
=
TempData
.
ClassStatus
;
this
.
objOption
.
InnerRemark
=
TempData
.
InnerRemark
;
this
.
objOption
.
ClassType
=
TempData
.
ClassType
;
//默认时间
if
(
TempData
.
DefaultTimeList
&&
TempData
.
DefaultTimeList
.
length
>
0
)
{
this
.
DefaultPlanTimeList
=
TempData
.
DefaultTimeList
;
}
if
(
TempData
.
WeekDayList
&&
TempData
.
WeekDayList
.
length
>
0
)
{
switch
(
this
.
objOption
.
ClassStyle
)
{
//按周排课
case
1
:
this
.
checkedDays
=
TempData
.
WeekDayList
;
break
;
//按月排课
case
2
:
this
.
checkedDays
=
TempData
.
WeekDayList
;
break
;
//固定日期排课
case
3
:
this
.
checkedDays
=
TempData
.
WeekDayList
;
break
;
}
}
if
(
TempData
.
ClassStepPriceList
&&
TempData
.
ClassStepPriceList
.
length
>
0
)
{
this
.
ladderPriceList
=
TempData
.
ClassStepPriceList
;
}
...
...
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