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
bac47a48
Commit
bac47a48
authored
Jul 01, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9820f86d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
class-form.vue
src/components/course/class-form.vue
+19
-6
No files found.
src/components/course/class-form.vue
View file @
bac47a48
...
...
@@ -277,8 +277,9 @@
<tbody
v-for=
"(nItem,nIndex) in DefaultPlanTimeList"
:key=
"nIndex+10000"
>
<tr
v-for=
"(sItem,sIndex) in nItem.TimeList"
>
<td
:rowspan=
"nItem.TimeList.length"
v-if=
"sIndex==0"
style=
"position:relative;"
>
<q-select
filled
style=
"width:220px;"
stack-label
multiple
v-model=
"nItem.DateList"
ref=
"DateList"
:options=
"checkedDays"
:label=
"objOption.ClassStyle==1?'选择周几':'选择日期'"
:dense=
"false"
class=
"col-6"
emit-value
map-options
clearable
>
<q-select
filled
style=
"width:220px;"
stack-label
multiple
v-model=
"nItem.DateList"
ref=
"DateList"
:options=
"checkedDays"
:label=
"objOption.ClassStyle==1?'选择周几':'选择日期'"
:dense=
"false"
class=
"col-6"
emit-value
map-options
clearable
>
</q-select>
<a
@
click=
"deletePlan(nIndex)"
style=
"color:blue;cursor:pointer;position:absolute;"
>
删除
</a>
</td>
...
...
@@ -307,9 +308,10 @@
class=
"col-6 q-pr-lg q-pb-lg"
label=
"学习课时"
@
keyup
.
native=
"checkInteger(objOption,'ClassHours')"
/>
</div>
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"CTypeId"
option-label=
"CTypeName"
v-model=
"objOption.ClassType"
ref=
"CouseId"
:options=
"classTypeList"
label=
"班级类型"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
<q-select
label=
"课时分钟数"
filled
stack-label
v-model=
"objOption.ClassHourMinute"
:options=
"ClassHourMinuteArray"
option-value=
"Id"
option-label=
"Name"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
>
</q-select>
</div>
</div>
<div
class=
"row wrap"
style=
"margin-top:30px;"
>
...
...
@@ -384,6 +386,7 @@
OutRemark
:
''
,
//对外备注
CompleteProgress
:
0
,
//完成进度
ClassType
:
1
,
//班级类型
ClassHourMinute
:
45
,
//课时分钟数
},
optionTitle
:
""
,
saveCourseLoading
:
false
,
...
...
@@ -439,10 +442,19 @@
value
:
'7'
,
icon
:
7
}],
ClassHourMinuteArray
:
[{
Id
:
45
,
Name
:
45
},
{
Id
:
60
,
Name
:
60
},
],
//选中日期/星期
checkedDays
:
[],
//默认上课时间数组
DefaultPlanTimeList
:
[
],
DefaultPlanTimeList
:
[],
}
},
created
()
{
...
...
@@ -513,6 +525,7 @@
this
.
objOption
.
ClassStatus
=
TempData
.
ClassStatus
;
this
.
objOption
.
InnerRemark
=
TempData
.
InnerRemark
;
this
.
objOption
.
ClassType
=
TempData
.
ClassType
;
this
.
objOption
.
ClassHourMinute
=
TempData
.
ClassHourMinute
;
//默认时间
if
(
TempData
.
DefaultTimeList
&&
TempData
.
DefaultTimeList
.
length
>
0
)
{
this
.
DefaultPlanTimeList
=
TempData
.
DefaultTimeList
;
...
...
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