@zgfe/modules-event 0.1.5-event.33 → 0.1.5-event.35
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.
|
@@ -179,7 +179,7 @@ var EventFilter = function EventFilter(props) {
|
|
|
179
179
|
return /*#__PURE__*/React.createElement("div", {
|
|
180
180
|
className: classPrefix
|
|
181
181
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(BizEventSelector, {
|
|
182
|
-
showAllEvent: true,
|
|
182
|
+
showAllEvent: analysisType === 'eventProp' ? false : true,
|
|
183
183
|
showBuiltInTarget: false,
|
|
184
184
|
popupContainer: false,
|
|
185
185
|
defaultSelectAble: false,
|
|
@@ -112,7 +112,12 @@ var EventContent = function EventContent(props) {
|
|
|
112
112
|
return;
|
|
113
113
|
}
|
|
114
114
|
if (flag !== undefined) ajaxFlag = flag;
|
|
115
|
-
if (analysisSubjectType === 'eventProp'
|
|
115
|
+
if (analysisSubjectType === 'eventProp') {
|
|
116
|
+
if (!searchData.analysisSubject || !searchData.id) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
delete searchData.eventGroupId;
|
|
120
|
+
}
|
|
116
121
|
if (!ajaxFlag) return;
|
|
117
122
|
setLoading(true);
|
|
118
123
|
setEventData(undefined);
|
|
@@ -45,7 +45,6 @@ var TopPanel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
45
45
|
form = _Form$useForm2[0];
|
|
46
46
|
var userGroup = value.userGroup;
|
|
47
47
|
var onValuesChange = function onValuesChange(data, allData) {
|
|
48
|
-
console.log('用户组和事件变更 allData ===', allData);
|
|
49
48
|
var _data = {};
|
|
50
49
|
if (allData.filterConditions) {
|
|
51
50
|
if (allData.filterConditions.id !== -100) {
|
|
@@ -93,7 +92,6 @@ var TopPanel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
93
92
|
}, true);
|
|
94
93
|
};
|
|
95
94
|
useEffect(function () {
|
|
96
|
-
console.log('useEffect value ==', value);
|
|
97
95
|
if (!value) {
|
|
98
96
|
setInited(true);
|
|
99
97
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-event",
|
|
3
|
-
"version": "0.1.5-event.
|
|
3
|
+
"version": "0.1.5-event.35",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react": "^16.12.0 || ^17.0.0",
|
|
50
50
|
"yorkie": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "ceaacc5d9ddb032116f03f1b30bfef599790dd8a",
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"react-copy-to-clipboard": "^5.1.0",
|
|
55
55
|
"react-highlight": "^0.15.0"
|