feat(用户列表): 修复“封禁一天”的参数问题

This commit is contained in:
hzj 2025-10-14 17:39:39 +08:00
parent 309066bfa8
commit e0ed82f60f

View File

@ -135,8 +135,8 @@ export default {
options: [
{ value: "WARNING", name: "警告" },
{ value: "FREEZE", name: "冻结" },
{ value: "FREEZE1DAY", name: "冻结1天" },
{ value: "ARCHIVE", name: "封禁" },
{ value: "ARCHIVE1DAY", name: "封禁1天" },
{ value: "ARCHIVE_DEVICE", name: "封禁+设备" }
]
},
@ -218,7 +218,7 @@ export default {
} else {
this.form.description = "";
}
if (value === "FREEZE1DAY") {
if (value === "ARCHIVE1DAY") {
this.form.days = 1;
} else {
this.form.days = 3;
@ -232,6 +232,9 @@ export default {
return false;
}
that.form.beApprovalUserId = that.userId;
if (that.form.accountStatusEnum === "ARCHIVE1DAY") {
that.form.accountStatusEnum = "ARCHIVE";
}
that.loading = true;
accountHandle(that.form)
.then(res => {