Browse Source

提交

groupmealweb
gwbvipvip 11 months ago
parent
commit
aa82924521
4 changed files with 19 additions and 47 deletions
  1. +7
    -35
      config/routes.js
  2. +4
    -4
      src/pages/push/batchingpush/services.js
  3. +4
    -4
      src/pages/push/goodspush/services.js
  4. +4
    -4
      src/pages/push/technologypush/services.js

+ 7
- 35
config/routes.js View File

@@ -217,6 +217,13 @@ export default [
component: './push/goodspush',
access: 'k12',
},
{
name: '工艺数据下发',
icon: 'smile',
path: '/push/technologypush',
component: './push/technologypush',
access: 'k14',
},
{
name: '物料数据下发',
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: '订单管理',
icon: 'BankFilled',


+ 4
- 4
src/pages/push/batchingpush/services.js View File

@@ -1,24 +1,24 @@
import { request } from 'umi';
export async function GetDevicePushRecodePage(data) {
return request(`/saasstore/api/devicepushrecode/page`, {
return request(`/groupmeal/api/devicepushrecode/page`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeAdd(data) {
return request(`/saasstore/api/devicepushrecode/add`, {
return request(`/groupmeal/api/devicepushrecode/add`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeUpdate(data) {
return request(`/saasstore/api/devicepushrecode/update`, {
return request(`/groupmeal/api/devicepushrecode/update`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeDelete(data) {
return request(`/saasstore/api/devicepushrecode/delete`, {
return request(`/groupmeal/api/devicepushrecode/delete`, {
method: 'POST',
data: data,
});


+ 4
- 4
src/pages/push/goodspush/services.js View File

@@ -1,24 +1,24 @@
import { request } from 'umi';
export async function GetDevicePushRecodePage(data) {
return request(`/saasstore/api/devicepushrecode/page`, {
return request(`/groupmeal/api/devicepushrecode/page`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeAdd(data) {
return request(`/saasstore/api/devicepushrecode/add`, {
return request(`/groupmeal/api/devicepushrecode/add`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeUpdate(data) {
return request(`/saasstore/api/devicepushrecode/update`, {
return request(`/groupmeal/api/devicepushrecode/update`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeDelete(data) {
return request(`/saasstore/api/devicepushrecode/delete`, {
return request(`/groupmeal/api/devicepushrecode/delete`, {
method: 'POST',
data: data,
});


+ 4
- 4
src/pages/push/technologypush/services.js View File

@@ -1,24 +1,24 @@
import { request } from 'umi';
export async function GetDevicePushRecodePage(data) {
return request(`/saasstore/api/devicepushrecode/page`, {
return request(`/groupmeal/api/devicepushrecode/page`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeAdd(data) {
return request(`/saasstore/api/devicepushrecode/add`, {
return request(`/groupmeal/api/devicepushrecode/add`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeUpdate(data) {
return request(`/saasstore/api/devicepushrecode/update`, {
return request(`/groupmeal/api/devicepushrecode/update`, {
method: 'POST',
data: data,
});
}
export async function DevicePushRecodeDelete(data) {
return request(`/saasstore/api/devicepushrecode/delete`, {
return request(`/groupmeal/api/devicepushrecode/delete`, {
method: 'POST',
data: data,
});


Loading…
Cancel
Save