积分导出

This commit is contained in:
liuye
2023-01-04 14:52:48 +08:00
parent 8a478fa108
commit 5595f0295d
2 changed files with 4 additions and 3 deletions

View File

@@ -40,7 +40,7 @@
:selectList="dict.getDict('srScoreType')"/>
</template>
<template #right>
<ai-download :instance="instance" :url="`/app/appscoredetail/listExport?id=${$route.query.id}`" :params="search" fileName="网格员余额变动明细"
<ai-download :instance="instance" :url="`/app/appscoredetail/listExport?sysUserId=${data.id}`" :params="search" fileName="余额变动明细"
:disabled="tableData.length == 0">
<el-button size="small">导出</el-button>
</ai-download>
@@ -93,6 +93,7 @@ export default {
return [
{prop: "createTime", label: '时间', align: "center",width: "200px"},
{prop: "scoreType", label: '类型', align: "center", width: "240px", dict: "srScoreType"},
{prop: "scoreCalcType", label: '积分变动类型', align: "center", dict: 'srScoreCalcType'},
{prop: "changeScore", label: '变动积分', align: "center",},
{prop: "nowScore", label: '剩余积分', align: "center", width: "200px"},
{prop: "eventDesc", label: '事件', align: "center",'show-overflow-tooltip': true},
@@ -100,7 +101,7 @@ export default {
}
},
created() {
this.$dict.load('srScoreType').then(() => {
this.$dict.load('srScoreType', 'srScoreCalcType').then(() => {
this.getDetail()
let nowTime = dayjs().format('YYYY-MM-DD')
this.startPla = dayjs().subtract(29, 'day').format('YYYY-MM-DD')