|
|
|
@ -4,8 +4,8 @@ |
|
|
|
</component> |
|
|
|
<SubPackageDialog ref = "subPackageDialogRef"></SubPackageDialog> |
|
|
|
<TagPrintDialog ref = "tagPrintDialogRef"></TagPrintDialog> |
|
|
|
<SelectReagentDialog ref="selectReagentDialogRef"> |
|
|
|
</SelectReagentDialog> |
|
|
|
<SelectReagentDialog ref="selectReagentDialogRef"/> |
|
|
|
<SelectInstrumentDialog ref="selectInstrumentDialogRef"/> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
@ -15,6 +15,8 @@ import { EventBus } from "@/utils/eventBus"; |
|
|
|
import SubPackageDialog from "./dialog/SubPackageDialog.vue";//分装弹窗 |
|
|
|
import TagPrintDialog from "./dialog/PrintTagDialog.vue";//标签打印弹窗 |
|
|
|
import SelectReagentDialog from "./dialog/SelectReagentDialog.vue";//选择试剂弹窗 |
|
|
|
import SelectInstrumentDialog from "./dialog/SelectInstrumentDialog.vue";//选择仪器弹窗 |
|
|
|
|
|
|
|
//色谱 |
|
|
|
import SWYPFXRYPZB from "./comps/sp/SWYPFXRYPZB.vue"; |
|
|
|
import SWYPFXCBYPZB from "./comps/sp/SWYPFXCBYPZB.vue"; |
|
|
|
@ -42,7 +44,7 @@ import MJYLQSQD from "./comps/gsp/MJYLQSQD.vue"; |
|
|
|
export default { |
|
|
|
name: "TemplateTable", |
|
|
|
components: { |
|
|
|
SubPackageDialog,TagPrintDialog,SelectReagentDialog, |
|
|
|
SubPackageDialog,TagPrintDialog,SelectReagentDialog,SelectInstrumentDialog, |
|
|
|
//供试品 |
|
|
|
MJYLQSQD, SYWZPZJHB, |
|
|
|
//色谱 |
|
|
|
@ -169,6 +171,10 @@ export default { |
|
|
|
EventBus.$on("showTagPrintDialog",(data)=>{ |
|
|
|
this.$refs.tagPrintDialogRef.show(data) |
|
|
|
}) |
|
|
|
//选择仪器弹窗 |
|
|
|
EventBus.$on("showSelectInstrumentDialog",(data)=>{ |
|
|
|
this.$refs.selectInstrumentDialogRef.show(data.studyFormId,data) |
|
|
|
}) |
|
|
|
//选择试剂弹窗 |
|
|
|
EventBus.$on("showSelectReagentDialog",(data)=>{ |
|
|
|
this.$refs.selectReagentDialogRef.show(data.studyFormId,data) |
|
|
|
@ -180,6 +186,7 @@ export default { |
|
|
|
EventBus.$off("showSubPackageDialog"); |
|
|
|
EventBus.$off("showTagPrintDialog"); |
|
|
|
EventBus.$off("showSelectReagentDialog"); |
|
|
|
EventBus.$off("showSelectInstrumentDialog"); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
async getFormData() { |
|
|
|
|