下次坚决不听你们说迁移积分应用了
This commit is contained in:
@@ -19,19 +19,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ai-card title="余额变动明细">
|
<ai-card title="余额变动明细">
|
||||||
<template slot="right">
|
|
||||||
</template>
|
|
||||||
<template #content>
|
<template #content>
|
||||||
<el-select v-model="doType" placeholder="请选择类型" size='small' clearable @change="page.current=1,getList()">
|
<ai-search-bar>
|
||||||
<el-option
|
<template #left>
|
||||||
v-for="(item,i) in dict.getDict('integralDetailType')"
|
<ai-select placeholder="请选择类型" v-model="doType" :selectList="dict.getDict('integralDoType')"
|
||||||
:label="item.dictName"
|
@change="page.current=1,getList()"/>
|
||||||
:key="i"
|
</template>
|
||||||
:value="item.dictValue">
|
</ai-search-bar>
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
<ai-table class="fs-14"
|
<ai-table class="fs-14"
|
||||||
style="margin-top: 16px;"
|
|
||||||
:tableData="tableData"
|
:tableData="tableData"
|
||||||
:col-configs="colConfigs"
|
:col-configs="colConfigs"
|
||||||
:total="page.total"
|
:total="page.total"
|
||||||
@@ -69,7 +64,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$dict.load(['atWillReportType']).then(() => {
|
this.dict.load('atWillReportType', 'integralDetailType', 'integralDoType').then(() => {
|
||||||
this.getInfo()
|
this.getInfo()
|
||||||
this.getList()
|
this.getList()
|
||||||
});
|
});
|
||||||
@@ -77,34 +72,11 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
colConfigs() {
|
colConfigs() {
|
||||||
return [
|
return [
|
||||||
{
|
{prop: 'doTime', label: '时间', align: 'left'},
|
||||||
prop: 'doTime',
|
{prop: "bizType", label: "积分来源", width: 160, align: 'center', dict: "integralDetailType"},
|
||||||
label: '时间',
|
{prop: 'changeIntegral', align: 'center', label: '变动积分'},
|
||||||
align: 'left'
|
{prop: 'nowIntegral', align: 'center', label: '剩余积分'},
|
||||||
},
|
{prop: 'doType', label: '类型', align: 'left', dict: "integralDoType"}
|
||||||
{
|
|
||||||
prop: "bizType",
|
|
||||||
label: "类型",
|
|
||||||
width: 160,
|
|
||||||
align: 'center',
|
|
||||||
formart: (bizType) =>
|
|
||||||
this.dict.getLabel("integralDetailType", bizType),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'changeIntegral',
|
|
||||||
align: 'center',
|
|
||||||
label: '变动积分'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'nowIntegral',
|
|
||||||
align: 'center',
|
|
||||||
label: '剩余积分'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'description',
|
|
||||||
label: '事件类型',
|
|
||||||
align: 'left'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -120,7 +92,7 @@ export default {
|
|||||||
getList() {
|
getList() {
|
||||||
let {id: portalUserId} = this.$route.query
|
let {id: portalUserId} = this.$route.query
|
||||||
this.instance.post(`/appvillagerintegraldetail/list`, null, {
|
this.instance.post(`/appvillagerintegraldetail/list`, null, {
|
||||||
params: {...this.page, portalUserId, bizType: this.doType}
|
params: {...this.page, portalUserId, doType: this.doType}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.tableData = res.data.records
|
this.tableData = res.data.records
|
||||||
|
|||||||
Reference in New Issue
Block a user