189
This commit is contained in:
@@ -81,7 +81,7 @@
|
|||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="table-options">
|
<div class="table-options">
|
||||||
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
|
<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>
|
<el-button type="text" @click="push(row.id)" v-if="row.status === '1' && row.pushStatus === '0'">推送精选</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -30,11 +30,10 @@
|
|||||||
:col-configs="colConfigs"
|
:col-configs="colConfigs"
|
||||||
:dict="dict"
|
:dict="dict"
|
||||||
@sort-change="changeTableSort">
|
@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 }">
|
<template slot-scope="{ row }">
|
||||||
<div class="table-options">
|
<div class="table-options">
|
||||||
<el-button type="text" @click="changeIntegral(row,1)">调整积分</el-button>
|
<el-button type="text" @click="changeIntegral(row,1)">调整积分</el-button>
|
||||||
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -131,7 +130,7 @@ export default {
|
|||||||
colConfigs() {
|
colConfigs() {
|
||||||
return [
|
return [
|
||||||
{ prop: "userName", label: '姓名', align: "left", },
|
{ prop: "userName", label: '姓名', align: "left", },
|
||||||
{ prop: "girdName", label: '所属网格' },
|
{ prop: "girdName", label: '所属网格', align: "center" },
|
||||||
{ prop: "integral", label: '积分余额', align: "center", sortable: "custom" },
|
{ prop: "integral", label: '积分余额', align: "center", sortable: "custom" },
|
||||||
{ prop: "totalIntegral", label: '累计积分', align: "center", sortable: "custom" },
|
{ prop: "totalIntegral", label: '累计积分', align: "center", sortable: "custom" },
|
||||||
{ prop: "usedIntegral", label: '已用积分', align: "center", sortable: "custom" },
|
{ prop: "usedIntegral", label: '已用积分', align: "center", sortable: "custom" },
|
||||||
|
|||||||
Reference in New Issue
Block a user