@zgfe/modules-settings 1.2.2-node.0 → 1.2.3-log.0

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 (33) hide show
  1. package/es/constants/api.d.ts +5 -0
  2. package/es/constants/api.js +9 -0
  3. package/es/modules/appSettings/member/index.js +5 -10
  4. package/es/modules/appSettings/member/modal.d.ts +0 -1
  5. package/es/modules/appSettings/member/modal.js +0 -4
  6. package/es/modules/companySetting/edit/authConfig.d.ts +0 -1
  7. package/es/modules/companySetting/edit/authConfig.js +17 -18
  8. package/es/modules/companySetting/edit/authConfigCEP.d.ts +0 -1
  9. package/es/modules/companySetting/edit/authConfigCEP.js +4 -5
  10. package/es/modules/companySetting/edit/user.d.ts +0 -1
  11. package/es/modules/companySetting/edit/user.js +1 -4
  12. package/es/modules/companySetting/edit/userGroup.d.ts +0 -1
  13. package/es/modules/companySetting/edit/userGroup.js +1 -6
  14. package/es/modules/companySetting/index.js +12 -9
  15. package/es/modules/companySetting/operationLog/index.d.ts +4 -0
  16. package/es/modules/companySetting/operationLog/index.js +187 -0
  17. package/es/modules/companySetting/operationLog/index.less +21 -0
  18. package/es/modules/companySetting/user/index.d.ts +0 -1
  19. package/es/modules/companySetting/user/index.js +0 -5
  20. package/es/modules/companySetting/userGroup/authConfigDetail.d.ts +0 -1
  21. package/es/modules/companySetting/userGroup/authConfigDetail.js +8 -9
  22. package/es/modules/companySetting/userGroup/groupItem.d.ts +0 -1
  23. package/es/modules/companySetting/userGroup/groupItem.js +0 -2
  24. package/es/modules/companySetting/userGroup/index.d.ts +0 -1
  25. package/es/modules/companySetting/userGroup/index.js +0 -3
  26. package/es/modules/personalSetting/index.js +5 -0
  27. package/es/modules/personalSetting/securityLog/index.d.ts +4 -0
  28. package/es/modules/personalSetting/securityLog/index.js +156 -0
  29. package/es/modules/personalSetting/securityLog/index.less +10 -0
  30. package/es/modules/systemSetting/notice/index.js +16 -16
  31. package/es/utils/functionalPermissions.d.ts +0 -1
  32. package/es/utils/functionalPermissions.js +5 -207
  33. package/package.json +2 -2
@@ -6,7 +6,6 @@ declare const authConfigDetail: React.FC<{
6
6
  authConfig: Config;
7
7
  companyAppList: AppListItem[];
8
8
  leftMenus: LeftMenusItem[];
9
- isMarsUi: boolean;
10
9
  id?: number;
11
10
  groupId?: number;
12
11
  type: number;
@@ -24,7 +24,6 @@ var authConfigDetail = function authConfigDetail(props) {
24
24
  authConfig = props.authConfig,
25
25
  companyAppList = props.companyAppList,
26
26
  leftMenus = props.leftMenus,
27
- isMarsUi = props.isMarsUi,
28
27
  id = props.id,
29
28
  groupId = props.groupId,
30
29
  type = props.type,
@@ -141,7 +140,7 @@ var authConfigDetail = function authConfigDetail(props) {
141
140
  };
142
141
  var loopFormatTopMenu = function loopFormatTopMenu(topMenu) {
143
142
  // 菜单不在权限配置中
144
- if (!functionalPermissions[isMarsUi ? 'mars' : 'standard'][topMenu.name]) {
143
+ if (!functionalPermissions['standard'][topMenu.name]) {
145
144
  return null;
146
145
  }
147
146
  var childrenArr = [];
@@ -174,7 +173,7 @@ var authConfigDetail = function authConfigDetail(props) {
174
173
  var formatMenu = {
175
174
  name: {
176
175
  describe: topMenu.nametext,
177
- key: functionalPermissions[isMarsUi ? 'mars' : 'standard'][topMenu.name].key
176
+ key: functionalPermissions['standard'][topMenu.name].key
178
177
  },
179
178
  show: false,
180
179
  children: childrenArr
@@ -184,21 +183,21 @@ var authConfigDetail = function authConfigDetail(props) {
184
183
  var checkFunPermission = function checkFunPermission(key) {
185
184
  // 检查功能模块权限配置,true为有权限,false无权限
186
185
  if (!key) return false;
187
- if (key === functionalPermissions[isMarsUi ? 'mars' : 'standard'].default.key) return true;
186
+ if (key === functionalPermissions['standard'].default.key) return true;
188
187
  var funAuthConfig = authConfig.funAuth;
189
188
  var funAuthKeyArr = funAuthConfig ? funAuthConfig.map(function (item) {
190
189
  return item.resource;
191
190
  }) : [];
192
191
  // 智能触达:管理员、运营人员
193
192
  if (['mkt_admin', 'mkt_ops'].includes(key)) {
194
- var mktKey = functionalPermissions[isMarsUi ? 'mars' : 'standard'].market.key;
193
+ var mktKey = functionalPermissions['standard'].market.key;
195
194
  var mktConfig = funAuthConfig && funAuthConfig.find(function (item) {
196
195
  return item.resource === mktKey;
197
196
  });
198
197
  if (!mktConfig) return false;
199
198
  return mktConfig.opts[0] === key;
200
199
  }
201
- if (funAuthKeyArr.includes(functionalPermissions[isMarsUi ? 'mars' : 'standard'].all.key)) {
200
+ if (funAuthKeyArr.includes(functionalPermissions['standard'].all.key)) {
202
201
  // 功能权限:全选
203
202
  return true;
204
203
  }
@@ -235,14 +234,14 @@ var authConfigDetail = function authConfigDetail(props) {
235
234
  });
236
235
  // 设置菜单
237
236
  var setting = {
238
- name: functionalPermissions[isMarsUi ? 'mars' : 'standard'].setting.default,
237
+ name: functionalPermissions['standard'].setting.default,
239
238
  show: false,
240
239
  children: [{
241
- name: functionalPermissions[isMarsUi ? 'mars' : 'standard'].setting.company,
240
+ name: functionalPermissions['standard'].setting.company,
242
241
  show: false,
243
242
  children: []
244
243
  }, {
245
- name: functionalPermissions[isMarsUi ? 'mars' : 'standard'].setting.app,
244
+ name: functionalPermissions['standard'].setting.app,
246
245
  show: false,
247
246
  children: []
248
247
  }]
@@ -5,7 +5,6 @@ declare const GroupItem: React.FC<{
5
5
  groupData: AllGroupInfosItem;
6
6
  companyAppList: AppListItem[];
7
7
  leftMenus: LeftMenusItem[];
8
- isMarsUi: boolean;
9
8
  serviceType: number;
10
9
  showGroupEditAuthEvent: (data: AllGroupInfosItem) => void;
11
10
  delGroupCallback: (id: number) => void;
@@ -19,7 +19,6 @@ var GroupItem = function GroupItem(props) {
19
19
  var groupData = props.groupData,
20
20
  companyAppList = props.companyAppList,
21
21
  leftMenus = props.leftMenus,
22
- isMarsUi = props.isMarsUi,
23
22
  serviceType = props.serviceType,
24
23
  showGroupEditAuthEvent = props.showGroupEditAuthEvent,
25
24
  delGroupCallback = props.delGroupCallback;
@@ -93,7 +92,6 @@ var GroupItem = function GroupItem(props) {
93
92
  authConfig: groupData.authConfig || {},
94
93
  companyAppList: companyAppList,
95
94
  leftMenus: leftMenus,
96
- isMarsUi: isMarsUi,
97
95
  groupId: groupData.id,
98
96
  type: 2,
99
97
  serviceType: serviceType
@@ -6,7 +6,6 @@ declare const UserGroup: React.FC<{
6
6
  allGroupInfos: AllGroupInfosItem[];
7
7
  companyAppList: AppListItem[];
8
8
  leftMenus: LeftMenusItem[];
9
- isMarsUi: boolean;
10
9
  isAdmin: boolean;
11
10
  serviceType: number;
12
11
  delGroupCallback: (id: number) => void;
@@ -17,7 +17,6 @@ var UserGroup = function UserGroup(props) {
17
17
  allGroupInfos = props.allGroupInfos,
18
18
  companyAppList = props.companyAppList,
19
19
  leftMenus = props.leftMenus,
20
- isMarsUi = props.isMarsUi,
21
20
  isAdmin = props.isAdmin,
22
21
  serviceType = props.serviceType,
23
22
  delGroupCallback = props.delGroupCallback,
@@ -100,7 +99,6 @@ var UserGroup = function UserGroup(props) {
100
99
  leftMenus: leftMenus,
101
100
  isAdmin: isAdmin,
102
101
  id: id,
103
- isMarsUi: isMarsUi,
104
102
  onCancel: function onCancel() {
105
103
  return setGroupEditAuthState(false);
106
104
  },
@@ -137,7 +135,6 @@ var UserGroup = function UserGroup(props) {
137
135
  showGroupEditAuthEvent: showGroupEditAuthEvent,
138
136
  companyAppList: companyAppList,
139
137
  leftMenus: leftMenus,
140
- isMarsUi: isMarsUi,
141
138
  delGroupCallback: delGroupCallback,
142
139
  serviceType: serviceType
143
140
  });
@@ -13,6 +13,7 @@ import PersonalUnbinding from './unbinding';
13
13
  import { useContext } from 'react';
14
14
  import { BizGlobalDataContext } from '@zgfe/business-lib';
15
15
  import util from '../../utils/util';
16
+ import SecurityLog from './securityLog';
16
17
  var PersonalSetting = function PersonalSetting(_ref) {
17
18
  var settingsCallback = _ref.settingsCallback;
18
19
  var _useContext = useContext(BizGlobalDataContext),
@@ -49,6 +50,10 @@ var PersonalSetting = function PersonalSetting(_ref) {
49
50
  label: '解绑虚拟MFA',
50
51
  hidden: !(currentUser === null || currentUser === void 0 ? void 0 : currentUser.secret) || isDemo,
51
52
  content: /*#__PURE__*/React.createElement(PersonalUnbinding, null)
53
+ }, {
54
+ key: '4',
55
+ label: '安全日志',
56
+ content: /*#__PURE__*/React.createElement(SecurityLog, null)
52
57
  }];
53
58
  return /*#__PURE__*/React.createElement(SettingTabs, {
54
59
  typeName: "personal",
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const SecurityLog: React.FC;
4
+ export default SecurityLog;
@@ -0,0 +1,156 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
8
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
+ import { BizTable } from '@zgfe/business-lib';
14
+ import { DatePicker, Spin } from 'antd';
15
+ import locale from 'antd/es/date-picker/locale/zh_CN';
16
+ import moment from 'moment';
17
+ import React, { useEffect, useState } from 'react';
18
+ import request from '../../../utils/ajax';
19
+ import apis from '../../../constants/api';
20
+ import './index.less';
21
+ var SecurityLog = function SecurityLog() {
22
+ var classPrefix = 'security-log-page';
23
+ var _useState = useState({
24
+ page: 1,
25
+ size: 10,
26
+ year: '',
27
+ month: ''
28
+ }),
29
+ _useState2 = _slicedToArray(_useState, 2),
30
+ condition = _useState2[0],
31
+ setCondition = _useState2[1];
32
+ var _useState3 = useState(0),
33
+ _useState4 = _slicedToArray(_useState3, 2),
34
+ total = _useState4[0],
35
+ setTotal = _useState4[1];
36
+ var _useState5 = useState([]),
37
+ _useState6 = _slicedToArray(_useState5, 2),
38
+ dateRange = _useState6[0],
39
+ setDateRange = _useState6[1];
40
+ var _useState7 = useState(true),
41
+ _useState8 = _slicedToArray(_useState7, 2),
42
+ dateLoading = _useState8[0],
43
+ setDateLoading = _useState8[1];
44
+ var _useState9 = useState(true),
45
+ _useState10 = _slicedToArray(_useState9, 2),
46
+ tableLoading = _useState10[0],
47
+ setTableLoading = _useState10[1];
48
+ var _useState11 = useState([]),
49
+ _useState12 = _slicedToArray(_useState11, 2),
50
+ tableData = _useState12[0],
51
+ setTableData = _useState12[1];
52
+ var _useState13 = useState(0),
53
+ _useState14 = _slicedToArray(_useState13, 2),
54
+ time = _useState14[0],
55
+ setTime = _useState14[1];
56
+ var columns = [{
57
+ title: '详情',
58
+ dataIndex: 'operationType',
59
+ key: 'operationType'
60
+ }, {
61
+ title: 'IP',
62
+ dataIndex: 'userAccessIp',
63
+ key: 'userAccessIp'
64
+ }, {
65
+ title: '时间',
66
+ dataIndex: 'gmtCreate',
67
+ key: 'gmtCreate'
68
+ }];
69
+ useEffect(function () {
70
+ queryData();
71
+ }, []);
72
+ useEffect(function () {
73
+ if (time) clearTimeout(time);
74
+ setTime(setTimeout(function () {
75
+ queryLog();
76
+ }, 500));
77
+ }, [condition]);
78
+ function queryData() {
79
+ setDateLoading(true);
80
+ request(apis.log.getLogTime, {
81
+ method: 'get',
82
+ params: {
83
+ type: 4
84
+ }
85
+ }).then(function (res) {
86
+ if (parseInt(res === null || res === void 0 ? void 0 : res.code) == 100000) {
87
+ setDateLoading(false);
88
+ var maxDate = res.data[res.data.length - 1] || '';
89
+ setDateRange(res.data);
90
+ setCondition(function (v) {
91
+ return _objectSpread(_objectSpread({}, v), {}, {
92
+ year: moment(maxDate).format('YYYY'),
93
+ month: moment(maxDate).format('MM')
94
+ });
95
+ });
96
+ }
97
+ });
98
+ }
99
+ function queryLog() {
100
+ if (!condition.year || !condition.month) return;
101
+ setTableLoading(true);
102
+ request(apis.log.securityLog, {
103
+ method: 'post',
104
+ data: condition
105
+ }).then(function (res) {
106
+ if (parseInt(res === null || res === void 0 ? void 0 : res.code) == 100000) {
107
+ setTotal(res.data.count);
108
+ setTableData(res.data.logs);
109
+ setTableLoading(false);
110
+ }
111
+ });
112
+ }
113
+ function disabledDate(current) {
114
+ var date = moment(current._d).format('YYYYMM');
115
+ return !dateRange.includes(date);
116
+ }
117
+ function onChangeTime(current) {
118
+ setCondition(function (v) {
119
+ return _objectSpread(_objectSpread({}, v), {}, {
120
+ year: moment(current._d).format('YYYY'),
121
+ month: moment(current._d).format('MM')
122
+ });
123
+ });
124
+ }
125
+ function onChangeTable(data) {
126
+ setCondition(function (v) {
127
+ return _objectSpread(_objectSpread({}, v), {}, {
128
+ page: data.current,
129
+ size: data.pageSize
130
+ });
131
+ });
132
+ }
133
+ return /*#__PURE__*/React.createElement("div", {
134
+ className: classPrefix
135
+ }, dateLoading ? /*#__PURE__*/React.createElement("div", {
136
+ className: "".concat(classPrefix, "-spin")
137
+ }, /*#__PURE__*/React.createElement(Spin, null)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
138
+ className: "".concat(classPrefix, "-header")
139
+ }, /*#__PURE__*/React.createElement(DatePicker, {
140
+ value: moment("".concat(condition.year, "-").concat(condition.month), 'YYYY-MM'),
141
+ picker: "month",
142
+ disabledDate: disabledDate,
143
+ locale: locale,
144
+ onChange: onChangeTime,
145
+ inputReadOnly: true,
146
+ allowClear: false
147
+ })), /*#__PURE__*/React.createElement(BizTable, {
148
+ columns: columns,
149
+ dataSource: tableData,
150
+ total: total,
151
+ loading: tableLoading,
152
+ onChange: onChangeTable,
153
+ rowKey: "id"
154
+ })));
155
+ };
156
+ export default SecurityLog;
@@ -0,0 +1,10 @@
1
+ .security-log-page {
2
+ &-spin {
3
+ padding-top: 200px;
4
+ text-align: center;
5
+ }
6
+ &-header {
7
+ margin-bottom: 30px;
8
+ text-align: right;
9
+ }
10
+ }
@@ -13,10 +13,9 @@ import React from 'react';
13
13
  import { useState } from 'react';
14
14
  import { useEffect } from 'react';
15
15
  import apis from '../../../constants/api';
16
- import request from '../../../utils/ajax';
16
+ import request, { urlRequest } from '../../../utils/ajax';
17
17
  import ConfigItem from './configItem';
18
18
  import ItemEdit from './edit';
19
- import { ajax } from '@zgfe/business-lib';
20
19
  var Notice = function Notice() {
21
20
  var typeMap = new Map([[1, 'email']]);
22
21
  var _useState = useState(new Map().set('email', {
@@ -65,26 +64,27 @@ var Notice = function Notice() {
65
64
  var formData = new FormData();
66
65
  formData.set('type', editSetting.type);
67
66
  formData.set('config', JSON.stringify(values));
68
- ajax(apis.setting.editNoticeConfig, {
67
+ urlRequest(apis.setting.editNoticeConfig, {
69
68
  method: 'post',
69
+ // data: formData,
70
70
  data: {
71
71
  type: editSetting.type === 'email' ? 1 : null,
72
72
  config: JSON.stringify(values)
73
73
  }
74
74
  }).then(function (res) {
75
- if (!res) return;
76
- notification.success({
77
- message: '配置成功'
78
- });
79
- settingMap.get(editSetting.type).config = values;
80
- var newSettingMap = new Map(_toConsumableArray(settingMap));
81
- setSettingMap(newSettingMap);
82
- setIsEdit(false);
83
- }).catch(function (err) {
84
- console.error('配置失败', err);
85
- notification.error({
86
- message: '配置失败'
87
- });
75
+ if ((res === null || res === void 0 ? void 0 : res.status) === 200) {
76
+ notification.success({
77
+ message: '配置成功'
78
+ });
79
+ settingMap.get(editSetting.type).config = values;
80
+ var newSettingMap = new Map(_toConsumableArray(settingMap));
81
+ setSettingMap(newSettingMap);
82
+ setIsEdit(false);
83
+ } else {
84
+ notification.error({
85
+ message: '配置失败'
86
+ });
87
+ }
88
88
  });
89
89
  };
90
90
  return /*#__PURE__*/React.createElement("div", null, isEdit ? /*#__PURE__*/React.createElement(ItemEdit, {
@@ -1,5 +1,4 @@
1
1
  declare const _default: {
2
- mars: any;
3
2
  standard: any;
4
3
  };
5
4
  export default _default;
@@ -149,22 +149,19 @@ var standard = _objectSpread({
149
149
  key: '/diypage'
150
150
  },
151
151
  user: {
152
- key: '/user'
152
+ key: '/analysis/user'
153
153
  },
154
- // cep: {
155
- // key: '/cep',
156
- // },
157
154
  userList: {
158
- key: '/user/userList'
155
+ key: '/analysis/user/userList'
159
156
  },
160
157
  userGroup: {
161
- key: '/user/userGroup'
158
+ key: '/analysis/user/userGroup'
162
159
  },
163
160
  userPortrait: {
164
- key: '/user/userPortrait'
161
+ key: '/analysis/user/userPortrait'
165
162
  },
166
163
  userTags: {
167
- key: '/user/userTags'
164
+ key: '/analysis/user/userTags'
168
165
  },
169
166
  // market: {
170
167
  // key: '/market',
@@ -222,205 +219,6 @@ var standard = _objectSpread({
222
219
  key: '/cxp/userJourney'
223
220
  }
224
221
  } : {});
225
- var mars = {
226
- default: {
227
- key: 'default' // 默认权限
228
- },
229
-
230
- all: {
231
- key: '/' // 功能权限
232
- },
233
-
234
- panel: {
235
- key: '/panel'
236
- },
237
- dataPanel: {
238
- key: '/panel/dataPanel'
239
- },
240
- dataview: {
241
- key: '/panel/dataview'
242
- },
243
- analysis: {
244
- key: '/analysis'
245
- },
246
- dataV: {
247
- key: '/panel/dataV'
248
- },
249
- crossScreen: {
250
- key: '/panel/crossScreen'
251
- },
252
- scene: {
253
- key: '/scene'
254
- },
255
- customScene: {
256
- key: '/scene/customScene'
257
- },
258
- userGrowth: {
259
- key: '/scene/userGrowth'
260
- },
261
- basic: {
262
- key: '/analysis/basic'
263
- },
264
- wholeAnalysis: {
265
- key: '/analysis/basic/wholeAnalysis'
266
- },
267
- retention: {
268
- key: '/analysis/basic/retention'
269
- },
270
- source: {
271
- key: '/analysis/source'
272
- },
273
- channel: {
274
- key: '/analysis/source/channel'
275
- },
276
- behavior: {
277
- key: '/analysis/behavior'
278
- },
279
- eventAnalysis: {
280
- key: '/analysis/behavior/eventAnalysis'
281
- },
282
- page: {
283
- key: '/analysis/behavior/page'
284
- },
285
- zgSee: {
286
- key: '/analysis/behavior/zgSee'
287
- },
288
- conversion: {
289
- key: '/analysis/conversion'
290
- },
291
- funnel: {
292
- key: '/analysis/conversion/funnel'
293
- },
294
- pathAnalysis: {
295
- key: '/analysis/conversion/pathAnalysis'
296
- },
297
- revenue: {
298
- key: '/analysis/conversion/revenue'
299
- },
300
- stickiness: {
301
- key: '/analysis/conversion/stickiness'
302
- },
303
- user: {
304
- key: '/analysis/user'
305
- },
306
- cep: {
307
- key: '/analysis/cep'
308
- },
309
- userList: {
310
- key: '/analysis/user/userList'
311
- },
312
- userGroup: {
313
- key: '/analysis/user/userGroup'
314
- },
315
- userPortrait: {
316
- key: '/analysis/user/userPortrait'
317
- },
318
- custom: {
319
- key: '/analysis/custom'
320
- },
321
- diy: {
322
- key: '/analysis/custom/diy'
323
- },
324
- sqlQuery: {
325
- key: '/analysis/custom/sqlQuery'
326
- },
327
- advertisement: {
328
- key: '/advertisement'
329
- },
330
- sem: {
331
- key: '/advertisement/sem'
332
- },
333
- digital: {
334
- key: '/advertisement/digital'
335
- },
336
- landing: {
337
- key: '/advertisement/landing'
338
- },
339
- wechat: {
340
- key: '/wechat'
341
- },
342
- wxWhole: {
343
- key: '/wechat/wxWhole'
344
- },
345
- wxMini: {
346
- key: '/wechat/wxMini'
347
- },
348
- wxMarketing: {
349
- key: '/wechat/wxMarketing'
350
- },
351
- wxFlow: {
352
- key: '/wechat/wxFlow'
353
- },
354
- market: {
355
- key: '/market'
356
- },
357
- manage: {
358
- key: '/manage'
359
- },
360
- dataAccess: {
361
- key: '/manage/dataAccess'
362
- },
363
- guide: {
364
- key: '/manage/dataAccess/guide'
365
- },
366
- adChannel: {
367
- key: '/manage/dataAccess/adChannel'
368
- },
369
- eventTracking: {
370
- key: '/manage/eventTracking'
371
- },
372
- iteration: {
373
- key: '/manage/iteration'
374
- },
375
- debug: {
376
- key: '/manage/iteration/debug'
377
- },
378
- crash: {
379
- key: '/manage/iteration/crash'
380
- },
381
- version: {
382
- key: '/manage/iteration/version'
383
- },
384
- // 开始:zhuge 模块
385
- warning: {
386
- key: '/manage/warning'
387
- },
388
- diypage: {
389
- key: '/diypage'
390
- },
391
- // crossScreen: {
392
- // key: '/panel/crossScreen'
393
- // },
394
- // scene: {
395
- // key: '/scene'
396
- // },
397
- // userGrowth: {
398
- // key: '/scene/userGrowth'
399
- // },
400
- // 结束 :zhuge 模块
401
- config: {
402
- key: '/manage/config'
403
- },
404
- setting: {
405
- default: {
406
- describe: '设置',
407
- key: '/setting'
408
- },
409
- company: {
410
- describe: '公司设置',
411
- key: '/setting/company'
412
- },
413
- app: {
414
- describe: '应用设置',
415
- key: '/setting/app'
416
- },
417
- system: {
418
- describe: '系统设置',
419
- key: '/setting/system'
420
- }
421
- }
422
- };
423
222
  export default {
424
- mars: mars,
425
223
  standard: standard
426
224
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "1.2.2-node.0",
3
+ "version": "1.2.3-log.0",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -51,7 +51,7 @@
51
51
  "umi-request": "^1.4.0",
52
52
  "yorkie": "^2.0.0"
53
53
  },
54
- "gitHead": "791b7dce1b31a2c683d3225e84e0c51106b64b74",
54
+ "gitHead": "8795f2c712d13f07c98254839670a04fff325fac",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }