From f5855c309000a4edaccdda759420d4a8e2412c44 Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期五, 08 四月 2022 13:07:30 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/orderTable.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/static/js/orderTable.js b/src/main/webapp/static/js/orderTable.js
index 1665bd7..5d4c8b1 100644
--- a/src/main/webapp/static/js/orderTable.js
+++ b/src/main/webapp/static/js/orderTable.js
@@ -1,3 +1,4 @@
+var insTb;
layui.config({
base: baseUrl + "/static/layui/lay/modules/" // 閰嶇疆妯″潡鎵�鍦ㄧ殑鐩綍
}).use(['table','laydate', 'form', 'admin'], function() {
@@ -10,7 +11,7 @@
/****************************************** 宸﹁竟琛� *************************************************/
- var insTb = table.render({
+ insTb = table.render({
elem: '#originTable',
url: baseUrl + '/order/nav/list/auth',
height: 'full-120',
@@ -42,7 +43,6 @@
{field: 'orderNo', title: '鍗曟嵁缂栧彿', align: 'center'}
]],
done: function (res, curr, count) {
- console.log(res)
$('#dictTable+.layui-table-view .layui-table-body tbody>tr:first').trigger('click');
}
});
@@ -56,7 +56,7 @@
/* 琛ㄦ牸閲嶇疆 */
form.on('submit(originTbReset)', function (data) {
insTb.reload({where: null});
- insTb2.reload({where: {host_id: null}, page: {curr: 1}});
+ insTb2.reload({where: null, page: {curr: 1}});
return false;
});
--
Gitblit v1.9.1