Browse Source

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

娄底高职分支
杨晓琪 2 years ago
parent
commit
3685a63cca
2 changed files with 12 additions and 11 deletions
  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 View File

@@ -3,7 +3,7 @@
<!-- 主列表页 --> <!-- 主列表页 -->
<view :class="sideOpen ? 'show' : ''" class="mainpage" style="padding-top: 80rpx;"> <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"> <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 View File

@@ -2,27 +2,27 @@
<view class="page"> <view class="page">
<view v-if="ready"> <view v-if="ready">
<l-datetime-picker <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" :disabled="!edit"
title="开始时间" title="开始时间"
/> />
<l-datetime-picker <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" :disabled="!edit"
title="结束时间" title="结束时间"
/> />
<l-input <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" :disabled="!edit"
title="提前提醒" title="提前提醒"
required required
/> />
<l-textarea <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" :readonly="!edit"
title="日程内容" title="日程内容"
/> />
@@ -86,7 +86,7 @@ export default {
// 表单项数据结构 // 表单项数据结构
scheme: { scheme: {
LR_OA_Schedule: {
Schedule: {
F_StartDate: { type: 'datetime', title: '开始时间', dateformat: '1' }, F_StartDate: { type: 'datetime', title: '开始时间', dateformat: '1' },
F_EndDate: { type: 'datetime', title: '结束时间', dateformat: '1' }, F_EndDate: { type: 'datetime', title: '结束时间', dateformat: '1' },
F_Early: { type: 'text', title: '提前提醒', verify: 'NumOrNull' }, F_Early: { type: 'text', title: '提前提醒', verify: 'NumOrNull' },
@@ -97,7 +97,7 @@ export default {
// 数据源 // 数据源
dataSource: { dataSource: {
LR_OA_Schedule: {
Schedule: {
}, },
} }
@@ -136,6 +136,7 @@ export default {
} else { } else {
const result = await this.HTTP_GET('learun/adms/PersonnelManagement/Schedule/form', this.id) const result = await this.HTTP_GET('learun/adms/PersonnelManagement/Schedule/form', this.id)
this.origin = await this.formatFormData(result) this.origin = await this.formatFormData(result)
console.log(this.origin)
} }
this.current = this.COPY(this.origin) this.current = this.COPY(this.origin)
}, },


Loading…
Cancel
Save