From 70979924031f42c76535a3a2f669b8d48932f5c5 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期四, 14 七月 2022 11:15:51 +0800
Subject: [PATCH] lct
---
src/views/goalManagement/targetSettings/index.vue | 6 +++---
src/views/goalManagement/index.vue | 14 ++++++++++++++
src/views/goalManagement/targetDecompositionYear/index.vue | 6 +++---
src/router/index.ts | 4 ++--
src/views/homeMenu/homeMenu.vue | 1 -
src/views/goalManagement/targetDecompositionMonth/index.vue | 6 +++---
6 files changed, 25 insertions(+), 12 deletions(-)
diff --git a/src/router/index.ts b/src/router/index.ts
index c789ab0..2ac53da 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -65,7 +65,7 @@
}
// isRequestRoutes 为 true,则开启后端控制路由,路径:`/src/stores/themeConfig.ts`
-if (!isRequestRoutes) initFrontEndControlRoutes();
+// if (!isRequestRoutes) initFrontEndControlRoutes();
// 路由加载前
router.beforeEach(async (to, from, next) => {
@@ -81,7 +81,7 @@
Session.clear();
NProgress.done();
} else if (token && to.path === '/login') {
- next('/home');
+ next('/homeMenu');
NProgress.done();
} else {
const storesRoutesList = useRoutesList(pinia);
diff --git a/src/views/goalManagement/index.vue b/src/views/goalManagement/index.vue
new file mode 100644
index 0000000..8d45119
--- /dev/null
+++ b/src/views/goalManagement/index.vue
@@ -0,0 +1,14 @@
+<template>
+ <router-view></router-view>
+</template>
+
+<script>
+export default {
+ name: "index"
+}
+</script>
+
+<style scoped>
+
+</style>
+
diff --git a/src/views/goalManagement/tragetDecompositionMonth/index.vue b/src/views/goalManagement/targetDecompositionMonth/index.vue
similarity index 99%
rename from src/views/goalManagement/tragetDecompositionMonth/index.vue
rename to src/views/goalManagement/targetDecompositionMonth/index.vue
index a4bedad..4e34329 100644
--- a/src/views/goalManagement/tragetDecompositionMonth/index.vue
+++ b/src/views/goalManagement/targetDecompositionMonth/index.vue
@@ -108,8 +108,8 @@
export default defineComponent({
components: { ElButton, ElInput,search,Dailog},
setup() {
-
-
+
+
// 下方导航与表格
const activeName = ref("1");
const handleClick = (tab: TabsPaneContext, event: Event) => {
@@ -208,4 +208,4 @@
display: flex;
justify-content: right;
}
-</style>
\ No newline at end of file
+</style>
diff --git a/src/views/goalManagement/targetDecompositionYear/index.vue b/src/views/goalManagement/targetDecompositionYear/index.vue
index 2210e0a..b0c64bf 100644
--- a/src/views/goalManagement/targetDecompositionYear/index.vue
+++ b/src/views/goalManagement/targetDecompositionYear/index.vue
@@ -107,8 +107,8 @@
export default defineComponent({
components: { ElButton, ElInput,search,Dailog},
setup() {
-
-
+
+
// 下方导航与表格
const activeName = ref("1");
const handleClick = (tab: TabsPaneContext, event: Event) => {
@@ -207,4 +207,4 @@
display: flex;
justify-content: right;
}
-</style>
\ No newline at end of file
+</style>
diff --git a/src/views/goalManagement/targetSettings/index.vue b/src/views/goalManagement/targetSettings/index.vue
index 3af2890..f730b45 100644
--- a/src/views/goalManagement/targetSettings/index.vue
+++ b/src/views/goalManagement/targetSettings/index.vue
@@ -145,8 +145,8 @@
export default defineComponent({
components: { ElButton, ElInput,dailogAdd,upData,search},
setup() {
-
-
+
+
// 下方导航与表格
const activeName = ref("1");
const handleClick = (tab: TabsPaneContext, event: Event) => {
@@ -258,4 +258,4 @@
display: flex;
justify-content: right;
}
-</style>
\ No newline at end of file
+</style>
diff --git a/src/views/homeMenu/homeMenu.vue b/src/views/homeMenu/homeMenu.vue
index 9d3f67c..8326f96 100644
--- a/src/views/homeMenu/homeMenu.vue
+++ b/src/views/homeMenu/homeMenu.vue
@@ -109,7 +109,6 @@
});
};
const linkToFirstMenu: any = (value: any) => {
- debugger
let returnMenu = value;
if (returnMenu.children?.length > 0) {
return linkToFirstMenu(returnMenu.children[0]);
--
Gitblit v1.9.2