修复窗口未关闭问题

This commit is contained in:
liaozetao
2023-12-18 16:46:32 +08:00
parent b564059d15
commit 28ba214cb7
2 changed files with 4 additions and 2 deletions

View File

@@ -280,7 +280,7 @@ export default {
$("#tipMsg").text("保存成功"); $("#tipMsg").text("保存成功");
$("#tipModal").modal('show'); $("#tipModal").modal('show');
TableHelper.doRefresh("#table"); TableHelper.doRefresh("#table");
$("#updateItemModal").modal('hide'); $("#updateCapModal").modal('hide');
} else { } else {
$("#tipMsg").text("保存失败." + json.message); $("#tipMsg").text("保存失败." + json.message);
$("#tipModal").modal('show'); $("#tipModal").modal('show');
@@ -323,6 +323,7 @@ export default {
$("#tipMsg").text("保存成功"); $("#tipMsg").text("保存成功");
$("#tipModal").modal('show'); $("#tipModal").modal('show');
TableHelper.doRefresh("#table"); TableHelper.doRefresh("#table");
$("#addCapModal").modal('hide');
} else { } else {
$("#tipMsg").text("保存失败." + json.message); $("#tipMsg").text("保存失败." + json.message);
$("#tipModal").modal('show'); $("#tipModal").modal('show');

View File

@@ -331,7 +331,7 @@ export default {
$("#tipMsg").text("保存成功"); $("#tipMsg").text("保存成功");
$("#tipModal").modal('show'); $("#tipModal").modal('show');
TableHelper.doRefresh("#table"); TableHelper.doRefresh("#table");
$("#updateItemModal").modal('hide'); $("#updateJoinHandModal").modal('show');
} else { } else {
$("#tipMsg").text("保存失败." + json.message); $("#tipMsg").text("保存失败." + json.message);
$("#tipModal").modal('show'); $("#tipModal").modal('show');
@@ -374,6 +374,7 @@ export default {
$("#tipMsg").text("保存成功"); $("#tipMsg").text("保存成功");
$("#tipModal").modal('show'); $("#tipModal").modal('show');
TableHelper.doRefresh("#table"); TableHelper.doRefresh("#table");
$("#addJoinHandModal").modal('hide');
} else { } else {
$("#tipMsg").text("保存失败." + json.message); $("#tipMsg").text("保存失败." + json.message);
$("#tipModal").modal('show'); $("#tipModal").modal('show');