From 0934cd472ab8e53711839e3e50bda117dd057dee Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 9 Jan 2020 14:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Ecp=E7=BB=93=E7=AE=97=E5=8D=95?= =?UTF-8?q?=E5=88=B0=E5=88=97=E8=A1=A8=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/View/Statement/createCpStatement.html | 11 +++++------ Application/Admin/View/StatementMangement/lists.html | 9 ++++++--- 2 files changed, 11 insertions(+), 9 deletions(-) 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 @@