This commit is contained in:
yanran200730
2023-04-06 14:20:01 +08:00
parent 6cafe6f9c5
commit 4248e915b3
2 changed files with 3 additions and 4 deletions

View File

@@ -81,7 +81,7 @@
<template slot-scope="{ row }">
<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> -->
<el-button type="text" @click="push(row.id)" v-if="row.status === '1' && row.pushStatus === '0'">推送精选</el-button>
</div>
</template>

View File

@@ -30,11 +30,10 @@
:col-configs="colConfigs"
:dict="dict"
@sort-change="changeTableSort">
<el-table-column slot="options" label="操作" width="140" align="center">
<el-table-column slot="options" label="操作" width="120" align="center">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="changeIntegral(row,1)">调整积分</el-button>
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
</div>
</template>
</el-table-column>
@@ -131,7 +130,7 @@ export default {
colConfigs() {
return [
{ prop: "userName", label: '姓名', align: "left", },
{ prop: "girdName", label: '所属网格' },
{ prop: "girdName", label: '所属网格', align: "center" },
{ prop: "integral", label: '积分余额', align: "center", sortable: "custom" },
{ prop: "totalIntegral", label: '累计积分', align: "center", sortable: "custom" },
{ prop: "usedIntegral", label: '已用积分', align: "center", sortable: "custom" },