|
@@ -2541,13 +2541,15 @@ export default {
|
|
|
// this.$message.error("请将信息填写完整");
|
|
|
// return;
|
|
|
// }
|
|
|
- let params = {
|
|
|
- rid: this.scoreDetail[0].id,
|
|
|
- suser: this.$store.state.userInfo.userid,
|
|
|
- s: JSON.stringify(this.scoreDetail[0].scoreAll),
|
|
|
- };
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ rid: this.scoreDetail[0].id,
|
|
|
+ suser: this.$store.state.userInfo.userid,
|
|
|
+ s: JSON.stringify(this.scoreDetail[0].scoreAll),
|
|
|
+ },
|
|
|
+ ];
|
|
|
this.ajax
|
|
|
- .get(this.$store.state.api + "addScore", params)
|
|
|
+ .post(this.$store.state.api + "addScore", params)
|
|
|
.then((res) => {
|
|
|
this.$message({
|
|
|
message: "评分成功",
|