| | |
| | | setCookie('usertype', res.data.usertype) |
| | | setCookie('userid', res.data.userid) |
| | | setCookie('rediskey', res.data.rediskey) |
| | | |
| | | setCookie('guid', res.data.guid) |
| | | |
| | | // } |
| | | // console.log(res.code === '302', 8989) |
| | | // if (res.code === '302') { |
| | |
| | | removeCookie('rediskey') |
| | | removeCookie('code') |
| | | |
| | | removeCookie('guid') |
| | | |
| | | // reset visited views and cached views |
| | | dispatch('tagsView/delAllViews', null, { root: true }) |
| | | sessionStorage.removeItem('tabViews') |
| | |
| | | removeCookie('usertype') |
| | | removeCookie('userid') |
| | | removeCookie('rediskey') |
| | | removeCookie('guid') |
| | | removeCookie('code') |
| | | setTimeout(() => { |
| | | sessionStorage.removeItem('tabViews') |
| | |
| | | WXradioSelected: '', // 工序选中 |
| | | form: { |
| | | orderstepqrcode: '', // 扫描的二维码信息 |
| | | prop: 'wo_code', // 排序字段 |
| | | order: 'asc', // 排序字段 |
| | | prop: 'plan_startdate', // 排序字段 |
| | | order: 'desc', // 排序字段 |
| | | page: 1, // 第几页 |
| | | rows: 20 // 每页多少条 |
| | | }, |
| | |
| | | tableData: [], |
| | | WXform: { // 外协表单 |
| | | orderstepqrcode: '', // 扫描的二维码信息 |
| | | prop: 'wo_code', // 排序字段z |
| | | order: 'asc', // 排序字段 |
| | | prop: 'plan_startdate', // 排序字段z |
| | | order: 'desc', // 排序字段 |
| | | page: 1, // 第几页 |
| | | rows: 20 // 每页多少条 |
| | | }, |
| | |
| | | }, |
| | | proxy: { |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | target: 'http://121.196.36.24:8003', // 请求的第三⽅接⼝地址 本地开发服务器(大岛) |
| | | // target: 'http://192.168.2.138:8001', // 请求的第三⽅接⼝地址 客户服务器(大岛) |
| | | // target: 'http://121.196.36.24:8003', // 请求的第三⽅接⼝地址 客户服务器(大岛) |
| | | target: 'http://192.168.2.138:8001', // 请求的第三⽅接⼝地址 本地服务器(大岛) |
| | | changeOrigin: true, // 请求跨域时,需 配置此项 |
| | | pathRewrite: { // 路径重写,替换target中的请求地址 |
| | | ['^' + process.env.VUE_APP_BASE_API]: '/api/' |