From 2aa37a30dd1468c8c489273c99ffcb33c6dff737 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 11 三月 2021 16:20:46 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/custOrder/custOrder.js |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/static/js/custOrder/custOrder.js b/src/main/webapp/static/js/custOrder/custOrder.js
index a5adbdd..3af1003 100644
--- a/src/main/webapp/static/js/custOrder/custOrder.js
+++ b/src/main/webapp/static/js/custOrder/custOrder.js
@@ -1,14 +1,16 @@
 var pageCurr;
-
 function right(){
-    top.layui.admin.popupRight({
+    top.popupRight = top.layui.admin.popupRight({
         id: 'LAY_adminPopupLayerTest'
         , area: '750px'
         , type: 2
-        ,content:'custOrder/matQuery.html'
-        ,success: function(){
+        , content:'custOrder/matQuery.html'
+        , success: function(){
             // $('#'+ this.id).html('<div style="padding: 20px;">鏀惧叆鍐呭</div>');
             //admin.view(this.id).render('system/xxx')
+        }
+        , end: function () {
+            $(".layui-laypage-btn")[0].click();
         }
     });
 }
@@ -142,7 +144,7 @@
                             success: function (res) {
                                 if (res.code === 200){
                                     layer.closeAll();
-                                    tableReload(false);
+                                    $(".layui-laypage-btn")[0].click();
                                 } else if (res.code === 403){
                                     top.location.href = baseUrl+"/";
                                 } else {

--
Gitblit v1.9.1