|
|
@@ -14,25 +14,25 @@ |
|
|
|
:range="dataSource.MeetingManagement.MeetingPlace" |
|
|
|
title="会议地点" |
|
|
|
/> |
|
|
|
<l-date-picker |
|
|
|
<l-datetime-picker |
|
|
|
@input="setValue('MeetingManagement.BeginTime', $event)" |
|
|
|
:value="getValue('MeetingManagement.BeginTime')" |
|
|
|
:disabled="!edit" |
|
|
|
title="开始时间" |
|
|
|
/> |
|
|
|
<l-date-picker |
|
|
|
<l-datetime-picker |
|
|
|
@input="setValue('MeetingManagement.EndTime', $event)" |
|
|
|
:value="getValue('MeetingManagement.EndTime')" |
|
|
|
:disabled="!edit" |
|
|
|
title="结束时间" |
|
|
|
/> |
|
|
|
<l-organize-picker |
|
|
|
<!-- <l-organize-picker |
|
|
|
@input="setValue('MeetingManagement.CreateUser', $event)" |
|
|
|
:value="getValue('MeetingManagement.CreateUser')" |
|
|
|
:readonly="!edit" |
|
|
|
type="user" |
|
|
|
title="申请人" |
|
|
|
/> |
|
|
|
/> --> |
|
|
|
<l-input |
|
|
|
@input="setValue('MeetingManagement.Linkman', $event)" |
|
|
|
:value="getValue('MeetingManagement.Linkman')" |
|
|
@@ -75,7 +75,7 @@ |
|
|
|
/> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view v-if="ready" class="bg-white margin-tb padding" style="padding-top: 0; overflow: hidden;"> |
|
|
|
<view v-if="ready&&(origin.MeetingManagement.CheckStatus=='0'||edit)" class="bg-white margin-tb padding" style="padding-top: 0; overflow: hidden;"> |
|
|
|
<l-button v-if="edit" @click="action('save')" size="lg" color="green" class="block margin-top" block> |
|
|
|
保存草稿 |
|
|
|
</l-button> |
|
|
@@ -136,15 +136,15 @@ export default { |
|
|
|
MeetingManagement: { |
|
|
|
MeetingTitle: { type: 'text', title: '会议主题' ,verify:"NotNull"}, |
|
|
|
MeetingPlace: { type: 'select', title: '会议地点', dataSource: '0',verify:"NotNull" }, |
|
|
|
BeginTime: { type: 'datetime', title: '开始时间', dateformat: '0',verify:"NotNull" }, |
|
|
|
EndTime: { type: 'datetime', title: '结束时间', dateformat: '0',verify:"NotNull" }, |
|
|
|
BeginTime: { type: 'datetime', title: '开始时间', dateformat: '1',verify:"NotNull" }, |
|
|
|
EndTime: { type: 'datetime', title: '结束时间', dateformat: '1',verify:"NotNull" }, |
|
|
|
InternalParticipants: { type: 'organize', title: '参会人员', dataType: 'user',verify:"NotNull" }, |
|
|
|
RecordPerson: { type: 'organize', title: '会议记录者', dataType: 'user' }, |
|
|
|
Content: { type: 'texteditor', title: '会议内容',verify:"NotNull" }, |
|
|
|
Linkman: { type: 'text', title: '联系人',verify:"NotNull" }, |
|
|
|
LinkPhone: { type: 'text', title: '联系方式',verify:"Mobile" }, |
|
|
|
Files: { type: 'upload', title: '附件上传' }, |
|
|
|
CreateUser: { type: 'organize', title: '申请人', dataType: 'user',verify:"NotNull" }, |
|
|
|
// CreateUser: { type: 'organize', title: '申请人', dataType: 'user',verify:"NotNull" }, |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
@@ -188,9 +188,11 @@ export default { |
|
|
|
async fetchForm() { |
|
|
|
if (this.mode === 'create') { |
|
|
|
this.origin = await this.getDefaultForm() |
|
|
|
console.log(this.origin) |
|
|
|
} else { |
|
|
|
const result = await this.HTTP_GET('learun/adms/PersonnelManagement/MeetingManagement/form', this.id) |
|
|
|
this.origin = await this.formatFormData(result) |
|
|
|
console.log(this.origin) |
|
|
|
} |
|
|
|
this.current = this.COPY(this.origin) |
|
|
|
}, |
|
|
|