From eff4863cd22e59d976a819dd1217617f21bab38e Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Fri, 12 Jul 2024 16:59:19 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/components.d.ts | 179 -------------------------------------- 1 file changed, 179 deletions(-) delete mode 100644 src/types/components.d.ts diff --git a/src/types/components.d.ts b/src/types/components.d.ts deleted file mode 100644 index b01821d1f..000000000 --- a/src/types/components.d.ts +++ /dev/null @@ -1,179 +0,0 @@ -/* eslint-disable */ -/* prettier-ignore */ -// @ts-nocheck -// Generated by unplugin-vue-components -// Read more: https://github.com/vuejs/core/pull/3399 -import '@vue/runtime-core' - -export {} - -declare module '@vue/runtime-core' { - export interface GlobalComponents { - AceDrawer: typeof import('./../components/DesignForm/aceDrawer.vue')['default'] - AddNode: typeof import('./../components/workflow/addNode.vue')['default'] - App: typeof import('./../components/DesignForm/app/index.vue')['default'] - AppMenuSvgPage: typeof import('./../components/IconSelect/appMenuSvgPage.vue')['default'] - ApproverDrawer: typeof import('./../components/workflow/drwer/approverDrawer.vue')['default'] - BianXian: typeof import('./../components/DesignForm/designLayout/bianXian.vue')['default'] - Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default'] - CalendarPage: typeof import('./../components/DesignForm/app/calendarPage.vue')['default'] - ChildTable: typeof import('./../components/DesignForm/public/form/childTable.vue')['default'] - ConditionDrawer: typeof import('./../components/workflow/drwer/conditionDrawer.vue')['default'] - CopyerDrawer: typeof import('./../components/workflow/drwer/copyerDrawer.vue')['default'] - DesignLayoutButPage: typeof import('./../components/DesignForm/designLayout/designLayoutButPage.vue')['default'] - DesignLayoutPage: typeof import('./../components/DesignForm/designLayout/designLayoutPage.vue')['default'] - DiyIconfont: typeof import('./../components/DesignForm/public/expand/diy-iconfont.vue')['default'] - DragControl: typeof import('./../components/DesignForm/dragControl.vue')['default'] - DragControlApp: typeof import('./../components/DesignForm/dragControlApp.vue')['default'] - DragControlNew: typeof import('./../components/DesignForm/dragControlNew.vue')['default'] - ElAffix: typeof import('element-plus/es')['ElAffix'] - ElAside: typeof import('element-plus/es')['ElAside'] - ElAvatar: typeof import('element-plus/es')['ElAvatar'] - ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb'] - ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem'] - ElButton: typeof import('element-plus/es')['ElButton'] - ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup'] - ElCalendar: typeof import('element-plus/es')['ElCalendar'] - ElCard: typeof import('element-plus/es')['ElCard'] - ElCarousel: typeof import('element-plus/es')['ElCarousel'] - ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem'] - ElCascader: typeof import('element-plus/es')['ElCascader'] - ElCheckbox: typeof import('element-plus/es')['ElCheckbox'] - ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup'] - ElCol: typeof import('element-plus/es')['ElCol'] - ElCollapse: typeof import('element-plus/es')['ElCollapse'] - ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem'] - ElColorPicker: typeof import('element-plus/es')['ElColorPicker'] - ElContainer: typeof import('element-plus/es')['ElContainer'] - ElDatePicker: typeof import('element-plus/es')['ElDatePicker'] - ElDescriptions: typeof import('element-plus/es')['ElDescriptions'] - ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem'] - ElDialog: typeof import('element-plus/es')['ElDialog'] - ElDivider: typeof import('element-plus/es')['ElDivider'] - ElDrawer: typeof import('element-plus/es')['ElDrawer'] - ElDropdown: typeof import('element-plus/es')['ElDropdown'] - ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] - ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] - ElForm: typeof import('element-plus/es')['ElForm'] - ElFormItem: typeof import('element-plus/es')['ElFormItem'] - ElHeader: typeof import('element-plus/es')['ElHeader'] - ElIcon: typeof import('element-plus/es')['ElIcon'] - ElImage: typeof import('element-plus/es')['ElImage'] - ElImageViewer: typeof import('element-plus/es')['ElImageViewer'] - ElInput: typeof import('element-plus/es')['ElInput'] - ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] - ElMain: typeof import('element-plus/es')['ElMain'] - ElMenu: typeof import('element-plus/es')['ElMenu'] - ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] - ElOption: typeof import('element-plus/es')['ElOption'] - ElPagination: typeof import('element-plus/es')['ElPagination'] - ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm'] - ElPopover: typeof import('element-plus/es')['ElPopover'] - ElProgress: typeof import('element-plus/es')['ElProgress'] - ElRadio: typeof import('element-plus/es')['ElRadio'] - ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] - ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] - ElResult: typeof import('element-plus/es')['ElResult'] - ElRow: typeof import('element-plus/es')['ElRow'] - ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] - ElSelect: typeof import('element-plus/es')['ElSelect'] - ElSlider: typeof import('element-plus/es')['ElSlider'] - ElSpace: typeof import('element-plus/es')['ElSpace'] - ElStep: typeof import('element-plus/es')['ElStep'] - ElSteps: typeof import('element-plus/es')['ElSteps'] - ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] - ElSwitch: typeof import('element-plus/es')['ElSwitch'] - ElTable: typeof import('element-plus/es')['ElTable'] - ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] - ElTabPane: typeof import('element-plus/es')['ElTabPane'] - ElTabs: typeof import('element-plus/es')['ElTabs'] - ElTag: typeof import('element-plus/es')['ElTag'] - ElText: typeof import('element-plus/es')['ElText'] - ElTimeline: typeof import('element-plus/es')['ElTimeline'] - ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem'] - ElTimePicker: typeof import('element-plus/es')['ElTimePicker'] - ElTooltip: typeof import('element-plus/es')['ElTooltip'] - ElTree: typeof import('element-plus/es')['ElTree'] - ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] - ElUpload: typeof import('element-plus/es')['ElUpload'] - EmployeesDialog: typeof import('./../components/workflow/dialog/employeesDialog.vue')['default'] - EmployeesRoleDialog: typeof import('./../components/workflow/dialog/employeesRoleDialog.vue')['default'] - ErrorDialog: typeof import('./../components/workflow/dialog/errorDialog.vue')['default'] - FlexBox: typeof import('./../components/DesignForm/public/form/flexBox.vue')['default'] - Flow: typeof import('./../components/DesignForm/public/form/components/flow.vue')['default'] - Form: typeof import('./../components/DesignForm/public/form/form.vue')['default'] - Form2: typeof import('./../components/DesignForm/public/form/form2.vue')['default'] - FormControlAttr: typeof import('./../components/DesignForm/formControlAttr.vue')['default'] - FormControlAttr_2024024: typeof import('./../components/DesignForm/formControlAttr_2024024.vue')['default'] - FormControlAttres: typeof import('./../components/DesignForm/formControlAttres.vue')['default'] - FormControlProperties: typeof import('./../components/DesignForm/formControlProperties.vue')['default'] - FormControlPropertiNew: typeof import('./../components/DesignForm/formControlPropertiNew.vue')['default'] - FormGroup: typeof import('./../components/DesignForm/public/form/formGroup.vue')['default'] - FormGroup1: typeof import('./../components/DesignForm/public/form/formGroup1.vue')['default'] - FormItem: typeof import('./../components/DesignForm/public/form/formItem.vue')['default'] - FormPage: typeof import('./../components/DesignForm/app/formPage.vue')['default'] - FormPageCont: typeof import('./../components/DesignForm/tableListPage/formPageCont.vue')['default'] - FormPageContApp: typeof import('./../components/DesignForm/tableListPage/formPageContApp.vue')['default'] - FormVersion: typeof import('./../components/DesignForm/formVersion.vue')['default'] - FormWord: typeof import('./../components/workflow/dialog/formWord.vue')['default'] - GithubCorner: typeof import('./../components/GithubCorner/index.vue')['default'] - Hamburger: typeof import('./../components/Hamburger/index.vue')['default'] - HeadTools: typeof import('./../components/DesignForm/public/headTools.vue')['default'] - HeadToolsApp: typeof import('./../components/DesignForm/public/headToolsApp.vue')['default'] - HeadToolsNew: typeof import('./../components/DesignForm/public/headToolsNew.vue')['default'] - IconSelect: typeof import('./../components/IconSelect/index.vue')['default'] - IEpCaretBottom: typeof import('~icons/ep/caret-bottom')['default'] - IEpClose: typeof import('~icons/ep/close')['default'] - IEpDelete: typeof import('~icons/ep/delete')['default'] - IEpEdit: typeof import('~icons/ep/edit')['default'] - IEpMessageBox: typeof import('~icons/ep/message-box')['default'] - IEpPlus: typeof import('~icons/ep/plus')['default'] - IEpRefresh: typeof import('~icons/ep/refresh')['default'] - IEpSearch: typeof import('~icons/ep/search')['default'] - IEpSetting: typeof import('~icons/ep/setting')['default'] - IEpView: typeof import('~icons/ep/view')['default'] - LangSelect: typeof import('./../components/LangSelect/index.vue')['default'] - LayoutPage: typeof import('./../components/DesignForm/layoutPage/index.vue')['default'] - List: typeof import('./../components/DesignForm/public/form/components/list.vue')['default'] - ListTreeSide: typeof import('./../components/DesignForm/public/form/components/listTreeSide.vue')['default'] - MathFormula: typeof import('./../components/DesignForm/math/mathFormula.vue')['default'] - Matrix: typeof import('./../components/workflow/dialog/matrix.vue')['default'] - MultiUpload: typeof import('./../components/Upload/MultiUpload.vue')['default'] - NodeWrap: typeof import('./../components/workflow/nodeWrap.vue')['default'] - PageSize: typeof import('./../components/DesignForm/designLayout/pageSize.vue')['default'] - PageSizeSmail: typeof import('./../components/DesignForm/designLayout/pageSizeSmail.vue')['default'] - Pagination: typeof import('./../components/Pagination/index.vue')['default'] - PositionDialog: typeof import('./../components/workflow/dialog/positionDialog.vue')['default'] - PromoterDrawer: typeof import('./../components/workflow/drwer/promoterDrawer.vue')['default'] - QuillEditor: typeof import('./../components/DesignForm/public/quillEditor.vue')['default'] - RightPanel: typeof import('./../components/RightPanel/index.vue')['default'] - RoleDialog: typeof import('./../components/workflow/dialog/roleDialog.vue')['default'] - RouterLink: typeof import('vue-router')['RouterLink'] - RouterView: typeof import('vue-router')['RouterView'] - Screen: typeof import('./../components/DesignForm/public/form/components/screen.vue')['default'] - Select: typeof import('./../components/DesignForm/public/form/select.vue')['default'] - SelectBoxs: typeof import('./../components/workflow/selectBoxs.vue')['default'] - SelectResult: typeof import('./../components/workflow/selectResult.vue')['default'] - SingleUpload: typeof import('./../components/Upload/SingleUpload.vue')['default'] - SizeSelect: typeof import('./../components/SizeSelect/index.vue')['default'] - SvgIcon: typeof import('./../components/SvgIcon/index.vue')['default'] - SvgPage: typeof import('./../components/IconSelect/svgPage.vue')['default'] - TableListPage: typeof import('./../components/DesignForm/tableListPage/index.vue')['default'] - Template: typeof import('./../components/DesignForm/template.vue')['default'] - TextPage: typeof import('./../components/DesignForm/designLayout/textPage.vue')['default'] - TimeAxis: typeof import('./../components/DesignForm/app/timeAxis.vue')['default'] - Tinymce: typeof import('./../components/DesignForm/public/form/tinymce.vue')['default'] - Tinymce_1: typeof import('./../components/DesignForm/public/form/tinymce_1.vue')['default'] - Tooltip: typeof import('./../components/DesignForm/tooltip.vue')['default'] - UnitBackGround: typeof import('./../components/DesignForm/designLayout/unitBackGround.vue')['default'] - User: typeof import('./../components/DesignForm/public/expand/user.vue')['default'] - UserDialog: typeof import('./../components/DesignForm/public/expand/userDialog.vue')['default'] - VueFile: typeof import('./../components/DesignForm/vueFile.vue')['default'] - WangEditor: typeof import('./../components/WangEditor/index.vue')['default'] - Yuanjao: typeof import('./../components/DesignForm/designLayout/yuanjao.vue')['default'] - } - export interface ComponentCustomProperties { - vInfiniteScroll: typeof import('element-plus/es')['ElInfiniteScroll'] - vLoading: typeof import('element-plus/es')['ElLoadingDirective'] - } -} From 7928f37f6cb48b0a004167982d0492c857149e5d Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Tue, 16 Jul 2024 09:10:07 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E5=85=B3=E8=81=94=E8=A1=A8=E5=8D=95App?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/DesignForm/tableButton.ts | 1 + src/components/DesignForm/app/index.vue | 87 ++++++++++++++++++- .../DesignForm/tableListPage/index.vue | 85 +++++++++++++++++- .../sysworkflow/lowcodepage/appFormList.vue | 4 +- .../appPage/appPageForm/openAppFormPage.vue | 10 ++- .../lowcodepage/runApp/runAppForm.vue | 12 ++- 6 files changed, 187 insertions(+), 12 deletions(-) diff --git a/src/api/DesignForm/tableButton.ts b/src/api/DesignForm/tableButton.ts index c88af5050..7fb9524c8 100644 --- a/src/api/DesignForm/tableButton.ts +++ b/src/api/DesignForm/tableButton.ts @@ -1,4 +1,5 @@ export interface tableButton { + control: any; id?: string; name?: string; field?: string; diff --git a/src/components/DesignForm/app/index.vue b/src/components/DesignForm/app/index.vue index e4a9c8aee..e63305bc1 100644 --- a/src/components/DesignForm/app/index.vue +++ b/src/components/DesignForm/app/index.vue @@ -1,7 +1,7 @@ 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 }} -
+