easy3wui 1.4.253 → 1.4.254
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/lib/Easy3wFlow/index.js +3 -3
- package/package.json +1 -1
package/lib/Easy3wFlow/index.js
CHANGED
|
@@ -142,9 +142,9 @@ var Easy3wFlow = function (_Component) {
|
|
|
142
142
|
var renderTopTemp = flowData.map(function (flow, index) {
|
|
143
143
|
var styleflowcircle = (0, _classnames2['default'])(['flowcircle', 'haiergrey']);
|
|
144
144
|
if (flow.status === '10') {
|
|
145
|
-
styleflowcircle = flowCurCode
|
|
145
|
+
styleflowcircle = flowCurCode.indexOf(flow.code) > -1 ? (0, _classnames2['default'])(['flowcircle-active-haierorange', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
|
|
146
146
|
} else if (flow.status === '20' || flow.status === '30') {
|
|
147
|
-
styleflowcircle = flowCurCode
|
|
147
|
+
styleflowcircle = flowCurCode.indexOf(flow.code) > -1 ? (0, _classnames2['default'])(['flowcircle-active-haierblue', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
|
|
148
148
|
}
|
|
149
149
|
return _react2['default'].createElement(
|
|
150
150
|
'div',
|
|
@@ -364,7 +364,7 @@ var Easy3wFlow = function (_Component) {
|
|
|
364
364
|
return _react2['default'].createElement(
|
|
365
365
|
'div',
|
|
366
366
|
{ className: styleflowtext },
|
|
367
|
-
flow.
|
|
367
|
+
flow.showDateFlag ? detailMidTitle : defaultMidTitle
|
|
368
368
|
);
|
|
369
369
|
});
|
|
370
370
|
|