Commit 1ee36973 authored by 沈翠玲's avatar 沈翠玲

更换服务器

parent 49e1d47e
......@@ -5,7 +5,7 @@ VUE_APP_TITLE = 宝绅系统
ENV = 'development'
# 若依管理系统/开发环境
VUE_APP_BASE_API = '/api'
VUE_APP_BASE_API = 'http://192.168.3.181:8123'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
......@@ -5,4 +5,4 @@ VUE_APP_TITLE = 宝绅系统
ENV = 'production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/pda-api'
VUE_APP_BASE_API = 'http://192.168.3.181:8123'
......@@ -7,7 +7,7 @@ RUN echo "server { \
listen 90; \
client_max_body_size 50M; \
location /prod-api/ { \
proxy_pass http://192.168.3.91:8080/; \
proxy_pass http://192.168.3.181:8080/; \
proxy_redirect off; \
proxy_set_header Host mes-ui; \
proxy_set_header X-Real-IP \$remote_addr; \
......
......@@ -7,7 +7,7 @@ RUN echo "server { \
listen 80; \
client_max_body_size 50M; \
location /pda-api/ { \
proxy_pass http://192.168.3.91:8123/; \
proxy_pass http://192.168.3.181:8123/; \
proxy_redirect off; \
proxy_set_header Host mes-ui; \
proxy_set_header X-Real-IP \$remote_addr; \
......
......@@ -4,7 +4,7 @@
* 全局配置文件
*/
export default {
reportUrl: 'http://192.168.3.91:8123/ureport', //test
// reportUrl: 'http://192.168.3.91:8111/ureport', //prod
reportUrl: 'http://192.168.3.181:8123/ureport', //test
// reportUrl: 'http://192.168.3.181:8111/ureport', //prod
}
......@@ -323,8 +323,8 @@ export default {
// }
// ],
// img: {
// "frontImg": "http://192.168.3.91:9000/mes/2024/03/20/1111_20240320192902A005.png", // 产品正面
// "backImg": "http://192.168.3.91:9000/mes/2024/03/20/2222_20240320192903A006.png" // 产品背面
// "frontImg": "http://192.168.3.181:9000/mes/2024/03/20/1111_20240320192902A005.png", // 产品正面
// "backImg": "http://192.168.3.181:9000/mes/2024/03/20/2222_20240320192903A006.png" // 产品背面
// },
// processItemList: [ // 物料
// {
......
......@@ -265,8 +265,8 @@ export default {
// "formula": null,
// "frontColorName": "紫红,深红,朱红",
// "oppositeColorName": "紫红,深红,朱红",
// "frontImg": "http://192.168.3.91:9000/mes/2024/03/20/1111_20240320192902A005.png",
// "backImg": "http://192.168.3.91:9000/mes/2024/03/20/2222_20240320192903A006.png",
// "frontImg": "http://192.168.3.181:9000/mes/2024/03/20/1111_20240320192902A005.png",
// "backImg": "http://192.168.3.181:9000/mes/2024/03/20/2222_20240320192903A006.png",
// "customerApprover": null, // 客户确认->确认人
// "customerApproved": "2024-05-10", // 客户确认->日期
// "processes": [ // map-> processes
......
......@@ -110,7 +110,7 @@
slot="append"
class="upload-demo"
ref="upload"
:action="baseURL + '/common/bsnUpload '"
:action="baseURL + '/common/uploadMinio '"
:before-upload="handleBeforeUpload"
:on-success="handleUploadSuccess"
:on-error="handleUploadError"
......
......@@ -34,15 +34,6 @@ module.exports = {
open: true,
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://localhost:8080`,
target: `http://192.168.3.91:8123`,
// target: `http://192.168.4.122:8080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
}
},
'/ureport': {
target: 'http://localhost:8080',
ws:false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment