| | |
| | | ### |
| | | # @Date: 2024-03-23 09:49:06 |
| | | # @LastEditors: lzhe lzhe@example.com |
| | | # @LastEditTime: 2024-10-06 21:10:14 |
| | | # @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/.env.development |
| | | # @LastEditors: gaoshp |
| | | # @LastEditTime: 2024-11-03 19:14:27 |
| | | # @FilePath: /cps-web/.env.development |
| | | ### |
| | | # 本地环境 |
| | | NODE_ENV = development |
| | |
| | | VUE_APP_TITLE = 制造信息管理系统 |
| | | |
| | | # 接口地址 |
| | | VUE_APP_API_BASEURL = http://120.46.212.231:85 |
| | | VUE_APP_API_BASEURL = http://120.46.212.231:86 |
| | | # 本地端口 |
| | | VUE_APP_PORT = 2800 |
| | | |
| | |
| | | /* |
| | | * @Date: 2024-03-23 09:49:06 |
| | | * @LastEditors: gaoshp |
| | | * @LastEditTime: 2024-10-06 10:17:18 |
| | | * @LastEditTime: 2024-11-03 20:06:33 |
| | | * @FilePath: /cps-web/vue.config.js |
| | | */ |
| | | const { defineConfig } = require('@vue/cli-service') |
| | |
| | | '^/api': '/' |
| | | } |
| | | }, |
| | | '/api/smis/workstation/listDatapointsByWorkstationId': { |
| | | target: 'http://120.46.212.231:4102', |
| | | // ws: true, |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | '^/api': '/' |
| | | } |
| | | }, |
| | | // '/api/smis/workstation/listDatapointsByWorkstationId': { |
| | | // target: 'http://120.46.212.231:4102', |
| | | // // ws: true, |
| | | // changeOrigin: true, |
| | | // pathRewrite: { |
| | | // '^/api': '/' |
| | | // } |
| | | // }, |
| | | '/api/smis/workstation/saveDatapoints': { |
| | | target: 'http://120.46.212.231:4102', |
| | | // ws: true, |