diff --git a/src/api/configGrowth.js b/src/api/configGrowth.js index ab3fedbe..2f010b28 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/NavLeft.vue b/src/components/NavLeft.vue index d3c2bb85..aa4fe5c2 100644 --- a/src/components/NavLeft.vue +++ b/src/components/NavLeft.vue @@ -668,7 +668,7 @@
- + diff --git a/src/views/report/Overvoew.vue b/src/views/report/Overvoew.vue index c673753b..b6bd7ba6 100644 --- a/src/views/report/Overvoew.vue +++ b/src/views/report/Overvoew.vue @@ -392,7 +392,7 @@ export default { { text: "课程", num: res.data.result?.courseTotal }, { text: "考试", num: res.data.result?.examTotal }, { text: "案例", num: res.data.result?.caseTotal }, - // { text: "专业力", num: res.data.result?.growthTotal }, + { text: "专业力", num: res.data.result?.growthTotal }, ]; tabData.value = list; }); @@ -1009,7 +1009,7 @@ export default { { text: "课程", num: "11" }, { text: "考试", num: "10" }, { text: "案例", num: "10" }, - // { text: "专业力必修", num: "10" }, + { text: "专业力必修", num: "10" }, ]); const tabClick = (index) => { state.selectedRowKeys = []; diff --git a/vue.config.js b/vue.config.js index 326395b2..dd446eb2 100644 --- a/vue.config.js +++ b/vue.config.js @@ -18,16 +18,16 @@ module.exports = defineConfig({ overlay: false,// 解决代码抛出异常 }, proxy: { - "/professional": { - target: 'http://192.168.31.211:32002', - // target: 'http://192.168.50.195:32002', - // target: 'http://192.168.86.195:32002', - changeOrigin: true, - }, - // "/growth": { - // target: 'https:' + process.env.VUE_APP_BOE_API_URL, + // "/professional": { + // target: 'http://192.168.31.211:32002', + // // target: 'http://192.168.50.195:32002', + // // target: 'http://192.168.86.195:32002', // changeOrigin: true, // }, + "/growth": { + target: 'https:' + process.env.VUE_APP_BOE_API_URL, + changeOrigin: true, + }, "/manageApi": { target: 'https:' + process.env.VUE_APP_PROXY_URL, changeOrigin: true, //表示是否改变原域名