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 @@