From 9a85bb2218c8a0ef3b9c20efabeecf26886cbef8 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期四, 21 九月 2023 09:18:57 +0800
Subject: [PATCH] 钢筋笼生产计划书写
---
web/src/views/LayoutIndex/components/LayoutAside.vue | 10 ++++++++--
web/src/views/DuctpiecePLM/PlanManage/RebardemandIndex.vue | 6 +++---
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/web/src/views/ProductPlan/RebardemandIndex.vue b/web/src/views/DuctpiecePLM/PlanManage/RebardemandIndex.vue
similarity index 98%
rename from web/src/views/ProductPlan/RebardemandIndex.vue
rename to web/src/views/DuctpiecePLM/PlanManage/RebardemandIndex.vue
index f8f0861..6fb0035 100644
--- a/web/src/views/ProductPlan/RebardemandIndex.vue
+++ b/web/src/views/DuctpiecePLM/PlanManage/RebardemandIndex.vue
@@ -184,8 +184,8 @@
</template>
<script>
-import { buttonPinia } from '../../pinia';
-import { changeSize, throttle } from '../../plugins/public'
+import { buttonPinia } from '../../../pinia';
+import { changeSize, throttle } from '../../../plugins/public'
export default {
data() {
return {
@@ -435,7 +435,7 @@
</script>
<style lang="scss" scoped>
-@import '../../style/layout-main.scss';
+@import '../../../style/layout-main.scss';
.manin_rebar_content {
position: relative;
diff --git a/web/src/views/LayoutIndex/components/LayoutAside.vue b/web/src/views/LayoutIndex/components/LayoutAside.vue
index a62ae11..4969bad 100644
--- a/web/src/views/LayoutIndex/components/LayoutAside.vue
+++ b/web/src/views/LayoutIndex/components/LayoutAside.vue
@@ -31,9 +31,15 @@
</el-submenu>
</template>
<template v-else-if="three.children && three.children.length === 1">
- <el-menu-item :index="three.children[0].path" :key="three.children[0].name">
+ <el-submenu :key="three.name" :index="three.path">
+ <template slot="title">
+ <span>{{three.meta.title}}</span>
+ </template>
+ <el-menu-item :index="three.children[0].path" :key="three.children[0].name">{{three.children[0].meta.title}}</el-menu-item>
+ </el-submenu>
+ <!-- <el-menu-item :index="three.children[0].path" :key="three.children[0].name">
<span slot="title">{{three.children[0].meta.title}}</span>
- </el-menu-item>
+ </el-menu-item> -->
</template>
<template v-else>
<el-menu-item :index="three.path" :key="three.name">
--
Gitblit v1.9.3