From 133307a0637193ca0c23f468aea2bd91c76e710a Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 08 九月 2023 14:04:57 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/home/dashboard.html |   33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/home/dashboard.html b/src/main/webapp/views/home/dashboard.html
index de57f41..f5aeb2f 100644
--- a/src/main/webapp/views/home/dashboard.html
+++ b/src/main/webapp/views/home/dashboard.html
@@ -101,7 +101,7 @@
                         <div class="layui-col-xs12 layui-col-sm6 layui-col-lg3 text-center">
                             <div class="numberInfoSubTitle">璺熻釜椤圭洰鏁伴噺</div>
                             <div class="numberInfoValue">
-                                <span id="progressCount">124</span><em class="numberInfoSuffix">涓�</em>
+                                <a href="#" id="openProgress"><span id="progressCount">124</span><em class="numberInfoSuffix">涓�</em></a>
                             </div>
                         </div>
                         <div class="layui-col-xs12 layui-col-sm6 layui-col-lg3 text-center">
@@ -113,7 +113,7 @@
                         <div class="layui-col-xs12 layui-col-sm6 layui-col-lg3 text-center">
                             <div class="numberInfoSubTitle">鎴愪氦椤圭洰鏁伴噺</div>
                             <div class="numberInfoValue">
-                                <span id="successCount">121</span><em class="numberInfoSuffix">涓�</em>
+                                <a href="#" id="openSuccess"><span id="successCount">121</span><em class="numberInfoSuffix">涓�</em></a>
                             </div>
                         </div>
                         <div class="layui-col-xs12 layui-col-sm6 layui-col-lg3 text-center">
@@ -248,6 +248,7 @@
         var $ = layui.jquery;
         var layer = layui.layer;
         var element = layui.element;
+        element.init();
 
         //鑾峰彇鍥㈤槦鏁版嵁
         $.ajax({
@@ -419,6 +420,34 @@
             myCharts3.resize();
         };
 
+        $("#openProgress").on("click", () => {
+            layer.open({
+                type: 2,
+                title: '璺熻釜椤圭洰',
+                maxmin: true,
+                area: [top.detailWidth, top.detailHeight],
+                shadeClose: true,
+                content: '../order/order.html?status=0',
+                success: function(layero, index){
+
+                }
+            });
+        });
+
+        $("#openSuccess").on("click", () => {
+            layer.open({
+                type: 2,
+                title: '璺熻釜椤圭洰',
+                maxmin: true,
+                area: [top.detailWidth, top.detailHeight],
+                shadeClose: true,
+                content: '../order/order.html?status=1',
+                success: function(layero, index){
+
+                }
+            });
+        });
+
     });
 </script>
 </body>

--
Gitblit v1.9.1