12345678910111213141516171819202122232425262728293031323334353637 |
- <script setup lang="ts">
- import { reactive } from "vue";
- import { useRouter } from "vue-router";
- import { usePageSearch, type PageHooks, type PageEvents } from "/@/hooks/page";
- import contentConfig from "./config/content.config";
- import searchConfig from "./config/search.config";
- const PageName = "productManager";
- const router = useRouter();
- const hooks: PageHooks = {
- pageSearchHook: () => usePageSearch(undefined, undefined, searchConfig)
- };
- const state = reactive({
- orderImportVisible: false,
- notOrderImportVisible: false
- })
- const events: PageEvents = {
- content: {
- create: () => router.push('/invoiceInOut/provisionOutDetail'),
- preview: ({ id }) => router.push("/invoiceInOut/provisionOutDetail?id=" + id)
- }
- };
- </script>
- <template>
- <PageAuth :pageName="PageName">
- <PageContainer
- :hooks="hooks"
- :events="events"
- :searchConfig="searchConfig"
- :contentConfig="contentConfig"
- />
- </PageAuth>
- </template>
|