Browse Source

app2.0 校长信箱调试

娄底高职分支
杨晓琪 2 years ago
parent
commit
d4188c2501
2 changed files with 10 additions and 10 deletions
  1. +8
    -8
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuMail/list.vue
  2. +2
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuMail/single.vue

+ 8
- 8
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuMail/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">
@@ -52,13 +52,13 @@
<scroll-view :class="sideOpen ? 'show' : ''" class="sidepage" scroll-y> <scroll-view :class="sideOpen ? 'show' : ''" class="sidepage" scroll-y>
<view v-if="ready" class="padding"> <view v-if="ready" class="padding">
<l-customlist-sidepage-datefilter
<!-- <l-customlist-sidepage-datefilter
v-model="dateRange" v-model="dateRange"
@change="searchChange" @change="searchChange"
title="按时间日期查询: " title="按时间日期查询: "
ref="datefilter" ref="datefilter"
class="margin-bottom" class="margin-bottom"
/>
/> -->
<!-- 重置查询条件按钮 --> <!-- 重置查询条件按钮 -->
@@ -104,8 +104,8 @@ export default {
scheme: { scheme: {
Title: { type: 'text' }, Title: { type: 'text' },
Content: { type: 'textarea' }, Content: { type: 'textarea' },
CreateTime: { type: 'datetime', dateformat: '0' },
ReplyTime: { type: 'datetime', dateformat: '0' },
CreateTime: { type: 'datetime', dateformat: '1' },
ReplyTime: { type: 'datetime', dateformat: '1' },
ReplyContent: { type: 'textarea' }, ReplyContent: { type: 'textarea' },
}, },
@@ -168,7 +168,7 @@ export default {
{ {
// 这里 sidx 表示排序字段,sord 表示排序方式(DESC=降序,ASC=升序) // 这里 sidx 表示排序字段,sord 表示排序方式(DESC=降序,ASC=升序)
// 代码生成器生成时默认按照主键排序,您可以修改成按创建时间的字段降序 // 代码生成器生成时默认按照主键排序,您可以修改成按创建时间的字段降序
pagination: { rows: 10, page: this.page, sidx: 'Id', sord: 'DESC' },
pagination: { rows: 10, page: this.page, sidx: 'CreateTime', sord: 'DESC' },
queryJson: JSON.stringify(this.searchData) queryJson: JSON.stringify(this.searchData)
}, },
'加载数据时出错' '加载数据时出错'
@@ -221,8 +221,8 @@ export default {
// 点击「清空查询条件」按钮 // 点击「清空查询条件」按钮
reset() { reset() {
this.queryData = this.COPY(this.defaultQueryData) this.queryData = this.COPY(this.defaultQueryData)
this.$refs.datefilter.changeDateRange('all')
// this.searchChange()
// this.$refs.datefilter.changeDateRange('all')
this.searchChange()
}, },
// 点击「编辑」、「查看」、「添加」、「删除」按钮 // 点击「编辑」、「查看」、「添加」、「删除」按钮


+ 2
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/EducationalAdministration/StuMail/single.vue View File

@@ -82,8 +82,8 @@ export default {
StuMail: { StuMail: {
Title: { type: 'text', title: '主题' }, Title: { type: 'text', title: '主题' },
Content: { type: 'textarea', title: '内容' }, Content: { type: 'textarea', title: '内容' },
CreateTime: { type: 'datetime', title: '创建时间', dateformat: '0' },
ReplyTime: { type: 'datetime', title: '回复时间', dateformat: '0' },
CreateTime: { type: 'datetime', title: '创建时间', dateformat: '1' },
// ReplyTime: { type: 'datetime', title: '回复时间', dateformat: '0' },
ReplyContent: { type: 'textarea', title: '回复内容' }, ReplyContent: { type: 'textarea', title: '回复内容' },
}, },


Loading…
Cancel
Save