@zgfe/modules-settings 1.2.11 → 1.2.12

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,160 +0,0 @@
1
- @import './../../../constants/icons/iconfont.css';
2
-
3
- .role-list {
4
- .ant-form-item {
5
- .ant-form-item-control-input {
6
- width: 392px;
7
- height: 32px;
8
- }
9
- }
10
-
11
- .ant-input {
12
- border-color: @background-color-base !important;
13
-
14
- &:focus {
15
- border-color: @primary-color !important;
16
- }
17
- }
18
-
19
- .ant-table-cell {
20
- height: 50px;
21
- }
22
-
23
- .ant-table-row-indent + .ant-table-row-expand-icon {
24
- margin-top: 0;
25
- }
26
-
27
- height: 100%;
28
- padding: 0;
29
- overflow: auto;
30
-
31
- .app-list-head {
32
- display: flex;
33
- align-items: center;
34
- justify-content: space-between;
35
-
36
- > div {
37
- color: var(--io-n, #021429);
38
- font-weight: 500;
39
- font-size: 16px;
40
- font-family: PingFang SC;
41
- font-style: normal;
42
- line-height: 24px;
43
- /* 150% */
44
- }
45
- }
46
-
47
- .platform-icons {
48
- display: flex;
49
- align-items: center;
50
- justify-content: flex-start;
51
- width: 100%;
52
-
53
- span {
54
- margin-right: 10px;
55
- color: #cfcfcf;
56
- font-size: 16px;
57
- }
58
- }
59
-
60
- .role-list-content {
61
- margin-top: 16px;
62
-
63
- .c-grid-cell,
64
- .c-grid-header-cell {
65
- text-align: left !important;
66
- border: none;
67
- border-bottom: 1px solid #d1d1d1;
68
- }
69
-
70
- .c-grid-cell {
71
- text-align: left !important;
72
- }
73
-
74
- .c-grid-body .c-grid-row:nth-child(2n) {
75
- background: #fff !important;
76
- }
77
-
78
- .app-name {
79
- cursor: pointer;
80
-
81
- &:hover {
82
- color: #00a0ea;
83
- }
84
- }
85
-
86
- .operating {
87
- display: flex;
88
- gap: 16px;
89
- }
90
- }
91
- }
92
-
93
- .role-dialog-content {
94
- .ant-form-item {
95
- .ant-form-item-control-input {
96
- width: 484px;
97
- height: 32px;
98
- }
99
- }
100
-
101
- .ant-input {
102
- border-color: @background-color-base !important;
103
-
104
- &:focus {
105
- border-color: @primary-color !important;
106
- }
107
- }
108
-
109
- color: #5f6085;
110
-
111
- .ant-form-item-label {
112
- width: 80px;
113
- text-align: right;
114
- }
115
-
116
- .menuCode-map {
117
- .ant-form-item-label::before {
118
- display: inline-block;
119
- margin-right: 4px;
120
- color: #ff4d4f;
121
- font-size: 14px;
122
- font-family: SimSun, sans-serif;
123
- line-height: 1;
124
- content: '*';
125
- }
126
-
127
- .ant-form-item-control-input {
128
- width: 100%;
129
- height: auto;
130
- padding: 14px 16px;
131
- border: 1px solid var(--io-n-1, #e6e7ea);
132
- border-radius: 4px;
133
-
134
- .ant-form-item {
135
- margin-bottom: 8px;
136
- }
137
-
138
- .ant-input {
139
- border-color: @background-color-base !important;
140
-
141
- &:focus {
142
- border-color: @primary-color !important;
143
- }
144
- }
145
-
146
- .ant-form-item-control-input {
147
- width: 484px;
148
- padding: 0;
149
- border: none;
150
- }
151
- }
152
- }
153
-
154
- .is-encryption {
155
- .ant-form-item-label {
156
- width: 116px;
157
- text-align: right;
158
- }
159
- }
160
- }
@@ -1,15 +0,0 @@
1
- export declare const queryDeptList: (data: {
2
- name: string;
3
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, getGroupMembers: () => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, addDept: (data: {
4
- deptBoss: string;
5
- parentId: number;
6
- id: number | null;
7
- name: string;
8
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, updateDept: (data: {
9
- deptBoss: string;
10
- parentId: number;
11
- id: number | null;
12
- name: string;
13
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, deleteDept: (data: {
14
- ids: number[];
15
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>;
@@ -1,68 +0,0 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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
- import api from '../constants/api';
8
- import { ajax } from '@zgfe/business-lib';
9
- import apis from '../constants/api';
10
- var Department = /*#__PURE__*/function () {
11
- function Department() {
12
- _classCallCheck(this, Department);
13
- }
14
- _createClass(Department, [{
15
- key: "queryDeptList",
16
- value:
17
- // 部门列表
18
- function queryDeptList(data) {
19
- return ajax(api.setting.queryDeptList, {
20
- method: 'post',
21
- data: data
22
- });
23
- }
24
- // 负责人列表
25
- }, {
26
- key: "getGroupMembers",
27
- value: function getGroupMembers() {
28
- return ajax(apis.setting.getGroupMembers, {
29
- method: 'get'
30
- });
31
- }
32
- // 添加
33
- }, {
34
- key: "addDept",
35
- value: function addDept(data) {
36
- return ajax(api.setting.addDept, {
37
- method: 'post',
38
- data: data
39
- });
40
- }
41
- // 修改
42
- }, {
43
- key: "updateDept",
44
- value: function updateDept(data) {
45
- return ajax(api.setting.updateDept, {
46
- method: 'post',
47
- data: data
48
- });
49
- }
50
- // 删除
51
- }, {
52
- key: "deleteDept",
53
- value: function deleteDept(data) {
54
- return ajax(api.setting.deleteDept, {
55
- method: 'post',
56
- data: data
57
- });
58
- }
59
- }]);
60
- return Department;
61
- }();
62
- var _Department = new Department(),
63
- queryDeptList = _Department.queryDeptList,
64
- getGroupMembers = _Department.getGroupMembers,
65
- addDept = _Department.addDept,
66
- updateDept = _Department.updateDept,
67
- deleteDept = _Department.deleteDept;
68
- export { queryDeptList, getGroupMembers, addDept, updateDept, deleteDept };
@@ -1,16 +0,0 @@
1
- export declare const queryRolePage: (data: {
2
- name: string;
3
- pageNo: number;
4
- pageSize: number;
5
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, queryRoleDetails: (data: {
6
- id: number | null;
7
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, queryRoleDataConfig: (data: {
8
- id: number | null;
9
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, queryRoleMenuTree: (data: {
10
- id: number | null;
11
- systemVersion: number | null;
12
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, queryRoleUser: (data: {
13
- id: number | null;
14
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, addRole: (data: any) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, updateRole: (data: any) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>, deleteRole: (data: {
15
- id: number | null;
16
- }) => Promise<import("@zgfe/business-lib/es/utils/type").InterfaceApiResult<unknown> | null>;
@@ -1,100 +0,0 @@
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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
4
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
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
- import api from '../constants/api';
8
- import { ajax } from '@zgfe/business-lib';
9
- import apis from '../constants/api';
10
- var Department = /*#__PURE__*/function () {
11
- function Department() {
12
- _classCallCheck(this, Department);
13
- }
14
- _createClass(Department, [{
15
- key: "queryRolePage",
16
- value:
17
- // 列表
18
- function queryRolePage(data) {
19
- return ajax(api.setting.queryRolePage, {
20
- method: 'post',
21
- data: data
22
- });
23
- }
24
- // 详情
25
- }, {
26
- key: "queryRoleDetails",
27
- value: function queryRoleDetails(data) {
28
- return ajax(apis.setting.queryRoleDetails, {
29
- method: 'post',
30
- data: data
31
- });
32
- }
33
- // 应用下拉数据
34
- }, {
35
- key: "queryRoleDataConfig",
36
- value: function queryRoleDataConfig(data) {
37
- return ajax(api.setting.queryRoleDataConfig, {
38
- method: 'post',
39
- data: data
40
- });
41
- }
42
- // 菜单下拉数据
43
- }, {
44
- key: "queryRoleMenuTree",
45
- value: function queryRoleMenuTree(data) {
46
- return ajax(api.setting.queryRoleMenuTree, {
47
- method: 'post',
48
- data: data
49
- });
50
- }
51
- // 用户下拉数据
52
- }, {
53
- key: "queryRoleUser",
54
- value: function queryRoleUser(data) {
55
- return ajax(api.setting.queryRoleUser, {
56
- method: 'post',
57
- data: data
58
- });
59
- }
60
- // queryRoleUser
61
- // 修改
62
- }, {
63
- key: "addRole",
64
- value: function addRole(data) {
65
- return ajax(api.setting.addRole, {
66
- method: 'post',
67
- data: data
68
- });
69
- }
70
- // 修改
71
- }, {
72
- key: "updateRole",
73
- value: function updateRole(data) {
74
- return ajax(api.setting.updateRole, {
75
- method: 'post',
76
- data: data
77
- });
78
- }
79
- // 删除
80
- }, {
81
- key: "deleteRole",
82
- value: function deleteRole(data) {
83
- return ajax(api.setting.deleteRole, {
84
- method: 'post',
85
- data: data
86
- });
87
- }
88
- }]);
89
- return Department;
90
- }();
91
- var _Department = new Department(),
92
- queryRolePage = _Department.queryRolePage,
93
- queryRoleDetails = _Department.queryRoleDetails,
94
- queryRoleDataConfig = _Department.queryRoleDataConfig,
95
- queryRoleMenuTree = _Department.queryRoleMenuTree,
96
- queryRoleUser = _Department.queryRoleUser,
97
- addRole = _Department.addRole,
98
- updateRole = _Department.updateRole,
99
- deleteRole = _Department.deleteRole;
100
- export { queryRolePage, queryRoleDetails, queryRoleDataConfig, queryRoleMenuTree, queryRoleUser, addRole, updateRole, deleteRole };