|
|
|
|
@ -40,12 +40,12 @@ export default {
|
|
|
|
|
result() {
|
|
|
|
|
if (this.response.status === "Success") {
|
|
|
|
|
return {
|
|
|
|
|
status: "Success!",
|
|
|
|
|
message: `Accepted: ${this.response.accepted}\nProcessed: ${this.response.processed}\nProcessing time ${this.response.process_time}`
|
|
|
|
|
status: "Успех!",
|
|
|
|
|
message: `Принято: ${this.response.accepted}\nОбработано: ${this.response.processed}\nВремя обработки: ${this.response.process_time}`
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
return {
|
|
|
|
|
status: "Failure!",
|
|
|
|
|
status: "Неудача!",
|
|
|
|
|
message: this.response.detail
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|