积分规则

This commit is contained in:
liuye
2023-01-04 11:12:50 +08:00
parent 377c48d4a0
commit 4ff8f5c9e1
3 changed files with 78 additions and 15 deletions

View File

@@ -125,9 +125,9 @@ export default {
return [
{ prop: "name", label: '姓名', align: "left"},
{ prop: "departName", label: '所属部门' },
{ prop: "nowScore", label: '积分余额', align: "center" },
{ prop: "score", label: '积分余额', align: "center" },
// { prop: "totalIntegral", label: '累计积分', align: "center", sortable: "custom" },
{ prop: "usedIntegral", label: '已用积分', align: "center" },
{ prop: "usedScore", label: '已用积分', align: "center" },
{ slot: "options" },
]
},
@@ -143,7 +143,7 @@ export default {
},
methods: {
getTableData() {
this.instance.post(`/app/appscoredetail/list`,null,{
this.instance.post(`/app/appscoredetail/userList`,null,{
params: {
...this.search,
current: this.current,
@@ -172,7 +172,7 @@ export default {
this.dialog = true
} else if(type ==1) {
this.chooseUserList = [{
sysUserId: row.sysUserId,
sysUserId: row.id,
name: row.name
}]
this.form.ids = this.chooseUserList.map(e => e.sysUserId)