@zgfe/modules-settings 2.1.0-zhongyuan.2 → 2.1.0-zhongyuan.20

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 (32) hide show
  1. package/es/components/importMetaDialog/index.d.ts +2 -0
  2. package/es/components/importMetaDialog/index.js +18 -3
  3. package/es/constants/api.d.ts +4 -0
  4. package/es/constants/api.js +12 -7
  5. package/es/modules/companySetting/application/index.js +5 -6
  6. package/es/modules/companySetting/application/index.less +144 -144
  7. package/es/modules/companySetting/index.js +37 -33
  8. package/es/modules/companySetting/user/index.js +29 -24
  9. package/es/modules/companySetting/user/invite.js +3 -16
  10. package/es/modules/createDemand/demo/selectPoint.js +0 -1
  11. package/es/modules/createDemand/index.js +7 -6
  12. package/es/modules/createDemand/styles/index.less +403 -403
  13. package/es/modules/createDemand_bf/demo/index.js +0 -1
  14. package/es/modules/createDemand_bf/index.js +0 -1
  15. package/es/modules/dealDemand/demo/index.js +0 -1
  16. package/es/modules/dealDemand/index.js +0 -2
  17. package/es/modules/demandManage/styles/index.less +155 -155
  18. package/es/modules/pointMap/createMetaDrawer.js +78 -47
  19. package/es/modules/pointMap/pageInfo.js +28 -15
  20. package/es/modules/pointMap/styles/index.less +8 -0
  21. package/es/modules/pointMap/styles/tree.less +18 -0
  22. package/es/modules/pointMap/tree.js +191 -117
  23. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +26 -20
  24. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +3 -2
  25. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.js +10 -8
  26. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/type/index.d.ts +2 -2
  27. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.js +7 -9
  28. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +29 -16
  29. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.d.ts +1 -1
  30. package/es/modules/systemSetting/document-setting/index.js +7 -6
  31. package/es/modules/systemSetting/index.js +13 -15
  32. package/package.json +3 -3
@@ -7,5 +7,7 @@ declare const ImportModal: React.FC<{
7
7
  downloadTempleUrl: string;
8
8
  uploadFile: string;
9
9
  fileName?: string;
10
+ params?: any;
11
+ showHistory?: boolean;
10
12
  }>;
11
13
  export default ImportModal;
@@ -29,7 +29,7 @@ var ImportModal = function ImportModal(props) {
29
29
  errorLoc = _useState4[0],
30
30
  setErrorLoc = _useState4[1];
31
31
  var handleImportResultOk = function handleImportResultOk() {
32
- setOpenImportModalResult(false);
32
+ props.onSuccess && props.onSuccess({});
33
33
  setErrorLoc(undefined);
34
34
  };
35
35
  var _useState5 = useState(),
@@ -92,14 +92,29 @@ var ImportModal = function ImportModal(props) {
92
92
  var formData = new FormData();
93
93
  formData.append('appId', currentApp.appId);
94
94
  formData.append('file', fileData);
95
+ if (props.params) {
96
+ for (var key in props.params) {
97
+ formData.append(key, props.params[key]);
98
+ }
99
+ }
95
100
  setLoading(true);
96
101
  request(props.uploadFile, {
97
102
  method: 'post',
98
103
  data: formData
99
104
  }).then(function (res) {
100
105
  if (!res) return;
101
- message.success('导入成功');
102
- props.onSuccess && props.onSuccess(res.data);
106
+ //进入历史记录
107
+ if (props.showHistory && res.data) {
108
+ setOpenImportModalResult(true);
109
+ setErrorLoc({
110
+ successLocCount: res.data['导入成功条数'],
111
+ failedLocCount: res.data['导入失败条数'],
112
+ failedLocNames: res.data['导入失败标签名']
113
+ });
114
+ } else {
115
+ message.success('导入成功');
116
+ props.onSuccess && props.onSuccess(res.data);
117
+ }
103
118
  }).catch(function (e) {
104
119
  console.log(e);
105
120
  }).finally(function () {
@@ -118,18 +118,22 @@ declare let apis: {
118
118
  };
119
119
  dict: {
120
120
  getDictList: string;
121
+ getDictPage: string;
121
122
  dictSave: string;
122
123
  dictUpdate: string;
123
124
  dictUpload: string;
124
125
  dictDelete: string;
125
126
  dictTemplate: string;
126
127
  getTagList: string;
128
+ getTagPage: string;
127
129
  tagSave: string;
128
130
  tagUpdate: string;
129
131
  tagUpload: string;
130
132
  tagDownload: string;
131
133
  tagDelete: string;
132
134
  tagTemplate: string;
135
+ addLabelRelation: string;
136
+ delLabelRelation: string;
133
137
  };
134
138
  queryUserByCompanyId: string;
135
139
  flowSave: string;
@@ -145,20 +145,25 @@ var apis = {
145
145
  dict: {
146
146
  //字典管理
147
147
  getDictList: '/zg/web/v2/systemSettings/attr/dict/list',
148
+ getDictPage: '/zg/web/v2/systemSettings/attr/dict/listByPage',
148
149
  dictSave: '/zg/web/v2/systemSettings/attr/dict/save',
149
150
  dictUpdate: '/zg/web/v2/systemSettings/attr/dict/update',
150
151
  dictUpload: '/zg/web/v2/systemSettings/attr/dict/upload',
151
152
  dictDelete: '/zg/web/v2/systemSettings/attr/dict/delete',
152
153
  dictTemplate: '/zg/web/v2/systemSettings/attr/dict/template',
153
154
  //位置标签管理
154
- getTagList: '/zg/web/v2/label/eventLabel/list',
155
- tagSave: '/zg/web/v2/label/eventLabel/save',
156
- tagUpdate: '/zg/web/v2/label/eventLabel/update',
157
- tagUpload: '/zg/web/v2/label/eventLabel/upload',
158
- tagDownload: '/zg/web/v2/label/eventLabel/download',
159
- tagDelete: '/zg/web/v2/label/eventLabel/delete',
155
+ getTagList: '/zg/web/v2/eventLabel/list',
156
+ getTagPage: '/zg/web/v2/eventLabel/listByPage',
157
+ tagSave: '/zg/web/v2/eventLabel/save',
158
+ tagUpdate: '/zg/web/v2/eventLabel/update',
159
+ tagUpload: '/zg/web/v2/eventLabel/upload',
160
+ tagDownload: '/zg/web/v2/eventLabel/download',
161
+ tagDelete: '/zg/web/v2/eventLabel/delete',
160
162
  //标签模板
161
- tagTemplate: '/zg/web/v2/label/template'
163
+ tagTemplate: '/zg/web/v2/eventLabel/template',
164
+ //绑定
165
+ addLabelRelation: '/zg/web/v2/eventLabel/addLabelRelation',
166
+ delLabelRelation: '/zg/web/v2/eventLabel/delLabelRelation'
162
167
  },
163
168
  // 查询公司下所有用户
164
169
  queryUserByCompanyId: '/zg/web/v2/user/queryUserByCompanyId',
@@ -543,19 +543,18 @@ var Application = function Application(_ref) {
543
543
  case 12:
544
544
  message.success(res === null || res === void 0 ? void 0 : res.msg);
545
545
  setShowSetting(false);
546
- console.log(res);
547
- _context9.next = 21;
546
+ _context9.next = 20;
548
547
  break;
549
- case 17:
550
- _context9.prev = 17;
548
+ case 16:
549
+ _context9.prev = 16;
551
550
  _context9.t0 = _context9["catch"](0);
552
551
  console.log(_context9.t0);
553
552
  setShowSetting(false);
554
- case 21:
553
+ case 20:
555
554
  case "end":
556
555
  return _context9.stop();
557
556
  }
558
- }, _callee9, null, [[0, 17]]);
557
+ }, _callee9, null, [[0, 16]]);
559
558
  }));
560
559
  return function handleSettingSave() {
561
560
  return _ref7.apply(this, arguments);
@@ -1,144 +1,144 @@
1
- .application {
2
- height: 100%;
3
- min-height: 400px;
4
- overflow-x: hidden;
5
- overflow-y: auto;
6
-
7
- &-modal {
8
- .ant-modal-body {
9
- padding: 24px !important;
10
- }
11
- .ant-modal-confirm-body .ant-modal-confirm-title {
12
- color: #000;
13
- font-size: 24px;
14
- line-height: 24px;
15
- }
16
-
17
- .ant-modal-confirm-body .ant-modal-confirm-content {
18
- margin-top: 0;
19
- padding-top: 24px;
20
- }
21
-
22
- .ant-modal-close {
23
- padding-top: 8px;
24
- padding-right: 6px;
25
-
26
- &-x {
27
- color: #021429;
28
- font-size: 24px;
29
- }
30
- }
31
- }
32
-
33
- &-drawer {
34
- .ant-drawer-header-title {
35
- flex-direction: row-reverse;
36
- }
37
- }
38
-
39
- .bsicon {
40
- color: #9aa1a9;
41
- font-size: 16px !important;
42
- }
43
- .bsicon:hover {
44
- color: var(--io-i-, #165dff);
45
- }
46
-
47
- .bsicon.shanchu:hover {
48
- color: #fb5547;
49
- }
50
-
51
- .zhuge.icon-shanchu:hover {
52
- color: #fb5547;
53
- }
54
-
55
- &-alert-info {
56
- background-color: #e6f7ff;
57
- border: 1px solid #91d5ff;
58
- border-radius: 2px;
59
- }
60
-
61
- &-form {
62
- display: flex;
63
- align-items: center;
64
- justify-content: space-between;
65
-
66
- &-item {
67
- display: flex;
68
- gap: 8px;
69
- align-items: center;
70
-
71
- .bsicon {
72
- color: #fd9f41;
73
- }
74
-
75
- .bsicon:hover {
76
- color: var(--io-i-, #fd9f41);
77
- }
78
- }
79
-
80
- .ant-btn-sm {
81
- height: 32px;
82
- padding: 4px 16px;
83
- }
84
- }
85
-
86
- .ant-divider-horizontal {
87
- margin: 14px 0;
88
- }
89
-
90
- .biz-loading-container.loading {
91
- margin-top: 100px;
92
- }
93
-
94
- &-disabled,
95
- &-disabled:hover,
96
- &-disabled:focus {
97
- cursor: not-allowed !important;
98
- }
99
-
100
- .ant-btn-primary[disabled],
101
- .ant-btn-primary[disabled]:hover,
102
- .ant-btn-primary[disabled]:focus,
103
- .ant-btn-primary[disabled]:active {
104
- color: #fff;
105
- background: var(--io-i2-, #d0dfff);
106
- border: 1px solid #d0dfff;
107
- }
108
-
109
- .settings-card {
110
- gap: 6px;
111
- height: 120px;
112
- }
113
- &-rowContent {
114
- height: calc(100vh - 302px);
115
- overflow: overlay;
116
- }
117
- &-contentList-label {
118
- display: grid;
119
- grid-template-columns: 230px repeat(4, minmax(90px, 1fr)) 135px 90px 260px;
120
- align-items: center;
121
- padding-right: 14px;
122
- border-bottom: 1px solid #ecedf0;
123
- }
124
- &-contentList-item-name {
125
- color: #000;
126
- font-weight: bold;
127
- font-size: 14px;
128
- }
129
- &-contentList-item-status-icon0,
130
- &-contentList-item-status-icon1 {
131
- display: inline-block;
132
- width: 6px;
133
- height: 6px;
134
- margin-right: 3px;
135
- border-radius: 50%;
136
- transform: translateY(-1px);
137
- }
138
- &-contentList-item-status-icon0 {
139
- background: #67727f;
140
- }
141
- &-contentList-item-status-icon1 {
142
- background: #165dff;
143
- }
144
- }
1
+ .application {
2
+ height: 100%;
3
+ min-height: 400px;
4
+ overflow-x: hidden;
5
+ overflow-y: auto;
6
+
7
+ &-modal {
8
+ .ant-modal-body {
9
+ padding: 24px !important;
10
+ }
11
+ .ant-modal-confirm-body .ant-modal-confirm-title {
12
+ color: #000;
13
+ font-size: 24px;
14
+ line-height: 24px;
15
+ }
16
+
17
+ .ant-modal-confirm-body .ant-modal-confirm-content {
18
+ margin-top: 0;
19
+ padding-top: 24px;
20
+ }
21
+
22
+ .ant-modal-close {
23
+ padding-top: 8px;
24
+ padding-right: 6px;
25
+
26
+ &-x {
27
+ color: #021429;
28
+ font-size: 24px;
29
+ }
30
+ }
31
+ }
32
+
33
+ &-drawer {
34
+ .ant-drawer-header-title {
35
+ flex-direction: row-reverse;
36
+ }
37
+ }
38
+
39
+ .bsicon {
40
+ color: #9aa1a9;
41
+ font-size: 16px !important;
42
+ }
43
+ .bsicon:hover {
44
+ color: var(--io-i-, #165dff);
45
+ }
46
+
47
+ .bsicon.shanchu:hover {
48
+ color: #fb5547;
49
+ }
50
+
51
+ .zhuge.icon-shanchu:hover {
52
+ color: #fb5547;
53
+ }
54
+
55
+ &-alert-info {
56
+ background-color: #e6f7ff;
57
+ border: 1px solid #91d5ff;
58
+ border-radius: 2px;
59
+ }
60
+
61
+ &-form {
62
+ display: flex;
63
+ align-items: center;
64
+ justify-content: space-between;
65
+
66
+ &-item {
67
+ display: flex;
68
+ gap: 8px;
69
+ align-items: center;
70
+
71
+ .bsicon {
72
+ color: #fd9f41;
73
+ }
74
+
75
+ .bsicon:hover {
76
+ color: var(--io-i-, #fd9f41);
77
+ }
78
+ }
79
+
80
+ .ant-btn-sm {
81
+ height: 32px;
82
+ padding: 4px 16px;
83
+ }
84
+ }
85
+
86
+ .ant-divider-horizontal {
87
+ margin: 14px 0;
88
+ }
89
+
90
+ .biz-loading-container.loading {
91
+ margin-top: 100px;
92
+ }
93
+
94
+ &-disabled,
95
+ &-disabled:hover,
96
+ &-disabled:focus {
97
+ cursor: not-allowed !important;
98
+ }
99
+
100
+ .ant-btn-primary[disabled],
101
+ .ant-btn-primary[disabled]:hover,
102
+ .ant-btn-primary[disabled]:focus,
103
+ .ant-btn-primary[disabled]:active {
104
+ color: #fff;
105
+ background: var(--io-i2-, #d0dfff);
106
+ border: 1px solid #d0dfff;
107
+ }
108
+
109
+ .settings-card {
110
+ gap: 6px;
111
+ height: 120px;
112
+ }
113
+ &-rowContent {
114
+ height: calc(100vh - 302px);
115
+ overflow: overlay;
116
+ }
117
+ &-contentList-label {
118
+ display: grid;
119
+ grid-template-columns: 230px repeat(4, minmax(90px, 1fr)) 135px 90px 260px;
120
+ align-items: center;
121
+ padding-right: 14px;
122
+ border-bottom: 1px solid #ecedf0;
123
+ }
124
+ &-contentList-item-name {
125
+ color: #000;
126
+ font-weight: bold;
127
+ font-size: 14px;
128
+ }
129
+ &-contentList-item-status-icon0,
130
+ &-contentList-item-status-icon1 {
131
+ display: inline-block;
132
+ width: 6px;
133
+ height: 6px;
134
+ margin-right: 3px;
135
+ border-radius: 50%;
136
+ transform: translateY(-1px);
137
+ }
138
+ &-contentList-item-status-icon0 {
139
+ background: #67727f;
140
+ }
141
+ &-contentList-item-status-icon1 {
142
+ background: #165dff;
143
+ }
144
+ }
@@ -18,13 +18,10 @@ import React, { useContext, useEffect, useState } from 'react';
18
18
  import './index.less';
19
19
  import { BizGlobalDataContext } from '@zgfe/business-lib';
20
20
  import { Tabs } from 'antd';
21
- import Info from './info';
22
21
  import User from './user';
23
22
  import VirtualApp from './virtualApp';
24
- import Cost from './cost';
25
23
  import WechatBinding from './wechatBinding';
26
24
  import OperationLog from './operationLog';
27
- import DepartmentList from './department';
28
25
  import RoleList from './role';
29
26
  import Business from './business';
30
27
  import Application from './application';
@@ -59,7 +56,7 @@ var CompanySetting = function CompanySetting(props) {
59
56
  var _useState7 = useState(false),
60
57
  _useState8 = _slicedToArray(_useState7, 2),
61
58
  setIsShowCreateApp = _useState8[1];
62
- var _useState9 = useState(currentPath ? currentPath : 'info'),
59
+ var _useState9 = useState(currentPath ? currentPath : 'user'),
63
60
  _useState10 = _slicedToArray(_useState9, 2),
64
61
  activeKey = _useState10[0],
65
62
  setActiveKey = _useState10[1]; // 默认值
@@ -157,17 +154,21 @@ var CompanySetting = function CompanySetting(props) {
157
154
  }
158
155
  }));
159
156
  };
160
- var items = [{
161
- key: 'info',
162
- label: '公司信息',
163
- children: (/*#__PURE__*/React.createElement(Info, {
164
- ENVIRONMENT: ENVIRONMENT,
165
- companyId: currentUser.companyId,
166
- companyName: currentUser.companyName,
167
- changeCompanyNameCallback: changeCompanyNameCallback
168
- })),
169
- hidden: !authority[10078]
170
- }, {
157
+ var items = [
158
+ // {
159
+ // key: 'info',
160
+ // label: '公司信息',
161
+ // children: (
162
+ // <Info
163
+ // ENVIRONMENT={ENVIRONMENT}
164
+ // companyId={currentUser!.companyId as number}
165
+ // companyName={currentUser!.companyName}
166
+ // changeCompanyNameCallback={changeCompanyNameCallback}
167
+ // />
168
+ // ),
169
+ // hidden: !authority[10078],
170
+ // },
171
+ {
171
172
  key: 'user',
172
173
  label: '成员管理',
173
174
  children: (/*#__PURE__*/React.createElement(User, {
@@ -196,15 +197,19 @@ var CompanySetting = function CompanySetting(props) {
196
197
  companyId: currentUser.companyId
197
198
  }),
198
199
  hidden: !authority[10080]
199
- }, {
200
- key: 'department',
201
- label: '部门管理',
202
- children: (/*#__PURE__*/React.createElement(DepartmentList, {
203
- companyId: currentUser.companyId,
204
- closeCreateCallback: closeCreateCallback
205
- })),
206
- hidden: !authority[10081]
207
- }, {
200
+ },
201
+ // {
202
+ // key: 'department',
203
+ // label: '部门管理',
204
+ // children: (
205
+ // <DepartmentList
206
+ // companyId={currentUser!.companyId as number}
207
+ // closeCreateCallback={closeCreateCallback}
208
+ // />
209
+ // ),
210
+ // hidden: !authority[10081],
211
+ // },
212
+ {
208
213
  key: 'business',
209
214
  label: '业务',
210
215
  children: /*#__PURE__*/React.createElement(Business, {
@@ -233,15 +238,14 @@ var CompanySetting = function CompanySetting(props) {
233
238
  editVirtualAppCallback: editVirtualAppCallback
234
239
  })),
235
240
  hidden: !showVirtualApp
236
- }, {
237
- key: 'cost',
238
- label: '套餐',
239
- children: /*#__PURE__*/React.createElement(Cost, {
240
- ENVIRONMENT: ENVIRONMENT,
241
- companyId: currentUser.companyId
242
- }),
243
- hidden: !authority[10083]
244
- }, {
241
+ },
242
+ // {
243
+ // key: 'cost',
244
+ // label: '套餐',
245
+ // children: <Cost ENVIRONMENT={ENVIRONMENT} companyId={currentUser!.companyId as number} />,
246
+ // hidden: !authority[10083],
247
+ // },
248
+ {
245
249
  key: 'weChatBinding',
246
250
  label: '微信账号绑定',
247
251
  children: /*#__PURE__*/React.createElement(WechatBinding, null),
@@ -360,30 +360,35 @@ var User = function User(props) {
360
360
  title: arr === null || arr === void 0 ? void 0 : (_arr$join = arr.join(',')) === null || _arr$join === void 0 ? void 0 : _arr$join.replace(/,/g, '、')
361
361
  }, splitString(arr === null || arr === void 0 ? void 0 : (_arr$join2 = arr.join(',')) === null || _arr$join2 === void 0 ? void 0 : _arr$join2.replace(/,/g, '、'), 8)));
362
362
  }
363
- }, {
364
- title: '部门',
365
- with: 195,
366
- dataIndex: 'aclDeptList',
367
- render: function render(aclDeptList) {
368
- var _arr$join3, _arr$join4;
369
- var arr = aclDeptList === null || aclDeptList === void 0 ? void 0 : aclDeptList.map(function (item) {
370
- return item === null || item === void 0 ? void 0 : item.name;
371
- });
372
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Tooltip, {
373
- overlayStyle: {
374
- maxWidth: 396
375
- },
376
- overlayInnerStyle: {
377
- color: '#FFF',
378
- fontSize: 14,
379
- fontWeight: 400,
380
- letterSpacing: 0.56
381
- },
382
- placement: "top",
383
- title: arr === null || arr === void 0 ? void 0 : (_arr$join3 = arr.join(',')) === null || _arr$join3 === void 0 ? void 0 : _arr$join3.replace(/,/g, '、')
384
- }, splitString(arr === null || arr === void 0 ? void 0 : (_arr$join4 = arr.join(',')) === null || _arr$join4 === void 0 ? void 0 : _arr$join4.replace(/,/g, '、'), 8)));
385
- }
386
- }, {
363
+ },
364
+ // {
365
+ // title: '部门',
366
+ // with: 195,
367
+ // dataIndex: 'aclDeptList',
368
+ // render: (aclDeptList: []) => {
369
+ // const arr = aclDeptList?.map((item: { name: string }) => {
370
+ // return item?.name;
371
+ // });
372
+ // return (
373
+ // <div>
374
+ // <Tooltip
375
+ // overlayStyle={{ maxWidth: 396 }}
376
+ // overlayInnerStyle={{
377
+ // color: '#FFF',
378
+ // fontSize: 14,
379
+ // fontWeight: 400,
380
+ // letterSpacing: 0.56,
381
+ // }}
382
+ // placement="top"
383
+ // title={arr?.join(',')?.replace(/,/g, '、')}
384
+ // >
385
+ // {splitString(arr?.join(',')?.replace(/,/g, '、'), 8)}
386
+ // </Tooltip>
387
+ // </div>
388
+ // );
389
+ // },
390
+ // },
391
+ {
387
392
  title: '状态',
388
393
  render: function render(data) {
389
394
  return /*#__PURE__*/React.createElement("div", null, !data.isAdmin && (/*#__PURE__*/React.createElement(Switch, {
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
12
12
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
13
13
  import React, { useEffect, useState, useContext } from 'react';
14
14
  import './index.less';
15
- import { Button, Form, Input, notification, Radio, Select, TreeSelect } from 'antd';
15
+ import { Button, Form, Input, notification, Radio, Select } from 'antd';
16
16
  import request from './../../../utils/ajax';
17
17
  import apis from './../../../constants/api';
18
18
  import { BizDialog, BizSelect, BizGlobalDataContext } from '@zgfe/business-lib';
@@ -63,7 +63,7 @@ var UserGroup = function UserGroup(props) {
63
63
  // 角色下拉数据
64
64
  queryRoleListByUserIdList(userEditAuthData === null || userEditAuthData === void 0 ? void 0 : userEditAuthData.id);
65
65
  // 部门下拉数据
66
- queryDeptListByUserIdList(userEditAuthData === null || userEditAuthData === void 0 ? void 0 : userEditAuthData.id);
66
+ // queryDeptListByUserIdList(userEditAuthData?.id);
67
67
  }
68
68
  }, [userEditAuthData === null || userEditAuthData === void 0 ? void 0 : userEditAuthData.id]);
69
69
  useEffect(function () {
@@ -75,7 +75,7 @@ var UserGroup = function UserGroup(props) {
75
75
  // 角色下拉数据
76
76
  queryRoleListByUserIdList(null);
77
77
  // 部门下拉数据
78
- queryDeptListByUserIdList(null);
78
+ // queryDeptListByUserIdList(null);
79
79
  }, [companyId]);
80
80
  // 查看详情
81
81
  var queryCompanyUserDetailsParamList = function queryCompanyUserDetailsParamList(id) {
@@ -348,19 +348,6 @@ var UserGroup = function UserGroup(props) {
348
348
  placeholder: '请选择角色',
349
349
  labelField: "roleName",
350
350
  keyField: "id"
351
- })), /*#__PURE__*/React.createElement(Form.Item, {
352
- name: 'deptIds',
353
- label: "\u90E8\u95E8",
354
- className: "no-rules-label"
355
- }, /*#__PURE__*/React.createElement(TreeSelect, {
356
- treeDefaultExpandAll: true,
357
- multiple: true,
358
- fieldNames: {
359
- label: 'name',
360
- value: 'id'
361
- },
362
- placeholder: "\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8",
363
- treeData: departmentList
364
351
  })), !isAdmin && (/*#__PURE__*/React.createElement(Form.Item, {
365
352
  name: 'accountStatus',
366
353
  label: "\u72B6\u6001",
@@ -32,7 +32,6 @@ export default (function (props) {
32
32
  };
33
33
  var initFun = function initFun(callbackFun, data) {
34
34
  pointMapCallbackFun = callbackFun;
35
- console.log('initFun', data);
36
35
  setSelectObj(data && data.eventId ? {
37
36
  selectEventList: [{
38
37
  event_id: data.eventId,