diff --git a/src/views/zyjhzx/hxianfkui/comps/HxianPgd.vue b/src/views/zyjhzx/hxianfkui/comps/HxianPgd.vue index ba31521..0f4ded5 100644 --- a/src/views/zyjhzx/hxianfkui/comps/HxianPgd.vue +++ b/src/views/zyjhzx/hxianfkui/comps/HxianPgd.vue @@ -136,13 +136,16 @@ export default { list: tmpArr, ycldwInfo:ycldwInfo } - zx(data1) + zx(data1).then(res=>{ + EventBus.$emit('removeGdh', {}) + this.initData(this.$props.worker().userCode,'51') + }) bgFlag=true } } if (!bgFlag){ - this.$message.warning('工单号未找到') setTimeout(()=>{ + this.$message.warning('工单号未找到') EventBus.$emit('removeGdh', {}) },500) } diff --git a/src/views/zyjhzx/qgefkui/comps/QgePgd.vue b/src/views/zyjhzx/qgefkui/comps/QgePgd.vue index 96dfc12..b771b4f 100644 --- a/src/views/zyjhzx/qgefkui/comps/QgePgd.vue +++ b/src/views/zyjhzx/qgefkui/comps/QgePgd.vue @@ -146,7 +146,10 @@ export default { list: tmpArr, ycldwInfo: ycldwInfo } - zx(data1) + zx(data1).then(res=>{ + EventBus.$emit('removeGdh', {}) + this.initData(this.$props.worker().userCode,'61') + }) bgFlag=true } }