ecinc-cloud-wappaio 9.6.339 → 9.6.341
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/ecwappaio.common.js +12 -8
- package/lib/ecwappaio.umd.js +12 -8
- package/lib/ecwappaio.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -9050,7 +9050,7 @@ function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
|
|
|
9050
9050
|
return meta.btnName;
|
|
9051
9051
|
}
|
|
9052
9052
|
}
|
|
9053
|
-
if (meta.i18nCode && $scope.$te(meta.i18nCode)) {
|
|
9053
|
+
if (meta.i18nCode && meta.i18nCode.indexOf('.') !== -1 && $scope.$te(meta.i18nCode)) {
|
|
9054
9054
|
return $scope.$t(meta.i18nCode, variables);
|
|
9055
9055
|
}
|
|
9056
9056
|
var moduleInfo = $scope.moduleInfo || $scope.$vnode.context.moduleInfo || $scope.$vnode.context.$vnode.context.moduleInfo;
|
|
@@ -144616,6 +144616,7 @@ var wfengine_install = function install(Vue) {
|
|
|
144616
144616
|
$scope.canEditBodyfile = canEditBodyfile;
|
|
144617
144617
|
},
|
|
144618
144618
|
getWfJsonData: function getWfJsonData($scope, wfInstance, params) {
|
|
144619
|
+
var _this2 = this;
|
|
144619
144620
|
return new Promise(function (resolve) {
|
|
144620
144621
|
var wfEngineUrl = params.wfEngineUrl || $scope.wfEngineUrl || 'workflow/wfInstance';
|
|
144621
144622
|
wfEngineUrl += '/getWfJsonData';
|
|
@@ -144692,13 +144693,16 @@ var wfengine_install = function install(Vue) {
|
|
|
144692
144693
|
}
|
|
144693
144694
|
// $scope.submitTemplateList.unshift({ templateName: '---选择办理模板---', valid: true })
|
|
144694
144695
|
$scope.submitTemplate = $scope.submitTemplateList[0];
|
|
144696
|
+
_this2.$nextTick(function () {
|
|
144697
|
+
$scope.$bus.emit('initSubmitHandle');
|
|
144698
|
+
});
|
|
144695
144699
|
}
|
|
144696
144700
|
resolve(res);
|
|
144697
144701
|
});
|
|
144698
144702
|
});
|
|
144699
144703
|
},
|
|
144700
144704
|
saveWfInstance: function saveWfInstance($scope, submitType, params) {
|
|
144701
|
-
var
|
|
144705
|
+
var _this3 = this;
|
|
144702
144706
|
return new Promise(function (resolve) {
|
|
144703
144707
|
$scope.submitHandle.submitType = submitType;
|
|
144704
144708
|
delete $scope.submitHandle.selectedNodes;
|
|
@@ -144875,7 +144879,7 @@ var wfengine_install = function install(Vue) {
|
|
|
144875
144879
|
}
|
|
144876
144880
|
if (res.body.wfInstance.passenger.commandBar) {
|
|
144877
144881
|
var commandBar = JSON.parse(JSON.stringify(res.body.wfInstance.passenger.commandBar));
|
|
144878
|
-
|
|
144882
|
+
_this3.setCommandBar($scope, commandBar);
|
|
144879
144883
|
$scope.commandBar = commandBar;
|
|
144880
144884
|
}
|
|
144881
144885
|
$scope.vo = $scope.vobak;
|
|
@@ -144902,7 +144906,7 @@ var wfengine_install = function install(Vue) {
|
|
|
144902
144906
|
if (typeof $scope.onWflowFormSubmited === 'function') {
|
|
144903
144907
|
$scope.onWflowFormSubmited($scope);
|
|
144904
144908
|
}
|
|
144905
|
-
|
|
144909
|
+
_this3.$nextTick(function () {
|
|
144906
144910
|
$scope.$bus.emit('initSubmitHandle');
|
|
144907
144911
|
});
|
|
144908
144912
|
} else {
|
|
@@ -145033,7 +145037,7 @@ var wfengine_install = function install(Vue) {
|
|
|
145033
145037
|
};
|
|
145034
145038
|
},
|
|
145035
145039
|
checkOuterDeputy: function checkOuterDeputy($scope, params) {
|
|
145036
|
-
var
|
|
145040
|
+
var _this4 = this;
|
|
145037
145041
|
return new Promise(function (resole) {
|
|
145038
145042
|
if ($scope.submitHandle.needCheckOuterDeputy && $scope.submitHandle.needCheckOuterDeputy.length > 0) {
|
|
145039
145043
|
var nextTNUsers = $scope.submitHandle.needCheckOuterDeputy;
|
|
@@ -145083,7 +145087,7 @@ var wfengine_install = function install(Vue) {
|
|
|
145083
145087
|
message: '已选择外出代理人。'
|
|
145084
145088
|
});
|
|
145085
145089
|
} else {
|
|
145086
|
-
|
|
145090
|
+
_this4.$bus.emit('selectOuterDeputys', outerDeputys, $scope.submitHandle.route, resole);
|
|
145087
145091
|
}
|
|
145088
145092
|
} else {
|
|
145089
145093
|
resole({
|
|
@@ -145104,7 +145108,7 @@ var wfengine_install = function install(Vue) {
|
|
|
145104
145108
|
});
|
|
145105
145109
|
},
|
|
145106
145110
|
applySubmitTemplate: function applySubmitTemplate($scope, submitTemplate) {
|
|
145107
|
-
var
|
|
145111
|
+
var _this5 = this;
|
|
145108
145112
|
if ($scope.curTN.tnIdeaLabelID) {
|
|
145109
145113
|
$scope.submitHandle.curUserIdea = submitTemplate.curUserIdea;
|
|
145110
145114
|
}
|
|
@@ -145147,7 +145151,7 @@ var wfengine_install = function install(Vue) {
|
|
|
145147
145151
|
self: asyncOrgId.split(',').length > 1
|
|
145148
145152
|
} // 查询条件
|
|
145149
145153
|
};
|
|
145150
|
-
|
|
145154
|
+
_this5.$http(reqParams).then(function (res) {
|
|
145151
145155
|
if (res.code === 'success') {
|
|
145152
145156
|
submitTemplate.route[nodeName].users.forEach(function (user) {
|
|
145153
145157
|
for (var j = 0; j < res.body.listdata.length; j++) {
|
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -9060,7 +9060,7 @@ function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
|
|
|
9060
9060
|
return meta.btnName;
|
|
9061
9061
|
}
|
|
9062
9062
|
}
|
|
9063
|
-
if (meta.i18nCode && $scope.$te(meta.i18nCode)) {
|
|
9063
|
+
if (meta.i18nCode && meta.i18nCode.indexOf('.') !== -1 && $scope.$te(meta.i18nCode)) {
|
|
9064
9064
|
return $scope.$t(meta.i18nCode, variables);
|
|
9065
9065
|
}
|
|
9066
9066
|
var moduleInfo = $scope.moduleInfo || $scope.$vnode.context.moduleInfo || $scope.$vnode.context.$vnode.context.moduleInfo;
|
|
@@ -144626,6 +144626,7 @@ var wfengine_install = function install(Vue) {
|
|
|
144626
144626
|
$scope.canEditBodyfile = canEditBodyfile;
|
|
144627
144627
|
},
|
|
144628
144628
|
getWfJsonData: function getWfJsonData($scope, wfInstance, params) {
|
|
144629
|
+
var _this2 = this;
|
|
144629
144630
|
return new Promise(function (resolve) {
|
|
144630
144631
|
var wfEngineUrl = params.wfEngineUrl || $scope.wfEngineUrl || 'workflow/wfInstance';
|
|
144631
144632
|
wfEngineUrl += '/getWfJsonData';
|
|
@@ -144702,13 +144703,16 @@ var wfengine_install = function install(Vue) {
|
|
|
144702
144703
|
}
|
|
144703
144704
|
// $scope.submitTemplateList.unshift({ templateName: '---选择办理模板---', valid: true })
|
|
144704
144705
|
$scope.submitTemplate = $scope.submitTemplateList[0];
|
|
144706
|
+
_this2.$nextTick(function () {
|
|
144707
|
+
$scope.$bus.emit('initSubmitHandle');
|
|
144708
|
+
});
|
|
144705
144709
|
}
|
|
144706
144710
|
resolve(res);
|
|
144707
144711
|
});
|
|
144708
144712
|
});
|
|
144709
144713
|
},
|
|
144710
144714
|
saveWfInstance: function saveWfInstance($scope, submitType, params) {
|
|
144711
|
-
var
|
|
144715
|
+
var _this3 = this;
|
|
144712
144716
|
return new Promise(function (resolve) {
|
|
144713
144717
|
$scope.submitHandle.submitType = submitType;
|
|
144714
144718
|
delete $scope.submitHandle.selectedNodes;
|
|
@@ -144885,7 +144889,7 @@ var wfengine_install = function install(Vue) {
|
|
|
144885
144889
|
}
|
|
144886
144890
|
if (res.body.wfInstance.passenger.commandBar) {
|
|
144887
144891
|
var commandBar = JSON.parse(JSON.stringify(res.body.wfInstance.passenger.commandBar));
|
|
144888
|
-
|
|
144892
|
+
_this3.setCommandBar($scope, commandBar);
|
|
144889
144893
|
$scope.commandBar = commandBar;
|
|
144890
144894
|
}
|
|
144891
144895
|
$scope.vo = $scope.vobak;
|
|
@@ -144912,7 +144916,7 @@ var wfengine_install = function install(Vue) {
|
|
|
144912
144916
|
if (typeof $scope.onWflowFormSubmited === 'function') {
|
|
144913
144917
|
$scope.onWflowFormSubmited($scope);
|
|
144914
144918
|
}
|
|
144915
|
-
|
|
144919
|
+
_this3.$nextTick(function () {
|
|
144916
144920
|
$scope.$bus.emit('initSubmitHandle');
|
|
144917
144921
|
});
|
|
144918
144922
|
} else {
|
|
@@ -145043,7 +145047,7 @@ var wfengine_install = function install(Vue) {
|
|
|
145043
145047
|
};
|
|
145044
145048
|
},
|
|
145045
145049
|
checkOuterDeputy: function checkOuterDeputy($scope, params) {
|
|
145046
|
-
var
|
|
145050
|
+
var _this4 = this;
|
|
145047
145051
|
return new Promise(function (resole) {
|
|
145048
145052
|
if ($scope.submitHandle.needCheckOuterDeputy && $scope.submitHandle.needCheckOuterDeputy.length > 0) {
|
|
145049
145053
|
var nextTNUsers = $scope.submitHandle.needCheckOuterDeputy;
|
|
@@ -145093,7 +145097,7 @@ var wfengine_install = function install(Vue) {
|
|
|
145093
145097
|
message: '已选择外出代理人。'
|
|
145094
145098
|
});
|
|
145095
145099
|
} else {
|
|
145096
|
-
|
|
145100
|
+
_this4.$bus.emit('selectOuterDeputys', outerDeputys, $scope.submitHandle.route, resole);
|
|
145097
145101
|
}
|
|
145098
145102
|
} else {
|
|
145099
145103
|
resole({
|
|
@@ -145114,7 +145118,7 @@ var wfengine_install = function install(Vue) {
|
|
|
145114
145118
|
});
|
|
145115
145119
|
},
|
|
145116
145120
|
applySubmitTemplate: function applySubmitTemplate($scope, submitTemplate) {
|
|
145117
|
-
var
|
|
145121
|
+
var _this5 = this;
|
|
145118
145122
|
if ($scope.curTN.tnIdeaLabelID) {
|
|
145119
145123
|
$scope.submitHandle.curUserIdea = submitTemplate.curUserIdea;
|
|
145120
145124
|
}
|
|
@@ -145157,7 +145161,7 @@ var wfengine_install = function install(Vue) {
|
|
|
145157
145161
|
self: asyncOrgId.split(',').length > 1
|
|
145158
145162
|
} // 查询条件
|
|
145159
145163
|
};
|
|
145160
|
-
|
|
145164
|
+
_this5.$http(reqParams).then(function (res) {
|
|
145161
145165
|
if (res.code === 'success') {
|
|
145162
145166
|
submitTemplate.route[nodeName].users.forEach(function (user) {
|
|
145163
145167
|
for (var j = 0; j < res.body.listdata.length; j++) {
|