Commit 8290b29f authored by jingnan's avatar jingnan 👀

试验维护记录

parent f515e529
...@@ -535,6 +535,7 @@ ...@@ -535,6 +535,7 @@
<!-- 物料确认 --> <!-- 物料确认 -->
<!-- 试验申请创建 --> <!-- 试验申请创建 -->
<el-drawer <el-drawer
v-if="drawerShowExperimentAdd"
title="试验申请" title="试验申请"
size="50%" size="50%"
append-to-body append-to-body
...@@ -553,8 +554,9 @@ ...@@ -553,8 +554,9 @@
</el-drawer> </el-drawer>
<!-- 检验员 --> <!-- 检验员 -->
<dee-dialog <dee-dialog
width="30%" width="40%"
title="选择检验员" title="选择检验员"
:before-close="closeDialog"
:dialog-visible="showDialog" :dialog-visible="showDialog"
@handleClose="closeDialog" @handleClose="closeDialog"
> >
...@@ -636,8 +638,7 @@ export default { ...@@ -636,8 +638,7 @@ export default {
drawerShowExperimentAdd: false, drawerShowExperimentAdd: false,
experimentApplyForm: {}, experimentApplyForm: {},
showDialog: false, showDialog: false,
checkerForm: {}, checkerForm: {}
experimentProcessInfo: {}
} }
}, },
computed: {}, computed: {},
...@@ -687,7 +688,7 @@ export default { ...@@ -687,7 +688,7 @@ export default {
}) })
this.$bus.$on('completeExperimentAdd', ({ items }) => { this.$bus.$on('completeExperimentAdd', ({ items }) => {
this.$nextTick(() => { this.$nextTick(() => {
this.drawerShowExperimentAdd = false this.onClose()
if (items.id) { if (items.id) {
this.getProcessInfo(items.id) this.getProcessInfo(items.id)
} }
...@@ -695,8 +696,7 @@ export default { ...@@ -695,8 +696,7 @@ export default {
}) })
this.$bus.$on('refreshAssemblyPerform', () => { this.$bus.$on('refreshAssemblyPerform', () => {
this.$nextTick(() => { this.$nextTick(() => {
this.showDialog = false this.closeDialog()
this.refreshPage()
}) })
}) })
}, },
...@@ -1520,9 +1520,11 @@ export default { ...@@ -1520,9 +1520,11 @@ export default {
}, },
onClose() { onClose() {
this.drawerShowExperimentAdd = false this.drawerShowExperimentAdd = false
this.experimentApplyForm = {}
}, },
closeDialog() { closeDialog() {
this.showDialog = false this.showDialog = false
this.refreshPage()
} }
} }
......
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