This commit is contained in:
Pengxiansen
2025-02-28 20:51:28 +08:00
parent f6f4196bb2
commit 87120ddac3
6 changed files with 26 additions and 26 deletions

View File

@@ -18,8 +18,8 @@ import { boeRequest } from "@/api/request";
// "application/x-www-form-urlencoded"; // "application/x-www-form-urlencoded";
axios.defaults.withCredentials = true; axios.defaults.withCredentials = true;
const http = axios.create({ const http = axios.create({
// baseURL: '/growth', baseURL: '/growth',
baseURL: process.env.VUE_APP_BASE_API_GROWTH, // baseURL: process.env.VUE_APP_BASE_API_GROWTH,
timeout: 1000 * 15, timeout: 1000 * 15,
// headers: { "Content-Type": "multipart/form-data" }, // headers: { "Content-Type": "multipart/form-data" },
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },

View File

@@ -668,7 +668,7 @@
<div class="img"></div> <div class="img"></div>
</template> </template>
<template #title>版块详细数据</template> <template #title>版块详细数据</template>
<!-- <a-menu-item key="sub17-2-8" v-if="checkMenu('growthpathmap')"> <a-menu-item key="sub17-2-8" v-if="checkMenu('growthpathmap')">
<span <span
:class="{ :class="{
circleActive: selectedKeys[0] === 'sub17-2-8' ? true : false, circleActive: selectedKeys[0] === 'sub17-2-8' ? true : false,
@@ -676,7 +676,7 @@
}" }"
></span> ></span>
<router-link to="/growthpathmap">专业力必修</router-link> <router-link to="/growthpathmap">专业力必修</router-link>
</a-menu-item> --> </a-menu-item>
<a-menu-item key="sub17-2-1" v-if="checkMenu('learningpathmap')"> <a-menu-item key="sub17-2-1" v-if="checkMenu('learningpathmap')">
<span <span
:class="{ :class="{

View File

@@ -363,14 +363,14 @@ export default {
width: 120, width: 120,
align: "center", align: "center",
}, },
// { {
// title: "专业力学习", title: "专业力学习",
// dataIndex: "growthStudy", dataIndex: "growthStudy",
// ellipsis: true, ellipsis: true,
// key: "growthStudy", key: "growthStudy",
// width: 120, width: 120,
// align: "center", align: "center",
// }, },
{ {
title: "学习时长", title: "学习时长",
dataIndex: "learningDuration", dataIndex: "learningDuration",

View File

@@ -106,10 +106,10 @@
label: '学习路径图', label: '学习路径图',
value: 6, value: 6,
}, },
// { {
// label: '专业力必修', label: '专业力必修',
// value: 7, value: 7,
// }, },
]" ]"
></a-select> ></a-select>
</div> </div>

View File

@@ -392,7 +392,7 @@ export default {
{ text: "课程", num: res.data.result?.courseTotal }, { text: "课程", num: res.data.result?.courseTotal },
{ text: "考试", num: res.data.result?.examTotal }, { text: "考试", num: res.data.result?.examTotal },
{ text: "案例", num: res.data.result?.caseTotal }, { text: "案例", num: res.data.result?.caseTotal },
// { text: "专业力", num: res.data.result?.growthTotal }, { text: "专业力", num: res.data.result?.growthTotal },
]; ];
tabData.value = list; tabData.value = list;
}); });
@@ -1009,7 +1009,7 @@ export default {
{ text: "课程", num: "11" }, { text: "课程", num: "11" },
{ text: "考试", num: "10" }, { text: "考试", num: "10" },
{ text: "案例", num: "10" }, { text: "案例", num: "10" },
// { text: "专业力必修", num: "10" }, { text: "专业力必修", num: "10" },
]); ]);
const tabClick = (index) => { const tabClick = (index) => {
state.selectedRowKeys = []; state.selectedRowKeys = [];

View File

@@ -18,16 +18,16 @@ module.exports = defineConfig({
overlay: false,// 解决代码抛出异常 overlay: false,// 解决代码抛出异常
}, },
proxy: { proxy: {
"/professional": { // "/professional": {
target: 'http://192.168.31.211:32002', // target: 'http://192.168.31.211:32002',
// target: 'http://192.168.50.195:32002', // // target: 'http://192.168.50.195:32002',
// target: 'http://192.168.86.195:32002', // // target: 'http://192.168.86.195:32002',
changeOrigin: true,
},
// "/growth": {
// target: 'https:' + process.env.VUE_APP_BOE_API_URL,
// changeOrigin: true, // changeOrigin: true,
// }, // },
"/growth": {
target: 'https:' + process.env.VUE_APP_BOE_API_URL,
changeOrigin: true,
},
"/manageApi": { "/manageApi": {
target: 'https:' + process.env.VUE_APP_PROXY_URL, target: 'https:' + process.env.VUE_APP_PROXY_URL,
changeOrigin: true, //表示是否改变原域名 changeOrigin: true, //表示是否改变原域名