@zgfe/modules-page 1.0.1-alpha.22 → 1.0.1-alpha.24
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.
|
@@ -2,17 +2,52 @@ import React from 'react';
|
|
|
2
2
|
import { ModulesPage } from '@zgfe/modules-page';
|
|
3
3
|
import { DemoWrapper } from '@zgfe/business-lib';
|
|
4
4
|
var defaultValue = {
|
|
5
|
+
pageTitle: '进入百度首页894854121612',
|
|
5
6
|
appId: 225,
|
|
6
|
-
platform: 3,
|
|
7
7
|
module: 'page',
|
|
8
|
+
pageUrl: 'http://baidu.com/query/894854121612',
|
|
8
9
|
time: {
|
|
9
|
-
|
|
10
|
-
end: '2023-09-
|
|
11
|
-
|
|
10
|
+
unit: 'day',
|
|
11
|
+
end: '2023-09-14',
|
|
12
|
+
begin: '2023-08-31',
|
|
13
|
+
relative: [14, 0]
|
|
12
14
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
filters: {
|
|
16
|
+
conditions: [{
|
|
17
|
+
attrId: 0,
|
|
18
|
+
propCategory: 'userProp',
|
|
19
|
+
values: ['实名'],
|
|
20
|
+
dimensionSub: 'is_anonymous',
|
|
21
|
+
label: '实名/匿名',
|
|
22
|
+
type: 1,
|
|
23
|
+
category: 'fixed',
|
|
24
|
+
operator: 'equal',
|
|
25
|
+
attrName: 'is_anonymous'
|
|
26
|
+
}, {
|
|
27
|
+
attrId: 0,
|
|
28
|
+
propCategory: 'userProp',
|
|
29
|
+
values: ['30', '1'],
|
|
30
|
+
dimensionSub: 'last_visit_time',
|
|
31
|
+
label: '最后一次访问时间',
|
|
32
|
+
type: 3,
|
|
33
|
+
category: 'fixed',
|
|
34
|
+
operator: 'relative',
|
|
35
|
+
attrName: 'last_visit_time'
|
|
36
|
+
}, {
|
|
37
|
+
attrId: 0,
|
|
38
|
+
propCategory: 'envProp',
|
|
39
|
+
type: 1,
|
|
40
|
+
operator: 'equal',
|
|
41
|
+
values: ['baidu'],
|
|
42
|
+
dimensionSub: 'website',
|
|
43
|
+
label: '来源域名',
|
|
44
|
+
attrName: 'website',
|
|
45
|
+
category: 'fixed'
|
|
46
|
+
}],
|
|
47
|
+
relation: 'and'
|
|
48
|
+
},
|
|
49
|
+
userGroup: [758, 757],
|
|
50
|
+
platform: 3
|
|
16
51
|
};
|
|
17
52
|
export default (function () {
|
|
18
53
|
var onClickWarn = function onClickWarn() {
|
|
@@ -31,7 +31,7 @@ var ModulesPage = function ModulesPage(props) {
|
|
|
31
31
|
currentType = _useState2[0],
|
|
32
32
|
setCurrentType = _useState2[1];
|
|
33
33
|
// 最新查询条件
|
|
34
|
-
var _useState3 = useState(),
|
|
34
|
+
var _useState3 = useState(props.value),
|
|
35
35
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
36
36
|
searchValue = _useState4[0],
|
|
37
37
|
setSearchValue = _useState4[1];
|
|
@@ -112,9 +112,6 @@ var ModulesPage = function ModulesPage(props) {
|
|
|
112
112
|
};
|
|
113
113
|
getPageList(param, setPageList);
|
|
114
114
|
getPageGroupList(param, setPageGroupList, setPageLoading);
|
|
115
|
-
if (props.value) {
|
|
116
|
-
setSearchValue(props.value);
|
|
117
|
-
}
|
|
118
115
|
}, []);
|
|
119
116
|
useEffect(function () {
|
|
120
117
|
if (!showGroup) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-page",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.24",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@types/lodash": "^4.14.197",
|
|
40
40
|
"@umijs/fabric": "^2.8.1",
|
|
41
41
|
"@umijs/test": "^3.0.5",
|
|
42
|
-
"@zgfe/business-lib": "1.1.81-page.
|
|
42
|
+
"@zgfe/business-lib": "1.1.81-page.17",
|
|
43
43
|
"antd": "^4.22.6",
|
|
44
44
|
"dumi": "^1.1.0",
|
|
45
45
|
"father": "^4.0.0-rc.2",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"prettier": "^2.2.1",
|
|
51
51
|
"yorkie": "^2.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "73ac4e0a526380242b62d2d7af88218018830975"
|
|
54
54
|
}
|