From ba8c9b1abb7a06822e08e06d5f19a01a04ab5b42 Mon Sep 17 00:00:00 2001 From: laishajiang <12977614+laishajiang@user.noreply.gitee.com> Date: Sat, 20 Jan 2024 15:39:44 +0800 Subject: [PATCH] holiday --- src/api/holiday.js | 13 ++ src/layout/Index.vue | 26 +-- src/main.js | 3 + src/router/index.js | 7 +- src/util/request.js | 56 +++-- src/views/holiday/List.vue | 462 +++++++++++++++++++++++++++++++++++++ vite.config.js | 2 +- 7 files changed, 532 insertions(+), 37 deletions(-) create mode 100644 src/api/holiday.js create mode 100644 src/views/holiday/List.vue diff --git a/src/api/holiday.js b/src/api/holiday.js new file mode 100644 index 0000000..c72d78c --- /dev/null +++ b/src/api/holiday.js @@ -0,0 +1,13 @@ +import { get, post} from "@/util/request" +export function getholiday(search) { + return get('/outer/holiday/getholiday?search='+search) +} + +export function showholiday() { + return get('/outer/holiday/showholiday') +} + +export function saveholiday(search) { + return post('/outer/holiday/saveholiday',search) +} + diff --git a/src/layout/Index.vue b/src/layout/Index.vue index 34be444..682ff0c 100644 --- a/src/layout/Index.vue +++ b/src/layout/Index.vue @@ -1,7 +1,7 @@