Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
2f6d1b86
Commit
2f6d1b86
authored
Nov 20, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加期数时观摩老师下面增加一个 是否将带班老师加入观摩班(is_add_teacher_to_class) 默认否
parent
0a9571f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
newDialog.vue
src/components/periods/newDialog.vue
+11
-1
No files found.
src/components/periods/newDialog.vue
View file @
2f6d1b86
...
...
@@ -65,6 +65,13 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"将带班老师加入观摩班"
v-if =
"!form.id"
label-width=
"200"
>
<el-switch
v-model=
"form.is_add_teacher_to_class"
active-color=
"#13ce66"
inactive-color=
"#eee"
>
</el-switch>
</el-form-item>
<el-form-item
label=
"不上课日期"
>
<el-select
v-model=
"form.rest_week_day"
multiple
placeholder=
"请选择"
>
<el-option
...
...
@@ -96,7 +103,9 @@
data
(){
return
{
loading
:
false
,
form
:
{},
form
:
{
is_add_teacher_to_class
:
false
},
show
:
false
,
viewTeacher
:
''
,
pickerOptions1
:
{
...
...
@@ -203,6 +212,7 @@
start_at
:
this
.
form
.
start_at
,
rest_week_day
:
this
.
form
.
rest_week_day
?
this
.
form
.
rest_week_day
.
join
(
','
)
:
''
}
json
.
is_add_teacher_to_class
=
this
.
form
.
is_add_teacher_to_class
?
1
:
0
;
if
(
this
.
form
.
id
)
{
getEditPeriodsApi
(
this
.
form
.
id
,
json
).
then
(
res
=>
{
this
.
$message
({
...
...
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