|
|
@ -21,7 +21,7 @@ export function getUserOrDevice() { |
|
|
|
|
|
|
|
// 3.登录跳转
|
|
|
|
export function deviceInLogin() { |
|
|
|
const res = { device_name: 'TP5000冲床加工', device_code: '111-02', region_points: [{ name: 'OUT1', type: '1', device_code: '1234' }, { name: 'OUT2', type: '1', device_code: '1234' }, { name: 'OUT3', type: '1', device_code: '1234' }, { name: 'OUT4', type: '1', device_code: '1234' }, { name: '叫料', type: '0', device_code: '1234' }, { name: '叫料', type: '0', device_code: '1234' }] } |
|
|
|
const res = { device_name: 'TP5000冲床加工', device_code: '111-02', region_points: [{ name: 'OUT1', type: '1', device_code: '1234' }, { name: 'OUT2', type: '1', device_code: 'RGZWDJW01' }, { name: 'OUT3', type: '1', device_code: '1234' }, { name: 'OUT4', type: '1', device_code: '1234' }, { name: '叫料', type: '0', device_code: '1234' }, { name: '叫料', type: '0', device_code: '1234' }] } |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
resolve(res) |
|
|
|
}) |
|
|
|