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/lib/eoss-ui.common.js +16 -8
- package/lib/flow.js +10 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/flow/src/main.vue +7 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -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 || '系统错误,请联系管理员!');
|