chore(config): 配置开发服务器及代理端口为2888

- 将Vite开发服务器端口修改为2888
- 配置本地API代理,重写请求路径以支持本地调试
- 注释了旧端口及旧代理配置,预留切换接口使用
This commit is contained in:
2026-08-13 19:17:47 +08:00
parent 723df52818
commit 27672dfaff
2 changed files with 346 additions and 380 deletions
@@ -11178,10 +11178,6 @@ export default {
font-size: 15px;
font-weight: 600;
> span {
line-height: 1;
}
&::before {
display: block;
width: 4px;
@@ -11211,12 +11207,6 @@ export default {
flex: 0 0 auto;
align-items: center;
gap: 8px;
.el-link {
display: inline-flex;
align-items: center;
line-height: 1;
}
}
&__task {
@@ -11967,23 +11957,12 @@ export default {
gap: 16px;
align-items: stretch;
margin-bottom: 12px;
.section-card {
margin-bottom: 0 !important;
}
}
&__dispatch-summary-card,
&__dispatch-route-card {
display: flex;
flex-direction: column;
min-height: 260px;
:deep(.section-card) {
flex: 1;
display: flex;
flex-direction: column;
}
:deep(.section-card__body) {
flex: 1;
@@ -12156,13 +12135,6 @@ export default {
margin-left: 8px;
font-size: 14px;
color: #3c3c3c;
.dispatch-summary-value {
&.is-piece {
color: #409eff;
font-weight: 600;
}
}
}
&__dispatch-table {
@@ -12418,10 +12390,9 @@ export default {
&__detail-content {
display: flex;
flex-direction: column;
//gap: 8px;
gap: 12px;
.section-card {
:deep(.el-descriptions__label) {
width: 140px;
color: #606266;
@@ -12849,11 +12820,6 @@ export default {
}
}
}
.section-card {
&:last-child {
margin-bottom: 0 !important;
}
.section-card {
margin-bottom: 0 !important;
}
@@ -12864,7 +12830,7 @@ export default {
border-radius: 6px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
padding: 16px;
margin-bottom: 8px;
margin-bottom: 16px;
.avue-form__group--title {
padding: 0 !important;
+13 -13
View File
@@ -50,26 +50,26 @@ export default ({
__VUE_I18N_LEGACY_API__: true,
__INTLIFY_PROD_DEVTOOLS__: false,
},
// server: {
// port: 2888,
// proxy: {
// '/api': {
// target: 'http://localhost',
// //target: 'https://saber3.bladex.cn/api',
// changeOrigin: true,
// rewrite: path => path.replace(/^\/api/, ''),
// },
// },
// },
server: {
port: 2889,
port: 2888,
proxy: {
'/api': {
target: 'http://172.16.203.228:8000',
target: 'http://localhost',
//target: 'https://saber3.bladex.cn/api',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},
},
},
// server: {
// port: 2889,
// proxy: {
// '/api': {
// target: 'http://172.16.203.228:8000',
// changeOrigin: true,
// },
// },
// },
resolve: {
alias: {
'~': resolve(__dirname, './'),