diff --git a/jwtech-pc-page/src/views/enterpriseInformation/components/descriptionsEnterpriseTable.vue b/jwtech-pc-page/src/views/enterpriseInformation/components/descriptionsEnterpriseTable.vue
index 9e2d7f38..b47d5189 100644
--- a/jwtech-pc-page/src/views/enterpriseInformation/components/descriptionsEnterpriseTable.vue
+++ b/jwtech-pc-page/src/views/enterpriseInformation/components/descriptionsEnterpriseTable.vue
@@ -23,8 +23,8 @@
-
-
+
+
+
+
+
+
{{ personInfo.name }}
-
- {{ personInfo.name }}
-
-
+
{{ personInfo.name }}
-
+
+
+ {{ personInfo.enterpriseName }}
{{ personInfo.professionalPost }}
-
{{ personInfo.job }}
-
{{ personInfo.jobSpecialty }}
-
{{ personInfo.commencementYear }}
-
@@ -119,7 +114,7 @@
>
-
+
-
+
@@ -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() {},