152
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
<template slot="content">
|
||||
<ai-search-bar class="search-bar">
|
||||
<template #left>
|
||||
<el-button size="small" type="primary" icon="iconfont iconAdd" @click="toAdd('')">我要发帖</el-button>
|
||||
<el-date-picker
|
||||
v-model="dateList"
|
||||
@change="search.current = 1,getList()"
|
||||
@@ -25,7 +24,7 @@
|
||||
class="search-input"
|
||||
size="small"
|
||||
v-throttle="() => {search.current = 1, getList()}"
|
||||
placeholder="请输入发帖人"
|
||||
placeholder="请输入申请人、审批人"
|
||||
clearable
|
||||
@clear="search.current = 1, search.createUserName = '', getList()"
|
||||
suffix-icon="iconfont iconSearch">
|
||||
@@ -45,6 +44,7 @@
|
||||
<div class="table-options">
|
||||
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
|
||||
<el-button type="text" @click="remove(row.id)">删除</el-button>
|
||||
<el-button type="text" @click="remove(row.id)">推送精选</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -73,17 +73,17 @@
|
||||
},
|
||||
total: 10,
|
||||
colConfigs: [
|
||||
{ prop: 'content', label: '内容', align: 'left', 'show-overflow-tooltip': true },
|
||||
{ prop: 'commentCount', label: '评论数', align: 'center', width: '120' },
|
||||
{ prop: 'appreciateCount', label: '点赞数', align: 'center', width: '120' },
|
||||
{ prop: 'sharedCount', label: '分享数', align: 'center', width: '120' },
|
||||
{ prop: 'createUserName', label: '发帖人', align: 'center', width: '120' },
|
||||
{ prop: 'createUserAreaName', label: '所在地区', align: 'center', width: '120' },
|
||||
{ prop: 'createTime', label: '创建时间', align: 'center', width: '180' },
|
||||
{ slot: 'options'},
|
||||
{ prop: 'content', label: '事件类型', align: 'left' },
|
||||
{ prop: 'commentCount', label: '申请人', align: 'center' },
|
||||
{ prop: 'appreciateCount', label: '所属地区', align: 'center' },
|
||||
{ prop: 'sharedCount', label: '所属网格', align: 'center' },
|
||||
{ prop: 'createUserName', label: '申请时间', align: 'center' },
|
||||
{ prop: 'createUserAreaName', label: '状态', align: 'center' },
|
||||
{ prop: 'createTime', label: '审批人', align: 'center' },
|
||||
{ prop: 'createTime', label: '推送精选', align: 'center' }
|
||||
],
|
||||
tableData: [],
|
||||
dateList: [],
|
||||
dateList: []
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
this.instance.post(`/app/appneighborhoodassistance/list`, null, {
|
||||
this.instance.post(`/app/appintegraluserapply/list`, null, {
|
||||
params: {
|
||||
...this.search,
|
||||
createUserAreaId: this.search.areaId,
|
||||
@@ -125,7 +125,7 @@
|
||||
|
||||
remove (id) {
|
||||
this.$confirm('确定删除该帖子?').then(() => {
|
||||
this.instance.post(`/app/appneighborhoodassistance/delete?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/appintegraluserapply/delete?id=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('删除成功!')
|
||||
this.getList()
|
||||
|
||||
Reference in New Issue
Block a user