@zgfe/modules-dm 1.0.37 → 1.0.38-session.0

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.
@@ -13,6 +13,7 @@ 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';
16
17
  var DataCollection = function DataCollection(props) {
17
18
  var _props$extraTabs, _props$extraTabs2;
18
19
  var classPrefix = 'data-collection';
@@ -76,7 +77,9 @@ var DataCollection = function DataCollection(props) {
76
77
  value: 3
77
78
  }, "\u865A\u62DF\u4E8B\u4EF6"), authority[100021] && /*#__PURE__*/React.createElement(Radio.Button, {
78
79
  value: 2
79
- }, "\u7528\u6237\u5C5E\u6027\u7BA1\u7406"), (_props$extraTabs = props.extraTabs) === null || _props$extraTabs === void 0 ? void 0 : _props$extraTabs.map(function (item) {
80
+ }, "\u7528\u6237\u5C5E\u6027\u7BA1\u7406"), authority[1701310624] && /*#__PURE__*/React.createElement(Radio.Button, {
81
+ value: "session"
82
+ }, "Session\u7BA1\u7406"), (_props$extraTabs = props.extraTabs) === null || _props$extraTabs === void 0 ? void 0 : _props$extraTabs.map(function (item) {
80
83
  return /*#__PURE__*/React.createElement(Radio.Button, {
81
84
  key: item.key,
82
85
  value: item.key,
@@ -89,7 +92,7 @@ var DataCollection = function DataCollection(props) {
89
92
  isOpen: isOpen,
90
93
  queryPlanData: queryPlanData,
91
94
  source: "user"
92
- }), (_props$extraTabs2 = props.extraTabs) === null || _props$extraTabs2 === void 0 ? void 0 : _props$extraTabs2.map(function (item) {
95
+ }), listTab == 'session' && authority[1701310624] && /*#__PURE__*/React.createElement(SessionManage, null), (_props$extraTabs2 = props.extraTabs) === null || _props$extraTabs2 === void 0 ? void 0 : _props$extraTabs2.map(function (item) {
93
96
  return listTab === item.key ? /*#__PURE__*/React.createElement("div", {
94
97
  key: item.key
95
98
  }, 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!important;
8
+ .ant-select {
9
+ border-radius: 4px !important;
10
10
  }
11
11
  .loading {
12
12
  position: fixed;
@@ -398,8 +398,8 @@
398
398
  }
399
399
 
400
400
  .event-list-drawer {
401
- .ant-select{
402
- border-radius: 4px!important;
401
+ .ant-select {
402
+ border-radius: 4px !important;
403
403
  }
404
404
  .ant-drawer-header-title {
405
405
  height: 20px;
@@ -414,8 +414,8 @@
414
414
  }
415
415
 
416
416
  .create-virtual-drawer {
417
- .ant-select{
418
- border-radius: 4px!important;
417
+ .ant-select {
418
+ border-radius: 4px !important;
419
419
  }
420
420
  #basic {
421
421
  padding-bottom: 100px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.37",
3
+ "version": "1.0.38-session.0",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -40,18 +40,19 @@
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",
43
44
  "antd": "4.24.10",
44
45
  "dumi": "^1.1.0",
45
46
  "father-build": "^1.17.2",
46
47
  "gh-pages": "^3.0.0",
47
- "lerna": "^5.1.7",
48
+ "lerna": "^4.0.0",
48
49
  "lint-staged": "^10.0.7",
49
50
  "lodash": "^4.17.21",
50
51
  "prettier": "^2.2.1",
51
52
  "umi-request": "^1.4.0",
52
53
  "yorkie": "^2.0.0"
53
54
  },
54
- "gitHead": "951170e644a46fd388269e91dea5d98e9f52bb2b",
55
+ "gitHead": "e3f7e70f36fb32359a4bc51b64a7289265959be9",
55
56
  "gitHooks": {
56
57
  "pre-commit": "lint-staged"
57
58
  }