From f5df017deac69032a31b6f637c3ce80cd1c414cb Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <279049017@qq.com>
Date: Wed, 03 Mar 2021 10:42:10 +0800
Subject: [PATCH] 将查看套餐的开始时间和结束时间与h端对应

---
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/groupProduct.html |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/groupProduct.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/groupProduct.html
index 7eb5f0f..cb35adb 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/groupProduct.html
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/groupProduct.html
@@ -18,15 +18,6 @@
         <table class="layui-table" id="product-table" lay-filter="product-table"></table>
     </div>
 </div>
-<!-- 表格操作列 -->
-<script type="text/html" id="product-table-bar">
-    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
-</script>
-<!-- 表格状态列 -->
-<script type="text/html" id="product-tpl-state">
-    <input type="checkbox" lay-filter="product-tpl-state" value="{{d.id}}" lay-skin="switch" lay-text="未处理|已处理"
-           {{d.enabled==true?'checked':''}}/>
-</script>
 
 <script>
     layui.use(['table', 'config','laydate'], function () {
@@ -44,7 +35,7 @@
         var renderTable = function () {
             table.render({
                 elem: '#product-table',
-                url: config.base_server + 'api-opration/productorderdetail/group',
+                url: config.base_server + 'api-opration/productorderrecord/group',
                 method: 'GET',
                 headers: { 'Authorization': 'Bearer ' + config.getToken().access_token },
                 page: true,
@@ -68,7 +59,11 @@
                 updateTime = dateUtil.getNowDate();
                 $('#dateend').val(updateTime);
             }
-            table.reload('product-table', { where: { createTime: createTime,updateTime: updateTime } });
+            table.reload('product-table', { 
+                where: { createTime: createTime,updateTime: updateTime},
+                page: {
+                    curr: 1 
+                } });
         });
     });
 </script>
\ No newline at end of file

--
Gitblit v1.8.0