easy3wui 1.4.190 → 1.4.194
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.
- package/assets/card.css +1 -0
- package/assets/flow.css +10 -10
- package/assets/index.css +11 -10
- package/lib/Easy3wFlow/index.js +4 -4
- package/lib/Easy3wFormPage/index.js +6 -4
- package/package.json +1 -1
package/assets/card.css
CHANGED
package/assets/flow.css
CHANGED
|
@@ -728,8 +728,8 @@
|
|
|
728
728
|
.flowmain .flowdoc img {
|
|
729
729
|
display: inline-block;
|
|
730
730
|
position: absolute;
|
|
731
|
-
right:
|
|
732
|
-
bottom:
|
|
731
|
+
right: -1px;
|
|
732
|
+
bottom: -1px;
|
|
733
733
|
z-index: 1;
|
|
734
734
|
width: 21px;
|
|
735
735
|
}
|
|
@@ -867,8 +867,8 @@
|
|
|
867
867
|
/*一个节点*/
|
|
868
868
|
/* 流程图状态颜色 */
|
|
869
869
|
.common {
|
|
870
|
-
height:
|
|
871
|
-
width:
|
|
870
|
+
height: 12px;
|
|
871
|
+
width: 12px;
|
|
872
872
|
}
|
|
873
873
|
.planDate-style {
|
|
874
874
|
color: #000000;
|
|
@@ -876,18 +876,18 @@
|
|
|
876
876
|
margin-left: 12px;
|
|
877
877
|
}
|
|
878
878
|
.planDate-style .wait-style sup {
|
|
879
|
-
height:
|
|
880
|
-
width:
|
|
879
|
+
height: 12px;
|
|
880
|
+
width: 12px;
|
|
881
881
|
background-color: #bfbfbf;
|
|
882
882
|
}
|
|
883
883
|
.planDate-style .delay-style sup {
|
|
884
|
-
height:
|
|
885
|
-
width:
|
|
884
|
+
height: 12px;
|
|
885
|
+
width: 12px;
|
|
886
886
|
background-color: #fa8c16;
|
|
887
887
|
}
|
|
888
888
|
.planDate-style .normal-style sup {
|
|
889
|
-
height:
|
|
890
|
-
width:
|
|
889
|
+
height: 12px;
|
|
890
|
+
width: 12px;
|
|
891
891
|
background-color: #52c41a;
|
|
892
892
|
}
|
|
893
893
|
.planDate-style .normal-style :global .ant-scroll-number,
|
package/assets/index.css
CHANGED
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
.e3wCardForm :global .ant-card-head {
|
|
99
99
|
padding: 0 !important;
|
|
100
100
|
margin: 0 12px;
|
|
101
|
+
border: none;
|
|
101
102
|
}
|
|
102
103
|
.e3wCardForm :global .ant-card-body {
|
|
103
104
|
padding: 0 !important;
|
|
@@ -1172,8 +1173,8 @@ s {
|
|
|
1172
1173
|
.flowmain .flowdoc img {
|
|
1173
1174
|
display: inline-block;
|
|
1174
1175
|
position: absolute;
|
|
1175
|
-
right:
|
|
1176
|
-
bottom:
|
|
1176
|
+
right: -1px;
|
|
1177
|
+
bottom: -1px;
|
|
1177
1178
|
z-index: 1;
|
|
1178
1179
|
width: 21px;
|
|
1179
1180
|
}
|
|
@@ -1311,8 +1312,8 @@ s {
|
|
|
1311
1312
|
/*一个节点*/
|
|
1312
1313
|
/* 流程图状态颜色 */
|
|
1313
1314
|
.common {
|
|
1314
|
-
height:
|
|
1315
|
-
width:
|
|
1315
|
+
height: 12px;
|
|
1316
|
+
width: 12px;
|
|
1316
1317
|
}
|
|
1317
1318
|
.planDate-style {
|
|
1318
1319
|
color: #000000;
|
|
@@ -1320,18 +1321,18 @@ s {
|
|
|
1320
1321
|
margin-left: 12px;
|
|
1321
1322
|
}
|
|
1322
1323
|
.planDate-style .wait-style sup {
|
|
1323
|
-
height:
|
|
1324
|
-
width:
|
|
1324
|
+
height: 12px;
|
|
1325
|
+
width: 12px;
|
|
1325
1326
|
background-color: #bfbfbf;
|
|
1326
1327
|
}
|
|
1327
1328
|
.planDate-style .delay-style sup {
|
|
1328
|
-
height:
|
|
1329
|
-
width:
|
|
1329
|
+
height: 12px;
|
|
1330
|
+
width: 12px;
|
|
1330
1331
|
background-color: #fa8c16;
|
|
1331
1332
|
}
|
|
1332
1333
|
.planDate-style .normal-style sup {
|
|
1333
|
-
height:
|
|
1334
|
-
width:
|
|
1334
|
+
height: 12px;
|
|
1335
|
+
width: 12px;
|
|
1335
1336
|
background-color: #52c41a;
|
|
1336
1337
|
}
|
|
1337
1338
|
.planDate-style .normal-style :global .ant-scroll-number,
|
package/lib/Easy3wFlow/index.js
CHANGED
|
@@ -194,7 +194,7 @@ var Easy3wFlow = function (_Component) {
|
|
|
194
194
|
}
|
|
195
195
|
// 进行中
|
|
196
196
|
if (mainNodeState === 'normal') {
|
|
197
|
-
finishState = _react2['default'].createElement(_badge2['default'], { dot: 'true',
|
|
197
|
+
finishState = _react2['default'].createElement(_badge2['default'], { dot: 'true', className: (0, _classnames2['default'])('normal-style') });
|
|
198
198
|
}
|
|
199
199
|
// 延期
|
|
200
200
|
if (mainNodeState === 'delay') {
|
|
@@ -203,12 +203,12 @@ var Easy3wFlow = function (_Component) {
|
|
|
203
203
|
// 按期完成
|
|
204
204
|
if (mainNodeState === 'onTimeFinish') {
|
|
205
205
|
finishState = _react2['default'].createElement(_badge2['default'], {
|
|
206
|
-
count: _react2['default'].createElement(_icon2['default'], { type: 'check-circle', style: { color: '#52c41a', paddingLeft: 12, paddingBottom: 3, fontSize:
|
|
206
|
+
count: _react2['default'].createElement(_icon2['default'], { type: 'check-circle', style: { color: '#52c41a', paddingLeft: 12, paddingBottom: 3, fontSize: 12 } })
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
// 延期完成
|
|
210
210
|
if (mainNodeState === 'delayFinish') {
|
|
211
|
-
finishState = _react2['default'].createElement(_badge2['default'], { count: _react2['default'].createElement(_icon2['default'], { type: 'check-circle', style: { color: '#ea9d4f', paddingLeft: 12, paddingBottom: 3, fontSize:
|
|
211
|
+
finishState = _react2['default'].createElement(_badge2['default'], { count: _react2['default'].createElement(_icon2['default'], { type: 'check-circle', style: { color: '#ea9d4f', paddingLeft: 12, paddingBottom: 3, fontSize: 12 } }) });
|
|
212
212
|
}
|
|
213
213
|
if (mainNodeState === 'wait') {
|
|
214
214
|
finishState = _react2['default'].createElement(_badge2['default'], { dot: 'true', className: (0, _classnames2['default'])('wait-style') });
|
|
@@ -326,7 +326,7 @@ var Easy3wFlow = function (_Component) {
|
|
|
326
326
|
_react2['default'].createElement('br', null),
|
|
327
327
|
_react2['default'].createElement(
|
|
328
328
|
'span',
|
|
329
|
-
{
|
|
329
|
+
{ className: (0, _classnames2['default'])(['planDate-style']) },
|
|
330
330
|
flow.planDate,
|
|
331
331
|
' ',
|
|
332
332
|
_react2['default'].createElement(
|
|
@@ -1774,18 +1774,20 @@ var Easy3wFormPage = function (_Component) {
|
|
|
1774
1774
|
|
|
1775
1775
|
Easy3wFormPage.prototype.render = function render() {
|
|
1776
1776
|
var getAllForms = this.getAllForms();
|
|
1777
|
-
var
|
|
1777
|
+
var _props = this.props,
|
|
1778
|
+
borderFlag = _props.borderFlag,
|
|
1779
|
+
noBorderFlag = _props.noBorderFlag;
|
|
1778
1780
|
|
|
1779
|
-
if (borderFlag) {
|
|
1781
|
+
if (!borderFlag || noBorderFlag) {
|
|
1780
1782
|
return _react2['default'].createElement(
|
|
1781
1783
|
'div',
|
|
1782
|
-
{
|
|
1784
|
+
{ style: { marginTop: '9px' } },
|
|
1783
1785
|
getAllForms
|
|
1784
1786
|
);
|
|
1785
1787
|
} else {
|
|
1786
1788
|
return _react2['default'].createElement(
|
|
1787
1789
|
'div',
|
|
1788
|
-
{
|
|
1790
|
+
{ className: (0, _classnames2['default'])(['e3wFormPage']) },
|
|
1789
1791
|
getAllForms
|
|
1790
1792
|
);
|
|
1791
1793
|
}
|