This commit is contained in:
yanran200730
2023-02-23 15:33:20 +08:00
parent e7d30c38cd
commit bfef93c8a8
2 changed files with 19 additions and 27 deletions

View File

@@ -10,7 +10,7 @@
class="search-input"
size="small"
v-throttle="() => {search.current = 1, getList()}"
placeholder="请输入标题"
placeholder="姓名/身份证/手机号/微信昵称"
clearable
@clear="search.current = 1, search.title = '', getList()"
suffix-icon="iconfont iconSearch">
@@ -25,22 +25,6 @@
:current.sync="search.current"
:size.sync="search.size"
@getList="getList">
<el-table-column slot="comment" label="评论数" align="center" v-if="permissions('app_appcontentcomment_detail')">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="toComment(row.id)">{{ row.msgCount }}</el-button>
</div>
</template>
</el-table-column>
<el-table-column slot="options" width="160px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="toAdd(row.id)">编辑</el-button>
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
<el-button type="text" @click="remove(row.id)">删除</el-button>
</div>
</template>
</el-table-column>
</ai-table>
</template>
</ai-list>
@@ -66,14 +50,12 @@
},
total: 10,
colConfigs: [
{ prop: 'title', label: '标题', align: 'left', width: '200px' },
{ prop: 'areaName', label: '地区', align: 'left' },
{ prop: 'examineStatus', label: '状态', align: 'center', format: v => this.dict.getLabel('auditStatus', v) },
{ prop: 'examineOpinion', label: '审核意见', align: 'center' },
{ prop: 'viewCount', label: '浏览次数', align: 'center' },
{ slot: 'comment', label: '评论次数', align: 'center' },
{ prop: 'createUserName', label: '发布人', align: 'center' },
{ prop: 'createTime', label: '发布时间', align: 'center' }
{ prop: 'title', label: '微信昵称', align: 'left', width: '200px' },
{ prop: 'areaName', label: '手机号', align: 'left' },
{ prop: 'examineOpinion', label: '姓名', align: 'center' },
{ prop: 'viewCount', label: '身份证号', align: 'center' },
{ slot: 'comment', label: '地址', align: 'center' },
{ prop: 'createUserName', label: '积分总分', align: 'center' }
],
tableData: []
}
@@ -86,6 +68,12 @@
},
methods: {
refresh () {
this.search.current = 1
this.getList()
},
getList() {
this.instance.post(`/app/appintegralsystemrule/listByAppletQJ`, null, {
params: {