@@ -285,7 +285,7 @@ export default {
this.$message.success('新增成功')
this.addForm.resetFields() // 清空表单
this.$refs.JEditor.myValue = ''
- this.fatherMethod()
+ this.calTableMethod()
}
})
@@ -183,6 +183,14 @@ export default {
created () {
this.getplanList()
},
+ watch:{
+ planList(newVal){
+ newVal.map(item=>{
+ item.startTime = item.startTime.substring(0,10)
+ item.endTime = item.endTime.substring(0,10)
+ })
+ }
+ },
methods: {
// 分页查询 日程列表
getplanList () {