| | |
| | | import axios from 'axios'; |
| | | if(process.env.NODE_ENV == 'dev') { |
| | | // 跨域请求 |
| | | axios.defaults.baseURL = 'https://localhost:8443/fg/'; |
| | | axios.defaults.baseURL = 'http://localhost:8919/fg/'; |
| | | axios.defaults.withCredentials = true; // 保持请求头 |
| | | } |
| | | |
| | |
| | | { |
| | | prop: "stationid", |
| | | label: "机房ID", |
| | | minWidth: 320 |
| | | minWidth: 160 |
| | | }, |
| | | { |
| | | prop: "stationname", |
| | | label: "机房名称", |
| | | width: 162 |
| | | width: 300 |
| | | }, |
| | | { |
| | | prop: "fbsid", |
| | | label: "设备ID", |
| | | width: 80 |
| | | width: 180 |
| | | }, |
| | | { |
| | | prop: "updatestatus", |
| | |
| | | { |
| | | prop: "version", |
| | | label: "版本号", |
| | | width: 180 |
| | | width: 250 |
| | | }, |
| | | { |
| | | prop: "filename", |
| | | label: "升级文件名", |
| | | width: 180 |
| | | }, |
| | | // { |
| | | // prop: "filename", |
| | | // label: "升级文件名", |
| | | // width: 180 |
| | | // }, |
| | | { |
| | | prop: "status", |
| | | label: "读写状态", |