@zgfe/modules-settings 2.1.0-zhongyuan.9 → 3.0.0-zhongyuan-set.0

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 (37) hide show
  1. package/es/constants/api.d.ts +2 -0
  2. package/es/constants/api.js +5 -1
  3. package/es/modules/appSettings/dataAccessFilter/index.js +2 -1
  4. package/es/modules/companySetting/application/applicationForm.d.ts +1 -0
  5. package/es/modules/companySetting/application/applicationForm.js +34 -4
  6. package/es/modules/companySetting/application/index.js +7 -8
  7. package/es/modules/companySetting/application/index.less +144 -144
  8. package/es/modules/companySetting/index.js +37 -33
  9. package/es/modules/companySetting/operationLog/index.js +22 -5
  10. package/es/modules/companySetting/role/index.less +296 -296
  11. package/es/modules/companySetting/user/index.js +41 -27
  12. package/es/modules/companySetting/user/invite.js +28 -100
  13. package/es/modules/createDemand/demo/selectPoint.js +1 -2
  14. package/es/modules/createDemand/index.js +9 -8
  15. package/es/modules/createDemand/styles/index.less +403 -403
  16. package/es/modules/createDemand_bf/demo/index.js +0 -1
  17. package/es/modules/createDemand_bf/index.js +0 -1
  18. package/es/modules/dealDemand/demo/index.js +0 -1
  19. package/es/modules/dealDemand/demo/selectPoint.js +1 -1
  20. package/es/modules/dealDemand/index.js +0 -2
  21. package/es/modules/demandManage/index.js +2 -2
  22. package/es/modules/demandManage/styles/index.less +155 -155
  23. package/es/modules/personalSetting/securityLog/index.js +1 -1
  24. package/es/modules/pointMap/createMetaDrawer.js +162 -71
  25. package/es/modules/pointMap/index.js +3 -1
  26. package/es/modules/pointMap/pageInfo.js +17 -10
  27. package/es/modules/pointMap/styles/index.less +165 -165
  28. package/es/modules/pointMap/styles/tree.css +164 -145
  29. package/es/modules/pointMap/styles/tree.less +174 -156
  30. package/es/modules/pointMap/tree.js +133 -82
  31. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +4 -3
  32. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +48 -48
  33. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +9 -5
  34. package/es/modules/systemSetting/document-setting/index.js +7 -6
  35. package/es/modules/systemSetting/index.js +13 -15
  36. package/es/modules/systemSetting/index.less +175 -169
  37. package/package.json +3 -3
@@ -6,7 +6,6 @@ import { DemoWrapper } from '@zgfe/business-lib';
6
6
  // import { Button } from 'antd';
7
7
  // const classPrefix = 'system-setting-approval-process-create-content';
8
8
  export default (function () {
9
- console.log('window.innerWidth', window.innerWidth);
10
9
  return /*#__PURE__*/React.createElement(DemoWrapper, {
11
10
  defaultApp: 99825
12
11
  }, /*#__PURE__*/React.createElement(CreateDemand, null));
@@ -295,7 +295,6 @@ var CreateDemand = function CreateDemand(props) {
295
295
  });
296
296
  };
297
297
  var viewEventProp = function viewEventProp(record) {
298
- console.log('viewEventProp', record);
299
298
  setEventAttrListShow(true);
300
299
  setEventProp(record.event_attrs);
301
300
  };
@@ -46,7 +46,6 @@ export default (function () {
46
46
  };
47
47
  var initFun = function initFun(callbackFun, data) {
48
48
  createDemandCallbackFun = callbackFun;
49
- console.log('initFun', data);
50
49
  setSelectObj(data || []);
51
50
  setIsShowSelectList(true);
52
51
  };
@@ -63,7 +63,7 @@ export default (function (props) {
63
63
  className: "".concat(classPrefix, "-header-back")
64
64
  }, /*#__PURE__*/React.createElement(IconFont, {
65
65
  type: "fanhuiicon"
66
- }), "\u8FD4\u56DE"), "\u57CB\u70B9\u5730\u56FE"), /*#__PURE__*/React.createElement("div", {
66
+ }), "\u8FD4\u56DE"), "\u81EA\u5B9A\u4E49\u57CB\u70B9\u5730\u56FE"), /*#__PURE__*/React.createElement("div", {
67
67
  className: "".concat(classPrefix, "-header-right")
68
68
  }, /*#__PURE__*/React.createElement(Button, {
69
69
  onClick: function onClick() {
@@ -209,7 +209,6 @@ var CreateDemand = function CreateDemand(props) {
209
209
  });
210
210
  };
211
211
  var gotoPage = function gotoPage(type, data) {
212
- console.log('data', data);
213
212
  switch (type) {
214
213
  case 'event':
215
214
  window.open('/webapp/app/' + (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) + '/plat/0/analytics/dataCollectManage?key=' + data, '_blank');
@@ -389,7 +388,6 @@ var CreateDemand = function CreateDemand(props) {
389
388
  }],
390
389
  onClick: function onClick(_ref) {
391
390
  var key = _ref.key;
392
- console.log('key', key);
393
391
  switch (key) {
394
392
  case '0':
395
393
  submitDemand(3);
@@ -287,6 +287,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
287
287
  }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(Button, {
288
288
  color: "primary",
289
289
  type: "link",
290
+ disabled: props.record.demandStatus == 102,
290
291
  onClick: function onClick() {
291
292
  Modal.confirm({
292
293
  wrapClassName: "".concat(classPrefix, "-confirm"),
@@ -319,7 +320,7 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
319
320
  }
320
321
  });
321
322
  }
322
- }, "\u590D\u5236"), [101, 102].indexOf(props.record.demandStatus) == -1 && (/*#__PURE__*/React.createElement(Button, {
323
+ }, "\u590D\u5236"), [101, 102, 103].indexOf(props.record.demandStatus) == -1 && (/*#__PURE__*/React.createElement(Button, {
323
324
  color: "primary",
324
325
  type: "link",
325
326
  onClick: function onClick() {
@@ -355,7 +356,6 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
355
356
  console.log(err);
356
357
  });
357
358
  };
358
- //复制功能
359
359
  return /*#__PURE__*/React.createElement("div", {
360
360
  className: classPrefix
361
361
  }, /*#__PURE__*/React.createElement("div", {
@@ -1,155 +1,155 @@
1
- // @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
- .system-setting-demand {
3
- padding: 24px;
4
- background-color: #fff;
5
-
6
- &-title {
7
- padding: 16px 0;
8
- color: #021429;
9
- font-weight: 500;
10
- font-size: 20px;
11
- }
12
-
13
- &-panel {
14
- display: flex;
15
- flex-direction: row;
16
- gap: 16px;
17
- &-all {
18
- display: flex;
19
- flex-direction: row;
20
- gap: 16px;
21
- align-items: center;
22
- width: 256px;
23
- padding: 24px;
24
- color: var(--io-N8-, #354354);
25
- font-weight: 400;
26
- font-size: 16px;
27
- background: var(--io-n-02, #fafafb);
28
- border-radius: 8px;
29
- &-img {
30
- width: 64px;
31
- height: 64px;
32
- background: url('./../images/title-bg.png') no-repeat;
33
- background-size: contain;
34
- }
35
- &-num {
36
- color: var(--io-N-, #021429);
37
- font-weight: 700;
38
- font-size: 32px;
39
- line-height: 40px; /* 125% */
40
- cursor: pointer;
41
- }
42
- }
43
- &-status {
44
- display: flex;
45
- flex: 1;
46
- flex-direction: row;
47
- color: var(--io-N8-, #354354);
48
- font-weight: 400;
49
- font-size: 16px;
50
- font-family: 'PingFang SC';
51
- font-style: normal;
52
- line-height: normal;
53
- background: var(--io-n-02, #fafafb);
54
- border-radius: 8px;
55
- &-item {
56
- display: flex;
57
- flex: 1;
58
- // align-items: center;
59
- flex-direction: column;
60
- padding: 24px;
61
- &-txt {
62
- display: flex;
63
- flex-direction: row;
64
- gap: 4px;
65
- align-items: center;
66
- cursor: pointer;
67
- }
68
- &-icon {
69
- display: block;
70
- width: 8px;
71
- height: 8px;
72
- border-radius: 4px;
73
- content: '';
74
- }
75
- &-num {
76
- margin-top: 4px;
77
- margin-left: 12px;
78
- color: var(--io-N-, #021429);
79
- font-weight: 700;
80
- font-size: 32px;
81
- font-family: Arial;
82
- font-style: normal;
83
- line-height: 40px; /* 125% */
84
- cursor: pointer;
85
- }
86
- }
87
- }
88
- }
89
- &-filter {
90
- display: flex;
91
- flex-direction: row;
92
- align-items: center;
93
- padding: 16px 0;
94
- &-left {
95
- display: flex;
96
- flex: 1;
97
- flex-direction: row;
98
- gap: 16px;
99
- align-items: center;
100
- }
101
- &-right {
102
- display: flex;
103
- flex-direction: row;
104
- gap: 16px;
105
- align-items: center;
106
- .button:not(.disabled):not(.ant-btn-primary) {
107
- color: #1454e5;
108
- border: 1px solid #1454e5;
109
- }
110
- }
111
- }
112
-
113
- &-table {
114
- &-status {
115
- display: flex;
116
- align-items: center;
117
- padding: 1px 8px;
118
- font-weight: 400;
119
- font-size: 14px;
120
- line-height: 22px; /* 157.143% */
121
- border-radius: 2px;
122
- }
123
- }
124
- }
125
- .system-setting-demand-pop {
126
- display: flex;
127
- flex-direction: column;
128
- gap: 8px;
129
- width: 136px;
130
- &-header {
131
- display: flex;
132
- flex-direction: row;
133
- align-items: flex-start;
134
- justify-content: space-between;
135
- color: var(--io-N-, #021429);
136
- font-weight: 400;
137
- font-size: 16px;
138
- line-height: 24px; /* 150% */
139
- .qingchu {
140
- color: #9aa1a9;
141
- cursor: pointer;
142
- }
143
- }
144
- &-footer {
145
- display: flex;
146
- flex-direction: row;
147
- align-items: center;
148
- justify-content: space-between;
149
- .ant-btn-primary {
150
- height: 24px;
151
- padding-top: 0;
152
- padding-bottom: 0;
153
- }
154
- }
155
- }
1
+ // @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+ .system-setting-demand {
3
+ padding: 24px;
4
+ background-color: #fff;
5
+
6
+ &-title {
7
+ padding: 16px 0;
8
+ color: #021429;
9
+ font-weight: 500;
10
+ font-size: 20px;
11
+ }
12
+
13
+ &-panel {
14
+ display: flex;
15
+ flex-direction: row;
16
+ gap: 16px;
17
+ &-all {
18
+ display: flex;
19
+ flex-direction: row;
20
+ gap: 16px;
21
+ align-items: center;
22
+ width: 256px;
23
+ padding: 24px;
24
+ color: var(--io-N8-, #354354);
25
+ font-weight: 400;
26
+ font-size: 16px;
27
+ background: var(--io-n-02, #fafafb);
28
+ border-radius: 8px;
29
+ &-img {
30
+ width: 64px;
31
+ height: 64px;
32
+ background: url('./../images/title-bg.png') no-repeat;
33
+ background-size: contain;
34
+ }
35
+ &-num {
36
+ color: var(--io-N-, #021429);
37
+ font-weight: 700;
38
+ font-size: 32px;
39
+ line-height: 40px; /* 125% */
40
+ cursor: pointer;
41
+ }
42
+ }
43
+ &-status {
44
+ display: flex;
45
+ flex: 1;
46
+ flex-direction: row;
47
+ color: var(--io-N8-, #354354);
48
+ font-weight: 400;
49
+ font-size: 16px;
50
+ font-family: 'PingFang SC';
51
+ font-style: normal;
52
+ line-height: normal;
53
+ background: var(--io-n-02, #fafafb);
54
+ border-radius: 8px;
55
+ &-item {
56
+ display: flex;
57
+ flex: 1;
58
+ // align-items: center;
59
+ flex-direction: column;
60
+ padding: 24px;
61
+ &-txt {
62
+ display: flex;
63
+ flex-direction: row;
64
+ gap: 4px;
65
+ align-items: center;
66
+ cursor: pointer;
67
+ }
68
+ &-icon {
69
+ display: block;
70
+ width: 8px;
71
+ height: 8px;
72
+ border-radius: 4px;
73
+ content: '';
74
+ }
75
+ &-num {
76
+ margin-top: 4px;
77
+ margin-left: 12px;
78
+ color: var(--io-N-, #021429);
79
+ font-weight: 700;
80
+ font-size: 32px;
81
+ font-family: Arial;
82
+ font-style: normal;
83
+ line-height: 40px; /* 125% */
84
+ cursor: pointer;
85
+ }
86
+ }
87
+ }
88
+ }
89
+ &-filter {
90
+ display: flex;
91
+ flex-direction: row;
92
+ align-items: center;
93
+ padding: 16px 0;
94
+ &-left {
95
+ display: flex;
96
+ flex: 1;
97
+ flex-direction: row;
98
+ gap: 16px;
99
+ align-items: center;
100
+ }
101
+ &-right {
102
+ display: flex;
103
+ flex-direction: row;
104
+ gap: 16px;
105
+ align-items: center;
106
+ .button:not(.disabled):not(.ant-btn-primary) {
107
+ color: #1454e5;
108
+ border: 1px solid #1454e5;
109
+ }
110
+ }
111
+ }
112
+
113
+ &-table {
114
+ &-status {
115
+ display: flex;
116
+ align-items: center;
117
+ padding: 1px 8px;
118
+ font-weight: 400;
119
+ font-size: 14px;
120
+ line-height: 22px; /* 157.143% */
121
+ border-radius: 2px;
122
+ }
123
+ }
124
+ }
125
+ .system-setting-demand-pop {
126
+ display: flex;
127
+ flex-direction: column;
128
+ gap: 8px;
129
+ width: 136px;
130
+ &-header {
131
+ display: flex;
132
+ flex-direction: row;
133
+ align-items: flex-start;
134
+ justify-content: space-between;
135
+ color: var(--io-N-, #021429);
136
+ font-weight: 400;
137
+ font-size: 16px;
138
+ line-height: 24px; /* 150% */
139
+ .qingchu {
140
+ color: #9aa1a9;
141
+ cursor: pointer;
142
+ }
143
+ }
144
+ &-footer {
145
+ display: flex;
146
+ flex-direction: row;
147
+ align-items: center;
148
+ justify-content: space-between;
149
+ .ant-btn-primary {
150
+ height: 24px;
151
+ padding-top: 0;
152
+ padding-bottom: 0;
153
+ }
154
+ }
155
+ }
@@ -83,7 +83,7 @@ var SecurityLog = function SecurityLog() {
83
83
  }).then(function (res) {
84
84
  if (parseInt(res === null || res === void 0 ? void 0 : res.code) == 100000) {
85
85
  setDateLoading(false);
86
- var maxDate = res.data[res.data.length - 1] || '';
86
+ var maxDate = res.data[0] || '';
87
87
  setDateRange(res.data);
88
88
  setCondition(function (v) {
89
89
  return _objectSpread(_objectSpread({}, v), {}, {