@zgfe/modules-dm 1.0.42-alpha.9 → 1.0.56-zhongyuan.5
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/components/demo.js +1 -1
- package/es/constants/api.d.ts +37 -0
- package/es/constants/api.js +62 -1
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/modules/CutsModal.d.ts +66 -0
- package/es/modules/CutsModal.js +52 -0
- package/es/modules/dataManage/collectionAttributeList.d.ts +3 -0
- package/es/modules/dataManage/collectionAttributeList.js +524 -80
- package/es/modules/dataManage/collectionEventList.d.ts +6 -0
- package/es/modules/dataManage/collectionEventList.js +482 -62
- package/es/modules/dataManage/components/createAttrDrawer.d.ts +4 -0
- package/es/modules/dataManage/components/createAttrDrawer.js +264 -0
- package/es/modules/dataManage/components/createMetaDrawer.d.ts +4 -0
- package/es/modules/dataManage/components/createMetaDrawer.js +618 -0
- package/es/modules/dataManage/components/createVirtualDrawer.js +19 -19
- package/es/modules/dataManage/components/creditPop/imgs/link.png +0 -0
- package/es/modules/dataManage/components/creditPop/imgs/png01.png +0 -0
- package/es/modules/dataManage/components/creditPop/imgs/png02.png +0 -0
- package/es/modules/dataManage/components/creditPop/imgs/png03.png +0 -0
- package/es/modules/dataManage/components/creditPop/imgs/png04.png +0 -0
- package/es/modules/dataManage/components/creditPop/index.d.ts +6 -0
- package/es/modules/dataManage/components/creditPop/index.js +89 -0
- package/es/modules/dataManage/components/creditPop/index.less +121 -0
- package/es/modules/dataManage/components/deleteConfirm.d.ts +9 -0
- package/es/modules/dataManage/components/deleteConfirm.js +36 -0
- package/es/modules/dataManage/components/deleteUserAttrConfirm.d.ts +9 -0
- package/es/modules/dataManage/components/deleteUserAttrConfirm.js +57 -0
- package/es/modules/dataManage/components/depositPop/imgs/link.png +0 -0
- package/es/modules/dataManage/components/depositPop/imgs/png01.png +0 -0
- package/es/modules/dataManage/components/depositPop/imgs/png02.png +0 -0
- package/es/modules/dataManage/components/depositPop/index.d.ts +6 -0
- package/es/modules/dataManage/components/depositPop/index.js +89 -0
- package/es/modules/dataManage/components/depositPop/index.less +115 -0
- package/es/modules/dataManage/components/developModal/index.css +36 -0
- package/es/modules/dataManage/components/developModal/index.d.ts +6 -0
- package/es/modules/dataManage/components/developModal/index.js +224 -0
- package/es/modules/dataManage/components/developModal/index.less +36 -0
- package/es/modules/dataManage/components/editTxt/index.d.ts +3 -0
- package/es/modules/dataManage/components/editTxt/index.js +123 -0
- package/es/modules/dataManage/components/editTxt/index.less +44 -0
- package/es/modules/dataManage/components/editTxt/types.d.ts +48 -0
- package/es/modules/dataManage/components/editTxt/types.js +1 -0
- package/es/modules/dataManage/components/eventFilter/index.js +13 -13
- package/es/modules/dataManage/components/eventFilter/styles/index.less +72 -72
- package/es/modules/dataManage/components/eventGroupingDrawer.js +41 -44
- package/es/modules/dataManage/components/importAttrDialog/demo/index.d.ts +3 -0
- package/es/modules/dataManage/components/importAttrDialog/demo/index.js +28 -0
- package/es/modules/dataManage/components/importAttrDialog/index.d.ts +7 -0
- package/es/modules/dataManage/components/importAttrDialog/index.js +159 -0
- package/es/modules/dataManage/components/importAttrDialog/styles/index.less +90 -0
- package/es/modules/dataManage/components/importMetaDialog/demo/index.d.ts +3 -0
- package/es/modules/dataManage/components/importMetaDialog/demo/index.js +28 -0
- package/es/modules/dataManage/components/importMetaDialog/index.d.ts +7 -0
- package/es/modules/dataManage/components/importMetaDialog/index.js +159 -0
- package/es/modules/dataManage/components/importMetaDialog/styles/index.less +91 -0
- package/es/modules/dataManage/components/selectAttributes.js +10 -10
- package/es/modules/dataManage/components/tablePlus.d.ts +4 -0
- package/es/modules/dataManage/components/tablePlus.js +625 -94
- package/es/modules/dataManage/components/virtualTablePlus.js +7 -7
- package/es/modules/dataManage/demo/index.d.ts +2 -1
- package/es/modules/dataManage/demo/index.js +79 -16
- package/es/modules/dataManage/detailedData/DetailedDataForm.d.ts +5 -0
- package/es/modules/dataManage/detailedData/DetailedDataForm.js +216 -0
- package/es/modules/dataManage/detailedData/index.d.ts +24 -0
- package/es/modules/dataManage/detailedData/index.js +403 -0
- package/es/modules/dataManage/detailedData/useColumns.d.ts +34 -0
- package/es/modules/dataManage/detailedData/useColumns.js +135 -0
- package/es/modules/dataManage/index.d.ts +9 -4
- package/es/modules/dataManage/index.js +142 -50
- package/es/modules/dataManage/styles/detailed.less +74 -0
- package/es/modules/dataManage/styles/index.less +1195 -841
- package/es/modules/dataManage/types.d.ts +8 -0
- package/es/modules/dataManage/virtualEventList.js +13 -13
- package/es/modules/dataMap/component/data.d.ts +7 -0
- package/es/modules/dataMap/component/data.js +257 -0
- package/es/modules/dataMap/component/drawerAdd.d.ts +6 -0
- package/es/modules/dataMap/component/drawerAdd.js +379 -0
- package/es/modules/dataMap/component/leftTree.d.ts +6 -0
- package/es/modules/dataMap/component/leftTree.js +232 -0
- package/es/modules/dataMap/component/rightDetail.d.ts +7 -0
- package/es/modules/dataMap/component/rightDetail.js +694 -0
- package/es/modules/dataMap/component/selectAttr.d.ts +7 -0
- package/es/modules/dataMap/component/selectAttr.js +92 -0
- package/es/modules/dataMap/css/index.css +163 -0
- package/es/modules/dataMap/css/index.less +177 -0
- package/es/modules/dataMap/demo/index.d.ts +3 -0
- package/es/modules/dataMap/demo/index.js +6 -0
- package/es/modules/dataMap/img/empty-data.png +0 -0
- package/es/modules/dataMap/index.d.ts +3 -0
- package/es/modules/dataMap/index.js +80 -0
- package/es/modules/dataMap/mapDetail.d.ts +3 -0
- package/es/modules/dataMap/mapDetail.js +44 -0
- package/es/modules/dataMap/mapSetting.d.ts +6 -0
- package/es/modules/dataMap/mapSetting.js +156 -0
- package/es/modules/dataPlan/addEventOrUser.js +31 -30
- package/es/modules/dataPlan/addPlan.js +29 -27
- package/es/modules/dataPlan/eventList.js +2 -2
- package/es/modules/dataPlan/index.js +10 -10
- package/es/modules/dataPlan/search.js +6 -5
- package/es/modules/dataPlan/styles/index.less +316 -316
- package/es/modules/dataPlan/tablePlus.js +3 -3
- package/es/modules/dataPlan/userAttributeList.js +5 -5
- package/es/modules/dataReal/css/index.css +48 -0
- package/es/modules/dataReal/css/index.less +51 -0
- package/es/modules/dataReal/demo/index.d.ts +3 -0
- package/es/modules/dataReal/demo/index.js +6 -0
- package/es/modules/dataReal/index1.d.ts +28 -0
- package/es/modules/dataReal/index1.js +247 -0
- package/es/modules/dataReal/table.d.ts +5 -0
- package/es/modules/dataReal/table.js +260 -0
- package/es/store/index.js +11 -11
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +9 -1
- package/package.json +64 -58
|
@@ -76,3 +76,11 @@ export interface EventGroupingDrawerProps {
|
|
|
76
76
|
refresh: Function;
|
|
77
77
|
source: 'virtual' | 'collection';
|
|
78
78
|
}
|
|
79
|
+
export interface CreateMetaDrawerProps {
|
|
80
|
+
isShow: boolean;
|
|
81
|
+
onClose: Function;
|
|
82
|
+
onSubmit?: Function;
|
|
83
|
+
selectTreeName?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface DevelopModelProps {
|
|
86
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
7
|
-
function _slicedToArray(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
8
8
|
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."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
11
|
-
function _iterableToArrayLimit(
|
|
12
|
-
function _arrayWithHoles(
|
|
9
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
10
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
13
|
import { BizGlobalDataContext, IconFont } from '@zgfe/business-lib';
|
|
14
14
|
import { Input, Button, Select, Modal, message, Pagination } from 'antd';
|
|
15
15
|
import request from '../../utils/ajax';
|
|
@@ -246,7 +246,7 @@ var VirtualEventList = function VirtualEventList() {
|
|
|
246
246
|
className: classPrefix
|
|
247
247
|
}, /*#__PURE__*/React.createElement("div", {
|
|
248
248
|
className: "".concat(classPrefix, "-top-box")
|
|
249
|
-
}, groupOptions.length > 0 && /*#__PURE__*/React.createElement(Select, {
|
|
249
|
+
}, groupOptions.length > 0 && (/*#__PURE__*/React.createElement(Select, {
|
|
250
250
|
defaultValue: -999,
|
|
251
251
|
className: "top-select",
|
|
252
252
|
onChange: handleSelectChange,
|
|
@@ -257,7 +257,7 @@ var VirtualEventList = function VirtualEventList() {
|
|
|
257
257
|
color: '#5f6085'
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
|
-
}), /*#__PURE__*/React.createElement(Input, {
|
|
260
|
+
})), /*#__PURE__*/React.createElement(Input, {
|
|
261
261
|
className: "top-input",
|
|
262
262
|
onChange: eventNameChange,
|
|
263
263
|
placeholder: "\u8BF7\u8F93\u5165\u4E8B\u4EF6\u540D\u79F0\u6216\u522B\u540D",
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { useContext } from 'react';
|
|
2
|
+
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
3
|
+
var _useContext = useContext(BizGlobalDataContext),
|
|
4
|
+
eventGroupList = _useContext.eventGroupList;
|
|
5
|
+
// 按钮点击 事件分析
|
|
6
|
+
// page: { alias: '按钮名称', name: 'button_name' },
|
|
7
|
+
// filter: [
|
|
8
|
+
// { alias: '客户端版本', name: 'current_version' },
|
|
9
|
+
// { alias: '应⽤名称', name: 'app_name' },
|
|
10
|
+
// { alias: '模块名称', name: 'func_module' },
|
|
11
|
+
// { alias: '模块ID', name: 'func_module_id' },
|
|
12
|
+
// { alias: '模块版本', name: 'func_module_ver' },
|
|
13
|
+
// { alias: '⻚⾯展示名称', name: 'page_name' },
|
|
14
|
+
// ],
|
|
15
|
+
// const buttonAnalyze = {
|
|
16
|
+
// name: '元素点击',
|
|
17
|
+
// attrs: {
|
|
18
|
+
// page: 'button_name',
|
|
19
|
+
// filter: [
|
|
20
|
+
// 'current_version',
|
|
21
|
+
// 'app_name',
|
|
22
|
+
// 'func_module',
|
|
23
|
+
// 'func_module_id',
|
|
24
|
+
// 'func_module_ver',
|
|
25
|
+
// 'page_name',
|
|
26
|
+
// ],
|
|
27
|
+
// },
|
|
28
|
+
// };
|
|
29
|
+
export var buttonAnalyze = {
|
|
30
|
+
name: '安卓自定义事件',
|
|
31
|
+
attrs: {
|
|
32
|
+
page: 'eventProp-115',
|
|
33
|
+
filter: ['eventProp-115', 'app_name', 'func_module', 'func_module_id', 'func_module_ver', 'page_name']
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
// let [buttonAnalyzeParams,setButtonAnalyzeParams] =useState<dongchaParamsType>()
|
|
37
|
+
// useEffect(()=>{
|
|
38
|
+
// try{
|
|
39
|
+
// eventGroupList?.[0].eventList.forEach((o) => {
|
|
40
|
+
// if (o.name || o.alias == buttonAnalyze.name) {
|
|
41
|
+
// const haveFilter = o.attrList.filter((m:any) => buttonAnalyze.attrs.filter.includes(m!.key));
|
|
42
|
+
// const pageId = o.attrList.filter((m) => m?.key == buttonAnalyze.attrs.page);
|
|
43
|
+
// setButtonAnalyzeParams({
|
|
44
|
+
// data: {
|
|
45
|
+
// chartType: 'line',
|
|
46
|
+
// module: 'insight',
|
|
47
|
+
// userGroup: [0],
|
|
48
|
+
// targets: [
|
|
49
|
+
// {
|
|
50
|
+
// alias: o.name,
|
|
51
|
+
// filters: haveFilter,
|
|
52
|
+
// analysisDimension: { analysisIndex: 'number' },
|
|
53
|
+
// eventGroupId: 0,
|
|
54
|
+
// eventId: o.id,
|
|
55
|
+
// eventName:o.name,
|
|
56
|
+
// type: 'event',
|
|
57
|
+
// },
|
|
58
|
+
// ],
|
|
59
|
+
// },
|
|
60
|
+
// });
|
|
61
|
+
// console.log(haveFilter, pageId,buttonAnalyzeParams,'包含了');
|
|
62
|
+
// throw Error("用来终止循环的")
|
|
63
|
+
// }
|
|
64
|
+
// });
|
|
65
|
+
// }catch(error){
|
|
66
|
+
// // console.log(error);
|
|
67
|
+
// }
|
|
68
|
+
// },[])
|
|
69
|
+
// export {
|
|
70
|
+
// buttonAnalyzeParams
|
|
71
|
+
// }
|
|
72
|
+
// 拼给洞察页面的 参数
|
|
73
|
+
// globalFilters 属性里面没有value值时需要处理下。要不就是在上传时处理下没有value值这条数据不要
|
|
74
|
+
// globalFilters:{conditions:[{
|
|
75
|
+
// relation: 'and',
|
|
76
|
+
// conditions: [{
|
|
77
|
+
// attrId : 219,
|
|
78
|
+
// attrName: "url",
|
|
79
|
+
// label :"url",
|
|
80
|
+
// operator : "gt",
|
|
81
|
+
// propCategory : "eventProp",
|
|
82
|
+
// type : 2,
|
|
83
|
+
// values: ['http://127.0.0.1:9000'],
|
|
84
|
+
// }]
|
|
85
|
+
// }]},
|
|
86
|
+
// 点击当前页面的 参数
|
|
87
|
+
// let obj = {
|
|
88
|
+
// data: {
|
|
89
|
+
// chartType: 'line',
|
|
90
|
+
// module: 'insight',
|
|
91
|
+
// userGroup: [0],
|
|
92
|
+
// globalDimensions: [
|
|
93
|
+
// {
|
|
94
|
+
// propCategory: 'eventProp',
|
|
95
|
+
// type: 1,
|
|
96
|
+
// attrId: 219,
|
|
97
|
+
// attrName: 'url',
|
|
98
|
+
// },
|
|
99
|
+
// ],
|
|
100
|
+
// targets: [
|
|
101
|
+
// {
|
|
102
|
+
// filters: {
|
|
103
|
+
// relation: 'and',
|
|
104
|
+
// conditions: [
|
|
105
|
+
// {
|
|
106
|
+
// attrId: 219,
|
|
107
|
+
// propCategory: 'eventProp',
|
|
108
|
+
// type: 1,
|
|
109
|
+
// operator: 'equal',
|
|
110
|
+
// values: [],
|
|
111
|
+
// dimensionSub: 'event_attr',
|
|
112
|
+
// label: 'url',
|
|
113
|
+
// attrName: 'url',
|
|
114
|
+
// },
|
|
115
|
+
// ],
|
|
116
|
+
// },
|
|
117
|
+
// analysisDimension: {
|
|
118
|
+
// analysisIndex: 'number',
|
|
119
|
+
// },
|
|
120
|
+
// eventGroupId: 0,
|
|
121
|
+
// eventId: 42,
|
|
122
|
+
// eventName: 'revenue',
|
|
123
|
+
// type: 'event',
|
|
124
|
+
// },
|
|
125
|
+
// ],
|
|
126
|
+
// },
|
|
127
|
+
// };
|
|
128
|
+
// const buttonAnalyzeParams = useRef<dongchaParamsType>(); // 拼接的数据
|
|
129
|
+
// const pageAnalyzeParams = useRef<dongchaParamsType>(); // 拼接的数据
|
|
130
|
+
// const pagePracticeParams = useRef<dongchaParamsType>(); // 拼接的数据
|
|
131
|
+
// const pageClickParams = useRef<dongchaParamsType>(); // 拼接的数据
|
|
132
|
+
// // 点击事件分析的事件和属性
|
|
133
|
+
// const buttonAnalyze = {
|
|
134
|
+
// name: '安卓自定义事件',
|
|
135
|
+
// attrs: {
|
|
136
|
+
// page: 'eventProp-115',
|
|
137
|
+
// filters: [
|
|
138
|
+
// 'eventProp-115',
|
|
139
|
+
// 'app_name',
|
|
140
|
+
// 'func_module',
|
|
141
|
+
// 'func_module_id',
|
|
142
|
+
// 'func_module_ver',
|
|
143
|
+
// 'page_name',
|
|
144
|
+
// ],
|
|
145
|
+
// },
|
|
146
|
+
// };
|
|
147
|
+
// // 页面浏览详情分析
|
|
148
|
+
// const pageAnalyze={
|
|
149
|
+
// name: '浏览⻚⾯',
|
|
150
|
+
// attrs: {
|
|
151
|
+
// page: 'page_name',
|
|
152
|
+
// filters: [
|
|
153
|
+
// 'current_version',
|
|
154
|
+
// 'app_name',
|
|
155
|
+
// 'app_version',
|
|
156
|
+
// 'func_module',
|
|
157
|
+
// 'func_module_id',
|
|
158
|
+
// 'func_module_ver',
|
|
159
|
+
// ],
|
|
160
|
+
// },
|
|
161
|
+
// }
|
|
162
|
+
// // 页面实验浏览分析
|
|
163
|
+
// const pagePractice={
|
|
164
|
+
// name: '浏览⻚⾯',
|
|
165
|
+
// attrs: {
|
|
166
|
+
// page: 'page_name',
|
|
167
|
+
// filters: [
|
|
168
|
+
// 'current_version',
|
|
169
|
+
// 'app_name',
|
|
170
|
+
// 'app_version',
|
|
171
|
+
// 'func_module',
|
|
172
|
+
// 'func_module_id',
|
|
173
|
+
// 'func_module_ver',
|
|
174
|
+
// 'test_order_id',
|
|
175
|
+
// 'test_order_item_id',
|
|
176
|
+
// 'test_order_name',
|
|
177
|
+
// ],
|
|
178
|
+
// },
|
|
179
|
+
// }
|
|
180
|
+
// // 页面点击浏览分析
|
|
181
|
+
// const pageClick={
|
|
182
|
+
// name: '浏览⻚⾯',
|
|
183
|
+
// attrs: {
|
|
184
|
+
// page: 'page_name',
|
|
185
|
+
// filters: [
|
|
186
|
+
// 'current_version',
|
|
187
|
+
// 'app_name',
|
|
188
|
+
// 'app_version',
|
|
189
|
+
// 'func_module',
|
|
190
|
+
// 'func_module_id',
|
|
191
|
+
// 'func_module_ver',
|
|
192
|
+
// ],
|
|
193
|
+
// },
|
|
194
|
+
// }
|
|
195
|
+
// const getPageView = (params:{name:string,attrs:{page:string,filters:string[]}[]}|any,resultParams:any) => {
|
|
196
|
+
// try {
|
|
197
|
+
// eventGroupList?.[0].eventList.forEach((o) => {
|
|
198
|
+
// if (o.name || o.alias == params.name) {
|
|
199
|
+
// const haveFilter = o.attrList.filter((m: any) =>
|
|
200
|
+
// params.attrs!.filters?.includes(m!.key),
|
|
201
|
+
// );
|
|
202
|
+
// const pageId = o.attrList.filter((m) => m?.key == params.attrs.page);
|
|
203
|
+
// resultParams.current = {
|
|
204
|
+
// data: {
|
|
205
|
+
// chartType: 'line',
|
|
206
|
+
// module: 'insight',
|
|
207
|
+
// userGroup: [0],
|
|
208
|
+
// targets: [
|
|
209
|
+
// {
|
|
210
|
+
// alias: o.name,
|
|
211
|
+
// filters: haveFilter,
|
|
212
|
+
// analysisDimension: { analysisIndex: 'number' },
|
|
213
|
+
// eventGroupId: 0,
|
|
214
|
+
// eventId: o.id,
|
|
215
|
+
// eventName: o.name,
|
|
216
|
+
// type: 'event',
|
|
217
|
+
// },
|
|
218
|
+
// ],
|
|
219
|
+
// },
|
|
220
|
+
// };
|
|
221
|
+
// console.log(haveFilter, pageId, resultParams, '包含了');
|
|
222
|
+
// throw Error('用来终止循环的');
|
|
223
|
+
// }
|
|
224
|
+
// });
|
|
225
|
+
// } catch (error) {
|
|
226
|
+
// }
|
|
227
|
+
// };
|
|
228
|
+
// {
|
|
229
|
+
// time: '2024-12-18',
|
|
230
|
+
// eventName: '事件名称',
|
|
231
|
+
// userId: '2022-01-12',
|
|
232
|
+
// data:JSON.stringify({
|
|
233
|
+
// base: {
|
|
234
|
+
// appkey: 'appkeynsjnfjs',
|
|
235
|
+
// ip: '127.0.0.1',
|
|
236
|
+
// sdk: 'sdjfioemve',
|
|
237
|
+
// sdkv: '所发生的',
|
|
238
|
+
// did: 'dvdf',
|
|
239
|
+
// },
|
|
240
|
+
// detail: [
|
|
241
|
+
// { cuid: 'iwoei', msg: '自定义事件', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
242
|
+
// { cuid: 'iwoei', msg: '自定义事件1', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
243
|
+
// { cuid: 'iwoei', msg: '自定义事件2', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
244
|
+
// { cuid: 'iwoei', msg: '自定义事件3', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
245
|
+
// { cuid: 'iwoei', msg: '自定义事件4', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
246
|
+
// { cuid: 'iwoei', msg: '自定义事件5', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
247
|
+
// { cuid: 'iwoei', msg: '自定义事件6', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
248
|
+
// { cuid: 'iwoei', msg: '自定义事件7', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
249
|
+
// { cuid: 'iwoei', msg: '自定义事件8', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
250
|
+
// { cuid: 'iwoei', msg: '自定义事件9', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
251
|
+
// { cuid: 'iwoei', msg: '自定义事件10', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
252
|
+
// { cuid: 'iwoei', msg: '自定义事件11', pr: '自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件自定义事件' },
|
|
253
|
+
// ],
|
|
254
|
+
// paramAppId: 2,
|
|
255
|
+
// paramUserId: 4,
|
|
256
|
+
// },
|
|
257
|
+
// )}
|