From d549f463798ea744884aaad604f34e840442bafd Mon Sep 17 00:00:00 2001 From: luosongbai <15272473386@163.com> Date: Fri, 11 Jun 2021 16:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=99=E5=AD=98=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/pages/analysis.html | 20 +- web/pages/event.html | 56 ++ web/pages/globalfilter.html | 17 + web/pages/grouped.html | 31 +- web/pages/retained.html | 97 ++- web/pages/returnvisitevent.html | 52 ++ web/pages/setgrouping.html | 4 +- web/src/x.min.js | 813 ++++++++++++++++++++---- web/srczip/common.js | 14 +- web/srczip/logic/analysis.js | 121 ++-- web/srczip/logic/category.js | 2 +- web/srczip/logic/conditionquery.js | 2 +- web/srczip/logic/event.js | 15 + web/srczip/logic/globalfilter.js | 18 + web/srczip/logic/grouped.js | 14 +- web/srczip/logic/retained.js | 606 ++++++++++++++++-- web/srczip/logic/returnvisitevent.js | 16 + web/srczip/logic/setgrouping.js | 2 +- web/static/css/analysis.css | 8 +- web/static/img/iconfont/demo_index.html | 52 +- web/static/img/iconfont/iconfont.css | 14 +- web/static/img/iconfont/iconfont.js | 2 +- web/static/img/iconfont/iconfont.json | 14 + web/static/img/iconfont/iconfont.ttf | Bin 2708 -> 3032 bytes web/static/img/iconfont/iconfont.woff | Bin 1868 -> 2064 bytes web/static/img/iconfont/iconfont.woff2 | Bin 1396 -> 1588 bytes 26 files changed, 1687 insertions(+), 303 deletions(-) create mode 100644 web/pages/event.html create mode 100644 web/pages/globalfilter.html create mode 100644 web/pages/returnvisitevent.html create mode 100644 web/srczip/logic/event.js create mode 100644 web/srczip/logic/globalfilter.js create mode 100644 web/srczip/logic/returnvisitevent.js diff --git a/web/pages/analysis.html b/web/pages/analysis.html index 746fb05..749bd27 100644 --- a/web/pages/analysis.html +++ b/web/pages/analysis.html @@ -224,12 +224,12 @@
- +
{{index}}
-
{{item.event_name}}
+
{{item.event_desc}}
{{item.event_attr}}
{{# if(item.event_attr_id != "*"){ }} @@ -238,13 +238,13 @@ {{# } }}
-
- {{# if(item.filters.length > 0){ }} +
+ {{# if(item.filts.length > 0){ }}
- {{# if(item.filters.length > 1){ }} + {{# if(item.filts.length > 1){ }} {{# if(item.condrelation === "and"){ }}
{{# } else { }} @@ -253,11 +253,13 @@ {{# } }}
- {{# layui.each(item.filters, function(indexs, items){ }} + {{# layui.each(item.filts, function(indexs, items){ }}
-
{{items.column_name}}
+
{{items.columnDesc}}
{{items.comparator_name}}
+
+
{{# }); }} @@ -315,7 +317,7 @@
{{index}}
- {{item.column_name}} + {{item.columnDesc}}
@@ -338,7 +340,7 @@ diff --git a/web/pages/globalfilter.html b/web/pages/globalfilter.html new file mode 100644 index 0000000..38c2ddf --- /dev/null +++ b/web/pages/globalfilter.html @@ -0,0 +1,17 @@ + + \ No newline at end of file diff --git a/web/pages/grouped.html b/web/pages/grouped.html index dfaf090..997617c 100644 --- a/web/pages/grouped.html +++ b/web/pages/grouped.html @@ -1,19 +1,26 @@ diff --git a/web/pages/retained.html b/web/pages/retained.html index 1dfd12f..3c2a9f9 100644 --- a/web/pages/retained.html +++ b/web/pages/retained.html @@ -34,8 +34,53 @@
+
初始事件
+
+ +
+
+ +
+
回访事件
+
+ +
+
+ +
+
全局筛选
+ +
+ +
+ +
+
+
+
+ +
+ + +
+ +
+ +
+ + + 添加条件 + +
+
+ +
+ + +
+
分组项
@@ -65,25 +110,23 @@
-
-
按天
+
+
7天
-
指标
-
分组
+
-
-
- -
- +
+
+
-
+
@@ -92,10 +135,9 @@ - - - - + + +
@@ -107,4 +149,29 @@
-
\ No newline at end of file + + + + + \ No newline at end of file diff --git a/web/pages/returnvisitevent.html b/web/pages/returnvisitevent.html new file mode 100644 index 0000000..657ee1f --- /dev/null +++ b/web/pages/returnvisitevent.html @@ -0,0 +1,52 @@ + diff --git a/web/pages/setgrouping.html b/web/pages/setgrouping.html index 0e98a6e..53c3b0c 100644 --- a/web/pages/setgrouping.html +++ b/web/pages/setgrouping.html @@ -24,8 +24,8 @@
{{item.title}}
{{# layui.each(item.category, function(indexs, items){ }} -
-
{{items.event_name}}
+
+
{{items.event_desc}}