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

更换服务器

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