This commit is contained in:
Pengxiansen
2025-02-26 19:38:10 +08:00
parent c0b2d463f9
commit 7c12598469
3 changed files with 13 additions and 13 deletions

View File

@@ -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" },

View File

@@ -562,7 +562,7 @@ export default {
key: "stdPositionName",
align: "center",
ellipsis: true,
width: 400,
width: 300,
customRender: ({ record }) => {
return record.stdPosition
? `${record.stdPositionName}${record.stdPosition}`
@@ -585,11 +585,11 @@ export default {
},
},
{
title: "必修|选修",
title: "必修选修",
align: "center",
ellipsis: true,
customRender: ({ record }) => {
return `${record.requiredTaskNum}|${record.elePublishedNum}`;
return `${record.requiredTaskNum}${record.elePublishedNum}`;
},
},
{

View File

@@ -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, //表示是否改变原域名