@zgfe/modules-page 1.0.17-zhongyuan.19 → 1.0.17-zhongyuan.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,122 +1,122 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .page-content {
4
- margin-top: 24px;
5
-
6
- .ant-table
7
- .ant-table-thead
8
- .ant-table-cell.ant-table-column-has-sorters
9
- .ant-table-column-sorters {
10
- justify-content: flex-end;
11
- }
12
- .thread-right .ant-table-column-sorters {
13
- justify-content: flex-end;
14
- }
15
-
16
- .thread-title {
17
- span {
18
- margin-left: 4px;
19
- color: #9aa1a9;
20
- cursor: pointer;
21
- &:hover {
22
- color: @primary-color;
23
- }
24
- }
25
- }
26
- .ant-table .ant-table-container .ant-table-thead > tr > th.thread-merge {
27
- border-bottom: none;
28
- }
29
-
30
- .table-td-page {
31
- position: relative;
32
- cursor: pointer;
33
-
34
- &:hover {
35
- .table-td-page-icon {
36
- display: block;
37
- }
38
- }
39
- &-title {
40
- color: @text-color-secondary;
41
- .__default-overflow();
42
- }
43
- &-content {
44
- margin-top: 8px;
45
- color: #9aa1a9;
46
- font-size: 12px;
47
- .__default-overflow();
48
- }
49
- &-icon {
50
- position: absolute;
51
- top: 8px;
52
- right: 0px;
53
- z-index: 10;
54
- display: none;
55
- font-size: 16px !important;
56
- &:hover {
57
- color: @primary-color;
58
- }
59
- }
60
- }
61
- .table-td-group {
62
- &:hover {
63
- .bsicon {
64
- display: inline-block;
65
- }
66
- }
67
- &-content {
68
- cursor: pointer;
69
- }
70
- .bsicon {
71
- display: none;
72
- margin-left: 16px;
73
- cursor: pointer;
74
-
75
- &:hover {
76
- color: @primary-color;
77
- }
78
- }
79
- }
80
-
81
- &-empty {
82
- display: flex;
83
- align-items: center;
84
- justify-content: center;
85
- margin-top: 24px;
86
- padding: 105px 0;
87
- background: #fff;
88
- border: 1px solid #ecedf0;
89
- border-radius: 8px;
90
-
91
- &-content {
92
- display: flex;
93
- flex-direction: column;
94
- align-items: center;
95
- width: 348px;
96
-
97
- img {
98
- width: 348px;
99
- }
100
- }
101
-
102
- &-content1 {
103
- font-size: 16px;
104
- }
105
- &-content2 {
106
- margin-top: 8px;
107
- margin-bottom: 24px;
108
- color: @text-color-secondary;
109
- font-size: 16px;
110
- text-align: center;
111
- }
112
- .tianjia1 {
113
- margin-right: 8px;
114
- }
115
- }
116
- .anslysis-tip {
117
- display: flex;
118
- justify-content: space-between;
119
- width: 60%;
120
- margin: 0px 0px 10px;
121
- }
122
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .page-content {
4
+ margin-top: 24px;
5
+
6
+ .ant-table
7
+ .ant-table-thead
8
+ .ant-table-cell.ant-table-column-has-sorters
9
+ .ant-table-column-sorters {
10
+ justify-content: flex-end;
11
+ }
12
+ .thread-right .ant-table-column-sorters {
13
+ justify-content: flex-end;
14
+ }
15
+
16
+ .thread-title {
17
+ span {
18
+ margin-left: 4px;
19
+ color: #9aa1a9;
20
+ cursor: pointer;
21
+ &:hover {
22
+ color: @primary-color;
23
+ }
24
+ }
25
+ }
26
+ .ant-table .ant-table-container .ant-table-thead > tr > th.thread-merge {
27
+ border-bottom: none;
28
+ }
29
+
30
+ .table-td-page {
31
+ position: relative;
32
+ cursor: pointer;
33
+
34
+ &:hover {
35
+ .table-td-page-icon {
36
+ display: block;
37
+ }
38
+ }
39
+ &-title {
40
+ color: @text-color-secondary;
41
+ .__default-overflow();
42
+ }
43
+ &-content {
44
+ margin-top: 8px;
45
+ color: #9aa1a9;
46
+ font-size: 12px;
47
+ .__default-overflow();
48
+ }
49
+ &-icon {
50
+ position: absolute;
51
+ top: 8px;
52
+ right: 0px;
53
+ z-index: 10;
54
+ display: none;
55
+ font-size: 16px !important;
56
+ &:hover {
57
+ color: @primary-color;
58
+ }
59
+ }
60
+ }
61
+ .table-td-group {
62
+ &:hover {
63
+ .bsicon {
64
+ display: inline-block;
65
+ }
66
+ }
67
+ &-content {
68
+ cursor: pointer;
69
+ }
70
+ .bsicon {
71
+ display: none;
72
+ margin-left: 16px;
73
+ cursor: pointer;
74
+
75
+ &:hover {
76
+ color: @primary-color;
77
+ }
78
+ }
79
+ }
80
+
81
+ &-empty {
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ margin-top: 24px;
86
+ padding: 105px 0;
87
+ background: #fff;
88
+ border: 1px solid #ecedf0;
89
+ border-radius: 8px;
90
+
91
+ &-content {
92
+ display: flex;
93
+ flex-direction: column;
94
+ align-items: center;
95
+ width: 348px;
96
+
97
+ img {
98
+ width: 348px;
99
+ }
100
+ }
101
+
102
+ &-content1 {
103
+ font-size: 16px;
104
+ }
105
+ &-content2 {
106
+ margin-top: 8px;
107
+ margin-bottom: 24px;
108
+ color: @text-color-secondary;
109
+ font-size: 16px;
110
+ text-align: center;
111
+ }
112
+ .tianjia1 {
113
+ margin-right: 8px;
114
+ }
115
+ }
116
+ .anslysis-tip {
117
+ display: flex;
118
+ justify-content: space-between;
119
+ width: 60%;
120
+ margin: 0px 0px 10px;
121
+ }
122
+ }
@@ -44,11 +44,11 @@ var SearchPanel = /*#__PURE__*/React.forwardRef(function (props, ref) {
44
44
  }, 0);
45
45
  }, []);
46
46
 
47
- /**
48
- * 筛选值发生改变
49
- * @param _changedValues 当前表单项改变后的值
50
- * @param allValues 当前表单值
51
- * @returns
47
+ /**
48
+ * 筛选值发生改变
49
+ * @param _changedValues 当前表单项改变后的值
50
+ * @param allValues 当前表单值
51
+ * @returns
52
52
  */
53
53
  var onChange = function onChange(_changedValues, allValues) {
54
54
  setFormData(allValues);
@@ -16,7 +16,8 @@ var TopContent = function TopContent(props) {
16
16
  time = _useState2[0],
17
17
  setTime = _useState2[1];
18
18
  var _useContext = useContext(BizGlobalDataContext),
19
- authority = _useContext.authority;
19
+ authority = _useContext.authority,
20
+ showProdDownload = _useContext.showProdDownload;
20
21
  useEffect(function () {
21
22
  // 初始为最新一天
22
23
  var initValue = {
@@ -42,7 +43,7 @@ var TopContent = function TopContent(props) {
42
43
  onClick: props.onCreate
43
44
  }, /*#__PURE__*/React.createElement(IconFont, {
44
45
  type: "tianjia1"
45
- }), " \u65B0\u5EFA\u5206\u7EC4") : /*#__PURE__*/React.createElement(Button, {
46
+ }), " \u65B0\u5EFA\u5206\u7EC4") : showProdDownload && /*#__PURE__*/React.createElement(Button, {
46
47
  disabled: props.disabled || !authority[100068],
47
48
  onClick: props.onDownload
48
49
  }, /*#__PURE__*/React.createElement(IconFont, {
@@ -107,7 +107,7 @@ var ModulesPage = function ModulesPage(props) {
107
107
  var flag = true;
108
108
  eventGroupList === null || eventGroupList === void 0 || eventGroupList.forEach(function (group) {
109
109
  group.eventList.forEach(function (event) {
110
- if (event.event_name === 'click' || event.event_name === 'pv') {
110
+ if ((event.name === 'click' || event.name === 'pv') && event !== null && event !== void 0 && event.clickAnalysis) {
111
111
  flag = false;
112
112
  }
113
113
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-page",
3
- "version": "1.0.17-zhongyuan.19",
3
+ "version": "1.0.17-zhongyuan.21",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -45,7 +45,7 @@
45
45
  "@types/lodash": "^4.14.197",
46
46
  "@umijs/fabric": "^2.8.1",
47
47
  "@umijs/test": "^3.0.5",
48
- "@zgfe/business-lib": "1.2.70-hxd.1",
48
+ "@zgfe/business-lib": "1.2.70-hxd.31",
49
49
  "antd": "^4.22.6",
50
50
  "dumi": "^1.1.0",
51
51
  "father": "^4.0.0-rc.2",
@@ -57,5 +57,12 @@
57
57
  "rc-virtual-list": "^3.14.2",
58
58
  "yorkie": "^2.0.0"
59
59
  },
60
- "gitHead": "3ba8f223661df24590fef308e3bb335d36076674"
60
+ "gitHead": "ce9601dc624bf58133275fb6ecbd11512be1acb9",
61
+ "resolutions": {
62
+ "pretty-format": "26.6.2",
63
+ "expect": "26.6.2",
64
+ "minimatch": "3.1.2",
65
+ "less-loader": "10.0.0",
66
+ "commander": "2.20.3"
67
+ }
61
68
  }