|
@@ -154,13 +154,6 @@ import moment from 'moment'
|
|
import 'moment/locale/zh-cn'
|
|
import 'moment/locale/zh-cn'
|
|
import JEditor from '../../../../components/jeecg/JEditor.vue'
|
|
import JEditor from '../../../../components/jeecg/JEditor.vue'
|
|
import { scheduleAdd, scheduleUpdate } from '@api/oa/cd-schedule'
|
|
import { scheduleAdd, scheduleUpdate } from '@api/oa/cd-schedule'
|
|
-// import { mapGetters } from 'vuex'
|
|
|
|
-// import { defineComponent, ref } from 'vue'
|
|
|
|
-// import api from '@/api'
|
|
|
|
-// import { getAction, deleteAction, putAction, postAction } from '@/api/manage'
|
|
|
|
-// import { extend } from 'dayjs'
|
|
|
|
-// import { defineComponent, ref } from 'vue'
|
|
|
|
-// import JEditor from '@views/jeecg/JEditor.vue'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'SavePlan',
|
|
name: 'SavePlan',
|
|
@@ -173,11 +166,10 @@ export default {
|
|
formLayout: 'horizontal',
|
|
formLayout: 'horizontal',
|
|
addForm: this.$form.createForm(this, { name: 'coordinated' }),
|
|
addForm: this.$form.createForm(this, { name: 'coordinated' }),
|
|
formData: {}, // 表单数据(回显)
|
|
formData: {}, // 表单数据(回显)
|
|
- timeList: [], // 开始/结束时间集合
|
|
|
|
|
|
+ timeList: [], // 开始 + 结束时间
|
|
isDate: false, // 默认无时分秒
|
|
isDate: false, // 默认无时分秒
|
|
smallText: '', // 富文本内容
|
|
smallText: '', // 富文本内容
|
|
title: '' // 弹框头部
|
|
title: '' // 弹框头部
|
|
- // checked: true,
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
props: {
|
|
props: {
|
|
@@ -204,7 +196,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 回显表单的赋值
|
|
// 回显表单的赋值
|
|
getFormInfo (e) {
|
|
getFormInfo (e) {
|
|
- console.log('点击日程ID>>', this.formData.id)
|
|
|
|
|
|
+ // console.log('点击日程ID>>', this.formData.id)
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.addForm.setFieldsValue({
|
|
this.addForm.setFieldsValue({
|
|
title: this.formData.title,
|
|
title: this.formData.title,
|