| | |
| | | }, |
| | | methods: { |
| | | copyText() { |
| | | console.log(navigator.clipboard); |
| | | const textToCopy = this.biogData[0].content + ";来源:中医医学人物数据库"; |
| | | const textarea = document.createElement("textarea"); |
| | | textarea.value = textToCopy; |
| | |
| | | : fieldItem.content1; |
| | | } |
| | | } |
| | | console.log(obj); |
| | | this.detailInfo = obj; |
| | | // 关系图谱 |
| | | this.getMappingData(this.detailInfo.NAME); |
| | |
| | | getPersonRelationAtSchool({ |
| | | personId: this.detailId, |
| | | }).then((res) => { |
| | | console.log(res, "PERSON_RELATIONS"); |
| | | // this.personRelationList = res.object.personRelationList; |
| | | // if (this.personRelationList.length) { |
| | | // this.tableData4 = this.personRelationList.map((f) => { |
| | |
| | | getWebBasic({ |
| | | personId: this.detailId, |
| | | }).then((res) => { |
| | | console.log(res, "resres"); |
| | | const obj = res.object; |
| | | if (obj.school) { |
| | | getIntroduction(Number(obj.school)).then((sres) => { |
| | | console.log(sres, "sres"); |
| | | this.handleData(obj, sres); |
| | | }); |
| | | } else { |
| | |
| | | getRelationship() { |
| | | getPersonRelationAtSchool({ |
| | | personId: this.detailId, |
| | | // relationSearchTypeEO: "SOCIAL" |
| | | relationSearchTypeEO: "KINSHIP" |
| | | }).then((res) => { |
| | | console.log(res, "getPersonRelationAtSchool"); |
| | | // 这里接口有问题 |
| | | }); |
| | | }, |
| | |
| | | getSpaceTime({ |
| | | personId: this.detailId, |
| | | }).then((res) => { |
| | | console.log(res, "getSpaceTime"); |
| | | const data = res.list.map((item) => { |
| | | return { |
| | | name: item.activityName, |