Browse Source

提交

storemanagementweb
gwbvipvip 11 months ago
parent
commit
d7baf5d854
3 changed files with 17 additions and 5 deletions
  1. +2
    -2
      config/proxy.js
  2. +1
    -1
      src/app.jsx
  3. +14
    -2
      src/pages/order/orderflow/service.js

+ 2
- 2
config/proxy.js View File

@@ -16,12 +16,12 @@
'/saasbase/': '',
},
},
'/storemanagement/': {
'/ordermanage/': {
target: 'http://localhost:5248',
changeOrigin: true,
secure: false, //关闭证书验证
pathRewrite: {
'/storemanagement/': '',
'/ordermanage/': '',
},
},
// Nginx发布的时候需要配置


+ 1
- 1
src/app.jsx View File

@@ -368,7 +368,7 @@ export async function getInitialState() {
var tempMenu = await queryMenuData();
//创建菜单
//await syncMenus(tempMenu);
if (true) {
if (!isDev) {
var data = await dymicMenus(currentUser.data.id);
tempMenu = data.data;
}


+ 14
- 2
src/pages/order/orderflow/service.js View File

@@ -7,13 +7,25 @@ export default {
/** 获取订单流水信息*/
orderList(data) {
data.isreport = true;
return request(`/kitchen/api/order/order-detail-flow`, {
return request(`/ordermanage/api/Order/PostDetail`, {
method: 'Post',
data: data,
// params: { ...params },
// ...(options || {}),
});
},
},5












/**
* 查询店铺分类(设备类型)信息
*/


Loading…
Cancel
Save