diff --git a/src/api/base/hcApi.ts b/src/api/base/hcApi.ts new file mode 100644 index 0000000..999bf44 --- /dev/null +++ b/src/api/base/hcApi.ts @@ -0,0 +1,30 @@ +// 食堂巡查相关API接口 +import { get, post } from "@/utils/request"; + +/** + * 分页查询食堂巡查记录 + */ +export function hcFindPageApi(params: any) { + return get("/api/hc/findPage", params); +} + +/** + * 新增/修改食堂巡查记录 + */ +export function hcSaveApi(params: any) { + return post("/api/hc/save", params); +} + +/** + * 根据id查询食堂巡查记录 + */ +export function hcFindByIdApi(params: any) { + return get("/api/hc/findById", params); +} + +/** + * 删除食堂巡查记录 + */ +export function hcLogicDeleteApi(params: any) { + return post("/api/hc/logicDelete", params); +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index d3c7bb7..92f06fd 100644 --- a/src/pages.json +++ b/src/pages.json @@ -181,6 +181,27 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/view/routine/ShiTangXunCha/index", + "style": { + "navigationBarTitleText": "食堂巡查", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/view/routine/ShiTangXunCha/add", + "style": { + "navigationBarTitleText": "新增食堂巡查", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/view/routine/ShiTangXunCha/detail", + "style": { + "navigationBarTitleText": "食堂巡查详情", + "enablePullDownRefresh": false + } + }, { "path": "pages/view/routine/JiFenPingJia/detail", "style": { diff --git a/src/pages/base/service/index.vue b/src/pages/base/service/index.vue index 1b830fd..d726a4a 100644 --- a/src/pages/base/service/index.vue +++ b/src/pages/base/service/index.vue @@ -181,6 +181,7 @@ const sections = reactive([ show: true, path: "/pages/view/routine/GongZuoLiang/index", }, + // { // id: "r4", // icon: "file-paper-2-fill", @@ -195,7 +196,13 @@ const sections = reactive([ show: true, path: "/pages/view/routine/RengJiaoRengZhi/index", }, - + { + id: "r9", + icon: "hc-fill", + text: "食堂巡查", + show: true, + path: "/pages/view/routine/ShiTangXunCha/index", + }, { id: "r6", icon: "pass-pending-fill", @@ -252,13 +259,13 @@ const sections = reactive([ show: true, path: "/pages/view/homeSchool/parentAddressBook/index", }, - { + /*{ id: "hs4", icon: "newspaper-fill", text: "通知列表", show: true, path: "/pages/view/notice/index", - }, + },*/ { id: "hs6", icon: "filechart2fil", diff --git a/src/pages/view/notice/detail.vue b/src/pages/view/notice/detail.vue index a9e6ea0..2daa545 100644 --- a/src/pages/view/notice/detail.vue +++ b/src/pages/view/notice/detail.vue @@ -207,7 +207,7 @@ watch(studentList, (list) => { \ No newline at end of file diff --git a/src/pages/view/routine/ShiTangXunCha/detail.vue b/src/pages/view/routine/ShiTangXunCha/detail.vue new file mode 100644 index 0000000..cf8f9ba --- /dev/null +++ b/src/pages/view/routine/ShiTangXunCha/detail.vue @@ -0,0 +1,284 @@ + + + + + + \ No newline at end of file diff --git a/src/pages/view/routine/ShiTangXunCha/index.vue b/src/pages/view/routine/ShiTangXunCha/index.vue new file mode 100644 index 0000000..077c836 --- /dev/null +++ b/src/pages/view/routine/ShiTangXunCha/index.vue @@ -0,0 +1,477 @@ + + + + + + \ No newline at end of file diff --git a/src/static/base/home/hc-fill.png b/src/static/base/home/hc-fill.png new file mode 100644 index 0000000..4771ede Binary files /dev/null and b/src/static/base/home/hc-fill.png differ