BUG 29262
This commit is contained in:
@@ -70,7 +70,7 @@ export default {
|
|||||||
{label: "调整说明", prop: "remark", align: "center"},
|
{label: "调整说明", prop: "remark", align: "center"},
|
||||||
{label: "事件", prop: "createTime"},
|
{label: "事件", prop: "createTime"},
|
||||||
{label: "类型", prop: "integralType", align: "center", dict: "partyIntegralType"},
|
{label: "类型", prop: "integralType", align: "center", dict: "partyIntegralType"},
|
||||||
{label: "积分", prop: "residualIntegral", align: "center"},
|
{label: "积分", prop: "integral", align: "center"},
|
||||||
{slot: "options"}
|
{slot: "options"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -102,7 +102,10 @@ export default {
|
|||||||
params: {...this.page, ...this.search}
|
params: {...this.page, ...this.search}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.tableData = res.data?.records
|
this.tableData = res.data?.records?.map(e => ({
|
||||||
|
...e,
|
||||||
|
integral: (e.integralType == 0 ? "-" : '+') + e.integral
|
||||||
|
}))
|
||||||
this.page.total = res.data.total
|
this.page.total = res.data.total
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user