Commit 0de147ee authored by krysent's avatar krysent

pinter

parent 1b957ba3
...@@ -152,6 +152,7 @@ const Station = (props) => { ...@@ -152,6 +152,7 @@ const Station = (props) => {
params: formData, params: formData,
}).then((res) => { }).then((res) => {
if (res?.code == "0000") { if (res?.code == "0000") {
reload();
setDrawer((v) => ({ setDrawer((v) => ({
...v, ...v,
visible: false, visible: false,
...@@ -164,6 +165,7 @@ const Station = (props) => { ...@@ -164,6 +165,7 @@ const Station = (props) => {
} }
}); });
} else { } else {
reload();
saveAndPrint(); saveAndPrint();
} }
//新增&修改 //新增&修改
...@@ -172,7 +174,6 @@ const Station = (props) => { ...@@ -172,7 +174,6 @@ const Station = (props) => {
// url: "/ngic-auth/sysStation/save", // url: "/ngic-auth/sysStation/save",
// params: { ...newfields, ...difrid }, // params: { ...newfields, ...difrid },
// }); // });
reload()
}; };
const showConfirm = () => { const showConfirm = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment