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