cloud-module-bpm 6.4.1 → 6.5.0

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/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "cloud-module-bpm",
3
- "version": "6.4.1",
3
+ "version": "6.5.0",
4
4
  "description": " bpm base lib",
5
5
  "main": "dist/cloud-module-bpm.umd.min.js",
6
6
  "author": "wujx",
7
7
  "private": false,
8
8
  "license": "MIT",
9
-
10
9
  "scripts": {
11
10
  "serve": "vue-cli-service serve --port 8089 ",
12
11
  "build": "vue-cli-service build",
@@ -17,10 +16,10 @@
17
16
  "axios": "0.19.0",
18
17
  "babel-loader": "^8.0.6",
19
18
  "babel-polyfill": "^6.26.0",
20
- "cloud-module-base": "^6.4.0",
19
+ "cloud-module-base": "6.5.0",
21
20
  "core-js": "^3.4.4",
22
21
  "css-loader": "^3.4.1",
23
- "element-ui": "^2.13.2",
22
+ "element-ui": "^2.15.7",
24
23
  "less": "3.10.3",
25
24
  "less-loader": "^5.0.0",
26
25
  "moment": "^2.24.0",
@@ -203,7 +203,7 @@ export default {
203
203
  this.procOpinion.content = opinion;
204
204
  return;
205
205
  }
206
- if (this.procOpinion.content.length < 255) {
206
+ if (this.procOpinion.content.length + opinion.length < 200) {
207
207
  this.procOpinion.content += ';' + opinion;
208
208
  return;
209
209
  }
@@ -211,11 +211,12 @@ export default {
211
211
  //关闭人员选择对话框
212
212
  handleClose() {
213
213
  this.procOpinion.content = undefined;
214
+ this.$refs.procOpinion.resetFields();
214
215
  this.$emit('dialog-close', this.dialogVisible);
215
216
  },
216
217
  handleSave() {
217
218
  let _this = this;
218
- if (_this.procOpinion.content.length > 255) {
219
+ if (_this.procOpinion.content.length > 200) {
219
220
  return this.$message.error(
220
221
  _this.$t('bpm.opinion.opinion_content_beyond')
221
222
  );
@@ -206,7 +206,7 @@ export default {
206
206
  this.procOpinion.content = opinion;
207
207
  return;
208
208
  }
209
- if (this.procOpinion.content.length + opinion.length < 200) {
209
+ if (this.procOpinion.content.length < 255) {
210
210
  this.procOpinion.content += ';' + opinion;
211
211
  return;
212
212
  }
@@ -809,8 +809,8 @@ MeritBPM.validatePermit = function(that, procDefKey, callback) {
809
809
  * 拼接参数/bpm-demo/example/index.html#/formEdit?id=businessId&undoId=undoId
810
810
  */
811
811
  MeritBPM.getUrlParameter = function(name) {
812
- var query = window.location.hash.substring(
813
- window.location.hash.indexOf('?') + 1
812
+ var query = window.location.href.substring(
813
+ window.location.href.indexOf('?') + 1
814
814
  );
815
815
  var vars = query.split('&');
816
816
  for (var i = 0; i < vars.length; i++) {