|
|
@@ -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"> |
|
|
@@ -26,10 +26,10 @@ |
|
|
|
{{ displayListItem(item, 'JReceiveId') }} |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="customlist-item-field"> |
|
|
|
<!-- <view class="customlist-item-field"> |
|
|
|
<text class="customlist-item-field-title">日志内容:</text> |
|
|
|
{{ displayListItem(item, 'JContent') }} |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
<l-customlist-action showEdit @edit="action('edit', item.JournalSendId)" showDelete @delete="action('delete', item.JournalSendId)" @view="action('view', item.JournalSendId)" /> |
|
|
@@ -132,6 +132,8 @@ export default { |
|
|
|
this.ON('EducationalAdministrationJournalSend-list-change', this.refreshList) |
|
|
|
|
|
|
|
// 拉取加载列表和数据源 |
|
|
|
const dataDictionary = await this.GET_GLOBAL('dataDictionary') |
|
|
|
this.dataSource.JTypeId = Object.values(dataDictionary.JournalType) |
|
|
|
await Promise.all([ |
|
|
|
|
|
|
|
|
|
|
@@ -152,7 +154,7 @@ export default { |
|
|
|
{ |
|
|
|
// 这里 sidx 表示排序字段,sord 表示排序方式(DESC=降序,ASC=升序) |
|
|
|
// 代码生成器生成时默认按照主键排序,您可以修改成按创建时间的字段降序 |
|
|
|
pagination: { rows: 10, page: this.page, sidx: 'JournalSendId', sord: 'DESC' }, |
|
|
|
pagination: { rows: 10, page: this.page, sidx: 'JSendTime', sord: 'DESC' }, |
|
|
|
queryJson: JSON.stringify(this.searchData) |
|
|
|
}, |
|
|
|
'加载数据时出错' |
|
|
|