@zgfe/business-lib 1.0.24-alpha.6 → 1.0.24-insight.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.
- package/es/addToPanel/index.js +3 -1
- package/es/assets/styles/chunks.less +2 -2
- package/es/assets/styles/resetAntd.less +4 -4
- package/es/assets/styles/variable.less +2 -1
- package/es/datePicker/index.js +13 -1
- package/es/datePicker/styles/index.less +1 -1
- package/es/eventSelector/listPanel.js +39 -22
- package/es/icon/iconFont.d.ts +1 -0
- package/es/icon/iconFont.js +1 -0
- package/es/index.d.ts +3 -2
- package/es/index.js +3 -2
- package/es/{analysisLayout → layout/analysisLayout}/demo/index.d.ts +0 -0
- package/es/{analysisLayout → layout/analysisLayout}/demo/index.js +0 -0
- package/es/{analysisLayout → layout/analysisLayout}/demo/index.less +0 -0
- package/es/{analysisLayout → layout/analysisLayout}/index.d.ts +0 -0
- package/es/{analysisLayout → layout/analysisLayout}/index.js +1 -1
- package/es/{analysisLayout → layout/analysisLayout}/index.less +12 -12
- package/es/layout/detail/demo/index.d.ts +2 -0
- package/es/layout/detail/demo/index.js +12 -0
- package/es/layout/detail/index.d.ts +9 -0
- package/es/layout/detail/index.js +24 -0
- package/es/layout/detail/index.less +28 -0
- package/es/select/styles/index.less +1 -1
- package/es/targetConditionGroup/index.js +24 -6
- package/es/userCondition/styles/conditionTypeList.less +4 -5
- package/package.json +2 -2
- package/es/commonStyle/icon.less +0 -194
- package/es/commonStyle/index.less +0 -3
- package/es/commonStyle/select.less +0 -92
- package/es/commonStyle/theme.less +0 -523
- package/es/commonStyle/variable.less +0 -127
package/es/addToPanel/index.js
CHANGED
|
@@ -166,7 +166,9 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
166
166
|
|
|
167
167
|
if (router && routes) router.push({
|
|
168
168
|
name: routes.panel,
|
|
169
|
-
params:
|
|
169
|
+
params: {
|
|
170
|
+
panelId: ((_result$panel = result.panel) === null || _result$panel === void 0 ? void 0 : _result$panel.id) || form.panel.id
|
|
171
|
+
}
|
|
170
172
|
});
|
|
171
173
|
}
|
|
172
174
|
}, form.panel.name || ((_result$panel2 = result.panel) === null || _result$panel2 === void 0 ? void 0 : _result$panel2.name)), "\u6210\u529F")
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// 通用hover样式,适用于下拉选项等
|
|
8
8
|
.__default-hover {
|
|
9
9
|
color: @primary-color;
|
|
10
|
-
background:
|
|
10
|
+
background: @primary-color-hover;
|
|
11
11
|
border-color: @primary-color;
|
|
12
12
|
cursor: pointer;
|
|
13
13
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.__default-focused {
|
|
21
21
|
background-color: #fff;
|
|
22
22
|
border-color: @primary-color;
|
|
23
|
-
box-shadow: 0 0 0 4px
|
|
23
|
+
box-shadow: 0 0 0 4px @primary-color-hover;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// 下拉组件操作栏样式
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
&:focus,
|
|
41
41
|
&-focused {
|
|
42
42
|
background-color: #fff !important;
|
|
43
|
-
box-shadow: 0 0 0 4px
|
|
43
|
+
box-shadow: 0 0 0 4px @primary-color-hover !important;
|
|
44
44
|
}
|
|
45
45
|
&.ant-input-status-error {
|
|
46
46
|
border-color: @error-color !important;
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
|
|
239
239
|
/*日期范围内背景色*/
|
|
240
240
|
.ant-picker-cell-in-range::before {
|
|
241
|
-
background:
|
|
241
|
+
background: @primary-color-hover !important;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
/*日期范围内的hover效果-背景不变*/
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
.ant-picker-panel
|
|
254
254
|
> :not(.ant-picker-date-panel)
|
|
255
255
|
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
|
|
256
|
-
background:
|
|
256
|
+
background: @primary-color-hover !important;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
/*日期范围内的hover效果*/
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
|
|
396
396
|
.ant-table-tbody > tr.ant-table-row:hover > td,
|
|
397
397
|
.ant-table-tbody > tr > td.ant-table-cell-row-hover {
|
|
398
|
-
background:
|
|
398
|
+
background: @primary-color-hover !important;
|
|
399
399
|
}
|
|
400
400
|
.ant-table-thead {
|
|
401
401
|
.ant-table-cell {
|
|
@@ -10,4 +10,5 @@
|
|
|
10
10
|
|
|
11
11
|
@shadow-color-light: rgba(0, 0, 0, 0.1);
|
|
12
12
|
@box-shadow-small: 0px 1px 2px @shadow-color-light;
|
|
13
|
-
@
|
|
13
|
+
@primary-color-hover: color(~`colorPalette('@{primary-color}', 0.1) `);
|
|
14
|
+
@box-shadow-form: 0 0 0 4px @primary-color-hover;
|
package/es/datePicker/index.js
CHANGED
|
@@ -50,9 +50,21 @@ var BizDatePicker = function BizDatePicker(props) {
|
|
|
50
50
|
|
|
51
51
|
if (data) {
|
|
52
52
|
setCurrentType(function () {
|
|
53
|
-
|
|
53
|
+
var list = dateList.filter(function (item) {
|
|
54
54
|
return item.value === data.unit;
|
|
55
55
|
})[0] || dateList[0];
|
|
56
|
+
|
|
57
|
+
if (data.relative) {
|
|
58
|
+
var valueData = list.children.filter(function (item) {
|
|
59
|
+
return item.count === data.relative[0];
|
|
60
|
+
})[0];
|
|
61
|
+
|
|
62
|
+
if (valueData) {
|
|
63
|
+
setCurrentTime(valueData);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return list;
|
|
56
68
|
});
|
|
57
69
|
setDateRange(function () {
|
|
58
70
|
return {
|
|
@@ -55,15 +55,10 @@ var EventListPanel = function EventListPanel(props) {
|
|
|
55
55
|
searchEventList = _useState8[0],
|
|
56
56
|
setSearchEventList = _useState8[1];
|
|
57
57
|
|
|
58
|
-
var _useState9 = useState(
|
|
58
|
+
var _useState9 = useState(),
|
|
59
59
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
var _useState11 = useState(),
|
|
64
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
65
|
-
currentValue = _useState12[0],
|
|
66
|
-
setCurrentValue = _useState12[1];
|
|
60
|
+
currentValue = _useState10[0],
|
|
61
|
+
setCurrentValue = _useState10[1];
|
|
67
62
|
|
|
68
63
|
var overviewData = {
|
|
69
64
|
id: -100,
|
|
@@ -107,18 +102,8 @@ var EventListPanel = function EventListPanel(props) {
|
|
|
107
102
|
setSearchEventList(function () {
|
|
108
103
|
return list;
|
|
109
104
|
});
|
|
110
|
-
setShowList(function () {
|
|
111
|
-
return list.slice(0, 10);
|
|
112
|
-
});
|
|
113
105
|
}, [searchValue, currentGroup, showOverview]);
|
|
114
106
|
|
|
115
|
-
var loadMoreData = function loadMoreData() {
|
|
116
|
-
var moreData = searchEventList.slice(showList.length, showList.length + 10);
|
|
117
|
-
setShowList(function (list) {
|
|
118
|
-
return [].concat(_toConsumableArray(list), _toConsumableArray(moreData));
|
|
119
|
-
});
|
|
120
|
-
};
|
|
121
|
-
|
|
122
107
|
function onClickEvent(e) {
|
|
123
108
|
var resVal = _.cloneDeep(currentValue) || {};
|
|
124
109
|
resVal.event = e;
|
|
@@ -172,7 +157,39 @@ var EventListPanel = function EventListPanel(props) {
|
|
|
172
157
|
}), /*#__PURE__*/React.createElement("div", {
|
|
173
158
|
className: "".concat(classPrefix, "-list"),
|
|
174
159
|
id: "scrollableDiv"
|
|
175
|
-
}, /*#__PURE__*/React.createElement(
|
|
160
|
+
}, /*#__PURE__*/React.createElement(InfiniteScrollList, {
|
|
161
|
+
searchEventList: searchEventList,
|
|
162
|
+
searchValue: searchValue,
|
|
163
|
+
currentGroup: currentGroup,
|
|
164
|
+
currentValue: currentValue,
|
|
165
|
+
onClick: onClickEvent
|
|
166
|
+
}))));
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
var InfiniteScrollList = function InfiniteScrollList(_ref) {
|
|
170
|
+
var searchEventList = _ref.searchEventList,
|
|
171
|
+
searchValue = _ref.searchValue,
|
|
172
|
+
currentGroup = _ref.currentGroup,
|
|
173
|
+
currentValue = _ref.currentValue,
|
|
174
|
+
onClick = _ref.onClick;
|
|
175
|
+
|
|
176
|
+
var _useState11 = useState([]),
|
|
177
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
178
|
+
showList = _useState12[0],
|
|
179
|
+
setShowList = _useState12[1];
|
|
180
|
+
|
|
181
|
+
useEffect(function () {
|
|
182
|
+
setShowList(searchEventList.slice(0, 10));
|
|
183
|
+
}, [searchEventList]);
|
|
184
|
+
|
|
185
|
+
var loadMoreData = function loadMoreData() {
|
|
186
|
+
var moreData = searchEventList.slice(showList.length, showList.length + 10);
|
|
187
|
+
setShowList(function (list) {
|
|
188
|
+
return [].concat(_toConsumableArray(list), _toConsumableArray(moreData));
|
|
189
|
+
});
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
return /*#__PURE__*/React.createElement(InfiniteScroll, {
|
|
176
193
|
dataLength: showList.length,
|
|
177
194
|
hasMore: showList.length < searchEventList.length,
|
|
178
195
|
loader: /*#__PURE__*/React.createElement(Skeleton, {
|
|
@@ -184,7 +201,7 @@ var EventListPanel = function EventListPanel(props) {
|
|
|
184
201
|
next: loadMoreData,
|
|
185
202
|
scrollableTarget: "scrollableDiv",
|
|
186
203
|
key: Math.random()
|
|
187
|
-
}, showList
|
|
204
|
+
}, showList.map(function (e) {
|
|
188
205
|
var _currentValue$event;
|
|
189
206
|
|
|
190
207
|
if (e.eventHidden === ShowStatus.hidden) return null;
|
|
@@ -197,9 +214,9 @@ var EventListPanel = function EventListPanel(props) {
|
|
|
197
214
|
text: searchValue
|
|
198
215
|
},
|
|
199
216
|
data: e,
|
|
200
|
-
onClick:
|
|
217
|
+
onClick: onClick
|
|
201
218
|
});
|
|
202
|
-
}))
|
|
219
|
+
}));
|
|
203
220
|
};
|
|
204
221
|
|
|
205
222
|
export default EventListPanel;
|
package/es/icon/iconFont.d.ts
CHANGED
package/es/icon/iconFont.js
CHANGED
|
@@ -11,6 +11,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
11
11
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
12
|
|
|
13
13
|
import React, { useMemo } from 'react';
|
|
14
|
+
import '../assets/iconfont/iconfont.css';
|
|
14
15
|
|
|
15
16
|
var IconFont = function IconFont(props) {
|
|
16
17
|
var className = props.className,
|
package/es/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../typings.d.ts" />
|
|
2
|
-
import BizAnalysisLayout from './analysisLayout';
|
|
2
|
+
import BizAnalysisLayout from './layout/analysisLayout';
|
|
3
3
|
import BizUserGroup from './userGroup';
|
|
4
4
|
import BizTargetSelector from './targetSelector';
|
|
5
5
|
import BizEventSelector from './eventSelector/index';
|
|
@@ -25,7 +25,8 @@ import BizAddToPanel from './addToPanel';
|
|
|
25
25
|
import setGlobalConfig from './config';
|
|
26
26
|
import BizCycleTime from './cycleTime';
|
|
27
27
|
import BizDnd from './dnd';
|
|
28
|
-
|
|
28
|
+
import BizDetailLayout from './layout/detail';
|
|
29
|
+
export { BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, };
|
|
29
30
|
export type { UserGroupTypes } from './userGroup/types';
|
|
30
31
|
export type { BizSelectTypes } from './select/types';
|
|
31
32
|
export type { AttributeSelect } from './attributeSelector/types';
|
package/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import BizAnalysisLayout from './analysisLayout';
|
|
1
|
+
import BizAnalysisLayout from './layout/analysisLayout';
|
|
2
2
|
import BizUserGroup from './userGroup';
|
|
3
3
|
import BizTargetSelector from './targetSelector';
|
|
4
4
|
import BizEventSelector from './eventSelector/index';
|
|
@@ -24,4 +24,5 @@ import BizAddToPanel from './addToPanel';
|
|
|
24
24
|
import setGlobalConfig from './config';
|
|
25
25
|
import BizCycleTime from './cycleTime';
|
|
26
26
|
import BizDnd from './dnd';
|
|
27
|
-
|
|
27
|
+
import BizDetailLayout from './layout/detail';
|
|
28
|
+
export { BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,7 +11,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
11
11
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
12
|
|
|
13
13
|
import React, { useEffect, useState } from 'react';
|
|
14
|
-
import IconFont from '
|
|
14
|
+
import IconFont from '../../icon/iconFont';
|
|
15
15
|
import './index.less';
|
|
16
16
|
import { Tooltip } from 'antd';
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import '
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
2
|
|
|
3
3
|
.biz-layout-container {
|
|
4
4
|
position: relative;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
width: 100%;
|
|
35
35
|
height: calc(100% - 30px);
|
|
36
|
-
padding: @
|
|
36
|
+
padding: @padding-lg;
|
|
37
37
|
overflow: auto;
|
|
38
38
|
.biz-left-content {
|
|
39
39
|
min-height: 600px;
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
line-height: 30px;
|
|
51
51
|
text-align: center;
|
|
52
52
|
background-color: #fff;
|
|
53
|
-
border-top: @
|
|
53
|
+
border-top: 1px solid @border-color-base;
|
|
54
54
|
|
|
55
55
|
.biz-layout-expand {
|
|
56
|
-
color: @
|
|
56
|
+
color: @text-color;
|
|
57
57
|
font-size: 16px;
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
.biz-layout-right {
|
|
68
68
|
box-sizing: border-box;
|
|
69
|
-
padding: @
|
|
69
|
+
padding: @padding-lg;
|
|
70
70
|
overflow: auto;
|
|
71
71
|
background-color: #fff;
|
|
72
72
|
|
|
@@ -91,22 +91,22 @@
|
|
|
91
91
|
font-size: 24px;
|
|
92
92
|
text-align: center;
|
|
93
93
|
background: #ffffff;
|
|
94
|
-
border: @
|
|
94
|
+
border: 1px solid @border-color-split;
|
|
95
95
|
border-top-right-radius: 20px;
|
|
96
96
|
border-bottom-right-radius: 20px;
|
|
97
97
|
cursor: pointer;
|
|
98
98
|
|
|
99
99
|
.biz-layout-pickup-icon {
|
|
100
|
-
color: @
|
|
100
|
+
color: @icon-color;
|
|
101
101
|
font-size: 24px;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&:hover {
|
|
105
|
-
color: @
|
|
106
|
-
background-color: @
|
|
105
|
+
color: @primary-color;
|
|
106
|
+
background-color: @primary-color-hover;
|
|
107
107
|
|
|
108
108
|
.biz-layout-pickup-icon {
|
|
109
|
-
color: @
|
|
109
|
+
color: @primary-color;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
position: absolute;
|
|
116
116
|
bottom: 20px;
|
|
117
117
|
left: 16px;
|
|
118
|
-
color: @
|
|
118
|
+
color: @icon-color;
|
|
119
119
|
font-size: 24px;
|
|
120
120
|
cursor: pointer;
|
|
121
121
|
&:hover {
|
|
122
|
-
color: @
|
|
122
|
+
color: @primary-color;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BizDetailLayout } from '@zgfe/business-lib';
|
|
3
|
+
export default (function () {
|
|
4
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
5
|
+
style: {
|
|
6
|
+
background: '#FAFAFB',
|
|
7
|
+
padding: '24px'
|
|
8
|
+
}
|
|
9
|
+
}, /*#__PURE__*/React.createElement(BizDetailLayout, {
|
|
10
|
+
extra: /*#__PURE__*/React.createElement(React.Fragment, null, "\u9875\u9762extra")
|
|
11
|
+
}, "\u9875\u9762\u5185\u5BB9"));
|
|
12
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconFont } from '../..';
|
|
3
|
+
import './index.less';
|
|
4
|
+
|
|
5
|
+
var BizDetailLayout = function BizDetailLayout(props) {
|
|
6
|
+
var width = props.width;
|
|
7
|
+
var classPrefix = 'biz-detail';
|
|
8
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
9
|
+
className: classPrefix,
|
|
10
|
+
style: {
|
|
11
|
+
width: width ? "".concat(width, "px") : undefined
|
|
12
|
+
}
|
|
13
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
14
|
+
className: "".concat(classPrefix, "-menu")
|
|
15
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
16
|
+
onClick: props.onBack
|
|
17
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
18
|
+
type: "fanhuiicon"
|
|
19
|
+
}), "\u8FD4\u56DE"), props.extra), /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: "".concat(classPrefix, "-content")
|
|
21
|
+
}, props.children));
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default BizDetailLayout;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
.biz-detail {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 1376px;
|
|
6
|
+
height: 100%;
|
|
7
|
+
margin: 0 auto;
|
|
8
|
+
&-menu {
|
|
9
|
+
flex: none;
|
|
10
|
+
padding-top: @padding-md;
|
|
11
|
+
padding-bottom: @padding-md - 2;
|
|
12
|
+
color: @text-color-secondary;
|
|
13
|
+
a {
|
|
14
|
+
margin-right: @margin-md;
|
|
15
|
+
color: @text-color-secondary;
|
|
16
|
+
&:hover {
|
|
17
|
+
color: @primary-color;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&-content {
|
|
22
|
+
flex: 1;
|
|
23
|
+
padding: @padding-sm @padding-lg @padding-lg @padding-lg;
|
|
24
|
+
overflow-y: auto;
|
|
25
|
+
background-color: @white;
|
|
26
|
+
border-radius: @border-radius-normal;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -127,21 +127,39 @@ var BizTargetCondition = function BizTargetCondition(props) {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
if (data.eventId
|
|
130
|
+
if (data.eventId) {
|
|
131
131
|
target.value = {
|
|
132
132
|
event: undefined,
|
|
133
133
|
group: undefined
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
+
if (!data.eventGroupId) {
|
|
137
|
+
target.value.group = {
|
|
138
|
+
id: 0,
|
|
139
|
+
name: '所有分组',
|
|
140
|
+
eventList: []
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (data.eventId === -100) {
|
|
145
|
+
target.value.event = {
|
|
146
|
+
id: -100,
|
|
147
|
+
name: '事件概览',
|
|
148
|
+
attrList: []
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
136
152
|
for (var i = 0; i < eventGroupList.length; i++) {
|
|
137
153
|
var group = eventGroupList[i];
|
|
138
154
|
|
|
139
|
-
|
|
140
|
-
var
|
|
155
|
+
if (data.eventId !== -100) {
|
|
156
|
+
for (var j = 0; j < group.eventList.length; j++) {
|
|
157
|
+
var event = group.eventList[j];
|
|
141
158
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
159
|
+
if (event.id === data.eventId) {
|
|
160
|
+
target.value.event = event;
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
145
163
|
}
|
|
146
164
|
}
|
|
147
165
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
@import '../../assets
|
|
2
|
-
@import '../../commonStyle//variable.less';
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
3
2
|
.biz-user-condition-type-list {
|
|
4
3
|
display: flex;
|
|
5
4
|
align-items: center;
|
|
@@ -20,11 +19,11 @@
|
|
|
20
19
|
margin-left: @margin-md;
|
|
21
20
|
}
|
|
22
21
|
&:hover {
|
|
23
|
-
color: @
|
|
24
|
-
background-color: @
|
|
22
|
+
color: @primary-color;
|
|
23
|
+
background-color: @primary-color-hover;
|
|
25
24
|
}
|
|
26
25
|
&:active {
|
|
27
|
-
border-color: @
|
|
26
|
+
border-color: @primary-color;
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.0.24-
|
|
3
|
+
"version": "1.0.24-insight.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"react": "^16.12.0 || ^17.0.0",
|
|
59
59
|
"yorkie": "^2.0.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "0d63dcffad7ca36d53427e53dd5743ef8531c1ad"
|
|
62
62
|
}
|