| | |
| | | }) |
| | | }, 1000 * 50) |
| | | |
| | | const res5 = await WorkShopProduceBottomRightData({ wkshopcode: 'CJ001' }) |
| | | const res5 = await WorkShopProduceBottomRightData({ wkshopcode: this.wkshopcode.join(',') }) |
| | | this.RightBottom = res5.data |
| | | if (this.RightBottom.length > 0) { |
| | | loadEcharts('cjzl04', cjzl04(this.RightBottom.map(i => i.name), this.RightBottom.map(i => i.cont))) |
| | | } |
| | | |
| | | setInterval(() => { |
| | | WorkShopProduceBottomRightData({ wkshopcode: 'CJ001' }).then(res5 => { |
| | | WorkShopProduceBottomRightData({ wkshopcode: this.wkshopcode.join(',') }).then(res5 => { |
| | | this.RightBottom = res5.data |
| | | if (this.RightBottom.length > 0) { |
| | | loadEcharts('cjzl04', cjzl04(this.RightBottom.map(i => i.name), this.RightBottom.map(i => i.cont))) |
| | |
| | | proxy: { |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: 'http://192.168.18.245:8000', // 请求的第三⽅接⼝地址 本地开发服务器 |
| | | target: 'http://121.196.36.24:8021', // 请求的第三⽅接⼝地址 本地开发服务器 |
| | | // target: 'http://122.227.18.22:8000', // 请求的第三⽅接⼝地址 本地开发服务器 |
| | | |
| | | target: 'http://121.196.36.24:8021', // 请求的第三⽅接⼝地址 本地开发服务器 本地 |
| | | // target: 'http://122.227.18.22:8000', // 请求的第三⽅接⼝地址 本地开发服务器 客户 |
| | | changeOrigin: true, // 请求跨域时,需 配置此项 |
| | | pathRewrite: { // 路径重写,替换target中的请求地址 |
| | | ['^' + process.env.VUE_APP_BASE_API]: '/api/' |