diff --git a/src/components/data/AccountHanle/index.vue b/src/components/data/AccountHanle/index.vue index 6b37a6f..d5ad8ae 100644 --- a/src/components/data/AccountHanle/index.vue +++ b/src/components/data/AccountHanle/index.vue @@ -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 => {