|
@@ -1,7 +1,41 @@
|
|
|
<template>
|
|
|
- <div> </div>
|
|
|
+ <div class="p-8px bg-white">
|
|
|
+ <div class="px-4">
|
|
|
+ <BasicForm @register="registerForm">
|
|
|
+ <template #title1>
|
|
|
+ <TypographyTitle :level="4">开放时间</TypographyTitle>
|
|
|
+ <Divider></Divider>
|
|
|
+ </template>
|
|
|
+ <template #title2>
|
|
|
+ <TypographyTitle :level="4">封面、配套保险、使用须知</TypographyTitle>
|
|
|
+ <Divider></Divider>
|
|
|
+ </template>
|
|
|
+ <template #ZtCustomTable1="{ model, field }">
|
|
|
+ <ZtCustomTable :tableColumn="ScheduleArrangementColums" v-model:value="model[field]"></ZtCustomTable>
|
|
|
+ </template>
|
|
|
+ <template #ZtCustomTable2="{ model, field }">
|
|
|
+ <ZtCustomTable :tableColumn="ScheduleArrangementColums" v-model:value="model[field]"></ZtCustomTable>
|
|
|
+ </template>
|
|
|
+ <template #formFooter>
|
|
|
+ <div style="margin: 0 auto">
|
|
|
+ <a-button type="primary" @click="save" class="mr-2"> 保存 </a-button>
|
|
|
+ <a-button type="error" @click="back" class="mr-2"> 关闭 </a-button>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </BasicForm>
|
|
|
+ <div class="h-20px"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
-
|
|
|
-<script setup lang="ts" name="businessManagementschoolOpen"></script>
|
|
|
-
|
|
|
-<style scoped></style>
|
|
|
+<script lang="ts" setup name="business-management-schoolOpen">
|
|
|
+ import { TypographyTitle, Divider } from 'ant-design-vue';
|
|
|
+ import { BasicForm, useForm } from '/@/components/Form/index';
|
|
|
+ import ZtCustomTable from '/@/components/ZtCustomTable/index.vue';
|
|
|
+ import { formSchema, ScheduleArrangementColums, SchedulePricesColums } from './schoolOpen.data';
|
|
|
+ const [registerForm, { setProps, resetFields, setFieldsValue, updateSchema, validate, clearValidate }] = useForm({
|
|
|
+ schemas: formSchema,
|
|
|
+ showActionButtonGroup: false,
|
|
|
+ });
|
|
|
+ function back() {}
|
|
|
+ function save() {}
|
|
|
+</script>
|