diff --git a/env/.env.development b/env/.env.development index 5137213..4cde61d 100644 --- a/env/.env.development +++ b/env/.env.development @@ -5,5 +5,5 @@ VITE_DELETE_CONSOLE = false # 是否开启sourcemap VITE_SHOW_SOURCEMAP = true -#VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' -VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' \ No newline at end of file +VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot' +#VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot' \ No newline at end of file diff --git a/src/api/pages/absence/index.ts b/src/api/pages/absence/index.ts new file mode 100644 index 0000000..2b2b9e2 --- /dev/null +++ b/src/api/pages/absence/index.ts @@ -0,0 +1,32 @@ +import { http } from '@/utils/http'; + +/*根据username获取职位名称和审批领导列表*/ +export function queryZwmcAndExaApi(username : string) { + return http({ + url: '/CxcQxj/cxcQxj/queryZwmcByUsername', + method: 'GET', + data: { + username + } + }) +} + +/*新增请假申请*/ +export function addApi(config) { + return http({ + url: '/CxcQxj/cxcQxj/add', + method: 'POST', + data: config + }) +} + +/*根据username获取最新请假结束日期*/ +export function queryHisDateApi(username : string) { + return http({ + url: '/CxcQxj/cxcQxj/queryHisDate', + method: 'GET', + data: { + username + } + }) +} \ No newline at end of file diff --git a/src/api/system/index.ts b/src/api/system/index.ts index 208c86a..290795c 100644 --- a/src/api/system/index.ts +++ b/src/api/system/index.ts @@ -65,4 +65,17 @@ export function queryCarouselApi(config) { method: 'GET', data: config }); +} + +/** + * 获取分类字典 + */ +export function getCategoryItemsApi(pid) { // 分类字典专用 + return http({ + url: '/sys/category/findtree', + method: 'GET', + data: { + pid + } + }) } \ No newline at end of file diff --git a/src/components/PageLayout/PageLayout.vue b/src/components/PageLayout/PageLayout.vue index 9ba8f11..167e533 100644 --- a/src/components/PageLayout/PageLayout.vue +++ b/src/components/PageLayout/PageLayout.vue @@ -145,7 +145,6 @@ const clearPageParamsCache = () => { const handleClickRight = () => { emit('navRight') } -console.log('props:', props) \ No newline at end of file diff --git a/src/pages/integrated/duty/index.vue b/src/pages/integrated/duty/index.vue index f80d866..d115524 100644 --- a/src/pages/integrated/duty/index.vue +++ b/src/pages/integrated/duty/index.vue @@ -9,7 +9,7 @@