@ztocwst/rc-pro-materials 0.2.53 → 0.2.54
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +4 -4
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/dist/SCM_Comps.css +1 -1
- package/dist/SCM_Comps.js +8 -8
- package/dist/SCM_Comps.js.map +1 -1
- package/es/components/z-data-stat-description/z-data-stat-description.js +1 -1
- package/es/components/z-singleFactory/zSingerFactory.js +6 -2
- package/es/components/z-target-block/index.d.ts +3 -0
- package/es/components/z-target-block/index.js +2 -0
- package/es/components/z-target-block/z-target-block.d.ts +6 -0
- package/es/components/z-target-block/z-target-block.js +8 -0
- package/es/components/z-templates-data-common/components/chart-renderer/index.js +31 -28
- package/es/components/z-templates-data-common/data-common.helper.d.ts +11 -0
- package/es/components/z-templates-data-common/data-common.helper.js +75 -1
- package/es/components/z-warehouse/zWarehouse.js +6 -2
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -1
- package/es/style.js +0 -4
- package/lib/components/z-data-stat-description/z-data-stat-description.js +2 -2
- package/lib/components/z-singleFactory/zSingerFactory.js +7 -2
- package/lib/components/z-target-block/index.d.ts +3 -0
- package/lib/components/{z-data-stat → z-target-block}/index.js +2 -2
- package/lib/components/z-target-block/z-target-block.d.ts +6 -0
- package/lib/components/z-target-block/z-target-block.js +11 -0
- package/lib/components/z-templates-data-common/components/chart-renderer/index.js +30 -27
- package/lib/components/z-templates-data-common/data-common.helper.d.ts +11 -0
- package/lib/components/z-templates-data-common/data-common.helper.js +77 -1
- package/lib/components/z-warehouse/zWarehouse.js +7 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +3 -3
- package/lib/style.js +0 -4
- package/package.json +4 -4
- package/es/components/z-data-stat/components/CardDetail/index.d.ts +0 -6
- package/es/components/z-data-stat/components/CardDetail/index.js +0 -328
- package/es/components/z-data-stat/components/CardDetail/index.less +0 -164
- package/es/components/z-data-stat/components/CardDetail/interface.d.ts +0 -30
- package/es/components/z-data-stat/components/CardDetail/interface.js +0 -1
- package/es/components/z-data-stat/components/StepBlock/index.d.ts +0 -5
- package/es/components/z-data-stat/components/StepBlock/index.js +0 -104
- package/es/components/z-data-stat/components/StepBlock/index.less +0 -40
- package/es/components/z-data-stat/components/StepBlock/interface.d.ts +0 -11
- package/es/components/z-data-stat/components/StepBlock/interface.js +0 -1
- package/es/components/z-data-stat/components/TargetBlock/index.d.ts +0 -5
- package/es/components/z-data-stat/components/TargetBlock/index.js +0 -106
- package/es/components/z-data-stat/components/TargetBlock/index.less +0 -65
- package/es/components/z-data-stat/components/TargetBlock/interface.d.ts +0 -31
- package/es/components/z-data-stat/components/TargetBlock/interface.js +0 -1
- package/es/components/z-data-stat/components/index.d.ts +0 -7
- package/es/components/z-data-stat/components/index.js +0 -4
- package/es/components/z-data-stat/data-stat.d.ts +0 -19
- package/es/components/z-data-stat/data-stat.js +0 -326
- package/es/components/z-data-stat/index.d.ts +0 -3
- package/es/components/z-data-stat/index.js +0 -2
- package/es/components/z-data-stat/util.d.ts +0 -25
- package/es/components/z-data-stat/util.js +0 -178
- package/lib/components/z-data-stat/components/CardDetail/index.d.ts +0 -6
- package/lib/components/z-data-stat/components/CardDetail/index.js +0 -335
- package/lib/components/z-data-stat/components/CardDetail/index.less +0 -164
- package/lib/components/z-data-stat/components/CardDetail/interface.d.ts +0 -30
- package/lib/components/z-data-stat/components/CardDetail/interface.js +0 -3
- package/lib/components/z-data-stat/components/StepBlock/index.d.ts +0 -5
- package/lib/components/z-data-stat/components/StepBlock/index.js +0 -109
- package/lib/components/z-data-stat/components/StepBlock/index.less +0 -40
- package/lib/components/z-data-stat/components/StepBlock/interface.d.ts +0 -11
- package/lib/components/z-data-stat/components/StepBlock/interface.js +0 -3
- package/lib/components/z-data-stat/components/TargetBlock/index.d.ts +0 -5
- package/lib/components/z-data-stat/components/TargetBlock/index.js +0 -111
- package/lib/components/z-data-stat/components/TargetBlock/index.less +0 -65
- package/lib/components/z-data-stat/components/TargetBlock/interface.d.ts +0 -31
- package/lib/components/z-data-stat/components/TargetBlock/interface.js +0 -3
- package/lib/components/z-data-stat/components/index.d.ts +0 -7
- package/lib/components/z-data-stat/components/index.js +0 -13
- package/lib/components/z-data-stat/data-stat.d.ts +0 -19
- package/lib/components/z-data-stat/data-stat.js +0 -331
- package/lib/components/z-data-stat/index.d.ts +0 -3
- package/lib/components/z-data-stat/util.d.ts +0 -25
- package/lib/components/z-data-stat/util.js +0 -187
|
@@ -6,7 +6,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
6
6
|
import React, { useContext, useRef, useState } from 'react';
|
|
7
7
|
import { ProButton, ProTable, RcConfigContext } from '@ztocwst/rc-pro';
|
|
8
8
|
import { InfoCircleOutlined } from '@ant-design/icons';
|
|
9
|
-
import { getReportData } from "../z-data-
|
|
9
|
+
import { getReportData } from "../z-templates-data-common/data-common.helper";
|
|
10
10
|
// http://scm.gateway.dev.ztyc.com/data/forward/v1/bigdata/report/getBusinessCaliberList
|
|
11
11
|
// {"bigDataBody":{"env":"dev","dataSetName":"getBusinessCaliberList","qta_name":["推单包裹数","已发包裹数","未发包裹数","发货达成率","取消包裹数","暂挂包裹数","待处理包裹数","预处理完成包裹数","波次中包裹数","波次完成包裹数","拣货中包裹数","拣货完成包裹数","复核中包裹数","复核完成包裹数","打包中包裹数","打包完成包裹数","称重完成包裹数","揽收包裹数","已发货未揽收包裹数","揽收达成率","首中心到达包裹数","首中心未到达包裹数","配送中包裹数","已签收包裹数","推单件数","推单包裹客单件","推单批量包裹数","推单散单包裹数","推单包裹批量单占比","未发包裹件数","未发包裹客单件","未发批量包裹数","未发散单包裹数","未发包裹批量单占比","已发包裹件数","已发包裹客单件","已发批量包裹数","已发散单包裹数","已发包裹批量单占比","取消单包裹占比","待处理包裹客单件","待处理批量包裹数","待处理散单包裹数","待处理包裹批量单占比","预处理完成包裹客单件","预处理完成批量包裹数","预处理完成散单包裹数","预处理完成包裹批量单占比","波次中包裹客单件","波次中批量包裹数","波次中散单包裹数","波次中包裹批量单占比","波次完成包裹客单件","波次完成批量包裹数","波次完成散单包裹数","波次完成包裹批量单占比","拣货中包裹客单件","拣货中批量包裹数","拣货中散单包裹数","拣货中包裹批量单占比","拣货完成包裹客单件","拣货完成批量包裹数","拣货完成散单包裹数","拣货完成包裹批量单占比","复核中包裹客单件","复核中批量包裹数","复核中散单包裹数","复核中包裹批量单占比","复核完成包裹客单件","复核完成批量包裹数","复核完成散单包裹数","复核完成包裹批量单占比","打包中包裹客单件","打包中批量包裹数","打包中散单包裹数","打包中包裹批量单占比","打包完成包裹客单件","打包完成批量包裹数","打包完成散单包裹数","打包完成包裹批量单占比","称重完成包裹客单件","称重完成批量包裹数","称重完成散单包裹数","称重完成包裹批量单占比","实际批量单客单件","实际批量单SKU数","实际散单客单件","实际散单SKU数"],"pageNum":1,"pageSize":20}}
|
|
12
12
|
// {
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { SingleFactory } from '@ztocwst/rc-pro';
|
|
3
4
|
import { processWarehouseAndFactoryProps } from "../../utils";
|
|
4
5
|
var ZSingerFactory = function ZSingerFactory(props) {
|
|
5
|
-
var singleFactoryProps = props.singleFactoryProps
|
|
6
|
+
var singleFactoryProps = props.singleFactoryProps,
|
|
7
|
+
style = props.style;
|
|
6
8
|
var factoryProps = processWarehouseAndFactoryProps(singleFactoryProps);
|
|
7
|
-
return /*#__PURE__*/React.createElement(SingleFactory, factoryProps
|
|
9
|
+
return /*#__PURE__*/React.createElement(SingleFactory, _extends({}, factoryProps, {
|
|
10
|
+
style: style
|
|
11
|
+
}));
|
|
8
12
|
};
|
|
9
13
|
export default ZSingerFactory;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { TargetBlockProps } from '@ztocwst/rc-pro';
|
|
3
|
+
/** 指标面板配置 */
|
|
4
|
+
export type TypeZTargetBlockProps = TargetBlockProps;
|
|
5
|
+
declare const ZTargetBlock: (props: TypeZTargetBlockProps) => import("react").JSX.Element;
|
|
6
|
+
export default ZTargetBlock;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _Tabs from "antd/es/tabs";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import React, { useRef, useState, useEffect, useImperativeHandle } from 'react';
|
|
4
|
-
import { TableRender, CustomRender } from '@ztocwst/rc-pro';
|
|
4
|
+
import { TableRender, CustomRender, TargetPanelRender } from '@ztocwst/rc-pro';
|
|
5
5
|
import { getType } from '@ztocwst/rc-pro/es/components/DataTable/DataTable.helper';
|
|
6
6
|
import { separator } from "../../data-common.helper";
|
|
7
7
|
import ZDataStatDescription from "../../../z-data-stat-description";
|
|
@@ -98,24 +98,41 @@ var ChartRenderer = function ChartRenderer(_ref) {
|
|
|
98
98
|
})) {
|
|
99
99
|
return chartSetting;
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
var renderChart = function renderChart(config, index) {
|
|
102
|
+
var refKey = getType(index) === 'number' ? "" + (config === null || config === void 0 ? void 0 : config.dataSetName) + separator + index : "" + (config === null || config === void 0 ? void 0 : config.dataSetName);
|
|
103
|
+
if (config !== null && config !== void 0 && config.custom || (config === null || config === void 0 ? void 0 : config.renderType) === 'custom') {
|
|
104
|
+
return /*#__PURE__*/React.createElement(CustomRender, _extends({}, config, {
|
|
105
|
+
separator: separator,
|
|
106
|
+
currentKey: activeKey,
|
|
107
|
+
chartRef: function chartRef(ref) {
|
|
108
|
+
_chartRef.current[refKey] = ref;
|
|
109
|
+
},
|
|
110
|
+
onConfirm: onConfirm
|
|
111
|
+
}));
|
|
112
|
+
}
|
|
113
|
+
if ((config === null || config === void 0 ? void 0 : config.renderType) === 'panel') {
|
|
114
|
+
return /*#__PURE__*/React.createElement(TargetPanelRender, _extends({}, config, {
|
|
115
|
+
separator: separator,
|
|
116
|
+
currentKey: activeKey,
|
|
117
|
+
chartRef: function chartRef(ref) {
|
|
118
|
+
_chartRef.current[refKey] = ref;
|
|
119
|
+
},
|
|
120
|
+
onConfirm: onConfirm
|
|
121
|
+
}));
|
|
122
|
+
}
|
|
123
|
+
return /*#__PURE__*/React.createElement(TableRender, _extends({}, config, {
|
|
106
124
|
separator: separator,
|
|
107
|
-
chartRef: function chartRef(ref) {
|
|
108
|
-
_chartRef.current[chartSetting === null || chartSetting === void 0 ? void 0 : chartSetting.dataSetName] = ref;
|
|
109
|
-
},
|
|
110
|
-
onConfirm: onConfirm
|
|
111
|
-
})) : /*#__PURE__*/React.createElement(TableRender, _extends({}, chartSetting, {
|
|
112
125
|
currentKey: activeKey,
|
|
113
|
-
separator: separator,
|
|
114
126
|
chartRef: function chartRef(ref) {
|
|
115
|
-
_chartRef.current[
|
|
127
|
+
_chartRef.current[refKey] = ref;
|
|
116
128
|
},
|
|
117
129
|
onConfirm: onConfirm
|
|
118
130
|
}));
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
// 普通列表json对象
|
|
134
|
+
if (isObject) {
|
|
135
|
+
return renderChart(chartSetting);
|
|
119
136
|
}
|
|
120
137
|
|
|
121
138
|
// 数组
|
|
@@ -146,21 +163,7 @@ var ChartRenderer = function ChartRenderer(_ref) {
|
|
|
146
163
|
return /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
147
164
|
tab: "" + ((e === null || e === void 0 ? void 0 : e.title) || ''),
|
|
148
165
|
key: "" + (e === null || e === void 0 ? void 0 : e.dataSetName) + separator + i.toString()
|
|
149
|
-
},
|
|
150
|
-
currentKey: activeKey,
|
|
151
|
-
separator: separator,
|
|
152
|
-
chartRef: function chartRef(ref) {
|
|
153
|
-
_chartRef.current["" + (e === null || e === void 0 ? void 0 : e.dataSetName) + separator + i] = ref;
|
|
154
|
-
},
|
|
155
|
-
onConfirm: onConfirm
|
|
156
|
-
})) : /*#__PURE__*/React.createElement(TableRender, _extends({}, e, {
|
|
157
|
-
currentKey: activeKey,
|
|
158
|
-
separator: separator,
|
|
159
|
-
chartRef: function chartRef(ref) {
|
|
160
|
-
_chartRef.current["" + (e === null || e === void 0 ? void 0 : e.dataSetName) + separator + i] = ref;
|
|
161
|
-
},
|
|
162
|
-
onConfirm: onConfirm
|
|
163
|
-
})));
|
|
166
|
+
}, renderChart(e, i));
|
|
164
167
|
}));
|
|
165
168
|
}
|
|
166
169
|
return null;
|
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
/** 字符串分割符 */
|
|
2
2
|
export declare const separator = "***";
|
|
3
|
+
export declare function reportQuery(path: string, data: Record<string, any>, other?: any): Promise<any>;
|
|
4
|
+
/**
|
|
5
|
+
* 海藻报表查询
|
|
6
|
+
* @param data
|
|
7
|
+
* @param other 请求方法\环境
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare function getReportData(data: Record<string, any>, other: {
|
|
11
|
+
request: any;
|
|
12
|
+
env: string;
|
|
13
|
+
}): Promise<any>;
|
|
@@ -1,2 +1,76 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
1
4
|
/** 字符串分割符 */
|
|
2
|
-
export var separator = "***";
|
|
5
|
+
export var separator = "***";
|
|
6
|
+
var token = 'scm:tenant:token:195002:100246:31773680-07c3-448e-99bb-70eea80907aa';
|
|
7
|
+
export function reportQuery(_x, _x2, _x3) {
|
|
8
|
+
return _reportQuery.apply(this, arguments);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 海藻报表查询
|
|
13
|
+
* @param data
|
|
14
|
+
* @param other 请求方法\环境
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
function _reportQuery() {
|
|
18
|
+
_reportQuery = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(path, data, other) {
|
|
19
|
+
var res;
|
|
20
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
21
|
+
while (1) switch (_context.prev = _context.next) {
|
|
22
|
+
case 0:
|
|
23
|
+
if (!(other && other.request)) {
|
|
24
|
+
_context.next = 2;
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
return _context.abrupt("return", other.request(path, {
|
|
28
|
+
method: 'post',
|
|
29
|
+
data: {
|
|
30
|
+
bigDataBody: _extends({
|
|
31
|
+
// 数据部环境只有 dev test prod(生产不传)
|
|
32
|
+
env: other.env === 'prod' ? undefined : other.env === 'dev' ? 'dev' : 'test'
|
|
33
|
+
}, data)
|
|
34
|
+
}
|
|
35
|
+
}));
|
|
36
|
+
case 2:
|
|
37
|
+
_context.next = 4;
|
|
38
|
+
return fetch("https://scm-gateway.ztocwst.com/data/forward/v1/bigdata/report/" + data.dataSetName, {
|
|
39
|
+
method: 'post',
|
|
40
|
+
body: JSON.stringify({
|
|
41
|
+
bigDataBody: _extends({}, data)
|
|
42
|
+
}),
|
|
43
|
+
headers: {
|
|
44
|
+
// ...headers,
|
|
45
|
+
'Content-Type': 'application/json',
|
|
46
|
+
token: token
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
case 4:
|
|
50
|
+
res = _context.sent;
|
|
51
|
+
return _context.abrupt("return", res.json());
|
|
52
|
+
case 6:
|
|
53
|
+
case "end":
|
|
54
|
+
return _context.stop();
|
|
55
|
+
}
|
|
56
|
+
}, _callee);
|
|
57
|
+
}));
|
|
58
|
+
return _reportQuery.apply(this, arguments);
|
|
59
|
+
}
|
|
60
|
+
export function getReportData(_x4, _x5) {
|
|
61
|
+
return _getReportData.apply(this, arguments);
|
|
62
|
+
}
|
|
63
|
+
function _getReportData() {
|
|
64
|
+
_getReportData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, other) {
|
|
65
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
66
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
67
|
+
case 0:
|
|
68
|
+
return _context2.abrupt("return", reportQuery("/data/forward/v1/bigdata/report/" + ((data === null || data === void 0 ? void 0 : data.dataSetName) || ''), data, other));
|
|
69
|
+
case 1:
|
|
70
|
+
case "end":
|
|
71
|
+
return _context2.stop();
|
|
72
|
+
}
|
|
73
|
+
}, _callee2);
|
|
74
|
+
}));
|
|
75
|
+
return _getReportData.apply(this, arguments);
|
|
76
|
+
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { SingleWarehouse } from '@ztocwst/rc-pro';
|
|
3
4
|
import { processWarehouseAndFactoryProps } from "../../utils";
|
|
4
5
|
var ZWarehouse = function ZWarehouse(props) {
|
|
5
|
-
var WarehouseProps = props.WarehouseProps
|
|
6
|
+
var WarehouseProps = props.WarehouseProps,
|
|
7
|
+
style = props.style;
|
|
6
8
|
var wareProps = processWarehouseAndFactoryProps(WarehouseProps);
|
|
7
|
-
return /*#__PURE__*/React.createElement(SingleWarehouse, wareProps
|
|
9
|
+
return /*#__PURE__*/React.createElement(SingleWarehouse, _extends({}, wareProps, {
|
|
10
|
+
style: style
|
|
11
|
+
}));
|
|
8
12
|
};
|
|
9
13
|
export default ZWarehouse;
|
package/es/index.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export { default as ZPointerBlock } from './components/z-pointer-block';
|
|
|
34
34
|
export type { TypeZPointerBlockProps } from './components/z-pointer-block';
|
|
35
35
|
export { default as ZAggBlock } from './components/z-agg-block';
|
|
36
36
|
export type { TypeAggBlockProps } from './components/z-agg-block';
|
|
37
|
+
export { default as ZTargetBlock } from './components/z-target-block';
|
|
38
|
+
export type { TypeZTargetBlockProps } from './components/z-target-block';
|
|
37
39
|
export { default as ZDataTable } from './components/z-data-table';
|
|
38
40
|
export type { TypeZDataTableProps } from './components/z-data-table';
|
|
39
41
|
export { default as ZTemplatesDataCommon } from './components/z-templates-data-common';
|
|
@@ -42,7 +44,5 @@ export { default as ZSlick } from './components/z-slick';
|
|
|
42
44
|
export type { TypeZSlickProps } from './components/z-slick';
|
|
43
45
|
export { default as ZWatermark } from './components/z-watermark';
|
|
44
46
|
export type { TypeWatermarkProps } from './components/z-watermark';
|
|
45
|
-
export { default as ZDataStat } from './components/z-data-stat';
|
|
46
|
-
export type { TypeZDataStatProps } from './components/z-data-stat';
|
|
47
47
|
export { default as ZDataStatDescription } from './components/z-data-stat-description';
|
|
48
48
|
export type { TypeZDataStatDescriptionProps } from './components/z-data-stat-description';
|
package/es/index.js
CHANGED
|
@@ -22,12 +22,13 @@ export { default as ZOperationRecords } from "./components/z-operation-records";
|
|
|
22
22
|
export { default as ZPointerBlock } from "./components/z-pointer-block";
|
|
23
23
|
// 聚合指标
|
|
24
24
|
export { default as ZAggBlock } from "./components/z-agg-block";
|
|
25
|
+
// 指标块集
|
|
26
|
+
export { default as ZTargetBlock } from "./components/z-target-block";
|
|
25
27
|
// 数据表格
|
|
26
28
|
export { default as ZDataTable } from "./components/z-data-table";
|
|
27
29
|
export { default as ZTemplatesDataCommon } from "./components/z-templates-data-common";
|
|
28
30
|
export { default as ZSlick } from "./components/z-slick";
|
|
29
31
|
export { default as ZWatermark } from "./components/z-watermark";
|
|
30
|
-
export { default as ZDataStat } from "./components/z-data-stat";
|
|
31
32
|
export { default as ZDataStatDescription } from "./components/z-data-stat-description";
|
|
32
33
|
|
|
33
34
|
// const bizCssPrefix = 'bizpack';
|
package/es/style.js
CHANGED
|
@@ -26,8 +26,4 @@ import 'antd/es/tabs/style';
|
|
|
26
26
|
import 'antd/es/drawer/style';
|
|
27
27
|
import 'antd/es/tooltip/style';
|
|
28
28
|
import 'antd/es/carousel/style';
|
|
29
|
-
import 'antd/es/spin/style';
|
|
30
|
-
import 'antd/es/list/style';
|
|
31
|
-
import 'antd/es/empty/style';
|
|
32
|
-
import 'antd/es/popover/style';
|
|
33
29
|
import './index.scss';
|
|
@@ -11,7 +11,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
13
13
|
var _icons = require("@ant-design/icons");
|
|
14
|
-
var
|
|
14
|
+
var _dataCommon = require("../z-templates-data-common/data-common.helper");
|
|
15
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
17
17
|
// http://scm.gateway.dev.ztyc.com/data/forward/v1/bigdata/report/getBusinessCaliberList
|
|
@@ -133,7 +133,7 @@ var ZDataStatDescription = function ZDataStatDescription(props) {
|
|
|
133
133
|
_qtaName = _context2.t0;
|
|
134
134
|
case 10:
|
|
135
135
|
_context2.next = 12;
|
|
136
|
-
return (0,
|
|
136
|
+
return (0, _dataCommon.getReportData)((0, _extends2["default"])({
|
|
137
137
|
dataSetName: dataSetName,
|
|
138
138
|
qta_name: [].concat(new Set(_qtaName))
|
|
139
139
|
}, newPagination), {
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
exports.__esModule = true;
|
|
4
5
|
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
5
7
|
var React = _interopRequireWildcard(require("react"));
|
|
6
8
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
7
9
|
var _utils = require("../../utils");
|
|
8
10
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
9
11
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
10
12
|
var ZSingerFactory = function ZSingerFactory(props) {
|
|
11
|
-
var singleFactoryProps = props.singleFactoryProps
|
|
13
|
+
var singleFactoryProps = props.singleFactoryProps,
|
|
14
|
+
style = props.style;
|
|
12
15
|
var factoryProps = (0, _utils.processWarehouseAndFactoryProps)(singleFactoryProps);
|
|
13
|
-
return /*#__PURE__*/React.createElement(_rcPro.SingleFactory, factoryProps
|
|
16
|
+
return /*#__PURE__*/React.createElement(_rcPro.SingleFactory, (0, _extends2["default"])({}, factoryProps, {
|
|
17
|
+
style: style
|
|
18
|
+
}));
|
|
14
19
|
};
|
|
15
20
|
var _default = exports["default"] = ZSingerFactory;
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
5
|
exports["default"] = void 0;
|
|
6
|
-
var
|
|
7
|
-
var _default = exports["default"] =
|
|
6
|
+
var _zTargetBlock = _interopRequireDefault(require("./z-target-block"));
|
|
7
|
+
var _default = exports["default"] = _zTargetBlock["default"];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { TargetBlockProps } from '@ztocwst/rc-pro';
|
|
3
|
+
/** 指标面板配置 */
|
|
4
|
+
export type TypeZTargetBlockProps = TargetBlockProps;
|
|
5
|
+
declare const ZTargetBlock: (props: TypeZTargetBlockProps) => import("react").JSX.Element;
|
|
6
|
+
export default ZTargetBlock;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
var _rcPro = require("@ztocwst/rc-pro");
|
|
6
|
+
/** 指标面板配置 */
|
|
7
|
+
|
|
8
|
+
var ZTargetBlock = function ZTargetBlock(props) {
|
|
9
|
+
return /*#__PURE__*/React.createElement(_rcPro.TargetBlock, props);
|
|
10
|
+
};
|
|
11
|
+
var _default = exports["default"] = ZTargetBlock;
|
|
@@ -105,24 +105,41 @@ var ChartRenderer = function ChartRenderer(_ref) {
|
|
|
105
105
|
})) {
|
|
106
106
|
return chartSetting;
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
var renderChart = function renderChart(config, index) {
|
|
109
|
+
var refKey = (0, _DataTable.getType)(index) === 'number' ? "" + (config === null || config === void 0 ? void 0 : config.dataSetName) + _dataCommon.separator + index : "" + (config === null || config === void 0 ? void 0 : config.dataSetName);
|
|
110
|
+
if (config !== null && config !== void 0 && config.custom || (config === null || config === void 0 ? void 0 : config.renderType) === 'custom') {
|
|
111
|
+
return /*#__PURE__*/_react["default"].createElement(_rcPro.CustomRender, (0, _extends2["default"])({}, config, {
|
|
112
|
+
separator: _dataCommon.separator,
|
|
113
|
+
currentKey: activeKey,
|
|
114
|
+
chartRef: function chartRef(ref) {
|
|
115
|
+
_chartRef.current[refKey] = ref;
|
|
116
|
+
},
|
|
117
|
+
onConfirm: onConfirm
|
|
118
|
+
}));
|
|
119
|
+
}
|
|
120
|
+
if ((config === null || config === void 0 ? void 0 : config.renderType) === 'panel') {
|
|
121
|
+
return /*#__PURE__*/_react["default"].createElement(_rcPro.TargetPanelRender, (0, _extends2["default"])({}, config, {
|
|
122
|
+
separator: _dataCommon.separator,
|
|
123
|
+
currentKey: activeKey,
|
|
124
|
+
chartRef: function chartRef(ref) {
|
|
125
|
+
_chartRef.current[refKey] = ref;
|
|
126
|
+
},
|
|
127
|
+
onConfirm: onConfirm
|
|
128
|
+
}));
|
|
129
|
+
}
|
|
130
|
+
return /*#__PURE__*/_react["default"].createElement(_rcPro.TableRender, (0, _extends2["default"])({}, config, {
|
|
113
131
|
separator: _dataCommon.separator,
|
|
114
|
-
chartRef: function chartRef(ref) {
|
|
115
|
-
_chartRef.current[chartSetting === null || chartSetting === void 0 ? void 0 : chartSetting.dataSetName] = ref;
|
|
116
|
-
},
|
|
117
|
-
onConfirm: onConfirm
|
|
118
|
-
})) : /*#__PURE__*/_react["default"].createElement(_rcPro.TableRender, (0, _extends2["default"])({}, chartSetting, {
|
|
119
132
|
currentKey: activeKey,
|
|
120
|
-
separator: _dataCommon.separator,
|
|
121
133
|
chartRef: function chartRef(ref) {
|
|
122
|
-
_chartRef.current[
|
|
134
|
+
_chartRef.current[refKey] = ref;
|
|
123
135
|
},
|
|
124
136
|
onConfirm: onConfirm
|
|
125
137
|
}));
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
// 普通列表json对象
|
|
141
|
+
if (isObject) {
|
|
142
|
+
return renderChart(chartSetting);
|
|
126
143
|
}
|
|
127
144
|
|
|
128
145
|
// 数组
|
|
@@ -153,21 +170,7 @@ var ChartRenderer = function ChartRenderer(_ref) {
|
|
|
153
170
|
return /*#__PURE__*/_react["default"].createElement(_tabs["default"].TabPane, {
|
|
154
171
|
tab: "" + ((e === null || e === void 0 ? void 0 : e.title) || ''),
|
|
155
172
|
key: "" + (e === null || e === void 0 ? void 0 : e.dataSetName) + _dataCommon.separator + i.toString()
|
|
156
|
-
}, e
|
|
157
|
-
currentKey: activeKey,
|
|
158
|
-
separator: _dataCommon.separator,
|
|
159
|
-
chartRef: function chartRef(ref) {
|
|
160
|
-
_chartRef.current["" + (e === null || e === void 0 ? void 0 : e.dataSetName) + _dataCommon.separator + i] = ref;
|
|
161
|
-
},
|
|
162
|
-
onConfirm: onConfirm
|
|
163
|
-
})) : /*#__PURE__*/_react["default"].createElement(_rcPro.TableRender, (0, _extends2["default"])({}, e, {
|
|
164
|
-
currentKey: activeKey,
|
|
165
|
-
separator: _dataCommon.separator,
|
|
166
|
-
chartRef: function chartRef(ref) {
|
|
167
|
-
_chartRef.current["" + (e === null || e === void 0 ? void 0 : e.dataSetName) + _dataCommon.separator + i] = ref;
|
|
168
|
-
},
|
|
169
|
-
onConfirm: onConfirm
|
|
170
|
-
})));
|
|
173
|
+
}, renderChart(e, i));
|
|
171
174
|
}));
|
|
172
175
|
}
|
|
173
176
|
return null;
|
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
/** 字符串分割符 */
|
|
2
2
|
export declare const separator = "***";
|
|
3
|
+
export declare function reportQuery(path: string, data: Record<string, any>, other?: any): Promise<any>;
|
|
4
|
+
/**
|
|
5
|
+
* 海藻报表查询
|
|
6
|
+
* @param data
|
|
7
|
+
* @param other 请求方法\环境
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare function getReportData(data: Record<string, any>, other: {
|
|
11
|
+
request: any;
|
|
12
|
+
env: string;
|
|
13
|
+
}): Promise<any>;
|
|
@@ -1,6 +1,82 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
exports.__esModule = true;
|
|
5
|
+
exports.getReportData = getReportData;
|
|
6
|
+
exports.reportQuery = reportQuery;
|
|
4
7
|
exports.separator = void 0;
|
|
8
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
5
11
|
/** 字符串分割符 */
|
|
6
|
-
var separator = exports.separator = "***";
|
|
12
|
+
var separator = exports.separator = "***";
|
|
13
|
+
var token = 'scm:tenant:token:195002:100246:31773680-07c3-448e-99bb-70eea80907aa';
|
|
14
|
+
function reportQuery(_x, _x2, _x3) {
|
|
15
|
+
return _reportQuery.apply(this, arguments);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* 海藻报表查询
|
|
19
|
+
* @param data
|
|
20
|
+
* @param other 请求方法\环境
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
function _reportQuery() {
|
|
24
|
+
_reportQuery = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(path, data, other) {
|
|
25
|
+
var res;
|
|
26
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
27
|
+
while (1) switch (_context.prev = _context.next) {
|
|
28
|
+
case 0:
|
|
29
|
+
if (!(other && other.request)) {
|
|
30
|
+
_context.next = 2;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
return _context.abrupt("return", other.request(path, {
|
|
34
|
+
method: 'post',
|
|
35
|
+
data: {
|
|
36
|
+
bigDataBody: (0, _extends2["default"])({
|
|
37
|
+
// 数据部环境只有 dev test prod(生产不传)
|
|
38
|
+
env: other.env === 'prod' ? undefined : other.env === 'dev' ? 'dev' : 'test'
|
|
39
|
+
}, data)
|
|
40
|
+
}
|
|
41
|
+
}));
|
|
42
|
+
case 2:
|
|
43
|
+
_context.next = 4;
|
|
44
|
+
return fetch("https://scm-gateway.ztocwst.com/data/forward/v1/bigdata/report/" + data.dataSetName, {
|
|
45
|
+
method: 'post',
|
|
46
|
+
body: JSON.stringify({
|
|
47
|
+
bigDataBody: (0, _extends2["default"])({}, data)
|
|
48
|
+
}),
|
|
49
|
+
headers: {
|
|
50
|
+
// ...headers,
|
|
51
|
+
'Content-Type': 'application/json',
|
|
52
|
+
token: token
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
case 4:
|
|
56
|
+
res = _context.sent;
|
|
57
|
+
return _context.abrupt("return", res.json());
|
|
58
|
+
case 6:
|
|
59
|
+
case "end":
|
|
60
|
+
return _context.stop();
|
|
61
|
+
}
|
|
62
|
+
}, _callee);
|
|
63
|
+
}));
|
|
64
|
+
return _reportQuery.apply(this, arguments);
|
|
65
|
+
}
|
|
66
|
+
function getReportData(_x4, _x5) {
|
|
67
|
+
return _getReportData.apply(this, arguments);
|
|
68
|
+
}
|
|
69
|
+
function _getReportData() {
|
|
70
|
+
_getReportData = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(data, other) {
|
|
71
|
+
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
72
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
73
|
+
case 0:
|
|
74
|
+
return _context2.abrupt("return", reportQuery("/data/forward/v1/bigdata/report/" + ((data === null || data === void 0 ? void 0 : data.dataSetName) || ''), data, other));
|
|
75
|
+
case 1:
|
|
76
|
+
case "end":
|
|
77
|
+
return _context2.stop();
|
|
78
|
+
}
|
|
79
|
+
}, _callee2);
|
|
80
|
+
}));
|
|
81
|
+
return _getReportData.apply(this, arguments);
|
|
82
|
+
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
exports.__esModule = true;
|
|
4
5
|
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
5
7
|
var React = _interopRequireWildcard(require("react"));
|
|
6
8
|
var _rcPro = require("@ztocwst/rc-pro");
|
|
7
9
|
var _utils = require("../../utils");
|
|
8
10
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
9
11
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
10
12
|
var ZWarehouse = function ZWarehouse(props) {
|
|
11
|
-
var WarehouseProps = props.WarehouseProps
|
|
13
|
+
var WarehouseProps = props.WarehouseProps,
|
|
14
|
+
style = props.style;
|
|
12
15
|
var wareProps = (0, _utils.processWarehouseAndFactoryProps)(WarehouseProps);
|
|
13
|
-
return /*#__PURE__*/React.createElement(_rcPro.SingleWarehouse, wareProps
|
|
16
|
+
return /*#__PURE__*/React.createElement(_rcPro.SingleWarehouse, (0, _extends2["default"])({}, wareProps, {
|
|
17
|
+
style: style
|
|
18
|
+
}));
|
|
14
19
|
};
|
|
15
20
|
var _default = exports["default"] = ZWarehouse;
|
package/lib/index.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export { default as ZPointerBlock } from './components/z-pointer-block';
|
|
|
34
34
|
export type { TypeZPointerBlockProps } from './components/z-pointer-block';
|
|
35
35
|
export { default as ZAggBlock } from './components/z-agg-block';
|
|
36
36
|
export type { TypeAggBlockProps } from './components/z-agg-block';
|
|
37
|
+
export { default as ZTargetBlock } from './components/z-target-block';
|
|
38
|
+
export type { TypeZTargetBlockProps } from './components/z-target-block';
|
|
37
39
|
export { default as ZDataTable } from './components/z-data-table';
|
|
38
40
|
export type { TypeZDataTableProps } from './components/z-data-table';
|
|
39
41
|
export { default as ZTemplatesDataCommon } from './components/z-templates-data-common';
|
|
@@ -42,7 +44,5 @@ export { default as ZSlick } from './components/z-slick';
|
|
|
42
44
|
export type { TypeZSlickProps } from './components/z-slick';
|
|
43
45
|
export { default as ZWatermark } from './components/z-watermark';
|
|
44
46
|
export type { TypeWatermarkProps } from './components/z-watermark';
|
|
45
|
-
export { default as ZDataStat } from './components/z-data-stat';
|
|
46
|
-
export type { TypeZDataStatProps } from './components/z-data-stat';
|
|
47
47
|
export { default as ZDataStatDescription } from './components/z-data-stat-description';
|
|
48
48
|
export type { TypeZDataStatDescriptionProps } from './components/z-data-stat-description';
|
package/lib/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
exports.__esModule = true;
|
|
5
|
-
exports.ZWatermark = exports.ZWarehouse = exports.ZTpl = exports.ZTemplatesDataCommon = exports.ZTable = exports.ZStatistic = exports.ZSlick = exports.ZSingleFactory = exports.ZSimpleBar = exports.ZRcEditTable = exports.ZRankingList = exports.ZProProvider = exports.ZPreview = exports.ZPointerBlock = exports.ZOperationRecords = exports.ZList = exports.ZForm = exports.ZEllipsis = exports.ZDiv = exports.ZDataTable = exports.ZDataStatDescription = exports.
|
|
5
|
+
exports.ZWatermark = exports.ZWarehouse = exports.ZTpl = exports.ZTemplatesDataCommon = exports.ZTargetBlock = exports.ZTable = exports.ZStatistic = exports.ZSlick = exports.ZSingleFactory = exports.ZSimpleBar = exports.ZRcEditTable = exports.ZRankingList = exports.ZProProvider = exports.ZPreview = exports.ZPointerBlock = exports.ZOperationRecords = exports.ZList = exports.ZForm = exports.ZEllipsis = exports.ZDiv = exports.ZDataTable = exports.ZDataStatDescription = exports.ZConfigProvider = exports.ZButton = exports.ZBox = exports.ZAuth = exports.ZAggBlock = void 0;
|
|
6
6
|
var _zButton = _interopRequireDefault(require("./components/z-button"));
|
|
7
7
|
exports.ZButton = _zButton["default"];
|
|
8
8
|
var _zForm = _interopRequireDefault(require("./components/z-form"));
|
|
@@ -45,6 +45,8 @@ var _zPointerBlock = _interopRequireDefault(require("./components/z-pointer-bloc
|
|
|
45
45
|
exports.ZPointerBlock = _zPointerBlock["default"];
|
|
46
46
|
var _zAggBlock = _interopRequireDefault(require("./components/z-agg-block"));
|
|
47
47
|
exports.ZAggBlock = _zAggBlock["default"];
|
|
48
|
+
var _zTargetBlock = _interopRequireDefault(require("./components/z-target-block"));
|
|
49
|
+
exports.ZTargetBlock = _zTargetBlock["default"];
|
|
48
50
|
var _zDataTable = _interopRequireDefault(require("./components/z-data-table"));
|
|
49
51
|
exports.ZDataTable = _zDataTable["default"];
|
|
50
52
|
var _zTemplatesDataCommon = _interopRequireDefault(require("./components/z-templates-data-common"));
|
|
@@ -53,7 +55,5 @@ var _zSlick = _interopRequireDefault(require("./components/z-slick"));
|
|
|
53
55
|
exports.ZSlick = _zSlick["default"];
|
|
54
56
|
var _zWatermark = _interopRequireDefault(require("./components/z-watermark"));
|
|
55
57
|
exports.ZWatermark = _zWatermark["default"];
|
|
56
|
-
var _zDataStat = _interopRequireDefault(require("./components/z-data-stat"));
|
|
57
|
-
exports.ZDataStat = _zDataStat["default"];
|
|
58
58
|
var _zDataStatDescription = _interopRequireDefault(require("./components/z-data-stat-description"));
|
|
59
59
|
exports.ZDataStatDescription = _zDataStatDescription["default"];
|
package/lib/style.js
CHANGED
|
@@ -10,8 +10,4 @@ require('antd/lib/tabs/style');
|
|
|
10
10
|
require('antd/lib/drawer/style');
|
|
11
11
|
require('antd/lib/tooltip/style');
|
|
12
12
|
require('antd/lib/carousel/style');
|
|
13
|
-
require('antd/lib/spin/style');
|
|
14
|
-
require('antd/lib/list/style');
|
|
15
|
-
require('antd/lib/empty/style');
|
|
16
|
-
require('antd/lib/popover/style');
|
|
17
13
|
require('./index.scss');
|