Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
Details
Activity
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
daywrite
bms-vue-obear
Commits
30032cad
Commit
30032cad
authored
Mar 18, 2019
by
huai.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新创建表单样式
parent
3dd7828c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
scheduleModal.vue
src/components/schedule/scheduleModal.vue
+7
-1
No files found.
src/components/schedule/scheduleModal.vue
View file @
30032cad
<
template
>
<
template
>
<section>
<section>
<el-dialog
title=
"新建待办事项"
:visible
.
sync=
"diaVis"
:modal-append-to-body=
"false"
>
<el-dialog
title=
"新建待办事项"
:visible
.
sync=
"diaVis"
:modal-append-to-body=
"false"
:before-close=
"handleClose"
>
<ScheduleForm
<ScheduleForm
:model=
"model"
>
:model=
"model"
>
</ScheduleForm>
</ScheduleForm>
...
@@ -47,6 +47,12 @@ export default {
...
@@ -47,6 +47,12 @@ export default {
this
.
diaVis
=
true
this
.
diaVis
=
true
},
},
handleClose
()
{
Object
.
keys
(
this
.
model
).
forEach
(
item
=>
{
this
.
model
[
item
]
=
''
})
},
save
()
{
save
()
{
requestAPI
(
Object
.
assign
({},
api
.
saveNewSchedule
,
{
method
:
'POST'
}),
this
.
model
)
requestAPI
(
Object
.
assign
({},
api
.
saveNewSchedule
,
{
method
:
'POST'
}),
this
.
model
)
.
then
((
res
)
=>
{
.
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