@zgfe/business-lib 1.0.25-layers.3 → 1.0.25-userGroupFix.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 +33 -16
- package/es/assets/styles/resetAntd.less +7 -2
- package/es/attrConditions/components/stringList.js +1 -1
- package/es/attrConditions/components/valuesList.js +7 -5
- package/es/attrConditions/group.js +4 -4
- package/es/attrConditions/types.d.ts +1 -0
- package/es/attributeSelector/styles/index.less +31 -2
- package/es/attributeSelector/util.js +9 -1
- package/es/chart/demo/bar.js +3 -4
- package/es/chart/demo/data/data.d.ts +7 -0
- package/es/chart/demo/data/data.js +10 -0
- package/es/chart/demo/data/data3.d.ts +0 -2
- package/es/chart/demo/data/data3.js +15 -574
- package/es/chart/demo/map.js +1 -2
- package/es/chart/index.js +2 -2
- package/es/chart/util/chartOptionConfig.d.ts +1 -54
- package/es/chart/util/chartOptionConfig.js +13 -7
- package/es/chart/util/formatData.js +2 -1
- package/es/chart/util/formatOption.js +7 -23
- package/es/chart/util/mapUtil.d.ts +2 -2
- package/es/chart/util/mapUtil.js +59 -75
- package/es/eventSelector/index.js +2 -2
- package/es/eventSelector/listPanel.js +20 -5
- package/es/eventSelector/types.d.ts +1 -1
- package/es/layout/analysisLayout/demo/index.js +5 -1
- package/es/layout/analysisLayout/index.js +5 -5
- package/es/layout/analysisLayout/index.less +0 -6
- package/es/select/handle.js +47 -10
- package/es/select/index.js +44 -9
- package/es/select/overlay.d.ts +1 -1
- package/es/select/overlay.js +4 -5
- package/es/select/styles/handle.less +14 -1
- package/es/select/types.d.ts +6 -0
- package/es/targetConditionGroup/index.js +3 -1
- package/es/targetConditionGroup/types.d.ts +1 -0
- package/es/targetSelector/index.js +13 -0
- package/es/targetSelector/styles/index.less +1 -0
- package/es/userCondition/conditions/styles/eventCondition.less +1 -1
- package/es/userCondition/conditions/styles/tagsCondition.less +1 -1
- package/es/userCondition/conditions/tagsCondition.js +13 -26
- package/es/userCondition/conditions/textDesc.js +8 -29
- package/es/userCondition/demo/index.js +228 -5
- package/es/userCondition/types.d.ts +3 -21
- package/es/userCondition/util.d.ts +1 -23
- package/es/userCondition/util.js +5 -39
- package/es/userTagsSelector/cascaderOverlay.js +42 -132
- package/es/userTagsSelector/demo/index.js +5 -12
- package/es/userTagsSelector/groups/groupOption.js +1 -1
- package/es/userTagsSelector/groups/index.js +11 -18
- package/es/userTagsSelector/groups/styles/option.less +1 -6
- package/es/userTagsSelector/index.js +3 -17
- package/es/userTagsSelector/multipleCheckPanel/index.js +16 -7
- package/es/userTagsSelector/styles/cascaderOverlay.less +4 -9
- package/es/userTagsSelector/types.d.ts +10 -1
- package/es/userTagsSelector/util.d.ts +1 -1
- package/es/userTagsSelector/util.js +2 -6
- package/es/utils/ajax.js +5 -1
- package/package.json +3 -3
- package/es/userCondition/demo/mockData.d.ts +0 -82
- package/es/userCondition/demo/mockData.js +0 -543
package/es/addToPanel/index.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2
|
+
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
+
|
|
5
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
|
|
1
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
8
|
|
|
3
9
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -10,7 +16,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
10
16
|
|
|
11
17
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
18
|
|
|
13
|
-
import { Button, Form, Input, notification
|
|
19
|
+
import { Button, Form, Input, notification } from 'antd';
|
|
14
20
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
15
21
|
import BizDialog from '../dialog';
|
|
16
22
|
import BizSelect from '../select';
|
|
@@ -43,15 +49,10 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
43
49
|
formData = _useState6[0],
|
|
44
50
|
setFormData = _useState6[1];
|
|
45
51
|
|
|
46
|
-
var _useState7 = useState(
|
|
52
|
+
var _useState7 = useState(false),
|
|
47
53
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
var _useState9 = useState(false),
|
|
52
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
53
|
-
loading = _useState10[0],
|
|
54
|
-
setLoading = _useState10[1];
|
|
54
|
+
loading = _useState8[0],
|
|
55
|
+
setLoading = _useState8[1];
|
|
55
56
|
|
|
56
57
|
var _useContext = useContext(BizGlobalDataContext),
|
|
57
58
|
currentApp = _useContext.currentApp,
|
|
@@ -79,14 +80,14 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
79
80
|
notification.error({
|
|
80
81
|
message: '获取看板列表失败'
|
|
81
82
|
});
|
|
82
|
-
setReady(false);
|
|
83
83
|
return;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
setGroupList(res.panels);
|
|
87
|
-
setReady(false);
|
|
88
87
|
}).catch(function () {
|
|
89
|
-
|
|
88
|
+
notification.error({
|
|
89
|
+
message: '获取看板列表失败'
|
|
90
|
+
});
|
|
90
91
|
});
|
|
91
92
|
}
|
|
92
93
|
|
|
@@ -173,7 +174,24 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
173
174
|
}
|
|
174
175
|
}, form.panel.name || ((_result$panel2 = result.panel) === null || _result$panel2 === void 0 ? void 0 : _result$panel2.name)), "\u6210\u529F")
|
|
175
176
|
});
|
|
176
|
-
|
|
177
|
+
|
|
178
|
+
if (props.onOk) {
|
|
179
|
+
var responseData = data;
|
|
180
|
+
|
|
181
|
+
if (props.type !== 'edit') {
|
|
182
|
+
var _result$panel3;
|
|
183
|
+
|
|
184
|
+
responseData = _objectSpread({
|
|
185
|
+
panelId: ((_result$panel3 = result.panel) === null || _result$panel3 === void 0 ? void 0 : _result$panel3.id) || form.panel.id
|
|
186
|
+
}, result.panel_element);
|
|
187
|
+
|
|
188
|
+
if (form.panel.id === 0) {
|
|
189
|
+
responseData.panel = _objectSpread({}, result.panel);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
props.onOk(responseData);
|
|
194
|
+
}
|
|
177
195
|
} else if (result.flag === -101) {
|
|
178
196
|
notification.error({
|
|
179
197
|
message: '添加失败',
|
|
@@ -197,8 +215,6 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
197
215
|
onCancel: props.onCancel,
|
|
198
216
|
onOk: onAdd,
|
|
199
217
|
confirmLoading: loading
|
|
200
|
-
}, /*#__PURE__*/React.createElement(Skeleton, {
|
|
201
|
-
loading: ready
|
|
202
218
|
}, /*#__PURE__*/React.createElement(Form, {
|
|
203
219
|
ref: refForm,
|
|
204
220
|
onFinish: onSubmit,
|
|
@@ -245,6 +261,7 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
245
261
|
}]
|
|
246
262
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
247
263
|
placeholder: "\u6307\u6807\u540D\u79F0",
|
|
264
|
+
autoComplete: "off",
|
|
248
265
|
allowClear: {
|
|
249
266
|
clearIcon: /*#__PURE__*/React.createElement(IconFont, {
|
|
250
267
|
type: 'qingchu'
|
|
@@ -275,7 +292,7 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
275
292
|
}, /*#__PURE__*/React.createElement(RadioGroup, {
|
|
276
293
|
options: props.showOptions
|
|
277
294
|
})) : null;
|
|
278
|
-
})))
|
|
295
|
+
})));
|
|
279
296
|
};
|
|
280
297
|
|
|
281
298
|
BizAddToPanel.defaultProps = {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// 输入框(带icon)
|
|
6
6
|
.ant-input-affix-wrapper {
|
|
7
7
|
background-color: @background-color-base!important;
|
|
8
|
-
border-color:
|
|
8
|
+
border-color: @background-color-base !important;
|
|
9
9
|
border-radius: @border-radius-small!important;
|
|
10
10
|
|
|
11
11
|
.ant-input {
|
|
@@ -31,6 +31,10 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
|
|
35
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
|
|
36
|
+
border-color: @error-color!important;
|
|
37
|
+
}
|
|
34
38
|
// 输入框
|
|
35
39
|
.ant-input {
|
|
36
40
|
background-color: @background-color-base!important;
|
|
@@ -142,9 +146,10 @@
|
|
|
142
146
|
display: none !important;
|
|
143
147
|
}
|
|
144
148
|
|
|
149
|
+
&,
|
|
145
150
|
&.ant-picker-range {
|
|
146
151
|
background-color: @background-color-base;
|
|
147
|
-
border:
|
|
152
|
+
border-color: @background-color-base;
|
|
148
153
|
}
|
|
149
154
|
}
|
|
150
155
|
|
|
@@ -176,7 +176,7 @@ var StringList = function StringList(props) {
|
|
|
176
176
|
className: "".concat(classPrefix, "-multi-select"),
|
|
177
177
|
value: current,
|
|
178
178
|
multiple: true,
|
|
179
|
-
enableCreate:
|
|
179
|
+
enableCreate: false,
|
|
180
180
|
theme: props.theme,
|
|
181
181
|
size: "middle",
|
|
182
182
|
disable: props.operate === OperateTypes.IsNull || props.operate === OperateTypes.IsNotNull,
|
|
@@ -42,8 +42,8 @@ var ValuesList = function ValuesList(props) {
|
|
|
42
42
|
|
|
43
43
|
var _useState5 = useState(true),
|
|
44
44
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
isFirst = _useState6[0],
|
|
46
|
+
setIsFirst = _useState6[1];
|
|
47
47
|
|
|
48
48
|
useEffect(function () {
|
|
49
49
|
if (defaultValue) {
|
|
@@ -55,16 +55,18 @@ var ValuesList = function ValuesList(props) {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
setIsFirst(false);
|
|
59
59
|
}, []);
|
|
60
60
|
useEffect(function () {
|
|
61
|
+
if (isFirst) return;
|
|
62
|
+
|
|
61
63
|
if (operate === OperateTypes.Absolute || operate === OperateTypes.Relative) {
|
|
62
64
|
var data = operate === OperateTypes.Absolute ? initValue : ['30', '1'];
|
|
63
65
|
onChange(data);
|
|
64
66
|
}
|
|
65
67
|
}, [operate]);
|
|
66
68
|
useEffect(function () {
|
|
67
|
-
if (!
|
|
69
|
+
if (!isFirst && (attr === null || attr === void 0 ? void 0 : attr.type) !== PropType.DATE) {
|
|
68
70
|
onChange([]);
|
|
69
71
|
setCurrent([]);
|
|
70
72
|
}
|
|
@@ -115,7 +117,7 @@ var ValuesList = function ValuesList(props) {
|
|
|
115
117
|
return current && current > moment().endOf('day');
|
|
116
118
|
};
|
|
117
119
|
|
|
118
|
-
if (!attr || !operate ||
|
|
120
|
+
if (!attr || !operate || isFirst) {
|
|
119
121
|
return /*#__PURE__*/React.createElement(BizSelect, {
|
|
120
122
|
disable: true,
|
|
121
123
|
className: "".concat(classPrefix, "-multi-select"),
|
|
@@ -53,7 +53,7 @@ var BizConditionGroup = function BizConditionGroup(props, ref) {
|
|
|
53
53
|
var data = props.defaultValue || props.value;
|
|
54
54
|
|
|
55
55
|
if (data) {
|
|
56
|
-
if (data.relation) setRelation(data.relation);
|
|
56
|
+
if (data.relation) setRelation(props.onlyAnd ? 'and' : data.relation);
|
|
57
57
|
|
|
58
58
|
if (data.conditions) {
|
|
59
59
|
setConditions(function () {
|
|
@@ -77,7 +77,7 @@ var BizConditionGroup = function BizConditionGroup(props, ref) {
|
|
|
77
77
|
},
|
|
78
78
|
setValue: function setValue(data) {
|
|
79
79
|
if (data) {
|
|
80
|
-
if (data.relation) setRelation(data.relation);
|
|
80
|
+
if (data.relation) setRelation(props.onlyAnd ? 'and' : data.relation);
|
|
81
81
|
|
|
82
82
|
if (data.conditions) {
|
|
83
83
|
setConditions(function () {
|
|
@@ -169,8 +169,8 @@ var BizConditionGroup = function BizConditionGroup(props, ref) {
|
|
|
169
169
|
className: "".concat(classPrefix, "-group-operate"),
|
|
170
170
|
onClick: onClickRelation
|
|
171
171
|
}, /*#__PURE__*/React.createElement("div", {
|
|
172
|
-
className: "".concat(classPrefix, "-group-operate-text ").concat(relation === 'and' ? 'active' : '')
|
|
173
|
-
}, "\u4E14"), /*#__PURE__*/React.createElement("div", {
|
|
172
|
+
className: "".concat(classPrefix, "-group-operate-text ").concat(relation === 'and' || props.onlyAnd ? 'active' : '')
|
|
173
|
+
}, "\u4E14"), !props.onlyAnd && /*#__PURE__*/React.createElement("div", {
|
|
174
174
|
className: "".concat(classPrefix, "-group-operate-text ").concat(relation === 'or' ? 'active' : '')
|
|
175
175
|
}, "\u6216"))), /*#__PURE__*/React.createElement("div", {
|
|
176
176
|
className: "".concat(classPrefix, "-item-container")
|
|
@@ -36,6 +36,7 @@ export declare namespace AttrConditionTypes {
|
|
|
36
36
|
interface GroupProp extends BasicAttrTypes {
|
|
37
37
|
defaultValue?: GroupValue;
|
|
38
38
|
value?: GroupValue;
|
|
39
|
+
onlyAnd?: boolean;
|
|
39
40
|
onChange?: (value: GroupValue) => void;
|
|
40
41
|
onConditionsCount?: (value: number) => void;
|
|
41
42
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
@import '../../assets/styles/inner.less';
|
|
2
|
+
|
|
2
3
|
.biz-attr-select {
|
|
3
4
|
&-handle {
|
|
4
5
|
display: flex;
|
|
5
6
|
flex-direction: row;
|
|
6
7
|
.__select-handle();
|
|
8
|
+
|
|
7
9
|
&:hover .biz-attr-select-del-icon {
|
|
8
10
|
display: flex;
|
|
9
11
|
align-items: center;
|
|
10
12
|
justify-content: center;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
15
|
+
|
|
13
16
|
&-del-icon {
|
|
14
17
|
display: none;
|
|
15
18
|
flex: none;
|
|
@@ -21,48 +24,69 @@
|
|
|
21
24
|
.__error-hover();
|
|
22
25
|
}
|
|
23
26
|
}
|
|
27
|
+
|
|
24
28
|
&-drowdown {
|
|
25
29
|
.__select-panel();
|
|
30
|
+
|
|
26
31
|
&.nodata {
|
|
27
32
|
.__select-nodata();
|
|
28
33
|
}
|
|
29
34
|
}
|
|
35
|
+
|
|
30
36
|
&-anchor-panel {
|
|
31
37
|
padding: 12px 0;
|
|
38
|
+
|
|
32
39
|
.ant-anchor {
|
|
33
40
|
display: flex;
|
|
34
41
|
flex-direction: row;
|
|
42
|
+
|
|
35
43
|
.ant-anchor-ink::before {
|
|
36
44
|
width: 0;
|
|
37
45
|
}
|
|
46
|
+
|
|
38
47
|
.ant-anchor-link {
|
|
39
48
|
padding: 0;
|
|
49
|
+
|
|
40
50
|
&:last-of-type .ant-btn {
|
|
41
51
|
margin-right: 0;
|
|
42
52
|
}
|
|
43
53
|
}
|
|
54
|
+
|
|
44
55
|
.ant-btn {
|
|
45
56
|
margin-right: 8px;
|
|
46
57
|
}
|
|
58
|
+
|
|
47
59
|
.ant-anchor-link-active .ant-btn {
|
|
48
|
-
|
|
60
|
+
&,
|
|
61
|
+
&:focus {
|
|
62
|
+
.__default-hover();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ant-btn:focus {
|
|
67
|
+
color: @text-color;
|
|
68
|
+
border-color: @border-color-base;
|
|
49
69
|
}
|
|
50
70
|
}
|
|
51
71
|
}
|
|
72
|
+
|
|
52
73
|
&-container {
|
|
53
|
-
max-height:
|
|
74
|
+
max-height: 224px;
|
|
54
75
|
overflow-x: hidden;
|
|
55
76
|
overflow-y: auto;
|
|
56
77
|
}
|
|
78
|
+
|
|
57
79
|
&-nodata {
|
|
58
80
|
.__select-nodata();
|
|
59
81
|
}
|
|
82
|
+
|
|
60
83
|
&-group {
|
|
61
84
|
position: relative;
|
|
62
85
|
height: 32px;
|
|
63
86
|
padding: 0 @padding-sm;
|
|
64
87
|
color: @text-color-secondary;
|
|
65
88
|
line-height: 32px;
|
|
89
|
+
|
|
66
90
|
&::before {
|
|
67
91
|
position: absolute;
|
|
68
92
|
top: 9px;
|
|
@@ -73,6 +97,7 @@
|
|
|
73
97
|
border-radius: 10px;
|
|
74
98
|
content: '';
|
|
75
99
|
}
|
|
100
|
+
|
|
76
101
|
& > span {
|
|
77
102
|
position: relative;
|
|
78
103
|
display: inline-block;
|
|
@@ -82,6 +107,7 @@
|
|
|
82
107
|
.__default-overflow();
|
|
83
108
|
}
|
|
84
109
|
}
|
|
110
|
+
|
|
85
111
|
&-split {
|
|
86
112
|
position: absolute;
|
|
87
113
|
top: 18px;
|
|
@@ -89,12 +115,15 @@
|
|
|
89
115
|
height: 0;
|
|
90
116
|
border-bottom: 1px solid @border-color-base;
|
|
91
117
|
}
|
|
118
|
+
|
|
92
119
|
&-option {
|
|
93
120
|
.__select-option();
|
|
121
|
+
|
|
94
122
|
&:not(.active, :hover, .disabled) .biz-attr-select-highlight {
|
|
95
123
|
color: @primary-color;
|
|
96
124
|
}
|
|
97
125
|
}
|
|
126
|
+
|
|
98
127
|
&-option-icon {
|
|
99
128
|
margin-right: @margin-xs;
|
|
100
129
|
}
|
|
@@ -14,6 +14,8 @@ export default function convertAttributeData(store) {
|
|
|
14
14
|
name: group_.groupName,
|
|
15
15
|
eventList: []
|
|
16
16
|
};
|
|
17
|
+
var list = [];
|
|
18
|
+
var markList = [];
|
|
17
19
|
group_.eventList.forEach(function (e) {
|
|
18
20
|
if (e.is_delete) return;
|
|
19
21
|
var event = {
|
|
@@ -39,8 +41,14 @@ export default function convertAttributeData(store) {
|
|
|
39
41
|
eventHidden: e.event_hidden,
|
|
40
42
|
marked: Boolean(e.mark_type)
|
|
41
43
|
};
|
|
42
|
-
|
|
44
|
+
|
|
45
|
+
if (event.marked) {
|
|
46
|
+
markList.push(event);
|
|
47
|
+
} else {
|
|
48
|
+
list.push(event);
|
|
49
|
+
}
|
|
43
50
|
});
|
|
51
|
+
group.eventList = [].concat(markList, list);
|
|
44
52
|
(_res$eventGroupList = res.eventGroupList) === null || _res$eventGroupList === void 0 ? void 0 : _res$eventGroupList.push(group);
|
|
45
53
|
});
|
|
46
54
|
res.envPropList = (_store$envPropList = store.envPropList) === null || _store$envPropList === void 0 ? void 0 : _store$envPropList.map(function (prop) {
|
package/es/chart/demo/bar.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BizChart } from '@zgfe/business-lib';
|
|
3
|
-
import chartData from './data/data';
|
|
3
|
+
import chartData, { barData } from './data/data';
|
|
4
4
|
export default (function () {
|
|
5
5
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(BizChart, {
|
|
6
|
-
data:
|
|
6
|
+
data: barData,
|
|
7
7
|
type: "bar",
|
|
8
|
-
reverseXAxis: true
|
|
9
|
-
showList: ['付款成功', '搜索商品', '查看商品详情']
|
|
8
|
+
reverseXAxis: true
|
|
10
9
|
}), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(BizChart, {
|
|
11
10
|
data: chartData,
|
|
12
11
|
type: "bar",
|
|
@@ -25,4 +25,14 @@ export default {
|
|
|
25
25
|
names: ['申请退货'],
|
|
26
26
|
values: [5, 11, 14, 9, 8, 14, 9, 10, 12, 12, 14, 16, 12, 10]
|
|
27
27
|
}]
|
|
28
|
+
};
|
|
29
|
+
export var barData = {
|
|
30
|
+
x_axis: ['2022-08-23|2022-08-30'],
|
|
31
|
+
series: [{
|
|
32
|
+
names: ['北京市', '所有用户', '查看商品'],
|
|
33
|
+
values: [1560]
|
|
34
|
+
}, {
|
|
35
|
+
names: ['北京市', '最近7天活跃用户', '查看商品'],
|
|
36
|
+
values: [1560]
|
|
37
|
+
}]
|
|
28
38
|
};
|