easy3wui 1.4.201 → 1.4.205
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/flow.css +1 -1
- package/assets/index.css +1 -1
- package/lib/Easy3wFlow/index.js +10 -10
- package/package.json +1 -1
package/assets/flow.css
CHANGED
package/assets/index.css
CHANGED
package/lib/Easy3wFlow/index.js
CHANGED
|
@@ -126,14 +126,14 @@ var Easy3wFlow = function (_Component) {
|
|
|
126
126
|
roleCode = _this$props.roleCode,
|
|
127
127
|
flowCurCode = _this$props.flowCurCode,
|
|
128
128
|
picTrianglePath = _this$props.picTrianglePath,
|
|
129
|
-
|
|
129
|
+
flowCurMainCode = _this$props.flowCurMainCode;
|
|
130
130
|
|
|
131
131
|
var renderTopTemp = flowData.map(function (flow, index) {
|
|
132
132
|
var styleflowcircle = (0, _classnames2['default'])(['flowcircle', 'haiergrey']);
|
|
133
133
|
if (flow.status === '10') {
|
|
134
|
-
styleflowcircle =
|
|
134
|
+
styleflowcircle = flowCurMainCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
|
|
135
135
|
} else if (flow.status === '20' || flow.status === '30') {
|
|
136
|
-
styleflowcircle =
|
|
136
|
+
styleflowcircle = flowCurMainCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
|
|
137
137
|
}
|
|
138
138
|
return _react2['default'].createElement(
|
|
139
139
|
'div',
|
|
@@ -159,15 +159,15 @@ var Easy3wFlow = function (_Component) {
|
|
|
159
159
|
|
|
160
160
|
var renderMidTemp = flowData.map(function (flow) {
|
|
161
161
|
var item = flow.children.find(function (item, index, array) {
|
|
162
|
-
return item.status
|
|
162
|
+
return item.status !== '40';
|
|
163
163
|
});
|
|
164
164
|
item = item || flow.children[0];
|
|
165
165
|
var firstItem = item || flow;
|
|
166
166
|
// const firstItem = flow.children[0] || flow;
|
|
167
167
|
var firstItemCode = firstItem.code;
|
|
168
|
-
var handlePage = firstItem.handlePage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + firstItemCode + '&noReGetFlowFlag=1';
|
|
169
|
-
var readPage = firstItem.readPage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + firstItem.code + '&noReGetFlowFlag=1';
|
|
170
|
-
var handlIngPage = '/inside/SYS/FLOW/route/EFAC0000?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + firstItem.code + '&noReGetFlowFlag=1';
|
|
168
|
+
var handlePage = firstItem.handlePage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + firstItemCode + '&flowCurMainCode=' + (firstItem.mainCode || '1') + '&noReGetFlowFlag=1';
|
|
169
|
+
var readPage = firstItem.readPage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + firstItem.code + '&flowCurMainCode=' + (firstItem.mainCode || '1') + '&noReGetFlowFlag=1';
|
|
170
|
+
var handlIngPage = '/inside/SYS/FLOW/route/EFAC0000?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + firstItem.code + '&flowCurMainCode=' + (firstItem.mainCode || '1') + '&noReGetFlowFlag=1';
|
|
171
171
|
var mainPage = null;
|
|
172
172
|
var nodeAuthFlag = firstItem.nodeAuthFlag,
|
|
173
173
|
status = firstItem.status;
|
|
@@ -399,9 +399,9 @@ var Easy3wFlow = function (_Component) {
|
|
|
399
399
|
subFlowLength = subFlow.length;
|
|
400
400
|
|
|
401
401
|
var renderBottomTemp = subFlow.map(function (subItem) {
|
|
402
|
-
var handlePage = subItem.handlePage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + subItem.code + '&
|
|
403
|
-
var readPage = subItem.readPage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + subItem.code + '&
|
|
404
|
-
var handlIngPage = '/inside/SYS/FLOW/route/EFAC0000?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + subItem.code + '&
|
|
402
|
+
var handlePage = subItem.handlePage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + subItem.code + '&flowCurMainCode=' + (subItem.mainCode || '1') + '&noReGetFlowFlag=1';
|
|
403
|
+
var readPage = subItem.readPage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + subItem.code + '&flowCurMainCode=' + (subItem.mainCode || '1') + '&noReGetFlowFlag=1';
|
|
404
|
+
var handlIngPage = '/inside/SYS/FLOW/route/EFAC0000?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + subItem.code + '&flowCurMainCode=' + (subItem.mainCode || '1') + '&noReGetFlowFlag=1';
|
|
405
405
|
var page = null;
|
|
406
406
|
var nodeAuthFlag = subItem.nodeAuthFlag,
|
|
407
407
|
status = subItem.status;
|