@zgfe/modules-settings 2.0.0-zhongyuan.35 → 2.0.0-zhongyuan.36

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.
@@ -211,7 +211,7 @@ var apis = {
211
211
  // 查询应用埋点控制开关
212
212
  getAppAutoEvent: '/zg/web/v2/approve/getAppAutoEvent',
213
213
  //埋点日志
214
- getEventLog: '/zg/web/v2/approve/getEventLog',
214
+ getEventLog: '/zg/web/v2/approve/point/event/log',
215
215
  // 事件新增
216
216
  addEvent: '/zg/web/v2/event/addEvent',
217
217
  // menuCode
@@ -1,5 +1,5 @@
1
1
  import { ColumnsType } from 'antd/es/table/interface';
2
- declare const columnsEvent: (gotoPage?: Function, isControl?: boolean) => ColumnsType<{
2
+ declare const columnsEvent: (gotoPage?: Function, isControl?: boolean, getPointMap?: Function) => ColumnsType<{
3
3
  pageId: number;
4
4
  }>;
5
5
  declare const demandTabList: ({
@@ -8,7 +8,7 @@ import { IconFont } from '@zgfe/business-lib';
8
8
  import { Image } from 'antd';
9
9
  import React from 'react';
10
10
  var classPrefix = 'system-setting-create-demand';
11
- var columnsEvent = function columnsEvent(gotoPage, isControl) {
11
+ var columnsEvent = function columnsEvent(gotoPage, isControl, getPointMap) {
12
12
  return [{
13
13
  title: '页面名称',
14
14
  dataIndex: 'pageName',
@@ -51,10 +51,10 @@ var columnsEvent = function columnsEvent(gotoPage, isControl) {
51
51
  dataIndex: 'eventName',
52
52
  width: 153,
53
53
  ellipsis: true,
54
- render: function render(eventName) {
54
+ render: function render(eventName, data) {
55
55
  return /*#__PURE__*/React.createElement("a", {
56
56
  onClick: function onClick() {
57
- return gotoPage && gotoPage('event', eventName);
57
+ return getPointMap && getPointMap(data);
58
58
  }
59
59
  }, eventName);
60
60
  }
@@ -35,6 +35,7 @@ import BackConfirm from './backConfirm';
35
35
  import constants from '../../utils/constants';
36
36
  import { jsPDF } from 'jspdf';
37
37
  import domtoimage from 'dom-to-image';
38
+ import CreateMetaDrawer from '../pointMap/createMetaDrawer';
38
39
  var getImgUrl = function getImgUrl(src, pageId) {
39
40
  return constants.regExp.url.test(src) ? src : "".concat(window.location.origin, "/web/img/report/").concat(pageId, "/").concat(src);
40
41
  // return constants.regExp.url.test(src)
@@ -111,7 +112,7 @@ var CreateDemand = function CreateDemand(props) {
111
112
  _useState30 = _slicedToArray(_useState29, 2),
112
113
  demandData = _useState30[0],
113
114
  setDemandData = _useState30[1];
114
- var _useState31 = useState(0),
115
+ var _useState31 = useState(2),
115
116
  _useState32 = _slicedToArray(_useState31, 2),
116
117
  demandStatus = _useState32[0],
117
118
  setDemandStatus = _useState32[1];
@@ -176,6 +177,15 @@ var CreateDemand = function CreateDemand(props) {
176
177
  _useState60 = _slicedToArray(_useState59, 2),
177
178
  tabIndex = _useState60[0],
178
179
  setTabIndex = _useState60[1];
180
+ //查看埋点内容
181
+ var _useState61 = useState(false),
182
+ _useState62 = _slicedToArray(_useState61, 2),
183
+ createMetaShow = _useState62[0],
184
+ setCreateMetaShow = _useState62[1];
185
+ var _useState63 = useState({}),
186
+ _useState64 = _slicedToArray(_useState63, 2),
187
+ metaData = _useState64[0],
188
+ setMetaData = _useState64[1];
179
189
  useEffect(function () {
180
190
  if (props.demandId) {
181
191
  getDemand();
@@ -183,10 +193,10 @@ var CreateDemand = function CreateDemand(props) {
183
193
  getNode();
184
194
  }
185
195
  }, [props.demandId]);
186
- var _useState61 = useState(false),
187
- _useState62 = _slicedToArray(_useState61, 2),
188
- isControl = _useState62[0],
189
- setIsControl = _useState62[1];
196
+ var _useState65 = useState(false),
197
+ _useState66 = _slicedToArray(_useState65, 2),
198
+ isControl = _useState66[0],
199
+ setIsControl = _useState66[1];
190
200
  var getAppAutoEvent = function getAppAutoEvent() {
191
201
  request(apis.getAppAutoEvent, {
192
202
  method: 'post',
@@ -350,7 +360,8 @@ var CreateDemand = function CreateDemand(props) {
350
360
  }),
351
361
  pointEventStatus: type != 'flow' ? pointEventInfo === null || pointEventInfo === void 0 ? void 0 : pointEventInfo.map(function (item) {
352
362
  return item.status;
353
- }) : []
363
+ }) : [],
364
+ eventList: pointEventInfo
354
365
  }, data)
355
366
  }).then(function (res) {
356
367
  if ((res === null || res === void 0 ? void 0 : res.code) === '100000') {
@@ -673,7 +684,7 @@ var CreateDemand = function CreateDemand(props) {
673
684
  };
674
685
  // 新的埋点表格列表
675
686
  var newColumns = function newColumns() {
676
- var columns = [].concat(_toConsumableArray(columnsEvent(gotoPage, isControl)), [{
687
+ var columns = [].concat(_toConsumableArray(columnsEvent(gotoPage, isControl, getPointMap)), [{
677
688
  title: '状态',
678
689
  width: 120,
679
690
  dataIndex: 'status',
@@ -887,6 +898,11 @@ var CreateDemand = function CreateDemand(props) {
887
898
  })[0];
888
899
  return data[key];
889
900
  };
901
+ //查看埋点详情
902
+ var getPointMap = function getPointMap(data) {
903
+ setMetaData(data);
904
+ setCreateMetaShow(true);
905
+ };
890
906
  return /*#__PURE__*/React.createElement("div", {
891
907
  className: classPrefix
892
908
  }, /*#__PURE__*/React.createElement("div", {
@@ -1077,18 +1093,20 @@ var CreateDemand = function CreateDemand(props) {
1077
1093
  className: "button",
1078
1094
  onClick: function onClick() {
1079
1095
  props.setIsShowSelectList && props.setIsShowSelectList(function (val) {
1080
- setPointEventInfo(val.map(function (val) {
1096
+ console.log(val, 'sbum');
1097
+ setPointEventInfo([].concat(_toConsumableArray(pointEventInfo || []), _toConsumableArray(val.map(function (val) {
1081
1098
  return _objectSpread(_objectSpread({}, val), {}, {
1082
1099
  status: 0
1083
1100
  });
1084
- }));
1101
+ }))));
1085
1102
  onCreate('save', {
1086
1103
  pointEventIds: val.map(function (res) {
1087
1104
  return res.id;
1088
1105
  }),
1089
1106
  pointEventStatus: val.map(function (res) {
1090
1107
  return 0;
1091
- })
1108
+ }),
1109
+ eventList: val
1092
1110
  });
1093
1111
  }, pointEventInfo);
1094
1112
  }
@@ -1114,7 +1132,8 @@ var CreateDemand = function CreateDemand(props) {
1114
1132
  }),
1115
1133
  pointEventStatus: list.map(function (res) {
1116
1134
  return res.status;
1117
- })
1135
+ }),
1136
+ eventList: list
1118
1137
  });
1119
1138
  }
1120
1139
  }, "\u79FB\u9664")), isRead ? null : (demandStatus == 3 || demandStatus == 4) && (/*#__PURE__*/React.createElement(Button, {
@@ -1350,6 +1369,14 @@ var CreateDemand = function CreateDemand(props) {
1350
1369
  },
1351
1370
  showTime: true,
1352
1371
  disabled: isRead
1353
- })));
1372
+ })), /*#__PURE__*/React.createElement(CreateMetaDrawer, {
1373
+ isShow: createMetaShow,
1374
+ data: metaData,
1375
+ isEdit: false,
1376
+ // selectTreeName={props.selectTreeName}
1377
+ onClose: function onClose() {
1378
+ return setCreateMetaShow(false);
1379
+ }
1380
+ }));
1354
1381
  };
1355
1382
  export default CreateDemand;
@@ -441,33 +441,14 @@ var CreateMeta = function CreateMeta(props) {
441
441
  var changeSwitch = function changeSwitch(event) {
442
442
  setIsCopy(event);
443
443
  if (event) {
444
- onChangeEvent({
445
- alias: '页面滚动',
446
- name: 'scroll',
447
- clickAnalysis: false,
448
- eventHidden: 0,
449
- id: 1000448,
450
- isDelete: 0,
451
- isStop: false,
452
- owner: 'zg_abp',
453
- attrList: [{
454
- alias: '',
455
- id: 1001917,
456
- eventId: 1000488,
457
- label: 'login_id',
458
- type: 1,
459
- encryptionType: 0
460
- }]
461
- });
444
+ onChangeEvent(event);
462
445
  }
463
446
  };
464
447
  var onChangeEvent = function onChangeEvent(event) {
465
- console.log(event, 'event');
466
448
  form.setFieldsValue({
467
449
  aliasName: event.alias,
468
450
  eventName: event.name,
469
- triggeringOccasion: event.triggeringOccasion,
470
- eventId: event.id
451
+ triggeringOccasion: event.triggeringOccasion
471
452
  });
472
453
  setInputText(event.name);
473
454
  if (event.attrList) {
@@ -478,7 +459,6 @@ var CreateMeta = function CreateMeta(props) {
478
459
  });
479
460
  })));
480
461
  }
481
- setIsCopy(false);
482
462
  };
483
463
  // 自定义验证规则
484
464
  var _useState17 = useState(''),
@@ -2,15 +2,15 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
2
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
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
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 _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
6
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
8
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
5
9
  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; }
6
10
  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; }
7
11
  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; }
8
12
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
9
13
  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); }
10
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
11
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
13
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
14
14
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
15
15
  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."); }
16
16
  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; } }
@@ -37,6 +37,7 @@ var getImgUrl = function getImgUrl(src, pageId) {
37
37
  // : `${'https://test01.zhugeapi.com'}/web/img/report/${pageId}/${src}`;
38
38
  };
39
39
  var PageInfo = function PageInfo(props) {
40
+ console.log(props, 'props');
40
41
  var classPrefix = 'setting-point-map-page';
41
42
  var _useContext = useContext(BizGlobalDataContext),
42
43
  currentApp = _useContext.currentApp,
@@ -90,51 +91,55 @@ var PageInfo = function PageInfo(props) {
90
91
  _useState24 = _slicedToArray(_useState23, 2),
91
92
  isEditPicCircle = _useState24[0],
92
93
  setIsEditPicCircle = _useState24[1];
93
- var _useState25 = useState(props.selectPoint),
94
+ var _useState25 = useState(props.isSelect ? [] : props.selectPoint),
94
95
  _useState26 = _slicedToArray(_useState25, 2),
95
96
  selectPoint = _useState26[0],
96
97
  setSelectPoint = _useState26[1];
97
- var _useState27 = useState(false),
98
- _useState28 = _slicedToArray(_useState27, 2),
99
- isEmpty = _useState28[0],
100
- setIsEmpty = _useState28[1];
98
+ // props.isSelect
99
+ var _useState27 = useState(props.isSelect),
100
+ _useState28 = _slicedToArray(_useState27, 1),
101
+ isSelect = _useState28[0];
101
102
  var _useState29 = useState(false),
102
103
  _useState30 = _slicedToArray(_useState29, 2),
103
- isEdit = _useState30[0],
104
- setIsEdit = _useState30[1];
105
- var _useState31 = useState(),
104
+ isEmpty = _useState30[0],
105
+ setIsEmpty = _useState30[1];
106
+ var _useState31 = useState(false),
106
107
  _useState32 = _slicedToArray(_useState31, 2),
107
- imgPath = _useState32[0],
108
- setImgPath = _useState32[1];
108
+ isEdit = _useState32[0],
109
+ setIsEdit = _useState32[1];
109
110
  var _useState33 = useState(),
110
111
  _useState34 = _slicedToArray(_useState33, 2),
111
- imgUrl = _useState34[0],
112
- setImgUrl = _useState34[1];
113
- var _useState35 = useState(false),
112
+ imgPath = _useState34[0],
113
+ setImgPath = _useState34[1];
114
+ var _useState35 = useState(),
114
115
  _useState36 = _slicedToArray(_useState35, 2),
115
- isHasData = _useState36[0],
116
- setIsHasData = _useState36[1];
117
- // 记录删除的有id的页面埋点
118
- var _useState37 = useState([]),
116
+ imgUrl = _useState36[0],
117
+ setImgUrl = _useState36[1];
118
+ var _useState37 = useState(false),
119
119
  _useState38 = _slicedToArray(_useState37, 2),
120
- deleteEventIds = _useState38[0],
121
- setDeleteEventIds = _useState38[1];
122
- var _useState39 = useState(''),
120
+ isHasData = _useState38[0],
121
+ setIsHasData = _useState38[1];
122
+ // 记录删除的有id的页面埋点
123
+ var _useState39 = useState([]),
123
124
  _useState40 = _slicedToArray(_useState39, 2),
124
- eventKey = _useState40[0],
125
- setEventKey = _useState40[1];
126
- var _useState41 = useState(),
125
+ deleteEventIds = _useState40[0],
126
+ setDeleteEventIds = _useState40[1];
127
+ var _useState41 = useState(''),
127
128
  _useState42 = _slicedToArray(_useState41, 2),
128
- id = _useState42[0],
129
- setId = _useState42[1];
129
+ eventKey = _useState42[0],
130
+ setEventKey = _useState42[1];
130
131
  var _useState43 = useState(),
131
132
  _useState44 = _slicedToArray(_useState43, 2),
132
- showIndex = _useState44[0],
133
- setShowIndex = _useState44[1];
134
- var _useState45 = useState({}),
133
+ id = _useState44[0],
134
+ setId = _useState44[1];
135
+ var _useState45 = useState(),
135
136
  _useState46 = _slicedToArray(_useState45, 2),
136
- eventData = _useState46[0],
137
- setEventData = _useState46[1];
137
+ showIndex = _useState46[0],
138
+ setShowIndex = _useState46[1];
139
+ var _useState47 = useState({}),
140
+ _useState48 = _slicedToArray(_useState47, 2),
141
+ eventData = _useState48[0],
142
+ setEventData = _useState48[1];
138
143
  var changeItemInfo = function changeItemInfo(i, key, v) {
139
144
  var dealData = _.clone(eventAttrList);
140
145
  dealData[i]['isEdit'] = true;
@@ -142,7 +147,7 @@ var PageInfo = function PageInfo(props) {
142
147
  setEventAttrList(dealData);
143
148
  };
144
149
  //埋点筛选
145
- var _useState47 = useState([{
150
+ var _useState49 = useState([{
146
151
  label: '在线埋点',
147
152
  sum: 0,
148
153
  value: 0
@@ -151,28 +156,28 @@ var PageInfo = function PageInfo(props) {
151
156
  sum: 0,
152
157
  value: 1
153
158
  }]),
154
- _useState48 = _slicedToArray(_useState47, 2),
155
- navList = _useState48[0],
156
- setNavList = _useState48[1];
157
- var _useState49 = useState(0),
158
159
  _useState50 = _slicedToArray(_useState49, 2),
159
- navIndex = _useState50[0],
160
- setNavIndex = _useState50[1];
161
- //创建元事件
162
- var _useState51 = useState(false),
160
+ navList = _useState50[0],
161
+ setNavList = _useState50[1];
162
+ var _useState51 = useState(0),
163
163
  _useState52 = _slicedToArray(_useState51, 2),
164
- createMetaShow = _useState52[0],
165
- setCreateMetaShow = _useState52[1];
166
- //元事件内容
167
- var _useState53 = useState(),
164
+ navIndex = _useState52[0],
165
+ setNavIndex = _useState52[1];
166
+ //创建元事件
167
+ var _useState53 = useState(false),
168
168
  _useState54 = _slicedToArray(_useState53, 2),
169
- metaData = _useState54[0],
170
- setMetaData = _useState54[1];
171
- //日志管理
172
- var _useState55 = useState(false),
169
+ createMetaShow = _useState54[0],
170
+ setCreateMetaShow = _useState54[1];
171
+ //元事件内容
172
+ var _useState55 = useState(),
173
173
  _useState56 = _slicedToArray(_useState55, 2),
174
- recordShow = _useState56[0],
175
- setRecordShow = _useState56[1];
174
+ metaData = _useState56[0],
175
+ setMetaData = _useState56[1];
176
+ //日志管理
177
+ var _useState57 = useState(false),
178
+ _useState58 = _slicedToArray(_useState57, 2),
179
+ recordShow = _useState58[0],
180
+ setRecordShow = _useState58[1];
176
181
  useEffect(function () {
177
182
  // console.log('props.pageData', props.pageData);
178
183
  if (!props.pageData) {
@@ -206,39 +211,37 @@ var PageInfo = function PageInfo(props) {
206
211
  uuid: res.data.detail.uuid,
207
212
  zosFileKey: res.data.detail.zosFileKey
208
213
  } : undefined);
209
- // getPointTree()
210
- setEventAttrList(res.data.eventInfos ? res.data.eventInfos.map(function (item, index) {
211
- return {
212
- id: item.id,
213
- eventId: item.eventId,
214
- eventName: item.eventName,
215
- describe: item.pointDescribe,
216
- pointSelect: item.pointSelect,
217
- pv: item.pv,
218
- imgPath: item.zosImgUrl ? getImgUrl(item.zosImgUrl, props.pageData.id) : '',
219
- key: uuid(),
220
- index: index,
221
- approvalStatus: item.approvalStatus,
222
- operationType: item.operationType,
223
- del: item.del || 1
224
- };
225
- }) : []);
226
- //计算出当前上线和下线总合数量
227
- // setNavList(
228
- // navList.map((nav) => {
229
- // let sum = 0;
230
- // res.data.eventInfos &&
231
- // res.data.eventInfos.map((item: any, index: number) => {
232
- // if (nav.value == item.del) {
233
- // sum += 1;
234
- // }
235
- // });
236
- // return {
237
- // ...nav,
238
- // sum,
239
- // };
240
- // }),
241
- // );
214
+ if (!isSelect) {
215
+ // getPointTree()
216
+ setEventAttrList(res.data.eventInfos ? res.data.eventInfos.map(function (item, index) {
217
+ return {
218
+ id: item.id,
219
+ eventId: item.eventId,
220
+ eventName: item.eventName,
221
+ describe: item.pointDescribe,
222
+ pointSelect: item.pointSelect,
223
+ pv: item.pv,
224
+ imgPath: item.zosImgUrl ? getImgUrl(item.zosImgUrl, props.pageData.id) : '',
225
+ key: uuid(),
226
+ index: index,
227
+ approvalStatus: item.approvalStatus,
228
+ operationType: item.operationType,
229
+ del: item.del || 1
230
+ };
231
+ }) : []);
232
+ //计算出当前上线和下线总合数量
233
+ setNavList(navList.map(function (nav) {
234
+ var sum = 0;
235
+ res.data.eventInfos && res.data.eventInfos.map(function (item, index) {
236
+ if (nav.value == item.del) {
237
+ sum += 1;
238
+ }
239
+ });
240
+ return _objectSpread(_objectSpread({}, nav), {}, {
241
+ sum: sum
242
+ });
243
+ }));
244
+ }
242
245
  }
243
246
  }).catch(function (err) {
244
247
  console.log(err);
@@ -409,7 +412,7 @@ var PageInfo = function PageInfo(props) {
409
412
  return false;
410
413
  } else {
411
414
  return !!selectPoint.filter(function (item) {
412
- return item.id === record.id;
415
+ return isSelect ? item.eventName === record.eventName : item.id === record.id;
413
416
  }).length;
414
417
  }
415
418
  };
@@ -463,15 +466,15 @@ var PageInfo = function PageInfo(props) {
463
466
  props.onChangeSelectObj && props.onChangeSelectObj(_selectPoint);
464
467
  };
465
468
  // 表格列表筛选项
466
- var _useState57 = useState(0),
467
- _useState58 = _slicedToArray(_useState57, 2),
468
- type = _useState58[0],
469
- setType = _useState58[1];
470
- var _useState59 = useState(-1),
469
+ var _useState59 = useState(0),
471
470
  _useState60 = _slicedToArray(_useState59, 2),
472
- encryption_type = _useState60[0],
473
- setEncryptionType = _useState60[1];
474
- var columns = [].concat(_toConsumableArray(props.isSelect && !isEdit ? [{
471
+ type = _useState60[0],
472
+ setType = _useState60[1];
473
+ var _useState61 = useState(-1),
474
+ _useState62 = _slicedToArray(_useState61, 2),
475
+ encryption_type = _useState62[0],
476
+ setEncryptionType = _useState62[1];
477
+ var columns = [].concat(_toConsumableArray(!isEdit ? [{
475
478
  title: (/*#__PURE__*/React.createElement(Checkbox, {
476
479
  checked: checkedAllHandle(),
477
480
  onChange: function onChange(e) {
@@ -518,21 +521,24 @@ var PageInfo = function PageInfo(props) {
518
521
  placement: "topLeft"
519
522
  }, /*#__PURE__*/React.createElement("a", {
520
523
  onClick: function onClick() {
521
- if (isEdit) {
522
- props.setIsShowSelectList && props.setIsShowSelectList(function (data) {
523
- var item = data.selectEventList[0];
524
- changeItemInfo(index, 'eventId', item && item.event_id ? item.event_id : undefined);
525
- changeItemInfo(index, 'eventName', item && item.event_id ? item.event_name : undefined);
526
- changeItemInfo(index, 'approvalStatus', item && item.event_id ? item.approvalStatus : undefined);
527
- changeItemInfo(index, 'operationType', item && item.event_id ? item.operationType : undefined);
528
- changeItemInfo(index, 'pv');
529
- }, record);
524
+ if (!isSelect) {
525
+ if (isEdit) {
526
+ props.setIsShowSelectList && props.setIsShowSelectList(function (data) {
527
+ var item = data.selectEventList[0];
528
+ changeItemInfo(index, 'eventId', item && item.event_id ? item.event_id : undefined);
529
+ changeItemInfo(index, 'eventName', item && item.event_id ? item.event_name : undefined);
530
+ changeItemInfo(index, 'approvalStatus', item && item.event_id ? item.approvalStatus : undefined);
531
+ changeItemInfo(index, 'operationType', item && item.event_id ? item.operationType : undefined);
532
+ changeItemInfo(index, 'pv');
533
+ }, record);
534
+ } else {
535
+ window.open('/webapp/app/' + (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) + '/plat/0/analytics/dataCollectManage?key=' + eventName, '_blank');
536
+ }
530
537
  } else {
531
- window.open('/webapp/app/' + (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) + '/plat/0/analytics/dataCollectManage?key=' + eventName, '_blank');
538
+ //打开元事件
539
+ setCreateMetaShow(true);
540
+ setMetaData(record);
532
541
  }
533
- //打开元事件
534
- // setCreateMetaShow(true);
535
- // setMetaData(record);
536
542
  }
537
543
  }, eventName ? eventName : '选择元事件', !eventName && /*#__PURE__*/React.createElement(IconFont, {
538
544
  type: "zhuanfa",
@@ -572,9 +578,9 @@ var PageInfo = function PageInfo(props) {
572
578
  ellipsis: true,
573
579
  width: 198,
574
580
  render: function render(describe, record, index) {
575
- if (isEdit) {
581
+ if (isEdit || isSelect) {
576
582
  return /*#__PURE__*/React.createElement(BizEditText, {
577
- canEdit: isEdit,
583
+ canEdit: isEdit || isSelect,
578
584
  value: describe,
579
585
  max: 20,
580
586
  isHideIcon: true,
@@ -608,7 +614,7 @@ var PageInfo = function PageInfo(props) {
608
614
  }
609
615
  })) : (/*#__PURE__*/React.createElement(IconFont, {
610
616
  type: "tianjiatupian"
611
- })), isEdit && (/*#__PURE__*/React.createElement("div", {
617
+ })), (isEdit || isSelect) && (/*#__PURE__*/React.createElement("div", {
612
618
  className: "".concat(classPrefix, "-content-img-select-btn"),
613
619
  onClick: function onClick() {
614
620
  if (!imgPath) {
@@ -639,7 +645,7 @@ var PageInfo = function PageInfo(props) {
639
645
  title: '昨日',
640
646
  dataIndex: 'time1',
641
647
  key: 'time1',
642
- width: 92,
648
+ width: 80,
643
649
  render: function render(value) {
644
650
  return /*#__PURE__*/React.createElement("div", {
645
651
  className: "".concat(classPrefix, "-content-select")
@@ -649,7 +655,7 @@ var PageInfo = function PageInfo(props) {
649
655
  title: '近7天',
650
656
  dataIndex: 'time1',
651
657
  key: 'time1',
652
- width: 92,
658
+ width: 80,
653
659
  render: function render(value) {
654
660
  return /*#__PURE__*/React.createElement("div", {
655
661
  className: "".concat(classPrefix, "-content-select")
@@ -659,14 +665,14 @@ var PageInfo = function PageInfo(props) {
659
665
  title: '近30天',
660
666
  dataIndex: 'time1',
661
667
  key: 'time1',
662
- width: 92,
668
+ width: 80,
663
669
  render: function render(value) {
664
670
  return /*#__PURE__*/React.createElement("div", {
665
671
  className: "".concat(classPrefix, "-content-select")
666
672
  }, value || value === 0 ? value : '-');
667
673
  }
668
674
  }]
669
- }], _toConsumableArray(isEdit ? [{
675
+ }], _toConsumableArray(isEdit || isSelect ? [{
670
676
  title: '操作',
671
677
  dataIndex: 'set',
672
678
  key: 'set',
@@ -694,10 +700,10 @@ var PageInfo = function PageInfo(props) {
694
700
  }
695
701
  }]));
696
702
  var DealDom = function DealDom(props) {
697
- var _useState61 = useState(false),
698
- _useState62 = _slicedToArray(_useState61, 2),
699
- open = _useState62[0],
700
- setOpen = _useState62[1];
703
+ var _useState63 = useState(false),
704
+ _useState64 = _slicedToArray(_useState63, 2),
705
+ open = _useState64[0],
706
+ setOpen = _useState64[1];
701
707
  var handleOpenChange = function handleOpenChange(newOpen) {
702
708
  setOpen(newOpen);
703
709
  };
@@ -744,10 +750,10 @@ var PageInfo = function PageInfo(props) {
744
750
  }
745
751
  }, "\u79FB\u9664"));
746
752
  };
747
- var _useState63 = useState(''),
748
- _useState64 = _slicedToArray(_useState63, 2),
749
- scrollY = _useState64[0],
750
- setScrollY = _useState64[1];
753
+ var _useState65 = useState(''),
754
+ _useState66 = _slicedToArray(_useState65, 2),
755
+ scrollY = _useState66[0],
756
+ setScrollY = _useState66[1];
751
757
  //页面加载完成后才能获取到对应的元素及其位置
752
758
  var onClose = function onClose() {
753
759
  if (isChange) {
@@ -851,28 +857,30 @@ var PageInfo = function PageInfo(props) {
851
857
  };
852
858
  var addNewEvent = function addNewEvent() {
853
859
  //新埋点管理
854
- // setMetaData(undefined);
855
- // setCreateMetaShow(true);
856
- //老埋点
857
- setEventAttrList([{
858
- eventId: void 0,
859
- eventName: '',
860
- describe: '',
861
- pointSelect: '',
862
- imgPath: '',
863
- index: eventAttrList.length,
864
- key: new Date() * 1
865
- }].concat(_toConsumableArray(eventAttrList)));
866
- setShowIndex(eventAttrList.length);
867
- setTimeout(function () {
868
- setShowIndex(void 0);
869
- }, 3000);
860
+ if (isSelect) {
861
+ setMetaData(undefined);
862
+ setCreateMetaShow(true);
863
+ } else {
864
+ //老埋点
865
+ setEventAttrList([{
866
+ eventId: void 0,
867
+ eventName: '',
868
+ describe: '',
869
+ pointSelect: '',
870
+ imgPath: '',
871
+ index: eventAttrList.length,
872
+ key: new Date() * 1
873
+ }].concat(_toConsumableArray(eventAttrList)));
874
+ setShowIndex(eventAttrList.length);
875
+ setTimeout(function () {
876
+ setShowIndex(void 0);
877
+ }, 3000);
878
+ }
870
879
  };
871
880
  //设置新添加的元事件
872
881
  var onEventSet = function onEventSet(data, type) {
873
882
  if (type == 'create') {
874
883
  setEventAttrList([{
875
- eventId: data.eventId,
876
884
  eventName: data.eventName,
877
885
  triggeringOccasion: data.triggeringOccasion,
878
886
  aliasName: data.aliasName,
@@ -927,7 +935,7 @@ var PageInfo = function PageInfo(props) {
927
935
  }, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
928
936
  type: 'primary',
929
937
  onClick: submit
930
- }, "\u786E\u5B9A"))) : props.pageData && props.pageData.currentPointVersion !== '全部' ? null : (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
938
+ }, "\u786E\u5B9A"))) : props.pageData && props.pageData.currentPointVersion !== '全部' ? null : (/*#__PURE__*/React.createElement("div", null, !isSelect && (/*#__PURE__*/React.createElement(Button, {
931
939
  disabled: !authority[1724922835],
932
940
  shape: "round",
933
941
  className: "button bianji1-button",
@@ -939,7 +947,7 @@ var PageInfo = function PageInfo(props) {
939
947
  style: {
940
948
  marginRight: 8
941
949
  }
942
- }), "\u7F16\u8F91")))), /*#__PURE__*/React.createElement("div", {
950
+ }), "\u7F16\u8F91"))))), /*#__PURE__*/React.createElement("div", {
943
951
  className: "".concat(classPrefix, "-content")
944
952
  }, /*#__PURE__*/React.createElement("div", {
945
953
  className: "".concat(classPrefix, "-info")
@@ -1056,8 +1064,7 @@ var PageInfo = function PageInfo(props) {
1056
1064
  return setEventKey(e.target.value);
1057
1065
  },
1058
1066
  placeholder: '请输入埋点事件名称搜索'
1059
- }), isEdit && (/*#__PURE__*/React.createElement(Button, {
1060
- disabled: !isEdit,
1067
+ }), (isEdit || isSelect) && (/*#__PURE__*/React.createElement(Button, {
1061
1068
  shape: "round",
1062
1069
  className: "button",
1063
1070
  onClick: addNewEvent
@@ -1066,7 +1073,18 @@ var PageInfo = function PageInfo(props) {
1066
1073
  style: {
1067
1074
  marginRight: 8
1068
1075
  }
1069
- }), "\u6DFB\u52A0\u9875\u9762\u57CB\u70B9")))), /*#__PURE__*/React.createElement(Table, {
1076
+ }), "\u6DFB\u52A0\u9875\u9762\u57CB\u70B9")))), !isSelect && !isEdit && (/*#__PURE__*/React.createElement("div", {
1077
+ className: "".concat(classPrefix, "-info")
1078
+ }, /*#__PURE__*/React.createElement("div", {
1079
+ className: "".concat(classPrefix, "-info-nav")
1080
+ }, navList.map(function (res) {
1081
+ return /*#__PURE__*/React.createElement("div", {
1082
+ className: "".concat(classPrefix, "-info-nav-item ").concat(navIndex == res.value ? "".concat(classPrefix, "-info-nav-itemActive") : ''),
1083
+ onClick: function onClick() {
1084
+ setNavIndex(res.value);
1085
+ }
1086
+ }, res.label, ": ", res.sum);
1087
+ })))), /*#__PURE__*/React.createElement(Table, {
1070
1088
  className: "".concat(classPrefix, "-table"),
1071
1089
  rowClassName: function rowClassName(record) {
1072
1090
  return record.index === showIndex ? 'isShowF2F3F4' : '';
@@ -1076,6 +1094,12 @@ var PageInfo = function PageInfo(props) {
1076
1094
  rowKey: 'uuid',
1077
1095
  dataSource: (eventAttrList || []).filter(function (item) {
1078
1096
  return new RegExp(_.escapeRegExp(eventKey), 'i').test(item.eventName || '');
1097
+ }).filter(function (res) {
1098
+ if (isEdit || isSelect) {
1099
+ return true;
1100
+ } else {
1101
+ return res.del == navIndex;
1102
+ }
1079
1103
  }),
1080
1104
  scroll: {
1081
1105
  y: window.innerHeight - 380
@@ -1120,7 +1144,7 @@ var PageInfo = function PageInfo(props) {
1120
1144
  onChange: setCircleImg
1121
1145
  }))), /*#__PURE__*/React.createElement(Drawer, {
1122
1146
  className: "".concat(classPrefix, "-drawer"),
1123
- width: '60%',
1147
+ width: '65%',
1124
1148
  title: /*#__PURE__*/React.createElement("div", null, "\u57CB\u70B9\u65E5\u5FD7"),
1125
1149
  placement: "right",
1126
1150
  destroyOnClose: true,
@@ -1129,12 +1153,12 @@ var PageInfo = function PageInfo(props) {
1129
1153
  },
1130
1154
  open: recordShow
1131
1155
  }, /*#__PURE__*/React.createElement(RecordDom, {
1132
- eventId: eventData.eventId,
1156
+ id: eventData.id,
1133
1157
  eventName: eventData.eventName
1134
1158
  })), /*#__PURE__*/React.createElement(CreateMetaDrawer, {
1135
1159
  isShow: createMetaShow,
1136
1160
  data: metaData,
1137
- isEdit: isEdit,
1161
+ isEdit: true,
1138
1162
  onSubmit: function onSubmit(event, type) {
1139
1163
  setCreateMetaShow(false);
1140
1164
  onEventSet(event, type);
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './styles/pageInfo.less';
3
3
  declare const record: React.FC<{
4
- eventId: number | string;
4
+ id: number | string;
5
5
  eventName: string;
6
6
  }>;
7
7
  export default record;
@@ -304,14 +304,14 @@ var record = function record(props) {
304
304
  };
305
305
  useEffect(function () {
306
306
  getEventLog();
307
- }, [props.eventId]);
307
+ }, [props.id]);
308
308
  //埋点日志查询
309
309
  var getEventLog = function getEventLog() {
310
310
  request(apis.getEventLog, {
311
311
  method: 'post',
312
312
  data: {
313
313
  appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
314
- id: props.eventId
314
+ pointId: props.id
315
315
  }
316
316
  }).then(function (res) {
317
317
  if (res && res.code === '100000') {
@@ -336,7 +336,7 @@ var record = function record(props) {
336
336
  var list = [];
337
337
  res.data.map(function (item) {
338
338
  if (nameItem.name == item.logDesc) {
339
- if (nameItem.name == '属性修改') {
339
+ if (nameItem.name !== '属性修改') {
340
340
  var valueList = [];
341
341
  for (var key in item.logDetail) {
342
342
  valueList.push({
@@ -442,7 +442,7 @@ var record = function record(props) {
442
442
  className: "".concat(classPrefix, "-record-content-timeList-nav-icon"),
443
443
  style: {
444
444
  backgroundColor: res.iconColor,
445
- outlineColor: res.iconColor + '50'
445
+ boxShadow: '0 0 0 5px' + res.iconColor + '50'
446
446
  }
447
447
  }), /*#__PURE__*/React.createElement("div", {
448
448
  className: "".concat(classPrefix, "-record-content-timeList-nav-name")
@@ -304,7 +304,6 @@
304
304
  height: 10px;
305
305
  margin-right: 20px;
306
306
  border-radius: 50%;
307
- outline: 5px solid;
308
307
  }
309
308
  &-name {
310
309
  color: #5f6085;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "2.0.0-zhongyuan.35",
3
+ "version": "2.0.0-zhongyuan.36",
4
4
  "private": false,
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -67,7 +67,7 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "63f753385d56c4f15605827533a25a20765830fa",
70
+ "gitHead": "5e361528e645345f4fde79ebfc08448990f4bf65",
71
71
  "gitHooks": {
72
72
  "pre-commit": "lint-staged"
73
73
  }