YM
2024-05-27 0edf94722a0dcc338567fec7df76b2e0acd39b92
src/pages/character/detail.vue
@@ -507,7 +507,6 @@
  },
  methods: {
    copyText() {
      console.log(navigator.clipboard);
      const textToCopy = this.biogData[0].content + ";来源:中医医学人物数据库";
      const textarea = document.createElement("textarea");
      textarea.value = textToCopy;
@@ -542,7 +541,6 @@
              : fieldItem.content1;
          }
        }
        console.log(obj);
        this.detailInfo = obj;
        // 关系图谱
        this.getMappingData(this.detailInfo.NAME);
@@ -557,7 +555,6 @@
      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) => {
@@ -571,11 +568,9 @@
      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 {
@@ -700,9 +695,8 @@
    getRelationship() {
      getPersonRelationAtSchool({
        personId: this.detailId,
        // relationSearchTypeEO: "SOCIAL"
        relationSearchTypeEO: "KINSHIP"
      }).then((res) => {
        console.log(res, "getPersonRelationAtSchool");
        // 这里接口有问题
      });
    },
@@ -748,7 +742,6 @@
      getSpaceTime({
        personId: this.detailId,
      }).then((res) => {
        console.log(res, "getSpaceTime");
        const data = res.list.map((item) => {
          return {
            name: item.activityName,