@zgfe/modules-interval 1.0.11-zhongbang.0 → 1.0.11-zhongbang.2

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.
@@ -97,7 +97,8 @@ var ModuleInterval = function ModuleInterval(props) {
97
97
  name: title,
98
98
  params: _objectSpread({
99
99
  app_id: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
100
- module: 'interval'
100
+ module: 'interval',
101
+ userGroup: (searchData === null || searchData === void 0 ? void 0 : searchData.userGroup) || (searchData === null || searchData === void 0 ? void 0 : searchData.user_group)
101
102
  }, searchData)
102
103
  }
103
104
  } : undefined,
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import React, { useContext, useEffect, useState } from 'react';
14
14
  import { Form, Button, Radio, Space, Switch } from 'antd';
15
- import { BizAttributeSelector, BizSelect, BizUserGroupHeader, useSubject } from '@zgfe/business-lib';
15
+ import { BizAttributeSelector, BizSelect, BizUserGroupHeader } from '@zgfe/business-lib';
16
16
  import EventFilter from "../../components/eventFilter";
17
17
  import "./styles/index.less";
18
18
  import { AnalysisMode } from "./types";
@@ -40,9 +40,8 @@ var TopPanel = function TopPanel(props) {
40
40
  _useState6 = _slicedToArray(_useState5, 2),
41
41
  relevancy = _useState6[0],
42
42
  setRelevancy = _useState6[1];
43
- var _useSubject = useSubject(),
44
- subjectList = _useSubject.subjectList,
45
- subjectLoading = _useSubject.loading;
43
+ var subjectList = [];
44
+ var subjectLoading = false;
46
45
  var _useContext = useContext(IntervalContext),
47
46
  subjectEnable = _useContext.subjectEnable;
48
47
  var _ref = defaultValue || {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-interval",
3
- "version": "1.0.11-zhongbang.0",
3
+ "version": "1.0.11-zhongbang.2",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -47,7 +47,7 @@
47
47
  "@types/uuid": "^9.0.2",
48
48
  "@umijs/fabric": "^2.8.1",
49
49
  "@umijs/test": "^3.0.5",
50
- "@zgfe/business-lib": "1.1.99",
50
+ "@zgfe/business-lib": "1.2.11-zhongbang.1",
51
51
  "@zgfe/modules-demo-manage": "^1.0.1",
52
52
  "antd": "^4.22.6",
53
53
  "dumi": "^1.1.0",
@@ -62,5 +62,5 @@
62
62
  "umi-request": "^1.4.0",
63
63
  "yorkie": "^2.0.0"
64
64
  },
65
- "gitHead": "26afc0ed55929a0df0020cc52da948954ff5559d"
65
+ "gitHead": "497681feb4f8fbce4b04b8a7aae6b915e0606df0"
66
66
  }