Browse Source

Merge branch 'qin_v4'

yjf_v2
超级管理员 1 year ago
parent
commit
ef7f9c504c
  1. 6
      src/views/hr/archives/basicinformation/educationalexperience.vue
  2. 17
      src/views/hr/archives/basicinformation/talentinventory.vue
  3. 4
      src/views/hr/archives/basicinformation/talentinventoryedit.vue
  4. 2
      src/views/hr/archives/index.vue

6
src/views/hr/archives/basicinformation/educationalexperience.vue

@ -129,19 +129,19 @@ function editXueLiBox(cont:jiaoyujingli){
<template #label> <template #label>
<el-text><svg-icon icon-class="xueli" class="svg_box"></svg-icon> </el-text> <el-text><svg-icon icon-class="xueli" class="svg_box"></svg-icon> </el-text>
</template> </template>
{{ item.educationtype }} {{ item.xueLiLeixing }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template #label> <template #label>
<el-text><el-icon><School /></el-icon> </el-text> <el-text><el-icon><School /></el-icon> </el-text>
</template> </template>
{{ item.faculty }} {{ item.collegeFaction }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template #label> <template #label>
<el-text><svg-icon icon-class="school" class="svg_box"></svg-icon> </el-text> <el-text><svg-icon icon-class="school" class="svg_box"></svg-icon> </el-text>
</template> </template>
{{ item.schooltype }} {{ item.yuanXiaoLeiXing }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template #label> <template #label>

17
src/views/hr/archives/basicinformation/talentinventory.vue

@ -25,10 +25,11 @@ const props = defineProps({
}, },
}); });
const peopd = reactive([{ const peopd = reactive([{
zy:props.usercont.careerPlanning, id:props.usercont.id,
bz:props.usercont.helpObtained zy:props.usercont.career_planning,
bz:props.usercont.help_obtained
}]) }])
// const editrcpdBoxPage = ref(false); const editrcpdBoxPage = ref(false);
// const addrcpdBoxPage = ref(false); // const addrcpdBoxPage = ref(false);
// const tableLoading = ref(false); // const tableLoading = ref(false);
@ -53,8 +54,8 @@ watch(
if (props.tabsid == "12") { if (props.tabsid == "12") {
// getrcpdList(); // getrcpdList();
// console.log("西",props.usercont) // console.log("西",props.usercont)
peopd.zy=props.usercont.careerPlanning peopd.zy=props.usercont.career_planning
peopd.bz=props.usercont.helpObtained peopd.bz=props.usercont.help_obtained
} }
} }
); );
@ -64,8 +65,8 @@ watch(
@ 功能: 首页页面渲染加载 @ 功能: 首页页面渲染加载
*/ */
onMounted(()=>{ onMounted(()=>{
peopd.zy=props.usercont.careerPlanning peopd.zy=props.usercont.career_planning
peopd.bz=props.usercont.helpObtained peopd.bz=props.usercont.help_obtained
}) })
/** /**
* 添加数据 * 添加数据
@ -76,7 +77,9 @@ const addrcpdBox = (key: string) => {
/** /**
* 编辑人才盘点 * 编辑人才盘点
*/ */
const rcpdInfo = ref<any>()
const editrcpdBox = (cont: rencaipandian) => { const editrcpdBox = (cont: rencaipandian) => {
console.log("编辑人才盘点",cont)
rcpdInfo.value = cont; rcpdInfo.value = cont;
editrcpdBoxPage.value = true; editrcpdBoxPage.value = true;
}; };

4
src/views/hr/archives/basicinformation/talentinventoryedit.vue

@ -79,7 +79,9 @@ watch(
() => props.editisshow, () => props.editisshow,
() => { () => {
if (props.editisshow) { if (props.editisshow) {
rcpdFormData.id = props.datacont.id.toString(); rcpdFormData.id = props.datacont.id
rcpdFormData.career = props.datacont.zy
rcpdFormData.expecthelp = props.datacont.bz
} }
} }
); );

2
src/views/hr/archives/index.vue

@ -27,7 +27,7 @@ const scrollbarRef = ref<InstanceType<typeof ElScrollbarType>>()
const handleClick = () => { const handleClick = () => {
nextTick(() => { nextTick(() => {
console.log("滚动条长度",innerRef.value!.clientHeight) // console.log("",innerRef.value!.clientHeight)
if (innerRef.value!.clientHeight > 300) { if (innerRef.value!.clientHeight > 300) {
scrollbarRef.value!.setScrollTop(innerRef.value!.clientHeight) scrollbarRef.value!.setScrollTop(innerRef.value!.clientHeight)
} }

Loading…
Cancel
Save