@zgfe/modules-dm 1.0.38-session.0 → 1.0.38
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.
- package/es/modules/dataCollection/collectionEventList.js +2 -1
- package/es/modules/dataCollection/components/eventFilter/styles/index.less +0 -0
- package/es/modules/dataCollection/index.js +2 -5
- package/es/modules/dataCollection/styles/index.less +7 -8
- package/es/modules/dataCollection/virtualEventList.js +2 -0
- package/package.json +3 -4
|
@@ -380,14 +380,15 @@ var CollectionEventList = function CollectionEventList(props) {
|
|
|
380
380
|
}, "\u5171", /*#__PURE__*/React.createElement("span", null, total), "\u6761"), /*#__PURE__*/React.createElement("div", {
|
|
381
381
|
className: "top-button"
|
|
382
382
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
383
|
-
type: "primary",
|
|
384
383
|
shape: "round",
|
|
384
|
+
className: "button ".concat(!authority[1000002] ? 'disabled' : ''),
|
|
385
385
|
disabled: !authority[1000002],
|
|
386
386
|
onClick: function onClick() {
|
|
387
387
|
return setEventNameShow(true);
|
|
388
388
|
}
|
|
389
389
|
}, "\u521B\u5EFA\u4E8B\u4EF6\u5206\u7EC4"), /*#__PURE__*/React.createElement(Button, {
|
|
390
390
|
shape: "round",
|
|
391
|
+
className: "button ".concat(!authority[1700636282] ? 'disabled' : ''),
|
|
391
392
|
disabled: !authority[1700636282],
|
|
392
393
|
onClick: function onClick() {
|
|
393
394
|
return setEventGroupingShow(true);
|
|
File without changes
|
|
@@ -13,7 +13,6 @@ import { getAppID } from '../../utils';
|
|
|
13
13
|
import EventList from './collectionEventList';
|
|
14
14
|
import CollectionAttributeList from './collectionAttributeList';
|
|
15
15
|
import VirtualEventList from './virtualEventList';
|
|
16
|
-
import { SessionManage } from '@zgfe/modules-session';
|
|
17
16
|
var DataCollection = function DataCollection(props) {
|
|
18
17
|
var _props$extraTabs, _props$extraTabs2;
|
|
19
18
|
var classPrefix = 'data-collection';
|
|
@@ -77,9 +76,7 @@ var DataCollection = function DataCollection(props) {
|
|
|
77
76
|
value: 3
|
|
78
77
|
}, "\u865A\u62DF\u4E8B\u4EF6"), authority[100021] && /*#__PURE__*/React.createElement(Radio.Button, {
|
|
79
78
|
value: 2
|
|
80
|
-
}, "\u7528\u6237\u5C5E\u6027\u7BA1\u7406"),
|
|
81
|
-
value: "session"
|
|
82
|
-
}, "Session\u7BA1\u7406"), (_props$extraTabs = props.extraTabs) === null || _props$extraTabs === void 0 ? void 0 : _props$extraTabs.map(function (item) {
|
|
79
|
+
}, "\u7528\u6237\u5C5E\u6027\u7BA1\u7406"), (_props$extraTabs = props.extraTabs) === null || _props$extraTabs === void 0 ? void 0 : _props$extraTabs.map(function (item) {
|
|
83
80
|
return /*#__PURE__*/React.createElement(Radio.Button, {
|
|
84
81
|
key: item.key,
|
|
85
82
|
value: item.key,
|
|
@@ -92,7 +89,7 @@ var DataCollection = function DataCollection(props) {
|
|
|
92
89
|
isOpen: isOpen,
|
|
93
90
|
queryPlanData: queryPlanData,
|
|
94
91
|
source: "user"
|
|
95
|
-
}),
|
|
92
|
+
}), (_props$extraTabs2 = props.extraTabs) === null || _props$extraTabs2 === void 0 ? void 0 : _props$extraTabs2.map(function (item) {
|
|
96
93
|
return listTab === item.key ? /*#__PURE__*/React.createElement("div", {
|
|
97
94
|
key: item.key
|
|
98
95
|
}, item.children) : null;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
padding: 24px;
|
|
6
6
|
background: #fff;
|
|
7
7
|
border-radius: 8px;
|
|
8
|
-
.ant-select
|
|
9
|
-
border-radius: 4px
|
|
8
|
+
.ant-select{
|
|
9
|
+
border-radius: 4px!important;
|
|
10
10
|
}
|
|
11
11
|
.loading {
|
|
12
12
|
position: fixed;
|
|
@@ -93,8 +93,7 @@
|
|
|
93
93
|
display: flex;
|
|
94
94
|
gap: 16px;
|
|
95
95
|
line-height: 100%;
|
|
96
|
-
|
|
97
|
-
> :nth-child(3) {
|
|
96
|
+
.button:not(.disabled) {
|
|
98
97
|
color: #1454e5;
|
|
99
98
|
border: 1px solid #1454e5;
|
|
100
99
|
}
|
|
@@ -398,8 +397,8 @@
|
|
|
398
397
|
}
|
|
399
398
|
|
|
400
399
|
.event-list-drawer {
|
|
401
|
-
.ant-select
|
|
402
|
-
border-radius: 4px
|
|
400
|
+
.ant-select{
|
|
401
|
+
border-radius: 4px!important;
|
|
403
402
|
}
|
|
404
403
|
.ant-drawer-header-title {
|
|
405
404
|
height: 20px;
|
|
@@ -414,8 +413,8 @@
|
|
|
414
413
|
}
|
|
415
414
|
|
|
416
415
|
.create-virtual-drawer {
|
|
417
|
-
.ant-select
|
|
418
|
-
border-radius: 4px
|
|
416
|
+
.ant-select{
|
|
417
|
+
border-radius: 4px!important;
|
|
419
418
|
}
|
|
420
419
|
#basic {
|
|
421
420
|
padding-bottom: 100px;
|
|
@@ -281,12 +281,14 @@ var VirtualEventList = function VirtualEventList() {
|
|
|
281
281
|
}
|
|
282
282
|
}, "\u521B\u5EFA\u865A\u62DF\u4E8B\u4EF6"), /*#__PURE__*/React.createElement(Button, {
|
|
283
283
|
shape: "round",
|
|
284
|
+
className: "button ".concat(!authority[1700636137] ? 'disabled' : ''),
|
|
284
285
|
disabled: !authority[1700636137],
|
|
285
286
|
onClick: function onClick() {
|
|
286
287
|
return setEventNameShow(true);
|
|
287
288
|
}
|
|
288
289
|
}, "\u521B\u5EFA\u4E8B\u4EF6\u5206\u7EC4"), /*#__PURE__*/React.createElement(Button, {
|
|
289
290
|
shape: "round",
|
|
291
|
+
className: "button ".concat(!authority[1700636017] ? 'disabled' : ''),
|
|
290
292
|
disabled: !authority[1700636017],
|
|
291
293
|
onClick: function onClick() {
|
|
292
294
|
return setEventGroupingShow(true);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.38
|
|
3
|
+
"version": "1.0.38",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -40,19 +40,18 @@
|
|
|
40
40
|
"@umijs/fabric": "^2.8.1",
|
|
41
41
|
"@umijs/test": "^3.0.5",
|
|
42
42
|
"@zgfe/business-lib": "1.2.3-heyh.1",
|
|
43
|
-
"@zgfe/modules-session": "1.0.1-alpha.1",
|
|
44
43
|
"antd": "4.24.10",
|
|
45
44
|
"dumi": "^1.1.0",
|
|
46
45
|
"father-build": "^1.17.2",
|
|
47
46
|
"gh-pages": "^3.0.0",
|
|
48
|
-
"lerna": "^
|
|
47
|
+
"lerna": "^5.1.7",
|
|
49
48
|
"lint-staged": "^10.0.7",
|
|
50
49
|
"lodash": "^4.17.21",
|
|
51
50
|
"prettier": "^2.2.1",
|
|
52
51
|
"umi-request": "^1.4.0",
|
|
53
52
|
"yorkie": "^2.0.0"
|
|
54
53
|
},
|
|
55
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "b76a2d00e610543c08fd9a2fe294bf82eaa273ae",
|
|
56
55
|
"gitHooks": {
|
|
57
56
|
"pre-commit": "lint-staged"
|
|
58
57
|
}
|