eoss-ui 0.5.50 → 0.5.51

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,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.5.50",
3
+ "version": "0.5.51",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -67,6 +67,7 @@
67
67
  v-model="nodeInfo.nextNode"
68
68
  style="width: calc(100% + 40px)"
69
69
  :placeholder="`请选择流程`"
70
+ @change="handleChange"
70
71
  >
71
72
  <el-option
72
73
  v-for="items in nodeInfo.option"
@@ -969,6 +970,9 @@ export default {
969
970
  }
970
971
  },
971
972
  methods: {
973
+ handleChange(val) {
974
+ this.$parent.$emit('flowChange', val);
975
+ },
972
976
  getsubProcessColumns() {
973
977
  if (!this.isMainSubProcess || !this.isNodeShowProcess) return [];
974
978
  let data = [];
@@ -2332,6 +2336,9 @@ export default {
2332
2336
  this.nodeInfo.nextNode = '';
2333
2337
  }
2334
2338
  }
2339
+ if (this.nodeInfo.nextNode) {
2340
+ this.handleChange(this.nodeInfo.nextNode);
2341
+ }
2335
2342
  }
2336
2343
  } else {
2337
2344
  this.$message.error(message || '系统错误,请联系管理员!');
package/src/index.js CHANGED
@@ -119,7 +119,7 @@ if (typeof window !== 'undefined' && window.Vue) {
119
119
  }
120
120
 
121
121
  export default {
122
- version: '0.5.50',
122
+ version: '0.5.51',
123
123
  install,
124
124
  Button,
125
125
  ButtonGroup,