接口对接完毕
This commit is contained in:
@@ -23,7 +23,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.dict.load("residentType", "householdRelation")
|
this.dict.load("partyIntegralType")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -13,19 +13,20 @@
|
|||||||
<ai-card hideTitle class="staCard fill">
|
<ai-card hideTitle class="staCard fill">
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="color-999" v-text="`个人积分`"/>
|
<div class="color-999" v-text="`个人积分`"/>
|
||||||
<b class="color-26f" v-text="detail.name||0"/>
|
<b class="color-26f" v-text="detail.integral||0"/>
|
||||||
</template>
|
</template>
|
||||||
</ai-card>
|
</ai-card>
|
||||||
<ai-card hideTitle class="staCard fill">
|
<ai-card hideTitle class="staCard fill">
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="color-999" v-text="`家庭积分`"/>
|
<div class="color-999" v-text="`家庭积分`"/>
|
||||||
<b class="color-26f" v-text="detail.name||0"/>
|
<b class="color-26f" v-text="detail.familySurplusIntegral||0"/>
|
||||||
</template>
|
</template>
|
||||||
</ai-card>
|
</ai-card>
|
||||||
</el-row>
|
</el-row>
|
||||||
<ai-card title="余额变动明细">
|
<ai-card title="余额变动明细">
|
||||||
<template #content>
|
<template #content>
|
||||||
<ai-table :tableData="detail.list" :isShowPagination="false" :col-configs="colConfigs" :dict="dict"/>
|
<ai-table :tableData="detail.integralInfoList" :isShowPagination="false" :col-configs="colConfigs"
|
||||||
|
:dict="dict"/>
|
||||||
</template>
|
</template>
|
||||||
</ai-card>
|
</ai-card>
|
||||||
</template>
|
</template>
|
||||||
@@ -45,17 +46,17 @@ export default {
|
|||||||
detail: {},
|
detail: {},
|
||||||
colConfigs: [
|
colConfigs: [
|
||||||
{label: "时间", prop: "createTime", width: 120},
|
{label: "时间", prop: "createTime", width: 120},
|
||||||
{label: "类型", prop: "createTime", align: 'center'},
|
{label: "类型", prop: "integralType", align: 'center', dict: "partyIntegralType"},
|
||||||
{label: "变动积分", prop: "createTime", align: 'center'},
|
{label: "变动积分", prop: "integral", align: 'center'},
|
||||||
{label: "剩余积分", prop: "createTime", align: 'center'},
|
{label: "剩余积分", prop: "residualIntegral", align: 'center'},
|
||||||
{label: "调整说明", prop: "createTime"},
|
{label: "调整说明", prop: "remark"},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getDetail() {
|
getDetail() {
|
||||||
let {id} = this.$route.query
|
let {id} = this.$route.query
|
||||||
this.instance.post("/app/appparty/list", null, {
|
this.instance.post("/app/appparty/getPartyIntegralDetail", null, {
|
||||||
params: {id}
|
params: {id}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
@@ -87,10 +88,11 @@ export default {
|
|||||||
|
|
||||||
.staCard {
|
.staCard {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
line-height: 28px;
|
||||||
|
|
||||||
b {
|
b {
|
||||||
margin-top: 8px;
|
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
& + .staCard {
|
& + .staCard {
|
||||||
|
|||||||
@@ -115,6 +115,12 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
handleSearchTime(v) {
|
||||||
|
this.page.current = 1
|
||||||
|
this.search.startTime = v?.[0]
|
||||||
|
this.search.endTime = v?.[1]
|
||||||
|
this.getTableData()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
|
|||||||
Reference in New Issue
Block a user