From 245c252060bcbd966da8bcb069f6456a1498de31 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期五, 18 八月 2023 16:21:24 +0800 Subject: [PATCH] modified: src/api/laboratory/measure.js new file: src/views/laboratory/measure/Add.vue new file: src/views/laboratory/measure/Select.vue modified: src/views/laboratory/measure/index.vue --- src/layout/components/AppMain.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index b5caf55..e9e0b9f 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -1,7 +1,7 @@ <template> <section class="app-main"> <transition name="fade-transform" mode="out-in"> - <router-view :key="key" /> + <router-view ref="child" @triggerMainBtnPlan="triggerMainBtnPlan" :key="key" /> </transition> </section> </template> @@ -13,6 +13,14 @@ key() { return this.$route.path } + }, + methods: { + childMethod(){ + this.$refs.child.combackLookPlan() + }, + triggerMainBtnPlan(){ + this.$parent.triggerCombackBtn() + } } } </script> -- Gitblit v1.9.3