From 8a4800e48db42523aa02e0c2f82fccd7341cb97e Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Thu, 18 Jul 2024 08:19:29 +0800 Subject: [PATCH] 55 --- src/api/calendar/request.ts | 13 ++ .../app/calendar/calendar1/calendarItem.vue | 51 ++++--- .../app/calendar/calendar1/calendarPage.vue | 10 +- .../app/calendar/calendar1/dayPage.vue | 17 ++- .../app/calendar/calendar1/monthPage.vue | 71 ++++++++- .../app/calendar/calendar1/weekPage.vue | 71 ++++++++- src/components/DesignForm/app/cardPage.vue | 63 ++++++++ src/components/DesignForm/app/gannttPage.vue | 33 +++++ src/components/DesignForm/app/index.vue | 44 +++++- src/components/DesignForm/app/mapPage.vue | 33 +++++ src/components/DesignForm/app/timeAxis.vue | 94 +++++++----- .../DesignForm/tableListPage/index.vue | 123 ++++++++++++++-- src/types/components.d.ts | 3 + .../appPage/appPageForm/openAppFormPage.vue | 73 +++++++++- .../appPage/appPageForm/pageList.vue | 135 +++++++++++++++++- .../sysworkflow/lowcodepage/pageList.vue | 117 ++++++++++++++- .../lowcodepage/runApp/runAppForm.vue | 21 ++- 17 files changed, 868 insertions(+), 104 deletions(-) create mode 100644 src/api/calendar/request.ts create mode 100644 src/components/DesignForm/app/cardPage.vue create mode 100644 src/components/DesignForm/app/gannttPage.vue create mode 100644 src/components/DesignForm/app/mapPage.vue diff --git a/src/api/calendar/request.ts b/src/api/calendar/request.ts new file mode 100644 index 000000000..74d2ecafd --- /dev/null +++ b/src/api/calendar/request.ts @@ -0,0 +1,13 @@ +import request from '@/utils/request'; + + +/** + * 获取离职率http://localhost:9999/dev-api/api/upordown + */ + export function gainCalendarList(data?: any) { + return request({ + url: "/systemapi/customer_form/gainCalendarList", + method: 'post', + data: data + }); +} diff --git a/src/components/DesignForm/app/calendar/calendar1/calendarItem.vue b/src/components/DesignForm/app/calendar/calendar1/calendarItem.vue index 545a67743..ee9db95e0 100644 --- a/src/components/DesignForm/app/calendar/calendar1/calendarItem.vue +++ b/src/components/DesignForm/app/calendar/calendar1/calendarItem.vue @@ -2,6 +2,7 @@ import { PropType } from 'vue'; import DateClass from '@/api/calendar/DateClass'; import { dateBase } from '@/api/calendar/Calendar'; +import FormPageCont from '@/components/DesignForm/tableListPage/formPageCont.vue' const props = defineProps({ col: { type: Object as PropType, @@ -13,9 +14,14 @@ const props = defineProps({ type: String, default: '', }, + drawerWith:{ + type:Number, + default:0 + } }); const isCurrentMonth = (time: string) => { + // console.log("分割时间",time) const months = time.split('-')[1]; return DateClass.getCurrent()[1] === Number(months); } @@ -32,6 +38,20 @@ const changeTargetDate = (time: dateBase) => { const searchtData = (val:any,time?:any) => { return time } + +/** +@ 作者: 秦东 +@ 时间: 2024-04-03 13:24:06 +@ 功能: 查看详细内容 +*/ +const tablePageClass = ref(1) +const lookPageInfoIsShow = ref(false) +const pageInfoCont = ref() +const lookPageInfo = (val:any) => { + tablePageClass.value = 4; + pageInfoCont.value = val + lookPageInfoIsShow.value = true; +} diff --git a/src/components/DesignForm/app/calendar/calendar1/calendarPage.vue b/src/components/DesignForm/app/calendar/calendar1/calendarPage.vue index ca6230990..3ddd619c5 100644 --- a/src/components/DesignForm/app/calendar/calendar1/calendarPage.vue +++ b/src/components/DesignForm/app/calendar/calendar1/calendarPage.vue @@ -26,6 +26,10 @@ const props = defineProps({ default(){ return {} } + }, + drawerWith:{ + type:Number, + default:0 } }); const taday = ref([]); @@ -187,9 +191,9 @@ defineExpose({
- - - + + +
diff --git a/src/components/DesignForm/app/calendar/calendar1/dayPage.vue b/src/components/DesignForm/app/calendar/calendar1/dayPage.vue index a78938cd0..30737a12b 100644 --- a/src/components/DesignForm/app/calendar/calendar1/dayPage.vue +++ b/src/components/DesignForm/app/calendar/calendar1/dayPage.vue @@ -8,6 +8,8 @@ import Calendar from '@/api/calendar/Calendar'; import DateClass from '@/api/calendar/DateClass'; import { dateBase } from '@/api/calendar/Calendar'; import { clockFactory } from '@/api/calendar/utils'; +import { gainCalendarList } from '@/api/calendar/request'; + const props = defineProps({ bodyHight:Number, taDay:{ @@ -21,6 +23,10 @@ const props = defineProps({ default(){ return {} } + }, + drawerWith:{ + type:Number, + default:0 } }); @@ -62,7 +68,7 @@ const changeDate = (time: dateBase) => { selectedTime.value = time.date; emit('getDate', time); } - +const loadDay = ref(false) /** @ 作者: 秦东 @@ -85,6 +91,12 @@ const searchatDayList = (val:any) => { timeAry:[dayInfo.value] } console.log("获取每天数据条件",sendInfo) + gainCalendarList(sendInfo) + .then(({data})=>{ + console.log("获取数据",data) + dayInfo.value = data + }) + .finally(()=>{ loadDay.value = false }) } defineExpose({ searchatDayList @@ -97,7 +109,7 @@ defineExpose({ {{ curttWeek }} -
+