@zgfe/modules-interval 1.0.3-alpha.17 → 1.0.3-alpha.19

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.
@@ -105,7 +105,7 @@ var TopBar = function TopBar(props) {
105
105
  appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
106
106
  module: 'interval'
107
107
  }, searchData), {}, {
108
- chartType: 'line'
108
+ chartType: 'boxplot'
109
109
  }),
110
110
  onOk: function onOk(data) {
111
111
  return _onOk('scene', data);
@@ -98,7 +98,7 @@ var IntervalEventChart = function IntervalEventChart(props) {
98
98
  showList: showList,
99
99
  dataSourceList: dataSourceList,
100
100
  params: params
101
- }), /*#__PURE__*/React.createElement(EventTable, {
101
+ }), !props.onlyChart && /*#__PURE__*/React.createElement(EventTable, {
102
102
  dataSource: dataSource,
103
103
  searchData: params,
104
104
  showList: [],
@@ -87,7 +87,7 @@ var IntervalChart = function IntervalChart(props) {
87
87
  right: 3,
88
88
  height: 20 // 设置内置的dataZoom的高度
89
89
  }, {
90
- show: (params === null || params === void 0 ? void 0 : params.module) === 'interval' ? false : true,
90
+ show: true,
91
91
  type: 'slider',
92
92
  bottom: '38px',
93
93
  xAxisIndex: [0],
@@ -13,6 +13,7 @@ export declare namespace eventChartProps {
13
13
  */
14
14
  dataSource?: ChartTypesProps;
15
15
  dataSourceList?: DisplaySetup[];
16
+ onlyChart?: boolean;
16
17
  /**
17
18
  * 查询条件
18
19
  */
@@ -17,7 +17,7 @@ var defaultValue = {
17
17
  panelId: 400900,
18
18
  panelType: 'edit',
19
19
  data: {
20
- chartType: 'line',
20
+ chartType: 'boxplot',
21
21
  analysisIndex: 'per',
22
22
  id: 7565,
23
23
  name: '测试6666',
@@ -48,7 +48,7 @@ export default (function () {
48
48
  end: '2023-10-18',
49
49
  unit: 'day'
50
50
  },
51
- chartType: 'line',
51
+ chartType: 'boxplot',
52
52
  start: {
53
53
  id: 7612,
54
54
  name: '间隔事件-01',
@@ -13,7 +13,7 @@ var defaultValue = {
13
13
  data: {
14
14
  module: 'event',
15
15
  analysisIndex: 'times',
16
- chartType: 'line',
16
+ chartType: 'boxplot',
17
17
  name: 'wqeqwe',
18
18
  time: {
19
19
  unit: 'day',
@@ -89,7 +89,7 @@ var ModuleInterval = function ModuleInterval(props) {
89
89
  setSearchData({
90
90
  userGroup: (userGroupList === null || userGroupList === void 0 ? void 0 : userGroupList.length) > 0 ? [userGroupList[0].id] : [0],
91
91
  time: getInitDate(props.includeToday),
92
- chartType: 'line'
92
+ chartType: 'boxplot'
93
93
  });
94
94
  };
95
95
  useEffect(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-interval",
3
- "version": "1.0.3-alpha.17",
3
+ "version": "1.0.3-alpha.19",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -62,5 +62,5 @@
62
62
  "umi-request": "^1.4.0",
63
63
  "yorkie": "^2.0.0"
64
64
  },
65
- "gitHead": "f58883f81626f6976b35134494d53fcaa5fc1ea0"
65
+ "gitHead": "29528ab18e133cbaf906f788e5418110f7a0b21d"
66
66
  }