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"; // "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

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

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