提交
This commit is contained in:
parent
481ff92975
commit
73d1e840eb
@ -15,6 +15,15 @@ export const xqxjFindAllApi = async () => {
|
|||||||
export const findAllNjBjTreeApi = async () => {
|
export const findAllNjBjTreeApi = async () => {
|
||||||
return await get("/api/nj/findAllNjBjTree");
|
return await get("/api/nj/findAllNjBjTree");
|
||||||
};
|
};
|
||||||
|
export const kmFindAllApi = async () => {
|
||||||
|
return await get("/api/km/findAll");
|
||||||
|
};
|
||||||
|
export const findAllXxXqNjTree = async () => {
|
||||||
|
return await get("/api/nj/findAllXxXqNjTree");
|
||||||
|
};
|
||||||
|
export const findAllNjBjTree = async () => {
|
||||||
|
return await get("/api/nj/findAllNjBjTree");
|
||||||
|
};
|
||||||
export const jsConfirmJsDataApi = async (params: any) => {
|
export const jsConfirmJsDataApi = async (params: any) => {
|
||||||
return await post("/api/js/confirmJsData", params);
|
return await post("/api/js/confirmJsData", params);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -113,7 +113,7 @@ function submit() {
|
|||||||
return item.value;
|
return item.value;
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
navigateTo("/pages/view/hr/teacherProfile/EmergencyContact");
|
navigateTo("/pages/view/hr/teacherProfile/FamilyInfo");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@ -123,7 +123,7 @@ function submit() {
|
|||||||
return item.value;
|
return item.value;
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
navigateTo("/pages/view/hr/teacherProfile/ExperienceInfo");
|
navigateTo("/pages/view/hr/teacherProfile/PersonalHonor");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@ -71,6 +71,18 @@ const schema = reactive<FormsSchema[]>([
|
|||||||
component: "BasicInput",
|
component: "BasicInput",
|
||||||
componentProps: {},
|
componentProps: {},
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// field: "bjdw",
|
||||||
|
// label: "获奖内容",
|
||||||
|
// component: "BasicInput",
|
||||||
|
// itemProps: {
|
||||||
|
// labelPosition: "top",
|
||||||
|
// },
|
||||||
|
// componentProps: {
|
||||||
|
// type: "textarea",
|
||||||
|
// rows: 3,
|
||||||
|
// },
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
field: "hjtime",
|
field: "hjtime",
|
||||||
label: "获奖时间",
|
label: "获奖时间",
|
||||||
|
|||||||
@ -52,20 +52,33 @@ import {
|
|||||||
xqgwFindAllApi,
|
xqgwFindAllApi,
|
||||||
xqxjFindAllApi,
|
xqxjFindAllApi,
|
||||||
} from "@/api/base/server";
|
} from "@/api/base/server";
|
||||||
|
import { dicApi } from "@/api/system/dic";
|
||||||
import { useForm } from "@/components/BasicForm/hooks/useForm";
|
import { useForm } from "@/components/BasicForm/hooks/useForm";
|
||||||
import { useDataStore } from "@/store/modules/data";
|
import { useDataStore } from "@/store/modules/data";
|
||||||
import { navigateTo, navigateBack } from "@/utils/uniapp";
|
import { navigateTo, navigateBack } from "@/utils/uniapp";
|
||||||
import { cloneDeep, map } from "lodash";
|
import { cloneDeep, map } from "lodash";
|
||||||
|
|
||||||
const schema = reactive<FormsSchema[]>([
|
const schema = reactive<FormsSchema[]>([
|
||||||
|
{
|
||||||
|
field: "xj",
|
||||||
|
label: "薪级",
|
||||||
|
component: "BasicPicker",
|
||||||
|
componentProps: {
|
||||||
|
api: dicApi,
|
||||||
|
param: { pid: 434953981 },
|
||||||
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: "gwjbId",
|
field: "gwjbId",
|
||||||
label: "岗位级别",
|
label: "岗位级别",
|
||||||
component: "BasicPicker",
|
component: "BasicPicker",
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: xqgwFindAllApi,
|
api: dicApi,
|
||||||
rangeKey: "gwmc",
|
param: { pid: 260783972 },
|
||||||
savaKey: "id",
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -80,43 +93,38 @@ const schema = reactive<FormsSchema[]>([
|
|||||||
component: "BasicInput",
|
component: "BasicInput",
|
||||||
componentProps: {},
|
componentProps: {},
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
field: "xj",
|
// field: "zrxk",
|
||||||
label: "薪级",
|
// label: "主任学科",
|
||||||
component: "BasicPicker",
|
// component: "BasicInput",
|
||||||
componentProps: {
|
// componentProps: {},
|
||||||
api: xqxjFindAllApi,
|
// },
|
||||||
rangeKey: "xjmc",
|
// {
|
||||||
savaKey: "id",
|
// field: "jrxk",
|
||||||
},
|
// label: "兼任学科",
|
||||||
},
|
// component: "BasicInput",
|
||||||
{
|
// componentProps: {},
|
||||||
field: "zrxk",
|
// },
|
||||||
label: "主任学科",
|
// {
|
||||||
component: "BasicInput",
|
// field: "bzrBjId",
|
||||||
componentProps: {},
|
// label: "班主任班级",
|
||||||
},
|
// component: "BasicDataPicker",
|
||||||
{
|
// componentProps: {
|
||||||
field: "jrxk",
|
// api: findAllNjBjTreeApi,
|
||||||
label: "兼任学科",
|
// rangeKey: "title",
|
||||||
component: "BasicInput",
|
// savaKey: "key",
|
||||||
componentProps: {},
|
// },
|
||||||
},
|
// },
|
||||||
{
|
|
||||||
field: "bzrBjId",
|
|
||||||
label: "班主任班级",
|
|
||||||
component: "BasicDataPicker",
|
|
||||||
componentProps: {
|
|
||||||
api: findAllNjBjTreeApi,
|
|
||||||
rangeKey: "title",
|
|
||||||
savaKey: "key",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
field: "dzzw",
|
field: "dzzw",
|
||||||
label: "党政职务",
|
label: "职务",
|
||||||
component: "BasicInput",
|
component: "BasicPicker",
|
||||||
componentProps: {},
|
componentProps: {
|
||||||
|
api: dicApi,
|
||||||
|
param: { pid: 1063530116 },
|
||||||
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -148,7 +156,8 @@ function submit() {
|
|||||||
return item.value;
|
return item.value;
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
navigateTo("/pages/view/hr/teacherProfile/FamilyInfo");
|
navigateTo("/pages/view/hr/teacherProfile/ExperienceInfo");
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@ -26,7 +26,12 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
import { onLoad } from "@dcloudio/uni-app";
|
import { onLoad } from "@dcloudio/uni-app";
|
||||||
import { hideLoading, navigateBack, navigateTo, showLoading } from "@/utils/uniapp";
|
import {
|
||||||
|
hideLoading,
|
||||||
|
navigateBack,
|
||||||
|
navigateTo,
|
||||||
|
showLoading,
|
||||||
|
} from "@/utils/uniapp";
|
||||||
import { cloneDeep } from "lodash";
|
import { cloneDeep } from "lodash";
|
||||||
const leaveId = ref<string | null>(null);
|
const leaveId = ref<string | null>(null);
|
||||||
const signCompRef = ref<any>(null);
|
const signCompRef = ref<any>(null);
|
||||||
@ -137,13 +142,16 @@ async function submit() {
|
|||||||
const res = await jsConfirmJsDataApi(params);
|
const res = await jsConfirmJsDataApi(params);
|
||||||
hideLoading();
|
hideLoading();
|
||||||
if (res.resultCode === 1) {
|
if (res.resultCode === 1) {
|
||||||
uni.switchTab({
|
|
||||||
url: "/pages/base/message/index",
|
|
||||||
});
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "提交成功",
|
title: "提交成功",
|
||||||
icon: "success",
|
icon: "success",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: "/pages/system/launchPage/launchPage",
|
||||||
|
});
|
||||||
|
}, 1500);
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "提交失败",
|
title: "提交失败",
|
||||||
|
|||||||
@ -64,17 +64,17 @@ const schema = reactive<FormsSchema[]>([
|
|||||||
savaKey: "dictionaryCode",
|
savaKey: "dictionaryCode",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// field: "zclbId",
|
field: "zclbId",
|
||||||
// label: "职称类别",
|
label: "职称类别",
|
||||||
// component: "BasicPicker",
|
component: "BasicPicker",
|
||||||
// componentProps: {
|
componentProps: {
|
||||||
// api: dicApi,
|
api: dicApi,
|
||||||
// param: { pid: 385536488 },
|
param: { pid: 912140841 },
|
||||||
// rangeKey: "dictionaryValue",
|
rangeKey: "dictionaryValue",
|
||||||
// savaKey: "dictionaryCode",
|
savaKey: "dictionaryCode",
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
field: "zczyId",
|
field: "zczyId",
|
||||||
label: "职称专业",
|
label: "职称专业",
|
||||||
@ -110,6 +110,29 @@ const schema = reactive<FormsSchema[]>([
|
|||||||
component: "BasicInput",
|
component: "BasicInput",
|
||||||
componentProps: {},
|
componentProps: {},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: "pydj",
|
||||||
|
label: "聘用等级",
|
||||||
|
component: "BasicPicker",
|
||||||
|
componentProps: {
|
||||||
|
api: dicApi,
|
||||||
|
param: { pid: 1982857463 },
|
||||||
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "qqtime",
|
||||||
|
label: "起聘时间",
|
||||||
|
component: "BasicDateTimes",
|
||||||
|
componentProps: {},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "pywjh",
|
||||||
|
label: "聘用文件号",
|
||||||
|
component: "BasicInput",
|
||||||
|
componentProps: {},
|
||||||
|
},
|
||||||
]);
|
]);
|
||||||
const { getFile, setFile } = useDataStore();
|
const { getFile, setFile } = useDataStore();
|
||||||
|
|
||||||
|
|||||||
@ -30,6 +30,11 @@ import { dicApi, findDicTreeByPidApi } from "@/api/system/dic";
|
|||||||
import { useDataStore } from "@/store/modules/data";
|
import { useDataStore } from "@/store/modules/data";
|
||||||
import { map } from "lodash";
|
import { map } from "lodash";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
import {
|
||||||
|
findAllNjBjTree,
|
||||||
|
findAllXxXqNjTree,
|
||||||
|
kmFindAllApi,
|
||||||
|
} from "@/api/base/server";
|
||||||
|
|
||||||
const { getFile, setFile } = useDataStore();
|
const { getFile, setFile } = useDataStore();
|
||||||
const jsjg = ref("");
|
const jsjg = ref("");
|
||||||
@ -147,7 +152,99 @@ const [register, { getValue, setValue }] = useForm({
|
|||||||
component: "BasicInput",
|
component: "BasicInput",
|
||||||
componentProps: {},
|
componentProps: {},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: "cgtime",
|
||||||
|
label: "参加工作时间",
|
||||||
|
component: "BasicDateTimes",
|
||||||
|
componentProps: {
|
||||||
|
change: (e: any) => {
|
||||||
|
const yearDiff = calculateYearDiff(e);
|
||||||
|
setValue({ jsgl: yearDiff });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "jsgl",
|
||||||
|
label: "工龄",
|
||||||
|
component: "BasicInput",
|
||||||
|
componentProps: {
|
||||||
|
disabled: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "jsTime",
|
||||||
|
label: "任教开始时间",
|
||||||
|
component: "BasicDateTimes",
|
||||||
|
componentProps: {
|
||||||
|
change: (e: any) => {
|
||||||
|
const yearDiff = calculateYearDiff(e);
|
||||||
|
setValue({ jl: yearDiff });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "jl",
|
||||||
|
label: "教龄",
|
||||||
|
component: "BasicInput",
|
||||||
|
componentProps: {
|
||||||
|
disabled: true,
|
||||||
|
placeholder: "请选择教龄时间",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "jrdwtime",
|
||||||
|
label: "进入本单位时间",
|
||||||
|
component: "BasicDateTimes",
|
||||||
|
componentProps: {
|
||||||
|
change: (e: any) => {
|
||||||
|
const yearDiff = calculateYearDiff(e);
|
||||||
|
setValue({ jrdwnx: yearDiff });
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "jrdwnx",
|
||||||
|
label: "进入本单位年限",
|
||||||
|
component: "BasicInput",
|
||||||
|
componentProps: {
|
||||||
|
placeholder: "请选择进入本单位时间",
|
||||||
|
disabled: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
field: "jrly",
|
||||||
|
label: "进入来源",
|
||||||
|
component: "BasicPicker",
|
||||||
|
componentProps: {
|
||||||
|
api: dicApi,
|
||||||
|
param: { pid: 2026977361 },
|
||||||
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "bzqkId",
|
||||||
|
label: "编制情况",
|
||||||
|
component: "BasicPicker",
|
||||||
|
componentProps: {
|
||||||
|
api: dicApi,
|
||||||
|
param: { pid: 290357612 },
|
||||||
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "zdqkId",
|
||||||
|
label: "在岗情况",
|
||||||
|
component: "BasicPicker",
|
||||||
|
componentProps: {
|
||||||
|
api: dicApi,
|
||||||
|
param: { pid: 810984651 },
|
||||||
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: "sbkh",
|
field: "sbkh",
|
||||||
label: "社保卡号",
|
label: "社保卡号",
|
||||||
@ -276,95 +373,91 @@ const [register, { getValue, setValue }] = useForm({
|
|||||||
componentProps: {},
|
componentProps: {},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "任职情况",
|
title: "任教任职",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "cgtime",
|
field: "gwjbId",
|
||||||
label: "参公时间",
|
label: "岗位级别",
|
||||||
|
component: "BasicPicker",
|
||||||
|
componentProps: {
|
||||||
|
api: dicApi,
|
||||||
|
param: { pid: 260783972 },
|
||||||
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "gwrztime",
|
||||||
|
label: "岗位任职时间",
|
||||||
component: "BasicDateTimes",
|
component: "BasicDateTimes",
|
||||||
|
componentProps: {},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: "xqxjId",
|
||||||
|
label: "薪级",
|
||||||
|
component: "BasicPicker",
|
||||||
componentProps: {
|
componentProps: {
|
||||||
change: (e: any) => {
|
api: dicApi,
|
||||||
const yearDiff = calculateYearDiff(e);
|
param: { pid: 434953981 },
|
||||||
setValue({ jsgl: yearDiff });
|
rangeKey: "dictionaryValue",
|
||||||
},
|
savaKey: "dictionaryCode",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "jsgl",
|
field: "dzzw",
|
||||||
label: "工龄",
|
label: "职务",
|
||||||
component: "BasicInput",
|
component: "BasicPicker",
|
||||||
componentProps: {
|
componentProps: {
|
||||||
disabled: true,
|
api: dicApi,
|
||||||
placeholder: "请选择参公时间",
|
param: { pid: 434953981 },
|
||||||
|
rangeKey: "dictionaryValue",
|
||||||
|
savaKey: "dictionaryCode",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "jrdwtime",
|
field: "zrxk",
|
||||||
label: "进入本单位时间",
|
label: "主任学科",
|
||||||
component: "BasicDateTimes",
|
component: "BasicPicker",
|
||||||
componentProps: {
|
componentProps: {
|
||||||
change: (e: any) => {
|
api: kmFindAllApi,
|
||||||
const yearDiff = calculateYearDiff(e);
|
rangeKey: "kmmc",
|
||||||
setValue({ jrdwnx: yearDiff });
|
savaKey: "id",
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "jrdwnx",
|
field: "jrxk",
|
||||||
label: "进入本单位年限",
|
label: "兼任学科",
|
||||||
component: "BasicInput",
|
component: "BasicPicker",
|
||||||
componentProps: {
|
componentProps: {
|
||||||
placeholder: "请选择进入本单位时间",
|
api: kmFindAllApi,
|
||||||
disabled: true,
|
rangeKey: "kmmc",
|
||||||
|
savaKey: "id",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "jsTime",
|
field: "qtzw",
|
||||||
label: "教龄时间",
|
label: "其他职务",
|
||||||
component: "BasicDateTimes",
|
|
||||||
componentProps: {
|
|
||||||
change: (e: any) => {
|
|
||||||
const yearDiff = calculateYearDiff(e);
|
|
||||||
setValue({ jl: yearDiff });
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
field: "jl",
|
|
||||||
label: "教龄",
|
|
||||||
component: "BasicInput",
|
|
||||||
componentProps: {
|
|
||||||
disabled: true,
|
|
||||||
placeholder: "请选择教龄时间",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
field: "jrly",
|
|
||||||
label: "进入来源",
|
|
||||||
component: "BasicInput",
|
component: "BasicInput",
|
||||||
componentProps: {},
|
componentProps: {},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "bzqkId",
|
field: "njId",
|
||||||
label: "编制情况",
|
label: "年级",
|
||||||
component: "BasicPicker",
|
component: "BasicTree",
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: dicApi,
|
api: findAllXxXqNjTree,
|
||||||
param: { pid: 290357612 },
|
rangeKey: "title",
|
||||||
rangeKey: "dictionaryValue",
|
savaKey: "key",
|
||||||
savaKey: "dictionaryCode",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "zdqkId",
|
field: "bzrBjId",
|
||||||
label: "在岗情况",
|
label: "班主任班级",
|
||||||
component: "BasicPicker",
|
component: "BasicTree",
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: dicApi,
|
api: findAllNjBjTree,
|
||||||
param: { pid: 810984651 },
|
rangeKey: "title",
|
||||||
rangeKey: "dictionaryValue",
|
savaKey: "key",
|
||||||
savaKey: "dictionaryCode",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user