更新提交成果提示逻辑代码

main
陈增辉 2025-04-18 10:21:26 +08:00
parent 590882e763
commit b57dedbf23
1 changed files with 3 additions and 1 deletions

View File

@ -95,7 +95,7 @@ namespace WBFZTASK {
multiPart->deleteLater();
});
QMessageBox::information(this, u8"信息", u8"成果文件提交成功");
QMessageBox::information(this, u8"信息", u8"成果文件后台提交中");
}
@ -126,10 +126,12 @@ namespace WBFZTASK {
{
if (reply->error() == QNetworkReply::NoError) {
QMessageBox::information(this, "Success", "Upload completed successfully");
QMessageBox::information(this, u8"信息", u8"成果文件提交成功");
}
else {
QMessageBox::critical(this, "Error",
QString("Error %1: %2").arg(reply->error()).arg(reply->errorString()));
}
reply->deleteLater();
}