diff --git a/Application/Admin/View/Statement/createCpStatement.html b/Application/Admin/View/Statement/createCpStatement.html index 1518cc5c8..64af44166 100644 --- a/Application/Admin/View/Statement/createCpStatement.html +++ b/Application/Admin/View/Statement/createCpStatement.html @@ -83,9 +83,9 @@ -
+
@@ -525,7 +525,6 @@ }, createStatement(){ $("#createStatement").on("click",function(){ - alert(1); //验证信息 for (const key in DATAOBJ) { if(DATAOBJ[key] === false){ @@ -570,10 +569,10 @@ PUBLIC.postData("{:U('doAddCpStatement')}",DATAOBJ,function(data){ if(data.success){ + layer.closeAll('loading'); + layer.msg('添加成功'); setTimeout(function(){ - layer.closeAll('loading'); - layer.msg('添加成功'); - // + window.parent.reload(); },350); }else{ alert("添加失败,请联系管理员") diff --git a/Application/Admin/View/StatementMangement/lists.html b/Application/Admin/View/StatementMangement/lists.html index a58d7e442..35e12c5ba 100644 --- a/Application/Admin/View/StatementMangement/lists.html +++ b/Application/Admin/View/StatementMangement/lists.html @@ -177,7 +177,10 @@