| | |
| | | /* |
| | | * @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/blade-cps/workstation/listDatapointsByWorkstationId': { |
| | | // '/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, |
| | | changeOrigin: true, |
| | |
| | | '^/api': '/' |
| | | } |
| | | }, |
| | | '/api/blade-cps/workstation/saveDatapoints': { |
| | | target: 'http://120.46.212.231:4102', |
| | | // ws: true, |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | '^/api': '/' |
| | | } |
| | | }, |
| | | '/api/blade-cps/workstation/export-dp': { |
| | | '/api/smis/workstation/export-dp': { |
| | | target: 'http://120.46.212.231:4102', |
| | | // ws: true, |
| | | changeOrigin: true, |