Commit a1c927a1 authored by jingnan's avatar jingnan 👀

创建调配记录卡成功后刷新子表

parent d59db7e4
...@@ -131,8 +131,14 @@ export default { ...@@ -131,8 +131,14 @@ export default {
mounted() { mounted() {
this.$bus.$on('completeEvent', (res) => { this.$bus.$on('completeEvent', (res) => {
this.drawer = false this.drawer = false
if (!this.$route.path.includes('workflow')) {
this.$bus.$emit('opertorSuccess')
}
}) })
}, },
beforeDestroy() {
this.$bus.$off('completeEvent')
},
methods: { methods: {
onRowClick(data) { onRowClick(data) {
this.$emit('row-click', data.row) this.$emit('row-click', data.row)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment