Browse Source

fix: 添加页面地址和nginx配置 文件修改 Vue2升级Vue3 10/25-11-11

syhx_app_vue3
王志国 1 week ago
parent
commit
2f82f2edd2
  1. 21
      nginx.conf
  2. 25
      src/pages.json

21
nginx.conf

@ -40,6 +40,27 @@ http {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
}
location ^~ /jmreport/ {
proxy_pass http://localhost:100/jmreport/;
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;
proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
}
location ^~ /magic/ {
proxy_pass http://localhost:100/magic/;
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;
proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
}
location /profile/ {
proxy_cache my_zone;
proxy_cache_valid 200 304 12h;
proxy_cache_key $host$uri$is_args$args;
alias /opt/profile/;
index index.html index.htm;
}
location / {
proxy_cache my_zone;

25
src/pages.json

@ -692,6 +692,13 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/issue/job/issueDetailBatch",
"style": {
"navigationBarTitleText": "发料任务详情",
"enablePullDownRefresh": false
}
},
{
"path": "pages/issue/job/issueJob0816",
"style": {
@ -1557,6 +1564,22 @@
}
},
{
"path": "pages/productPutaway/record/fgDirectPutawayByBatch",
"style": {
"navigationBarTitleText": "装配直接上架",
"enablePullDownRefresh": false
}
},
{
"path": "pages/productPutaway/record/semiDirectPutawayByBatch",
"style": {
"navigationBarTitleText": "预生产直接上架",
"enablePullDownRefresh": false
}
},
{
"path": "pages/productPutaway/request/putawayRequest",
"style": {
@ -2233,7 +2256,7 @@
{
"path": "pages/inventoryMove/record/okToHoldRecord",
"style": {
"navigationBarTitleText": "合格转隔离记录",
"navigationBarTitleText": "物料转隔离记录",
"enablePullDownRefresh": true
}
},

Loading…
Cancel
Save