|
|
@ -36,28 +36,23 @@ |
|
|
|
<el-descriptions-item label="姓名"> |
|
|
|
{{ personInfo.name }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item label="性别"> |
|
|
|
{{ personInfo.name }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item label="聘用单位" :span="2"> |
|
|
|
<el-descriptions-item label="性别"> |
|
|
|
{{ personInfo.name }} |
|
|
|
|
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item label="聘用单位" :span="2"> |
|
|
|
{{ personInfo.enterpriseName }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item label="职称"> |
|
|
|
{{ personInfo.professionalPost }} |
|
|
|
|
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item label="职务"> |
|
|
|
{{ personInfo.job }} |
|
|
|
|
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item label="职称专业"> |
|
|
|
{{ personInfo.jobSpecialty }} |
|
|
|
|
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item label="从业开始年份"> |
|
|
|
{{ personInfo.commencementYear }} |
|
|
|
|
|
|
|
</el-descriptions-item> |
|
|
|
</el-descriptions> |
|
|
|
</div> |
|
|
@ -119,7 +114,7 @@ |
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="validityPeriod" |
|
|
|
prop="remark" |
|
|
|
label="备注" |
|
|
|
width="120" |
|
|
|
align="center" |
|
|
@ -141,17 +136,9 @@ |
|
|
|
align="center" |
|
|
|
> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="enterTime" |
|
|
|
label="开始时间" |
|
|
|
align="center" |
|
|
|
> |
|
|
|
<el-table-column prop="enterTime" label="开始时间" align="center"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="exitTime" |
|
|
|
label="离职时间" |
|
|
|
align="center" |
|
|
|
> |
|
|
|
<el-table-column prop="exitTime" label="离职时间" align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
@ -171,7 +158,7 @@ import actionList from "./components/actionList"; |
|
|
|
import { enterpriseInfo } from "../../api/enterpriseInformation"; |
|
|
|
import { personInfoList, personInfo } from "@/api/enterpriseInformation"; |
|
|
|
|
|
|
|
import {getOnePersonInfo} from "../../api/home"; |
|
|
|
import { getOnePersonInfo } from "../../api/home"; |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
@ -191,32 +178,35 @@ export default { |
|
|
|
data: { |
|
|
|
enterpriseId: null, |
|
|
|
name: null, |
|
|
|
idNo:null |
|
|
|
idNo: null |
|
|
|
} |
|
|
|
}, |
|
|
|
dataList:[], |
|
|
|
zsList:[], |
|
|
|
personInfo:{}, |
|
|
|
dataList: [], |
|
|
|
zsList: [], |
|
|
|
personInfo: {}, |
|
|
|
activeName: "qualification" |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
|
if (this.$route.query.idNo&&this.$route.query.enterpriseId){ |
|
|
|
this.queryParams.data.idNo=this.$route.query.idNo |
|
|
|
this.queryParams.data.enterpriseId=this.$route.query.enterpriseId |
|
|
|
personInfoList(this.queryParams).then(res=>{ |
|
|
|
this.zsList=res.data.records |
|
|
|
}) |
|
|
|
getOnePersonInfo(this.$route.query.idNo,this.$route.query.enterpriseId).then(res=>{ |
|
|
|
console.log(res.data.data,55555) |
|
|
|
this.personInfo=res.data.data |
|
|
|
}) |
|
|
|
if (this.$route.query.idNo && this.$route.query.enterpriseId) { |
|
|
|
this.queryParams.data.idNo = this.$route.query.idNo; |
|
|
|
this.queryParams.data.enterpriseId = this.$route.query.enterpriseId; |
|
|
|
personInfoList(this.queryParams).then(res => { |
|
|
|
this.zsList = res.data.records; |
|
|
|
}); |
|
|
|
getOnePersonInfo( |
|
|
|
this.$route.query.idNo, |
|
|
|
this.$route.query.enterpriseId |
|
|
|
).then(res => { |
|
|
|
console.log(res.data.data, 55555); |
|
|
|
this.personInfo = res.data.data; |
|
|
|
}); |
|
|
|
} |
|
|
|
if (this.$route.query.idNo){ |
|
|
|
getOnePersonInfo(this.$route.query.idNo,null).then(res=>{ |
|
|
|
console.log(res.data.data,55555) |
|
|
|
this.dataList=res.data.data |
|
|
|
}) |
|
|
|
if (this.$route.query.idNo) { |
|
|
|
getOnePersonInfo(this.$route.query.idNo, null).then(res => { |
|
|
|
console.log(res.data.data, 55555); |
|
|
|
this.dataList = res.data.data; |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() {}, |
|
|
|