ecinc-cloud-mappaio 9.6.171 → 9.6.172
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/ecmappaio.common.js +30 -1
- package/lib/ecmappaio.umd.js +30 -1
- package/lib/ecmappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecmappaio.common.js
CHANGED
|
@@ -42638,8 +42638,37 @@ var wfengine_install = function install(Vue) {
|
|
|
42638
42638
|
}
|
|
42639
42639
|
}
|
|
42640
42640
|
if (newWfJsonData.routes.length === 0) delete newWfJsonData.routes;
|
|
42641
|
+
$scope.wfJsonData = newWfJsonData;
|
|
42642
|
+
} else if ($scope.wfInstance.udmNodes && $scope.wfInstance.udmNodes !== '') {
|
|
42643
|
+
var udmNodes = JSON.parse($scope.wfInstance.udmNodes);
|
|
42644
|
+
for (var i = 0; i < udmNodes.length; i++) {
|
|
42645
|
+
if (udmNodes[i].name === 'chartData') {
|
|
42646
|
+
$scope.wfInstance.passenger.chartData = udmNodes[i];
|
|
42647
|
+
udmNodes.splice(i--, 1);
|
|
42648
|
+
}
|
|
42649
|
+
}
|
|
42650
|
+
$scope.wfInstance.udmNodes = udmNodes;
|
|
42651
|
+
} else if ($scope.wfInstance.passenger.udmjysp) {
|
|
42652
|
+
var tnUsers = [{
|
|
42653
|
+
id: $scope.curTN.staffID
|
|
42654
|
+
}];
|
|
42655
|
+
var udmNode = {
|
|
42656
|
+
todoMode: 0,
|
|
42657
|
+
canEdit: 1,
|
|
42658
|
+
status: 1,
|
|
42659
|
+
name: $scope.curTN.tnNodeName,
|
|
42660
|
+
userNames: $scope.curTN.userName,
|
|
42661
|
+
users: tnUsers,
|
|
42662
|
+
id: $scope.curTN.tnNodeID,
|
|
42663
|
+
uuid: $scope.curTN.tnNodeID,
|
|
42664
|
+
startNode: true,
|
|
42665
|
+
ideaLable: ''
|
|
42666
|
+
};
|
|
42667
|
+
$scope.wfInstance.udmNodes = [udmNode];
|
|
42668
|
+
}
|
|
42669
|
+
if ($scope.wfInstance.udmNodes && $scope.curTN.tnNodeID !== null) {
|
|
42670
|
+
$scope.wfJsonData.routes = _this3.setUdmCustomRoutes($scope);
|
|
42641
42671
|
}
|
|
42642
|
-
$scope.wfJsonData = newWfJsonData;
|
|
42643
42672
|
} else {
|
|
42644
42673
|
$scope.wfJsonData = $scope.wfJsonDatabak;
|
|
42645
42674
|
}
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -42648,8 +42648,37 @@ var wfengine_install = function install(Vue) {
|
|
|
42648
42648
|
}
|
|
42649
42649
|
}
|
|
42650
42650
|
if (newWfJsonData.routes.length === 0) delete newWfJsonData.routes;
|
|
42651
|
+
$scope.wfJsonData = newWfJsonData;
|
|
42652
|
+
} else if ($scope.wfInstance.udmNodes && $scope.wfInstance.udmNodes !== '') {
|
|
42653
|
+
var udmNodes = JSON.parse($scope.wfInstance.udmNodes);
|
|
42654
|
+
for (var i = 0; i < udmNodes.length; i++) {
|
|
42655
|
+
if (udmNodes[i].name === 'chartData') {
|
|
42656
|
+
$scope.wfInstance.passenger.chartData = udmNodes[i];
|
|
42657
|
+
udmNodes.splice(i--, 1);
|
|
42658
|
+
}
|
|
42659
|
+
}
|
|
42660
|
+
$scope.wfInstance.udmNodes = udmNodes;
|
|
42661
|
+
} else if ($scope.wfInstance.passenger.udmjysp) {
|
|
42662
|
+
var tnUsers = [{
|
|
42663
|
+
id: $scope.curTN.staffID
|
|
42664
|
+
}];
|
|
42665
|
+
var udmNode = {
|
|
42666
|
+
todoMode: 0,
|
|
42667
|
+
canEdit: 1,
|
|
42668
|
+
status: 1,
|
|
42669
|
+
name: $scope.curTN.tnNodeName,
|
|
42670
|
+
userNames: $scope.curTN.userName,
|
|
42671
|
+
users: tnUsers,
|
|
42672
|
+
id: $scope.curTN.tnNodeID,
|
|
42673
|
+
uuid: $scope.curTN.tnNodeID,
|
|
42674
|
+
startNode: true,
|
|
42675
|
+
ideaLable: ''
|
|
42676
|
+
};
|
|
42677
|
+
$scope.wfInstance.udmNodes = [udmNode];
|
|
42678
|
+
}
|
|
42679
|
+
if ($scope.wfInstance.udmNodes && $scope.curTN.tnNodeID !== null) {
|
|
42680
|
+
$scope.wfJsonData.routes = _this3.setUdmCustomRoutes($scope);
|
|
42651
42681
|
}
|
|
42652
|
-
$scope.wfJsonData = newWfJsonData;
|
|
42653
42682
|
} else {
|
|
42654
42683
|
$scope.wfJsonData = $scope.wfJsonDatabak;
|
|
42655
42684
|
}
|