| | |
| | | * @version: |
| | | * @Date: 2024-06-18 15:09:48 |
| | | * @LastEditors: Ben Lin |
| | | * @LastEditTime: 2024-06-26 03:14:29 |
| | | * @LastEditTime: 2024-07-02 03:42:25 |
| | | --> |
| | | <!-- |
| | | * _oo0oo_ |
| | |
| | | <Suspense> |
| | | <baseForm /> |
| | | </Suspense> |
| | | <a-card :title="titleInfo['baseTableTitle']" :bordered="false" class="!mt-5"> |
| | | <!-- <a-card :title="titleInfo['baseTableTitle']" :bordered="false" class="!mt-5"> --> |
| | | <Suspense> |
| | | <dtl :entityName="entityName" /> |
| | | </Suspense> |
| | | </a-card> |
| | | <!-- </a-card> --> |
| | | <a-card |
| | | :title="item.title" |
| | | :bordered="false" |
| | |
| | | </PageWrapper> |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import { Ref, h, nextTick, onMounted, provide, ref, unref } from 'vue'; |
| | | import { Ref, h, nextTick, onMounted, provide, reactive, ref, unref } from 'vue'; |
| | | import { Card } from 'ant-design-vue'; |
| | | import { PageWrapper } from '/@/components/Page'; |
| | | import dtl from './dtl.vue'; |
| | |
| | | import { buildUUID } from '/@/utils/uuid'; |
| | | import { isNullOrEmpty, isNullOrUnDef } from '/@/utils/is'; |
| | | import { useI18n } from '/@/hooks/web/useI18n'; |
| | | import { Reactified } from '@vueuse/core'; |
| | | |
| | | const { t } = useI18n(); |
| | | |
| | |
| | | const isMounted = ref(false); |
| | | const custImport = ref<any[]>([]); |
| | | const others = ref<any>(null); |
| | | const data = ref<Recordable[]>([]); |
| | | const data = ref<any>({}); |
| | | for(const i in objParams.value['drawers']){ |
| | | data.value[objParams.value['drawers'][i]['name']] = ref<Recordable[]>([]); |
| | | } |
| | | provide<Ref<any>>('objParams', objParams.value); |
| | | provide<Ref<Recordable[]>>('data', data); |
| | | provide<Ref<any>>('data', data); |
| | | provide<Ref<any>>('others', others); |
| | | provide<Ref<{}>>('useFormData', useFormData); |
| | | provide<Ref<any>>('baseCards', baseCards); |