From 7bdc84b5844d2a481e2f17cdd2c8204fd4a403ee Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 29 九月 2025 16:48:31 +0800
Subject: [PATCH] 业务管理相关页面添加`批号`查询条件
---
src/layout/components/AppMain.vue | 29 +++++++++++++++--------------
1 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index 66b33bf..1eb770d 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -10,41 +10,42 @@
</template>
<script>
-import iframeToggle from "./IframeToggle/index"
+import iframeToggle from "./IframeToggle/index";
export default {
- name: 'AppMain',
+ name: "AppMain",
components: { iframeToggle },
computed: {
cachedViews() {
- return this.$store.state.tagsView.cachedViews
+ return this.$store.state.tagsView.cachedViews;
},
key() {
- return this.$route.path
- }
+ return this.$route.path;
+ },
},
watch: {
$route() {
- this.addIframe()
- }
+ this.addIframe();
+ },
},
mounted() {
- this.addIframe()
+ this.addIframe();
},
methods: {
addIframe() {
- const {name} = this.$route
+ const { name } = this.$route;
if (name && this.$route.meta.link) {
- this.$store.dispatch('tagsView/addIframeView', this.$route)
+ this.$store.dispatch("tagsView/addIframeView", this.$route);
}
- }
- }
-}
+ },
+ },
+};
</script>
<style lang="scss" scoped>
.app-main {
/* 50= navbar 50 */
+ top: 90px;
min-height: calc(100vh - 50px);
width: 100%;
position: relative;
@@ -58,7 +59,7 @@
.hasTagsView {
.app-main {
/* 84 = navbar + tags-view = 50 + 34 */
- min-height: calc(100vh - 84px);
+ min-height: calc(100vh - 94px);
}
.fixed-header + .app-main {
--
Gitblit v1.9.3