@das-fed/ui 6.4.0-hot.21 → 6.4.0-hot.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +21 -21
- package/package.json +5 -5
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/src/type.d.ts +9 -9
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/change-enterprises/index.d.ts +5 -0
- package/packages/business-components/change-enterprises/index.js +64 -59
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/src/index.vue.d.ts +1 -0
- package/packages/business-components/change-enterprises/src/type.d.ts +20 -20
- package/packages/business-components/change-enterprises/style.css +1 -1
- package/packages/business-components/change-enterprises/style.css.gz +0 -0
- package/packages/business-components/change-pwd/index.js +121 -121
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
- package/packages/business-components/change-pwd/src/type.d.ts +13 -13
- package/packages/business-components/change-pwd/style.css +1 -1
- package/packages/business-components/currency-page/index.js +24 -19
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/currency-page/src/type.d.ts +7 -7
- package/packages/business-components/currency-page/style.css +1 -1
- package/packages/business-components/device-panel/index.js +124 -124
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/listItem.vue.d.ts +1 -1
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/listItem.vue.d.ts +1 -1
- package/packages/business-components/device-panel/src/components/devicePanelModal/type.d.ts +8 -8
- package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +1 -1
- package/packages/business-components/device-panel/src/components/drag-resize/type.d.ts +83 -83
- package/packages/business-components/device-panel/src/components/videoDialog/type.d.ts +19 -19
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/echarts/index.d.ts +5 -5
- package/packages/business-components/echarts/index.js +1 -1
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/echarts/src/Index.vue.d.ts +1 -1
- package/packages/business-components/echarts/src/type.d.ts +49 -49
- package/packages/business-components/echarts/style.css +1 -1
- package/packages/business-components/export-button/index.d.ts +5 -5
- package/packages/business-components/export-button/index.js +93 -93
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/export-button/src/App.vue.d.ts +2 -2
- package/packages/business-components/export-button/src/type.d.ts +29 -29
- package/packages/business-components/export-button/style.css +1 -1
- package/packages/business-components/import-button/index.d.ts +8 -8
- package/packages/business-components/import-button/index.js +267 -267
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/import-button/src/App.vue.d.ts +3 -3
- package/packages/business-components/import-button/src/type.d.ts +43 -43
- package/packages/business-components/import-button/style.css +1 -1
- package/packages/business-components/layout-breadcrumb/index.js +1 -1
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/src/type.d.ts +19 -19
- package/packages/business-components/layout-breadcrumb/style.css +1 -1
- package/packages/business-components/model-table-dialog/index.d.ts +61 -61
- package/packages/business-components/model-table-dialog/index.js +363 -363
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +10 -10
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +5 -7
- package/packages/business-components/model-table-dialog/src/type.d.ts +73 -73
- package/packages/business-components/model-table-dialog/style.css +1 -1
- package/packages/business-components/model-table-dialog/style.css.gz +0 -0
- package/packages/business-components/process-configuration/index.js +303 -261
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/src/hooks/type.d.ts +26 -26
- package/packages/business-components/process-configuration/src/type.d.ts +32 -32
- package/packages/business-components/process-configuration/style.css +1 -1
- package/packages/business-components/process-configuration/style.css.gz +0 -0
- package/packages/business-components/process-form/index.js +1208 -1163
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
- package/packages/business-components/process-form/src/type.d.ts +70 -70
- package/packages/business-components/process-form/src/utils/common-methods.d.ts +1 -1
- package/packages/business-components/process-form/src/widgets/layout/accordion/accordion.d.ts +1 -1
- package/packages/business-components/process-form/src/widgets/layout/accordion/type.d.ts +25 -25
- package/packages/business-components/process-form/src/widgets/layout/grid/grid.d.ts +1 -1
- package/packages/business-components/process-form/src/widgets/store.d.ts +2 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-form/type.d.ts +24 -24
- package/packages/business-components/process-log/index.js +40 -40
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-log/type.d.ts +105 -105
- package/packages/business-components/process-search-form/index.js +399 -396
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/src/type.d.ts +41 -41
- package/packages/business-components/process-table/index.js +539 -518
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/type.d.ts +151 -151
- package/packages/business-components/process-table/style.css +1 -1
- package/packages/business-components/upload-file/index.js +7 -7
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/src/type.d.ts +51 -51
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +13 -13
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +1 -1
- package/packages/business-components/urgent-panel/src/components/drag-resize/type.d.ts +83 -83
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-location-select/type.d.ts +3 -3
- package/packages/business-components/urgent-panel/style.css +1 -1
- package/packages/business-components/urgent-panel/style.css.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +65 -65
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/src/type.d.ts +37 -37
- package/packages/business-components/user-org-dialog/style.css +1 -1
- package/packages/business-components/user-org-dialog/style.css.gz +0 -0
- package/packages/business-components/video-dialog/index.js +185 -182
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/src/type.d.ts +21 -21
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/alert/src/type.d.ts +17 -17
- package/packages/components/alert/style.css.gz +0 -0
- package/packages/components/audio-video/index.d.ts +10 -10
- package/packages/components/audio-video/index.js +2 -2
- package/packages/components/audio-video/index.js.gz +0 -0
- package/packages/components/audio-video/src/Index.vue.d.ts +2 -2
- package/packages/components/audio-video/src/player/type.d.ts +22 -22
- package/packages/components/audio-video/src/type.d.ts +35 -35
- package/packages/components/audio-video/style.css +1 -1
- package/packages/components/autocomplete/index.d.ts +38 -38
- package/packages/components/autocomplete/index.js +1 -1
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +17 -17
- package/packages/components/autocomplete/src/type.d.ts +63 -63
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/index.js +2 -2
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/breadcrumb/src/type.d.ts +20 -20
- package/packages/components/breadcrumb/style.css +1 -1
- package/packages/components/breadcrumb/style.css.gz +0 -0
- package/packages/components/button/index.js +1 -1
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/button/src/type.d.ts +76 -76
- package/packages/components/button/style.css +1 -1
- package/packages/components/button/style.css.gz +0 -0
- package/packages/components/calendar/index.js +9 -9
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/calendar/src/type.d.ts +63 -63
- package/packages/components/calendar/style.css.gz +0 -0
- package/packages/components/cascader/index.d.ts +6 -6
- package/packages/components/cascader/index.js +36 -35
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/src/Index.vue.d.ts +2 -2
- package/packages/components/cascader/src/type.d.ts +64 -64
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +59 -59
- package/packages/components/checkbox/index.js +1 -1
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/src/Index.vue.d.ts +8 -8
- package/packages/components/checkbox/src/type.d.ts +67 -67
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +1 -1
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collapse-panel/style.css +1 -1
- package/packages/components/collapse-panel/style.css.gz +0 -0
- package/packages/components/collapse-transition/index.js.gz +0 -0
- package/packages/components/collaspe/index.d.ts +9 -9
- package/packages/components/collaspe/index.js +7 -7
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/collaspe/src/Index.vue.d.ts +1 -1
- package/packages/components/collaspe/src/type.d.ts +20 -20
- package/packages/components/collaspe/style.css +1 -1
- package/packages/components/color-picker/index.d.ts +13 -13
- package/packages/components/color-picker/index.js +18 -17
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/src/Index.vue.d.ts +3 -3
- package/packages/components/color-picker/src/type.d.ts +29 -29
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/custom-search-item/index.d.ts +24 -24
- package/packages/components/custom-search-item/index.js +24 -23
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/custom-search-item/src/Index.vue.d.ts +3 -3
- package/packages/components/custom-search-item/src/type.d.ts +57 -57
- package/packages/components/custom-search-item/style.css +1 -1
- package/packages/components/date-picker/index.d.ts +27 -27
- package/packages/components/date-picker/index.js +129 -128
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +1 -1
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +2 -2
- package/packages/components/date-picker/src/type.d.ts +189 -189
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.d.ts +13 -13
- package/packages/components/dialog/index.js +1 -1
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/src/Index.vue.d.ts +5 -5
- package/packages/components/dialog/src/type.d.ts +53 -53
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
- package/packages/components/dimple-layout/editor/plugins/$background/type.d.ts +65 -65
- package/packages/components/dimple-layout/editor/plugins/$route/type.d.ts +102 -102
- package/packages/components/dimple-layout/editor/plugins/$text/type.d.ts +53 -53
- package/packages/components/dimple-layout/editor/type.d.ts +73 -73
- package/packages/components/dimple-layout/index.js +3 -3
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dimple-layout/style.css +1 -1
- package/packages/components/dimple-layout/style.css.gz +0 -0
- package/packages/components/dimple-layout/type.d.ts +1 -1
- package/packages/components/drawer/index.js +1 -1
- package/packages/components/drawer/index.js.gz +0 -0
- package/packages/components/drawer/style.css +1 -1
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/dropdown/src/type.d.ts +10 -10
- package/packages/components/dropdown/style.css.gz +0 -0
- package/packages/components/edit-table/index.d.ts +9 -9
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/index.vue.d.ts +1 -1
- package/packages/components/edit-table/src/type.d.ts +217 -217
- package/packages/components/edit-table/style.css.gz +0 -0
- package/packages/components/empty/index.js +1 -1
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/empty/src/type.d.ts +34 -34
- package/packages/components/empty/style.css +1 -1
- package/packages/components/form/index.d.ts +23 -23
- package/packages/components/form/index.js +7 -7
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/src/Index.vue.d.ts +3 -3
- package/packages/components/form/src/type.d.ts +40 -40
- package/packages/components/form/style.css +1 -1
- package/packages/components/form-item/index.js +2 -2
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/src/type.d.ts +181 -181
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/icon/index.js.gz +0 -0
- package/packages/components/icon/src/type.d.ts +10 -10
- package/packages/components/image-preview/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +1 -1
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-upload/src/type.d.ts +40 -40
- package/packages/components/image-upload/style.css +1 -1
- package/packages/components/image-upload/style.css.gz +0 -0
- package/packages/components/image-viewer/index.d.ts +1 -1
- package/packages/components/image-viewer/index.js +1 -1
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/image-viewer/src/Index.vue.d.ts +1 -1
- package/packages/components/image-viewer/src/type.d.ts +124 -124
- package/packages/components/image-viewer/style.css +1 -1
- package/packages/components/image-viewer/style.css.gz +0 -0
- package/packages/components/input/index.d.ts +12 -12
- package/packages/components/input/index.js +24 -23
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +4 -4
- package/packages/components/input/src/type.d.ts +72 -72
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.d.ts +3 -3
- package/packages/components/input-dialog-select/index.js +65 -58
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/src/Index.vue.d.ts +3 -3
- package/packages/components/input-dialog-select/src/type.d.ts +72 -72
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-number/index.js +4 -4
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/src/App.vue.d.ts +4 -6
- package/packages/components/input-number/src/type.d.ts +53 -53
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/live-player/index.js +68 -67
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/live-player/src/type.d.ts +36 -36
- package/packages/components/live-player/style.css +1 -1
- package/packages/components/loading/index.js +53 -53
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/loading/src/type.d.ts +42 -42
- package/packages/components/loading/style.css +1 -1
- package/packages/components/loading/style.css.gz +0 -0
- package/packages/components/map/index.js +493 -482
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/map/src/type.d.ts +75 -75
- package/packages/components/map/style.css +1 -1
- package/packages/components/menu-aside/index.js +429 -404
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-aside/src/sub-menu/type.d.ts +27 -27
- package/packages/components/menu-aside/src/type.d.ts +44 -44
- package/packages/components/menu-aside/style.css.gz +0 -0
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/menu-header/src/type.d.ts +8 -8
- package/packages/components/menu-header/style.css.gz +0 -0
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/message/src/type.d.ts +6 -6
- package/packages/components/message/style.css.gz +0 -0
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/notification/src/type.d.ts +6 -6
- package/packages/components/notification/style.css.gz +0 -0
- package/packages/components/overlay/index.js.gz +0 -0
- package/packages/components/pagination/index.d.ts +9 -9
- package/packages/components/pagination/index.js +133 -132
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/src/Pagination.vue.d.ts +1 -1
- package/packages/components/pagination/src/type.d.ts +57 -57
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popover/style.css.gz +0 -0
- package/packages/components/popup-mask/index.js +1 -1
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/popup-mask/src/type.d.ts +28 -28
- package/packages/components/popup-mask/style.css +1 -1
- package/packages/components/preview/index.js +7 -7
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/preview/src/type.d.ts +19 -19
- package/packages/components/preview/style.css +1 -1
- package/packages/components/progress/index.d.ts +3 -3
- package/packages/components/progress/index.js +68 -67
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/src/Index.vue.d.ts +1 -1
- package/packages/components/progress/src/type.d.ts +43 -43
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +38 -38
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/radio/src/Index.vue.d.ts +5 -5
- package/packages/components/radio/src/type.d.ts +43 -43
- package/packages/components/radio/style.css.gz +0 -0
- package/packages/components/radio-tabs/index.js +1 -1
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/radio-tabs/src/type.d.ts +17 -17
- package/packages/components/radio-tabs/style.css +1 -1
- package/packages/components/radio-tabs/style.css.gz +0 -0
- package/packages/components/rich-editor/index.d.ts +16 -16
- package/packages/components/rich-editor/index.js +5101 -5100
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/rich-editor/src/Index.vue.d.ts +4 -4
- package/packages/components/rich-editor/src/type.d.ts +87 -87
- package/packages/components/rich-editor/style.css.gz +0 -0
- package/packages/components/scrollbar/index.js +1 -1
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/scrollbar/src/type.d.ts +3 -3
- package/packages/components/scrollbar/style.css +1 -1
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/search/index.d.ts +5 -5
- package/packages/components/search/index.js +1 -1
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/src/Index.vue.d.ts +5 -5
- package/packages/components/search/src/type.d.ts +20 -20
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/search-form/index.js +575 -568
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/src/Index.vue.d.ts +1 -1
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +1 -1
- package/packages/components/search-form/src/type.d.ts +105 -105
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.d.ts +11 -11
- package/packages/components/select/index.js +338 -319
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/Select.vue.d.ts +4 -4
- package/packages/components/select/src/type.d.ts +81 -81
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.d.ts +1 -1
- package/packages/components/select-input/index.js +8 -8
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/src/Index.vue.d.ts +1 -1
- package/packages/components/select-input/src/type.d.ts +54 -54
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/select-list/index.js +2 -2
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/src/type.d.ts +86 -86
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-month/index.d.ts +3 -3
- package/packages/components/special-range-picker-month/index.js +1 -1
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/src/Index.vue.d.ts +3 -3
- package/packages/components/special-range-picker-month/src/type.d.ts +49 -49
- package/packages/components/special-range-picker-month/style.css +1 -1
- package/packages/components/special-range-picker-month/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.d.ts +3 -3
- package/packages/components/special-range-picker-year/index.js +1 -1
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/src/Index.vue.d.ts +3 -3
- package/packages/components/special-range-picker-year/src/type.d.ts +53 -53
- package/packages/components/special-range-picker-year/style.css +1 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/index.d.ts +3 -3
- package/packages/components/spin/index.js +18 -18
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/spin/src/index.vue.d.ts +1 -1
- package/packages/components/spin/src/type.d.ts +17 -17
- package/packages/components/spin/style.css +1 -1
- package/packages/components/spin/style.css.gz +0 -0
- package/packages/components/split-panel/index.js +1 -1
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/split-panel/src/type.d.ts +15 -15
- package/packages/components/split-panel/style.css +1 -1
- package/packages/components/split-panel/style.css.gz +0 -0
- package/packages/components/step/index.js +3 -3
- package/packages/components/step/index.js.gz +0 -0
- package/packages/components/step/src/type.d.ts +53 -53
- package/packages/components/step/style.css +1 -1
- package/packages/components/steps/style.css.gz +0 -0
- package/packages/components/switch/index.js +4 -4
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/switch/src/type.d.ts +50 -50
- package/packages/components/switch/style.css +1 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/table/index.d.ts +16 -16
- package/packages/components/table/index.js +2839 -2818
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/filter-pane/filterPane.vue.d.ts +2 -2
- package/packages/components/table/src/filter-pane/type.d.ts +41 -41
- package/packages/components/table/src/table-column/index.vue.d.ts +2 -2
- package/packages/components/table/src/table-column/type.d.ts +84 -84
- package/packages/components/table/src/type.d.ts +308 -308
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/index.d.ts +6 -6
- package/packages/components/tabs/index.js +58 -57
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tabs/src/type.d.ts +100 -100
- package/packages/components/tabs/style.css +1 -1
- package/packages/components/tabs/style.css.gz +0 -0
- package/packages/components/tag/index.d.ts +6 -6
- package/packages/components/tag/index.js +9 -9
- package/packages/components/tag/index.js.gz +0 -0
- package/packages/components/tag/src/Index.vue.d.ts +2 -2
- package/packages/components/tag/src/type.d.ts +27 -27
- package/packages/components/tag/style.css +1 -1
- package/packages/components/tag/style.css.gz +0 -0
- package/packages/components/text-tooltip/index.js.gz +0 -0
- package/packages/components/text-tooltip/src/type.d.ts +65 -65
- package/packages/components/text-tooltip/style.css.gz +0 -0
- package/packages/components/time-line/index.js +9 -9
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/time-line/src/type.d.ts +21 -21
- package/packages/components/time-line/style.css +1 -1
- package/packages/components/time-line/style.css.gz +0 -0
- package/packages/components/tooltip/index.d.ts +31 -31
- package/packages/components/tooltip/index.js +5 -5
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/src/index.vue.d.ts +4 -4
- package/packages/components/tooltip/src/type.d.ts +40 -40
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/index.js +940 -939
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +22 -38
- package/packages/components/tree/src/type.d.ts +283 -283
- package/packages/components/tree/style.css +1 -1
- package/packages/components/tree/style.css.gz +0 -0
- package/packages/components/tree-select/index.js +65 -64
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +32 -32
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +26 -26
- package/packages/components/tree-select/src/type.d.ts +102 -102
- package/packages/components/tree-select/style.css.gz +0 -0
- package/packages/components/tree-table/index.js +1 -1
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-table/src/type.d.ts +131 -131
- package/packages/components/tree-table/style.css +1 -1
- package/packages/components/tree-table/style.css.gz +0 -0
- package/packages/components/upload/index.d.ts +3 -3
- package/packages/components/upload/index.js +1 -1
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/upload/src/Index.vue.d.ts +1 -1
- package/packages/components/upload/src/type.d.ts +69 -69
- package/packages/components/upload/style.css +1 -1
- package/packages/components/upload/style.css.gz +0 -0
- package/packages/components/virtual-tree/index.js +21 -20
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +12 -4
- package/packages/components/virtual-tree/src/type.d.ts +40 -40
- package/packages/components/virtual-tree/style.css +1 -1
- package/packages/components/virtual-tree/style.css.gz +0 -0
- package/packages/components/watermark/index.js +9 -9
- package/packages/components/watermark/style.css +1 -1
- package/packages/global/theme/index.js.gz +0 -0
- package/packages/icons/1-grids/index.js.gz +0 -0
- package/packages/icons/4-grids/index.js.gz +0 -0
- package/packages/icons/9-grids/index.js.gz +0 -0
- package/packages/icons/add/index.js.gz +0 -0
- package/packages/icons/add-item/index.js.gz +0 -0
- package/packages/icons/addto/index.js.gz +0 -0
- package/packages/icons/alarm/index.js.gz +0 -0
- package/packages/icons/arrow-first/index.js.gz +0 -0
- package/packages/icons/arrow-last/index.js.gz +0 -0
- package/packages/icons/back/index.js.gz +0 -0
- package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
- package/packages/icons/biaochi/index.js.gz +0 -0
- package/packages/icons/bim/index.js.gz +0 -0
- package/packages/icons/bold/index.js.gz +0 -0
- package/packages/icons/camera/index.js.gz +0 -0
- package/packages/icons/camera-2/index.js.gz +0 -0
- package/packages/icons/camera-3/index.js.gz +0 -0
- package/packages/icons/cancel-full-screen/index.js.gz +0 -0
- package/packages/icons/card/index.js.gz +0 -0
- package/packages/icons/card-view/index.js.gz +0 -0
- package/packages/icons/caret-bottom/index.js +16 -16
- package/packages/icons/caret-bottom/index.js.gz +0 -0
- package/packages/icons/caret-right/index.js.gz +0 -0
- package/packages/icons/chakancelve/index.js.gz +0 -0
- package/packages/icons/change/index.js +17 -17
- package/packages/icons/change/index.js.gz +0 -0
- package/packages/icons/change-2/index.js.gz +0 -0
- package/packages/icons/change-3/index.js.gz +0 -0
- package/packages/icons/changetenant/index.js.gz +0 -0
- package/packages/icons/chart/index.js.gz +0 -0
- package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
- package/packages/icons/check/index.js +11 -11
- package/packages/icons/check/index.js.gz +0 -0
- package/packages/icons/chuanglianjiang/index.js +14 -14
- package/packages/icons/chuanglianjiang/index.js.gz +0 -0
- package/packages/icons/chuangliansheng/index.js +14 -14
- package/packages/icons/chuangliansheng/index.js.gz +0 -0
- package/packages/icons/chuanglianting/index.js +14 -14
- package/packages/icons/chuanglianting/index.js.gz +0 -0
- package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
- package/packages/icons/chuizhijunfen/index.js.gz +0 -0
- package/packages/icons/close/index.js +14 -14
- package/packages/icons/close/index.js.gz +0 -0
- package/packages/icons/close-2/index.js.gz +0 -0
- package/packages/icons/color/index.js.gz +0 -0
- package/packages/icons/copy/index.js.gz +0 -0
- package/packages/icons/custom/index.js +6 -6
- package/packages/icons/custom/index.js.gz +0 -0
- package/packages/icons/daochu/index.js.gz +0 -0
- package/packages/icons/date/index.js +8 -8
- package/packages/icons/date/index.js.gz +0 -0
- package/packages/icons/decline/index.js.gz +0 -0
- package/packages/icons/default-btn/index.js.gz +0 -0
- package/packages/icons/default-point/index.js.gz +0 -0
- package/packages/icons/delete/index.js.gz +0 -0
- package/packages/icons/delete-2/index.js.gz +0 -0
- package/packages/icons/dengdai/index.js.gz +0 -0
- package/packages/icons/dianzan/index.js +8 -8
- package/packages/icons/dianzan/index.js.gz +0 -0
- package/packages/icons/dianzan-2/index.js +8 -8
- package/packages/icons/dianzan-2/index.js.gz +0 -0
- package/packages/icons/direction-control/index.js +14 -14
- package/packages/icons/direction-control/index.js.gz +0 -0
- package/packages/icons/ditu/index.js.gz +0 -0
- package/packages/icons/dizhixuanze/index.js.gz +0 -0
- package/packages/icons/double-arrow-left/index.js.gz +0 -0
- package/packages/icons/double-arrow-right/index.js.gz +0 -0
- package/packages/icons/down/index.js +11 -11
- package/packages/icons/down/index.js.gz +0 -0
- package/packages/icons/down-3/index.js +9 -9
- package/packages/icons/download/index.js +11 -11
- package/packages/icons/download/index.js.gz +0 -0
- package/packages/icons/drag/index.js +11 -11
- package/packages/icons/drag/index.js.gz +0 -0
- package/packages/icons/drawing/index.js.gz +0 -0
- package/packages/icons/edit/index.js.gz +0 -0
- package/packages/icons/edit-1/index.js.gz +0 -0
- package/packages/icons/empty/index.js.gz +0 -0
- package/packages/icons/enlarge/index.js +21 -21
- package/packages/icons/enlarge/index.js.gz +0 -0
- package/packages/icons/entry/index.js +11 -11
- package/packages/icons/entry/index.js.gz +0 -0
- package/packages/icons/fabu/index.js.gz +0 -0
- package/packages/icons/fanhui/index.js.gz +0 -0
- package/packages/icons/filter-3/index.js.gz +0 -0
- package/packages/icons/finish/index.js +11 -11
- package/packages/icons/finish/index.js.gz +0 -0
- package/packages/icons/fold/index.js.gz +0 -0
- package/packages/icons/folder-quest/index.js.gz +0 -0
- package/packages/icons/form-tips/index.js.gz +0 -0
- package/packages/icons/full/index.js.gz +0 -0
- package/packages/icons/full-screen/index.js +16 -16
- package/packages/icons/full-screen/index.js.gz +0 -0
- package/packages/icons/fullscreen-2/index.js.gz +0 -0
- package/packages/icons/fuzhi/index.js.gz +0 -0
- package/packages/icons/gaojin/index.js.gz +0 -0
- package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
- package/packages/icons/header-seach/index.js +14 -14
- package/packages/icons/header-seach/index.js.gz +0 -0
- package/packages/icons/header-setting/index.js +14 -14
- package/packages/icons/header-setting/index.js.gz +0 -0
- package/packages/icons/headersettings/index.js.gz +0 -0
- package/packages/icons/hide/index.js +11 -11
- package/packages/icons/hide/index.js.gz +0 -0
- package/packages/icons/huabufuwei/index.js.gz +0 -0
- package/packages/icons/huaxian/index.js.gz +0 -0
- package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
- package/packages/icons/hyperlinks/index.js.gz +0 -0
- package/packages/icons/img/index.js.gz +0 -0
- package/packages/icons/input-close/index.js.gz +0 -0
- package/packages/icons/italic/index.js.gz +0 -0
- package/packages/icons/jia-1/index.js.gz +0 -0
- package/packages/icons/jinggao/index.js.gz +0 -0
- package/packages/icons/jushangduiqi/index.js.gz +0 -0
- package/packages/icons/juxiaduiqi/index.js.gz +0 -0
- package/packages/icons/juxinghuizhi/index.js.gz +0 -0
- package/packages/icons/juyouduiqi/index.js.gz +0 -0
- package/packages/icons/juzuoduiqi/index.js.gz +0 -0
- package/packages/icons/kaiguan/index.js +10 -10
- package/packages/icons/kaiguan/index.js.gz +0 -0
- package/packages/icons/kaimen/index.js +9 -9
- package/packages/icons/kaimen/index.js.gz +0 -0
- package/packages/icons/layout-refresh/index.js.gz +0 -0
- package/packages/icons/link/index.js.gz +0 -0
- package/packages/icons/list/index.js.gz +0 -0
- package/packages/icons/list-view/index.js.gz +0 -0
- package/packages/icons/load/index.js.gz +0 -0
- package/packages/icons/lock/index.js +16 -16
- package/packages/icons/lock/index.js.gz +0 -0
- package/packages/icons/me/index.js +11 -11
- package/packages/icons/me/index.js.gz +0 -0
- package/packages/icons/more/index.js +14 -14
- package/packages/icons/more/index.js.gz +0 -0
- package/packages/icons/more-btn/index.js.gz +0 -0
- package/packages/icons/muted/index.js.gz +0 -0
- package/packages/icons/notification-face/index.js.gz +0 -0
- package/packages/icons/paiban/index.js.gz +0 -0
- package/packages/icons/password-lock/index.js +11 -11
- package/packages/icons/password-lock/index.js.gz +0 -0
- package/packages/icons/pause/index.js.gz +0 -0
- package/packages/icons/phone/index.js.gz +0 -0
- package/packages/icons/pinglun/index.js.gz +0 -0
- package/packages/icons/plan/index.js.gz +0 -0
- package/packages/icons/play/index.js.gz +0 -0
- package/packages/icons/preview/index.js.gz +0 -0
- package/packages/icons/preview-eye/index.js.gz +0 -0
- package/packages/icons/project-list/index.js +14 -14
- package/packages/icons/project-list/index.js.gz +0 -0
- package/packages/icons/project-tree/index.js +21 -21
- package/packages/icons/project-tree/index.js.gz +0 -0
- package/packages/icons/promptinformation-l/index.js +11 -11
- package/packages/icons/promptinformation-l/index.js.gz +0 -0
- package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
- package/packages/icons/quanping/index.js.gz +0 -0
- package/packages/icons/rate-all/index.js +17 -17
- package/packages/icons/rate-all/index.js.gz +0 -0
- package/packages/icons/rate-half/index.js +27 -27
- package/packages/icons/rate-half/index.js.gz +0 -0
- package/packages/icons/rate-none/index.js +17 -17
- package/packages/icons/rate-none/index.js.gz +0 -0
- package/packages/icons/recover/index.js.gz +0 -0
- package/packages/icons/refresh/index.js.gz +0 -0
- package/packages/icons/reload/index.js.gz +0 -0
- package/packages/icons/reset/index.js.gz +0 -0
- package/packages/icons/riqixuanze/index.js.gz +0 -0
- package/packages/icons/rise/index.js.gz +0 -0
- package/packages/icons/save/index.js.gz +0 -0
- package/packages/icons/screenshot/index.js +21 -21
- package/packages/icons/screenshot/index.js.gz +0 -0
- package/packages/icons/search/index.js.gz +0 -0
- package/packages/icons/select-confirm/index.js.gz +0 -0
- package/packages/icons/set-up/index.js.gz +0 -0
- package/packages/icons/setting/index.js.gz +0 -0
- package/packages/icons/shangchuan/index.js.gz +0 -0
- package/packages/icons/shebei/index.js.gz +0 -0
- package/packages/icons/shebeiqunzu/index.js.gz +0 -0
- package/packages/icons/sheweimoren/index.js.gz +0 -0
- package/packages/icons/shisuan/index.js.gz +0 -0
- package/packages/icons/shitu-kapian/index.js.gz +0 -0
- package/packages/icons/shitu-map/index.js +5 -5
- package/packages/icons/shitu-map/index.js.gz +0 -0
- package/packages/icons/shortcut-keys/index.js.gz +0 -0
- package/packages/icons/shoudongzhihang/index.js.gz +0 -0
- package/packages/icons/shouqiyoucemianban/index.js.gz +0 -0
- package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
- package/packages/icons/shouquan/index.js.gz +0 -0
- package/packages/icons/show/index.js +11 -11
- package/packages/icons/show/index.js.gz +0 -0
- package/packages/icons/shrink/index.js +21 -21
- package/packages/icons/shrink/index.js.gz +0 -0
- package/packages/icons/shuaxin/index.js.gz +0 -0
- package/packages/icons/shuipingduiqi/index.js.gz +0 -0
- package/packages/icons/shuipingjunfen/index.js.gz +0 -0
- package/packages/icons/shuyoufanye/index.js.gz +0 -0
- package/packages/icons/shuzuofanye/index.js.gz +0 -0
- package/packages/icons/solid-filter/index.js.gz +0 -0
- package/packages/icons/start/index.js.gz +0 -0
- package/packages/icons/stop/index.js.gz +0 -0
- package/packages/icons/structural-diagram/index.js.gz +0 -0
- package/packages/icons/table-header-search/index.js.gz +0 -0
- package/packages/icons/text/index.js.gz +0 -0
- package/packages/icons/tick/index.js +11 -11
- package/packages/icons/tick/index.js.gz +0 -0
- package/packages/icons/tishixinxi/index.js.gz +0 -0
- package/packages/icons/tongguo/index.js.gz +0 -0
- package/packages/icons/tongzhi/index.js.gz +0 -0
- package/packages/icons/tubiaoku/index.js.gz +0 -0
- package/packages/icons/tuichuquanping/index.js.gz +0 -0
- package/packages/icons/tuozhuai/index.js.gz +0 -0
- package/packages/icons/underline/index.js.gz +0 -0
- package/packages/icons/unflod/index.js.gz +0 -0
- package/packages/icons/unlock/index.js +21 -21
- package/packages/icons/unlock/index.js.gz +0 -0
- package/packages/icons/up/index.js +11 -11
- package/packages/icons/up/index.js.gz +0 -0
- package/packages/icons/up-2/index.js.gz +0 -0
- package/packages/icons/vauth/index.js.gz +0 -0
- package/packages/icons/view/index.js.gz +0 -0
- package/packages/icons/view-2/index.js.gz +0 -0
- package/packages/icons/volume/index.js +25 -25
- package/packages/icons/volume/index.js.gz +0 -0
- package/packages/icons/wangge/index.js.gz +0 -0
- package/packages/icons/wangge-1/index.js.gz +0 -0
- package/packages/icons/warning/index.js.gz +0 -0
- package/packages/icons/warning-face/index.js.gz +0 -0
- package/packages/icons/wendujiang/index.js +10 -10
- package/packages/icons/wendujiang/index.js.gz +0 -0
- package/packages/icons/wendusheng/index.js +13 -13
- package/packages/icons/wendusheng/index.js.gz +0 -0
- package/packages/icons/withdraw/index.js.gz +0 -0
- package/packages/icons/xiazai/index.js.gz +0 -0
- package/packages/icons/xinzengtongji/index.js.gz +0 -0
- package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
- package/packages/icons/yidongduan/index.js.gz +0 -0
- package/packages/icons/yincang/index.js.gz +0 -0
- package/packages/icons/yingpian/index.js.gz +0 -0
- package/packages/icons/yitushoutu/index.js.gz +0 -0
- package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
- package/packages/icons/yulan-2/index.js.gz +0 -0
- package/packages/icons/zhangaiwu/index.js.gz +0 -0
- package/packages/icons/zhizhen/index.js.gz +0 -0
- package/packages/icons/zhuomianduan/index.js.gz +0 -0
- package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
- package/packages/icons/zuobiao/index.js.gz +0 -0
|
@@ -1,101 +1,101 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-form/style.css';
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { ref as
|
|
4
|
-
import { DasFormRef as
|
|
5
|
-
import { DasButton as
|
|
6
|
-
import { vOverlay as
|
|
7
|
-
import { createService as
|
|
8
|
-
import { DasUpload as
|
|
9
|
-
import { DasFormItem as
|
|
10
|
-
import { DasAutocomplete as
|
|
11
|
-
import
|
|
12
|
-
import { DasImageViewer as
|
|
13
|
-
import { DasInput as
|
|
14
|
-
import { DasTooltip as
|
|
15
|
-
import {
|
|
2
|
+
import { withInstall as ut } from "@das-fed/utils/with-install/index";
|
|
3
|
+
import { ref as r, defineComponent as O, watch as k, openBlock as L, createBlock as j, unref as a, withCtx as R, createVNode as T, createCommentVNode as I, createElementVNode as Ke, createElementBlock as U, Fragment as X, createTextVNode as te, toDisplayString as ae, isRef as ve, createSlots as rt, h as ie, renderList as oe, resolveDynamicComponent as we, onMounted as pt, withDirectives as dt, normalizeStyle as gt } from "vue";
|
|
4
|
+
import { DasFormRef as ct, DasForm as qe } from "@das-fed/ui/packages/components/form/index";
|
|
5
|
+
import { DasButton as vt } from "@das-fed/ui/packages/components/button/index";
|
|
6
|
+
import { vOverlay as mt } from "@das-fed/ui/packages/components/overlay/index";
|
|
7
|
+
import { createService as Z } from "@das-fed/utils/create-api-service";
|
|
8
|
+
import { DasUpload as ft } from "@das-fed/ui/packages/components/upload/index";
|
|
9
|
+
import { DasFormItem as Q } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
|
+
import { DasAutocomplete as yt } from "@das-fed/ui/packages/components/autocomplete/index";
|
|
11
|
+
import de from "dayjs";
|
|
12
|
+
import { DasImageViewer as Ne } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
|
+
import { DasInput as bt } from "@das-fed/ui/packages/components/input/index";
|
|
14
|
+
import { DasTooltip as Pe } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
|
+
import { i18n as P, t as D } from "@das-fed/web/packages/i18n/index";
|
|
16
|
+
import { DasTableColumn as F } from "@das-fed/ui/packages/components/table/index";
|
|
16
17
|
import { DasSearchForm as ht } from "@das-fed/ui/packages/components/search-form/index";
|
|
17
|
-
import { DasModelTableDialog as
|
|
18
|
-
import { getProjectInfo as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { DasCollaspe as Ee } from "@das-fed/ui/packages/components/collaspe/index";
|
|
18
|
+
import { DasModelTableDialog as _t } from "@das-fed/ui/packages/business-components/model-table-dialog";
|
|
19
|
+
import { getProjectInfo as Ee } from "@das-fed/utils/common-info";
|
|
20
|
+
import { getConfig as wt } from "@das-fed/utils/config";
|
|
21
|
+
import { DasRichEditor as Oe } from "@das-fed/ui/packages/components/rich-editor/index";
|
|
22
|
+
import { DasCollaspe as Qe } from "@das-fed/ui/packages/components/collaspe/index";
|
|
23
23
|
import { DasCollaspePanel as Ae } from "@das-fed/ui/packages/components/collapse-panel/index";
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
const ze =
|
|
24
|
+
const ee = "v1", Vt = Z(`/workflow/form/form/${ee}`), Dt = Z(`/workflow/form/formDef/${ee}`);
|
|
25
|
+
Z(`/workflow/api/user/${ee}`);
|
|
26
|
+
const ze = Z(`/workflow/api/extend/${ee}`), St = Z(`/workflow/flow/def/${ee}`), Lt = Z(`/workflow/form/customQuery/${ee}`), se = Z(`/api/enterpriseright/permission/${ee}`), Ve = Z(`/api/space-manage/space-tree/${ee}`), De = Z(`/api/supply/supplier/${ee}`), Mt = Z(`/api/warehouse/vms/${ee}/asset-receive`), Tt = Vt.get("/formDesign"), kt = Dt.get("/get"), Rt = ze.get("/report-config");
|
|
27
27
|
ze.get("/application-report");
|
|
28
|
-
const
|
|
28
|
+
const $t = St.get("/getBindRelationByDefKey"), Ft = Lt.get("/getByAlias"), It = se.get("/organization/authTree"), qt = se.post("/user/list"), jt = se.post("/data/user-query"), Bt = se.get("/role/list"), Kt = se.post("/data/role-ids"), Nt = se.get("/organization/organizationpage"), Pt = se.get("/station/list"), Et = se.get("/position/list"), me = se.post("/organization/detailbyids"), Ot = Ve.get("/controller/area-children"), Qt = Ve.get("/controller/fuzzy-tree-all"), At = Ve.get("/controller/space"), zt = De.post("/supplier/list/page", (s) => {
|
|
29
29
|
var e, t;
|
|
30
|
-
return
|
|
31
|
-
page: ((e =
|
|
32
|
-
pageSize: ((t =
|
|
33
|
-
},
|
|
34
|
-
}), Ut =
|
|
35
|
-
const { setDetailData:
|
|
36
|
-
const [
|
|
37
|
-
if (
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
30
|
+
return s.data.pageBean = {
|
|
31
|
+
page: ((e = s == null ? void 0 : s.data) == null ? void 0 : e.pageIndex) || 1,
|
|
32
|
+
pageSize: ((t = s == null ? void 0 : s.data) == null ? void 0 : t.pageSize) || 20
|
|
33
|
+
}, s;
|
|
34
|
+
}), Ut = De.get("/supplier"), Ct = De.post("/classification/list/all"), xt = Mt.get("/receive-code"), fe = r(""), Yt = (s, e, t) => {
|
|
35
|
+
const { setDetailData: i, getFormData: l, setFormData: m, formRule: b, showData: V, disabledData: p } = t, c = r([]), g = r([]), y = r([]), d = r(!1), o = ct(), v = r([]), n = (h) => Object.keys(h).length === 0, u = async (h) => {
|
|
36
|
+
const [w, M] = await Tt({ formId: h }).run();
|
|
37
|
+
if (w) return;
|
|
38
|
+
const B = JSON.parse(M.bos);
|
|
39
|
+
fe.value = B[0].alias, g.value.length && g.value.forEach((J) => {
|
|
40
|
+
J.formKey === M.formKey && m(M.formKey, fe.value, J.id);
|
|
41
41
|
});
|
|
42
|
-
const [
|
|
43
|
-
y.value = JSON.parse(
|
|
44
|
-
|
|
45
|
-
}),
|
|
46
|
-
|
|
42
|
+
const [H, z] = await kt({ formDefId: M.defId }).run();
|
|
43
|
+
y.value = JSON.parse(z.value.expand).list, y.value.forEach((J) => {
|
|
44
|
+
J.columns[0].isOpen && v.value.push(J.columns[0].idKey);
|
|
45
|
+
}), p.value = { ...p.value, ...s.disabledData }, g.value.length || m(M.formKey, fe.value), n(s.data) && (d.value = !0), n(s.data) || (i(s.data), s.flowKey && (c.value = s.data.button_list ? JSON.parse(s.data.button_list) : []), d.value = !0), setTimeout(() => {
|
|
46
|
+
V.value = { ...V.value, ...s.showData };
|
|
47
47
|
}, 50);
|
|
48
48
|
};
|
|
49
49
|
return {
|
|
50
|
-
isShowPage:
|
|
50
|
+
isShowPage: d,
|
|
51
51
|
formJsonList: y,
|
|
52
|
-
btnList:
|
|
53
|
-
formRef:
|
|
54
|
-
activityKeys:
|
|
55
|
-
getForm:
|
|
52
|
+
btnList: c,
|
|
53
|
+
formRef: o,
|
|
54
|
+
activityKeys: v,
|
|
55
|
+
getForm: u,
|
|
56
56
|
getBtnSet: async () => {
|
|
57
|
-
if (
|
|
58
|
-
const [
|
|
59
|
-
if (
|
|
60
|
-
|
|
57
|
+
if (s.formConfigurationId) {
|
|
58
|
+
const [h, w] = await Rt({ id: s.formConfigurationId }).run();
|
|
59
|
+
if (h) return;
|
|
60
|
+
g.value = w.reports, c.value = w.reports[0].buttons.filter((M) => !(s.isView && M.event !== "LINK")), u(w.reports[0].formId);
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
63
|
-
const [
|
|
64
|
-
if (
|
|
65
|
-
|
|
62
|
+
if (s.flowKey) {
|
|
63
|
+
const [h, w] = await $t({ flowKey: s.flowKey }).run();
|
|
64
|
+
if (h) return;
|
|
65
|
+
u(w.pcForm.pcFormId);
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
-
handleClick: (
|
|
69
|
-
var
|
|
70
|
-
(
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
handleClick: (h) => {
|
|
69
|
+
var w;
|
|
70
|
+
(w = o.value) == null || w.validate(async (M) => {
|
|
71
|
+
M && (e("handleClick", h, l()), h.event === "LINK" && g.value.forEach((B) => {
|
|
72
|
+
h.eventTarget === B.formKey && (c.value = B.buttons.filter((H) => !(s.isView && H.event !== "LINK")), d.value = !1, b.value = {}, u(B.formId));
|
|
73
73
|
}));
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
},
|
|
78
|
-
var e = new RegExp("<.+?>", "g"), t =
|
|
77
|
+
}, C = (s) => {
|
|
78
|
+
var e = new RegExp("<.+?>", "g"), t = s.replace(e, "").replace(/ /g, "");
|
|
79
79
|
return t;
|
|
80
|
-
},
|
|
81
|
-
const [
|
|
82
|
-
if (!
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
});
|
|
87
|
-
const
|
|
88
|
-
return
|
|
80
|
+
}, le = async (s, e, t = {}) => {
|
|
81
|
+
const [i, l] = await Ft({ alias: s }).run();
|
|
82
|
+
if (!i && l.url) {
|
|
83
|
+
const m = r({});
|
|
84
|
+
e.forEach((c) => {
|
|
85
|
+
c.defaultType == 2 && (m.value[c.field] = c.defaultValue);
|
|
86
|
+
}), m.value = { ...m.value, ...t };
|
|
87
|
+
const b = l.requestType === "POST" ? Z(l.url).post("") : Z(l.url).get(""), [V, p] = await b({}, { params: m.value }).run();
|
|
88
|
+
return V ? void 0 : p;
|
|
89
89
|
}
|
|
90
|
-
},
|
|
91
|
-
const e =
|
|
92
|
-
return
|
|
90
|
+
}, W = async (s) => {
|
|
91
|
+
const e = r(!1);
|
|
92
|
+
return s.forEach((t) => {
|
|
93
93
|
t.key === "required" && (e.value = !0);
|
|
94
94
|
}), e.value;
|
|
95
|
-
},
|
|
95
|
+
}, Jt = {
|
|
96
96
|
name: "attachment"
|
|
97
|
-
},
|
|
98
|
-
...
|
|
97
|
+
}, Wt = /* @__PURE__ */ O({
|
|
98
|
+
...Jt,
|
|
99
99
|
props: {
|
|
100
100
|
setting: { default: () => ({
|
|
101
101
|
icon: "",
|
|
@@ -109,45 +109,45 @@ const kt = Dt.get("/getBindRelationByDefKey"), $t = St.get("/getByAlias"), Ft =
|
|
|
109
109
|
marginRight: {},
|
|
110
110
|
store: {}
|
|
111
111
|
},
|
|
112
|
-
setup(
|
|
113
|
-
const e =
|
|
114
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
112
|
+
setup(s) {
|
|
113
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
114
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
115
115
|
() => t.value,
|
|
116
116
|
() => {
|
|
117
|
-
|
|
117
|
+
p.value = t.value[e.setting.name], p.value || (g.value = [], V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
118
118
|
},
|
|
119
119
|
{ deep: !0 }
|
|
120
120
|
);
|
|
121
|
-
const
|
|
122
|
-
e.setting.options.tip && (
|
|
123
|
-
const
|
|
124
|
-
return
|
|
125
|
-
|
|
126
|
-
}), (y,
|
|
121
|
+
const c = r();
|
|
122
|
+
e.setting.options.tip && (c.value = C(e.setting.options.tip));
|
|
123
|
+
const g = r([{ name: "111", sizeText: "9.4KB" }]);
|
|
124
|
+
return g.value || l(e.setting.name, null), k(g, (y) => {
|
|
125
|
+
l(e.setting.name, JSON.stringify(y));
|
|
126
|
+
}), (y, d) => p.value ? (L(), j(a(Q), {
|
|
127
127
|
key: 0,
|
|
128
128
|
col: e.span,
|
|
129
129
|
label: y.setting.desc,
|
|
130
130
|
type: "custom",
|
|
131
|
-
helpMessage:
|
|
131
|
+
helpMessage: c.value
|
|
132
132
|
}, {
|
|
133
|
-
default:
|
|
134
|
-
|
|
133
|
+
default: R(() => [
|
|
134
|
+
T(a(ft), {
|
|
135
135
|
style: { width: "100%" },
|
|
136
|
-
modelValue:
|
|
137
|
-
"onUpdate:modelValue":
|
|
136
|
+
modelValue: g.value,
|
|
137
|
+
"onUpdate:modelValue": d[0] || (d[0] = (o) => g.value = o)
|
|
138
138
|
}, null, 8, ["modelValue"])
|
|
139
139
|
]),
|
|
140
140
|
_: 1
|
|
141
141
|
/* STABLE */
|
|
142
|
-
}, 8, ["col", "label", "helpMessage"])) :
|
|
142
|
+
}, 8, ["col", "label", "helpMessage"])) : I("v-if", !0);
|
|
143
143
|
}
|
|
144
144
|
}), Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
145
145
|
__proto__: null,
|
|
146
|
-
default:
|
|
147
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
146
|
+
default: Wt
|
|
147
|
+
}, Symbol.toStringTag, { value: "Module" })), Ht = {
|
|
148
148
|
name: "autocomplete"
|
|
149
|
-
},
|
|
150
|
-
...
|
|
149
|
+
}, Zt = /* @__PURE__ */ O({
|
|
150
|
+
...Ht,
|
|
151
151
|
props: {
|
|
152
152
|
setting: { default: () => ({
|
|
153
153
|
icon: "",
|
|
@@ -161,64 +161,64 @@ const kt = Dt.get("/getBindRelationByDefKey"), $t = St.get("/getByAlias"), Ft =
|
|
|
161
161
|
marginRight: {},
|
|
162
162
|
store: {}
|
|
163
163
|
},
|
|
164
|
-
setup(
|
|
165
|
-
const e =
|
|
166
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
164
|
+
setup(s) {
|
|
165
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
166
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
167
167
|
() => t.value,
|
|
168
168
|
() => {
|
|
169
|
-
|
|
169
|
+
p.value = t.value[e.setting.name], p.value || (u.value = "", V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
170
170
|
},
|
|
171
171
|
{ deep: !0 }
|
|
172
172
|
);
|
|
173
|
-
const
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
174
|
+
W(e.setting.options.validateList).then((_) => {
|
|
175
|
+
g.value = _;
|
|
176
176
|
});
|
|
177
|
-
const y = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value",
|
|
178
|
-
e.setting.options.customQuery.alias ?
|
|
179
|
-
|
|
180
|
-
}) :
|
|
181
|
-
const
|
|
182
|
-
e.setting.options.tip && (
|
|
183
|
-
const
|
|
184
|
-
return
|
|
185
|
-
|
|
186
|
-
}), (
|
|
177
|
+
const y = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", o = !!e.setting.options.fillInFullPath, v = r([]);
|
|
178
|
+
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((_) => {
|
|
179
|
+
v.value = _;
|
|
180
|
+
}) : v.value = e.setting.options.options;
|
|
181
|
+
const n = r();
|
|
182
|
+
e.setting.options.tip && (n.value = C(e.setting.options.tip));
|
|
183
|
+
const u = r("");
|
|
184
|
+
return u.value = m(e.setting.name) || u.value, u.value || l(e.setting.name, null), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(u, (_) => {
|
|
185
|
+
l(e.setting.name, _.toString());
|
|
186
|
+
}), (_, f) => p.value ? (L(), j(a(Q), {
|
|
187
187
|
key: 0,
|
|
188
188
|
col: e.span,
|
|
189
189
|
prop: e.setting.name,
|
|
190
|
-
modelValue:
|
|
191
|
-
"onUpdate:modelValue":
|
|
192
|
-
label:
|
|
190
|
+
modelValue: u.value,
|
|
191
|
+
"onUpdate:modelValue": f[1] || (f[1] = (h) => u.value = h),
|
|
192
|
+
label: _.setting.desc,
|
|
193
193
|
type: "custom",
|
|
194
|
-
helpMessage:
|
|
195
|
-
required:
|
|
196
|
-
disabled: a(
|
|
194
|
+
helpMessage: n.value,
|
|
195
|
+
required: g.value,
|
|
196
|
+
disabled: a(c)
|
|
197
197
|
}, {
|
|
198
|
-
default:
|
|
199
|
-
|
|
200
|
-
modelValue:
|
|
201
|
-
"onUpdate:modelValue":
|
|
202
|
-
options:
|
|
198
|
+
default: R(() => [
|
|
199
|
+
T(a(yt), {
|
|
200
|
+
modelValue: u.value,
|
|
201
|
+
"onUpdate:modelValue": f[0] || (f[0] = (h) => u.value = h),
|
|
202
|
+
options: v.value,
|
|
203
203
|
isView: e.isView,
|
|
204
204
|
width: "100%",
|
|
205
|
-
fieldNames: { label: a(y), children: a(
|
|
206
|
-
showFullPath: a(
|
|
207
|
-
placeholder:
|
|
205
|
+
fieldNames: { label: a(y), children: a(d) },
|
|
206
|
+
showFullPath: a(o),
|
|
207
|
+
placeholder: _.setting.options.placeholder,
|
|
208
208
|
clearable: ""
|
|
209
209
|
}, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
212
|
/* STABLE */
|
|
213
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) :
|
|
213
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : I("v-if", !0);
|
|
214
214
|
}
|
|
215
|
-
}),
|
|
215
|
+
}), Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
216
216
|
__proto__: null,
|
|
217
|
-
default:
|
|
218
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
217
|
+
default: Zt
|
|
218
|
+
}, Symbol.toStringTag, { value: "Module" })), Gt = {
|
|
219
219
|
name: "checkbox"
|
|
220
|
-
},
|
|
221
|
-
...
|
|
220
|
+
}, Xt = /* @__PURE__ */ O({
|
|
221
|
+
...Gt,
|
|
222
222
|
props: {
|
|
223
223
|
setting: { default: () => ({
|
|
224
224
|
icon: "",
|
|
@@ -232,55 +232,55 @@ const kt = Dt.get("/getBindRelationByDefKey"), $t = St.get("/getByAlias"), Ft =
|
|
|
232
232
|
marginRight: {},
|
|
233
233
|
store: {}
|
|
234
234
|
},
|
|
235
|
-
setup(
|
|
236
|
-
const e =
|
|
237
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
235
|
+
setup(s) {
|
|
236
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
237
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
238
238
|
() => t.value,
|
|
239
239
|
() => {
|
|
240
|
-
|
|
240
|
+
p.value = t.value[e.setting.name], p.value || (n.value = [], V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
241
241
|
},
|
|
242
242
|
{ deep: !0 }
|
|
243
243
|
);
|
|
244
|
-
const
|
|
245
|
-
|
|
246
|
-
|
|
244
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
245
|
+
W(e.setting.options.validateList).then((u) => {
|
|
246
|
+
g.value = u;
|
|
247
247
|
});
|
|
248
|
-
const y = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key",
|
|
249
|
-
e.setting.options.customQuery.alias ?
|
|
250
|
-
|
|
251
|
-
}) :
|
|
252
|
-
const
|
|
253
|
-
e.setting.options.tip && (
|
|
254
|
-
const
|
|
248
|
+
const y = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = r([]);
|
|
249
|
+
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((u) => {
|
|
250
|
+
o.value = u;
|
|
251
|
+
}) : o.value = e.setting.options.options;
|
|
252
|
+
const v = r();
|
|
253
|
+
e.setting.options.tip && (v.value = C(e.setting.options.tip)());
|
|
254
|
+
const n = r([]);
|
|
255
255
|
return setTimeout(() => {
|
|
256
|
-
|
|
257
|
-
}, 50), e.setting.options.validateList.length &&
|
|
258
|
-
|
|
259
|
-
}), (
|
|
256
|
+
m(e.setting.name) && (n.value = m(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (n.value = e.setting.options.formulasDiyJs.split(",")), n.value.length || n.value || l(e.setting.name, null);
|
|
257
|
+
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(n, (u) => {
|
|
258
|
+
l(e.setting.name, u.toString());
|
|
259
|
+
}), (u, _) => p.value ? (L(), j(a(Q), {
|
|
260
260
|
key: 0,
|
|
261
261
|
col: e.span,
|
|
262
|
-
modelValue:
|
|
263
|
-
"onUpdate:modelValue":
|
|
264
|
-
layout:
|
|
265
|
-
label:
|
|
262
|
+
modelValue: n.value,
|
|
263
|
+
"onUpdate:modelValue": _[0] || (_[0] = (f) => n.value = f),
|
|
264
|
+
layout: u.setting.options.inline ? "vertical" : "default",
|
|
265
|
+
label: u.setting.desc,
|
|
266
266
|
prop: e.setting.name,
|
|
267
267
|
type: "checkbox",
|
|
268
|
-
options:
|
|
268
|
+
options: o.value,
|
|
269
269
|
isView: e.isView,
|
|
270
|
-
disabled: a(
|
|
270
|
+
disabled: a(c),
|
|
271
271
|
optionsValueKey: a(y),
|
|
272
|
-
optionsLabelKey: a(
|
|
273
|
-
helpMessage:
|
|
274
|
-
required:
|
|
275
|
-
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) :
|
|
272
|
+
optionsLabelKey: a(d),
|
|
273
|
+
helpMessage: v.value,
|
|
274
|
+
required: g.value
|
|
275
|
+
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : I("v-if", !0);
|
|
276
276
|
}
|
|
277
|
-
}),
|
|
277
|
+
}), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
278
278
|
__proto__: null,
|
|
279
|
-
default:
|
|
280
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
279
|
+
default: Xt
|
|
280
|
+
}, Symbol.toStringTag, { value: "Module" })), ea = {
|
|
281
281
|
name: "date"
|
|
282
|
-
},
|
|
283
|
-
...
|
|
282
|
+
}, ta = /* @__PURE__ */ O({
|
|
283
|
+
...ea,
|
|
284
284
|
props: {
|
|
285
285
|
setting: { default: () => ({
|
|
286
286
|
icon: "",
|
|
@@ -294,57 +294,57 @@ const kt = Dt.get("/getBindRelationByDefKey"), $t = St.get("/getByAlias"), Ft =
|
|
|
294
294
|
marginRight: {},
|
|
295
295
|
store: {}
|
|
296
296
|
},
|
|
297
|
-
setup(
|
|
298
|
-
const e =
|
|
299
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
297
|
+
setup(s) {
|
|
298
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
299
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
300
300
|
() => t.value,
|
|
301
301
|
() => {
|
|
302
|
-
|
|
302
|
+
p.value = t.value[e.setting.name], p.value || (v.value = null, V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
303
303
|
},
|
|
304
304
|
{ deep: !0 }
|
|
305
305
|
);
|
|
306
|
-
const
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
307
|
+
W(e.setting.options.validateList).then((n) => {
|
|
308
|
+
g.value = n;
|
|
309
309
|
});
|
|
310
|
-
const y = e.setting.options.inputFormat,
|
|
311
|
-
e.setting.options.inputFormat === "YYYY/MM/DD" && (
|
|
312
|
-
const
|
|
313
|
-
e.setting.options.tip && (
|
|
314
|
-
const
|
|
310
|
+
const y = e.setting.options.inputFormat, d = r("");
|
|
311
|
+
e.setting.options.inputFormat === "YYYY/MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "YYYY/MM" && (d.value = "month"), e.setting.options.inputFormat === "YYYY" && (d.value = "year");
|
|
312
|
+
const o = r();
|
|
313
|
+
e.setting.options.tip && (o.value = C(e.setting.options.tip));
|
|
314
|
+
const v = r();
|
|
315
315
|
if (setTimeout(() => {
|
|
316
|
-
|
|
316
|
+
v.value = m(e.setting.name) || e.setting.options.formulasDiyJs || v.value, v.value || l(e.setting.name, null);
|
|
317
317
|
}, 50), e.setting.options.showCurrentDate) {
|
|
318
|
-
let
|
|
319
|
-
|
|
318
|
+
let n = /* @__PURE__ */ new Date();
|
|
319
|
+
n.setDate(n.getDate() + e.setting.options.day), v.value = de(n.getTime()).format(y), l(e.setting.name, v.value);
|
|
320
320
|
}
|
|
321
|
-
return e.setting.options.validateList.length &&
|
|
322
|
-
|
|
323
|
-
}), (
|
|
321
|
+
return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(v, (n) => {
|
|
322
|
+
l(e.setting.name, n);
|
|
323
|
+
}), (n, u) => p.value ? (L(), j(a(Q), {
|
|
324
324
|
key: 0,
|
|
325
325
|
col: e.span,
|
|
326
|
-
modelValue:
|
|
327
|
-
"onUpdate:modelValue":
|
|
328
|
-
label:
|
|
326
|
+
modelValue: v.value,
|
|
327
|
+
"onUpdate:modelValue": u[0] || (u[0] = (_) => v.value = _),
|
|
328
|
+
label: n.setting.desc,
|
|
329
329
|
prop: e.setting.name,
|
|
330
330
|
type: a(y).indexOf("HH") != -1 ? "dateTime" : "date",
|
|
331
331
|
format: a(y),
|
|
332
332
|
valueFormat: "YYYY-MM-DD HH:mm:ss",
|
|
333
|
-
picker:
|
|
333
|
+
picker: d.value,
|
|
334
334
|
isView: e.isView,
|
|
335
|
-
disabled: a(
|
|
336
|
-
placeholder:
|
|
337
|
-
helpMessage:
|
|
338
|
-
required:
|
|
339
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) :
|
|
335
|
+
disabled: a(c),
|
|
336
|
+
placeholder: n.setting.options.placeholder,
|
|
337
|
+
helpMessage: o.value,
|
|
338
|
+
required: g.value
|
|
339
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : I("v-if", !0);
|
|
340
340
|
}
|
|
341
|
-
}),
|
|
341
|
+
}), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
342
342
|
__proto__: null,
|
|
343
|
-
default:
|
|
344
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
343
|
+
default: ta
|
|
344
|
+
}, Symbol.toStringTag, { value: "Module" })), aa = {
|
|
345
345
|
name: "dropdown"
|
|
346
|
-
},
|
|
347
|
-
...
|
|
346
|
+
}, sa = /* @__PURE__ */ O({
|
|
347
|
+
...aa,
|
|
348
348
|
props: {
|
|
349
349
|
setting: { default: () => ({
|
|
350
350
|
icon: "",
|
|
@@ -358,59 +358,62 @@ const kt = Dt.get("/getBindRelationByDefKey"), $t = St.get("/getByAlias"), Ft =
|
|
|
358
358
|
marginRight: {},
|
|
359
359
|
store: {}
|
|
360
360
|
},
|
|
361
|
-
setup(
|
|
362
|
-
const e =
|
|
363
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
361
|
+
setup(s) {
|
|
362
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V, setLinkData: p } = e.store || {}, c = r(!0);
|
|
363
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
364
364
|
() => t.value,
|
|
365
365
|
() => {
|
|
366
|
-
|
|
366
|
+
c.value = t.value[e.setting.name], c.value || (h.value = e.setting.options.multiple ? [] : "", V(e.setting.name)), c.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
367
367
|
},
|
|
368
368
|
{ deep: !0 }
|
|
369
369
|
);
|
|
370
|
-
const
|
|
371
|
-
|
|
372
|
-
|
|
370
|
+
const g = () => {
|
|
371
|
+
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && p(e.setting.options.customQuery.custQueryJson, h.value);
|
|
372
|
+
}, y = i.value[e.setting.name] || !1, d = r(!1);
|
|
373
|
+
W(e.setting.options.validateList).then((w) => {
|
|
374
|
+
d.value = w;
|
|
373
375
|
});
|
|
374
|
-
const
|
|
375
|
-
e.setting.options.customQuery.alias &&
|
|
376
|
-
|
|
376
|
+
const o = r(""), v = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", n = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", u = e.setting.options.customQuery.PId || "children", _ = r([]);
|
|
377
|
+
e.setting.options.customQuery.alias && le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((w) => {
|
|
378
|
+
_.value = w;
|
|
377
379
|
});
|
|
378
|
-
const
|
|
379
|
-
e.setting.options.tip && (
|
|
380
|
-
const
|
|
381
|
-
return
|
|
382
|
-
|
|
383
|
-
}), (
|
|
380
|
+
const f = r();
|
|
381
|
+
e.setting.options.tip && (f.value = C(e.setting.options.tip));
|
|
382
|
+
const h = r();
|
|
383
|
+
return h.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && m(e.setting.name) ? h.value = m(e.setting.name).split(",") : h.value = m(e.setting.name) || h.value, h.value || l(e.setting.name, null), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(h, (w) => {
|
|
384
|
+
l(e.setting.name, w.toString());
|
|
385
|
+
}), (w, M) => c.value ? (L(), j(a(Q), {
|
|
384
386
|
key: 0,
|
|
385
387
|
col: e.span,
|
|
386
|
-
modelValue:
|
|
387
|
-
"onUpdate:modelValue":
|
|
388
|
-
keyword:
|
|
389
|
-
"onUpdate:keyword":
|
|
390
|
-
label:
|
|
388
|
+
modelValue: h.value,
|
|
389
|
+
"onUpdate:modelValue": M[0] || (M[0] = (B) => h.value = B),
|
|
390
|
+
keyword: o.value,
|
|
391
|
+
"onUpdate:keyword": M[1] || (M[1] = (B) => o.value = B),
|
|
392
|
+
label: w.setting.desc,
|
|
391
393
|
type: "treeSelect",
|
|
392
|
-
"node-key":
|
|
393
|
-
placeholder:
|
|
394
|
-
mode:
|
|
394
|
+
"node-key": w.setting.options.customQuery.valueBind,
|
|
395
|
+
placeholder: w.setting.options.placeholder,
|
|
396
|
+
mode: w.setting.options.multiple ? "multiple" : "",
|
|
395
397
|
prop: e.setting.name,
|
|
396
|
-
filter:
|
|
398
|
+
filter: w.setting.options.filterable,
|
|
397
399
|
selectAttrs: { allowClear: !0 },
|
|
398
|
-
options:
|
|
400
|
+
options: _.value,
|
|
399
401
|
isView: e.isView,
|
|
400
|
-
helpMessage:
|
|
401
|
-
disabled: a(
|
|
402
|
-
props: { label: a(
|
|
403
|
-
"check-strictly": !
|
|
404
|
-
required: d.value
|
|
405
|
-
|
|
402
|
+
helpMessage: f.value,
|
|
403
|
+
disabled: a(y),
|
|
404
|
+
props: { label: a(n), value: a(v), children: a(u) },
|
|
405
|
+
"check-strictly": !w.setting.options.cascade,
|
|
406
|
+
required: d.value,
|
|
407
|
+
onChange: g
|
|
408
|
+
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : I("v-if", !0);
|
|
406
409
|
}
|
|
407
|
-
}),
|
|
410
|
+
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
408
411
|
__proto__: null,
|
|
409
|
-
default:
|
|
410
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
412
|
+
default: sa
|
|
413
|
+
}, Symbol.toStringTag, { value: "Module" })), na = { class: "form-image" }, la = {
|
|
411
414
|
name: "imageViewer"
|
|
412
415
|
}, ia = /* @__PURE__ */ O({
|
|
413
|
-
...
|
|
416
|
+
...la,
|
|
414
417
|
props: {
|
|
415
418
|
setting: { default: () => ({
|
|
416
419
|
icon: "",
|
|
@@ -424,136 +427,136 @@ const kt = Dt.get("/getBindRelationByDefKey"), $t = St.get("/getByAlias"), Ft =
|
|
|
424
427
|
marginRight: {},
|
|
425
428
|
store: {}
|
|
426
429
|
},
|
|
427
|
-
setup(
|
|
428
|
-
const e =
|
|
429
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
430
|
+
setup(s) {
|
|
431
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
432
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
430
433
|
() => t.value,
|
|
431
434
|
() => {
|
|
432
|
-
|
|
435
|
+
p.value = t.value[e.setting.name], p.value || (o.value = e.setting.options.file.limit > 1 ? [] : "", V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
433
436
|
},
|
|
434
437
|
{ deep: !0 }
|
|
435
438
|
);
|
|
436
|
-
const
|
|
437
|
-
|
|
438
|
-
|
|
439
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
440
|
+
W(e.setting.options.validateList).then((n) => {
|
|
441
|
+
g.value = n;
|
|
439
442
|
});
|
|
440
|
-
const y =
|
|
443
|
+
const y = r("normal");
|
|
441
444
|
e.isView && (y.value = "info");
|
|
442
|
-
const
|
|
443
|
-
e.setting.options.tip && (
|
|
444
|
-
const
|
|
445
|
-
|
|
446
|
-
const
|
|
445
|
+
const d = r();
|
|
446
|
+
e.setting.options.tip && (d.value = C(e.setting.options.tip));
|
|
447
|
+
const o = r();
|
|
448
|
+
o.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && m(e.setting.name) ? o.value = m(e.setting.name).split(",") : o.value = m(e.setting.name) || o.value, o.value || l(e.setting.name, null);
|
|
449
|
+
const v = (n) => {
|
|
447
450
|
setTimeout(() => {
|
|
448
|
-
|
|
451
|
+
l(e.setting.name, o.value.toString());
|
|
449
452
|
}, 100);
|
|
450
453
|
};
|
|
451
|
-
return e.setting.options.validateList.length &&
|
|
452
|
-
const
|
|
453
|
-
let
|
|
454
|
-
return
|
|
454
|
+
return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(o.value, (n) => {
|
|
455
|
+
const u = n.map((_) => {
|
|
456
|
+
let f = "";
|
|
457
|
+
return _.indexOf("/oss/") != -1 ? f = _ : f = `/oss/${_}`, f;
|
|
455
458
|
});
|
|
456
459
|
setTimeout(() => {
|
|
457
|
-
|
|
460
|
+
l(e.setting.name, u.join(","));
|
|
458
461
|
}, 100);
|
|
459
|
-
}), (
|
|
462
|
+
}), (n, u) => p.value ? (L(), j(a(Q), {
|
|
460
463
|
key: 0,
|
|
461
|
-
modelValue:
|
|
462
|
-
"onUpdate:modelValue":
|
|
464
|
+
modelValue: o.value,
|
|
465
|
+
"onUpdate:modelValue": u[2] || (u[2] = (_) => o.value = _),
|
|
463
466
|
"margin-bottom": "0",
|
|
464
467
|
prop: e.setting.name,
|
|
465
|
-
label:
|
|
468
|
+
label: n.setting.desc,
|
|
466
469
|
type: "custom",
|
|
467
|
-
helpMessage:
|
|
468
|
-
required:
|
|
470
|
+
helpMessage: d.value,
|
|
471
|
+
required: g.value
|
|
469
472
|
}, {
|
|
470
|
-
default:
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
modelValue:
|
|
474
|
-
"onUpdate:modelValue":
|
|
473
|
+
default: R(() => [
|
|
474
|
+
Ke("div", na, [
|
|
475
|
+
T(a(Ne), {
|
|
476
|
+
modelValue: o.value,
|
|
477
|
+
"onUpdate:modelValue": u[0] || (u[0] = (_) => o.value = _),
|
|
475
478
|
status: y.value,
|
|
476
|
-
"onUpdate:status":
|
|
479
|
+
"onUpdate:status": u[1] || (u[1] = (_) => y.value = _),
|
|
477
480
|
maxSize: "6",
|
|
478
|
-
"limit-num":
|
|
481
|
+
"limit-num": n.setting.options.file.limit,
|
|
479
482
|
prop: e.setting.name,
|
|
480
483
|
"service-name": "hotent",
|
|
481
484
|
"accept-video": "",
|
|
482
485
|
"accept-audio": "",
|
|
483
486
|
videoWidth: 420,
|
|
484
487
|
videoHeight: 680,
|
|
485
|
-
disabled: a(
|
|
488
|
+
disabled: a(c),
|
|
486
489
|
"show-image-name": "",
|
|
487
|
-
needDownloadBtn:
|
|
488
|
-
needPreview:
|
|
489
|
-
onImageUpload:
|
|
490
|
-
required:
|
|
490
|
+
needDownloadBtn: n.setting.options.file.allowDownload == !0,
|
|
491
|
+
needPreview: n.setting.options.file.allowPreview == !0,
|
|
492
|
+
onImageUpload: v,
|
|
493
|
+
required: g.value
|
|
491
494
|
}, null, 8, ["modelValue", "status", "limit-num", "prop", "disabled", "needDownloadBtn", "needPreview", "required"])
|
|
492
495
|
])
|
|
493
496
|
]),
|
|
494
497
|
_: 1
|
|
495
498
|
/* STABLE */
|
|
496
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
499
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : I("v-if", !0);
|
|
497
500
|
}
|
|
498
|
-
}),
|
|
499
|
-
const t =
|
|
500
|
-
for (const [
|
|
501
|
-
t[
|
|
501
|
+
}), ce = (s, e) => {
|
|
502
|
+
const t = s.__vccOpts || s;
|
|
503
|
+
for (const [i, l] of e)
|
|
504
|
+
t[i] = l;
|
|
502
505
|
return t;
|
|
503
|
-
}, oa = /* @__PURE__ */
|
|
506
|
+
}, oa = /* @__PURE__ */ ce(ia, [["__scopeId", "data-v-cb9d709e"]]), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
504
507
|
__proto__: null,
|
|
505
508
|
default: oa
|
|
506
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
507
|
-
const t = "****",
|
|
508
|
-
return ((
|
|
509
|
-
const
|
|
510
|
-
if (
|
|
511
|
-
let
|
|
512
|
-
switch (
|
|
509
|
+
}, Symbol.toStringTag, { value: "Module" })), ua = (s) => {
|
|
510
|
+
const t = "****", i = String(s), l = i.slice(0, 15), m = i.slice(15);
|
|
511
|
+
return ((p) => {
|
|
512
|
+
const c = p.length;
|
|
513
|
+
if (c < 6) return p;
|
|
514
|
+
let g = 0;
|
|
515
|
+
switch (c) {
|
|
513
516
|
case 6:
|
|
514
517
|
case 7:
|
|
515
|
-
|
|
518
|
+
g = 1;
|
|
516
519
|
break;
|
|
517
520
|
case 8:
|
|
518
521
|
case 9:
|
|
519
|
-
|
|
522
|
+
g = 2;
|
|
520
523
|
break;
|
|
521
524
|
case 10:
|
|
522
525
|
case 11:
|
|
523
|
-
|
|
526
|
+
g = 3;
|
|
524
527
|
break;
|
|
525
528
|
case 12:
|
|
526
|
-
|
|
529
|
+
g = 4;
|
|
527
530
|
break;
|
|
528
531
|
case 13:
|
|
529
|
-
|
|
532
|
+
g = 5;
|
|
530
533
|
break;
|
|
531
534
|
case 14:
|
|
532
|
-
|
|
535
|
+
g = 6;
|
|
533
536
|
break;
|
|
534
537
|
case 15:
|
|
535
|
-
|
|
538
|
+
g = 7;
|
|
536
539
|
break;
|
|
537
540
|
}
|
|
538
|
-
const y =
|
|
539
|
-
return
|
|
540
|
-
})(
|
|
541
|
-
},
|
|
541
|
+
const y = g + t.length;
|
|
542
|
+
return p.slice(0, g) + t + p.slice(y);
|
|
543
|
+
})(l) + m;
|
|
544
|
+
}, ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
542
545
|
__proto__: null,
|
|
543
|
-
default:
|
|
544
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
545
|
-
var
|
|
546
|
-
for (const
|
|
547
|
-
const e =
|
|
548
|
-
|
|
546
|
+
default: ua
|
|
547
|
+
}, Symbol.toStringTag, { value: "Module" })), pe = {}, pa = /^\.\/(.+)\/index\.ts$/, je = /* @__PURE__ */ Object.assign({ "./phone/index.ts": ra });
|
|
548
|
+
var Be;
|
|
549
|
+
for (const s in je) {
|
|
550
|
+
const e = je[s], t = (Be = s.match(pa)) == null ? void 0 : Be[1];
|
|
551
|
+
pe[t] = e.default;
|
|
549
552
|
}
|
|
550
|
-
const
|
|
551
|
-
var
|
|
552
|
-
return e ? ((
|
|
553
|
-
},
|
|
553
|
+
const da = (s, e) => {
|
|
554
|
+
var i;
|
|
555
|
+
return e ? ((i = pe[s]) == null ? void 0 : i.call(pe, e)) ?? e : "-";
|
|
556
|
+
}, ga = {
|
|
554
557
|
name: "input"
|
|
555
|
-
},
|
|
556
|
-
...
|
|
558
|
+
}, ca = /* @__PURE__ */ O({
|
|
559
|
+
...ga,
|
|
557
560
|
props: {
|
|
558
561
|
setting: { default: () => ({
|
|
559
562
|
icon: "",
|
|
@@ -567,66 +570,66 @@ const pa = (n, e) => {
|
|
|
567
570
|
marginRight: {},
|
|
568
571
|
store: {}
|
|
569
572
|
},
|
|
570
|
-
setup(
|
|
571
|
-
const e =
|
|
572
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
573
|
+
setup(s) {
|
|
574
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(""), c = r(!0);
|
|
575
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
573
576
|
() => t.value,
|
|
574
577
|
() => {
|
|
575
|
-
|
|
578
|
+
c.value = t.value[e.setting.name], c.value || (o.value = "", V(e.setting.name)), c.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
576
579
|
},
|
|
577
580
|
{ deep: !0 }
|
|
578
581
|
);
|
|
579
|
-
const
|
|
580
|
-
|
|
581
|
-
y.value =
|
|
582
|
+
const g = i.value[e.setting.name] || !1, y = r(!1);
|
|
583
|
+
W(e.setting.options.validateList).then((v) => {
|
|
584
|
+
y.value = v;
|
|
582
585
|
});
|
|
583
|
-
const
|
|
584
|
-
e.setting.options.tip && (
|
|
585
|
-
const
|
|
586
|
+
const d = r();
|
|
587
|
+
e.setting.options.tip && (d.value = C(e.setting.options.tip));
|
|
588
|
+
const o = r("");
|
|
586
589
|
return setTimeout(() => {
|
|
587
|
-
|
|
588
|
-
}, 50), e.setting.options.validateList.length &&
|
|
589
|
-
e.setting.options.dataType === "number" && !isNaN(
|
|
590
|
-
}), (
|
|
591
|
-
|
|
590
|
+
o.value = m(e.setting.name) || e.setting.options.formulasDiyJs || o.value, e.setting.options.encryption && e.isView && (p.value = da("phone", o.value)), o.value || l(e.setting.name, null);
|
|
591
|
+
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(o, (v) => {
|
|
592
|
+
e.setting.options.dataType === "number" && !isNaN(v) ? l(e.setting.name, Number(v)) : l(e.setting.name, v);
|
|
593
|
+
}), (v, n) => (L(), U(
|
|
594
|
+
X,
|
|
592
595
|
null,
|
|
593
596
|
[
|
|
594
|
-
|
|
597
|
+
c.value && e.setting.options.encryption && e.isView ? (L(), j(a(Q), {
|
|
595
598
|
key: 0,
|
|
596
599
|
col: 6,
|
|
597
600
|
prop: e.setting.name,
|
|
598
|
-
modelValue:
|
|
599
|
-
"onUpdate:modelValue":
|
|
600
|
-
label:
|
|
601
|
+
modelValue: o.value,
|
|
602
|
+
"onUpdate:modelValue": n[1] || (n[1] = (u) => o.value = u),
|
|
603
|
+
label: v.setting.desc,
|
|
601
604
|
type: "custom",
|
|
602
|
-
helpMessage:
|
|
605
|
+
helpMessage: d.value,
|
|
603
606
|
required: y.value
|
|
604
607
|
}, {
|
|
605
|
-
default:
|
|
606
|
-
|
|
608
|
+
default: R(() => [
|
|
609
|
+
T(a(Pe), {
|
|
607
610
|
placement: "top",
|
|
608
|
-
disabled: !
|
|
609
|
-
content:
|
|
611
|
+
disabled: !o.value,
|
|
612
|
+
content: o.value
|
|
610
613
|
}, {
|
|
611
|
-
default:
|
|
612
|
-
|
|
613
|
-
modelValue:
|
|
614
|
-
"onUpdate:modelValue":
|
|
615
|
-
width:
|
|
616
|
-
disabled:
|
|
617
|
-
isView:
|
|
618
|
-
placeholder:
|
|
614
|
+
default: R(() => [
|
|
615
|
+
T(a(bt), {
|
|
616
|
+
modelValue: p.value,
|
|
617
|
+
"onUpdate:modelValue": n[0] || (n[0] = (u) => p.value = u),
|
|
618
|
+
width: v.setting.options.width,
|
|
619
|
+
disabled: v.setting.options.isInputEdit || a(g),
|
|
620
|
+
isView: v.setting.options.isReadonly || e.isView,
|
|
621
|
+
placeholder: v.setting.options.placeholder
|
|
619
622
|
}, {
|
|
620
|
-
prepend:
|
|
621
|
-
|
|
622
|
-
|
|
623
|
+
prepend: R(() => [
|
|
624
|
+
te(
|
|
625
|
+
ae(v.setting.options.bindPreAndSufFixjson.preFix),
|
|
623
626
|
1
|
|
624
627
|
/* TEXT */
|
|
625
628
|
)
|
|
626
629
|
]),
|
|
627
|
-
append:
|
|
628
|
-
|
|
629
|
-
|
|
630
|
+
append: R(() => [
|
|
631
|
+
te(
|
|
632
|
+
ae(v.setting.options.bindPreAndSufFixjson.sufSix),
|
|
630
633
|
1
|
|
631
634
|
/* TEXT */
|
|
632
635
|
)
|
|
@@ -641,45 +644,45 @@ const pa = (n, e) => {
|
|
|
641
644
|
]),
|
|
642
645
|
_: 1
|
|
643
646
|
/* STABLE */
|
|
644
|
-
}, 8, ["prop", "modelValue", "label", "helpMessage", "required"])) :
|
|
645
|
-
|
|
647
|
+
}, 8, ["prop", "modelValue", "label", "helpMessage", "required"])) : I("v-if", !0),
|
|
648
|
+
c.value && (!e.setting.options.encryption || !e.isView) ? (L(), j(a(Q), {
|
|
646
649
|
key: 1,
|
|
647
650
|
col: 6,
|
|
648
|
-
modelValue:
|
|
649
|
-
"onUpdate:modelValue":
|
|
650
|
-
width:
|
|
651
|
-
disabled:
|
|
652
|
-
isView:
|
|
651
|
+
modelValue: o.value,
|
|
652
|
+
"onUpdate:modelValue": n[2] || (n[2] = (u) => o.value = u),
|
|
653
|
+
width: v.setting.options.width,
|
|
654
|
+
disabled: v.setting.options.isInputEdit || a(g),
|
|
655
|
+
isView: v.setting.options.isReadonly || e.isView,
|
|
653
656
|
prop: e.setting.name,
|
|
654
|
-
label:
|
|
657
|
+
label: v.setting.desc,
|
|
655
658
|
type: "input",
|
|
656
|
-
helpMessage:
|
|
659
|
+
helpMessage: d.value,
|
|
657
660
|
required: y.value,
|
|
658
|
-
placeholder:
|
|
661
|
+
placeholder: v.setting.options.placeholder
|
|
659
662
|
}, {
|
|
660
|
-
default:
|
|
661
|
-
|
|
662
|
-
v-model="inputValue"
|
|
663
|
-
|
|
664
|
-
<template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template
|
|
665
|
-
<template #append>{{ setting.options.bindPreAndSufFixjson.sufSix }}</template
|
|
663
|
+
default: R(() => [
|
|
664
|
+
I(` <DasInput
|
|
665
|
+
v-model="inputValue"
|
|
666
|
+
>
|
|
667
|
+
<template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template>
|
|
668
|
+
<template #append>{{ setting.options.bindPreAndSufFixjson.sufSix }}</template>
|
|
666
669
|
</DasInput> `)
|
|
667
670
|
]),
|
|
668
671
|
_: 1
|
|
669
672
|
/* STABLE */
|
|
670
|
-
}, 8, ["modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) :
|
|
673
|
+
}, 8, ["modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : I("v-if", !0)
|
|
671
674
|
],
|
|
672
675
|
64
|
|
673
676
|
/* STABLE_FRAGMENT */
|
|
674
677
|
));
|
|
675
678
|
}
|
|
676
|
-
}),
|
|
679
|
+
}), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
677
680
|
__proto__: null,
|
|
678
|
-
default:
|
|
679
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
681
|
+
default: ca
|
|
682
|
+
}, Symbol.toStringTag, { value: "Module" })), va = {
|
|
680
683
|
name: "number"
|
|
681
|
-
},
|
|
682
|
-
...
|
|
684
|
+
}, ma = /* @__PURE__ */ O({
|
|
685
|
+
...va,
|
|
683
686
|
props: {
|
|
684
687
|
setting: { default: () => ({
|
|
685
688
|
icon: "",
|
|
@@ -693,52 +696,52 @@ const pa = (n, e) => {
|
|
|
693
696
|
marginRight: {},
|
|
694
697
|
store: {}
|
|
695
698
|
},
|
|
696
|
-
setup(
|
|
697
|
-
const e =
|
|
698
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
699
|
+
setup(s) {
|
|
700
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
701
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
699
702
|
() => t.value,
|
|
700
703
|
() => {
|
|
701
|
-
|
|
704
|
+
p.value = t.value[e.setting.name], p.value || (d.value = 0, V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
702
705
|
},
|
|
703
706
|
{ deep: !0 }
|
|
704
707
|
);
|
|
705
|
-
const
|
|
706
|
-
|
|
707
|
-
|
|
708
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
709
|
+
W(e.setting.options.validateList).then((o) => {
|
|
710
|
+
g.value = o;
|
|
708
711
|
});
|
|
709
|
-
const y =
|
|
710
|
-
e.setting.options.tip && (y.value =
|
|
711
|
-
const
|
|
712
|
+
const y = r();
|
|
713
|
+
e.setting.options.tip && (y.value = C(e.setting.options.tip));
|
|
714
|
+
const d = r(0);
|
|
712
715
|
return setTimeout(() => {
|
|
713
|
-
|
|
714
|
-
}, 50), e.setting.options.validateList.length &&
|
|
715
|
-
|
|
716
|
-
}), (
|
|
716
|
+
d.value = m(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || l(e.setting.name, null);
|
|
717
|
+
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(d, (o) => {
|
|
718
|
+
l(e.setting.name, o);
|
|
719
|
+
}), (o, v) => p.value ? (L(), j(a(Q), {
|
|
717
720
|
key: 0,
|
|
718
721
|
col: e.span,
|
|
719
|
-
modelValue:
|
|
720
|
-
"onUpdate:modelValue":
|
|
722
|
+
modelValue: d.value,
|
|
723
|
+
"onUpdate:modelValue": v[0] || (v[0] = (n) => d.value = n),
|
|
721
724
|
style: { width: "100%" },
|
|
722
|
-
label:
|
|
725
|
+
label: o.setting.desc,
|
|
723
726
|
type: "inputNumber",
|
|
724
727
|
prop: e.setting.name,
|
|
725
|
-
max:
|
|
726
|
-
min:
|
|
727
|
-
step:
|
|
728
|
-
disabled: a(
|
|
728
|
+
max: o.setting.options.max,
|
|
729
|
+
min: o.setting.options.min,
|
|
730
|
+
step: o.setting.options.step,
|
|
731
|
+
disabled: a(c),
|
|
729
732
|
isView: e.isView,
|
|
730
|
-
precision:
|
|
733
|
+
precision: o.setting.options.decimalDigits,
|
|
731
734
|
helpMessage: y.value,
|
|
732
|
-
required:
|
|
733
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) :
|
|
735
|
+
required: g.value
|
|
736
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : I("v-if", !0);
|
|
734
737
|
}
|
|
735
|
-
}),
|
|
738
|
+
}), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
736
739
|
__proto__: null,
|
|
737
|
-
default:
|
|
738
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
740
|
+
default: ma
|
|
741
|
+
}, Symbol.toStringTag, { value: "Module" })), fa = {
|
|
739
742
|
name: "radio"
|
|
740
|
-
},
|
|
741
|
-
...
|
|
743
|
+
}, ya = /* @__PURE__ */ O({
|
|
744
|
+
...fa,
|
|
742
745
|
props: {
|
|
743
746
|
setting: { default: () => ({
|
|
744
747
|
icon: "",
|
|
@@ -754,66 +757,66 @@ const pa = (n, e) => {
|
|
|
754
757
|
marginRight: {},
|
|
755
758
|
store: {}
|
|
756
759
|
},
|
|
757
|
-
setup(
|
|
758
|
-
const e =
|
|
759
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
760
|
+
setup(s) {
|
|
761
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
762
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
760
763
|
() => t.value,
|
|
761
764
|
() => {
|
|
762
|
-
|
|
765
|
+
p.value = t.value[e.setting.name], p.value || (n.value = null, V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
763
766
|
},
|
|
764
767
|
{ deep: !0 }
|
|
765
768
|
);
|
|
766
|
-
const
|
|
767
|
-
|
|
768
|
-
|
|
769
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
770
|
+
W(e.setting.options.validateList).then((_) => {
|
|
771
|
+
g.value = _;
|
|
769
772
|
});
|
|
770
|
-
const y = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key",
|
|
771
|
-
e.setting.options.customQuery.alias ?
|
|
772
|
-
|
|
773
|
-
}) :
|
|
774
|
-
const
|
|
775
|
-
e.setting.options.tip && (
|
|
776
|
-
const
|
|
773
|
+
const y = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = r([]);
|
|
774
|
+
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((_) => {
|
|
775
|
+
o.value = _;
|
|
776
|
+
}) : o.value = e.setting.options.options;
|
|
777
|
+
const v = r();
|
|
778
|
+
e.setting.options.tip && (v.value = C(e.setting.options.tip));
|
|
779
|
+
const n = r(null);
|
|
777
780
|
setTimeout(() => {
|
|
778
|
-
|
|
779
|
-
}, 50), e.setting.options.validateList.length &&
|
|
780
|
-
|
|
781
|
+
n.value = m(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || l(e.setting.name, null);
|
|
782
|
+
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(n, (_) => {
|
|
783
|
+
l(e.setting.name, _);
|
|
781
784
|
});
|
|
782
|
-
const
|
|
783
|
-
e.setting.options.linkage.length && e.setting.options.linkage.forEach((
|
|
784
|
-
if (
|
|
785
|
-
const
|
|
786
|
-
t.value[
|
|
785
|
+
const u = (_) => {
|
|
786
|
+
e.setting.options.linkage.length && e.setting.options.linkage.forEach((f) => {
|
|
787
|
+
if (f.value === _) {
|
|
788
|
+
const w = f.effect[0].target.split(".")[2];
|
|
789
|
+
t.value[w] = f.effect[0].type === "w";
|
|
787
790
|
}
|
|
788
791
|
});
|
|
789
792
|
};
|
|
790
|
-
return (
|
|
793
|
+
return (_, f) => p.value ? (L(), j(a(Q), {
|
|
791
794
|
key: 0,
|
|
792
|
-
onChange:
|
|
795
|
+
onChange: u,
|
|
793
796
|
col: e.span,
|
|
794
|
-
modelValue:
|
|
795
|
-
"onUpdate:modelValue":
|
|
796
|
-
layout:
|
|
797
|
-
label:
|
|
797
|
+
modelValue: n.value,
|
|
798
|
+
"onUpdate:modelValue": f[0] || (f[0] = (h) => n.value = h),
|
|
799
|
+
layout: _.setting.options.inline ? "vertical" : "default",
|
|
800
|
+
label: _.setting.desc,
|
|
798
801
|
type: "radio",
|
|
799
802
|
prop: e.setting.name,
|
|
800
|
-
options:
|
|
803
|
+
options: o.value,
|
|
801
804
|
isView: e.isView,
|
|
802
805
|
optionsValueKey: a(y),
|
|
803
|
-
optionsLabelKey: a(
|
|
804
|
-
helpMessage:
|
|
805
|
-
disabled: a(
|
|
806
|
-
required:
|
|
806
|
+
optionsLabelKey: a(d),
|
|
807
|
+
helpMessage: v.value,
|
|
808
|
+
disabled: a(c),
|
|
809
|
+
required: g.value,
|
|
807
810
|
isSetTimeout: !0
|
|
808
|
-
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
811
|
+
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : I("v-if", !0);
|
|
809
812
|
}
|
|
810
|
-
}),
|
|
813
|
+
}), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
811
814
|
__proto__: null,
|
|
812
|
-
default:
|
|
813
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
815
|
+
default: ya
|
|
816
|
+
}, Symbol.toStringTag, { value: "Module" })), ba = {
|
|
814
817
|
name: "select"
|
|
815
818
|
}, ha = /* @__PURE__ */ O({
|
|
816
|
-
...
|
|
819
|
+
...ba,
|
|
817
820
|
props: {
|
|
818
821
|
setting: { default: () => ({
|
|
819
822
|
icon: "",
|
|
@@ -827,83 +830,115 @@ const pa = (n, e) => {
|
|
|
827
830
|
marginRight: {},
|
|
828
831
|
store: {}
|
|
829
832
|
},
|
|
830
|
-
setup(
|
|
831
|
-
const e =
|
|
832
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
833
|
+
setup(s) {
|
|
834
|
+
const e = s, { showData: t, disabledData: i, linkData: l, setData: m, getData: b, setFormRule: V, deleteRule: p } = e.store || {}, c = r(!0);
|
|
835
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
833
836
|
() => t.value,
|
|
834
837
|
() => {
|
|
835
|
-
|
|
838
|
+
c.value = t.value[e.setting.name], c.value || (u.value = null, p(e.setting.name)), c.value && e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList);
|
|
839
|
+
},
|
|
840
|
+
{ deep: !0 }
|
|
841
|
+
), k(
|
|
842
|
+
() => l.value,
|
|
843
|
+
() => {
|
|
844
|
+
l.value.data.forEach((f) => {
|
|
845
|
+
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === f.alias) {
|
|
846
|
+
u.value = null;
|
|
847
|
+
const h = f.conditionfield.filter((M) => M.defaultType == 1);
|
|
848
|
+
let w = {};
|
|
849
|
+
h.forEach((M) => {
|
|
850
|
+
const B = M.fieldPath.split("."), H = B[B.length - 1];
|
|
851
|
+
w[M.field] = b(H);
|
|
852
|
+
}), le(
|
|
853
|
+
e.setting.options.customQuery.alias,
|
|
854
|
+
e.setting.options.customQuery.conditionfield,
|
|
855
|
+
w
|
|
856
|
+
).then((M) => {
|
|
857
|
+
v.value = M;
|
|
858
|
+
});
|
|
859
|
+
}
|
|
860
|
+
});
|
|
836
861
|
},
|
|
837
862
|
{ deep: !0 }
|
|
838
863
|
);
|
|
839
|
-
const
|
|
840
|
-
|
|
841
|
-
|
|
864
|
+
const g = i.value[e.setting.name] || !1, y = r(!1);
|
|
865
|
+
W(e.setting.options.validateList).then((f) => {
|
|
866
|
+
y.value = f;
|
|
842
867
|
});
|
|
843
|
-
const
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
868
|
+
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", o = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", v = r([]);
|
|
869
|
+
if (e.setting.options.customQuery.alias) {
|
|
870
|
+
const f = e.setting.options.customQuery.conditionfield.filter((w) => w.defaultType == 1);
|
|
871
|
+
let h = {};
|
|
872
|
+
f.forEach((w) => {
|
|
873
|
+
const M = w.fieldPath.split("."), B = M[M.length - 1];
|
|
874
|
+
h[w.field] = b(B);
|
|
875
|
+
}), le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, h).then(
|
|
876
|
+
(w) => {
|
|
877
|
+
v.value = w;
|
|
878
|
+
}
|
|
879
|
+
);
|
|
880
|
+
} else
|
|
881
|
+
v.value = e.setting.options.options;
|
|
882
|
+
const n = r();
|
|
883
|
+
e.setting.options.tip && (n.value = C(e.setting.options.tip));
|
|
884
|
+
const u = r();
|
|
885
|
+
u.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
|
|
886
|
+
e.setting.options.multiple && (b(e.setting.name) || e.setting.options.formulasDiyJs) ? (b(e.setting.name) && (u.value = b(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (u.value = e.setting.options.formulasDiyJs.split(","))) : u.value = b(e.setting.name) || e.setting.options.formulasDiyJs || u.value, u.value || m(e.setting.name, null);
|
|
887
|
+
}, 50), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), k(u, (f) => {
|
|
888
|
+
e.setting.options.multiple ? m(e.setting.name, f.toString()) : m(e.setting.name, f);
|
|
854
889
|
});
|
|
855
|
-
const
|
|
856
|
-
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((
|
|
857
|
-
if (
|
|
858
|
-
const
|
|
859
|
-
t.value[
|
|
890
|
+
const _ = (f) => {
|
|
891
|
+
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((h) => {
|
|
892
|
+
if (h.value === f) {
|
|
893
|
+
const M = h.effect[0].target.split(".")[2];
|
|
894
|
+
t.value[M] = h.effect[0].type === "w";
|
|
860
895
|
}
|
|
861
896
|
});
|
|
862
897
|
};
|
|
863
|
-
return (
|
|
898
|
+
return (f, h) => c.value ? (L(), j(a(Q), {
|
|
864
899
|
key: 0,
|
|
865
900
|
col: e.span,
|
|
866
|
-
modelValue:
|
|
867
|
-
"onUpdate:modelValue":
|
|
868
|
-
label:
|
|
869
|
-
onChange:
|
|
901
|
+
modelValue: u.value,
|
|
902
|
+
"onUpdate:modelValue": h[0] || (h[0] = (w) => u.value = w),
|
|
903
|
+
label: f.setting.desc,
|
|
904
|
+
onChange: _,
|
|
870
905
|
type: "select",
|
|
871
906
|
prop: e.setting.name,
|
|
872
|
-
placeholder:
|
|
873
|
-
mode:
|
|
874
|
-
showSearch:
|
|
907
|
+
placeholder: f.setting.options.placeholder,
|
|
908
|
+
mode: f.setting.options.multiple ? "tags" : "combobox",
|
|
909
|
+
showSearch: f.setting.options.filterable,
|
|
875
910
|
allowClear: !0,
|
|
876
911
|
isView: e.isView,
|
|
877
|
-
options:
|
|
878
|
-
optionsValueKey: a(
|
|
879
|
-
optionsLabelKey: a(
|
|
880
|
-
helpMessage:
|
|
881
|
-
disabled: a(
|
|
882
|
-
required:
|
|
883
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
912
|
+
options: v.value,
|
|
913
|
+
optionsValueKey: a(d),
|
|
914
|
+
optionsLabelKey: a(o),
|
|
915
|
+
helpMessage: n.value,
|
|
916
|
+
disabled: a(g),
|
|
917
|
+
required: y.value
|
|
918
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : I("v-if", !0);
|
|
884
919
|
}
|
|
885
|
-
}),
|
|
920
|
+
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
886
921
|
__proto__: null,
|
|
887
922
|
default: ha
|
|
888
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
889
|
-
var
|
|
890
|
-
const t =
|
|
891
|
-
user:
|
|
892
|
-
org:
|
|
893
|
-
role:
|
|
894
|
-
job:
|
|
895
|
-
post:
|
|
896
|
-
supplier:
|
|
897
|
-
source:
|
|
898
|
-
},
|
|
899
|
-
user:
|
|
900
|
-
org:
|
|
901
|
-
role:
|
|
902
|
-
job:
|
|
903
|
-
post:
|
|
904
|
-
supplier:
|
|
905
|
-
source:
|
|
906
|
-
},
|
|
923
|
+
}, Symbol.toStringTag, { value: "Module" })), _a = (s, e) => {
|
|
924
|
+
var q, x, ne, ue, re;
|
|
925
|
+
const t = Ee().id, i = r(!1), l = (re = (ue = (ne = (x = (q = s == null ? void 0 : s.options) == null ? void 0 : q.selector) == null ? void 0 : x.type) == null ? void 0 : ne.alias) == null ? void 0 : ue.replace("eip-", "")) == null ? void 0 : re.replace("-selector", ""), m = r([]), b = r(""), V = {
|
|
926
|
+
user: P("搜索姓名/账号/手机号").value,
|
|
927
|
+
org: P("搜索组织名称/组织编码").value,
|
|
928
|
+
role: P("搜索角色名称").value,
|
|
929
|
+
job: P("职务名称/职务编码").value,
|
|
930
|
+
post: P("搜索岗位名称/岗位编码").value,
|
|
931
|
+
supplier: P("搜索供应商编码/名称").value,
|
|
932
|
+
source: P("搜索单据编码/申请人").value
|
|
933
|
+
}, p = {
|
|
934
|
+
user: P("用户选择器").value,
|
|
935
|
+
org: P("组织选择器").value,
|
|
936
|
+
role: P("角色选择器").value,
|
|
937
|
+
job: P("职务选择器").value,
|
|
938
|
+
post: P("岗位选择器").value,
|
|
939
|
+
supplier: P("供应商选择器").value,
|
|
940
|
+
source: P("源单选择器").value
|
|
941
|
+
}, c = {
|
|
907
942
|
user: "id",
|
|
908
943
|
org: "id",
|
|
909
944
|
role: "id",
|
|
@@ -911,26 +946,26 @@ const pa = (n, e) => {
|
|
|
911
946
|
post: "stationId",
|
|
912
947
|
supplier: "id",
|
|
913
948
|
source: "code"
|
|
914
|
-
}, d = {
|
|
915
|
-
1: B("正常").value,
|
|
916
|
-
2: B("锁定").value,
|
|
917
|
-
3: B("禁用").value
|
|
918
|
-
}, y = {
|
|
919
|
-
0: B("普通").value,
|
|
920
|
-
1: B("管理员").value
|
|
921
949
|
}, g = {
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
950
|
+
1: P("正常").value,
|
|
951
|
+
2: P("锁定").value,
|
|
952
|
+
3: P("禁用").value
|
|
953
|
+
}, y = {
|
|
954
|
+
0: P("普通").value,
|
|
955
|
+
1: P("管理员").value
|
|
956
|
+
}, d = {
|
|
957
|
+
0: P("无效").value,
|
|
958
|
+
1: P("有效").value
|
|
959
|
+
}, o = {
|
|
960
|
+
user: jt,
|
|
961
|
+
org: me,
|
|
962
|
+
role: Kt,
|
|
963
|
+
job: me,
|
|
964
|
+
post: me,
|
|
930
965
|
supplier: Ut
|
|
931
|
-
},
|
|
932
|
-
var
|
|
933
|
-
|
|
966
|
+
}, v = p[l], n = r({}), u = r([]), _ = () => {
|
|
967
|
+
var K, A;
|
|
968
|
+
l === "supplier" ? (n.value = {
|
|
934
969
|
left: !1,
|
|
935
970
|
content: {
|
|
936
971
|
api: zt,
|
|
@@ -958,10 +993,10 @@ const pa = (n, e) => {
|
|
|
958
993
|
}
|
|
959
994
|
},
|
|
960
995
|
right: !1
|
|
961
|
-
},
|
|
996
|
+
}, w(), h()) : l === "source" ? (n.value = {
|
|
962
997
|
left: !1,
|
|
963
998
|
content: {
|
|
964
|
-
api:
|
|
999
|
+
api: xt,
|
|
965
1000
|
params: {
|
|
966
1001
|
key: ""
|
|
967
1002
|
},
|
|
@@ -975,10 +1010,10 @@ const pa = (n, e) => {
|
|
|
975
1010
|
}
|
|
976
1011
|
},
|
|
977
1012
|
right: !1
|
|
978
|
-
},
|
|
1013
|
+
}, f()) : l === "org" ? (n.value = {
|
|
979
1014
|
left: !1,
|
|
980
1015
|
content: {
|
|
981
|
-
api:
|
|
1016
|
+
api: Nt,
|
|
982
1017
|
params: {
|
|
983
1018
|
search: ""
|
|
984
1019
|
},
|
|
@@ -986,16 +1021,16 @@ const pa = (n, e) => {
|
|
|
986
1021
|
data: []
|
|
987
1022
|
}
|
|
988
1023
|
}
|
|
989
|
-
},
|
|
1024
|
+
}, f()) : n.value = {
|
|
990
1025
|
left: {
|
|
991
|
-
api:
|
|
1026
|
+
api: It,
|
|
992
1027
|
params: {
|
|
993
1028
|
projectId: t,
|
|
994
1029
|
parentId: t
|
|
995
1030
|
},
|
|
996
1031
|
props: {
|
|
997
1032
|
inputOptions: {
|
|
998
|
-
placeholder:
|
|
1033
|
+
placeholder: P("搜索组织名称")
|
|
999
1034
|
}
|
|
1000
1035
|
}
|
|
1001
1036
|
},
|
|
@@ -1004,8 +1039,8 @@ const pa = (n, e) => {
|
|
|
1004
1039
|
data: []
|
|
1005
1040
|
}
|
|
1006
1041
|
}
|
|
1007
|
-
},
|
|
1008
|
-
api:
|
|
1042
|
+
}, l === "user" && (n.value.content = {
|
|
1043
|
+
api: qt,
|
|
1009
1044
|
searchKey: "groupId",
|
|
1010
1045
|
params: {
|
|
1011
1046
|
status: 1,
|
|
@@ -1014,8 +1049,8 @@ const pa = (n, e) => {
|
|
|
1014
1049
|
selectListProps: {
|
|
1015
1050
|
data: []
|
|
1016
1051
|
}
|
|
1017
|
-
},
|
|
1018
|
-
api:
|
|
1052
|
+
}, f()), l === "role" && (n.value.content = {
|
|
1053
|
+
api: Bt,
|
|
1019
1054
|
searchKey: "orgId",
|
|
1020
1055
|
params: {
|
|
1021
1056
|
status: 1
|
|
@@ -1023,8 +1058,8 @@ const pa = (n, e) => {
|
|
|
1023
1058
|
selectListProps: {
|
|
1024
1059
|
data: []
|
|
1025
1060
|
}
|
|
1026
|
-
},
|
|
1027
|
-
api:
|
|
1061
|
+
}, f()), l === "job" && (n.value.content = {
|
|
1062
|
+
api: Et,
|
|
1028
1063
|
searchKey: "groupId",
|
|
1029
1064
|
props: {
|
|
1030
1065
|
rowKey: "positionId"
|
|
@@ -1032,8 +1067,8 @@ const pa = (n, e) => {
|
|
|
1032
1067
|
selectListProps: {
|
|
1033
1068
|
data: []
|
|
1034
1069
|
}
|
|
1035
|
-
},
|
|
1036
|
-
api:
|
|
1070
|
+
}, f()), l === "post" && (n.value.content = {
|
|
1071
|
+
api: Pt,
|
|
1037
1072
|
searchKey: "groupId",
|
|
1038
1073
|
props: {
|
|
1039
1074
|
rowKey: "stationId"
|
|
@@ -1041,14 +1076,14 @@ const pa = (n, e) => {
|
|
|
1041
1076
|
selectListProps: {
|
|
1042
1077
|
data: []
|
|
1043
1078
|
}
|
|
1044
|
-
},
|
|
1045
|
-
},
|
|
1046
|
-
|
|
1079
|
+
}, f()), n.value.content.multiple = l === "supplier" || l === "source" ? !1 : !((A = (K = s == null ? void 0 : s.options) == null ? void 0 : K.selector) != null && A.isSingle);
|
|
1080
|
+
}, f = async () => {
|
|
1081
|
+
u.value = [
|
|
1047
1082
|
{
|
|
1048
1083
|
type: "searchInput",
|
|
1049
1084
|
key: "inputtKey",
|
|
1050
1085
|
label: "",
|
|
1051
|
-
placeholder:
|
|
1086
|
+
placeholder: V[l],
|
|
1052
1087
|
value: "",
|
|
1053
1088
|
clearable: !1,
|
|
1054
1089
|
isIconLeft: !0,
|
|
@@ -1056,13 +1091,13 @@ const pa = (n, e) => {
|
|
|
1056
1091
|
size: "small"
|
|
1057
1092
|
}
|
|
1058
1093
|
];
|
|
1059
|
-
},
|
|
1060
|
-
|
|
1094
|
+
}, h = async () => {
|
|
1095
|
+
u.value = [
|
|
1061
1096
|
{
|
|
1062
1097
|
type: "searchInput",
|
|
1063
1098
|
key: "inputtKey",
|
|
1064
1099
|
label: "",
|
|
1065
|
-
placeholder:
|
|
1100
|
+
placeholder: V[l],
|
|
1066
1101
|
value: "",
|
|
1067
1102
|
clearable: !1,
|
|
1068
1103
|
isIconLeft: !0,
|
|
@@ -1083,25 +1118,25 @@ const pa = (n, e) => {
|
|
|
1083
1118
|
allowClear: !0
|
|
1084
1119
|
}
|
|
1085
1120
|
];
|
|
1086
|
-
},
|
|
1087
|
-
const
|
|
1121
|
+
}, w = async () => {
|
|
1122
|
+
const K = {
|
|
1088
1123
|
name: "",
|
|
1089
1124
|
published: 1
|
|
1090
|
-
}, [
|
|
1091
|
-
|
|
1092
|
-
},
|
|
1093
|
-
var
|
|
1094
|
-
|
|
1095
|
-
let
|
|
1096
|
-
|
|
1125
|
+
}, [A, S] = await Ct(K).run();
|
|
1126
|
+
A || (u.value[1].options = S);
|
|
1127
|
+
}, M = () => {
|
|
1128
|
+
var A;
|
|
1129
|
+
b.value = "", i.value = !0;
|
|
1130
|
+
let K = c[l];
|
|
1131
|
+
n.value.content.selectListProps.data = (A = m == null ? void 0 : m.value) == null ? void 0 : A.map((S) => ({ name: S == null ? void 0 : S.label, [K]: S == null ? void 0 : S.value }));
|
|
1097
1132
|
};
|
|
1098
|
-
|
|
1099
|
-
const
|
|
1100
|
-
var
|
|
1101
|
-
|
|
1102
|
-
...(
|
|
1133
|
+
_();
|
|
1134
|
+
const B = async () => {
|
|
1135
|
+
var K, A, S, G, Y, $, N, E, Se, Le, Me, Te, ke, Re, $e, Fe, Ie;
|
|
1136
|
+
n.value.content.params = {
|
|
1137
|
+
...(A = (K = n == null ? void 0 : n.value) == null ? void 0 : K.content) == null ? void 0 : A.params,
|
|
1103
1138
|
pageIndex: 1
|
|
1104
|
-
}, (
|
|
1139
|
+
}, (l === "user" || l === "org" || l === "post" || l === "role" || l === "job") && (n.value.content.params.name = (S = u == null ? void 0 : u.value[0]) == null ? void 0 : S.value), l === "source" && (n.value.content.params.key = (G = u == null ? void 0 : u.value[0]) == null ? void 0 : G.value), l === "supplier" && (n.value.content.params.querys = [
|
|
1105
1140
|
{
|
|
1106
1141
|
property: "orgId",
|
|
1107
1142
|
value: t,
|
|
@@ -1109,122 +1144,122 @@ const pa = (n, e) => {
|
|
|
1109
1144
|
relation: "AND",
|
|
1110
1145
|
operation: "EQUAL"
|
|
1111
1146
|
}
|
|
1112
|
-
], (
|
|
1147
|
+
], (Y = u == null ? void 0 : u.value[0]) != null && Y.value && (n.value.content.params.querys = (Me = (E = (N = ($ = n == null ? void 0 : n.value) == null ? void 0 : $.content) == null ? void 0 : N.params) == null ? void 0 : E.querys) == null ? void 0 : Me.concat([
|
|
1113
1148
|
{
|
|
1114
1149
|
property: "name",
|
|
1115
|
-
value: (
|
|
1150
|
+
value: (Se = u == null ? void 0 : u.value[0]) == null ? void 0 : Se.value,
|
|
1116
1151
|
group: "merge",
|
|
1117
1152
|
relation: "OR",
|
|
1118
1153
|
operation: "LIKE"
|
|
1119
1154
|
},
|
|
1120
1155
|
{
|
|
1121
1156
|
property: "code",
|
|
1122
|
-
value: (
|
|
1157
|
+
value: (Le = u == null ? void 0 : u.value[0]) == null ? void 0 : Le.value,
|
|
1123
1158
|
group: "merge",
|
|
1124
1159
|
relation: "OR",
|
|
1125
1160
|
operation: "LIKE"
|
|
1126
1161
|
}
|
|
1127
|
-
])), (
|
|
1162
|
+
])), (Te = u == null ? void 0 : u.value[1]) != null && Te.value && (n.value.content.params.querys = (Ie = ($e = (Re = (ke = n == null ? void 0 : n.value) == null ? void 0 : ke.content) == null ? void 0 : Re.params) == null ? void 0 : $e.querys) == null ? void 0 : Ie.concat([
|
|
1128
1163
|
{
|
|
1129
1164
|
property: "classificationId",
|
|
1130
|
-
value: (
|
|
1165
|
+
value: (Fe = u == null ? void 0 : u.value[1]) == null ? void 0 : Fe.value,
|
|
1131
1166
|
group: "quick",
|
|
1132
1167
|
relation: "AND",
|
|
1133
1168
|
operation: "EQUAL"
|
|
1134
1169
|
}
|
|
1135
1170
|
])));
|
|
1136
1171
|
};
|
|
1137
|
-
|
|
1138
|
-
() =>
|
|
1139
|
-
(
|
|
1140
|
-
|
|
1172
|
+
k(
|
|
1173
|
+
() => i == null ? void 0 : i.value,
|
|
1174
|
+
(K) => {
|
|
1175
|
+
K || H();
|
|
1141
1176
|
}
|
|
1142
1177
|
);
|
|
1143
|
-
const
|
|
1144
|
-
|
|
1178
|
+
const H = async () => {
|
|
1179
|
+
l === "supplier" ? (u.value[0].value = "", u.value[1].value = void 0) : (l === "org" || l === "user" || l === "source" || l === "post" || l === "role" || l === "job") && (u.value[0].value = ""), _();
|
|
1145
1180
|
};
|
|
1146
1181
|
return {
|
|
1147
|
-
dialogVisible:
|
|
1148
|
-
title:
|
|
1149
|
-
searchName:
|
|
1150
|
-
selectorType:
|
|
1151
|
-
selectOptions:
|
|
1152
|
-
tableOptions:
|
|
1153
|
-
userStatusMap:
|
|
1182
|
+
dialogVisible: i,
|
|
1183
|
+
title: v,
|
|
1184
|
+
searchName: b,
|
|
1185
|
+
selectorType: l,
|
|
1186
|
+
selectOptions: m,
|
|
1187
|
+
tableOptions: n,
|
|
1188
|
+
userStatusMap: g,
|
|
1154
1189
|
roleTypeMap: y,
|
|
1155
|
-
roleStatusMap:
|
|
1156
|
-
openDialog:
|
|
1157
|
-
confirm: (
|
|
1158
|
-
let
|
|
1159
|
-
|
|
1190
|
+
roleStatusMap: d,
|
|
1191
|
+
openDialog: M,
|
|
1192
|
+
confirm: (K) => {
|
|
1193
|
+
let A = c[l];
|
|
1194
|
+
m.value = K == null ? void 0 : K.map((S) => ({ label: (S == null ? void 0 : S.name) || (S == null ? void 0 : S.code), value: S[A] }));
|
|
1160
1195
|
},
|
|
1161
|
-
getDetail: async (
|
|
1162
|
-
const
|
|
1163
|
-
let
|
|
1164
|
-
const
|
|
1165
|
-
if (
|
|
1166
|
-
|
|
1196
|
+
getDetail: async (K) => {
|
|
1197
|
+
const A = o[l];
|
|
1198
|
+
let S = {};
|
|
1199
|
+
const G = K == null ? void 0 : K.split(",");
|
|
1200
|
+
if (l === "source") {
|
|
1201
|
+
m.value = [
|
|
1167
1202
|
{
|
|
1168
|
-
label:
|
|
1169
|
-
value:
|
|
1203
|
+
label: K,
|
|
1204
|
+
value: K
|
|
1170
1205
|
}
|
|
1171
1206
|
];
|
|
1172
1207
|
return;
|
|
1173
|
-
} else
|
|
1174
|
-
const [
|
|
1175
|
-
|
|
1208
|
+
} else l === "user" ? S.userIds = G : l === "role" ? S.ids = G : l === "supplier" ? S.id = G : S = G;
|
|
1209
|
+
const [Y, $] = await A(S).run();
|
|
1210
|
+
Y || (l === "supplier" ? m.value = [
|
|
1176
1211
|
{
|
|
1177
|
-
label: (
|
|
1178
|
-
value:
|
|
1212
|
+
label: ($ == null ? void 0 : $.name) || ($ == null ? void 0 : $.code),
|
|
1213
|
+
value: $ == null ? void 0 : $.id
|
|
1179
1214
|
}
|
|
1180
|
-
] :
|
|
1215
|
+
] : m.value = $ == null ? void 0 : $.map((N) => ({ label: (N == null ? void 0 : N.name) || (N == null ? void 0 : N.code), value: N == null ? void 0 : N.id })));
|
|
1181
1216
|
},
|
|
1182
|
-
searchData:
|
|
1183
|
-
searchOptions:
|
|
1217
|
+
searchData: B,
|
|
1218
|
+
searchOptions: u
|
|
1184
1219
|
};
|
|
1185
|
-
},
|
|
1186
|
-
const
|
|
1220
|
+
}, wa = () => {
|
|
1221
|
+
const s = r(""), e = r(""), t = r([]), i = r("");
|
|
1187
1222
|
return {
|
|
1188
|
-
spacePath:
|
|
1223
|
+
spacePath: s,
|
|
1189
1224
|
spaceName: e,
|
|
1190
1225
|
spaceTreeData: t,
|
|
1191
|
-
searchSpace:
|
|
1192
|
-
changeSpace: (
|
|
1193
|
-
|
|
1226
|
+
searchSpace: i,
|
|
1227
|
+
changeSpace: (p, c) => {
|
|
1228
|
+
s.value = c[0].path, e.value = c[0].pathName;
|
|
1194
1229
|
},
|
|
1195
|
-
spaceLoad: async (
|
|
1196
|
-
let
|
|
1230
|
+
spaceLoad: async (p) => {
|
|
1231
|
+
let c = {
|
|
1197
1232
|
pageSize: 1e4,
|
|
1198
1233
|
pageIndex: 1,
|
|
1199
|
-
projectId:
|
|
1234
|
+
projectId: Ee().id,
|
|
1200
1235
|
//项目id
|
|
1201
1236
|
spaceId: ""
|
|
1202
1237
|
// orgId:getProjectInfo().id
|
|
1203
1238
|
};
|
|
1204
|
-
|
|
1205
|
-
let
|
|
1206
|
-
const [y,
|
|
1207
|
-
return y ? {} :
|
|
1239
|
+
c.spaceId = p != null && p.id ? p.id : "";
|
|
1240
|
+
let g = Ot;
|
|
1241
|
+
const [y, d] = await g(c).run();
|
|
1242
|
+
return y ? {} : d;
|
|
1208
1243
|
},
|
|
1209
|
-
filterSpaceTree: async (
|
|
1210
|
-
if (!
|
|
1211
|
-
let
|
|
1212
|
-
const
|
|
1213
|
-
name:
|
|
1214
|
-
}, [y,
|
|
1215
|
-
return y ? {} : (
|
|
1216
|
-
|
|
1217
|
-
}),
|
|
1244
|
+
filterSpaceTree: async (p) => {
|
|
1245
|
+
if (!p) return [];
|
|
1246
|
+
let c = Qt;
|
|
1247
|
+
const g = {
|
|
1248
|
+
name: p
|
|
1249
|
+
}, [y, d] = await c(g).run();
|
|
1250
|
+
return y ? {} : (d.forEach((o) => {
|
|
1251
|
+
o.path.startsWith("/0") && (o.path = o.path.slice(2) + `/${o.id}`), o._name = o.nodeName ? o.nodeName : o.name;
|
|
1252
|
+
}), d);
|
|
1218
1253
|
},
|
|
1219
|
-
getSpaceDetail: async (
|
|
1220
|
-
const [
|
|
1221
|
-
|
|
1254
|
+
getSpaceDetail: async (p) => {
|
|
1255
|
+
const [c, g] = await At().run({ spaceId: p });
|
|
1256
|
+
c || (s.value = g.path);
|
|
1222
1257
|
}
|
|
1223
1258
|
};
|
|
1224
|
-
},
|
|
1259
|
+
}, Va = { class: "table-search-process-top" }, Da = {
|
|
1225
1260
|
name: "selector"
|
|
1226
|
-
},
|
|
1227
|
-
...
|
|
1261
|
+
}, Sa = /* @__PURE__ */ O({
|
|
1262
|
+
...Da,
|
|
1228
1263
|
props: {
|
|
1229
1264
|
setting: { default: () => ({
|
|
1230
1265
|
icon: "",
|
|
@@ -1238,111 +1273,111 @@ const pa = (n, e) => {
|
|
|
1238
1273
|
marginRight: {},
|
|
1239
1274
|
store: {}
|
|
1240
1275
|
},
|
|
1241
|
-
setup(
|
|
1242
|
-
const e =
|
|
1243
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1276
|
+
setup(s) {
|
|
1277
|
+
const e = s, { showData: t, setData: i, getData: l, flowKey: m, setFormRule: b, deleteRule: V, disabledData: p } = e.store || {}, c = r(!0);
|
|
1278
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
1244
1279
|
() => t.value,
|
|
1245
1280
|
() => {
|
|
1246
|
-
|
|
1281
|
+
c.value = t.value[e.setting.name], c.value || (S.value = "", u.value = [], V(e.setting.name)), c.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
1247
1282
|
},
|
|
1248
1283
|
{ deep: !0 }
|
|
1249
1284
|
);
|
|
1250
|
-
const
|
|
1285
|
+
const g = p.value[e.setting.name] || !1, {
|
|
1251
1286
|
dialogVisible: y,
|
|
1252
|
-
title:
|
|
1253
|
-
searchName:
|
|
1254
|
-
tableOptions:
|
|
1255
|
-
selectorType:
|
|
1256
|
-
selectOptions:
|
|
1257
|
-
userStatusMap:
|
|
1258
|
-
roleTypeMap:
|
|
1259
|
-
roleStatusMap:
|
|
1260
|
-
openDialog:
|
|
1261
|
-
confirm:
|
|
1262
|
-
getDetail:
|
|
1263
|
-
searchData:
|
|
1264
|
-
searchOptions:
|
|
1265
|
-
} =
|
|
1266
|
-
|
|
1267
|
-
|
|
1287
|
+
title: d,
|
|
1288
|
+
searchName: o,
|
|
1289
|
+
tableOptions: v,
|
|
1290
|
+
selectorType: n,
|
|
1291
|
+
selectOptions: u,
|
|
1292
|
+
userStatusMap: _,
|
|
1293
|
+
roleTypeMap: f,
|
|
1294
|
+
roleStatusMap: h,
|
|
1295
|
+
openDialog: w,
|
|
1296
|
+
confirm: M,
|
|
1297
|
+
getDetail: B,
|
|
1298
|
+
searchData: H,
|
|
1299
|
+
searchOptions: z
|
|
1300
|
+
} = _a(e.setting, m), { spacePath: J, spaceName: q, searchSpace: x, changeSpace: ne, spaceLoad: ue, filterSpaceTree: re, getSpaceDetail: K } = wa(), A = r(!1);
|
|
1301
|
+
W(e.setting.options.validateList).then((Y) => {
|
|
1302
|
+
A.value = Y;
|
|
1268
1303
|
});
|
|
1269
|
-
const
|
|
1270
|
-
return e.setting.options.tip && (
|
|
1271
|
-
|
|
1272
|
-
})) : (
|
|
1273
|
-
|
|
1274
|
-
}),
|
|
1275
|
-
|
|
1276
|
-
})), (
|
|
1277
|
-
|
|
1304
|
+
const S = r(""), G = r();
|
|
1305
|
+
return e.setting.options.tip && (G.value = C(e.setting.options.tip)), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), n !== "position" ? (S.value = l(e.setting.name) ? l(e.setting.name) : S.value, S.value && B(S.value), S.value.length || i(e.setting.name, null), k(u, (Y) => {
|
|
1306
|
+
S.value = Y.map(($) => $.value).toString(), i(e.setting.name, S.value);
|
|
1307
|
+
})) : (S.value = l(e.setting.name) ? l(e.setting.name) : S.value, S.value && K(S.value), S.value || i(e.setting.name, null), k(S, (Y) => {
|
|
1308
|
+
i(e.setting.name, Y);
|
|
1309
|
+
}), k(q, (Y) => {
|
|
1310
|
+
i(e.setting.options.selector.type.positionName, Y);
|
|
1311
|
+
})), (Y, $) => (L(), U(
|
|
1312
|
+
X,
|
|
1278
1313
|
null,
|
|
1279
1314
|
[
|
|
1280
|
-
|
|
1315
|
+
c.value && a(n) != "position" ? (L(), j(a(Q), {
|
|
1281
1316
|
key: 0,
|
|
1282
1317
|
col: e.span,
|
|
1283
|
-
modelValue:
|
|
1284
|
-
"onUpdate:modelValue":
|
|
1318
|
+
modelValue: S.value,
|
|
1319
|
+
"onUpdate:modelValue": $[1] || ($[1] = (N) => S.value = N),
|
|
1285
1320
|
prop: e.setting.name,
|
|
1286
|
-
label:
|
|
1321
|
+
label: Y.setting.desc,
|
|
1287
1322
|
type: "inputDialogSelect",
|
|
1288
|
-
options: a(
|
|
1289
|
-
helpMessage:
|
|
1323
|
+
options: a(u),
|
|
1324
|
+
helpMessage: G.value,
|
|
1290
1325
|
isView: e.isView,
|
|
1291
|
-
disabled: a(
|
|
1292
|
-
required:
|
|
1293
|
-
onOpenDialog: a(
|
|
1326
|
+
disabled: a(g),
|
|
1327
|
+
required: A.value,
|
|
1328
|
+
onOpenDialog: a(w)
|
|
1294
1329
|
}, {
|
|
1295
|
-
default:
|
|
1296
|
-
var
|
|
1330
|
+
default: R(() => {
|
|
1331
|
+
var N;
|
|
1297
1332
|
return [
|
|
1298
|
-
|
|
1333
|
+
T(a(_t), {
|
|
1299
1334
|
modelValue: a(y),
|
|
1300
|
-
"onUpdate:modelValue":
|
|
1301
|
-
options: a(
|
|
1302
|
-
onConfirm: a(
|
|
1303
|
-
title: a(
|
|
1304
|
-
},
|
|
1335
|
+
"onUpdate:modelValue": $[0] || ($[0] = (E) => ve(y) ? y.value = E : null),
|
|
1336
|
+
options: a(v),
|
|
1337
|
+
onConfirm: a(M),
|
|
1338
|
+
title: a(d)
|
|
1339
|
+
}, rt({
|
|
1305
1340
|
_: 2
|
|
1306
1341
|
/* DYNAMIC */
|
|
1307
1342
|
}, [
|
|
1308
|
-
((
|
|
1343
|
+
((N = a(z)) == null ? void 0 : N.length) > 0 ? {
|
|
1309
1344
|
name: "table-header-search",
|
|
1310
|
-
fn:
|
|
1311
|
-
|
|
1312
|
-
|
|
1345
|
+
fn: R(() => [
|
|
1346
|
+
Ke("div", Va, [
|
|
1347
|
+
T(a(ht), {
|
|
1313
1348
|
labelLength: "6",
|
|
1314
|
-
options: a(
|
|
1315
|
-
onConfirm: a(
|
|
1349
|
+
options: a(z),
|
|
1350
|
+
onConfirm: a(H),
|
|
1316
1351
|
"is-margin-right": !1
|
|
1317
1352
|
}, null, 8, ["options", "onConfirm"])
|
|
1318
1353
|
])
|
|
1319
1354
|
]),
|
|
1320
1355
|
key: "0"
|
|
1321
1356
|
} : void 0,
|
|
1322
|
-
a(
|
|
1357
|
+
a(n) === "user" ? {
|
|
1323
1358
|
name: "table-column",
|
|
1324
|
-
fn:
|
|
1325
|
-
|
|
1326
|
-
label: "姓名",
|
|
1359
|
+
fn: R(() => [
|
|
1360
|
+
T(a(F), {
|
|
1361
|
+
label: a(D)("姓名"),
|
|
1327
1362
|
prop: "name"
|
|
1328
|
-
}),
|
|
1329
|
-
|
|
1330
|
-
label: "账号",
|
|
1363
|
+
}, null, 8, ["label"]),
|
|
1364
|
+
T(a(F), {
|
|
1365
|
+
label: a(D)("账号"),
|
|
1331
1366
|
prop: "userName"
|
|
1332
|
-
}),
|
|
1333
|
-
|
|
1334
|
-
label: "手机号",
|
|
1367
|
+
}, null, 8, ["label"]),
|
|
1368
|
+
T(a(F), {
|
|
1369
|
+
label: a(D)("手机号"),
|
|
1335
1370
|
prop: "sensitivePhone"
|
|
1336
1371
|
}, {
|
|
1337
|
-
default:
|
|
1338
|
-
|
|
1372
|
+
default: R(({ row: E }) => [
|
|
1373
|
+
T(a(Pe), {
|
|
1339
1374
|
placement: "top",
|
|
1340
|
-
content:
|
|
1341
|
-
disabled: !
|
|
1375
|
+
content: E.phone,
|
|
1376
|
+
disabled: !E.phone
|
|
1342
1377
|
}, {
|
|
1343
|
-
default:
|
|
1344
|
-
|
|
1345
|
-
|
|
1378
|
+
default: R(() => [
|
|
1379
|
+
te(
|
|
1380
|
+
ae(E.sensitivePhone || "-"),
|
|
1346
1381
|
1
|
|
1347
1382
|
/* TEXT */
|
|
1348
1383
|
)
|
|
@@ -1353,192 +1388,198 @@ const pa = (n, e) => {
|
|
|
1353
1388
|
]),
|
|
1354
1389
|
_: 1
|
|
1355
1390
|
/* STABLE */
|
|
1356
|
-
}),
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1391
|
+
}, 8, ["label"]),
|
|
1392
|
+
T(a(F), {
|
|
1393
|
+
label: a(D)("状态")
|
|
1394
|
+
}, {
|
|
1395
|
+
default: R(({ row: E }) => [
|
|
1396
|
+
te(
|
|
1397
|
+
ae(a(_)[E.status]),
|
|
1361
1398
|
1
|
|
1362
1399
|
/* TEXT */
|
|
1363
1400
|
)
|
|
1364
1401
|
]),
|
|
1365
1402
|
_: 1
|
|
1366
1403
|
/* STABLE */
|
|
1367
|
-
})
|
|
1404
|
+
}, 8, ["label"])
|
|
1368
1405
|
]),
|
|
1369
1406
|
key: "1"
|
|
1370
1407
|
} : void 0,
|
|
1371
|
-
a(
|
|
1408
|
+
a(n) === "org" ? {
|
|
1372
1409
|
name: "table-column",
|
|
1373
|
-
fn:
|
|
1374
|
-
|
|
1375
|
-
label: "组织名称",
|
|
1410
|
+
fn: R(() => [
|
|
1411
|
+
T(a(F), {
|
|
1412
|
+
label: a(D)("组织名称"),
|
|
1376
1413
|
prop: "name"
|
|
1377
|
-
}),
|
|
1378
|
-
|
|
1379
|
-
label: "组织编码",
|
|
1414
|
+
}, null, 8, ["label"]),
|
|
1415
|
+
T(a(F), {
|
|
1416
|
+
label: a(D)("组织编码"),
|
|
1380
1417
|
prop: "code"
|
|
1381
|
-
}),
|
|
1382
|
-
|
|
1383
|
-
label: "组织类型",
|
|
1418
|
+
}, null, 8, ["label"]),
|
|
1419
|
+
T(a(F), {
|
|
1420
|
+
label: a(D)("组织类型"),
|
|
1384
1421
|
prop: "typeName"
|
|
1385
|
-
})
|
|
1422
|
+
}, null, 8, ["label"])
|
|
1386
1423
|
]),
|
|
1387
1424
|
key: "2"
|
|
1388
1425
|
} : void 0,
|
|
1389
|
-
a(
|
|
1426
|
+
a(n) === "role" ? {
|
|
1390
1427
|
name: "table-column",
|
|
1391
|
-
fn:
|
|
1392
|
-
|
|
1393
|
-
label: "角色名称",
|
|
1428
|
+
fn: R(() => [
|
|
1429
|
+
T(a(F), {
|
|
1430
|
+
label: a(D)("角色名称"),
|
|
1394
1431
|
prop: "name"
|
|
1395
|
-
}),
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1432
|
+
}, null, 8, ["label"]),
|
|
1433
|
+
T(a(F), {
|
|
1434
|
+
label: a(D)("角色类型")
|
|
1435
|
+
}, {
|
|
1436
|
+
default: R(({ row: E }) => [
|
|
1437
|
+
te(
|
|
1438
|
+
ae(a(f)[E.type]),
|
|
1400
1439
|
1
|
|
1401
1440
|
/* TEXT */
|
|
1402
1441
|
)
|
|
1403
1442
|
]),
|
|
1404
1443
|
_: 1
|
|
1405
1444
|
/* STABLE */
|
|
1406
|
-
}),
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1445
|
+
}, 8, ["label"]),
|
|
1446
|
+
T(a(F), {
|
|
1447
|
+
label: a(D)("角色状态")
|
|
1448
|
+
}, {
|
|
1449
|
+
default: R(({ row: E }) => [
|
|
1450
|
+
te(
|
|
1451
|
+
ae(a(h)[E.status]),
|
|
1411
1452
|
1
|
|
1412
1453
|
/* TEXT */
|
|
1413
1454
|
)
|
|
1414
1455
|
]),
|
|
1415
1456
|
_: 1
|
|
1416
1457
|
/* STABLE */
|
|
1417
|
-
})
|
|
1458
|
+
}, 8, ["label"])
|
|
1418
1459
|
]),
|
|
1419
1460
|
key: "3"
|
|
1420
1461
|
} : void 0,
|
|
1421
|
-
a(
|
|
1462
|
+
a(n) === "job" ? {
|
|
1422
1463
|
name: "table-column",
|
|
1423
|
-
fn:
|
|
1424
|
-
|
|
1425
|
-
label: "职务名称",
|
|
1464
|
+
fn: R(() => [
|
|
1465
|
+
T(a(F), {
|
|
1466
|
+
label: a(D)("职务名称"),
|
|
1426
1467
|
prop: "name"
|
|
1427
|
-
}),
|
|
1428
|
-
|
|
1429
|
-
label: "职务编码",
|
|
1468
|
+
}, null, 8, ["label"]),
|
|
1469
|
+
T(a(F), {
|
|
1470
|
+
label: a(D)("职务编码"),
|
|
1430
1471
|
prop: "code"
|
|
1431
|
-
}),
|
|
1432
|
-
|
|
1433
|
-
label: "所属组织路径",
|
|
1472
|
+
}, null, 8, ["label"]),
|
|
1473
|
+
T(a(F), {
|
|
1474
|
+
label: a(D)("所属组织路径"),
|
|
1434
1475
|
prop: "groupName"
|
|
1435
|
-
})
|
|
1476
|
+
}, null, 8, ["label"])
|
|
1436
1477
|
]),
|
|
1437
1478
|
key: "4"
|
|
1438
1479
|
} : void 0,
|
|
1439
|
-
a(
|
|
1480
|
+
a(n) === "post" ? {
|
|
1440
1481
|
name: "table-column",
|
|
1441
|
-
fn:
|
|
1442
|
-
|
|
1443
|
-
label: "岗位名称",
|
|
1482
|
+
fn: R(() => [
|
|
1483
|
+
T(a(F), {
|
|
1484
|
+
label: a(D)("岗位名称"),
|
|
1444
1485
|
prop: "name"
|
|
1445
|
-
}),
|
|
1446
|
-
|
|
1447
|
-
label: "岗位编码",
|
|
1486
|
+
}, null, 8, ["label"]),
|
|
1487
|
+
T(a(F), {
|
|
1488
|
+
label: a(D)("岗位编码"),
|
|
1448
1489
|
prop: "code"
|
|
1449
|
-
}),
|
|
1450
|
-
|
|
1451
|
-
label: "所属组织路径",
|
|
1490
|
+
}, null, 8, ["label"]),
|
|
1491
|
+
T(a(F), {
|
|
1492
|
+
label: a(D)("所属组织路径"),
|
|
1452
1493
|
prop: "groupName"
|
|
1453
|
-
})
|
|
1494
|
+
}, null, 8, ["label"])
|
|
1454
1495
|
]),
|
|
1455
1496
|
key: "5"
|
|
1456
1497
|
} : void 0,
|
|
1457
|
-
a(
|
|
1498
|
+
a(n) === "supplier" ? {
|
|
1458
1499
|
name: "table-column",
|
|
1459
|
-
fn:
|
|
1460
|
-
|
|
1500
|
+
fn: R(() => [
|
|
1501
|
+
T(a(F), {
|
|
1461
1502
|
type: "index",
|
|
1462
1503
|
width: "50"
|
|
1463
1504
|
}),
|
|
1464
|
-
|
|
1465
|
-
label: "供应商名称",
|
|
1505
|
+
T(a(F), {
|
|
1506
|
+
label: a(D)("供应商名称"),
|
|
1466
1507
|
prop: "name"
|
|
1467
|
-
}),
|
|
1468
|
-
|
|
1469
|
-
label: "供应商编码",
|
|
1508
|
+
}, null, 8, ["label"]),
|
|
1509
|
+
T(a(F), {
|
|
1510
|
+
label: a(D)("供应商编码"),
|
|
1470
1511
|
prop: "code"
|
|
1471
|
-
}),
|
|
1472
|
-
|
|
1473
|
-
label: "供应商等级",
|
|
1512
|
+
}, null, 8, ["label"]),
|
|
1513
|
+
T(a(F), {
|
|
1514
|
+
label: a(D)("供应商等级"),
|
|
1474
1515
|
prop: "supplierLevel"
|
|
1475
|
-
}),
|
|
1476
|
-
|
|
1477
|
-
label: "供应商分类",
|
|
1516
|
+
}, null, 8, ["label"]),
|
|
1517
|
+
T(a(F), {
|
|
1518
|
+
label: a(D)("供应商分类"),
|
|
1478
1519
|
prop: "classificationName"
|
|
1479
1520
|
}, {
|
|
1480
|
-
default:
|
|
1481
|
-
|
|
1482
|
-
{{ getSupplierName(row) }}
|
|
1521
|
+
default: R(() => [
|
|
1522
|
+
I(` <template #default="{row}">
|
|
1523
|
+
{{ getSupplierName(row) }}
|
|
1483
1524
|
</template> `)
|
|
1484
1525
|
]),
|
|
1485
1526
|
_: 1
|
|
1486
1527
|
/* STABLE */
|
|
1487
|
-
}),
|
|
1488
|
-
|
|
1489
|
-
label: "个人/公司",
|
|
1528
|
+
}, 8, ["label"]),
|
|
1529
|
+
T(a(F), {
|
|
1530
|
+
label: a(D)("个人/公司"),
|
|
1490
1531
|
prop: "businessType"
|
|
1491
1532
|
}, {
|
|
1492
|
-
default:
|
|
1493
|
-
|
|
1494
|
-
|
|
1533
|
+
default: R(({ row: E }) => [
|
|
1534
|
+
te(
|
|
1535
|
+
ae(E.businessType == "COMPANY" ? a(D)("公司") : a(D)("个人")),
|
|
1495
1536
|
1
|
|
1496
1537
|
/* TEXT */
|
|
1497
1538
|
)
|
|
1498
1539
|
]),
|
|
1499
1540
|
_: 1
|
|
1500
1541
|
/* STABLE */
|
|
1501
|
-
})
|
|
1542
|
+
}, 8, ["label"])
|
|
1502
1543
|
]),
|
|
1503
1544
|
key: "6"
|
|
1504
1545
|
} : void 0,
|
|
1505
|
-
a(
|
|
1546
|
+
a(n) === "source" ? {
|
|
1506
1547
|
name: "table-column",
|
|
1507
|
-
fn:
|
|
1508
|
-
|
|
1548
|
+
fn: R(() => [
|
|
1549
|
+
T(a(F), {
|
|
1509
1550
|
type: "index",
|
|
1510
1551
|
width: "50"
|
|
1511
1552
|
}),
|
|
1512
|
-
|
|
1513
|
-
label: "单据编码",
|
|
1553
|
+
T(a(F), {
|
|
1554
|
+
label: a(D)("单据编码"),
|
|
1514
1555
|
prop: "code"
|
|
1515
|
-
}),
|
|
1516
|
-
|
|
1517
|
-
label: "申请人",
|
|
1556
|
+
}, null, 8, ["label"]),
|
|
1557
|
+
T(a(F), {
|
|
1558
|
+
label: a(D)("申请人"),
|
|
1518
1559
|
prop: "userName"
|
|
1519
|
-
}),
|
|
1520
|
-
|
|
1521
|
-
label: "联系电话",
|
|
1560
|
+
}, null, 8, ["label"]),
|
|
1561
|
+
T(a(F), {
|
|
1562
|
+
label: a(D)("联系电话"),
|
|
1522
1563
|
prop: "phone"
|
|
1523
|
-
}),
|
|
1524
|
-
|
|
1525
|
-
label: "计划领用日期",
|
|
1564
|
+
}, null, 8, ["label"]),
|
|
1565
|
+
T(a(F), {
|
|
1566
|
+
label: a(D)("计划领用日期"),
|
|
1526
1567
|
prop: "claimingDate"
|
|
1527
1568
|
}, {
|
|
1528
|
-
default:
|
|
1529
|
-
|
|
1530
|
-
|
|
1569
|
+
default: R(({ row: E }) => [
|
|
1570
|
+
te(
|
|
1571
|
+
ae(E.claimingDate ? a(de)(Number(E == null ? void 0 : E.claimingDate)).format("YYYY/MM/DD") : "-"),
|
|
1531
1572
|
1
|
|
1532
1573
|
/* TEXT */
|
|
1533
1574
|
)
|
|
1534
1575
|
]),
|
|
1535
1576
|
_: 1
|
|
1536
1577
|
/* STABLE */
|
|
1537
|
-
}),
|
|
1538
|
-
|
|
1539
|
-
label: "资产用途",
|
|
1578
|
+
}, 8, ["label"]),
|
|
1579
|
+
T(a(F), {
|
|
1580
|
+
label: a(D)("资产用途"),
|
|
1540
1581
|
prop: "purpose"
|
|
1541
|
-
})
|
|
1582
|
+
}, null, 8, ["label"])
|
|
1542
1583
|
]),
|
|
1543
1584
|
key: "7"
|
|
1544
1585
|
} : void 0
|
|
@@ -1547,51 +1588,51 @@ const pa = (n, e) => {
|
|
|
1547
1588
|
}),
|
|
1548
1589
|
_: 1
|
|
1549
1590
|
/* STABLE */
|
|
1550
|
-
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "onOpenDialog"])) :
|
|
1551
|
-
|
|
1591
|
+
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "onOpenDialog"])) : I("v-if", !0),
|
|
1592
|
+
c.value && a(n) == "position" ? (L(), j(a(Q), {
|
|
1552
1593
|
key: 1,
|
|
1553
1594
|
col: e.span,
|
|
1554
|
-
label:
|
|
1595
|
+
label: Y.setting.desc,
|
|
1555
1596
|
prop: e.setting.name,
|
|
1556
1597
|
type: "treeSelect",
|
|
1557
1598
|
"node-key": "id",
|
|
1558
1599
|
showFullPath: !0,
|
|
1559
|
-
helpMessage:
|
|
1560
|
-
required:
|
|
1561
|
-
modelValue:
|
|
1562
|
-
"onUpdate:modelValue":
|
|
1563
|
-
keyword: a(
|
|
1564
|
-
"onUpdate:keyword":
|
|
1565
|
-
path: a(
|
|
1566
|
-
"onUpdate:path":
|
|
1600
|
+
helpMessage: G.value,
|
|
1601
|
+
required: A.value,
|
|
1602
|
+
modelValue: S.value,
|
|
1603
|
+
"onUpdate:modelValue": $[2] || ($[2] = (N) => S.value = N),
|
|
1604
|
+
keyword: a(x),
|
|
1605
|
+
"onUpdate:keyword": $[3] || ($[3] = (N) => ve(x) ? x.value = N : null),
|
|
1606
|
+
path: a(J),
|
|
1607
|
+
"onUpdate:path": $[4] || ($[4] = (N) => ve(J) ? J.value = N : null),
|
|
1567
1608
|
isView: e.isView,
|
|
1568
|
-
disabled: a(
|
|
1569
|
-
load: a(
|
|
1570
|
-
search: a(
|
|
1609
|
+
disabled: a(g),
|
|
1610
|
+
load: a(ue),
|
|
1611
|
+
search: a(re),
|
|
1571
1612
|
props: {
|
|
1572
1613
|
isLeaf: "leaf",
|
|
1573
1614
|
label: "name"
|
|
1574
1615
|
},
|
|
1575
|
-
onChange: a(
|
|
1576
|
-
}, null, 8, ["col", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) :
|
|
1616
|
+
onChange: a(ne)
|
|
1617
|
+
}, null, 8, ["col", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : I("v-if", !0)
|
|
1577
1618
|
],
|
|
1578
1619
|
64
|
|
1579
1620
|
/* STABLE_FRAGMENT */
|
|
1580
1621
|
));
|
|
1581
1622
|
}
|
|
1582
|
-
}),
|
|
1623
|
+
}), La = /* @__PURE__ */ ce(Sa, [["__scopeId", "data-v-cd4bad82"]]), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1583
1624
|
__proto__: null,
|
|
1584
|
-
default:
|
|
1585
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1625
|
+
default: La
|
|
1626
|
+
}, Symbol.toStringTag, { value: "Module" })), Ma = {
|
|
1586
1627
|
key: 0,
|
|
1587
1628
|
class: "form-image"
|
|
1588
|
-
},
|
|
1629
|
+
}, Ta = {
|
|
1589
1630
|
key: 1,
|
|
1590
1631
|
style: { "margin-bottom": "10px" }
|
|
1591
|
-
},
|
|
1632
|
+
}, ka = {
|
|
1592
1633
|
name: "soundRecording"
|
|
1593
1634
|
}, Ra = /* @__PURE__ */ O({
|
|
1594
|
-
...
|
|
1635
|
+
...ka,
|
|
1595
1636
|
props: {
|
|
1596
1637
|
setting: { default: () => ({
|
|
1597
1638
|
icon: "",
|
|
@@ -1605,59 +1646,59 @@ const pa = (n, e) => {
|
|
|
1605
1646
|
marginRight: {},
|
|
1606
1647
|
store: {}
|
|
1607
1648
|
},
|
|
1608
|
-
setup(
|
|
1609
|
-
const e =
|
|
1610
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1649
|
+
setup(s) {
|
|
1650
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
1651
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
1611
1652
|
() => t.value,
|
|
1612
1653
|
() => {
|
|
1613
|
-
|
|
1654
|
+
p.value = t.value[e.setting.name], p.value || (o.value = "", V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
1614
1655
|
},
|
|
1615
1656
|
{ deep: !0 }
|
|
1616
|
-
),
|
|
1617
|
-
const { baseURL:
|
|
1618
|
-
|
|
1619
|
-
|
|
1657
|
+
), i.value[e.setting.name];
|
|
1658
|
+
const { baseURL: c } = wt(), g = r(!1);
|
|
1659
|
+
W(e.setting.options.validateList).then((v) => {
|
|
1660
|
+
g.value = v;
|
|
1620
1661
|
});
|
|
1621
|
-
const y =
|
|
1622
|
-
e.setting.options.tip && (
|
|
1623
|
-
const
|
|
1624
|
-
if (
|
|
1625
|
-
const
|
|
1626
|
-
|
|
1662
|
+
const y = r("info"), d = r();
|
|
1663
|
+
e.setting.options.tip && (d.value = C(e.setting.options.tip));
|
|
1664
|
+
const o = r();
|
|
1665
|
+
if (m(e.setting.name)) {
|
|
1666
|
+
const v = JSON.parse(m(e.setting.name));
|
|
1667
|
+
o.value = c + v[0].url;
|
|
1627
1668
|
}
|
|
1628
|
-
return e.setting.options.validateList.length &&
|
|
1669
|
+
return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), (v, n) => e.isView && p.value ? (L(), j(a(Q), {
|
|
1629
1670
|
key: 0,
|
|
1630
|
-
modelValue:
|
|
1631
|
-
"onUpdate:modelValue":
|
|
1671
|
+
modelValue: o.value,
|
|
1672
|
+
"onUpdate:modelValue": n[2] || (n[2] = (u) => o.value = u),
|
|
1632
1673
|
"margin-bottom": "0",
|
|
1633
1674
|
prop: e.setting.name,
|
|
1634
|
-
label:
|
|
1675
|
+
label: v.setting.desc,
|
|
1635
1676
|
type: "custom",
|
|
1636
|
-
helpMessage:
|
|
1637
|
-
required:
|
|
1677
|
+
helpMessage: d.value,
|
|
1678
|
+
required: g.value
|
|
1638
1679
|
}, {
|
|
1639
|
-
default:
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
modelValue:
|
|
1643
|
-
"onUpdate:modelValue":
|
|
1680
|
+
default: R(() => [
|
|
1681
|
+
o.value ? (L(), U("div", Ma, [
|
|
1682
|
+
T(a(Ne), {
|
|
1683
|
+
modelValue: o.value,
|
|
1684
|
+
"onUpdate:modelValue": n[0] || (n[0] = (u) => o.value = u),
|
|
1644
1685
|
status: y.value,
|
|
1645
|
-
"onUpdate:status":
|
|
1646
|
-
required:
|
|
1686
|
+
"onUpdate:status": n[1] || (n[1] = (u) => y.value = u),
|
|
1687
|
+
required: g.value
|
|
1647
1688
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1648
|
-
])) : (
|
|
1689
|
+
])) : (L(), U("div", Ta, "-"))
|
|
1649
1690
|
]),
|
|
1650
1691
|
_: 1
|
|
1651
1692
|
/* STABLE */
|
|
1652
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
1693
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : I("v-if", !0);
|
|
1653
1694
|
}
|
|
1654
|
-
}),
|
|
1695
|
+
}), $a = /* @__PURE__ */ ce(Ra, [["__scopeId", "data-v-6caea9d7"]]), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1655
1696
|
__proto__: null,
|
|
1656
|
-
default:
|
|
1657
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1697
|
+
default: $a
|
|
1698
|
+
}, Symbol.toStringTag, { value: "Module" })), Fa = {
|
|
1658
1699
|
name: "switch"
|
|
1659
|
-
},
|
|
1660
|
-
|
|
1700
|
+
}, Ia = /* @__PURE__ */ O({
|
|
1701
|
+
...Fa,
|
|
1661
1702
|
props: {
|
|
1662
1703
|
setting: { default: () => ({
|
|
1663
1704
|
icon: "",
|
|
@@ -1671,51 +1712,51 @@ const pa = (n, e) => {
|
|
|
1671
1712
|
marginRight: {},
|
|
1672
1713
|
store: {}
|
|
1673
1714
|
},
|
|
1674
|
-
setup(
|
|
1675
|
-
const e =
|
|
1676
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1715
|
+
setup(s) {
|
|
1716
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
1717
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
1677
1718
|
() => t.value,
|
|
1678
1719
|
() => {
|
|
1679
|
-
|
|
1720
|
+
p.value = t.value[e.setting.name], p.value || (d.value = null, V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
1680
1721
|
},
|
|
1681
1722
|
{ deep: !0 }
|
|
1682
1723
|
);
|
|
1683
|
-
const
|
|
1684
|
-
|
|
1685
|
-
|
|
1724
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
1725
|
+
W(e.setting.options.validateList).then((o) => {
|
|
1726
|
+
g.value = o;
|
|
1686
1727
|
});
|
|
1687
|
-
const y =
|
|
1688
|
-
e.setting.options.tip && (y.value =
|
|
1689
|
-
const
|
|
1728
|
+
const y = r();
|
|
1729
|
+
e.setting.options.tip && (y.value = C(e.setting.options.tip));
|
|
1730
|
+
const d = r();
|
|
1690
1731
|
return setTimeout(() => {
|
|
1691
|
-
|
|
1692
|
-
}, 50), e.setting.options.validateList.length &&
|
|
1693
|
-
|
|
1694
|
-
}), (
|
|
1732
|
+
d.value = m(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || l(e.setting.name, null);
|
|
1733
|
+
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(d, (o) => {
|
|
1734
|
+
l(e.setting.name, o);
|
|
1735
|
+
}), (o, v) => p.value ? (L(), j(a(Q), {
|
|
1695
1736
|
key: 0,
|
|
1696
1737
|
col: e.span,
|
|
1697
|
-
modelValue:
|
|
1698
|
-
"onUpdate:modelValue":
|
|
1699
|
-
label:
|
|
1738
|
+
modelValue: d.value,
|
|
1739
|
+
"onUpdate:modelValue": v[0] || (v[0] = (n) => d.value = n),
|
|
1740
|
+
label: o.setting.desc,
|
|
1700
1741
|
type: "switch",
|
|
1701
1742
|
prop: e.setting.name,
|
|
1702
|
-
activeValue:
|
|
1703
|
-
inactiveValue:
|
|
1704
|
-
activeText:
|
|
1705
|
-
inactiveText:
|
|
1743
|
+
activeValue: o.setting.options.activeValue,
|
|
1744
|
+
inactiveValue: o.setting.options.inactiveValue,
|
|
1745
|
+
activeText: o.setting.options.activeText,
|
|
1746
|
+
inactiveText: o.setting.options.inactiveText,
|
|
1706
1747
|
helpMessage: y.value,
|
|
1707
|
-
disabled: a(
|
|
1708
|
-
required:
|
|
1748
|
+
disabled: a(c),
|
|
1749
|
+
required: g.value,
|
|
1709
1750
|
isView: e.isView
|
|
1710
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) :
|
|
1751
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : I("v-if", !0);
|
|
1711
1752
|
}
|
|
1712
|
-
}),
|
|
1753
|
+
}), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1713
1754
|
__proto__: null,
|
|
1714
|
-
default:
|
|
1715
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1755
|
+
default: Ia
|
|
1756
|
+
}, Symbol.toStringTag, { value: "Module" })), qa = {
|
|
1716
1757
|
name: "text"
|
|
1717
|
-
},
|
|
1718
|
-
...
|
|
1758
|
+
}, ja = /* @__PURE__ */ O({
|
|
1759
|
+
...qa,
|
|
1719
1760
|
props: {
|
|
1720
1761
|
setting: { default: () => ({
|
|
1721
1762
|
icon: "",
|
|
@@ -1729,47 +1770,47 @@ const pa = (n, e) => {
|
|
|
1729
1770
|
marginRight: {},
|
|
1730
1771
|
store: {}
|
|
1731
1772
|
},
|
|
1732
|
-
setup(
|
|
1733
|
-
const e =
|
|
1734
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1773
|
+
setup(s) {
|
|
1774
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
1775
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
1735
1776
|
() => t.value,
|
|
1736
1777
|
() => {
|
|
1737
|
-
|
|
1778
|
+
p.value = t.value[e.setting.name], p.value || (g.value = null, V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
1738
1779
|
},
|
|
1739
1780
|
{ deep: !0 }
|
|
1740
1781
|
);
|
|
1741
|
-
const
|
|
1742
|
-
e.setting.options.tip && (
|
|
1743
|
-
const
|
|
1744
|
-
return
|
|
1745
|
-
|
|
1746
|
-
}), (y,
|
|
1782
|
+
const c = r();
|
|
1783
|
+
e.setting.options.tip && (c.value = C(e.setting.options.tip));
|
|
1784
|
+
const g = r();
|
|
1785
|
+
return g.value = e.setting.options.textValue, g.value = m(e.setting.name) || g.value, g.value || l(e.setting.name, null), k(g, (y) => {
|
|
1786
|
+
l(e.setting.name, y);
|
|
1787
|
+
}), (y, d) => p.value ? (L(), j(a(Q), {
|
|
1747
1788
|
key: 0,
|
|
1748
1789
|
col: e.span,
|
|
1749
|
-
modelValue:
|
|
1750
|
-
"onUpdate:modelValue":
|
|
1790
|
+
modelValue: g.value,
|
|
1791
|
+
"onUpdate:modelValue": d[1] || (d[1] = (o) => g.value = o),
|
|
1751
1792
|
label: y.setting.desc,
|
|
1752
1793
|
type: "custom",
|
|
1753
|
-
helpMessage:
|
|
1794
|
+
helpMessage: c.value
|
|
1754
1795
|
}, {
|
|
1755
|
-
default:
|
|
1756
|
-
|
|
1796
|
+
default: R(() => [
|
|
1797
|
+
T(a(Oe), {
|
|
1757
1798
|
type: "text",
|
|
1758
|
-
modelValue:
|
|
1759
|
-
"onUpdate:modelValue":
|
|
1799
|
+
modelValue: g.value,
|
|
1800
|
+
"onUpdate:modelValue": d[0] || (d[0] = (o) => g.value = o)
|
|
1760
1801
|
}, null, 8, ["modelValue"])
|
|
1761
1802
|
]),
|
|
1762
1803
|
_: 1
|
|
1763
1804
|
/* STABLE */
|
|
1764
|
-
}, 8, ["col", "modelValue", "label", "helpMessage"])) :
|
|
1805
|
+
}, 8, ["col", "modelValue", "label", "helpMessage"])) : I("v-if", !0);
|
|
1765
1806
|
}
|
|
1766
|
-
}),
|
|
1807
|
+
}), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1767
1808
|
__proto__: null,
|
|
1768
|
-
default:
|
|
1769
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1809
|
+
default: ja
|
|
1810
|
+
}, Symbol.toStringTag, { value: "Module" })), Ba = {
|
|
1770
1811
|
name: "textarea"
|
|
1771
|
-
},
|
|
1772
|
-
...
|
|
1812
|
+
}, Ka = /* @__PURE__ */ O({
|
|
1813
|
+
...Ba,
|
|
1773
1814
|
props: {
|
|
1774
1815
|
setting: { default: () => ({
|
|
1775
1816
|
icon: "",
|
|
@@ -1783,42 +1824,42 @@ const pa = (n, e) => {
|
|
|
1783
1824
|
marginRight: {},
|
|
1784
1825
|
store: {}
|
|
1785
1826
|
},
|
|
1786
|
-
setup(
|
|
1787
|
-
const e =
|
|
1788
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1827
|
+
setup(s) {
|
|
1828
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
1829
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
1789
1830
|
() => t.value,
|
|
1790
1831
|
() => {
|
|
1791
|
-
|
|
1832
|
+
p.value = t.value[e.setting.name], p.value || (d.value = "", V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
1792
1833
|
},
|
|
1793
1834
|
{ deep: !0 }
|
|
1794
1835
|
);
|
|
1795
|
-
const
|
|
1796
|
-
|
|
1797
|
-
|
|
1836
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
1837
|
+
W(e.setting.options.validateList).then((n) => {
|
|
1838
|
+
g.value = n;
|
|
1798
1839
|
});
|
|
1799
|
-
const y =
|
|
1800
|
-
e.setting.options.tip && (y.value =
|
|
1801
|
-
const
|
|
1840
|
+
const y = r();
|
|
1841
|
+
e.setting.options.tip && (y.value = C(e.setting.options.tip));
|
|
1842
|
+
const d = r("");
|
|
1802
1843
|
setTimeout(() => {
|
|
1803
|
-
|
|
1844
|
+
d.value = m(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || l(e.setting.name, null);
|
|
1804
1845
|
}, 50);
|
|
1805
|
-
const
|
|
1806
|
-
return
|
|
1807
|
-
|
|
1808
|
-
}), (
|
|
1809
|
-
|
|
1846
|
+
const o = r(), v = r();
|
|
1847
|
+
return o.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", v.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(d, (n) => {
|
|
1848
|
+
l(e.setting.name, n);
|
|
1849
|
+
}), (n, u) => (L(), U(
|
|
1850
|
+
X,
|
|
1810
1851
|
null,
|
|
1811
1852
|
[
|
|
1812
|
-
!
|
|
1853
|
+
!n.setting.options.isEditor && p.value ? (L(), j(a(Q), {
|
|
1813
1854
|
key: 0,
|
|
1814
1855
|
col: e.span,
|
|
1815
|
-
label:
|
|
1856
|
+
label: n.setting.desc,
|
|
1816
1857
|
type: "textarea",
|
|
1817
|
-
modelValue:
|
|
1818
|
-
"onUpdate:modelValue":
|
|
1858
|
+
modelValue: d.value,
|
|
1859
|
+
"onUpdate:modelValue": u[0] || (u[0] = (_) => d.value = _),
|
|
1819
1860
|
prop: e.setting.name,
|
|
1820
|
-
placeholder:
|
|
1821
|
-
disabled:
|
|
1861
|
+
placeholder: n.setting.options.placeholder,
|
|
1862
|
+
disabled: n.setting.options.isInputEdit || a(c),
|
|
1822
1863
|
isView: e.isView,
|
|
1823
1864
|
autosize: {
|
|
1824
1865
|
minRows: 1,
|
|
@@ -1826,45 +1867,45 @@ const pa = (n, e) => {
|
|
|
1826
1867
|
},
|
|
1827
1868
|
"show-word-limit": "",
|
|
1828
1869
|
helpMessage: y.value,
|
|
1829
|
-
required:
|
|
1830
|
-
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) :
|
|
1831
|
-
|
|
1870
|
+
required: g.value
|
|
1871
|
+
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : I("v-if", !0),
|
|
1872
|
+
n.setting.options.isEditor && p.value ? (L(), j(a(Q), {
|
|
1832
1873
|
key: 1,
|
|
1833
|
-
modelValue:
|
|
1834
|
-
"onUpdate:modelValue":
|
|
1874
|
+
modelValue: d.value,
|
|
1875
|
+
"onUpdate:modelValue": u[2] || (u[2] = (_) => d.value = _),
|
|
1835
1876
|
prop: e.setting.name,
|
|
1836
|
-
contentWidth:
|
|
1837
|
-
label:
|
|
1877
|
+
contentWidth: o.value,
|
|
1878
|
+
label: n.setting.desc,
|
|
1838
1879
|
type: "custom",
|
|
1839
1880
|
helpMessage: y.value,
|
|
1840
|
-
required:
|
|
1881
|
+
required: g.value,
|
|
1841
1882
|
readOnly: e.isView
|
|
1842
1883
|
}, {
|
|
1843
|
-
default:
|
|
1844
|
-
|
|
1884
|
+
default: R(() => [
|
|
1885
|
+
T(a(Oe), {
|
|
1845
1886
|
ref: "editor",
|
|
1846
|
-
width:
|
|
1847
|
-
height:
|
|
1848
|
-
modelValue:
|
|
1849
|
-
"onUpdate:modelValue":
|
|
1850
|
-
placeholder:
|
|
1887
|
+
width: o.value,
|
|
1888
|
+
height: v.value,
|
|
1889
|
+
modelValue: d.value,
|
|
1890
|
+
"onUpdate:modelValue": u[1] || (u[1] = (_) => d.value = _),
|
|
1891
|
+
placeholder: n.setting.options.placeholder
|
|
1851
1892
|
}, null, 8, ["width", "height", "modelValue", "placeholder"])
|
|
1852
1893
|
]),
|
|
1853
1894
|
_: 1
|
|
1854
1895
|
/* STABLE */
|
|
1855
|
-
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) :
|
|
1896
|
+
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : I("v-if", !0)
|
|
1856
1897
|
],
|
|
1857
1898
|
64
|
|
1858
1899
|
/* STABLE_FRAGMENT */
|
|
1859
1900
|
));
|
|
1860
1901
|
}
|
|
1861
|
-
}),
|
|
1902
|
+
}), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1862
1903
|
__proto__: null,
|
|
1863
|
-
default:
|
|
1864
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1904
|
+
default: Ka
|
|
1905
|
+
}, Symbol.toStringTag, { value: "Module" })), Na = {
|
|
1865
1906
|
name: "time"
|
|
1866
|
-
},
|
|
1867
|
-
...
|
|
1907
|
+
}, Pa = /* @__PURE__ */ O({
|
|
1908
|
+
...Na,
|
|
1868
1909
|
props: {
|
|
1869
1910
|
setting: { default: () => ({
|
|
1870
1911
|
icon: "",
|
|
@@ -1878,45 +1919,45 @@ const pa = (n, e) => {
|
|
|
1878
1919
|
marginRight: {},
|
|
1879
1920
|
store: {}
|
|
1880
1921
|
},
|
|
1881
|
-
setup(
|
|
1882
|
-
const e =
|
|
1883
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1922
|
+
setup(s) {
|
|
1923
|
+
const e = s, { showData: t, disabledData: i, setData: l, getData: m, setFormRule: b, deleteRule: V } = e.store || {}, p = r(!0);
|
|
1924
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
|
|
1884
1925
|
() => t.value,
|
|
1885
1926
|
() => {
|
|
1886
|
-
|
|
1927
|
+
p.value = t.value[e.setting.name], p.value || (d.value = null, V(e.setting.name)), p.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
|
|
1887
1928
|
},
|
|
1888
1929
|
{ deep: !0 }
|
|
1889
1930
|
);
|
|
1890
|
-
const
|
|
1891
|
-
|
|
1892
|
-
|
|
1931
|
+
const c = i.value[e.setting.name] || !1, g = r(!1);
|
|
1932
|
+
W(e.setting.options.validateList).then((o) => {
|
|
1933
|
+
g.value = o;
|
|
1893
1934
|
});
|
|
1894
|
-
const y =
|
|
1895
|
-
e.setting.options.tip && (y.value =
|
|
1896
|
-
const
|
|
1935
|
+
const y = r();
|
|
1936
|
+
e.setting.options.tip && (y.value = C(e.setting.options.tip));
|
|
1937
|
+
const d = r();
|
|
1897
1938
|
return setTimeout(() => {
|
|
1898
|
-
const
|
|
1899
|
-
|
|
1900
|
-
}, 50), e.setting.options.validateList.length &&
|
|
1901
|
-
|
|
1902
|
-
}), (
|
|
1939
|
+
const o = de().format("YYYY-MM-DD ");
|
|
1940
|
+
m(e.setting.name) && (d.value = m(e.setting.name)), e.setting.options.formulasDiyJs && (d.value = de(o + e.setting.options.formulasDiyJs)), d.value || l(e.setting.name, null);
|
|
1941
|
+
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), k(d, (o) => {
|
|
1942
|
+
l(e.setting.name, o);
|
|
1943
|
+
}), (o, v) => p.value ? (L(), j(a(Q), {
|
|
1903
1944
|
key: 0,
|
|
1904
1945
|
col: e.span,
|
|
1905
|
-
modelValue:
|
|
1906
|
-
"onUpdate:modelValue":
|
|
1946
|
+
modelValue: d.value,
|
|
1947
|
+
"onUpdate:modelValue": v[0] || (v[0] = (n) => d.value = n),
|
|
1907
1948
|
prop: e.setting.name,
|
|
1908
|
-
label:
|
|
1949
|
+
label: o.setting.desc,
|
|
1909
1950
|
type: "time",
|
|
1910
1951
|
helpMessage: y.value,
|
|
1911
1952
|
isView: e.isView,
|
|
1912
|
-
required:
|
|
1913
|
-
disabled: a(
|
|
1914
|
-
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) :
|
|
1953
|
+
required: g.value,
|
|
1954
|
+
disabled: a(c)
|
|
1955
|
+
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : I("v-if", !0);
|
|
1915
1956
|
}
|
|
1916
|
-
}),
|
|
1957
|
+
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1917
1958
|
__proto__: null,
|
|
1918
|
-
default:
|
|
1919
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1959
|
+
default: Pa
|
|
1960
|
+
}, Symbol.toStringTag, { value: "Module" })), Ea = O({
|
|
1920
1961
|
name: "accordion",
|
|
1921
1962
|
props: {
|
|
1922
1963
|
columns: {
|
|
@@ -1932,34 +1973,34 @@ const pa = (n, e) => {
|
|
|
1932
1973
|
type: Object
|
|
1933
1974
|
}
|
|
1934
1975
|
},
|
|
1935
|
-
setup(
|
|
1936
|
-
const e =
|
|
1937
|
-
const
|
|
1938
|
-
(
|
|
1976
|
+
setup(s) {
|
|
1977
|
+
const e = r([]), t = s.columns.map((i) => {
|
|
1978
|
+
const l = i.list.map(
|
|
1979
|
+
(m) => ie(ge[m.ctrlType], { setting: m, isView: s.isView, store: s.store })
|
|
1939
1980
|
);
|
|
1940
|
-
return
|
|
1981
|
+
return i.isOpen == !0 && e.value.push(i.idKey), ie(
|
|
1941
1982
|
Ae,
|
|
1942
1983
|
{
|
|
1943
|
-
header:
|
|
1944
|
-
key: `${
|
|
1984
|
+
header: i.span,
|
|
1985
|
+
key: `${i.idKey}`
|
|
1945
1986
|
},
|
|
1946
|
-
|
|
1987
|
+
ie("div", l)
|
|
1947
1988
|
);
|
|
1948
1989
|
});
|
|
1949
|
-
return () =>
|
|
1990
|
+
return () => ie(
|
|
1950
1991
|
"div",
|
|
1951
1992
|
{ class: "accordion-layout" },
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
{ activeKey: e.value, collapsible:
|
|
1993
|
+
ie(
|
|
1994
|
+
Qe,
|
|
1995
|
+
{ activeKey: e.value, collapsible: s.options.accordion ? "" : "disabled" },
|
|
1955
1996
|
t
|
|
1956
1997
|
)
|
|
1957
1998
|
);
|
|
1958
1999
|
}
|
|
1959
|
-
}),
|
|
2000
|
+
}), Oa = {
|
|
1960
2001
|
name: "accordion"
|
|
1961
|
-
},
|
|
1962
|
-
...
|
|
2002
|
+
}, Qa = /* @__PURE__ */ O({
|
|
2003
|
+
...Oa,
|
|
1963
2004
|
props: {
|
|
1964
2005
|
setting: { default: () => ({
|
|
1965
2006
|
name: "",
|
|
@@ -1986,8 +2027,8 @@ const pa = (n, e) => {
|
|
|
1986
2027
|
isView: { type: Boolean },
|
|
1987
2028
|
store: {}
|
|
1988
2029
|
},
|
|
1989
|
-
setup(
|
|
1990
|
-
return (e, t) => (
|
|
2030
|
+
setup(s) {
|
|
2031
|
+
return (e, t) => (L(), j(a(Ea), {
|
|
1991
2032
|
columns: e.setting.columns,
|
|
1992
2033
|
options: e.setting.options,
|
|
1993
2034
|
isView: e.isView,
|
|
@@ -1997,7 +2038,7 @@ const pa = (n, e) => {
|
|
|
1997
2038
|
}
|
|
1998
2039
|
}), Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1999
2040
|
__proto__: null,
|
|
2000
|
-
default:
|
|
2041
|
+
default: Qa
|
|
2001
2042
|
}, Symbol.toStringTag, { value: "Module" })), za = {
|
|
2002
2043
|
name: "grid"
|
|
2003
2044
|
}, Ua = /* @__PURE__ */ O({
|
|
@@ -2025,29 +2066,29 @@ const pa = (n, e) => {
|
|
|
2025
2066
|
isView: { type: Boolean },
|
|
2026
2067
|
store: {}
|
|
2027
2068
|
},
|
|
2028
|
-
setup(
|
|
2029
|
-
const e =
|
|
2030
|
-
return (t,
|
|
2031
|
-
|
|
2069
|
+
setup(s) {
|
|
2070
|
+
const e = s;
|
|
2071
|
+
return (t, i) => (L(), U(
|
|
2072
|
+
X,
|
|
2032
2073
|
null,
|
|
2033
2074
|
[
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
(
|
|
2037
|
-
|
|
2075
|
+
I(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
|
|
2076
|
+
I(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
|
|
2077
|
+
(L(!0), U(
|
|
2078
|
+
X,
|
|
2038
2079
|
null,
|
|
2039
|
-
|
|
2040
|
-
|
|
2080
|
+
oe(t.setting.columns, (l) => (L(), U(
|
|
2081
|
+
X,
|
|
2041
2082
|
null,
|
|
2042
2083
|
[
|
|
2043
|
-
(
|
|
2044
|
-
|
|
2084
|
+
(L(!0), U(
|
|
2085
|
+
X,
|
|
2045
2086
|
null,
|
|
2046
|
-
|
|
2047
|
-
setting:
|
|
2087
|
+
oe(l.list, (m) => (L(), j(we(a(Ya)[m.ctrlType]), {
|
|
2088
|
+
setting: m,
|
|
2048
2089
|
isView: e.isView,
|
|
2049
2090
|
store: t.store,
|
|
2050
|
-
span:
|
|
2091
|
+
span: l.span
|
|
2051
2092
|
}, null, 8, ["setting", "isView", "store", "span"]))),
|
|
2052
2093
|
256
|
|
2053
2094
|
/* UNKEYED_FRAGMENT */
|
|
@@ -2059,144 +2100,148 @@ const pa = (n, e) => {
|
|
|
2059
2100
|
256
|
|
2060
2101
|
/* UNKEYED_FRAGMENT */
|
|
2061
2102
|
)),
|
|
2062
|
-
|
|
2103
|
+
I(" </div> ")
|
|
2063
2104
|
],
|
|
2064
2105
|
2112
|
|
2065
2106
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2066
2107
|
));
|
|
2067
2108
|
}
|
|
2068
|
-
}),
|
|
2109
|
+
}), Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2069
2110
|
__proto__: null,
|
|
2070
2111
|
default: Ua
|
|
2071
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2072
|
-
Object.keys(
|
|
2073
|
-
Object.keys(he).map((
|
|
2074
|
-
Object.keys(
|
|
2075
|
-
Object.keys(
|
|
2076
|
-
const
|
|
2077
|
-
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${
|
|
2078
|
-
},
|
|
2079
|
-
e !== "" && e.length > parseInt(
|
|
2080
|
-
},
|
|
2081
|
-
e !== "" && e.length < parseInt(
|
|
2082
|
-
},
|
|
2112
|
+
}, Symbol.toStringTag, { value: "Module" })), ye = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ue, "./base/autocomplete.vue": Ce, "./base/checkbox.vue": xe, "./base/date.vue": Ye, "./base/dropdown.vue": Je, "./base/imageViewer.vue": We, "./base/input.vue": He, "./base/number.vue": Ze, "./base/radio.vue": Ge, "./base/select.vue": Xe, "./base/selector.vue": et, "./base/soundRecording.vue": tt, "./base/switch.vue": at, "./base/text.vue": st, "./base/textarea.vue": nt, "./base/time.vue": lt, "./layout/accordion/accordion.vue": Aa, "./layout/grid/gridLayout.vue": Ca }), be = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ue, "./base/autocomplete.vue": Ce, "./base/checkbox.vue": xe, "./base/date.vue": Ye, "./base/dropdown.vue": Je, "./base/imageViewer.vue": We, "./base/input.vue": He, "./base/number.vue": Ze, "./base/radio.vue": Ge, "./base/select.vue": Xe, "./base/selector.vue": et, "./base/soundRecording.vue": tt, "./base/switch.vue": at, "./base/text.vue": st, "./base/textarea.vue": nt, "./base/time.vue": lt }), he = /* @__PURE__ */ Object.assign({}), _e = /* @__PURE__ */ Object.assign({}), ge = {}, it = {}, ot = {}, xa = {};
|
|
2113
|
+
Object.keys(be).map((s) => it[be[s].default.name] = be[s].default);
|
|
2114
|
+
Object.keys(he).map((s) => ot[he[s].default.name] = he[s].default);
|
|
2115
|
+
Object.keys(_e).map((s) => xa[_e[s].default.name] = _e[s].default);
|
|
2116
|
+
Object.keys(ye).map((s) => ge[ye[s].default.name] = ye[s].default);
|
|
2117
|
+
const Ya = { ...it, ...ot }, Ja = (s, e, t, i) => {
|
|
2118
|
+
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${i.name}`)) : t();
|
|
2119
|
+
}, Wa = (s, e, t, i) => {
|
|
2120
|
+
e !== "" && e.length > parseInt(i.value) ? t(new Error(`${i.name}${D("不能超过")}${i.value}`)) : t();
|
|
2121
|
+
}, Ha = (s, e, t, i) => {
|
|
2122
|
+
e !== "" && e.length < parseInt(i.value) ? t(new Error(`${i.name}${D("不能少于")}${i.value}`)) : t();
|
|
2123
|
+
}, Za = (s, e, t, i) => {
|
|
2083
2124
|
if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
|
|
2084
|
-
return t(new Error("手机号码格式不正确,请重新输入")), !1;
|
|
2125
|
+
return t(new Error(D("手机号码格式不正确,请重新输入"))), !1;
|
|
2085
2126
|
t();
|
|
2086
|
-
},
|
|
2127
|
+
}, Ga = (s, e, t) => {
|
|
2087
2128
|
if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
|
|
2088
|
-
return t(new Error("电子邮箱格式不正确,请重新输入")), !1;
|
|
2129
|
+
return t(new Error(D("电子邮箱格式不正确,请重新输入"))), !1;
|
|
2089
2130
|
t();
|
|
2090
|
-
},
|
|
2131
|
+
}, Xa = (s, e, t) => {
|
|
2091
2132
|
if (e !== "" && !/^-?\d+$/.test(e))
|
|
2092
|
-
return t(new Error("请输入整数")), !1;
|
|
2133
|
+
return t(new Error(D("请输入整数"))), !1;
|
|
2093
2134
|
t();
|
|
2094
|
-
},
|
|
2095
|
-
if (e !== "" && e !=
|
|
2096
|
-
return t(new Error("请输入相同的值")), !1;
|
|
2135
|
+
}, es = (s, e, t, i) => {
|
|
2136
|
+
if (e !== "" && e != i.value)
|
|
2137
|
+
return t(new Error(D("请输入相同的值"))), !1;
|
|
2097
2138
|
t();
|
|
2098
|
-
},
|
|
2099
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(
|
|
2100
|
-
},
|
|
2101
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(
|
|
2102
|
-
},
|
|
2103
|
-
const
|
|
2104
|
-
e === "" ? t() :
|
|
2105
|
-
},
|
|
2106
|
-
e === "" || parseFloat(e) === parseFloat(
|
|
2107
|
-
},
|
|
2108
|
-
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(
|
|
2109
|
-
}, is = (
|
|
2139
|
+
}, ts = (s, e, t, i) => {
|
|
2140
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(i.value) ? t(new Error(`${i.name}${D("不能小于")}${i.value}`)) : t() : t(new Error(D("请输入数字")));
|
|
2141
|
+
}, as = (s, e, t, i) => {
|
|
2142
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(i.value) ? t(new Error(`${i.name}${D("不能大于")}${i.value}`)) : t() : t(new Error(D("请输入数字")));
|
|
2143
|
+
}, ss = (s, e, t, i) => {
|
|
2144
|
+
const l = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, m = /^-?\d+$/;
|
|
2145
|
+
e === "" ? t() : l.test(e) || m.test(e) ? e >= parseFloat(i.start) && e <= parseFloat(i.end) ? t() : t(new Error(`${D("只能输入指定数字范围")}${i.start}-${i.end}`)) : t(new Error(D("请输入数字")));
|
|
2146
|
+
}, ns = (s, e, t, i) => {
|
|
2147
|
+
e === "" || parseFloat(e) === parseFloat(i.value) ? t() : t(new Error(`${D("只能输入指定的值")}${i.value}`));
|
|
2148
|
+
}, ls = (s, e, t, i) => {
|
|
2149
|
+
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(i.value) ? t() : t(new Error(`${D("只能输入")}${i.value}${D("位数数字")}`)) : t(new Error(D("请输入整数")));
|
|
2150
|
+
}, is = (s, e, t) => {
|
|
2110
2151
|
if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
|
|
2111
|
-
return t(new Error("只能输入字母")), !1;
|
|
2152
|
+
return t(new Error(D("只能输入字母"))), !1;
|
|
2112
2153
|
t();
|
|
2113
|
-
}, os = (
|
|
2154
|
+
}, os = (s, e, t) => {
|
|
2114
2155
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
2115
|
-
return t(new Error("只能输入字母空格")), !1;
|
|
2156
|
+
return t(new Error(D("只能输入字母空格"))), !1;
|
|
2116
2157
|
t();
|
|
2117
|
-
},
|
|
2158
|
+
}, us = (s, e, t) => {
|
|
2118
2159
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
2119
|
-
return t(new Error("只能输入字母数字横线下划线")), !1;
|
|
2160
|
+
return t(new Error(D("只能输入字母数字横线下划线"))), !1;
|
|
2120
2161
|
t();
|
|
2121
|
-
},
|
|
2162
|
+
}, rs = (s, e, t) => {
|
|
2122
2163
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
2123
|
-
return t(new Error("只能输入字母数字")), !1;
|
|
2164
|
+
return t(new Error(D("只能输入字母数字"))), !1;
|
|
2124
2165
|
t();
|
|
2125
|
-
},
|
|
2126
|
-
const
|
|
2127
|
-
if (e !== "" && !
|
|
2128
|
-
return t(new Error(
|
|
2166
|
+
}, ps = (s, e, t, i) => {
|
|
2167
|
+
const l = new RegExp(i.value);
|
|
2168
|
+
if (e !== "" && !l.test(e))
|
|
2169
|
+
return t(new Error(i.errorMessage)), !1;
|
|
2129
2170
|
t();
|
|
2130
|
-
},
|
|
2131
|
-
required:
|
|
2132
|
-
min:
|
|
2133
|
-
max:
|
|
2134
|
-
email:
|
|
2135
|
-
min_value:
|
|
2136
|
-
max_value:
|
|
2137
|
-
confirmed:
|
|
2138
|
-
numeric:
|
|
2139
|
-
between:
|
|
2140
|
-
is:
|
|
2141
|
-
digits:
|
|
2142
|
-
mobile:
|
|
2171
|
+
}, ds = {
|
|
2172
|
+
required: Ja,
|
|
2173
|
+
min: Ha,
|
|
2174
|
+
max: Wa,
|
|
2175
|
+
email: Ga,
|
|
2176
|
+
min_value: ts,
|
|
2177
|
+
max_value: as,
|
|
2178
|
+
confirmed: es,
|
|
2179
|
+
numeric: Xa,
|
|
2180
|
+
between: ss,
|
|
2181
|
+
is: ns,
|
|
2182
|
+
digits: ls,
|
|
2183
|
+
mobile: Za,
|
|
2143
2184
|
alpha: is,
|
|
2144
2185
|
alpha_spaces: os,
|
|
2145
|
-
alpha_dash:
|
|
2146
|
-
alpha_num:
|
|
2147
|
-
regex:
|
|
2148
|
-
},
|
|
2149
|
-
const
|
|
2186
|
+
alpha_dash: us,
|
|
2187
|
+
alpha_num: rs,
|
|
2188
|
+
regex: ps
|
|
2189
|
+
}, gs = () => {
|
|
2190
|
+
const s = r({}), e = r([]), t = r({}), i = r({}), l = r([]), m = r(""), b = r(""), V = r({}), p = r({});
|
|
2150
2191
|
return {
|
|
2151
|
-
data:
|
|
2192
|
+
data: s,
|
|
2152
2193
|
formData: e,
|
|
2153
|
-
formRule:
|
|
2194
|
+
formRule: V,
|
|
2154
2195
|
showData: t,
|
|
2155
|
-
disabledData:
|
|
2156
|
-
flowKey:
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2196
|
+
disabledData: i,
|
|
2197
|
+
flowKey: m,
|
|
2198
|
+
linkData: p,
|
|
2199
|
+
setData: (f, h) => {
|
|
2200
|
+
e.value.forEach((w) => {
|
|
2201
|
+
w.formKey === b.value && (w.data[f] = h);
|
|
2160
2202
|
});
|
|
2161
2203
|
},
|
|
2162
|
-
setDetailData: (
|
|
2163
|
-
|
|
2164
|
-
|
|
2204
|
+
setDetailData: (f) => {
|
|
2205
|
+
s.value = f, e.value.forEach((h) => {
|
|
2206
|
+
h.formKey === b.value && (h.data = f);
|
|
2165
2207
|
});
|
|
2166
2208
|
},
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2209
|
+
setLinkData: (f, h) => {
|
|
2210
|
+
p.value = { data: f, val: h };
|
|
2211
|
+
},
|
|
2212
|
+
getData: (f) => s.value[f],
|
|
2213
|
+
setFormData: (f, h, w) => {
|
|
2214
|
+
b.value = f, l.value.includes(f) ? e.value.forEach((M) => {
|
|
2215
|
+
M.formKey === f && (s.value = M.data);
|
|
2216
|
+
}) : (l.value.push(f), e.value.push({
|
|
2217
|
+
formKey: f,
|
|
2218
|
+
boKey: h,
|
|
2219
|
+
reportId: w || null,
|
|
2175
2220
|
data: {}
|
|
2176
2221
|
}));
|
|
2177
2222
|
},
|
|
2178
2223
|
getFormData: () => e.value,
|
|
2179
|
-
setFormRule: (
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
validator: (
|
|
2224
|
+
setFormRule: (f, h) => {
|
|
2225
|
+
V.value[f] = [], h && h.length && h.forEach((w) => {
|
|
2226
|
+
V.value[f].push({
|
|
2227
|
+
validator: (M, B, H) => ds[w.key](M, B, H, w)
|
|
2183
2228
|
});
|
|
2184
2229
|
});
|
|
2185
2230
|
},
|
|
2186
2231
|
clearData: () => {
|
|
2187
|
-
|
|
2232
|
+
s.value = {}, e.value = [], l.value = [], V.value = {};
|
|
2188
2233
|
},
|
|
2189
|
-
deleteRule: (
|
|
2190
|
-
delete
|
|
2234
|
+
deleteRule: (f) => {
|
|
2235
|
+
delete V.value[f];
|
|
2191
2236
|
}
|
|
2192
2237
|
};
|
|
2193
|
-
},
|
|
2238
|
+
}, cs = { class: "custom-page" }, vs = {
|
|
2194
2239
|
key: 0,
|
|
2195
2240
|
class: "btn-box"
|
|
2196
|
-
},
|
|
2241
|
+
}, ms = {
|
|
2197
2242
|
key: 0,
|
|
2198
2243
|
style: { "background-color": "#fff" }
|
|
2199
|
-
},
|
|
2244
|
+
}, fs = /* @__PURE__ */ O({
|
|
2200
2245
|
__name: "App",
|
|
2201
2246
|
props: {
|
|
2202
2247
|
formConfigurationId: {},
|
|
@@ -2209,59 +2254,59 @@ const xa = { ...it, ...ot }, Ya = (n, e, t, o) => {
|
|
|
2209
2254
|
disabledData: { default: {} }
|
|
2210
2255
|
},
|
|
2211
2256
|
emits: ["handleClick", "change"],
|
|
2212
|
-
setup(
|
|
2213
|
-
const
|
|
2214
|
-
|
|
2215
|
-
const y = (
|
|
2216
|
-
|
|
2217
|
-
() =>
|
|
2218
|
-
(
|
|
2219
|
-
|
|
2257
|
+
setup(s, { expose: e, emit: t }) {
|
|
2258
|
+
const i = gs(), { formRule: l, data: m, flowKey: b, clearData: V, getFormData: p } = i, c = s, g = t;
|
|
2259
|
+
b.value = c.flowKey;
|
|
2260
|
+
const y = (z) => z === "grid", d = (z) => z === "accordion";
|
|
2261
|
+
k(
|
|
2262
|
+
() => m.value,
|
|
2263
|
+
(z) => {
|
|
2264
|
+
g("change", z);
|
|
2220
2265
|
},
|
|
2221
2266
|
{
|
|
2222
2267
|
immediate: !0,
|
|
2223
2268
|
deep: !0
|
|
2224
2269
|
}
|
|
2225
2270
|
);
|
|
2226
|
-
const { formJsonList:
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
),
|
|
2231
|
-
const { key:
|
|
2232
|
-
|
|
2233
|
-
},
|
|
2234
|
-
let
|
|
2235
|
-
for (const
|
|
2236
|
-
|
|
2237
|
-
|
|
2271
|
+
const { formJsonList: o, isShowPage: v, btnList: n, formRef: u, activityKeys: _, getForm: f, getBtnSet: h, handleClick: w } = Yt(
|
|
2272
|
+
c,
|
|
2273
|
+
g,
|
|
2274
|
+
i
|
|
2275
|
+
), M = r({}), B = (z, J) => {
|
|
2276
|
+
const { key: q } = J;
|
|
2277
|
+
M.value[q] || (M.value[q] = z);
|
|
2278
|
+
}, H = () => new Promise((z, J) => {
|
|
2279
|
+
let q = !0;
|
|
2280
|
+
for (const x in M.value)
|
|
2281
|
+
M.value[x].validate((ne) => {
|
|
2282
|
+
ne == !1 && (q = !1);
|
|
2238
2283
|
});
|
|
2239
2284
|
setTimeout(() => {
|
|
2240
|
-
|
|
2241
|
-
result:
|
|
2242
|
-
data:
|
|
2285
|
+
z({
|
|
2286
|
+
result: q,
|
|
2287
|
+
data: p()
|
|
2243
2288
|
});
|
|
2244
2289
|
}, 50);
|
|
2245
2290
|
});
|
|
2246
|
-
return
|
|
2247
|
-
|
|
2291
|
+
return pt(async () => {
|
|
2292
|
+
c.isShowBtn == !1 ? f(c.formConfigurationId) : h();
|
|
2248
2293
|
}), e({
|
|
2249
|
-
validateFormData:
|
|
2250
|
-
clearData:
|
|
2251
|
-
}), (
|
|
2252
|
-
a(
|
|
2253
|
-
(
|
|
2254
|
-
|
|
2294
|
+
validateFormData: H,
|
|
2295
|
+
clearData: V
|
|
2296
|
+
}), (z, J) => (L(), U("div", cs, [
|
|
2297
|
+
a(n).length > 0 ? (L(), U("div", vs, [
|
|
2298
|
+
(L(!0), U(
|
|
2299
|
+
X,
|
|
2255
2300
|
null,
|
|
2256
|
-
|
|
2257
|
-
key:
|
|
2301
|
+
oe(a(n), (q) => (L(), j(a(vt), {
|
|
2302
|
+
key: q.id,
|
|
2258
2303
|
style: { "margin-right": "20px" },
|
|
2259
2304
|
"btn-type": "primary",
|
|
2260
|
-
onClick: (
|
|
2305
|
+
onClick: (x) => a(w)(q)
|
|
2261
2306
|
}, {
|
|
2262
|
-
default:
|
|
2263
|
-
|
|
2264
|
-
|
|
2307
|
+
default: R(() => [
|
|
2308
|
+
te(
|
|
2309
|
+
ae(q.name),
|
|
2265
2310
|
1
|
|
2266
2311
|
/* TEXT */
|
|
2267
2312
|
)
|
|
@@ -2272,77 +2317,77 @@ const xa = { ...it, ...ot }, Ya = (n, e, t, o) => {
|
|
|
2272
2317
|
128
|
|
2273
2318
|
/* KEYED_FRAGMENT */
|
|
2274
2319
|
))
|
|
2275
|
-
])) :
|
|
2276
|
-
|
|
2320
|
+
])) : I("v-if", !0),
|
|
2321
|
+
dt((L(), U(
|
|
2277
2322
|
"div",
|
|
2278
2323
|
{
|
|
2279
2324
|
class: "content-box",
|
|
2280
|
-
style:
|
|
2325
|
+
style: gt({ margin: "0 10px", ...z.customStyle })
|
|
2281
2326
|
},
|
|
2282
2327
|
[
|
|
2283
|
-
(
|
|
2284
|
-
|
|
2328
|
+
(L(!0), U(
|
|
2329
|
+
X,
|
|
2285
2330
|
null,
|
|
2286
|
-
|
|
2287
|
-
|
|
2331
|
+
oe(a(o), (q) => (L(), U(
|
|
2332
|
+
X,
|
|
2288
2333
|
{
|
|
2289
|
-
key:
|
|
2334
|
+
key: q.name
|
|
2290
2335
|
},
|
|
2291
2336
|
[
|
|
2292
|
-
y(
|
|
2293
|
-
a(
|
|
2337
|
+
y(q.ctrlType) ? (L(), U("div", ms, [
|
|
2338
|
+
a(v) ? (L(), j(a(qe), {
|
|
2294
2339
|
key: 0,
|
|
2295
2340
|
ref_for: !0,
|
|
2296
|
-
ref: (
|
|
2341
|
+
ref: (x) => B(x, q),
|
|
2297
2342
|
cols: 24,
|
|
2298
2343
|
"auto-margin-right": "",
|
|
2299
2344
|
alignType: "horizontal",
|
|
2300
2345
|
"margin-right": "80px",
|
|
2301
|
-
rules: a(
|
|
2302
|
-
form: a(
|
|
2346
|
+
rules: a(l),
|
|
2347
|
+
form: a(i).data
|
|
2303
2348
|
}, {
|
|
2304
|
-
default:
|
|
2305
|
-
(
|
|
2306
|
-
setting:
|
|
2307
|
-
isView:
|
|
2308
|
-
store: a(
|
|
2349
|
+
default: R(() => [
|
|
2350
|
+
(L(), j(we(a(ge)[q.ctrlType]), {
|
|
2351
|
+
setting: q,
|
|
2352
|
+
isView: c.isView,
|
|
2353
|
+
store: a(i)
|
|
2309
2354
|
}, null, 8, ["setting", "isView", "store"]))
|
|
2310
2355
|
]),
|
|
2311
2356
|
_: 2
|
|
2312
2357
|
/* DYNAMIC */
|
|
2313
|
-
}, 1032, ["rules", "form"])) :
|
|
2314
|
-
])) :
|
|
2315
|
-
|
|
2358
|
+
}, 1032, ["rules", "form"])) : I("v-if", !0)
|
|
2359
|
+
])) : I("v-if", !0),
|
|
2360
|
+
d(q.ctrlType) ? (L(), j(a(Qe), {
|
|
2316
2361
|
key: 1,
|
|
2317
2362
|
style: { "margin-bottom": "10px" },
|
|
2318
|
-
collapsible:
|
|
2319
|
-
activeKey: a(
|
|
2363
|
+
collapsible: q.options.accordion ? "" : "disabled",
|
|
2364
|
+
activeKey: a(_)
|
|
2320
2365
|
}, {
|
|
2321
|
-
default:
|
|
2322
|
-
(
|
|
2323
|
-
key:
|
|
2324
|
-
header:
|
|
2366
|
+
default: R(() => [
|
|
2367
|
+
(L(), j(a(Ae), {
|
|
2368
|
+
key: q.columns[0].idKey,
|
|
2369
|
+
header: q.columns[0].span
|
|
2325
2370
|
}, {
|
|
2326
|
-
default:
|
|
2327
|
-
|
|
2371
|
+
default: R(() => [
|
|
2372
|
+
T(a(qe), {
|
|
2328
2373
|
ref_for: !0,
|
|
2329
|
-
ref: (
|
|
2374
|
+
ref: (x) => B(x, q),
|
|
2330
2375
|
cols: 24,
|
|
2331
2376
|
alignType: "horizontal",
|
|
2332
2377
|
"margin-right": "80px",
|
|
2333
2378
|
"auto-margin-right": "",
|
|
2334
|
-
rules: a(
|
|
2335
|
-
form: a(
|
|
2379
|
+
rules: a(l),
|
|
2380
|
+
form: a(i).data
|
|
2336
2381
|
}, {
|
|
2337
|
-
default:
|
|
2338
|
-
(
|
|
2339
|
-
|
|
2382
|
+
default: R(() => [
|
|
2383
|
+
(L(!0), U(
|
|
2384
|
+
X,
|
|
2340
2385
|
null,
|
|
2341
|
-
|
|
2342
|
-
key:
|
|
2343
|
-
setting:
|
|
2344
|
-
isView:
|
|
2345
|
-
store: a(
|
|
2386
|
+
oe(q.columns[0].list, (x) => (L(), j(we(a(ge).grid), {
|
|
2387
|
+
key: q.name,
|
|
2388
|
+
setting: x,
|
|
2389
|
+
isView: c.isView,
|
|
2390
|
+
store: a(i)
|
|
2346
2391
|
}, null, 8, ["setting", "isView", "store"]))),
|
|
2347
2392
|
128
|
|
2348
2393
|
/* KEYED_FRAGMENT */
|
|
@@ -2358,7 +2403,7 @@ const xa = { ...it, ...ot }, Ya = (n, e, t, o) => {
|
|
|
2358
2403
|
]),
|
|
2359
2404
|
_: 2
|
|
2360
2405
|
/* DYNAMIC */
|
|
2361
|
-
}, 1032, ["collapsible", "activeKey"])) :
|
|
2406
|
+
}, 1032, ["collapsible", "activeKey"])) : I("v-if", !0)
|
|
2362
2407
|
],
|
|
2363
2408
|
64
|
|
2364
2409
|
/* STABLE_FRAGMENT */
|
|
@@ -2370,12 +2415,12 @@ const xa = { ...it, ...ot }, Ya = (n, e, t, o) => {
|
|
|
2370
2415
|
4
|
|
2371
2416
|
/* STYLE */
|
|
2372
2417
|
)), [
|
|
2373
|
-
[a(
|
|
2418
|
+
[a(mt)]
|
|
2374
2419
|
])
|
|
2375
2420
|
]));
|
|
2376
2421
|
}
|
|
2377
|
-
}),
|
|
2422
|
+
}), ys = /* @__PURE__ */ ce(fs, [["__scopeId", "data-v-e6aea3df"]]), Os = ut(ys);
|
|
2378
2423
|
export {
|
|
2379
|
-
|
|
2380
|
-
|
|
2424
|
+
Os as DasProcessForm,
|
|
2425
|
+
Os as default
|
|
2381
2426
|
};
|