@zgfe/modules-settings 1.2.10-role3 → 1.2.10-role4
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import AppInfo from './appInfo';
|
|
3
|
-
import AppMember from './member';
|
|
3
|
+
// import AppMember from './member';
|
|
4
4
|
import AppSecretKey from './secretKey';
|
|
5
5
|
import AppDataAccessFilter from './dataAccessFilter';
|
|
6
6
|
import { SettingOutlined } from '@ant-design/icons';
|
|
@@ -25,11 +25,9 @@ var PersonalSetting = function PersonalSetting(_ref) {
|
|
|
25
25
|
content: /*#__PURE__*/React.createElement(AppInfo, {
|
|
26
26
|
settingsCallback: settingsCallback
|
|
27
27
|
})
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
content: /*#__PURE__*/React.createElement(AppMember, null)
|
|
32
|
-
}, {
|
|
28
|
+
},
|
|
29
|
+
// { key: '2', label: '应用成员', content: <AppMember /> },
|
|
30
|
+
{
|
|
33
31
|
key: '3',
|
|
34
32
|
label: '配置数据源',
|
|
35
33
|
content: /*#__PURE__*/React.createElement(AppVirtualSource, null),
|
|
@@ -46,7 +44,8 @@ var PersonalSetting = function PersonalSetting(_ref) {
|
|
|
46
44
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SettingTabs, {
|
|
47
45
|
typeName: "app",
|
|
48
46
|
title: title,
|
|
49
|
-
items: items
|
|
47
|
+
items: items,
|
|
48
|
+
currentKey: '1'
|
|
50
49
|
}));
|
|
51
50
|
};
|
|
52
51
|
export default PersonalSetting;
|
|
@@ -328,6 +328,7 @@ var RoleList = function RoleList(props) {
|
|
|
328
328
|
(!roleId ? addRole : updateRole)(params).then(function (res) {
|
|
329
329
|
if ((res === null || res === void 0 ? void 0 : res.code) !== '101000') return;
|
|
330
330
|
setCreatedAppPanel(false);
|
|
331
|
+
setCreateAppLoading(false);
|
|
331
332
|
queryRolePageList();
|
|
332
333
|
// 通知数据刷新
|
|
333
334
|
msg = !roleId ? '创建成功' : '编辑成功';
|
|
@@ -336,6 +337,7 @@ var RoleList = function RoleList(props) {
|
|
|
336
337
|
});
|
|
337
338
|
}).catch(function () {
|
|
338
339
|
setCreateAppLoading(false);
|
|
340
|
+
setCreatedAppPanel(false);
|
|
339
341
|
notification.error({
|
|
340
342
|
message: !roleId ? '创建失败,请重试' : '编辑失败,请重试'
|
|
341
343
|
});
|
|
@@ -198,7 +198,7 @@ var UserGroup = function UserGroup(props) {
|
|
|
198
198
|
type: "primary",
|
|
199
199
|
size: "middle"
|
|
200
200
|
}, "\u6DFB\u52A0\u6210\u5458")), /*#__PURE__*/React.createElement(BizDialog, {
|
|
201
|
-
title: (userEditAuthData === null || userEditAuthData === void 0 ? void 0 : userEditAuthData.id) ? '
|
|
201
|
+
title: (userEditAuthData === null || userEditAuthData === void 0 ? void 0 : userEditAuthData.id) ? '编辑成员' : '新增成员',
|
|
202
202
|
open: createdAppPanel,
|
|
203
203
|
width: 520,
|
|
204
204
|
closable: true,
|