BUG 28086

This commit is contained in:
aixianling
2022-03-08 14:33:32 +08:00
parent cdd570fae0
commit 74f84fe07b

View File

@@ -1,7 +1,7 @@
<template> <template>
<ai-detail class="family_detail"> <ai-detail class="family_detail">
<template slot="title"> <template slot="title">
<ai-title title="余额明细" :isShowBack="true" :isShowBottomBorder="true" @onBackClick="$emit('goBack')" ></ai-title> <ai-title title="余额明细" :isShowBack="true" :isShowBottomBorder="true" @onBackClick="$emit('goBack')"></ai-title>
</template> </template>
<template slot="content"> <template slot="content">
<div class="detail-info"> <div class="detail-info">
@@ -28,7 +28,7 @@
:instance="instance" :instance="instance"
url="/app/appvillagerintegraldetail/export" url="/app/appvillagerintegraldetail/export"
:disabled="!Boolean(tableData.length)" :disabled="!Boolean(tableData.length)"
:params="{familyName:detailInfo.name,doType:doType}" :params="{familyId:detailInfo.familyId,bizType:detailInfo.bizType}"
fileName="余额变动明细"> fileName="余额变动明细">
<span class="iconfont iconExported">导出</span> <span class="iconfont iconExported">导出</span>
</ai-download> </ai-download>
@@ -60,7 +60,7 @@
</template> </template>
<script> <script>
export default { export default {
name: 'balance', name: 'balance',
props: { props: {
@@ -72,7 +72,7 @@
dict: Object dict: Object
}, },
data () { data() {
return { return {
page: { page: {
current: 1, current: 1,
@@ -84,27 +84,25 @@
} }
}, },
created () { created() {
this.dict.load('integralDetailType') this.dict.load('integralDetailType')
this.getList() this.getList()
}, },
computed: { computed: {
colConfigs () { colConfigs() {
const _this = this const _this = this
return [ return [
{ {
prop: 'doTime', prop: 'doTime',
align: 'center', label: '时间'
label: '时间',
align:'left'
}, },
{ {
prop: 'bizType', prop: 'bizType',
align: 'center', align: 'center',
label: '类型', label: '类型',
render (h, {row}) { render(h, {row}) {
return h('span',{}, _this.dict.getLabel('integralDetailType', row.bizType)) return h('span', {}, _this.dict.getLabel('integralDetailType', row.bizType))
} }
}, },
{ {
@@ -120,21 +118,19 @@
}, },
{ {
prop: 'description', prop: 'description',
align: 'center',
label: '事件类型', label: '事件类型',
align:'left'
} }
] ]
} }
}, },
methods: { methods: {
getList () { getList() {
this.instance.post('/app/appvillagerintegraldetail/list', null, { this.instance.post('/app/appvillagerintegraldetail/list', null, {
params: { params: {
...this.page, ...this.page,
familyId:this.detailInfo.id, familyId: this.detailInfo.id,
bizType:this.doType bizType: this.doType
} }
}).then(res => { }).then(res => {
if (res.code === 0) { if (res.code === 0) {
@@ -144,16 +140,16 @@
}) })
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.family_detail{ .family_detail {
height: 100%; height: 100%;
background-color: #fff; background-color: #fff;
::v-deep .ai-card__body { ::v-deep .ai-card__body {
padding: 12px 16px 20px!important; padding: 12px 16px 20px !important;
} }
@@ -168,7 +164,7 @@
margin-right: 20px; margin-right: 20px;
padding: 16px 24px; padding: 16px 24px;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0px 4px 6px -2px rgba(15, 15, 21, 0.15); box-shadow: 0 4px 6px -2px rgba(15, 15, 21, 0.15);
border-radius: 4px; border-radius: 4px;
&:last-child { &:last-child {
@@ -192,21 +188,24 @@
} }
} }
.iconExported{ .iconExported {
color:#5088FF; color: #5088FF;
font-size: 12px; font-size: 12px;
cursor: pointer; cursor: pointer;
} }
.info{
.info {
padding: 16px 0 16px 0; padding: 16px 0 16px 0;
} }
.do_type{
.do_type {
height: 56px; height: 56px;
} }
.fs-14{
::v-deep .el-table--small{ .fs-14 {
font-size: 14px!important; ::v-deep .el-table--small {
} font-size: 14px !important;
} }
} }
}
</style> </style>