<template> <el-dialog title="详情" :visible.sync="detailOpen" width="1000px" append-to-body destroy-on-close :close-on-click-modal="false"> <el-form label-width="160px"> <el-row class="el-row-table"> <el-col :span="12"> <el-form-item label="专家姓名"> <span v-if="detailInfo.fName">{{ detailInfo.fName }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="人员编码"> <span v-if="detailInfo.fCode">{{ detailInfo.fCode }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="身份证号"> <span v-if="detailInfo.fIdNo">{{ detailInfo.fIdNo }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="性别"> <span v-if="detailInfo.fSex">{{ $parent.fSexFormat(detailInfo) }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="出生日期"> <span v-if="detailInfo.fBirthday">{{ detailInfo.fBirthday }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="邮箱"> <span v-if="detailInfo.fEmail">{{ detailInfo.fEmail }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="联系电话"> <span v-if="detailInfo.fPhone">{{ detailInfo.fPhone }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="文化程度"> <span v-if="detailInfo.fEducation">{{ detailInfo.fEducation }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="毕业院校"> <span v-if="detailInfo.fGraduationSchool">{{ detailInfo.fGraduationSchool }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="所属专业"> <span v-if="detailInfo.fMajor">{{ detailInfo.fMajor }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="毕业时间"> <span v-if="detailInfo.fGraduationTime">{{ detailInfo.fGraduationTime }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="工作单位编码"> <span v-if="detailInfo.fEntUuid">{{ detailInfo.fEntUuid }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="工作单位名称"> <span v-if="detailInfo.fWorkUnit">{{ detailInfo.fWorkUnit }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="参加工作时间"> <span v-if="detailInfo.fWorkTime">{{ detailInfo.fWorkTime }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="所在部门"> <span v-if="detailInfo.fDepartment">{{ detailInfo.fDepartment }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="职务"> <span v-if="detailInfo.fDuties">{{ detailInfo.fDuties }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="专业技术职称"> <span v-if="detailInfo.fMajorTitle">{{ detailInfo.fMajorTitle }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="现从事专业"> <span v-if="detailInfo.fMajorNow">{{ detailInfo.fMajorNow }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="从事专业工作年限"> <span v-if="detailInfo.fMajorLife">{{ detailInfo.fMajorLife }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="燃气种类"> <span v-if="detailInfo.fGasType">{{ $parent.fGasTypeFormat(detailInfo) }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="擅长工作领域"> <span v-if="detailInfo.fGoodArea">{{ detailInfo.fGoodArea }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="工作经历"> <span v-if="detailInfo.fLearningWorkExperience">{{ detailInfo.fLearningWorkExperience }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="所在地区"> <span v-if="detailInfo.fArea">{{ detailInfo.fArea }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="删除标记"> <span v-if="detailInfo.fDeleteFlag == 0">可用</span> <span v-else-if="detailInfo.fDeleteFlag == 1">已删除</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="市局燃气主管部门意见"> <span v-if="detailInfo.fCRecord">{{ detailInfo.fCRecord }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="省级燃气主管部门意见"> <span v-if="detailInfo.fPRecord">{{ detailInfo.fPRecord }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="24"> <el-form-item label="照片"> <el-image :src="detailInfo.fPicture" :preview-src-list="[detailInfo.fPicture]" v-if="detailInfo.fPicture != '' && detailInfo.fPicture != null" :z-index=5000 style="width: 200px;height: 200px;" ></el-image> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="最后修改时间"> <span v-if="detailInfo.fUpdateTime">{{ detailInfo.fUpdateTime }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="是否省级专家"> <span v-if="detailInfo.fThisProvinceFlag">{{ $parent.fThisProvinceFlagFormat(detailInfo) }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="是否有效"> <span v-if="detailInfo.fValidType">{{ $parent.fValidTypeFormat(detailInfo) }}</span> <span v-else>-</span> </el-form-item> </el-col> <el-col :span="12"> <el-form-item label="聘用批次"> <span v-if="detailInfo.fEmployBatch">{{ detailInfo.fEmployBatch }}</span> <span v-else>-</span> </el-form-item> </el-col> </el-row> </el-form> </el-dialog> </template> <script> import { getBrowse } from "@/api/specialist/browse"; export default { name: "detail-info", data(){ return{ detailInfo: {}, detailOpen: false } }, methods:{ getDetailInfo(id){ getBrowse(id).then(res =>{ if(res.code == 200 && res.data){ this.detailInfo = res.data; this.detailOpen = true; } }) } } } </script> <style scoped> </style>