@@ -217,6 +217,13 @@ export default [ | |||||
component: './push/goodspush', | component: './push/goodspush', | ||||
access: 'k12', | access: 'k12', | ||||
}, | }, | ||||
{ | |||||
name: '工艺数据下发', | |||||
icon: 'smile', | |||||
path: '/push/technologypush', | |||||
component: './push/technologypush', | |||||
access: 'k14', | |||||
}, | |||||
{ | { | ||||
name: '物料数据下发', | name: '物料数据下发', | ||||
icon: 'smile', | icon: 'smile', | ||||
@@ -357,41 +364,6 @@ export default [ | |||||
}, | }, | ||||
], | ], | ||||
}, | }, | ||||
{ | |||||
name: '设备数据下发', | |||||
icon: 'BankFilled', | |||||
path: '/push', | |||||
routes: [ | |||||
{ | |||||
name: '商品数据下发', | |||||
icon: 'smile', | |||||
path: '/push/goodspush', | |||||
component: './push/goodspush', | |||||
access: 'k12', | |||||
}, | |||||
{ | |||||
name: '物料数据下发', | |||||
icon: 'smile', | |||||
path: '/push/batchingpush', | |||||
component: './push/batchingpush', | |||||
access: 'k14', | |||||
}, | |||||
{ | |||||
name: '配方数据下发', | |||||
icon: 'smile', | |||||
path: '/push/bompush', | |||||
component: './push/bompush', | |||||
access: 'k14', | |||||
}, | |||||
{ | |||||
name: '工艺数据下发', | |||||
icon: 'smile', | |||||
path: '/push/technologypush', | |||||
component: './push/technologypush', | |||||
access: 'k14', | |||||
}, | |||||
], | |||||
}, | |||||
{ | { | ||||
name: '订单管理', | name: '订单管理', | ||||
icon: 'BankFilled', | icon: 'BankFilled', | ||||
@@ -1,24 +1,24 @@ | |||||
import { request } from 'umi'; | import { request } from 'umi'; | ||||
export async function GetDevicePushRecodePage(data) { | export async function GetDevicePushRecodePage(data) { | ||||
return request(`/saasstore/api/devicepushrecode/page`, { | |||||
return request(`/groupmeal/api/devicepushrecode/page`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeAdd(data) { | export async function DevicePushRecodeAdd(data) { | ||||
return request(`/saasstore/api/devicepushrecode/add`, { | |||||
return request(`/groupmeal/api/devicepushrecode/add`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeUpdate(data) { | export async function DevicePushRecodeUpdate(data) { | ||||
return request(`/saasstore/api/devicepushrecode/update`, { | |||||
return request(`/groupmeal/api/devicepushrecode/update`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeDelete(data) { | export async function DevicePushRecodeDelete(data) { | ||||
return request(`/saasstore/api/devicepushrecode/delete`, { | |||||
return request(`/groupmeal/api/devicepushrecode/delete`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
@@ -1,24 +1,24 @@ | |||||
import { request } from 'umi'; | import { request } from 'umi'; | ||||
export async function GetDevicePushRecodePage(data) { | export async function GetDevicePushRecodePage(data) { | ||||
return request(`/saasstore/api/devicepushrecode/page`, { | |||||
return request(`/groupmeal/api/devicepushrecode/page`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeAdd(data) { | export async function DevicePushRecodeAdd(data) { | ||||
return request(`/saasstore/api/devicepushrecode/add`, { | |||||
return request(`/groupmeal/api/devicepushrecode/add`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeUpdate(data) { | export async function DevicePushRecodeUpdate(data) { | ||||
return request(`/saasstore/api/devicepushrecode/update`, { | |||||
return request(`/groupmeal/api/devicepushrecode/update`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeDelete(data) { | export async function DevicePushRecodeDelete(data) { | ||||
return request(`/saasstore/api/devicepushrecode/delete`, { | |||||
return request(`/groupmeal/api/devicepushrecode/delete`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
@@ -1,24 +1,24 @@ | |||||
import { request } from 'umi'; | import { request } from 'umi'; | ||||
export async function GetDevicePushRecodePage(data) { | export async function GetDevicePushRecodePage(data) { | ||||
return request(`/saasstore/api/devicepushrecode/page`, { | |||||
return request(`/groupmeal/api/devicepushrecode/page`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeAdd(data) { | export async function DevicePushRecodeAdd(data) { | ||||
return request(`/saasstore/api/devicepushrecode/add`, { | |||||
return request(`/groupmeal/api/devicepushrecode/add`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeUpdate(data) { | export async function DevicePushRecodeUpdate(data) { | ||||
return request(`/saasstore/api/devicepushrecode/update`, { | |||||
return request(`/groupmeal/api/devicepushrecode/update`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||
} | } | ||||
export async function DevicePushRecodeDelete(data) { | export async function DevicePushRecodeDelete(data) { | ||||
return request(`/saasstore/api/devicepushrecode/delete`, { | |||||
return request(`/groupmeal/api/devicepushrecode/delete`, { | |||||
method: 'POST', | method: 'POST', | ||||
data: data, | data: data, | ||||
}); | }); | ||||