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
033ad8aa
Commit
033ad8aa
authored
Dec 09, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
995d3500
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
4 deletions
+29
-4
class-form.vue
src/components/course/class-form.vue
+29
-4
No files found.
src/components/course/class-form.vue
View file @
033ad8aa
...
...
@@ -52,6 +52,7 @@
background-color
:
#e6e3fe
;
color
:
#8175FB
;
}
.CLM-Form
.Emp_Line
{
width
:
3px
;
height
:
10px
;
...
...
@@ -63,7 +64,7 @@
display
:
flex
;
align-items
:
center
;
font-size
:
12px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
</
style
>
...
...
@@ -234,7 +235,7 @@
</div>
<div
class=
"row wrap"
v-if=
"objOption.ClassStyle==2||objOption.ClassStyle==3"
>
<div
class=
"col-12"
>
<q-date
v-model=
"checkedDays"
minimal
multiple
style=
"width:100%"
/>
<q-date
v-model=
"checkedDays"
minimal
multiple
style=
"width:100%"
/>
</div>
</div>
<div
class=
"row wrap"
style=
"margin:20px 0;"
>
...
...
@@ -263,6 +264,17 @@
<q-input
filled
stack-label
maxlength=
"20"
v-model=
"objOption.ClassHours"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"学习课时"
/>
</div>
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.ClassType"
ref=
"CouseId"
:options=
"classTypeList"
label=
"班级类型"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
</div>
</div>
<div
class=
"row wrap"
style=
"margin-top:30px;"
>
<div
class=
"col-12"
>
<q-input
filled
stack-label
maxlength=
"2000"
v-model=
"objOption.InnerRemark"
:dense=
"false"
class=
"col-12 q-pr-lg q-pb-lg"
label=
"对内备注"
/>
</div>
</div>
</q-card-section>
<q-separator
/>
...
...
@@ -325,7 +337,8 @@
ClassStatus
:
1
,
//班级状态
InnerRemark
:
''
,
//对内备注
OutRemark
:
''
,
//对外备注
CompleteProgress
:
0
//完成进度
CompleteProgress
:
0
,
//完成进度
ClassType
:
0
,
//班级类型
},
optionTitle
:
""
,
saveCourseLoading
:
false
,
...
...
@@ -348,6 +361,16 @@
Name
:
'约课'
,
Id
:
4
}],
//班级类型
classTypeList
:
[{
Id
:
1
,
Name
:
"学生班"
},
{
Id
:
2
,
Name
:
"社会班"
},
],
//周几
weekList
:
[{
label
:
'周一'
,
...
...
@@ -426,6 +449,8 @@
this
.
objOption
.
ClassHours
=
TempData
.
ClassHours
;
this
.
objOption
.
ClassStyle
=
TempData
.
ClassStyle
;
this
.
objOption
.
ClassStatus
=
TempData
.
ClassStatus
;
this
.
objOption
.
InnerRemark
=
TempData
.
InnerRemark
;
this
.
objOption
.
ClassType
=
TempData
.
ClassType
;
if
(
TempData
.
ClassStepPriceList
&&
TempData
.
ClassStepPriceList
.
length
>
0
)
{
this
.
ladderPriceList
=
TempData
.
ClassStepPriceList
;
}
...
...
@@ -495,7 +520,7 @@
return
;
}
//选中的日期或星期
this
.
objOption
.
WeekDayList
=
this
.
checkedDays
;
this
.
objOption
.
WeekDayList
=
this
.
checkedDays
;
//默认上课时间
this
.
objOption
.
DefaultPlanTimeList
=
this
.
DefaultPlanTimeList
;
saveClass
(
this
.
objOption
).
then
(
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