cloud-module-bpm 6.3.2 → 6.3.3

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/dist/demo.html ADDED
@@ -0,0 +1,10 @@
1
+ <meta charset="utf-8">
2
+ <title>cloud-module-bpm demo</title>
3
+ <script src="./cloud-module-bpm.umd.js"></script>
4
+
5
+ <link rel="stylesheet" href="./cloud-module-bpm.css">
6
+
7
+
8
+ <script>
9
+ console.log(cloud-module-bpm)
10
+ </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-module-bpm",
3
- "version": "6.3.2",
3
+ "version": "6.3.3",
4
4
  "description": " bpm base lib",
5
5
  "main": "dist/cloud-module-bpm.umd.min.js",
6
6
  "author": "wujx",
@@ -100,7 +100,7 @@ MeritBPM.open = function(that, params, callback) {
100
100
  * callback : function(res){ 执行流程相关操作 }
101
101
  */
102
102
  MeritBPM.runRuleEngine = function(that, bpmBtn, callback) {
103
- console.log("runzhang"+that)
103
+ console.log('runzhang' + that);
104
104
  let bpmVars = that.getBpmVar(bpmBtn);
105
105
  if (typeof bpmBtn == 'object') {
106
106
  bpmVars.bpmOperName = bpmBtn.name || ''; //【流程内置变量名】
@@ -129,9 +129,9 @@ MeritBPM.runRuleEngine = function(that, bpmBtn, callback) {
129
129
  .catch(function(err) {
130
130
  that.$message.error(that.$t('base.operation.error') + err);
131
131
  });
132
- if(window.opener && window.opener.refreshBpmGrid){
133
- window.opener.refreshBpmGrid();
134
- }
132
+ if (window.opener && window.opener.refreshBpmGrid) {
133
+ window.opener.refreshBpmGrid();
134
+ }
135
135
  };
136
136
 
137
137
  /**
@@ -158,7 +158,7 @@ MeritBPM.doSend = function(that, bpmBtn) {
158
158
  if (
159
159
  bpmBtn.isSave == '1' ||
160
160
  (that.ruleEngine.procInstId != '' &&
161
- that.ruleEngine.procInstId != undefined &&
161
+ that.ruleEngine.procInstId != undefined &&
162
162
  that.ruleEngine.editStatus.type != '1')
163
163
  ) {
164
164
  bpmBtn.isSave = '0';