@zgfe/modules-settings 2.0.0-zhongyuan.9 → 2.1.0-zhongyuan.1

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 (31) hide show
  1. package/es/constants/api.d.ts +9 -0
  2. package/es/constants/api.js +15 -0
  3. package/es/modules/companySetting/application/index.d.ts +13 -0
  4. package/es/modules/companySetting/application/index.js +271 -98
  5. package/es/modules/companySetting/application/index.less +144 -126
  6. package/es/modules/companySetting/user/invite.js +2 -2
  7. package/es/modules/createDemand/constants.d.ts +15 -2
  8. package/es/modules/createDemand/constants.js +57 -4
  9. package/es/modules/createDemand/index.d.ts +0 -1
  10. package/es/modules/createDemand/index.js +790 -177
  11. package/es/modules/createDemand/styles/index.less +403 -277
  12. package/es/modules/demandManage/index.js +175 -178
  13. package/es/modules/demandManage/styles/index.less +8 -68
  14. package/es/modules/messageList/index.d.ts +1 -1
  15. package/es/modules/messageList/index.js +6 -6
  16. package/es/modules/personalSetting/demo/index.d.ts +3 -0
  17. package/es/modules/personalSetting/demo/index.js +12 -0
  18. package/es/modules/personalSetting/index.js +11 -1
  19. package/es/modules/personalSetting/info/index.js +23 -5
  20. package/es/modules/pointMap/createMetaDrawer.d.ts +5 -0
  21. package/es/modules/pointMap/createMetaDrawer.js +656 -0
  22. package/es/modules/pointMap/pageInfo.js +358 -172
  23. package/es/modules/pointMap/record.d.ts +7 -0
  24. package/es/modules/pointMap/record.js +521 -0
  25. package/es/modules/pointMap/styles/index.less +152 -38
  26. package/es/modules/pointMap/styles/pageInfo.less +426 -244
  27. package/es/modules/pointMap/tree.js +1 -0
  28. package/es/modules/pointMap/types.d.ts +88 -0
  29. package/es/modules/pointMap/types.js +1 -0
  30. package/es/types/personal.d.ts +1 -0
  31. package/package.json +74 -74
@@ -1,126 +1,144 @@
1
- .application {
2
- min-height: 400px;
3
- overflow-x: hidden;
4
- overflow-y: auto;
5
-
6
- &-modal {
7
- .ant-modal-body {
8
- padding: 24px !important;
9
- }
10
- .ant-modal-confirm-body .ant-modal-confirm-title {
11
- color: #000;
12
- font-size: 24px;
13
- line-height: 24px;
14
- }
15
-
16
- .ant-modal-confirm-body .ant-modal-confirm-content {
17
- margin-top: 0;
18
- padding-top: 24px;
19
- }
20
-
21
- .ant-modal-close {
22
- padding-top: 8px;
23
- padding-right: 6px;
24
-
25
- &-x {
26
- color: #021429;
27
- font-size: 24px;
28
- }
29
- }
30
- }
31
-
32
- &-drawer {
33
- .ant-drawer-header-title {
34
- flex-direction: row-reverse;
35
- }
36
- }
37
-
38
- .bsicon {
39
- color: #9aa1a9;
40
- font-size: 16px !important;
41
- }
42
- .bsicon:hover {
43
- color: var(--io-i-, #165dff);
44
- }
45
-
46
- .bsicon.shanchu:hover {
47
- color: #fb5547;
48
- }
49
-
50
- .zhuge.icon-shanchu:hover {
51
- color: #fb5547;
52
- }
53
-
54
- &-alert-info {
55
- background-color: #e6f7ff;
56
- border: 1px solid #91d5ff;
57
- border-radius: 2px;
58
- }
59
-
60
- &-form {
61
- display: flex;
62
- align-items: center;
63
- justify-content: space-between;
64
-
65
- &-item {
66
- display: flex;
67
- gap: 8px;
68
- align-items: center;
69
-
70
- .bsicon {
71
- color: #fd9f41;
72
- }
73
-
74
- .bsicon:hover {
75
- color: var(--io-i-, #fd9f41);
76
- }
77
- }
78
-
79
- .ant-btn-sm {
80
- height: 32px;
81
- padding: 4px 16px;
82
- }
83
- }
84
-
85
- .ant-divider-horizontal {
86
- margin: 14px 0;
87
- }
88
-
89
- &-content {
90
- display: flex;
91
- align-items: flex-end;
92
- justify-content: space-between;
93
-
94
- &-item-platform {
95
- display: flex;
96
- gap: 4px;
97
- align-items: center;
98
- justify-content: flex-start;
99
- white-space: nowrap;
100
- }
101
- }
102
-
103
- .biz-loading-container.loading {
104
- margin-top: 100px;
105
- }
106
-
107
- &-disabled,
108
- &-disabled:hover,
109
- &-disabled:focus {
110
- cursor: not-allowed !important;
111
- }
112
-
113
- .ant-btn-primary[disabled],
114
- .ant-btn-primary[disabled]:hover,
115
- .ant-btn-primary[disabled]:focus,
116
- .ant-btn-primary[disabled]:active {
117
- color: #fff;
118
- background: var(--io-i2-, #d0dfff);
119
- border: 1px solid #d0dfff;
120
- }
121
-
122
- .settings-card {
123
- gap: 6px;
124
- height: 120px;
125
- }
126
- }
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
+ }
@@ -327,9 +327,9 @@ var UserGroup = function UserGroup(props) {
327
327
  }]
328
328
  }, /*#__PURE__*/React.createElement(Input, {
329
329
  onBlur: function onBlur(event) {
330
- var _event$target2, _event$target2$value;
330
+ var _event$target2;
331
331
  form.setFieldsValue({
332
- telphone: event === null || event === void 0 ? void 0 : (_event$target2 = event.target) === null || _event$target2 === void 0 ? void 0 : (_event$target2$value = _event$target2.value) === null || _event$target2$value === void 0 ? void 0 : _event$target2$value.replace(/^[0-9]{11}$/g, '')
332
+ telphone: event === null || event === void 0 ? void 0 : (_event$target2 = event.target) === null || _event$target2 === void 0 ? void 0 : _event$target2.value
333
333
  });
334
334
  },
335
335
  maxLength: 11,
@@ -1,5 +1,18 @@
1
1
  import { ColumnsType } from 'antd/es/table/interface';
2
- declare const columnsEvent: (gotoPage?: Function, isControl?: boolean) => ColumnsType<{
2
+ declare const columnsEvent: (gotoPage?: Function, isControl?: boolean, getPointMap?: Function) => ColumnsType<{
3
3
  pageId: number;
4
4
  }>;
5
- export { columnsEvent };
5
+ declare const demandTabList: ({
6
+ label: string;
7
+ value: number;
8
+ key: string;
9
+ color: string;
10
+ buttonName: string;
11
+ } | {
12
+ label: string;
13
+ value: number;
14
+ key: string;
15
+ color: string;
16
+ buttonName?: undefined;
17
+ })[];
18
+ export { columnsEvent, demandTabList };
@@ -8,7 +8,7 @@ import { IconFont } from '@zgfe/business-lib';
8
8
  import { Image } from 'antd';
9
9
  import React from 'react';
10
10
  var classPrefix = 'system-setting-create-demand';
11
- var columnsEvent = function columnsEvent(gotoPage, isControl) {
11
+ var columnsEvent = function columnsEvent(gotoPage, isControl, getPointMap) {
12
12
  return [{
13
13
  title: '页面名称',
14
14
  dataIndex: 'pageName',
@@ -51,10 +51,10 @@ var columnsEvent = function columnsEvent(gotoPage, isControl) {
51
51
  dataIndex: 'eventName',
52
52
  width: 153,
53
53
  ellipsis: true,
54
- render: function render(eventName) {
54
+ render: function render(eventName, data) {
55
55
  return /*#__PURE__*/React.createElement("a", {
56
56
  onClick: function onClick() {
57
- return gotoPage && gotoPage('event', eventName);
57
+ return getPointMap && getPointMap(data);
58
58
  }
59
59
  }, eventName);
60
60
  }
@@ -97,4 +97,57 @@ var columnsEvent = function columnsEvent(gotoPage, isControl) {
97
97
  }
98
98
  }]);
99
99
  };
100
- export { columnsEvent };
100
+ var demandTabList = [{
101
+ label: '待设计',
102
+ value: 1,
103
+ key: 'nodename1',
104
+ color: '#fda145',
105
+ buttonName: '开始设计'
106
+ }, {
107
+ label: '设计',
108
+ value: 2,
109
+ key: 'nodename2',
110
+ color: '#fda145',
111
+ buttonName: '设计完成'
112
+ }, {
113
+ label: '审核1',
114
+ value: 3,
115
+ key: 'nodename3',
116
+ color: '#fb5547',
117
+ buttonName: '审核通过'
118
+ }, {
119
+ label: '审核2',
120
+ value: 4,
121
+ key: 'nodename4',
122
+ color: '#fb5547',
123
+ buttonName: '审核通过'
124
+ }, {
125
+ label: '开发',
126
+ value: 5,
127
+ key: 'nodename5',
128
+ color: '#165dff',
129
+ buttonName: '开发完成'
130
+ }, {
131
+ label: '测试',
132
+ value: 6,
133
+ key: 'nodename6',
134
+ color: '#165dff',
135
+ buttonName: '测试完成'
136
+ }, {
137
+ label: '已完成',
138
+ value: 101,
139
+ key: 'finishedSum',
140
+ color: '#2cbe54',
141
+ buttonName: '批量上线'
142
+ }, {
143
+ label: '已关闭',
144
+ value: 102,
145
+ key: 'closedSum',
146
+ color: '#cccfd5'
147
+ }, {
148
+ label: '已超时',
149
+ value: 103,
150
+ key: 'overTimeSum',
151
+ color: '#fda145'
152
+ }];
153
+ export { columnsEvent, demandTabList };
@@ -3,7 +3,6 @@ import './styles/index.less';
3
3
  declare const CreateDemand: React.FC<{
4
4
  demandId?: number;
5
5
  data?: any;
6
- isRead?: boolean;
7
6
  saveObj?: any;
8
7
  setSaveObj?: Function;
9
8
  setIsShowSelectList?: Function;