@@ -231,7 +231,7 @@ export default { | |||
api | |||
.updatePoints({ | |||
itemId: row.id, | |||
expectedPoints: row.expectedPoints, | |||
expectedPoints: row.deptPoints, | |||
}) | |||
.then((res) => { | |||
this.$message({ type: "success", message: "修改成功" }); | |||
@@ -260,6 +260,7 @@ export default { | |||
return item; | |||
}); | |||
this.dataList = this.reduceData(data); | |||
console.log(this.dataList) | |||
this.count = res.data.data.total; | |||
}) | |||
.catch(() => { |
@@ -221,7 +221,7 @@ export default { | |||
api | |||
.updatePoints({ | |||
itemId: row.id, | |||
expectedPoints: row.expectedPoints, | |||
expectedPoints: row.deptPoints, | |||
}) | |||
.then((res) => { | |||
this.$message({ type: "success", message: "修改成功" }); |
@@ -230,7 +230,7 @@ export default { | |||
api | |||
.updatePoints({ | |||
itemId: row.id, | |||
expectedPoints: row.expectedPoints, | |||
expectedPoints: row.deptPoints, | |||
}) | |||
.then((res) => { | |||
this.$message({ type: "success", message: "修改成功" }); |