杨磊
2024-06-12 f0380c48b2e9e05bded4bf5221cd07211c1ef495
Merge branch 'master' of http://182.92.203.7:2001/r/TCM_CharacterLibrary
2个文件已修改
11 ■■■■ 已修改文件
src/api/index.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/character/detail.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -160,7 +160,8 @@
    url: "/person/fuzzySearch",
    method: "post",
    params: {
      keyword: requestData?.keyword
      keyword: requestData?.keyword,
      personId: requestData?.personId,
    }
  });
};
src/pages/character/detail.vue
@@ -585,7 +585,6 @@
              : fieldItem.content1;
          }
        }
        console.log(obj);
        this.detailInfo = obj;
        getDynastyAll().then((dynastyData) => {
          getWebBasic({
@@ -602,8 +601,9 @@
          });
        });
        // 关系图谱
        this.getMappingData(this.detailInfo.NAME);
        this.getMappingData();
      });
      //现代研究
      getPersonInfo({
        id: this.detailId,
@@ -812,9 +812,9 @@
        }
      });
    },
    getMappingData(name) {
    getMappingData() {
      getFuzzySearch({
        keyword: name,
        personId: this.detailId
      }).then((res) => {
        this.nodes = [];
        this.relationships = [];