@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.
Files changed (115) hide show
  1. package/es/components/demo.js +1 -1
  2. package/es/constants/api.d.ts +37 -0
  3. package/es/constants/api.js +62 -1
  4. package/es/index.d.ts +3 -1
  5. package/es/index.js +3 -1
  6. package/es/modules/CutsModal.d.ts +66 -0
  7. package/es/modules/CutsModal.js +52 -0
  8. package/es/modules/dataManage/collectionAttributeList.d.ts +3 -0
  9. package/es/modules/dataManage/collectionAttributeList.js +524 -80
  10. package/es/modules/dataManage/collectionEventList.d.ts +6 -0
  11. package/es/modules/dataManage/collectionEventList.js +482 -62
  12. package/es/modules/dataManage/components/createAttrDrawer.d.ts +4 -0
  13. package/es/modules/dataManage/components/createAttrDrawer.js +264 -0
  14. package/es/modules/dataManage/components/createMetaDrawer.d.ts +4 -0
  15. package/es/modules/dataManage/components/createMetaDrawer.js +618 -0
  16. package/es/modules/dataManage/components/createVirtualDrawer.js +19 -19
  17. package/es/modules/dataManage/components/creditPop/imgs/link.png +0 -0
  18. package/es/modules/dataManage/components/creditPop/imgs/png01.png +0 -0
  19. package/es/modules/dataManage/components/creditPop/imgs/png02.png +0 -0
  20. package/es/modules/dataManage/components/creditPop/imgs/png03.png +0 -0
  21. package/es/modules/dataManage/components/creditPop/imgs/png04.png +0 -0
  22. package/es/modules/dataManage/components/creditPop/index.d.ts +6 -0
  23. package/es/modules/dataManage/components/creditPop/index.js +89 -0
  24. package/es/modules/dataManage/components/creditPop/index.less +121 -0
  25. package/es/modules/dataManage/components/deleteConfirm.d.ts +9 -0
  26. package/es/modules/dataManage/components/deleteConfirm.js +36 -0
  27. package/es/modules/dataManage/components/deleteUserAttrConfirm.d.ts +9 -0
  28. package/es/modules/dataManage/components/deleteUserAttrConfirm.js +57 -0
  29. package/es/modules/dataManage/components/depositPop/imgs/link.png +0 -0
  30. package/es/modules/dataManage/components/depositPop/imgs/png01.png +0 -0
  31. package/es/modules/dataManage/components/depositPop/imgs/png02.png +0 -0
  32. package/es/modules/dataManage/components/depositPop/index.d.ts +6 -0
  33. package/es/modules/dataManage/components/depositPop/index.js +89 -0
  34. package/es/modules/dataManage/components/depositPop/index.less +115 -0
  35. package/es/modules/dataManage/components/developModal/index.css +36 -0
  36. package/es/modules/dataManage/components/developModal/index.d.ts +6 -0
  37. package/es/modules/dataManage/components/developModal/index.js +224 -0
  38. package/es/modules/dataManage/components/developModal/index.less +36 -0
  39. package/es/modules/dataManage/components/editTxt/index.d.ts +3 -0
  40. package/es/modules/dataManage/components/editTxt/index.js +123 -0
  41. package/es/modules/dataManage/components/editTxt/index.less +44 -0
  42. package/es/modules/dataManage/components/editTxt/types.d.ts +48 -0
  43. package/es/modules/dataManage/components/editTxt/types.js +1 -0
  44. package/es/modules/dataManage/components/eventFilter/index.js +13 -13
  45. package/es/modules/dataManage/components/eventFilter/styles/index.less +72 -72
  46. package/es/modules/dataManage/components/eventGroupingDrawer.js +41 -44
  47. package/es/modules/dataManage/components/importAttrDialog/demo/index.d.ts +3 -0
  48. package/es/modules/dataManage/components/importAttrDialog/demo/index.js +28 -0
  49. package/es/modules/dataManage/components/importAttrDialog/index.d.ts +7 -0
  50. package/es/modules/dataManage/components/importAttrDialog/index.js +159 -0
  51. package/es/modules/dataManage/components/importAttrDialog/styles/index.less +90 -0
  52. package/es/modules/dataManage/components/importMetaDialog/demo/index.d.ts +3 -0
  53. package/es/modules/dataManage/components/importMetaDialog/demo/index.js +28 -0
  54. package/es/modules/dataManage/components/importMetaDialog/index.d.ts +7 -0
  55. package/es/modules/dataManage/components/importMetaDialog/index.js +159 -0
  56. package/es/modules/dataManage/components/importMetaDialog/styles/index.less +91 -0
  57. package/es/modules/dataManage/components/selectAttributes.js +10 -10
  58. package/es/modules/dataManage/components/tablePlus.d.ts +4 -0
  59. package/es/modules/dataManage/components/tablePlus.js +625 -94
  60. package/es/modules/dataManage/components/virtualTablePlus.js +7 -7
  61. package/es/modules/dataManage/demo/index.d.ts +2 -1
  62. package/es/modules/dataManage/demo/index.js +79 -16
  63. package/es/modules/dataManage/detailedData/DetailedDataForm.d.ts +5 -0
  64. package/es/modules/dataManage/detailedData/DetailedDataForm.js +216 -0
  65. package/es/modules/dataManage/detailedData/index.d.ts +24 -0
  66. package/es/modules/dataManage/detailedData/index.js +403 -0
  67. package/es/modules/dataManage/detailedData/useColumns.d.ts +34 -0
  68. package/es/modules/dataManage/detailedData/useColumns.js +135 -0
  69. package/es/modules/dataManage/index.d.ts +9 -4
  70. package/es/modules/dataManage/index.js +142 -50
  71. package/es/modules/dataManage/styles/detailed.less +74 -0
  72. package/es/modules/dataManage/styles/index.less +1195 -841
  73. package/es/modules/dataManage/types.d.ts +8 -0
  74. package/es/modules/dataManage/virtualEventList.js +13 -13
  75. package/es/modules/dataMap/component/data.d.ts +7 -0
  76. package/es/modules/dataMap/component/data.js +257 -0
  77. package/es/modules/dataMap/component/drawerAdd.d.ts +6 -0
  78. package/es/modules/dataMap/component/drawerAdd.js +379 -0
  79. package/es/modules/dataMap/component/leftTree.d.ts +6 -0
  80. package/es/modules/dataMap/component/leftTree.js +232 -0
  81. package/es/modules/dataMap/component/rightDetail.d.ts +7 -0
  82. package/es/modules/dataMap/component/rightDetail.js +694 -0
  83. package/es/modules/dataMap/component/selectAttr.d.ts +7 -0
  84. package/es/modules/dataMap/component/selectAttr.js +92 -0
  85. package/es/modules/dataMap/css/index.css +163 -0
  86. package/es/modules/dataMap/css/index.less +177 -0
  87. package/es/modules/dataMap/demo/index.d.ts +3 -0
  88. package/es/modules/dataMap/demo/index.js +6 -0
  89. package/es/modules/dataMap/img/empty-data.png +0 -0
  90. package/es/modules/dataMap/index.d.ts +3 -0
  91. package/es/modules/dataMap/index.js +80 -0
  92. package/es/modules/dataMap/mapDetail.d.ts +3 -0
  93. package/es/modules/dataMap/mapDetail.js +44 -0
  94. package/es/modules/dataMap/mapSetting.d.ts +6 -0
  95. package/es/modules/dataMap/mapSetting.js +156 -0
  96. package/es/modules/dataPlan/addEventOrUser.js +31 -30
  97. package/es/modules/dataPlan/addPlan.js +29 -27
  98. package/es/modules/dataPlan/eventList.js +2 -2
  99. package/es/modules/dataPlan/index.js +10 -10
  100. package/es/modules/dataPlan/search.js +6 -5
  101. package/es/modules/dataPlan/styles/index.less +316 -316
  102. package/es/modules/dataPlan/tablePlus.js +3 -3
  103. package/es/modules/dataPlan/userAttributeList.js +5 -5
  104. package/es/modules/dataReal/css/index.css +48 -0
  105. package/es/modules/dataReal/css/index.less +51 -0
  106. package/es/modules/dataReal/demo/index.d.ts +3 -0
  107. package/es/modules/dataReal/demo/index.js +6 -0
  108. package/es/modules/dataReal/index1.d.ts +28 -0
  109. package/es/modules/dataReal/index1.js +247 -0
  110. package/es/modules/dataReal/table.d.ts +5 -0
  111. package/es/modules/dataReal/table.js +260 -0
  112. package/es/store/index.js +11 -11
  113. package/es/utils/index.d.ts +1 -0
  114. package/es/utils/index.js +9 -1
  115. package/package.json +64 -58
@@ -0,0 +1,694 @@
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 _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
3
+ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
4
+ function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
5
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
6
+ 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."); }
7
+ 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; } }
8
+ 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; }
9
+ 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; } }
10
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
11
+ import { Card, Form, Input, Upload, message, Table, Button, Space, Empty, Spin } from 'antd';
12
+ import { LoadingOutlined, PlusOutlined, ProjectTwoTone, FundTwoTone, ControlTwoTone, SlidersTwoTone } from '@ant-design/icons';
13
+ import React, { useState, useContext, useEffect } from 'react';
14
+ import { IconFont, BizGlobalDataContext, ajax } from '@zgfe/business-lib';
15
+ import apis from '../../../constants/api';
16
+ import request from '../../../utils/ajax';
17
+ import { guid } from '../../../utils/index';
18
+ import moment from 'moment';
19
+ import { getImgUrl } from '../../CutsModal';
20
+ var TextArea = Input.TextArea;
21
+ var pageName = 'dataMapDetail';
22
+ var getBase64 = function getBase64(img, callback) {
23
+ var reader = new FileReader();
24
+ reader.addEventListener('load', function () {
25
+ return callback(reader.result);
26
+ });
27
+ reader.readAsDataURL(img);
28
+ };
29
+ var RightDetail = function RightDetail(props) {
30
+ var _useContext = useContext(BizGlobalDataContext),
31
+ router = _useContext.router,
32
+ routes = _useContext.routes,
33
+ currentApp = _useContext.currentApp,
34
+ eventNameMap = _useContext.eventNameMap,
35
+ eventGroupList = _useContext.eventGroupList;
36
+ var currentTreeData = props.currentTreeData,
37
+ currentMap = props.currentMap;
38
+ var _useState = useState(false),
39
+ _useState2 = _slicedToArray(_useState, 2),
40
+ loading = _useState2[0],
41
+ setLoading = _useState2[1];
42
+ var _useState3 = useState([]),
43
+ _useState4 = _slicedToArray(_useState3, 2),
44
+ imageUrl = _useState4[0],
45
+ setImageUrl = _useState4[1]; // 页面显示的url
46
+ var _useState5 = useState(),
47
+ _useState6 = _slicedToArray(_useState5, 2),
48
+ imagePath = _useState6[0],
49
+ setImagePath = _useState6[1]; // 后端的图片地址
50
+ var _useState7 = useState(false),
51
+ _useState8 = _slicedToArray(_useState7, 2),
52
+ loadingDetail = _useState8[0],
53
+ setLoadingDetail = _useState8[1];
54
+ var _useState9 = useState(),
55
+ _useState10 = _slicedToArray(_useState9, 2),
56
+ currentTreeDetail = _useState10[0],
57
+ setCurrentTreeDetail = _useState10[1];
58
+ // 点击事件分析的事件和属性
59
+ var buttonAnalyze = {
60
+ name: '$WebClick',
61
+ attrs: {
62
+ page: 'event_attr',
63
+ filters: ['current_version', 'app_name', 'func_module', 'func_module_id', 'func_module_ver', 'page_name']
64
+ }
65
+ };
66
+ // 页面浏览详情分析
67
+ var pageAnalyze = {
68
+ name: '$pageview',
69
+ attrs: {
70
+ page: 'page_name',
71
+ filters: ['current_version', 'app_name', 'app_version', 'func_module', 'func_module_id', 'func_module_ver']
72
+ }
73
+ };
74
+ // 页面实验浏览分析
75
+ var pagePractice = {
76
+ name: '$pageview',
77
+ attrs: {
78
+ page: 'page_name',
79
+ filters: ['current_version', 'app_name', 'app_version', 'func_module', 'func_module_id', 'func_module_ver']
80
+ }
81
+ };
82
+ // 页面点击浏览分析
83
+ var pageClick = {
84
+ name: '$AppClick',
85
+ attrs: {
86
+ page: 'button_name',
87
+ filters: ['current_version', 'app_name ', 'current_version', 'func_module', 'func_module_id', 'func_module_ver', 'page_name']
88
+ }
89
+ };
90
+ var _useState11 = useState(false),
91
+ _useState12 = _slicedToArray(_useState11, 2),
92
+ isEdit = _useState12[0],
93
+ setIsEdit = _useState12[1];
94
+ var beforeUpload = /*#__PURE__*/function () {
95
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
96
+ var isJpgOrPng, isLt10M;
97
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
98
+ while (1) switch (_context.prev = _context.next) {
99
+ case 0:
100
+ isJpgOrPng = file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/jpg';
101
+ if (!isJpgOrPng) {
102
+ message.error('只能上传png或jpg格式');
103
+ }
104
+ isLt10M = file.size / 1024 / 1024 < 10;
105
+ if (isLt10M) {
106
+ _context.next = 6;
107
+ break;
108
+ }
109
+ message.error('文件不能大于10MB');
110
+ return _context.abrupt("return");
111
+ case 6:
112
+ uploadImg(file);
113
+ case 7:
114
+ case "end":
115
+ return _context.stop();
116
+ }
117
+ }, _callee);
118
+ }));
119
+ return function beforeUpload(_x) {
120
+ return _ref.apply(this, arguments);
121
+ };
122
+ }();
123
+ var handleChange = function handleChange(info) {
124
+ setImageUrl(info.fileList);
125
+ if (info.file.status === 'uploading') {
126
+ setLoading(true);
127
+ return;
128
+ }
129
+ if (info.file.status === 'done') {
130
+ // Get this url from response in real world.
131
+ getBase64(info.file.originFileObj, function (url) {
132
+ setLoading(false);
133
+ });
134
+ }
135
+ };
136
+ var handleRemoveFile = function handleRemoveFile(file) {
137
+ var newArr = imageUrl === null || imageUrl === void 0 ? void 0 : imageUrl.filter(function (o) {
138
+ return o.name != file.name;
139
+ });
140
+ setImageUrl(newArr);
141
+ };
142
+ var uploadImg = function uploadImg(file) {
143
+ var data = new FormData();
144
+ data.append('file', file);
145
+ data.append('uuid', guid());
146
+ data.append('pageId', '-99');
147
+ request(apis.dataMap.uploadImg, {
148
+ method: 'post',
149
+ data: data
150
+ }).then(function (res) {
151
+ if (res.code == '100000') {
152
+ message.success('上传成功');
153
+ setImagePath(res.data);
154
+ } else {
155
+ message.error(res.msg);
156
+ }
157
+ });
158
+ };
159
+ var uploadButton = /*#__PURE__*/React.createElement("div", null, loading ? (/*#__PURE__*/React.createElement(LoadingOutlined, {
160
+ onPointerEnterCapture: undefined,
161
+ onPointerLeaveCapture: undefined
162
+ })) : (/*#__PURE__*/React.createElement(PlusOutlined, {
163
+ onPointerEnterCapture: undefined,
164
+ onPointerLeaveCapture: undefined
165
+ })), /*#__PURE__*/React.createElement("div", {
166
+ style: {
167
+ marginTop: 8
168
+ }
169
+ }, "Upload"));
170
+ var _Form$useForm = Form.useForm(),
171
+ _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
172
+ pageDetailForm = _Form$useForm2[0];
173
+ var columns = [{
174
+ title: '页面数据',
175
+ dataIndex: 'name',
176
+ key: 'name'
177
+ }, {
178
+ title: '昨日',
179
+ dataIndex: 'yesterday',
180
+ key: 'yesterday'
181
+ }, {
182
+ title: '近七日',
183
+ dataIndex: 'nearlyDays',
184
+ key: 'nearlyDays'
185
+ }, {
186
+ title: '近30日',
187
+ dataIndex: 'nearlyDays1',
188
+ key: 'nearlyDays1'
189
+ }];
190
+ var _useState13 = useState([]),
191
+ _useState14 = _slicedToArray(_useState13, 2),
192
+ data = _useState14[0],
193
+ setData = _useState14[1];
194
+ function getShortKey(param) {
195
+ return new Promise(function (resolve, reject) {
196
+ ajax(apis.getShortUrl, {
197
+ method: 'POST',
198
+ data: {
199
+ param: param
200
+ }
201
+ }).then(function (res) {
202
+ if (!res) return;
203
+ resolve(res.data);
204
+ }).catch(function (err) {
205
+ reject(err);
206
+ });
207
+ });
208
+ }
209
+ useEffect(function () {
210
+ if (currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.pageAttrName) {
211
+ setLoadingDetail(true);
212
+ ajax(apis.dataMap.getMapDetail, {
213
+ method: 'get',
214
+ params: {
215
+ mapId: currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.mapId,
216
+ pageName: currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.pageAttrName
217
+ }
218
+ }).then(function (res) {
219
+ var _res$data, _res$data2, _res$data3, _res$data4, _res$data5;
220
+ setLoadingDetail(false);
221
+ if (!res) return;
222
+ setCurrentTreeDetail(res === null || res === void 0 ? void 0 : res.data);
223
+ pageDetailForm.setFieldsValue({
224
+ pageName: currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.pageAttrName,
225
+ remarkName: currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.remarkAttrName,
226
+ description: (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.pageDescribe) || ''
227
+ });
228
+ setImagePath(res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.pagePath);
229
+ setImageUrl([{
230
+ status: 'done',
231
+ name: '',
232
+ url: (res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.pageUrl) && getImgUrl(res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.pageUrl, '-99'),
233
+ uid: res === null || res === void 0 ? void 0 : (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.pagePath
234
+ }]);
235
+ });
236
+ }
237
+ }, [currentTreeData]);
238
+ var handleMapDetail = /*#__PURE__*/function () {
239
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
240
+ var values;
241
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
242
+ while (1) switch (_context2.prev = _context2.next) {
243
+ case 0:
244
+ _context2.next = 2;
245
+ return pageDetailForm.validateFields();
246
+ case 2:
247
+ values = _context2.sent;
248
+ ajax(apis.dataMap.saveMapDetail, {
249
+ method: 'post',
250
+ data: {
251
+ mapId: currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.mapId,
252
+ pageName: currentTreeData.pageAttrName,
253
+ pagePath: imagePath,
254
+ pageDescribe: values.description
255
+ }
256
+ }).then(function (res) {
257
+ if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
258
+ message.success('保存成功!');
259
+ setIsEdit(false);
260
+ // pageDetailForm.setFieldsValue({
261
+ // pageDescribe: values.description,
262
+ // });
263
+ } else {
264
+ message.error('保存失败,请联系管理员');
265
+ }
266
+ });
267
+ case 4:
268
+ case "end":
269
+ return _context2.stop();
270
+ }
271
+ }, _callee2);
272
+ }));
273
+ return function handleMapDetail() {
274
+ return _ref2.apply(this, arguments);
275
+ };
276
+ }();
277
+ var handleButtonPage = /*#__PURE__*/function () {
278
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(flag) {
279
+ var currentObj, flagEventName;
280
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
281
+ while (1) switch (_context3.prev = _context3.next) {
282
+ case 0:
283
+ // 'buttonAnalyzeParams' // 按钮点击事件
284
+ // 'pageAnalyzeParams' // 页面浏览详情事件
285
+ // 'pagePracticeParams' // 页面实践浏览分析
286
+ // "pageClickParams" // 页面点击实验分析
287
+ currentObj = null;
288
+ flagEventName = '';
289
+ if (!(flag == 'buttonAnalyzeParams')) {
290
+ _context3.next = 7;
291
+ break;
292
+ }
293
+ _context3.next = 5;
294
+ return getPageView(buttonAnalyze);
295
+ case 5:
296
+ currentObj = _context3.sent;
297
+ flagEventName = buttonAnalyze.name;
298
+ case 7:
299
+ if (!(flag == 'pageAnalyzeParams')) {
300
+ _context3.next = 12;
301
+ break;
302
+ }
303
+ _context3.next = 10;
304
+ return getPageView(pageAnalyze);
305
+ case 10:
306
+ currentObj = _context3.sent;
307
+ flagEventName = pageAnalyze.name;
308
+ case 12:
309
+ if (!(flag == 'pagePracticeParams')) {
310
+ _context3.next = 17;
311
+ break;
312
+ }
313
+ _context3.next = 15;
314
+ return getPageView(pagePractice);
315
+ case 15:
316
+ currentObj = _context3.sent;
317
+ flagEventName = pagePractice.name;
318
+ case 17:
319
+ if (!(flag == 'pageClickParams')) {
320
+ _context3.next = 22;
321
+ break;
322
+ }
323
+ _context3.next = 20;
324
+ return getPageView(pageClick);
325
+ case 20:
326
+ currentObj = _context3.sent;
327
+ flagEventName = pageClick.name;
328
+ case 22:
329
+ if (currentObj) {
330
+ _context3.next = 25;
331
+ break;
332
+ }
333
+ message.warning("\u5F53\u524D\u6CA1\u6709\u8FD9\u4E2A\u4E8B\u4EF6----".concat(flagEventName));
334
+ return _context3.abrupt("return");
335
+ case 25:
336
+ getShortKey(JSON.stringify(currentObj)).then(function (key) {
337
+ router === null || router === void 0 ? void 0 : router.push({
338
+ name: routes.insight,
339
+ query: {
340
+ query: key
341
+ }
342
+ });
343
+ });
344
+ case 26:
345
+ case "end":
346
+ return _context3.stop();
347
+ }
348
+ }, _callee3);
349
+ }));
350
+ return function handleButtonPage(_x2) {
351
+ return _ref3.apply(this, arguments);
352
+ };
353
+ }();
354
+ // 页面访问量
355
+ var _useState15 = useState(false),
356
+ _useState16 = _slicedToArray(_useState15, 2),
357
+ interviewLoading = _useState16[0],
358
+ setInterviewLoading = _useState16[1];
359
+ useEffect(function () {
360
+ (currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.pageAttrName) && xunapi();
361
+ }, [currentTreeData]);
362
+ var xunapi = /*#__PURE__*/function () {
363
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
364
+ var haveEventName, haveModuleAttr, havePageAttr, objConditions, b1, b7, b30;
365
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
366
+ while (1) switch (_context4.prev = _context4.next) {
367
+ case 0:
368
+ // console.log(currentTreeData, currentMap, eventGroupList, 'currentTreeData');
369
+ haveEventName = eventNameMap === null || eventNameMap === void 0 ? void 0 : eventNameMap[currentTreeData.eventName]; // 查找事件
370
+ haveModuleAttr = haveEventName === null || haveEventName === void 0 ? void 0 : haveEventName.attrList.find(function (o) {
371
+ return o.label == (currentMap === null || currentMap === void 0 ? void 0 : currentMap.moduleAttrName);
372
+ }); // 事件模块的属性
373
+ if (haveModuleAttr) {
374
+ haveModuleAttr['values'] = [currentTreeData.moduleAttrName];
375
+ }
376
+ havePageAttr = haveEventName === null || haveEventName === void 0 ? void 0 : haveEventName.attrList.find(function (o) {
377
+ return o.label == (currentMap === null || currentMap === void 0 ? void 0 : currentMap.pageAttrName);
378
+ }); // 事件页面的属性
379
+ if (havePageAttr) {
380
+ havePageAttr['values'] = [currentTreeData.pageAttrName];
381
+ }
382
+ if (haveModuleAttr) {
383
+ _context4.next = 8;
384
+ break;
385
+ }
386
+ message.warning("".concat(currentMap === null || currentMap === void 0 ? void 0 : currentMap.moduleAttrName, "\u4E0B\u7684").concat(currentMap === null || currentMap === void 0 ? void 0 : currentMap.pageAttrName, "\u6CA1\u6709"));
387
+ return _context4.abrupt("return");
388
+ case 8:
389
+ objConditions = [{
390
+ attrId: haveModuleAttr === null || haveModuleAttr === void 0 ? void 0 : haveModuleAttr.id,
391
+ propCategory: 'eventProp',
392
+ type: 1,
393
+ operator: 'equal',
394
+ values: haveModuleAttr.values,
395
+ dimensionSub: 'event_attr',
396
+ label: haveModuleAttr === null || haveModuleAttr === void 0 ? void 0 : haveModuleAttr.label,
397
+ attrName: haveModuleAttr === null || haveModuleAttr === void 0 ? void 0 : haveModuleAttr.label
398
+ }, {
399
+ attrId: havePageAttr === null || havePageAttr === void 0 ? void 0 : havePageAttr.id,
400
+ propCategory: 'eventProp',
401
+ type: 1,
402
+ operator: 'equal',
403
+ values: havePageAttr.values,
404
+ dimensionSub: 'event_attr',
405
+ label: havePageAttr === null || havePageAttr === void 0 ? void 0 : havePageAttr.label,
406
+ attrName: havePageAttr === null || havePageAttr === void 0 ? void 0 : havePageAttr.label
407
+ }]; // console.log(objConditions, 'kkk');
408
+ setInterviewLoading(true);
409
+ _context4.next = 12;
410
+ return dayValues(objConditions, moment().subtract(1, 'days').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'), [1, 0]);
411
+ case 12:
412
+ b1 = _context4.sent;
413
+ _context4.next = 15;
414
+ return dayValues(objConditions, moment().subtract(7, 'days').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'), [7, 0]);
415
+ case 15:
416
+ b7 = _context4.sent;
417
+ _context4.next = 18;
418
+ return dayValues(objConditions, moment().subtract(30, 'days').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'), [30, 0]);
419
+ case 18:
420
+ b30 = _context4.sent;
421
+ setInterviewLoading(false);
422
+ setData([{
423
+ key: '1',
424
+ name: '页面访问量',
425
+ yesterday: b1,
426
+ nearlyDays: b7,
427
+ nearlyDays1: b30
428
+ }]);
429
+ case 21:
430
+ case "end":
431
+ return _context4.stop();
432
+ }
433
+ }, _callee4);
434
+ }));
435
+ return function xunapi() {
436
+ return _ref4.apply(this, arguments);
437
+ };
438
+ }();
439
+ var dayValues = function dayValues(objConditions, begin, end, relative) {
440
+ return new Promise(function (resolve, reject) {
441
+ return ajax(apis.dataMap.interviewList, {
442
+ method: 'post',
443
+ data: {
444
+ appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
445
+ chartType: 'bar',
446
+ platform: 0,
447
+ refresh: false,
448
+ targets: [{
449
+ alias: (currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.eventAlias) || (currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.eventName),
450
+ analysisDimension: {
451
+ analysisIndex: 'number'
452
+ },
453
+ eventGroupId: 0,
454
+ filters: {
455
+ relation: 'and',
456
+ conditions: objConditions
457
+ },
458
+ eventId: currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.eventId,
459
+ eventName: currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.eventName,
460
+ type: 'event'
461
+ }],
462
+ time: {
463
+ begin: begin,
464
+ end: end,
465
+ relative: relative,
466
+ unit: 'day'
467
+ },
468
+ userGroup: [0]
469
+ }
470
+ }).then(function (res) {
471
+ var _res$data6, _res$data6$series, _res$data6$series$, _res$data6$series$$va;
472
+ resolve((res === null || res === void 0 ? void 0 : (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : (_res$data6$series = _res$data6.series) === null || _res$data6$series === void 0 ? void 0 : (_res$data6$series$ = _res$data6$series[0]) === null || _res$data6$series$ === void 0 ? void 0 : (_res$data6$series$$va = _res$data6$series$.values) === null || _res$data6$series$$va === void 0 ? void 0 : _res$data6$series$$va[0]) || 0);
473
+ });
474
+ });
475
+ };
476
+ var getPageView = function getPageView(params) {
477
+ return new Promise(function (resolve, reject) {
478
+ // console.log(eventNameMap);
479
+ var haveEventName = eventNameMap === null || eventNameMap === void 0 ? void 0 : eventNameMap[params.name];
480
+ if (haveEventName) {
481
+ var haveFilter = haveEventName.attrList.filter(function (m) {
482
+ var _params$attrs$filters;
483
+ return (_params$attrs$filters = params.attrs.filters) === null || _params$attrs$filters === void 0 ? void 0 : _params$attrs$filters.includes(m.label);
484
+ });
485
+ var pinParams = [];
486
+ haveFilter.forEach(function (o) {
487
+ pinParams.push({
488
+ propCategory: 'eventProp',
489
+ type: 1,
490
+ attrId: o.id,
491
+ attrName: o.label
492
+ });
493
+ });
494
+ // console.log(pinParams, 'pinParams');
495
+ var pageId = haveEventName.attrList.filter(function (m) {
496
+ return (m === null || m === void 0 ? void 0 : m.key) == params.attrs.page;
497
+ });
498
+ var resultParams = {
499
+ data: {
500
+ chartType: 'line',
501
+ module: 'insight',
502
+ userGroup: [0],
503
+ globalDimensions: pinParams,
504
+ targets: [{
505
+ alias: haveEventName.name,
506
+ filters: (currentMap === null || currentMap === void 0 ? void 0 : currentMap.filterJson) && JSON.parse(currentMap === null || currentMap === void 0 ? void 0 : currentMap.filterJson),
507
+ analysisDimension: {
508
+ analysisIndex: 'number'
509
+ },
510
+ eventGroupId: 0,
511
+ eventId: haveEventName.id,
512
+ eventName: haveEventName.name,
513
+ type: 'event'
514
+ }]
515
+ }
516
+ };
517
+ resolve(resultParams);
518
+ throw Error('用来终止循环的');
519
+ } else {
520
+ resolve(false);
521
+ }
522
+ });
523
+ };
524
+ return /*#__PURE__*/React.createElement(React.Fragment, null, loadingDetail ? (/*#__PURE__*/React.createElement(Spin, {
525
+ tip: "\u52A0\u8F7D\u4E2D"
526
+ })) : (currentTreeData === null || currentTreeData === void 0 ? void 0 : currentTreeData.pageAttrName) ? (/*#__PURE__*/React.createElement(Card, {
527
+ title: /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(IconFont, {
528
+ type: "guanli",
529
+ style: {
530
+ color: '#021429'
531
+ }
532
+ }), " \u9875\u9762\u7BA1\u7406"),
533
+ bordered: false,
534
+ extra: isEdit ? (/*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
535
+ onClick: function onClick() {
536
+ (currentTreeDetail === null || currentTreeDetail === void 0 ? void 0 : currentTreeDetail.pageUrl) && setImageUrl([{
537
+ status: 'done',
538
+ // name: currentTreeDetail?.pageUrl,
539
+ name: '',
540
+ url: (currentTreeDetail === null || currentTreeDetail === void 0 ? void 0 : currentTreeDetail.pageUrl) && getImgUrl(currentTreeDetail === null || currentTreeDetail === void 0 ? void 0 : currentTreeDetail.pageUrl, '-99'),
541
+ uid: currentTreeDetail === null || currentTreeDetail === void 0 ? void 0 : currentTreeDetail.pagePath
542
+ }]);
543
+ setIsEdit(false);
544
+ }
545
+ }, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
546
+ type: "primary",
547
+ onClick: handleMapDetail
548
+ }, "\u4FDD\u5B58"))) : (/*#__PURE__*/React.createElement(Button, {
549
+ type: "primary",
550
+ icon: /*#__PURE__*/React.createElement(IconFont, {
551
+ type: "bianji-tianchong",
552
+ style: {
553
+ marginRight: '5px'
554
+ }
555
+ }),
556
+ ghost: true,
557
+ onClick: function onClick() {
558
+ return setIsEdit(true);
559
+ }
560
+ }, "\u7F16\u8F91"))
561
+ }, /*#__PURE__*/React.createElement(Form, {
562
+ name: "basic",
563
+ form: pageDetailForm,
564
+ labelCol: {
565
+ span: 4
566
+ },
567
+ wrapperCol: {
568
+ span: 20
569
+ },
570
+ disabled: !isEdit
571
+ }, /*#__PURE__*/React.createElement(Form.Item, {
572
+ label: "\u9875\u9762\u540D\u79F0",
573
+ name: "pageName",
574
+ rules: [{
575
+ required: true,
576
+ message: '请输入页面名称'
577
+ }]
578
+ }, /*#__PURE__*/React.createElement(Input, {
579
+ disabled: true,
580
+ showCount: true,
581
+ maxLength: 20
582
+ })), /*#__PURE__*/React.createElement(Form.Item, {
583
+ label: "\u5907\u6CE8\u540D\u79F0",
584
+ name: "remarkName",
585
+ rules: [{
586
+ required: true,
587
+ message: '请输入备注名称'
588
+ }]
589
+ }, /*#__PURE__*/React.createElement(Input, {
590
+ disabled: true
591
+ })), /*#__PURE__*/React.createElement(Form.Item, {
592
+ label: "\u9875\u9762\u5C55\u793A"
593
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Upload, {
594
+ listType: "picture-card",
595
+ showUploadList: true,
596
+ maxCount: 1,
597
+ fileList: imageUrl,
598
+ beforeUpload: beforeUpload,
599
+ onChange: handleChange,
600
+ onRemove: handleRemoveFile
601
+ }, imageUrl.length == 0 && uploadButton), /*#__PURE__*/React.createElement("div", {
602
+ className: "info-upload-tip"
603
+ }, "jpg\u3001jpeg\u3001png\u683C\u5F0F\uFF0C10M\u4EE5\u5185"))), /*#__PURE__*/React.createElement(Form.Item, {
604
+ label: "\u9875\u9762\u63CF\u8FF0",
605
+ name: "description",
606
+ rules: [{
607
+ required: true,
608
+ message: '请输入页面描述'
609
+ }]
610
+ }, /*#__PURE__*/React.createElement(TextArea, {
611
+ showCount: true,
612
+ maxLength: 100
613
+ })), /*#__PURE__*/React.createElement(Form.Item, {
614
+ label: "\u9875\u9762\u5206\u6790"
615
+ }, /*#__PURE__*/React.createElement(Table, {
616
+ columns: columns,
617
+ loading: interviewLoading,
618
+ dataSource: data,
619
+ pagination: false
620
+ }), /*#__PURE__*/React.createElement("div", {
621
+ className: "".concat(pageName, "_echartDiv")
622
+ }, /*#__PURE__*/React.createElement("div", {
623
+ className: "".concat(pageName, "_echartDiv_item")
624
+ }, /*#__PURE__*/React.createElement("div", {
625
+ className: "".concat(pageName, "_echartDiv_left")
626
+ }, /*#__PURE__*/React.createElement(SlidersTwoTone, {
627
+ style: {
628
+ fontSize: '20px'
629
+ },
630
+ onPointerEnterCapture: undefined,
631
+ onPointerLeaveCapture: undefined
632
+ }), /*#__PURE__*/React.createElement("div", {
633
+ className: "".concat(pageName, "_echartDiv_leftText")
634
+ }, "\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6\u5206\u6790")), /*#__PURE__*/React.createElement("a", {
635
+ className: "".concat(pageName, "_echartDiv_view"),
636
+ onClick: function onClick() {
637
+ return handleButtonPage('buttonAnalyzeParams');
638
+ }
639
+ }, "\u67E5\u770B")), /*#__PURE__*/React.createElement("div", {
640
+ className: "".concat(pageName, "_echartDiv_item")
641
+ }, /*#__PURE__*/React.createElement("div", {
642
+ className: "".concat(pageName, "_echartDiv_left")
643
+ }, /*#__PURE__*/React.createElement(ControlTwoTone, {
644
+ style: {
645
+ fontSize: '20px'
646
+ },
647
+ onPointerEnterCapture: undefined,
648
+ onPointerLeaveCapture: undefined
649
+ }), /*#__PURE__*/React.createElement("div", {
650
+ className: "".concat(pageName, "_echartDiv_leftText")
651
+ }, "\u9875\u9762\u6D4F\u89C8\u8BE6\u60C5\u5206\u6790")), /*#__PURE__*/React.createElement("a", {
652
+ className: "".concat(pageName, "_echartDiv_view"),
653
+ onClick: function onClick() {
654
+ return handleButtonPage('pageAnalyzeParams');
655
+ }
656
+ }, "\u67E5\u770B")), /*#__PURE__*/React.createElement("div", {
657
+ className: "".concat(pageName, "_echartDiv_item")
658
+ }, /*#__PURE__*/React.createElement("div", {
659
+ className: "".concat(pageName, "_echartDiv_left")
660
+ }, /*#__PURE__*/React.createElement(FundTwoTone, {
661
+ style: {
662
+ fontSize: '20px'
663
+ },
664
+ onPointerEnterCapture: undefined,
665
+ onPointerLeaveCapture: undefined
666
+ }), /*#__PURE__*/React.createElement("div", {
667
+ className: "".concat(pageName, "_echartDiv_leftText")
668
+ }, "\u9875\u9762\u5B9E\u8DF5\u6D4F\u89C8\u5206\u6790")), /*#__PURE__*/React.createElement("a", {
669
+ className: "".concat(pageName, "_echartDiv_view"),
670
+ onClick: function onClick() {
671
+ return handleButtonPage('pagePracticeParams');
672
+ }
673
+ }, "\u67E5\u770B")), /*#__PURE__*/React.createElement("div", {
674
+ className: "".concat(pageName, "_echartDiv_item")
675
+ }, /*#__PURE__*/React.createElement("div", {
676
+ className: "".concat(pageName, "_echartDiv_left")
677
+ }, /*#__PURE__*/React.createElement(ProjectTwoTone, {
678
+ style: {
679
+ fontSize: '20px'
680
+ },
681
+ onPointerEnterCapture: undefined,
682
+ onPointerLeaveCapture: undefined
683
+ }), /*#__PURE__*/React.createElement("div", {
684
+ className: "".concat(pageName, "_echartDiv_leftText")
685
+ }, "\u9875\u9762\u70B9\u51FB\u5B9E\u9A8C\u5206\u6790")), /*#__PURE__*/React.createElement("a", {
686
+ className: "".concat(pageName, "_echartDiv_view"),
687
+ onClick: function onClick() {
688
+ return handleButtonPage('pageClickParams');
689
+ }
690
+ }, "\u67E5\u770B"))))))) : (/*#__PURE__*/React.createElement(Empty, {
691
+ image: Empty.PRESENTED_IMAGE_SIMPLE
692
+ })));
693
+ };
694
+ export default RightDetail;