diff --git a/src/pages/boxes/list.vue b/src/pages/boxes/list.vue index bb94ddd..c2c63e3 100644 --- a/src/pages/boxes/list.vue +++ b/src/pages/boxes/list.vue @@ -26,7 +26,7 @@ const state = reactive({ }) const pageRef = ref(null) -const pageHook = hooks.usePage(pageRef, boxesApi.page, null, 'data.list') +const pageHook = hooks.usePage(pageRef, boxesApi.page, null, 'data.records') const query = (page: number, pagesize: number) => { pageHook.startPage(page, pagesize, false, state.pa); } diff --git a/src/pages/merchant/detail.vue b/src/pages/merchant/detail.vue index c859e13..a2190af 100644 --- a/src/pages/merchant/detail.vue +++ b/src/pages/merchant/detail.vue @@ -1,393 +1,461 @@ \ No newline at end of file + diff --git a/src/pages/merchant/food.vue b/src/pages/merchant/food.vue index 611f7a1..2e07319 100644 --- a/src/pages/merchant/food.vue +++ b/src/pages/merchant/food.vue @@ -60,13 +60,13 @@ const initDate = () => { }) } state.dateList = list - state.pa.startTime = state.dateList[0].dateTime + state.pa.day = state.dateList[0].dateTime pageRef.value?.reload(false) } const doDateItem = (v: any, i: any) => { state.currentDateIndex = i - state.pa.startTime = state.dateList[i].dateTime + state.pa.day = state.dateList[i].dateTime pageRef.value.reload(true) } diff --git a/src/sheep/api/boxes.ts b/src/sheep/api/boxes.ts index 606f141..e626e56 100644 --- a/src/sheep/api/boxes.ts +++ b/src/sheep/api/boxes.ts @@ -3,7 +3,7 @@ import request from "@/sheep/utils/request"; export default { page: (params: any) => request({ - url: "boxes/info/api/page", + url: "canteen/boxesInfo/appPage", method: "GET", params, custom: { @@ -12,7 +12,7 @@ export default { }), detail: (params: any) => request({ - url: "boxes/info/api/getInfo", + url: "canteen/boxesInfo/getInfo", method: "GET", params, custom: { @@ -21,7 +21,7 @@ export default { }), apply: (data: any) => request({ - url: "boxes/info/api/create", + url: "canteen/boxesInfo/create", method: "POST", data, custom: { @@ -30,7 +30,7 @@ export default { }), cancel: (data: any) => request({ - url: "boxes/info/api/cancel", + url: "canteen/boxesInfo/cancel", method: "GET", data, custom: { @@ -39,7 +39,7 @@ export default { }), get: (data: any) => request({ - url: "boxes/info/api/get", + url: "canteen/boxesInfo/get", method: "GET", data, custom: { @@ -48,7 +48,7 @@ export default { }), MyBookingPage: (data: any) => request({ - url: "boxes/info/api/getMyBookingPage", + url: "canteen/boxesInfo/getMyBookingPage", method: "GET", data, custom: { diff --git a/src/sheep/api/food.ts b/src/sheep/api/food.ts index 838950a..01b7735 100644 --- a/src/sheep/api/food.ts +++ b/src/sheep/api/food.ts @@ -3,7 +3,7 @@ import request from "@/sheep/utils/request"; export default { page: (params: any) => request({ - url: `/food/api/page`, + url: `/canteen/canteenDailyMenu/ad/getCanteenList`, method: "GET", params, custom: { @@ -12,7 +12,7 @@ export default { }), classify: (params: any) => request({ - url: `/onlinefood/category/listFood`, + url: `/canteen/canteenOnlineCategory/app/getAllSimple`, method: "GET", params, custom: { diff --git a/src/sheep/components/other/custom-waterfalls-flow/custom-waterfalls-flow.vue b/src/sheep/components/other/custom-waterfalls-flow/custom-waterfalls-flow.vue index 27b8eec..79159da 100644 --- a/src/sheep/components/other/custom-waterfalls-flow/custom-waterfalls-flow.vue +++ b/src/sheep/components/other/custom-waterfalls-flow/custom-waterfalls-flow.vue @@ -1,330 +1,382 @@