Bladeren bron

app2.0 公文查看

临城职教中职
杨晓琪 2 jaren geleden
bovenliggende
commit
6ba9c0b85b
4 gewijzigde bestanden met toevoegingen van 47 en 16 verwijderingen
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SYS_ReceiveMessage/list.vue
  2. +3
    -3
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/list.vue
  3. +18
    -8
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/single.vue
  4. +25
    -4
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/DutySchedule/list.vue

+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/SYS_ReceiveMessage/list.vue Bestand weergeven

@@ -226,8 +226,8 @@ export default {
// 点击「清空查询条件」按钮
reset() {
this.$refs.datefilter.changeDateRange('all')
this.queryData = this.COPY(this.defaultQueryData)
this.$refs.datefilter.changeDateRange('all')
// this.searchChange()
},


+ 3
- 3
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/list.vue Bestand weergeven

@@ -42,7 +42,7 @@
</view>
<l-customlist-action showEdit @edit="action('edit', item.RFileId)" showDelete @delete="action('delete', item.RFileId)" @view="action('view', item.RFileId)" />
<l-customlist-action :showEdit="false" @edit="action('edit', item.RFileId)" showDelete @delete="action('delete', item.RFileId)" @view="action('view', item.RFileId)" />
</view>
</l-customlist>
</l-scroll-list>
@@ -85,7 +85,7 @@
</view>
</scroll-view>
<l-customlist-add v-if="!sideOpen" @click="action('add')" />
<!-- <l-customlist-add v-if="!sideOpen" @click="action('add')" /> -->
</view>
</template>
@@ -242,8 +242,8 @@ this.searchData.ReceiverId=this.GET_GLOBAL('loginUser').userId;
// 点击「清空查询条件」按钮
reset() {
this.queryData = this.COPY(this.defaultQueryData)
this.$refs.datefilter.changeDateRange('all')
this.queryData = this.COPY(this.defaultQueryData)
// this.searchChange()
},


+ 18
- 8
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/Sys_ReceiveFile/single.vue Bestand weergeven

@@ -1,12 +1,19 @@
<template>
<view class="page">
<view v-if="ready">
<l-input
<l-input
@input="setValue('Sys_ReceiveFile.Sender', $event)"
:value="getValue('Sys_ReceiveFile.Sender')"
:disabled="!edit"
title="发送人"
/>
<!-- <l-organize-picker
@input="setValue('Sys_ReceiveFile.Sender', $event)"
:value="getValue('Sys_ReceiveFile.Sender')"
:readonly="!edit"
type="user"
title="发送人"
/> -->
<l-input
@input="setValue('Sys_ReceiveFile.Title', $event)"
:value="getValue('Sys_ReceiveFile.Title')"
@@ -26,18 +33,21 @@
:range="dataSource.Sys_ReceiveFile.SendType"
title="接收对象"
/>
<l-textarea
<!-- <l-textarea
@input="setValue('Sys_ReceiveFile.Contents', $event)"
:value="getValue('Sys_ReceiveFile.Contents')"
:disabled="!edit"
readonly="readonly"
:range="dataSource.Sys_ReceiveFile.Contents"
title="内容"
/>
</view
>
/> -->
<view class="bg-white" style="padding: 15px;color: #333333;font-size: 15px;">内容</view>
<view class="bg-white" style="padding: 15px;padding-top: 0px;">
<u-parse v-if="ready" :imageProp="{ domain: apiRoot }" :content="getValue('Sys_ReceiveFile.Contents')" noData="暂无内容"></u-parse>
</view>
</view>
<view v-if="ready" 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 v-if="edit" @click="action('save')" size="lg" color="green" class="block margin-top" block>
提交保存
</l-button>
<l-button v-if="!edit && mode !== 'create'" @click="action('edit')" size="lg" line="orange" class="block margin-top" block>
@@ -45,7 +55,7 @@
</l-button>
<l-button v-if="edit && mode !== 'create'" @click="action('reset')" size="lg" line="red" class="block margin-top" block>
取消编辑
</l-button>
</l-button> -->
<l-button v-if="!edit && mode !== 'create'" @click="action('delete')" size="lg" line="red" class="block margin-top" block>
删除
</l-button>
@@ -165,7 +175,7 @@ export default {
}
this.LOADING("正在提交...");
const postData = await this.getPostData(this.id);
adms(
this.HTTP_POST(
"learun/adms/EducationalAdministration/Sys_ReceiveFile/save",
postData,
"表单提交保存失败"


+ 25
- 4
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/PersonnelManagement/DutySchedule/list.vue Bestand weergeven

@@ -43,8 +43,20 @@
<!-- 侧边栏,用于设置查询条件 -->
<scroll-view :class="sideOpen ? 'show' : ''" class="sidepage" scroll-y>
<view v-if="ready" class="padding">
<l-customlist-sidepage-datefilter
v-model="dateRange"
@change="searchChange"
title="按时间日期查询: "
ref="datefilter"
class="margin-bottom"
/>
<l-input
v-model="queryData.keyword"
@change="searchChange"
title ="值班人"
placeholder="按值班人查询"
/>
<!-- 重置查询条件按钮 -->
<view class="padding-tb">
<l-button @click="reset" line="orange" class="block" block>重置查询条件</l-button>
@@ -113,7 +125,9 @@ export default {
// 列表与分页信息
page: 1,
total: 2,
list: []
list: [] ,
dateRange:null
}
},
@@ -185,6 +199,12 @@ export default {
// 设置搜索条件
async searchChange() {
const result = {}
// 时间查询相关参数
if (this.dateRange) {
result.StartTime = this.dateRange.start
result.EndTime = this.dateRange.end
}
// 将其他查询项添加到查询 JSON 中
const queryObj = pickBy(this.queryData, t => (Array.isArray(t) ? t.length > 0 : t))
@@ -197,7 +217,8 @@ export default {
// 点击「清空查询条件」按钮
reset() {
this.queryData = this.COPY(this.defaultQueryData)
this.searchChange()
this.$refs.datefilter.changeDateRange('all')
// this.searchChange()
},
// 点击「编辑」、「查看」、「添加」、「删除」按钮


Laden…
Annuleren
Opslaan