准备调整就餐和退费

This commit is contained in:
ywyonui 2025-09-13 20:37:43 +08:00
parent 48cd587477
commit b34ca07a45
5 changed files with 16 additions and 21 deletions

View File

@ -1,5 +1,12 @@
import { get, post } from "@/utils/request"; import { get, post } from "@/utils/request";
/**
*
*/
export const checkXsJcApi = async (params: any) => {
return await get("/mobile/jz/jc/checkXsJc", params);
};
/** /**
* *
*/ */

View File

@ -71,25 +71,6 @@ export const getXsXkStatusApi = async (params: any) => {
return await get("/mobile/jz/xkkc/list", params); 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) => { export const xkqddeleteApi = async (params: any) => {
return await post("/api/xkqd/delete?ids=" + params.ids); return await post("/api/xkqd/delete?ids=" + params.ids);
}; };

View File

@ -233,12 +233,18 @@ const menuItems = ref([
lxId: '816059832', lxId: '816059832',
}, },
{ {
title: "就餐缴费", title: "就餐报名",
icon: "/static/base/home/contacts-book-3-line.png", icon: "/static/base/home/contacts-book-3-line.png",
path: "/pages/base/gzs/index", path: "/pages/base/gzs/index",
permissionKey: "school-jcjf", permissionKey: "school-jcjf",
lxId: 'JC', lxId: 'JC',
}, },
{
title: "退费申请",
icon: "/static/base/home/contacts-book-3-line.png",
path: "/pages/base/tf/index",
permissionKey: "school-jlb",
},
]); ]);
// //

View File

View File

@ -1,4 +1,5 @@
import { checkXsXkApi } from "@/api/base/xkApi"; import { checkXsXkApi } from "@/api/base/xkApi";
import { checkXsJcApi } from "@/api/base/jcApi";
import { useUserStore } from "@/store/modules/user"; import { useUserStore } from "@/store/modules/user";
import { useDataStore } from "@/store/modules/data"; import { useDataStore } from "@/store/modules/data";
const userStore = useUserStore(); const userStore = useUserStore();
@ -46,7 +47,7 @@ export const PageUtils = {
switch (lxId) { switch (lxId) {
// 就餐逻辑单独处理 // 就餐逻辑单独处理
case "JC": { case "JC": {
} break; } break;
// 默认当作 选课的选课类型IDxkLxId处理 // 默认当作 选课的选课类型IDxkLxId处理
default: { default: {