diff --git a/api/apiList.js b/api/apiList.js index 9b26e8c..5c0116b 100644 --- a/api/apiList.js +++ b/api/apiList.js @@ -16,6 +16,10 @@ this.$api.getList(params).then(res => { export const GetPlanByDate = (data) => request.get("/api/App/GetPlanByDate", data); +// 根据日期获取计划 +export const GetTodayPlanList = (data) => + request.get("/api/App/GetTodayPlanList", data); + // 今日完成情况 export const TodayCompletion = (data) => request.post("/api/App/TodayCompletion", data); diff --git a/pages/index/cleanPlan.vue b/pages/index/cleanPlan.vue index b0b52d5..a234b66 100644 --- a/pages/index/cleanPlan.vue +++ b/pages/index/cleanPlan.vue @@ -10,15 +10,24 @@ - 2024年11月21号 - 08:30~11:30 + {{ + dataInfo.planDate ? dataInfo.planDate.split("T")[0] : "" + }} + + + {{ minutesToTime(dataInfo.beginTime) }}~{{ + minutesToTime(dataInfo.endTime) + }} + + - - 待保洁 + + 待保洁 + 已完成 + - 东大门北侧_门2 + {{ item.aeraNmae }} 区域类型 - + + - {{ "需要清理整个户外通道/保持跑道整洁花坛边落叶清扫" }} + {{ item.note }} @@ -57,14 +71,16 @@