258 lines
5.2 KiB
Vue
258 lines
5.2 KiB
Vue
|
|
<template>
|
||
|
|
<BasicLayout>
|
||
|
|
<view class="p-15">
|
||
|
|
<BasicForm @register="register"> </BasicForm>
|
||
|
|
</view>
|
||
|
|
<template #bottom>
|
||
|
|
<view class="flex-row items-center pb-10 pt-5">
|
||
|
|
<u-button
|
||
|
|
text="返回"
|
||
|
|
class="ml-15 mr-7"
|
||
|
|
:plain="true"
|
||
|
|
@click="navigateBack"
|
||
|
|
/>
|
||
|
|
<u-button
|
||
|
|
text="提交"
|
||
|
|
class="mr-15 mr-7"
|
||
|
|
type="primary"
|
||
|
|
@click="submit"
|
||
|
|
/>
|
||
|
|
</view>
|
||
|
|
</template>
|
||
|
|
</BasicLayout>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
import { ref } from "vue";
|
||
|
|
import { onLoad } from "@dcloudio/uni-app";
|
||
|
|
import { navigateBack, navigateTo } from "@/utils/uniapp";
|
||
|
|
import { cloneDeep } from "lodash";
|
||
|
|
|
||
|
|
const leaveId = ref<string | null>(null);
|
||
|
|
|
||
|
|
import { useForm } from "@/components/BasicForm/hooks/useForm";
|
||
|
|
|
||
|
|
const [register, { getValue }] = useForm({
|
||
|
|
schema: [
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "姓名",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "籍贯",
|
||
|
|
component: "BasicPicker",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "身份证号",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "年龄",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "出生日期",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "政治面貌",
|
||
|
|
component: "BasicPicker",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "联系电话",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "电子邮箱",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "入党时间",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "参公时间",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "工龄",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "教龄计算年月",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "教龄",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "进入本单位时间",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "进入单位年限",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "进入来源",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "初始学历",
|
||
|
|
component: "BasicPicker",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "全日制学历毕业院校",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "最后学历",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "最后学历毕业院校",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "最后学历专业",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "最后学历毕业年月",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "学位类别",
|
||
|
|
component: "BasicPicker",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "学位",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "学位专业",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "教师资格学段",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "教师资格学科",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "教师资格证书号",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "教师资格取得年月",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "教师资格注册时间",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "编制情况",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "在岗情况",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "非在岗时间",
|
||
|
|
component: "BasicDateTimes",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
field: "ttlx",
|
||
|
|
label: "社保卡号",
|
||
|
|
component: "BasicInput",
|
||
|
|
componentProps: {},
|
||
|
|
},
|
||
|
|
],
|
||
|
|
});
|
||
|
|
|
||
|
|
|
||
|
|
function submit() {
|
||
|
|
navigateTo("/pages/view/hr/teacherProfile/TitleInfo");
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="scss" scoped>
|
||
|
|
.delete-icon {
|
||
|
|
position: absolute;
|
||
|
|
right: 0;
|
||
|
|
top: 0;
|
||
|
|
z-index: 1;
|
||
|
|
}
|
||
|
|
</style>
|