diff --git a/src/api/base/jcApi.ts b/src/api/base/jcApi.ts index 760e68d..ebcd67c 100644 --- a/src/api/base/jcApi.ts +++ b/src/api/base/jcApi.ts @@ -1,5 +1,12 @@ import { get, post } from "@/utils/request"; +/** + * 校验学生就餐标准情况 + */ +export const checkXsJcApi = async (params: any) => { + return await get("/mobile/jz/jc/checkXsJc", params); +}; + /** * 获取就餐标准列表 */ diff --git a/src/api/base/xkApi.ts b/src/api/base/xkApi.ts index 1fcce71..ee2a680 100644 --- a/src/api/base/xkApi.ts +++ b/src/api/base/xkApi.ts @@ -71,25 +71,6 @@ export const getXsXkStatusApi = async (params: any) => { return await get("/mobile/jz/xkkc/list", params); }; -/** - * 选课相关其他接口 - */ -export const xkAddXkqdApi = async (params: any) => { - return await post("/mobile/xk/addXkqd", params); -}; - -export const xkListApi = async (params: any) => { - return await get("/mobile/xk/list", params); -}; - -export const xkXkqdApi = async (params: any) => { - return await get("/mobile/xk/xkqd", params); -}; - -export const xkxkbmInfoApi = async (params: any) => { - return await get("/mobile/xk/xkbmInfo", params); -}; - export const xkqddeleteApi = async (params: any) => { return await post("/api/xkqd/delete?ids=" + params.ids); }; diff --git a/src/pages/base/home/index.vue b/src/pages/base/home/index.vue index 210213b..b8c78da 100644 --- a/src/pages/base/home/index.vue +++ b/src/pages/base/home/index.vue @@ -233,12 +233,18 @@ const menuItems = ref([ lxId: '816059832', }, { - title: "就餐缴费", + title: "就餐报名", icon: "/static/base/home/contacts-book-3-line.png", path: "/pages/base/gzs/index", permissionKey: "school-jcjf", lxId: 'JC', }, + { + title: "退费申请", + icon: "/static/base/home/contacts-book-3-line.png", + path: "/pages/base/tf/index", + permissionKey: "school-jlb", + }, ]); // 通知公告数据 diff --git a/src/pages/base/tf/indexvue b/src/pages/base/tf/indexvue new file mode 100644 index 0000000..e69de29 diff --git a/src/utils/pageUtil.ts b/src/utils/pageUtil.ts index 4a76f4c..455e20c 100644 --- a/src/utils/pageUtil.ts +++ b/src/utils/pageUtil.ts @@ -1,4 +1,5 @@ import { checkXsXkApi } from "@/api/base/xkApi"; +import { checkXsJcApi } from "@/api/base/jcApi"; import { useUserStore } from "@/store/modules/user"; import { useDataStore } from "@/store/modules/data"; const userStore = useUserStore(); @@ -46,7 +47,7 @@ export const PageUtils = { switch (lxId) { // 就餐逻辑单独处理 case "JC": { - + } break; // 默认当作 选课的选课类型ID(xkLxId)处理 default: {