From d9981d5af21290f7057e5d29cceb7b8abf63911e Mon Sep 17 00:00:00 2001 From: xurongyao Date: Tue, 18 Sep 2018 09:21:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../view/system/system_databackup/index.php | 51 ++++++++++++------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/application/admin/view/system/system_databackup/index.php b/application/admin/view/system/system_databackup/index.php index 3e39e198..5c28db3e 100644 --- a/application/admin/view/system/system_databackup/index.php +++ b/application/admin/view/system/system_databackup/index.php @@ -1,24 +1,30 @@ {extend name="public/container"} {block name="content"} -
-
-
+
+
+
+
+
数据库表列表
+
+
-
-
-
-
数据库表列表
-
-
- - - - +
+
+
+
+
+ + + + +
+
+ +
+
-
-
@@ -66,6 +72,17 @@ if(tables.length){ layList.basePost(layList.Url({a:'repair'}),{tables:tables},function (res) { layList.msg(res.msg); +// layList.reload(); + }); + }else{ + layList.msg('请选择表'); + } + }, + backup:function () { + var tables=layList.getCheckData().getIds('name'); + if(tables.length){ + layList.basePost(layList.Url({a:'backup'}),{tables:tables},function (res) { + layList.msg(res.msg); // layList.reload(); }); }else{