邻里互助

This commit is contained in:
liuye
2023-03-16 11:35:37 +08:00
parent 7dca4813ed
commit 72d6e63edc
3 changed files with 21 additions and 12 deletions

View File

@@ -72,11 +72,11 @@
total: 10,
colConfigs: [
{ prop: 'content', label: '内容', align: 'left'},
{ prop: 'createUserName', label: '发帖人', align: 'left', width: '120' },
{ prop: 'createTime', label: '创建时间', align: 'left', width: '120' },
{ prop: 'commentCount', label: '评论数', align: 'left', width: '120' },
{ prop: 'appreciateCount', label: '点赞数', align: 'left', width: '120' },
{ prop: 'sharedCount', label: '分享数', align: 'left', width: '120' },
{ prop: 'createUserName', label: '发帖人', align: 'center', width: '120' },
{ prop: 'createTime', label: '创建时间', align: 'center', width: '120' },
{ prop: 'commentCount', label: '评论数', align: 'center', width: '120' },
{ prop: 'appreciateCount', label: '点赞数', align: 'center', width: '120' },
{ prop: 'sharedCount', label: '分享数', align: 'center', width: '120' },
{ slot: 'options'},
],
tableData: [],
@@ -92,7 +92,9 @@
getList() {
this.instance.post(`/app/appneighborhoodassistance/list`, null, {
params: {
...this.search
...this.search,
beginDate: this.dateList[0] || '',
endDate: this.dateList[1] || ''
}
}).then(res => {
if (res.code == 0) {