详情
@@ -56,25 +68,21 @@
current: 1,
size: 10,
status: '',
- type: '',
+ topic: '',
title: '',
areaId: ''
},
- currIndex: -1,
- areaList: [],
- total: 10,
+ total: 0,
colConfigs: [
- { prop: 'content', label: '议事主题', align: 'left', width: '200px' },
- { prop: 'type', label: '议事类型', align: 'center', formart: v => this.dict.getLabel('discussType', v) },
- { prop: 'createUserName', label: '话事人', align: 'center' },
- { prop: 'msgCountTotal', label: '观点数量', align: 'center', formart: v => v === 0 ? '-' : v },
- { prop: 'voteCount', label: '投票数量', align: 'center', formart: v => v === 0 ? '-' : v },
- { prop: 'status', label: '发布状态', align: 'center', formart: v => this.dict.getLabel('discussStatus', v) },
+ { prop: 'createUserName', label: '发布人', align: 'left' },
{ prop: 'createTime', label: '发布时间', align: 'center' },
+ { prop: 'content', label: '发布内容', align: 'center' },
+ { prop: 'topic', label: '话题类型', align: 'center', formart: v => this.dict.getLabel('villagerCircleTopic', v) },
+ { prop: 'status', label: '状态', align: 'center', formart: v => this.dict.getLabel('auditStatus', v) },
+ { prop: 'auditUserName', label: '审核人', align: 'center' },
+ { prop: 'auditTime', label: '审核时间', align: 'center' },
{ slot: 'options', label: '操作', align: 'center' }
],
- areaName: '',
- unitName: '',
tableData: []
}
},
@@ -85,7 +93,7 @@
created () {
this.search.areaId = this.user.info.areaId
- this.dict.load(['discussType', 'discussStatus']).then(() => {
+ this.dict.load(['villagerCircleTopic', 'auditStatus']).then(() => {
this.getList()
})
},
@@ -134,6 +142,4 @@