浏览代码

app2.0 日程安排去掉筛选 修改页面scheme表单名为Schedule

娄底高职分支
杨晓琪 2 年前
父节点
当前提交
3685a63cca
共有 2 个文件被更改,包括 12 次插入11 次删除
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/Schedule/list.vue
  2. +11
    -10
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/Schedule/single.vue

+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/Schedule/list.vue 查看文件

@@ -3,7 +3,7 @@
<!-- 主列表页 -->
<view :class="sideOpen ? 'show' : ''" class="mainpage" style="padding-top: 80rpx;">
<!-- 顶部条目/分页信息栏 -->
<l-customlist-banner @buttonClick="sideOpen = true">{{ tips }}</l-customlist-banner>
<l-customlist-banner :buttonShow="false" @buttonClick="sideOpen = true">{{ tips }}</l-customlist-banner>
<!-- 滚动列表,跨端支持上拉/下拉 -->
<l-scroll-list v-if="ready" @pullDown="pullDown" @toBottom="fetchList()" ref="list">


+ 11
- 10
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/Schedule/single.vue 查看文件

@@ -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: {
},
}
@@ -136,6 +136,7 @@ export default {
} else {
const result = await this.HTTP_GET('learun/adms/PersonnelManagement/Schedule/form', this.id)
this.origin = await this.formatFormData(result)
console.log(this.origin)
}
this.current = this.COPY(this.origin)
},


正在加载...
取消
保存