@zgfe/modules-settings 2.0.0-zhongyuan.8 → 2.1.0-zhongyuan-set.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 (130) hide show
  1. package/README.md +33 -33
  2. package/es/components/card/index.less +87 -87
  3. package/es/components/importMetaDialog/index.d.ts +13 -0
  4. package/es/components/importMetaDialog/index.js +217 -0
  5. package/es/components/importMetaDialog/styles/index.less +115 -0
  6. package/es/components/pageLoading/index.less +7 -7
  7. package/es/components/picCircleSelect/bak/index copy 2.tsx.bak +92 -92
  8. package/es/components/picCircleSelect/bak/index copy 3.tsx.bak +58 -58
  9. package/es/components/picCircleSelect/bak/index copy 4.tsx.bak +66 -66
  10. package/es/components/picCircleSelect/bak/index copy 5.tsx.bak +116 -116
  11. package/es/components/picCircleSelect/bak/index copy 6.tsx.bak +116 -116
  12. package/es/components/picCircleSelect/bak/index copy.tsx.bak +41 -41
  13. package/es/components/picCircleSelect/bak/index.tsx.bak +48 -48
  14. package/es/components/picCircleSelect/bak/index1.tsx.bak +46 -46
  15. package/es/components/picCircleSelect/bak/index2.tsx.bak +104 -104
  16. package/es/components/picCircleSelect/index.less +37 -37
  17. package/es/components/processCanvas/styles/customNode.less +149 -149
  18. package/es/components/processCanvas/styles/index.less +34 -34
  19. package/es/components/settingTabs/index.less +51 -51
  20. package/es/constants/api.d.ts +30 -0
  21. package/es/constants/api.js +43 -1
  22. package/es/constants/icons/demo.css +539 -539
  23. package/es/constants/icons/demo_index.html +9871 -9871
  24. package/es/constants/icons/iconfont.css +1699 -1699
  25. package/es/constants/icons/iconfont.json +2956 -2956
  26. package/es/global.d.ts +4 -4
  27. package/es/modules/appSettings/dataAccessFilter/index.js +2 -1
  28. package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
  29. package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
  30. package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
  31. package/es/modules/companySetting/appList/index.less +126 -126
  32. package/es/modules/companySetting/application/applicationForm.d.ts +1 -0
  33. package/es/modules/companySetting/application/applicationForm.js +34 -4
  34. package/es/modules/companySetting/application/index.d.ts +13 -0
  35. package/es/modules/companySetting/application/index.js +276 -104
  36. package/es/modules/companySetting/application/index.less +144 -126
  37. package/es/modules/companySetting/business/index.less +92 -92
  38. package/es/modules/companySetting/cost/index.less +38 -38
  39. package/es/modules/companySetting/department/index.less +157 -157
  40. package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
  41. package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
  42. package/es/modules/companySetting/edit/styles/authModule.less +82 -82
  43. package/es/modules/companySetting/edit/styles/user.less +54 -54
  44. package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
  45. package/es/modules/companySetting/index.js +37 -33
  46. package/es/modules/companySetting/index.less +90 -90
  47. package/es/modules/companySetting/info/index.less +42 -42
  48. package/es/modules/companySetting/mainPart/images/img2.svg +12 -12
  49. package/es/modules/companySetting/mainPart/index.less +239 -239
  50. package/es/modules/companySetting/operationLog/index.js +22 -5
  51. package/es/modules/companySetting/operationLog/index.less +33 -33
  52. package/es/modules/companySetting/role/index.less +296 -296
  53. package/es/modules/companySetting/role/setDataRangeDialog/index.less +37 -37
  54. package/es/modules/companySetting/style/common.less +79 -79
  55. package/es/modules/companySetting/style/reset.less +117 -117
  56. package/es/modules/companySetting/user/index.js +36 -24
  57. package/es/modules/companySetting/user/invite.js +47 -100
  58. package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
  59. package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
  60. package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
  61. package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
  62. package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
  63. package/es/modules/companySetting/wechatBinding/index.less +58 -58
  64. package/es/modules/createDemand/constants.d.ts +15 -2
  65. package/es/modules/createDemand/constants.js +57 -4
  66. package/es/modules/createDemand/demo/selectPoint.js +1 -2
  67. package/es/modules/createDemand/index.d.ts +0 -1
  68. package/es/modules/createDemand/index.js +793 -179
  69. package/es/modules/createDemand/styles/index.less +403 -277
  70. package/es/modules/createDemand_bf/demo/index.js +0 -1
  71. package/es/modules/createDemand_bf/index.js +0 -1
  72. package/es/modules/createDemand_bf/styles/index.less +222 -222
  73. package/es/modules/createProcess/components/index.less +52 -52
  74. package/es/modules/createProcess/index.less +114 -114
  75. package/es/modules/createProcess/title/index.less +53 -53
  76. package/es/modules/dealDemand/demo/index.js +0 -1
  77. package/es/modules/dealDemand/demo/selectPoint.js +1 -1
  78. package/es/modules/dealDemand/index.js +0 -2
  79. package/es/modules/dealDemand/styles/index.less +265 -265
  80. package/es/modules/demandManage/index.js +174 -163
  81. package/es/modules/demandManage/styles/index.less +155 -210
  82. package/es/modules/getPassword/index.less +122 -122
  83. package/es/modules/messageList/index.d.ts +1 -1
  84. package/es/modules/messageList/index.js +6 -6
  85. package/es/modules/messageList/index.less +81 -81
  86. package/es/modules/personalSetting/demo/index.d.ts +3 -0
  87. package/es/modules/personalSetting/demo/index.js +12 -0
  88. package/es/modules/personalSetting/index.js +11 -1
  89. package/es/modules/personalSetting/info/index.js +23 -5
  90. package/es/modules/personalSetting/securityLog/index.less +11 -11
  91. package/es/modules/personalSetting/styles/unbinding.less +73 -73
  92. package/es/modules/pointMap/ImportModal/styles/index.less +91 -91
  93. package/es/modules/pointMap/createMetaDrawer.d.ts +5 -0
  94. package/es/modules/pointMap/createMetaDrawer.js +825 -0
  95. package/es/modules/pointMap/editTxt/index.less +55 -55
  96. package/es/modules/pointMap/pageInfo.js +401 -179
  97. package/es/modules/pointMap/record.d.ts +7 -0
  98. package/es/modules/pointMap/record.js +521 -0
  99. package/es/modules/pointMap/styles/index.less +165 -38
  100. package/es/modules/pointMap/styles/pageInfo.less +439 -244
  101. package/es/modules/pointMap/styles/tree.css +28 -9
  102. package/es/modules/pointMap/styles/tree.less +33 -8
  103. package/es/modules/pointMap/tree.js +232 -88
  104. package/es/modules/pointMap/types.d.ts +88 -0
  105. package/es/modules/pointMap/types.js +1 -0
  106. package/es/modules/systemSetting/Dictionary.d.ts +5 -2
  107. package/es/modules/systemSetting/Dictionary.js +54 -370
  108. package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.less +14 -14
  109. package/es/modules/systemSetting/approvalmanage/index.less +5 -5
  110. package/es/modules/systemSetting/approvalmanage/processManage/index.less +39 -39
  111. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.d.ts +9 -0
  112. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +245 -0
  113. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +48 -0
  114. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.d.ts +4 -0
  115. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.js +207 -0
  116. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/type/index.d.ts +10 -0
  117. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/type/index.js +1 -0
  118. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.d.ts +10 -0
  119. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.js +124 -0
  120. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/css/index.less +32 -0
  121. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.d.ts +7 -0
  122. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +264 -0
  123. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.d.ts +9 -0
  124. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.js +1 -0
  125. package/es/modules/systemSetting/document-setting/index.js +7 -6
  126. package/es/modules/systemSetting/index.js +16 -16
  127. package/es/modules/systemSetting/notice/configItem/index.less +21 -21
  128. package/es/modules/systemSetting/notice/edit/index.less +26 -26
  129. package/es/types/personal.d.ts +1 -0
  130. package/package.json +3 -3
@@ -1,239 +1,239 @@
1
- @import '../../../constants/icons/iconfont.css';
2
- .main-part {
3
- padding: 0 24px;
4
- &-form {
5
- display: flex;
6
- justify-content: space-between;
7
- width: 100%;
8
- padding: 16px 0;
9
-
10
- .biz-select-handle-input {
11
- width: 104px;
12
- }
13
-
14
- .ant-form-item-label > label {
15
- color: #021429;
16
- font-weight: 500;
17
- font-size: 16px;
18
- }
19
-
20
- .ant-form-item-label > label::after {
21
- content: '';
22
- }
23
-
24
- &-item {
25
- display: flex;
26
- gap: 4px;
27
- align-items: center;
28
- justify-content: center;
29
-
30
- h3 {
31
- margin-bottom: 0;
32
- }
33
- }
34
- }
35
-
36
- &-form-content {
37
- .ant-form-item-label > label::after {
38
- content: '';
39
- }
40
- }
41
-
42
- &-operate {
43
- display: flex;
44
- gap: 16px;
45
- justify-content: flex-start;
46
- }
47
-
48
- &-create-btn {
49
- background: #d0dfff;
50
- border-color: #d0dfff;
51
- }
52
-
53
- &-create-btn:hover {
54
- background: #d0dfff;
55
- border-color: #d0dfff;
56
- }
57
-
58
- &-input-150 {
59
- width: 150px;
60
- }
61
-
62
- &-content-flex {
63
- display: flex;
64
- }
65
-
66
- &-main-type {
67
- display: flex;
68
- gap: 0 10px;
69
- }
70
-
71
- &-desc-color {
72
- color: #9aa1a9;
73
- }
74
-
75
- &-drawer {
76
- .ant-drawer-header-title {
77
- flex-direction: row-reverse;
78
- }
79
- }
80
-
81
- &-popover {
82
- padding: 12px 8px;
83
-
84
- &-header {
85
- display: flex;
86
- justify-content: space-between;
87
- padding: 0 0 26px 0;
88
- }
89
-
90
- &-content {
91
- display: flex;
92
- flex-direction: column;
93
- gap: 16px;
94
- justify-content: center;
95
-
96
- &-item {
97
- display: flex;
98
- gap: 24px;
99
- align-items: center;
100
- padding: 18px 24px;
101
- background: #f5f9ff;
102
- border: 1px solid #e8edff;
103
- border-radius: 12px;
104
- }
105
-
106
- &-text {
107
- width: 370px;
108
-
109
- h4 {
110
- color: var(--io-N-, #021429);
111
- font-weight: 500;
112
- font-size: 14px;
113
- font-family: 'PingFang SC';
114
- font-style: normal;
115
- }
116
-
117
- span {
118
- color: var(--io-N6-, #67727f);
119
- font-weight: 400;
120
- font-size: 12px;
121
- font-family: 'PingFang SC';
122
- font-style: normal;
123
- line-height: 150%; /* 18px */
124
- }
125
- }
126
-
127
- .img1 {
128
- width: 48px;
129
- height: 48px;
130
- background: url('./images/img1.png') no-repeat;
131
- background-size: cover;
132
- }
133
-
134
- .img2 {
135
- width: 48px;
136
- height: 48px;
137
- background: url('./images/img2.svg') no-repeat;
138
- background-size: cover;
139
- }
140
- }
141
-
142
- &-mounted {
143
- .ant-popover-inner {
144
- border-radius: 10px !important;
145
- }
146
-
147
- .ant-popover-arrow {
148
- left: 11px !important;
149
- }
150
- }
151
- }
152
-
153
- &-biz-detail {
154
- background: #f5f5f5;
155
- > :nth-child(1) {
156
- padding-left: 24px;
157
- background: #fff;
158
- }
159
- .cdp-biz-detail-tabs {
160
- > :nth-child(1) {
161
- padding-left: 24px;
162
- }
163
- }
164
- .biz-detail-content {
165
- margin: 16px;
166
- padding: 0 !important;
167
- }
168
- }
169
-
170
- &-platform {
171
- display: flex;
172
- gap: 4px;
173
- align-items: center;
174
- justify-content: flex-start;
175
- }
176
-
177
- &-modal {
178
- .ant-input-textarea {
179
- position: relative;
180
-
181
- &::after {
182
- position: absolute;
183
- right: 10px;
184
- bottom: 23px;
185
- float: none;
186
- }
187
- }
188
-
189
- .ant-modal-body {
190
- padding: 24px !important;
191
- }
192
-
193
- .ant-modal-confirm-body .ant-modal-confirm-title {
194
- color: #000;
195
- font-size: 24px;
196
- line-height: 24px;
197
- }
198
-
199
- .ant-modal-confirm-body .ant-modal-confirm-content {
200
- margin-top: 0;
201
- padding-top: 24px;
202
- }
203
-
204
- .ant-modal-close {
205
- padding-top: 8px;
206
- padding-right: 6px;
207
-
208
- &-x {
209
- color: #021429;
210
- font-size: 24px;
211
- }
212
- }
213
- }
214
-
215
- &-disabled,
216
- &-disabled:hover,
217
- &-disabled:focus {
218
- color: #fff !important;
219
- background: var(--io-i2-, #d0dfff) !important;
220
- border: 1px solid #d0dfff !important;
221
- cursor: not-allowed !important;
222
- }
223
-
224
- &-a-disabled,
225
- &-a-disabled:hover,
226
- &-a-disabled:focus {
227
- color: #9aa1a9;
228
- cursor: not-allowed !important;
229
- }
230
-
231
- .ant-btn-primary[disabled],
232
- .ant-btn-primary[disabled]:hover,
233
- .ant-btn-primary[disabled]:focus,
234
- .ant-btn-primary[disabled]:active {
235
- color: #fff;
236
- background: var(--io-i2-, #d0dfff);
237
- border: 1px solid #d0dfff;
238
- }
239
- }
1
+ @import '../../../constants/icons/iconfont.css';
2
+ .main-part {
3
+ padding: 0 24px;
4
+ &-form {
5
+ display: flex;
6
+ justify-content: space-between;
7
+ width: 100%;
8
+ padding: 16px 0;
9
+
10
+ .biz-select-handle-input {
11
+ width: 104px;
12
+ }
13
+
14
+ .ant-form-item-label > label {
15
+ color: #021429;
16
+ font-weight: 500;
17
+ font-size: 16px;
18
+ }
19
+
20
+ .ant-form-item-label > label::after {
21
+ content: '';
22
+ }
23
+
24
+ &-item {
25
+ display: flex;
26
+ gap: 4px;
27
+ align-items: center;
28
+ justify-content: center;
29
+
30
+ h3 {
31
+ margin-bottom: 0;
32
+ }
33
+ }
34
+ }
35
+
36
+ &-form-content {
37
+ .ant-form-item-label > label::after {
38
+ content: '';
39
+ }
40
+ }
41
+
42
+ &-operate {
43
+ display: flex;
44
+ gap: 16px;
45
+ justify-content: flex-start;
46
+ }
47
+
48
+ &-create-btn {
49
+ background: #d0dfff;
50
+ border-color: #d0dfff;
51
+ }
52
+
53
+ &-create-btn:hover {
54
+ background: #d0dfff;
55
+ border-color: #d0dfff;
56
+ }
57
+
58
+ &-input-150 {
59
+ width: 150px;
60
+ }
61
+
62
+ &-content-flex {
63
+ display: flex;
64
+ }
65
+
66
+ &-main-type {
67
+ display: flex;
68
+ gap: 0 10px;
69
+ }
70
+
71
+ &-desc-color {
72
+ color: #9aa1a9;
73
+ }
74
+
75
+ &-drawer {
76
+ .ant-drawer-header-title {
77
+ flex-direction: row-reverse;
78
+ }
79
+ }
80
+
81
+ &-popover {
82
+ padding: 12px 8px;
83
+
84
+ &-header {
85
+ display: flex;
86
+ justify-content: space-between;
87
+ padding: 0 0 26px 0;
88
+ }
89
+
90
+ &-content {
91
+ display: flex;
92
+ flex-direction: column;
93
+ gap: 16px;
94
+ justify-content: center;
95
+
96
+ &-item {
97
+ display: flex;
98
+ gap: 24px;
99
+ align-items: center;
100
+ padding: 18px 24px;
101
+ background: #f5f9ff;
102
+ border: 1px solid #e8edff;
103
+ border-radius: 12px;
104
+ }
105
+
106
+ &-text {
107
+ width: 370px;
108
+
109
+ h4 {
110
+ color: var(--io-N-, #021429);
111
+ font-weight: 500;
112
+ font-size: 14px;
113
+ font-family: 'PingFang SC';
114
+ font-style: normal;
115
+ }
116
+
117
+ span {
118
+ color: var(--io-N6-, #67727f);
119
+ font-weight: 400;
120
+ font-size: 12px;
121
+ font-family: 'PingFang SC';
122
+ font-style: normal;
123
+ line-height: 150%; /* 18px */
124
+ }
125
+ }
126
+
127
+ .img1 {
128
+ width: 48px;
129
+ height: 48px;
130
+ background: url('./images/img1.png') no-repeat;
131
+ background-size: cover;
132
+ }
133
+
134
+ .img2 {
135
+ width: 48px;
136
+ height: 48px;
137
+ background: url('./images/img2.svg') no-repeat;
138
+ background-size: cover;
139
+ }
140
+ }
141
+
142
+ &-mounted {
143
+ .ant-popover-inner {
144
+ border-radius: 10px !important;
145
+ }
146
+
147
+ .ant-popover-arrow {
148
+ left: 11px !important;
149
+ }
150
+ }
151
+ }
152
+
153
+ &-biz-detail {
154
+ background: #f5f5f5;
155
+ > :nth-child(1) {
156
+ padding-left: 24px;
157
+ background: #fff;
158
+ }
159
+ .cdp-biz-detail-tabs {
160
+ > :nth-child(1) {
161
+ padding-left: 24px;
162
+ }
163
+ }
164
+ .biz-detail-content {
165
+ margin: 16px;
166
+ padding: 0 !important;
167
+ }
168
+ }
169
+
170
+ &-platform {
171
+ display: flex;
172
+ gap: 4px;
173
+ align-items: center;
174
+ justify-content: flex-start;
175
+ }
176
+
177
+ &-modal {
178
+ .ant-input-textarea {
179
+ position: relative;
180
+
181
+ &::after {
182
+ position: absolute;
183
+ right: 10px;
184
+ bottom: 23px;
185
+ float: none;
186
+ }
187
+ }
188
+
189
+ .ant-modal-body {
190
+ padding: 24px !important;
191
+ }
192
+
193
+ .ant-modal-confirm-body .ant-modal-confirm-title {
194
+ color: #000;
195
+ font-size: 24px;
196
+ line-height: 24px;
197
+ }
198
+
199
+ .ant-modal-confirm-body .ant-modal-confirm-content {
200
+ margin-top: 0;
201
+ padding-top: 24px;
202
+ }
203
+
204
+ .ant-modal-close {
205
+ padding-top: 8px;
206
+ padding-right: 6px;
207
+
208
+ &-x {
209
+ color: #021429;
210
+ font-size: 24px;
211
+ }
212
+ }
213
+ }
214
+
215
+ &-disabled,
216
+ &-disabled:hover,
217
+ &-disabled:focus {
218
+ color: #fff !important;
219
+ background: var(--io-i2-, #d0dfff) !important;
220
+ border: 1px solid #d0dfff !important;
221
+ cursor: not-allowed !important;
222
+ }
223
+
224
+ &-a-disabled,
225
+ &-a-disabled:hover,
226
+ &-a-disabled:focus {
227
+ color: #9aa1a9;
228
+ cursor: not-allowed !important;
229
+ }
230
+
231
+ .ant-btn-primary[disabled],
232
+ .ant-btn-primary[disabled]:hover,
233
+ .ant-btn-primary[disabled]:focus,
234
+ .ant-btn-primary[disabled]:active {
235
+ color: #fff;
236
+ background: var(--io-i2-, #d0dfff);
237
+ border: 1px solid #d0dfff;
238
+ }
239
+ }
@@ -13,9 +13,10 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
13
13
  import React, { useEffect, useState, useContext } from 'react';
14
14
  import request from '../../../utils/ajax';
15
15
  import apis from '../../../constants/api';
16
- import { DatePicker, Radio, Table } from 'antd';
16
+ import { DatePicker, Radio, Table, Button, Space } from 'antd';
17
17
  import locale from 'antd/es/date-picker/locale/zh_CN';
18
18
  import { BizGlobalDataContext } from '@zgfe/business-lib';
19
+ import { DownloadOutlined } from '@ant-design/icons';
19
20
  import moment from 'moment';
20
21
  import './index.less';
21
22
  import { setColumnsList } from './util';
@@ -24,7 +25,8 @@ var OperationLog = function OperationLog() {
24
25
  var classPrefix = 'operation-log-page';
25
26
  var _useContext = useContext(BizGlobalDataContext),
26
27
  authority = _useContext.authority,
27
- basicConfig = _useContext.basicConfig;
28
+ basicConfig = _useContext.basicConfig,
29
+ showProdDownload = _useContext.showProdDownload;
28
30
  var _useState = useState({
29
31
  page: 1,
30
32
  size: 10,
@@ -139,7 +141,7 @@ var OperationLog = function OperationLog() {
139
141
  }, condition)
140
142
  }).then(function (res) {
141
143
  if (parseInt(res === null || res === void 0 ? void 0 : res.code) == 100000) {
142
- var maxDate = res.data[res.data.length - 1] || '';
144
+ var maxDate = res.data[0] || '';
143
145
  setDateRange(res.data);
144
146
  setCondition(function () {
145
147
  return {
@@ -152,6 +154,16 @@ var OperationLog = function OperationLog() {
152
154
  }
153
155
  });
154
156
  }
157
+ function exportData() {
158
+ request(apis.log.exportLog, {
159
+ method: 'post',
160
+ data: _objectSpread({
161
+ type: logType
162
+ }, condition),
163
+ responseType: 'blob',
164
+ fileName: "\u65E5\u5FD7\u4E0B\u8F7D_".concat(moment().format('YYYYMMDD'))
165
+ }).then(function (res) {});
166
+ }
155
167
  function queryLog() {
156
168
  setLoading(true);
157
169
  if (!condition.year || !condition.month) return;
@@ -209,7 +221,7 @@ var OperationLog = function OperationLog() {
209
221
  }, "\u64CD\u4F5C\u65E5\u5FD7"), /*#__PURE__*/React.createElement(Radio.Button, {
210
222
  value: "3",
211
223
  disabled: !authority[10104]
212
- }, "\u6743\u9650\u7BA1\u7406\u65E5\u5FD7")), condition.year && (/*#__PURE__*/React.createElement(DatePicker, {
224
+ }, "\u6743\u9650\u7BA1\u7406\u65E5\u5FD7")), /*#__PURE__*/React.createElement(Space, null, condition.year && (/*#__PURE__*/React.createElement(DatePicker, {
213
225
  value: moment("".concat(condition.year, "-").concat(condition.month), 'YYYY-MM'),
214
226
  picker: "month",
215
227
  disabledDate: disabledDate,
@@ -217,7 +229,12 @@ var OperationLog = function OperationLog() {
217
229
  onChange: onChangeTime,
218
230
  inputReadOnly: true,
219
231
  allowClear: false
220
- }))), /*#__PURE__*/React.createElement("div", {
232
+ })), showProdDownload && (/*#__PURE__*/React.createElement(Button, {
233
+ shape: "circle",
234
+ icon: /*#__PURE__*/React.createElement(DownloadOutlined, null),
235
+ size: "middle",
236
+ onClick: exportData
237
+ })))), /*#__PURE__*/React.createElement("div", {
221
238
  className: "".concat(classPrefix, "-table")
222
239
  }, /*#__PURE__*/React.createElement(Table, {
223
240
  columns: columns,
@@ -1,33 +1,33 @@
1
- .operation-log-page {
2
- display: flex;
3
- flex-direction: column;
4
- margin-top: 8px;
5
-
6
- &-header {
7
- display: flex;
8
- justify-content: space-between;
9
- margin-bottom: 30px;
10
- }
11
-
12
- &-table {
13
- flex: 1;
14
- overflow-y: auto;
15
- }
16
-
17
- .ant-radio-group {
18
- .ant-radio-button-wrapper:first-child {
19
- border-radius: 4px 0 0 4px;
20
- }
21
-
22
- .ant-radio-button-wrapper:last-child {
23
- border-radius: 0 4px 4px 0;
24
- }
25
- }
26
-
27
- &-columns {
28
- width: 120px;
29
- overflow: hidden;
30
- white-space: nowrap;
31
- text-overflow: ellipsis;
32
- }
33
- }
1
+ .operation-log-page {
2
+ display: flex;
3
+ flex-direction: column;
4
+ margin-top: 8px;
5
+
6
+ &-header {
7
+ display: flex;
8
+ justify-content: space-between;
9
+ margin-bottom: 30px;
10
+ }
11
+
12
+ &-table {
13
+ flex: 1;
14
+ overflow-y: auto;
15
+ }
16
+
17
+ .ant-radio-group {
18
+ .ant-radio-button-wrapper:first-child {
19
+ border-radius: 4px 0 0 4px;
20
+ }
21
+
22
+ .ant-radio-button-wrapper:last-child {
23
+ border-radius: 0 4px 4px 0;
24
+ }
25
+ }
26
+
27
+ &-columns {
28
+ width: 120px;
29
+ overflow: hidden;
30
+ white-space: nowrap;
31
+ text-overflow: ellipsis;
32
+ }
33
+ }