| | |
| | | </div> |
| | | <ul class="font-family" style="font-size: 0.13rem; line-height: 2"> |
| | | <li |
| | | style="cursor: pointer" |
| | | v-for="(item, index) in personResearchList" |
| | | :key="index" |
| | | @click="toLink(item)" |
| | |
| | | </div> |
| | | |
| | | <!-- 返回顶部 --> |
| | | <el-col style="position: absolute; bottom: 1rem; left: 1.2rem"> |
| | | <el-col |
| | | style=" |
| | | position: absolute; |
| | | bottom: 1rem; |
| | | left: 1.2rem; |
| | | width: 0.6rem; |
| | | height: 0.6rem; |
| | | " |
| | | > |
| | | <el-button |
| | | style="font-size: 0.3rem" |
| | | icon="el-icon-top" |
| | |
| | | import { |
| | | getFuzzySearch, |
| | | getPersonInfo, |
| | | getRelationTypeTreeList, |
| | | getWebBasic, |
| | | getIntroduction, |
| | | getSource, |
| | |
| | | getPersonRelationAtSchool, |
| | | getSpaceTime |
| | | } from "@/api/index.js"; |
| | | import { getImg } from "@/static/tool.js"; |
| | | import { getImg, getFile } from "@/static/tool.js"; |
| | | import L from "leaflet"; |
| | | import "leaflet.chinatmsproviders"; |
| | | |
| | |
| | | }); |
| | | }, |
| | | toLink(item) { |
| | | window.open(item.url); |
| | | console.log(item); |
| | | if (item.url) { |
| | | window.open(item.url); |
| | | } |
| | | if (item.filePath) { |
| | | window.open(getFile(item.filePath)); |
| | | } |
| | | }, |
| | | getData() { |
| | | // 基本信息 |
| | |
| | | : fieldItem.content1; |
| | | } |
| | | } |
| | | console.log(obj); |
| | | this.detailInfo = obj; |
| | | // 关系图谱 |
| | | this.getMappingData(this.detailInfo.NAME); |
| | |
| | | }); |
| | | }, |
| | | getRelationship() { |
| | | getRelationTypeTreeList().then(res=>{ |
| | | console.log(res,"getRelationTypeTreeList"); |
| | | console.log(res); |
| | | }) |
| | | // getPersonRelationAtSchool({ |
| | | // personId: this.detailId, |
| | | // }).then((res) => { |
| | |
| | | // }); |
| | | // } |
| | | // }); |
| | | getPersonInfo({ |
| | | id: this.detailId, |
| | | type: "PERSON_RELATIONS" |
| | | }).then((res) => { |
| | | this.tableData4 |
| | | console.log(res,"PERSON_RELATIONS"); |
| | | }); |
| | | // 社会关系 |
| | | getPersonRelationAtSchool({ |
| | | personId: this.detailId, |
| | |
| | | (node) => node.id === item.identifier2 && node.name === item.name2 |
| | | ); |
| | | // 证明不存在 |
| | | if (exists1 !== true) { |
| | | if (item.name1 && exists1 !== true) { |
| | | this.nodes.push({ |
| | | name: item.name1, |
| | | id: item.identifier1 |
| | | }); |
| | | } |
| | | if (exists2 !== true) { |
| | | if (item.name2 && exists2 !== true) { |
| | | this.nodes.push({ |
| | | name: item.name2, |
| | | id: item.identifier2 |
| | |
| | | |
| | | ::v-deep .el-dialog__body { |
| | | padding: 0; |
| | | } |
| | | |
| | | ::v-deep .el-dialog__wrapper { |
| | | z-index: 999999999999999 !important; |
| | | } |
| | | |
| | | .ProfileNav { |