@zgfe/modules-settings 2.1.0-zhongyuan.12 → 2.1.0-zhongyuan.14

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,144 +1,144 @@
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
- }
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
+ }
@@ -50,7 +50,8 @@ var CreateDemand = function CreateDemand(props) {
50
50
  isDemo = _useContext.isDemo,
51
51
  authority = _useContext.authority,
52
52
  routes = _useContext.routes,
53
- router = _useContext.router;
53
+ router = _useContext.router,
54
+ showProdDownload = _useContext.showProdDownload;
54
55
  // 属性列表加载中
55
56
  // const [loading, setLoading] = useState(true);
56
57
  var _useState = useState([]),
@@ -303,7 +304,7 @@ var CreateDemand = function CreateDemand(props) {
303
304
  var isZip = regex.test(file.name);
304
305
  var is10M = file.size < 50 * 1024 * 1024;
305
306
  if (!isZip || !is10M) {
306
- message.error("\u4EC5\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A50M\u4EE5\u5185\u7684Word\u3001Excel\u3001PDF\u3001ZIP\u3001ZIP\u3001RAR\u683C\u5F0F\u538B\u7F29\u5305\u9644\u4EF6");
307
+ message.error("\u4EC5\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A50M\u4EE5\u5185\u7684Word\u3001Excel\u3001PDF\u3001ZIP\u3001RAR\u683C\u5F0F\u538B\u7F29\u5305\u9644\u4EF6");
307
308
  } else {
308
309
  // setValueLoading(true);
309
310
  var formData = new FormData();
@@ -1019,7 +1020,7 @@ var CreateDemand = function CreateDemand(props) {
1019
1020
  style: {
1020
1021
  color: '#021429'
1021
1022
  }
1022
- }, demandDescribe ? demandDescribe.length : 0), /*#__PURE__*/React.createElement("span", null, "/1000")))), /*#__PURE__*/React.createElement("div", {
1023
+ }, demandDescribe ? demandDescribe.length : 0), /*#__PURE__*/React.createElement("span", null, "/1000")))), showProdDownload && (/*#__PURE__*/React.createElement("div", {
1023
1024
  className: "".concat(classPrefix, "-info-item")
1024
1025
  }, /*#__PURE__*/React.createElement("div", {
1025
1026
  className: "".concat(classPrefix, "-info-item-txt")
@@ -1052,7 +1053,7 @@ var CreateDemand = function CreateDemand(props) {
1052
1053
  type: "tianjia1"
1053
1054
  }), "\u6DFB\u52A0\u6587\u4EF6")), /*#__PURE__*/React.createElement("div", {
1054
1055
  className: "".concat(classPrefix, "-info-item-content-tip")
1055
- }, "\uFF08\u652F\u6301 Word\u3001Excel\u3001PDF\u3001ZIP\u3001ZIP\u3001RAR \u683C\u5F0F\u300150M\u4EE5\u5185\uFF09"))))), (demandStatus == 101 || demandStatus == 102) && (/*#__PURE__*/React.createElement("div", {
1056
+ }, "\uFF08\u652F\u6301 Word\u3001Excel\u3001PDF\u3001ZIP\u3001RAR \u683C\u5F0F\u300150M\u4EE5\u5185\uFF09")))))), (demandStatus == 101 || demandStatus == 102) && (/*#__PURE__*/React.createElement("div", {
1056
1057
  className: "".concat(classPrefix, "-info-item")
1057
1058
  }, /*#__PURE__*/React.createElement("div", {
1058
1059
  className: "".concat(classPrefix, "-info-item-txt")
@@ -1253,11 +1254,11 @@ var CreateDemand = function CreateDemand(props) {
1253
1254
  }
1254
1255
  }, "\u5173\u95ED\u9700\u6C42")), demandType == 'edit' && /*#__PURE__*/React.createElement(Button, {
1255
1256
  onClick: onBack
1256
- }, "\u53D6\u6D88"), !isDemo && authority[1724922574] && demandStatus > 0 && (/*#__PURE__*/React.createElement(Button, {
1257
+ }, "\u53D6\u6D88"), !isDemo && authority[1724922574] && demandStatus > 0 && showProdDownload && (/*#__PURE__*/React.createElement(Button, {
1257
1258
  shape: "round",
1258
1259
  className: "button",
1259
1260
  onClick: exportPDF
1260
- }, "\u5BFC\u51FA\u9700\u6C42PDF")), !isDemo && authority[1724922705] && pointEventInfo && !!pointEventInfo.length && (/*#__PURE__*/React.createElement(Button, {
1261
+ }, "\u5BFC\u51FA\u9700\u6C42PDF")), !isDemo && authority[1724922705] && pointEventInfo && !!pointEventInfo.length && showProdDownload && (/*#__PURE__*/React.createElement(Button, {
1261
1262
  shape: "round",
1262
1263
  className: "button",
1263
1264
  onClick: downloadData