This commit is contained in:
liuye
2022-04-07 18:35:43 +08:00
parent d5acaec0ba
commit aea786945f
9 changed files with 494 additions and 16 deletions

View File

@@ -68,9 +68,11 @@ export default {
tableData: []
}
},
created() {
this.getInfo()
this.getList()
mounted() {
this.$dict.load(['atWillReportType']).then(() => {
this.getInfo()
this.getList()
});
},
computed: {
colConfigs() {
@@ -81,10 +83,12 @@ export default {
align: 'left'
},
{
prop: 'doType',
prop: "bizType",
label: "类型",
width: 160,
align: 'center',
label: '类型',
dict:"integralDetailType",
formart: (bizType) =>
this.dict.getLabel("integralDetailType", bizType),
},
{
prop: 'changeIntegral',
@@ -116,7 +120,7 @@ export default {
getList() {
let {id: portalUserId} = this.$route.query
this.instance.post(`/appvillagerintegraldetail/list`, null, {
params: {...this.page, portalUserId}
params: {...this.page, portalUserId, bizType: this.doType}
}).then(res => {
if (res?.data) {
this.tableData = res.data.records

View File

@@ -32,7 +32,8 @@
<el-table-column label="操作" slot="options" fixed="right" align="center" width="180">
<template v-slot="{row}">
<div class="table-options">
<el-button type="text" :disabled="!$permissions('app_appvillagerintegralfamily_detail')" title="详情"
<!-- :disabled="!$permissions('app_appvillagerintegralfamily_detail')" -->
<el-button type="text" title="详情"
@click="goDetail(row)">详情
</el-button>
</div>