提交1
This commit is contained in:
parent
b431e1bff5
commit
3ee472f690
@ -79,7 +79,7 @@ export default {
|
||||
minDate: {
|
||||
type: Number,
|
||||
// 最小默认值为前10年
|
||||
default: new Date(new Date().getFullYear() - 10, 0, 1).getTime()
|
||||
default: new Date(new Date().getFullYear() - 80, 0, 1).getTime()
|
||||
},
|
||||
// 可选的最小小时,仅mode=time有效
|
||||
minHour: {
|
||||
|
||||
@ -261,7 +261,7 @@
|
||||
{
|
||||
"path": "pages/view/hr/teacherProfile/position",
|
||||
"style": {
|
||||
"navigationBarTitleText": "任教任职",
|
||||
"navigationBarTitleText": "任职情况",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
|
||||
@ -48,17 +48,25 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useForm } from "@/components/BasicForm/hooks/useForm";
|
||||
import { useDataStore } from "@/store/modules/data";
|
||||
import { navigateTo, navigateBack } from "@/utils/uniapp";
|
||||
import { cloneDeep, map } from "lodash";
|
||||
import {useDataStore} from "@/store/modules/data";
|
||||
import {navigateBack, navigateTo} from "@/utils/uniapp";
|
||||
import {cloneDeep, map} from "lodash";
|
||||
|
||||
const schema = reactive<FormsSchema[]>([
|
||||
{
|
||||
field: "gztime",
|
||||
label: "起止时间",
|
||||
component: "BasicDateTimes",
|
||||
componentProps: {},
|
||||
label: "开始时间",
|
||||
component: "BasicDateTime",
|
||||
componentProps: {
|
||||
mode: "year-month",
|
||||
},
|
||||
}, {
|
||||
field: "jssj",
|
||||
label: "结束时间",
|
||||
component: "BasicDateTime",
|
||||
componentProps: {
|
||||
mode: "year-month",
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "gzdw",
|
||||
|
||||
@ -123,7 +123,8 @@ function submit() {
|
||||
return item.value;
|
||||
}),
|
||||
});
|
||||
navigateTo("/pages/view/hr/teacherProfile/PersonalHonor");
|
||||
// navigateTo("/pages/view/hr/teacherProfile/PersonalHonor");
|
||||
navigateTo("/pages/view/hr/teacherProfile/RecordMaterials");
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
|
||||
@ -47,16 +47,10 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {
|
||||
findAllNjBjTreeApi,
|
||||
xqgwFindAllApi,
|
||||
xqxjFindAllApi,
|
||||
} from "@/api/base/server";
|
||||
import { dicApi } from "@/api/system/dic";
|
||||
import { useForm } from "@/components/BasicForm/hooks/useForm";
|
||||
import { useDataStore } from "@/store/modules/data";
|
||||
import { navigateTo, navigateBack } from "@/utils/uniapp";
|
||||
import { cloneDeep, map } from "lodash";
|
||||
import {dicApi} from "@/api/system/dic";
|
||||
import {useDataStore} from "@/store/modules/data";
|
||||
import {navigateBack, navigateTo} from "@/utils/uniapp";
|
||||
import {cloneDeep, map} from "lodash";
|
||||
|
||||
const schema = reactive<FormsSchema[]>([
|
||||
// {
|
||||
@ -83,7 +77,21 @@ const schema = reactive<FormsSchema[]>([
|
||||
},
|
||||
{
|
||||
field: "gwrztime",
|
||||
label: "岗位任职时间",
|
||||
label: "岗位聘用开始时间",
|
||||
component: "BasicDateTime",
|
||||
componentProps: {
|
||||
mode: "year-month",
|
||||
},
|
||||
}, {
|
||||
field: "gwpyjssj",
|
||||
label: "岗位聘用结束时间",
|
||||
component: "BasicDateTime",
|
||||
componentProps: {
|
||||
mode: "year-month",
|
||||
},
|
||||
}, {
|
||||
field: "gwpyjssj",
|
||||
label: "当时时间-岗位聘用开始时间",
|
||||
component: "BasicDateTimes",
|
||||
componentProps: {},
|
||||
},
|
||||
|
||||
@ -131,6 +131,14 @@ const schema = reactive<FormsSchema[]>([
|
||||
componentProps: {},
|
||||
},
|
||||
{
|
||||
field: "sczczs",
|
||||
label: "上传职称证书",
|
||||
component: "BasicUpload",
|
||||
itemProps: {
|
||||
labelPosition: "top",
|
||||
},
|
||||
componentProps: {},
|
||||
}, {
|
||||
field: "pywjh",
|
||||
label: "上传任职文件",
|
||||
component: "BasicUpload",
|
||||
|
||||
@ -23,10 +23,10 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { navigateBack, navigateTo } from "@/utils/uniapp";
|
||||
import { useForm } from "@/components/BasicForm/hooks/useForm";
|
||||
import { dicApi } from "@/api/system/dic";
|
||||
import { useDataStore } from "@/store/modules/data";
|
||||
import {navigateBack, navigateTo} from "@/utils/uniapp";
|
||||
import {useForm} from "@/components/BasicForm/hooks/useForm";
|
||||
import {dicApi} from "@/api/system/dic";
|
||||
import {useDataStore} from "@/store/modules/data";
|
||||
|
||||
const { getFile, setFile } = useDataStore();
|
||||
|
||||
@ -81,8 +81,10 @@ const [register, { getValue, setValue }] = useForm({
|
||||
{
|
||||
field: "zhbynytime",
|
||||
label: "最后学历毕业年月",
|
||||
component: "BasicDateTimes",
|
||||
componentProps: {},
|
||||
component: "BasicDateTime",
|
||||
componentProps: {
|
||||
mode: "year-month",
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "xw",
|
||||
|
||||
@ -17,14 +17,13 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { navigateBack, navigateTo } from "@/utils/uniapp";
|
||||
import {navigateTo} from "@/utils/uniapp";
|
||||
|
||||
import { useForm } from "@/components/BasicForm/hooks/useForm";
|
||||
import { dicApi, findDicTreeByPidApi } from "@/api/system/dic";
|
||||
import { useDataStore } from "@/store/modules/data";
|
||||
import { map } from "lodash";
|
||||
import {useForm} from "@/components/BasicForm/hooks/useForm";
|
||||
import {dicApi, findDicTreeByPidApi} from "@/api/system/dic";
|
||||
import {useDataStore} from "@/store/modules/data";
|
||||
import {map} from "lodash";
|
||||
import dayjs from "dayjs";
|
||||
import { ok } from "assert";
|
||||
|
||||
const { getFile, setFile } = useDataStore();
|
||||
const jsjg = ref("");
|
||||
@ -151,7 +150,6 @@ const [register, { getValue, setValue, setSchema }] = useForm({
|
||||
componentProps: {
|
||||
mode: "year-month",
|
||||
ok: (e: any) => {
|
||||
console.log(e);
|
||||
const yearDiff = calculateYearDiff(e.value);
|
||||
setValue({ jsgl: yearDiff });
|
||||
},
|
||||
@ -168,9 +166,10 @@ const [register, { getValue, setValue, setSchema }] = useForm({
|
||||
{
|
||||
field: "jsTime",
|
||||
label: "任教开始时间",
|
||||
component: "BasicDateTimes",
|
||||
component: "BasicDateTime",
|
||||
componentProps: {
|
||||
change: (e: any) => {
|
||||
mode: "year-month",
|
||||
ok: (e: any) => {
|
||||
const yearDiff = calculateYearDiff(e);
|
||||
setValue({ jl: yearDiff });
|
||||
},
|
||||
|
||||
@ -67,46 +67,46 @@ const [register, { getValue, setValue }] = useForm({
|
||||
savaKey: "dictionaryCode",
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "zrxk",
|
||||
label: "主任学科",
|
||||
component: "BasicPicker",
|
||||
componentProps: {
|
||||
api: kmFindAllApi,
|
||||
rangeKey: "kmmc",
|
||||
savaKey: "id",
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "zrbj",
|
||||
label: "主任班级",
|
||||
component: "BasicPicker",
|
||||
componentProps: {
|
||||
api: findAllNjBjTree,
|
||||
rangeKey: "title",
|
||||
savaKey: "key",
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "jrxk",
|
||||
label: "兼任学科",
|
||||
component: "BasicPicker",
|
||||
componentProps: {
|
||||
api: kmFindAllApi,
|
||||
rangeKey: "kmmc",
|
||||
savaKey: "id",
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "jrbj",
|
||||
label: "兼任班级",
|
||||
component: "BasicPicker",
|
||||
componentProps: {
|
||||
api: findAllNjBjTree,
|
||||
rangeKey: "title",
|
||||
savaKey: "key",
|
||||
},
|
||||
},
|
||||
// {
|
||||
// field: "zrxk",
|
||||
// label: "主任学科",
|
||||
// component: "BasicPicker",
|
||||
// componentProps: {
|
||||
// api: kmFindAllApi,
|
||||
// rangeKey: "kmmc",
|
||||
// savaKey: "id",
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// field: "zrbj",
|
||||
// label: "主任班级",
|
||||
// component: "BasicPicker",
|
||||
// componentProps: {
|
||||
// api: findAllNjBjTree,
|
||||
// rangeKey: "title",
|
||||
// savaKey: "key",
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// field: "jrxk",
|
||||
// label: "兼任学科",
|
||||
// component: "BasicPicker",
|
||||
// componentProps: {
|
||||
// api: kmFindAllApi,
|
||||
// rangeKey: "kmmc",
|
||||
// savaKey: "id",
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// field: "jrbj",
|
||||
// label: "兼任班级",
|
||||
// component: "BasicPicker",
|
||||
// componentProps: {
|
||||
// api: findAllNjBjTree,
|
||||
// rangeKey: "title",
|
||||
// savaKey: "key",
|
||||
// },
|
||||
// },
|
||||
{
|
||||
field: "njId",
|
||||
label: "所属年级",
|
||||
@ -117,16 +117,16 @@ const [register, { getValue, setValue }] = useForm({
|
||||
savaKey: "key",
|
||||
},
|
||||
},
|
||||
{
|
||||
field: "bzrBjId",
|
||||
label: "班主任班级",
|
||||
component: "BasicTree",
|
||||
componentProps: {
|
||||
api: findAllNjBjTree,
|
||||
rangeKey: "title",
|
||||
savaKey: "key",
|
||||
},
|
||||
},
|
||||
// {
|
||||
// field: "bzrBjId",
|
||||
// label: "班主任班级",
|
||||
// component: "BasicTree",
|
||||
// componentProps: {
|
||||
// api: findAllNjBjTree,
|
||||
// rangeKey: "title",
|
||||
// savaKey: "key",
|
||||
// },
|
||||
// },
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user