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 CHANGED
@@ -320,7 +320,7 @@
320
320
  position: relative;
321
321
  left: -50%;
322
322
  }
323
- .flowmain .flowcircle-active .flowmain .flowcircle::before {
323
+ .flowmain .flowcircle-active::before {
324
324
  background-color: #5867ad;
325
325
  content: '';
326
326
  height: 2px;
package/assets/index.css CHANGED
@@ -765,7 +765,7 @@ s {
765
765
  position: relative;
766
766
  left: -50%;
767
767
  }
768
- .flowmain .flowcircle-active .flowmain .flowcircle::before {
768
+ .flowmain .flowcircle-active::before {
769
769
  background-color: #5867ad;
770
770
  content: '';
771
771
  height: 2px;
@@ -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
- flowCurParentCode = _this$props.flowCurParentCode;
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 = flowCurParentCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active', 'haierorange']) : (0, _classnames2['default'])(['flowcircle', 'haierorange']);
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 = flowCurParentCode === flow.code ? (0, _classnames2['default'])(['flowcircle-active', 'haierblue']) : (0, _classnames2['default'])(['flowcircle', 'haierblue']);
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 != '40';
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 + '&flowCurParentCode=' + (subItem.parentCode || '1') + '&noReGetFlowFlag=1';
403
- var readPage = subItem.readPage + '?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + subItem.code + '&flowCurParentCode=' + (subItem.parentCode || '1') + '&noReGetFlowFlag=1';
404
- var handlIngPage = '/inside/SYS/FLOW/route/EFAC0000?businessId=' + businessId + '&processCode=' + processCode + '&roleCode=' + roleCode + '&flowCurCode=' + subItem.code + '&flowCurParentCode=' + (subItem.parentCode || '1') + '&noReGetFlowFlag=1';
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.4.201",
3
+ "version": "1.4.205",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",