This commit is contained in:
shijingjing
2022-06-30 17:43:14 +08:00
parent d8c652762a
commit 36ccc9ace2
2 changed files with 12 additions and 1 deletions

View File

@@ -48,7 +48,10 @@ export default {
colConfigs: [
{label: "时间", prop: "createTime"},
{label: "类型", prop: "integralType", align: 'center', dict: "partyIntegralType"},
{label: "变动积分", prop: "integral", align: 'center'},
{label: "变动积分", prop: "integral", align: 'center', render: (h, {row}) => {
return h('span', null, (row.integralType==0? '-'+ row.integral : '+'+ row.integral))
}
},
{label: "剩余积分", prop: "residualIntegral", align: 'center'},
{label: "调整说明", prop: "remark"},
],

View File

@@ -215,6 +215,14 @@ export default {
this.getList();
});
},
watch: {
integralArr: {
handler(v) {
this.form.integralMin = v?.[0] || ''
this.form.integralMax = v?.[1] || ''
}
}
},
methods: {
getList() {
this.instance.post(`/app/apppartyintegralrule/list?classify=0`, null, {