From d9c94409bf81641a6c605d3ac04b5f68394b4170 Mon Sep 17 00:00:00 2001 From: hreenshan112 Date: Wed, 19 Feb 2025 08:07:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=AE=9A=E8=B0=83=E7=8F=AD=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hr/people/index.ts | 33 ++++++ src/views/hr/teams/anchorPage.vue | 167 ++++++++++++++++++++++++++++++ src/views/hr/teams/classes.vue | 17 +++ 3 files changed, 217 insertions(+) create mode 100644 src/views/hr/teams/anchorPage.vue diff --git a/src/api/hr/people/index.ts b/src/api/hr/people/index.ts index b02bbd7..a5d4eb9 100644 --- a/src/api/hr/people/index.ts +++ b/src/api/hr/people/index.ts @@ -842,3 +842,36 @@ export function getSchedule(data?: any):AxiosPromise { data: data }); } +/** + * 获取所有自定义App + */ + export function gaveAllApp(data?: any){ + return request({ + // url: '/systemapi/menus/analysisMonthRulers', + url: '/systemapi/app/gaveAllApp', + method: 'post', + data: data + }); +} +/** + * 获取已经设定好的参数 + */ + export function ginTeamRule(data?: any){ + return request({ + // url: '/systemapi/menus/analysisMonthRulers', + url: '/systemapi/app/ginTeamRule', + method: 'post', + data: data + }); +} +/** + * 设定取值 + */ + export function setupRulerForm(data?: any){ + return request({ + // url: '/systemapi/menus/analysisMonthRulers', + url: '/systemapi/app/setupRulerForm', + method: 'post', + data: data + }); +} diff --git a/src/views/hr/teams/anchorPage.vue b/src/views/hr/teams/anchorPage.vue new file mode 100644 index 0000000..3ba7708 --- /dev/null +++ b/src/views/hr/teams/anchorPage.vue @@ -0,0 +1,167 @@ + + + + diff --git a/src/views/hr/teams/classes.vue b/src/views/hr/teams/classes.vue index 7333645..3d53772 100644 --- a/src/views/hr/teams/classes.vue +++ b/src/views/hr/teams/classes.vue @@ -10,6 +10,7 @@ import { teamTimeList, editWorkTimeState } from "@/api/hr/people/index"; import AddClass from "@/views/hr/teams/classTime/addNewClass.vue"; import EditClass from "@/views/hr/teams/classTime/editNewClass.vue"; import SetupPollingPage from "@/views/hr/teams/classTime/setupPollingPage.vue"; +import AnchorPage from "@/views/hr/teams/anchorPage.vue"; const searchData = reactive({ name: "", @@ -108,8 +109,19 @@ const setupPolling = (val: any) => { teamLookInfo.value = val; setupIsShow.value = true; }; + +const anchorIsShow = ref(false); +/** +@ 作者: 秦东 +@ 时间: 2025-02-18 09:17:48 +@ 功能: 设置引用锚点 +*/ +const quoteAnchor = () => { + anchorIsShow.value = true; +};