@zgfe/modules-settings 2.0.0-zhongyuan.0 → 2.0.0-zhongyuan.10
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.
- package/es/modules/companySetting/user/index.js +10 -3
- package/es/modules/companySetting/user/index.less +363 -363
- package/es/modules/companySetting/user/invite.js +19 -0
- package/es/modules/demandManage/index.js +17 -2
- package/es/modules/demandManage/styles/index.less +215 -210
- package/es/modules/messageList/index.js +4 -4
- package/es/modules/personalSetting/info/index.js +16 -1
- package/es/modules/pointMap/styles/tree.css +145 -142
- package/es/modules/pointMap/styles/tree.less +149 -146
- package/es/modules/pointMap/tree.js +6 -4
- package/es/modules/systemSetting/Dictionary.js +1 -1
- package/es/modules/systemSetting/document-setting/index.js +88 -50
- package/es/modules/systemSetting/index.css +161 -161
- package/es/modules/systemSetting/index.js +6 -7
- package/es/modules/systemSetting/index.less +169 -169
- package/es/types/personal.d.ts +1 -0
- package/package.json +2 -2
|
@@ -25,15 +25,16 @@ var Dragger = Upload.Dragger;
|
|
|
25
25
|
var pageName = 'DocumentSetting';
|
|
26
26
|
var confirm = Modal.confirm;
|
|
27
27
|
var beforeUpload = function beforeUpload(file) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
// const isJpgOrPng =
|
|
29
|
+
// file.type == 'application/x-zip-compressed' || file.type == 'application/x-compressed';
|
|
30
|
+
// if (!isJpgOrPng) {
|
|
31
|
+
// message.error('只能传入是ZIP或者RAR文件');
|
|
32
|
+
// }
|
|
32
33
|
var isLt2M = file.size / 1024 / 1024 < 100;
|
|
33
34
|
if (!isLt2M) {
|
|
34
35
|
message.error('文件不能大于100M');
|
|
35
36
|
}
|
|
36
|
-
return
|
|
37
|
+
return isLt2M;
|
|
37
38
|
};
|
|
38
39
|
var downloadFile = function downloadFile(resData, name) {
|
|
39
40
|
var blob = resData.data;
|
|
@@ -53,16 +54,20 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
53
54
|
var _useContext = useContext(BizGlobalDataContext),
|
|
54
55
|
projectList = _useContext.projectList,
|
|
55
56
|
currentUser = _useContext.currentUser;
|
|
56
|
-
console.log(currentUser, 'currentUser');
|
|
57
57
|
var _useState = useState([]),
|
|
58
58
|
_useState2 = _slicedToArray(_useState, 2),
|
|
59
59
|
documentList = _useState2[0],
|
|
60
60
|
setDocumentList = _useState2[1];
|
|
61
|
+
var _useState3 = useState([]),
|
|
62
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
63
|
+
newDocumentList = _useState4[0],
|
|
64
|
+
setNewDocumentList = _useState4[1];
|
|
61
65
|
var currentObj = useRef();
|
|
62
66
|
var columns = [{
|
|
63
67
|
title: '序号',
|
|
64
68
|
dataIndex: 'index',
|
|
65
69
|
key: 'index',
|
|
70
|
+
width: 80,
|
|
66
71
|
render: function render(_, obj, index) {
|
|
67
72
|
return index + 1;
|
|
68
73
|
}
|
|
@@ -74,6 +79,7 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
74
79
|
title: '创建时间',
|
|
75
80
|
dataIndex: 'createdTime',
|
|
76
81
|
key: 'createdTime',
|
|
82
|
+
width: 200,
|
|
77
83
|
sorter: function sorter(a, b) {
|
|
78
84
|
return moment(b.createdTime).valueOf() - moment(a.createdTime).valueOf();
|
|
79
85
|
},
|
|
@@ -83,6 +89,7 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
83
89
|
}, {
|
|
84
90
|
title: '操作',
|
|
85
91
|
key: 'operation',
|
|
92
|
+
width: 170,
|
|
86
93
|
render: function render(_, record) {
|
|
87
94
|
return /*#__PURE__*/React.createElement(Space, {
|
|
88
95
|
size: "middle"
|
|
@@ -162,47 +169,57 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
162
169
|
}
|
|
163
170
|
});
|
|
164
171
|
};
|
|
165
|
-
var
|
|
166
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
167
|
-
documentFlagLoading = _useState4[0],
|
|
168
|
-
setDocumentFlagLoading = _useState4[1];
|
|
169
|
-
var _useState5 = useState(''),
|
|
172
|
+
var _useState5 = useState(false),
|
|
170
173
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
var _useState7 = useState(false),
|
|
174
|
+
documentFlagLoading = _useState6[0],
|
|
175
|
+
setDocumentFlagLoading = _useState6[1];
|
|
176
|
+
var _useState7 = useState(''),
|
|
175
177
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
176
|
-
|
|
177
|
-
|
|
178
|
+
searchValue = _useState8[0],
|
|
179
|
+
setSearchValue = _useState8[1];
|
|
180
|
+
// 文件上传
|
|
181
|
+
var _useState9 = useState(false),
|
|
182
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
183
|
+
isOpenUploadModal = _useState10[0],
|
|
184
|
+
setIsOpenUploadModal = _useState10[1];
|
|
178
185
|
var handleValueCancel = function handleValueCancel() {
|
|
186
|
+
setFileList(undefined);
|
|
179
187
|
setIsOpenUploadModal(false);
|
|
180
188
|
setDocumentFlagLoading(false);
|
|
181
189
|
};
|
|
182
|
-
var
|
|
183
|
-
|
|
184
|
-
fileList =
|
|
185
|
-
setFileList =
|
|
190
|
+
var _useState11 = useState(),
|
|
191
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
192
|
+
fileList = _useState12[0],
|
|
193
|
+
setFileList = _useState12[1];
|
|
186
194
|
var props = {
|
|
187
195
|
name: 'file',
|
|
188
|
-
|
|
196
|
+
maxCount: 1,
|
|
197
|
+
accept: '.zip,.rar,.7z',
|
|
189
198
|
beforeUpload: beforeUpload,
|
|
190
199
|
onChange: function onChange(info) {
|
|
191
200
|
var status = info.file.status;
|
|
192
201
|
if (status !== 'uploading') {
|
|
193
|
-
|
|
202
|
+
if (info.fileList.length > 0) {
|
|
203
|
+
setFileList(info.fileList[0].originFileObj);
|
|
204
|
+
}
|
|
194
205
|
}
|
|
195
|
-
if (status
|
|
196
|
-
setFileList(
|
|
197
|
-
} else if (status === 'error') {
|
|
198
|
-
message.error("".concat(info.file.name, " file upload failed."));
|
|
206
|
+
if (status == 'removed') {
|
|
207
|
+
setFileList(undefined);
|
|
199
208
|
}
|
|
209
|
+
// if (status === 'done') {
|
|
210
|
+
// } else if (status === 'error') {
|
|
211
|
+
// message.error(`${info.file.name} file upload failed.`);
|
|
212
|
+
// }
|
|
200
213
|
},
|
|
201
214
|
onDrop: function onDrop(e) {
|
|
202
215
|
console.log('Dropped files', e.dataTransfer.files);
|
|
203
216
|
}
|
|
204
217
|
};
|
|
205
218
|
var saveFile = function saveFile() {
|
|
219
|
+
if (!fileList) {
|
|
220
|
+
message.error('请选择上传的文件');
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
206
223
|
var formData = new FormData();
|
|
207
224
|
formData.append('file', fileList);
|
|
208
225
|
request(apis.setting.uploadDocumentFile, {
|
|
@@ -220,26 +237,26 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
220
237
|
});
|
|
221
238
|
};
|
|
222
239
|
// 共享 分享类型 1指定应用 2指定成员 3仅自己 4所有成员
|
|
223
|
-
var
|
|
224
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
225
|
-
isOpenShareModal = _useState12[0],
|
|
226
|
-
setIsOpenShareModal = _useState12[1];
|
|
227
|
-
var _useState13 = useState(),
|
|
240
|
+
var _useState13 = useState(false),
|
|
228
241
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
var _useState15 = useState(
|
|
242
|
+
isOpenShareModal = _useState14[0],
|
|
243
|
+
setIsOpenShareModal = _useState14[1];
|
|
244
|
+
var _useState15 = useState(4),
|
|
232
245
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
233
|
-
|
|
234
|
-
|
|
246
|
+
currentShareType = _useState16[0],
|
|
247
|
+
setCurrentShareType = _useState16[1];
|
|
235
248
|
var _useState17 = useState([]),
|
|
236
249
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
237
|
-
|
|
238
|
-
|
|
250
|
+
adminOptionList = _useState18[0],
|
|
251
|
+
setAdminOptionList = _useState18[1]; // 成员列表
|
|
239
252
|
var _useState19 = useState([]),
|
|
240
253
|
_useState20 = _slicedToArray(_useState19, 2),
|
|
241
|
-
|
|
242
|
-
|
|
254
|
+
currentAppArr = _useState20[0],
|
|
255
|
+
setCurrentAppArr = _useState20[1]; // 选中的应用id
|
|
256
|
+
var _useState21 = useState([]),
|
|
257
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
258
|
+
currentUserArr = _useState22[0],
|
|
259
|
+
setCurrentUserArr = _useState22[1]; // 选中的成员id
|
|
243
260
|
var handleShareCancel = function handleShareCancel() {
|
|
244
261
|
setIsOpenShareModal(false);
|
|
245
262
|
setCurrentUserArr([]);
|
|
@@ -294,16 +311,30 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
294
311
|
};
|
|
295
312
|
var saveShare = function saveShare() {
|
|
296
313
|
var _currentObj$current4;
|
|
314
|
+
var currentId = undefined;
|
|
315
|
+
if (currentShareType == 1) {
|
|
316
|
+
// 应用
|
|
317
|
+
var a = projectList.filter(function (o) {
|
|
318
|
+
return currentAppArr.includes(o.projectId);
|
|
319
|
+
});
|
|
320
|
+
currentId = a.map(function (o) {
|
|
321
|
+
var _o$appList, _o$appList$;
|
|
322
|
+
return (_o$appList = o.appList) === null || _o$appList === void 0 ? void 0 : (_o$appList$ = _o$appList[0]) === null || _o$appList$ === void 0 ? void 0 : _o$appList$.appId;
|
|
323
|
+
});
|
|
324
|
+
} else if (currentShareType == 2) {
|
|
325
|
+
// 用户
|
|
326
|
+
currentId = currentUserArr;
|
|
327
|
+
}
|
|
297
328
|
request(apis.setting.shareAPP, {
|
|
298
329
|
method: 'post',
|
|
299
330
|
data: {
|
|
300
331
|
type: currentShareType,
|
|
301
332
|
id: (_currentObj$current4 = currentObj.current) === null || _currentObj$current4 === void 0 ? void 0 : _currentObj$current4.id,
|
|
302
|
-
shareIds:
|
|
333
|
+
shareIds: currentId
|
|
303
334
|
}
|
|
304
335
|
}).then(function (res) {
|
|
305
336
|
if (res && (res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
306
|
-
message.
|
|
337
|
+
message.success('分享成功!');
|
|
307
338
|
handleShareCancel();
|
|
308
339
|
} else {
|
|
309
340
|
message.error('查询失败,联系管理员');
|
|
@@ -312,7 +343,12 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
312
343
|
setDocumentFlagLoading(false);
|
|
313
344
|
});
|
|
314
345
|
};
|
|
315
|
-
|
|
346
|
+
useEffect(function () {
|
|
347
|
+
var searchList = searchValue ? documentList.filter(function (o) {
|
|
348
|
+
return o.name.includes(searchValue);
|
|
349
|
+
}) : documentList;
|
|
350
|
+
setNewDocumentList(searchList);
|
|
351
|
+
}, [documentList, searchValue]);
|
|
316
352
|
return /*#__PURE__*/React.createElement("div", {
|
|
317
353
|
className: "".concat(pageName),
|
|
318
354
|
id: "DocumentSetting1",
|
|
@@ -346,9 +382,9 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
346
382
|
value: searchValue,
|
|
347
383
|
onChange: function onChange(e) {
|
|
348
384
|
(e === null || e === void 0 ? void 0 : e.target) && setSearchValue(function () {
|
|
349
|
-
var _e$target
|
|
350
|
-
getFileList(e
|
|
351
|
-
return e === null || e === void 0 ? void 0 : (_e$
|
|
385
|
+
var _e$target;
|
|
386
|
+
// getFileList(e?.target?.value);
|
|
387
|
+
return e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value;
|
|
352
388
|
});
|
|
353
389
|
}
|
|
354
390
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
@@ -357,14 +393,16 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
357
393
|
return setIsOpenUploadModal(true);
|
|
358
394
|
}
|
|
359
395
|
}, "\u4E0A\u4F20")), /*#__PURE__*/React.createElement(Table, {
|
|
396
|
+
key: 'id',
|
|
360
397
|
columns: columns,
|
|
361
398
|
loading: documentFlagLoading,
|
|
362
|
-
dataSource:
|
|
399
|
+
dataSource: newDocumentList,
|
|
363
400
|
pagination: false
|
|
364
401
|
}))), /*#__PURE__*/React.createElement(Modal, {
|
|
365
402
|
title: "\u4E0A\u4F20",
|
|
366
403
|
okText: "\u786E\u5B9A",
|
|
367
404
|
cancelText: "\u53D6\u6D88",
|
|
405
|
+
destroyOnClose: true,
|
|
368
406
|
open: isOpenUploadModal,
|
|
369
407
|
onCancel: handleValueCancel,
|
|
370
408
|
onOk: saveFile
|
|
@@ -407,9 +445,9 @@ var DocumentSetting = function DocumentSetting() {
|
|
|
407
445
|
size: 20
|
|
408
446
|
}, /*#__PURE__*/React.createElement(Radio, {
|
|
409
447
|
value: 4
|
|
410
|
-
}, "\u6240\
|
|
448
|
+
}, "\u6240\u6709\u6210\u5458"), /*#__PURE__*/React.createElement(Radio, {
|
|
411
449
|
value: 1
|
|
412
|
-
}, "\u6307\u5B9A\u5E94\u7528\uFF08\u6240\u6709\u62E5\u6709\u8BE5\u5E94\u7528\u6743\u9650\u7684\u89D2\u8272\uFF09"), currentShareType == 1 ? (/*#__PURE__*/React.createElement(React.Fragment, null, currentAppArr.length >
|
|
450
|
+
}, "\u6307\u5B9A\u5E94\u7528\uFF08\u6240\u6709\u62E5\u6709\u8BE5\u5E94\u7528\u6743\u9650\u7684\u89D2\u8272\uFF09"), currentShareType == 1 ? (/*#__PURE__*/React.createElement(React.Fragment, null, currentAppArr.length > 0 ? (/*#__PURE__*/React.createElement(Tooltip, {
|
|
413
451
|
title: function title() {
|
|
414
452
|
return projectList.filter(function (o) {
|
|
415
453
|
return currentAppArr.includes(o.projectId);
|
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
.system-setting-approval-process-create-bg {
|
|
2
|
-
position: absolute;
|
|
3
|
-
top: 0;
|
|
4
|
-
right: 0;
|
|
5
|
-
bottom: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
z-index: 10;
|
|
8
|
-
background: #fafafb;
|
|
9
|
-
}
|
|
10
|
-
.authUrlPageClass-search {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
margin: 0px 0px 16px;
|
|
15
|
-
}
|
|
16
|
-
.DictionaryPage-emptyDom {
|
|
17
|
-
margin: 50px 0px 0px;
|
|
18
|
-
text-align: center;
|
|
19
|
-
}
|
|
20
|
-
.DictionaryPage-emptyDom-img {
|
|
21
|
-
display: block;
|
|
22
|
-
width: 248px;
|
|
23
|
-
height: 200px;
|
|
24
|
-
margin: auto;
|
|
25
|
-
background-image: url('img/empty-data.png');
|
|
26
|
-
background-size: 100%;
|
|
27
|
-
}
|
|
28
|
-
.DictionaryPage-emptyDom-tip {
|
|
29
|
-
margin: 0px 0px 10px;
|
|
30
|
-
color: #999;
|
|
31
|
-
}
|
|
32
|
-
.DictionaryPage .ant-tabs-nav {
|
|
33
|
-
padding-right: 10%;
|
|
34
|
-
}
|
|
35
|
-
.DictionaryPage-header {
|
|
36
|
-
position: relative;
|
|
37
|
-
}
|
|
38
|
-
.DictionaryPage-header-search {
|
|
39
|
-
display: flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
justify-content: space-between;
|
|
42
|
-
margin: 0px 0px 16px;
|
|
43
|
-
}
|
|
44
|
-
.DictionaryPage-header-search .ant-btn {
|
|
45
|
-
color: #407fff;
|
|
46
|
-
border-color: #407fff;
|
|
47
|
-
}
|
|
48
|
-
.DictionaryPage-tabsRight-text {
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: 13%;
|
|
51
|
-
right: 0;
|
|
52
|
-
width: 10%;
|
|
53
|
-
color: #165dff;
|
|
54
|
-
text-align: center;
|
|
55
|
-
vertical-align: middle;
|
|
56
|
-
border-left: 1px solid #ccc;
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
}
|
|
59
|
-
.DictionaryPage-modal {
|
|
60
|
-
color: #021429;
|
|
61
|
-
}
|
|
62
|
-
.DictionaryPage-modal-header {
|
|
63
|
-
height: 50px;
|
|
64
|
-
padding: 0px 16px;
|
|
65
|
-
line-height: 50px;
|
|
66
|
-
background-color: #f2f3f4;
|
|
67
|
-
}
|
|
68
|
-
.DictionaryPage-modal-header-left {
|
|
69
|
-
display: inline-block;
|
|
70
|
-
width: 80%;
|
|
71
|
-
vertical-align: middle;
|
|
72
|
-
}
|
|
73
|
-
.DictionaryPage-modal-header-operation {
|
|
74
|
-
display: inline-block;
|
|
75
|
-
width: 20%;
|
|
76
|
-
text-align: center;
|
|
77
|
-
vertical-align: middle;
|
|
78
|
-
}
|
|
79
|
-
.DictionaryPage-modal .ant-input-affix-wrapper {
|
|
80
|
-
vertical-align: middle;
|
|
81
|
-
}
|
|
82
|
-
.DictionaryPage-modal .DictionaryPage-modal-content {
|
|
83
|
-
padding: 10px 16px 0px;
|
|
84
|
-
}
|
|
85
|
-
.DictionaryPage-modal-content {
|
|
86
|
-
height: 292px;
|
|
87
|
-
overflow-y: auto;
|
|
88
|
-
}
|
|
89
|
-
.DictionaryPage-modal-content-item {
|
|
90
|
-
display: flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
height: 50px;
|
|
93
|
-
line-height: 50px;
|
|
94
|
-
border-bottom: 1px solid #f2f3f4;
|
|
95
|
-
}
|
|
96
|
-
.DictionaryPage-modal-content-itemLeft {
|
|
97
|
-
position: relative;
|
|
98
|
-
display: inline-block;
|
|
99
|
-
flex: 1;
|
|
100
|
-
height: 100%;
|
|
101
|
-
}
|
|
102
|
-
.DictionaryPage-modal-content-itemLeft .error-tip {
|
|
103
|
-
position: absolute;
|
|
104
|
-
bottom: -28px;
|
|
105
|
-
left: 3px;
|
|
106
|
-
width: 100%;
|
|
107
|
-
color: red;
|
|
108
|
-
font-size: 14px;
|
|
109
|
-
letter-spacing: 1px;
|
|
110
|
-
}
|
|
111
|
-
.DictionaryPage-modal-content-itemRight {
|
|
112
|
-
display: inline-block;
|
|
113
|
-
width: 40px;
|
|
114
|
-
color: #165dff;
|
|
115
|
-
text-align: center;
|
|
116
|
-
cursor: pointer;
|
|
117
|
-
}
|
|
118
|
-
.DictionaryPage-modal-content .ant-typography.ant-typography-ellipsis.ant-typography-single-line {
|
|
119
|
-
height: 50px;
|
|
120
|
-
margin-bottom: 0px;
|
|
121
|
-
line-height: 50px;
|
|
122
|
-
border-bottom: 1px solid #f2f3f4;
|
|
123
|
-
}
|
|
124
|
-
.DictionaryPage-modal-content .ant-typography-edit {
|
|
125
|
-
float: right;
|
|
126
|
-
width: 20%;
|
|
127
|
-
text-align: center;
|
|
128
|
-
}
|
|
129
|
-
.DictionaryPage-modal-footer {
|
|
130
|
-
display: flex;
|
|
131
|
-
align-items: center;
|
|
132
|
-
justify-content: space-between;
|
|
133
|
-
margin: 16px 0px;
|
|
134
|
-
}
|
|
135
|
-
.DocumentSetting-header {
|
|
136
|
-
height: 48px;
|
|
137
|
-
line-height: 48px;
|
|
138
|
-
border-bottom: 1px solid #e8efff;
|
|
139
|
-
}
|
|
140
|
-
.DocumentSetting-search {
|
|
141
|
-
display: flex;
|
|
142
|
-
align-items: center;
|
|
143
|
-
justify-content: space-between;
|
|
144
|
-
margin: 16px 0px 16px;
|
|
145
|
-
}
|
|
146
|
-
.DocumentSetting-emptyDom {
|
|
147
|
-
margin: 50px 0px 0px;
|
|
148
|
-
text-align: center;
|
|
149
|
-
}
|
|
150
|
-
.DocumentSetting-emptyDom-img {
|
|
151
|
-
display: block;
|
|
152
|
-
width: 248px;
|
|
153
|
-
height: 200px;
|
|
154
|
-
margin: auto;
|
|
155
|
-
background-image: url('img/empty-data.png');
|
|
156
|
-
background-size: 100%;
|
|
157
|
-
}
|
|
158
|
-
.DocumentSetting-emptyDom-tip {
|
|
159
|
-
margin: 0px 0px 10px;
|
|
160
|
-
color: #999;
|
|
161
|
-
}
|
|
1
|
+
.system-setting-approval-process-create-bg {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: 0;
|
|
4
|
+
right: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
z-index: 10;
|
|
8
|
+
background: #fafafb;
|
|
9
|
+
}
|
|
10
|
+
.authUrlPageClass-search {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
margin: 0px 0px 16px;
|
|
15
|
+
}
|
|
16
|
+
.DictionaryPage-emptyDom {
|
|
17
|
+
margin: 50px 0px 0px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
}
|
|
20
|
+
.DictionaryPage-emptyDom-img {
|
|
21
|
+
display: block;
|
|
22
|
+
width: 248px;
|
|
23
|
+
height: 200px;
|
|
24
|
+
margin: auto;
|
|
25
|
+
background-image: url('img/empty-data.png');
|
|
26
|
+
background-size: 100%;
|
|
27
|
+
}
|
|
28
|
+
.DictionaryPage-emptyDom-tip {
|
|
29
|
+
margin: 0px 0px 10px;
|
|
30
|
+
color: #999;
|
|
31
|
+
}
|
|
32
|
+
.DictionaryPage .ant-tabs-nav {
|
|
33
|
+
padding-right: 10%;
|
|
34
|
+
}
|
|
35
|
+
.DictionaryPage-header {
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
.DictionaryPage-header-search {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
margin: 0px 0px 16px;
|
|
43
|
+
}
|
|
44
|
+
.DictionaryPage-header-search .ant-btn {
|
|
45
|
+
color: #407fff;
|
|
46
|
+
border-color: #407fff;
|
|
47
|
+
}
|
|
48
|
+
.DictionaryPage-tabsRight-text {
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 13%;
|
|
51
|
+
right: 0;
|
|
52
|
+
width: 10%;
|
|
53
|
+
color: #165dff;
|
|
54
|
+
text-align: center;
|
|
55
|
+
vertical-align: middle;
|
|
56
|
+
border-left: 1px solid #ccc;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
.DictionaryPage-modal {
|
|
60
|
+
color: #021429;
|
|
61
|
+
}
|
|
62
|
+
.DictionaryPage-modal-header {
|
|
63
|
+
height: 50px;
|
|
64
|
+
padding: 0px 16px;
|
|
65
|
+
line-height: 50px;
|
|
66
|
+
background-color: #f2f3f4;
|
|
67
|
+
}
|
|
68
|
+
.DictionaryPage-modal-header-left {
|
|
69
|
+
display: inline-block;
|
|
70
|
+
width: 80%;
|
|
71
|
+
vertical-align: middle;
|
|
72
|
+
}
|
|
73
|
+
.DictionaryPage-modal-header-operation {
|
|
74
|
+
display: inline-block;
|
|
75
|
+
width: 20%;
|
|
76
|
+
text-align: center;
|
|
77
|
+
vertical-align: middle;
|
|
78
|
+
}
|
|
79
|
+
.DictionaryPage-modal .ant-input-affix-wrapper {
|
|
80
|
+
vertical-align: middle;
|
|
81
|
+
}
|
|
82
|
+
.DictionaryPage-modal .DictionaryPage-modal-content {
|
|
83
|
+
padding: 10px 16px 0px;
|
|
84
|
+
}
|
|
85
|
+
.DictionaryPage-modal-content {
|
|
86
|
+
height: 292px;
|
|
87
|
+
overflow-y: auto;
|
|
88
|
+
}
|
|
89
|
+
.DictionaryPage-modal-content-item {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
height: 50px;
|
|
93
|
+
line-height: 50px;
|
|
94
|
+
border-bottom: 1px solid #f2f3f4;
|
|
95
|
+
}
|
|
96
|
+
.DictionaryPage-modal-content-itemLeft {
|
|
97
|
+
position: relative;
|
|
98
|
+
display: inline-block;
|
|
99
|
+
flex: 1;
|
|
100
|
+
height: 100%;
|
|
101
|
+
}
|
|
102
|
+
.DictionaryPage-modal-content-itemLeft .error-tip {
|
|
103
|
+
position: absolute;
|
|
104
|
+
bottom: -28px;
|
|
105
|
+
left: 3px;
|
|
106
|
+
width: 100%;
|
|
107
|
+
color: red;
|
|
108
|
+
font-size: 14px;
|
|
109
|
+
letter-spacing: 1px;
|
|
110
|
+
}
|
|
111
|
+
.DictionaryPage-modal-content-itemRight {
|
|
112
|
+
display: inline-block;
|
|
113
|
+
width: 40px;
|
|
114
|
+
color: #165dff;
|
|
115
|
+
text-align: center;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
}
|
|
118
|
+
.DictionaryPage-modal-content .ant-typography.ant-typography-ellipsis.ant-typography-single-line {
|
|
119
|
+
height: 50px;
|
|
120
|
+
margin-bottom: 0px;
|
|
121
|
+
line-height: 50px;
|
|
122
|
+
border-bottom: 1px solid #f2f3f4;
|
|
123
|
+
}
|
|
124
|
+
.DictionaryPage-modal-content .ant-typography-edit {
|
|
125
|
+
float: right;
|
|
126
|
+
width: 20%;
|
|
127
|
+
text-align: center;
|
|
128
|
+
}
|
|
129
|
+
.DictionaryPage-modal-footer {
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
justify-content: space-between;
|
|
133
|
+
margin: 16px 0px;
|
|
134
|
+
}
|
|
135
|
+
.DocumentSetting-header {
|
|
136
|
+
height: 48px;
|
|
137
|
+
line-height: 48px;
|
|
138
|
+
border-bottom: 1px solid #e8efff;
|
|
139
|
+
}
|
|
140
|
+
.DocumentSetting-search {
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: space-between;
|
|
144
|
+
margin: 16px 0px 16px;
|
|
145
|
+
}
|
|
146
|
+
.DocumentSetting-emptyDom {
|
|
147
|
+
margin: 50px 0px 0px;
|
|
148
|
+
text-align: center;
|
|
149
|
+
}
|
|
150
|
+
.DocumentSetting-emptyDom-img {
|
|
151
|
+
display: block;
|
|
152
|
+
width: 248px;
|
|
153
|
+
height: 200px;
|
|
154
|
+
margin: auto;
|
|
155
|
+
background-image: url('img/empty-data.png');
|
|
156
|
+
background-size: 100%;
|
|
157
|
+
}
|
|
158
|
+
.DocumentSetting-emptyDom-tip {
|
|
159
|
+
margin: 0px 0px 10px;
|
|
160
|
+
color: #999;
|
|
161
|
+
}
|
|
@@ -9,6 +9,7 @@ import { DesktopOutlined } from '@ant-design/icons';
|
|
|
9
9
|
import Notice from './notice';
|
|
10
10
|
import Approvalmanage from './approvalmanage';
|
|
11
11
|
import SettingTabs from '../../components/settingTabs';
|
|
12
|
+
import Dictionary from './Dictionary';
|
|
12
13
|
import { DemoManage } from '@zgfe/modules-demo-manage';
|
|
13
14
|
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
14
15
|
import CreateProcess from '../createProcess';
|
|
@@ -72,13 +73,11 @@ var SystemSetting = function SystemSetting(_ref) {
|
|
|
72
73
|
key: '5',
|
|
73
74
|
label: '接口管理',
|
|
74
75
|
content: /*#__PURE__*/React.createElement(AuthUrl, null)
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
// },
|
|
81
|
-
{
|
|
76
|
+
}, {
|
|
77
|
+
key: '6',
|
|
78
|
+
label: '字典管理',
|
|
79
|
+
content: /*#__PURE__*/React.createElement(Dictionary, null)
|
|
80
|
+
}, {
|
|
82
81
|
key: '7',
|
|
83
82
|
label: '文档库',
|
|
84
83
|
content: /*#__PURE__*/React.createElement(DocumentSetting, null)
|