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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,6 +150,8 @@ declare let apis: {
150
150
  uploadTree: string;
151
151
  downloadHelpFile: string;
152
152
  getAppAutoEvent: string;
153
+ getEventLog: string;
154
+ addEvent: string;
153
155
  getMenuCode: string;
154
156
  addMenuCode: string;
155
157
  updateMenuCode: string;
@@ -210,6 +210,10 @@ var apis = {
210
210
  downloadHelpFile: '/zg/web/v2/approve/point/template/recommend-scheme',
211
211
  // 查询应用埋点控制开关
212
212
  getAppAutoEvent: '/zg/web/v2/approve/getAppAutoEvent',
213
+ //埋点日志
214
+ getEventLog: '/zg/web/v2/approve/getEventLog',
215
+ // 事件新增
216
+ addEvent: '/zg/web/v2/event/addEvent',
213
217
  // menuCode
214
218
  getMenuCode: '/zg/web/v2/systemSettings/query-menu-list',
215
219
  addMenuCode: '/zg/web/v2/systemSettings/save-menu',
@@ -1082,7 +1082,14 @@ var CreateDemand = function CreateDemand(props) {
1082
1082
  status: 0
1083
1083
  });
1084
1084
  }));
1085
- onCreate('save');
1085
+ onCreate('save', {
1086
+ pointEventIds: val.map(function (res) {
1087
+ return res.id;
1088
+ }),
1089
+ pointEventStatus: val.map(function (res) {
1090
+ return 0;
1091
+ })
1092
+ });
1086
1093
  }, pointEventInfo);
1087
1094
  }
1088
1095
  }, "\u57CB\u70B9\u8BBE\u8BA1")), /*#__PURE__*/React.createElement("div", {
@@ -1097,10 +1104,8 @@ var CreateDemand = function CreateDemand(props) {
1097
1104
  }, getLableValue(demandStatus, 'buttonName'))), isRead ? null : demandStatus == 2 && (/*#__PURE__*/React.createElement(Button, {
1098
1105
  className: "".concat(classPrefix, "-info-right-button forbiddenColor"),
1099
1106
  onClick: function onClick() {
1100
- var list = pointEventInfo === null || pointEventInfo === void 0 ? void 0 : pointEventInfo.map(function (item) {
1101
- if (selectedRowKeys.indexOf(item.id) == -1) {
1102
- pointEventInfo.slice(selectedRowKeys.indexOf(item.id));
1103
- }
1107
+ var list = pointEventInfo === null || pointEventInfo === void 0 ? void 0 : pointEventInfo.filter(function (item) {
1108
+ return selectedRowKeys.indexOf(item.id) == -1;
1104
1109
  });
1105
1110
  setPointEventInfo(list);
1106
1111
  onCreate('save', {
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CreateMetaDrawerProps } from './types';
3
+ declare const CreateMeta: React.FC<CreateMetaDrawerProps>;
4
+ export default CreateMeta;