|
|
@@ -2,27 +2,27 @@ |
|
|
|
<view class="page"> |
|
|
|
<view v-if="ready"> |
|
|
|
<l-datetime-picker |
|
|
|
@input="setValue('LR_OA_Schedule.F_StartDate', $event)" |
|
|
|
:value="getValue('LR_OA_Schedule.F_StartDate')" |
|
|
|
@input="setValue('Schedule.F_StartDate', $event)" |
|
|
|
:value="getValue('Schedule.F_StartDate')" |
|
|
|
:disabled="!edit" |
|
|
|
title="开始时间" |
|
|
|
/> |
|
|
|
<l-datetime-picker |
|
|
|
@input="setValue('LR_OA_Schedule.F_EndDate', $event)" |
|
|
|
:value="getValue('LR_OA_Schedule.F_EndDate')" |
|
|
|
@input="setValue('Schedule.F_EndDate', $event)" |
|
|
|
:value="getValue('Schedule.F_EndDate')" |
|
|
|
:disabled="!edit" |
|
|
|
title="结束时间" |
|
|
|
/> |
|
|
|
<l-input |
|
|
|
@input="setValue('LR_OA_Schedule.F_Early', $event)" |
|
|
|
:value="getValue('LR_OA_Schedule.F_Early')" |
|
|
|
@input="setValue('Schedule.F_Early', $event)" |
|
|
|
:value="getValue('Schedule.F_Early')" |
|
|
|
:disabled="!edit" |
|
|
|
title="提前提醒" |
|
|
|
required |
|
|
|
/> |
|
|
|
<l-textarea |
|
|
|
@input="setValue('LR_OA_Schedule.F_ScheduleContent', $event)" |
|
|
|
:value="getValue('LR_OA_Schedule.F_ScheduleContent')" |
|
|
|
@input="setValue('Schedule.F_ScheduleContent', $event)" |
|
|
|
:value="getValue('Schedule.F_ScheduleContent')" |
|
|
|
:readonly="!edit" |
|
|
|
title="日程内容" |
|
|
|
/> |
|
|
@@ -86,7 +86,7 @@ export default { |
|
|
|
|
|
|
|
// 表单项数据结构 |
|
|
|
scheme: { |
|
|
|
LR_OA_Schedule: { |
|
|
|
Schedule: { |
|
|
|
F_StartDate: { type: 'datetime', title: '开始时间', dateformat: '1' }, |
|
|
|
F_EndDate: { type: 'datetime', title: '结束时间', dateformat: '1' }, |
|
|
|
F_Early: { type: 'text', title: '提前提醒', verify: 'NumOrNull' }, |
|
|
@@ -97,7 +97,7 @@ export default { |
|
|
|
|
|
|
|
// 数据源 |
|
|
|
dataSource: { |
|
|
|
LR_OA_Schedule: { |
|
|
|
Schedule: { |
|
|
|
}, |
|
|
|
|
|
|
|
} |
|
|
|