Commit af8f4d67 authored by huai.li's avatar huai.li

修复

parent a678a008
<template>
<section>
<sidePopup ref="scheduleSidePopup" title="新建待办事项" :width="40">
<sidePopup ref="scheduleSidePopup" title="新建待办事项" :width="40" @update:close="() => btnClose()">
<ScheduleForm
:model="model">
</ScheduleForm>
......@@ -59,6 +59,12 @@ export default {
this.$refs.scheduleSidePopup.close()
},
btnClose () {
debugger
Object.keys(this.model).forEach(item => {
this.model[item] = ''
})
},
save () {
let _params = Object.assign({}, setModule(this.model, 'Schedules'))
let _apiUrl = !this.model.id ? api.saveNewSchedule : api.saveEditSchedule
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment