From 8a460a52d7c49884e3834985b83d6824dc00ba6b Mon Sep 17 00:00:00 2001 From: Pengxiansen <2422914688@qq.com> Date: Tue, 25 Feb 2025 09:28:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/configGrowth.js | 4 +- src/components/BreadCrumb.vue | 11 + src/components/NavLeft.vue | 542 ++++--- src/components/growthpath/GrowthExa.vue | 36 +- src/components/growthpath/GrowthFaceStu.vue | 28 +- .../growthpath/GrowthFaceTaskManage.vue | 7 +- src/components/growthpath/GrowthHomework.vue | 4 +- .../growthpath/GrowthOnlineManage.vue | 62 +- src/views/growthpath/GrowthAddPath.vue | 1242 +++++++++++++++++ src/views/growthpath/GrowthPath.vue | 26 +- src/views/growthpath/PathManage.vue | 7 +- vue.config.js | 16 +- 12 files changed, 1685 insertions(+), 300 deletions(-) create mode 100644 src/views/growthpath/GrowthAddPath.vue diff --git a/src/api/configGrowth.js b/src/api/configGrowth.js index 2f010b28..ab3fedbe 100644 --- a/src/api/configGrowth.js +++ b/src/api/configGrowth.js @@ -18,8 +18,8 @@ import { boeRequest } from "@/api/request"; // "application/x-www-form-urlencoded"; axios.defaults.withCredentials = true; const http = axios.create({ - baseURL: '/growth', - // baseURL: process.env.VUE_APP_BASE_API_GROWTH, + // baseURL: '/growth', + baseURL: process.env.VUE_APP_BASE_API_GROWTH, timeout: 1000 * 15, // headers: { "Content-Type": "multipart/form-data" }, headers: { "Content-Type": "application/json" }, diff --git a/src/components/BreadCrumb.vue b/src/components/BreadCrumb.vue index f8d544e7..06c610e2 100644 --- a/src/components/BreadCrumb.vue +++ b/src/components/BreadCrumb.vue @@ -104,6 +104,17 @@ }, ]; } + // 专业力 + if ( + n.indexOf("/growthaddpath") !== -1 ||n.indexOf("/GrowthAddPath") !== -1 + ) { + state.list = [ + { + name: "专业力必修", + href: "/growthaddpath", + }, + ]; + } if ( n.indexOf("/pathmanage") !== -1 ||n.indexOf("/PathManage") !== -1 ) { diff --git a/src/components/NavLeft.vue b/src/components/NavLeft.vue index 69f7dd15..aa567b2b 100644 --- a/src/components/NavLeft.vue +++ b/src/components/NavLeft.vue @@ -1,46 +1,53 @@