<template>
<view>
<scroll-view :scroll-x="true" :scroll-y="true">
<view style="padding: 10px 10px 10px 10px;">
<uni-title title="基本信息" type="h1" color="blue"></uni-title>
<yjly-row-cell :cellData="cellData" :rowDataCount="3"></yjly-row-cell>
<uni-title title="年度绩效考核" type="h1" color="blue"></uni-title>
<uni-row>
<uni-col :span="4">
<view class="titleStyle">
序号
</view>
</uni-col>
<uni-col :span="10">
绩效考核年份
绩效考核成绩
</uni-row>
<view v-for="(item,index) in jxkhxxList">
<view class="dataStyle1">
{{index+1}}
{{item.nf}}
</uni-col><uni-col :span="10">
{{item.khcj+"---"+item.khcj_dictText}}
<uni-title title="工作简历" type="h1" color="blue"></uni-title>
起始时间
终止时间
<uni-col :span="11">
工作职务
<uni-col :span="5">
岗位职务
<view v-for="(item,index) in gzjlList">
{{item.kssj}}
{{item.jssj}}
</uni-col><uni-col :span="11">
<view class="dataStyle2" ref="dataView">
{{item.jlms}}
</uni-col><uni-col :span="5">
{{item.jlms2}}
<!-- <uni-segmented-control></uni-segmented-control> -->
<uni-title title="学历信息" type="h1" color="blue"></uni-title>
类别
毕业院校
所学专业
学历
学位
毕业时间
<view v-for="(item,index) in xlxxList">
{{item.xllb}}
{{item.byyx}}
</uni-col><uni-col :span="4">
{{item.sxzy}}
{{item.qdxl}}
{{item.qdxw}}
{{item.bytime}}
<uni-title title="取证信息" type="h1" color="blue"></uni-title>
<uni-col :span="6">
证书名称
证书等级
取证时间
复审时间
<uni-col :span="3">
备注
<view v-for="(item,index) in zjtzList">
{{item.zjmc}}
{{item.zsdj}}
{{item.fzrq}}
{{item.fssj}}
{{item.bz}}
<uni-title title="家庭信息" type="h1" color="blue"></uni-title>
称谓
姓名
出生年月
政治面貌
<uni-col :span="7">
工作单位及职务
<view v-for="(item,index) in zyjtcyList">
{{item.ybrgx}}
{{item.gxname}}
</uni-col><uni-col :span="6">
{{item.cstime}}
{{item.cyzzmm}}
{{item.cygzdw}}
</scroll-view>
</template>
<script setup>
import {
onReady,
onLoad
} from '@dcloudio/uni-app';
reactive,
ref,
onMounted
} from 'vue';
queryGzjlByRyLdhth,
queryQzqkByRyLdhth,
queryJtzycyByRyLdhth,
queryXlxxByRyLdhth,
queryGbxxByRyLdhth,
queryZyzgdjByRyLdhth,
queryJxkhByRyLdhth
} from '@/api/renyuan.js'
useStore
} from '@/store';
const tempCellData = ref({
"title": "",
"value": "",
"titleSpan": 4,
"valueSpan": 4
})
const ldhth = ref("")
const renyuanData = ref({})
const cellData = ref([])
const gzjlList = ref([]) // 人员其他子表信息-工作经历
const zjtzList = ref([]) // 人员其他子表信息-证件台账
const zyjtcyList = ref([]) // 人员其他子表信息-主要家庭成员
const xlxxList = ref([]) // 人员其他子表信息-学历证书
const gbxxList = ref([]) // 人员其他子表信息-干部信息
const zyzgdjList = ref([]) // 人员其他子表信息-职业资格等级
const jxkhxxList = ref([]) // 人员其他子表信息-绩效考核信息
function getChildTable() {
console.log(ldhth.value)
queryJxkhByRyLdhth({
"ldhth": ldhth.value
}).then((res) => {
// console.log(res);
jxkhxxList.value = res.result.records
// console.log(jxkhxxList.value)
}).catch((err) => {
console.log(err);
queryGbxxByRyLdhth({
gbxxList.value = res
// console.log(gbxxList.value)
queryZyzgdjByRyLdhth({
zyzgdjList.value = res
// console.log(zyzgdjList.value)
queryGzjlByRyLdhth({
if (res.length > 0) {
gzjlList.value = res
}
queryQzqkByRyLdhth({
zjtzList.value = res
queryJtzycyByRyLdhth({
zyjtcyList.value = res
queryXlxxByRyLdhth({
if (res.success) {
xlxxList.value = []
if (res.result.records.length > 0) {
var rress = res.result.records
// console.log(rress);
for (let i = 0; i < rress.length; i++) {
if (rress[i].onexl == 1 & rress[i].zgxl == 1) {
rress[i].xllb = "第一学历"
xlxxList.value.push(JSON.parse(JSON.stringify(rress[i])))
// console.log(xlxxList.value)
rress[i].xllb = "最高学历"
if (rress[i].onexl == 1 & rress[i].zgxl != 1) {
xlxxList.value.push(rress[i])
if (rress[i].onexl != 1 & rress[i].zgxl == 1) {
// adjustFontSize()
function getJbxx() {
cellData.value.push({
"title": "姓名",
"value": renyuanData.value.xm,
"titleSpan": 3,
"valueSpan": 3,
"class": "dataStyle"
"title": "性别",
"value": renyuanData.value.xb_dictText,
"valueSpan": 4,
"title": "出生年月",
"value": renyuanData.value.cssj,
"title": "民族",
"value": renyuanData.value.mz,
"title": "籍贯",
"value": renyuanData.value.jg,
"valueSpan": 5,
"title": "出生地",
"value": renyuanData.value.csd,
"title": "工作时间",
"value": renyuanData.value.cjgzsj,
"title": "政治面貌",
"value": renyuanData.value.zzmm === "群众" ? renyuanData.value.zzmm : renyuanData.value.zzmm +
renyuanData.value.jrsj,
"class": "dataStyle1"
"title": "现专业",
"valueSpan": 8,
"title": "用工形式",
"value": renyuanData.value.rylb1_dictText,
"title": "健康状况",
"title": "所在单位",
"value": renyuanData.value.orgCode_dictText,
"valueSpan": 6,
"title": "专业技术资格",
"value": gbxxList.value.zc === 0 ? "/" : gbxxList.value.zc + gbxxList.value.zcsj,
"titleSpan": 5,
"valueSpan": 7,
"title": "职业资格等级",
"value": zyzgdjList.value.ztgz === "0" ? "/" : zyzgdjList.value.ztgz + zyzgdjList.value.ztgzdj,
"titleSpan": 0,
"valueSpan": 0,
"title": "职务(岗位)",
"value": gbxxList.value.zw,
"title": "职位级别",
"value": gbxxList.value.zwcj,
onLoad((e) => {
renyuanData.value = JSON.parse(decodeURIComponent(e.data));
ldhth.value = renyuanData.value.ldhth
getChildTable()
setTimeout(function() {
getJbxx()
}, 500);
</script>
<style scoped>
.renyuanInfo {
position: absolute;
bottom: 0;
left: 0;
right: 0;
top: 0;
height: 98vh;
width: 900px;
background-color: rgba($color: #000000, $alpha: 0.4);
display: flex;
flex-direction: row;
font-size: 18px;
color: #fff;
.titleStyle {
font-size: 12px;
color: #747474;
line-height: 35px;
height: 35px;
background: #F2F9FC;
text-align: center;
vertical-align: middle;
border-left: 1px solid #919191;
border-bottom: 1px solid #919191;
;
/* 内容样式 */
.dataStyle {
font-size: 14px;
color: #00007f;
line-height: 25px;
height: 50px;
font-weight: 500;
word-wrap: break-word;
overflow-wrap: break-word;
.dataStyle1 {
max-font-size: 14px;
/* 最大字体限制 */
min-font-size: 10px;
/* 最小字体限制 */
line-height: 30px;
height: 30px;
.dataStyle2 {
line-height: 15px;
</style>