1
YM
2024-06-06 dd1b7a58b7ffc2153b284a7bfb8f568a2e2050f4
src/pages/character/detail.vue
@@ -290,11 +290,16 @@
              <span>相关附表/图像</span>
            </div>
            <view>
              <div class="flex">
              <div style="overflow: auto">
                <el-image
                  v-for="item in imageList"
                  :key="item"
                  style="width: 2.05rem; height: 2.4rem"
                  style="
                    width: 2.05rem;
                    height: 2.4rem;
                    margin-right: 0.2rem;
                    margin-bottom: 0.1rem;
                  "
                  :src="item"
                  fit="fill"
                ></el-image>
@@ -318,7 +323,7 @@
            >
              <span>现代研究</span>
            </div>
            <ul class="font-family" style="font-size: 0.13rem; line-height: 2">
            <ul class="fileul" style="font-size: 0.13rem; line-height: 2">
              <li
                style="cursor: pointer"
                v-for="(item, index) in personResearchList"
@@ -698,7 +703,11 @@
        this.biogData = res.list.map((item) => {
          return {
            content: item.content1,
            bookName: "《" + item.bookName + "》 " + "P " + item.pageNo // 这里只有bookid无法匹配到书名
            bookName:
              "《" +
              item.bookName +
              "》 " +
              (item.pageNo ? "P " + item.pageNo : "") // 这里只有bookid无法匹配到书名
          };
        });
      });
@@ -719,10 +728,10 @@
      });
    },
    getRelationship() {
      getRelationTypeTreeList().then(res=>{
        console.log(res,"getRelationTypeTreeList");
      getRelationTypeTreeList().then((res) => {
        console.log(res, "getRelationTypeTreeList");
        console.log(res);
      })
      });
      // getPersonRelationAtSchool({
      //   personId: this.detailId,
      // }).then((res) => {
@@ -740,8 +749,8 @@
        id: this.detailId,
        type: "PERSON_RELATIONS"
      }).then((res) => {
        this.tableData4
        console.log(res,"PERSON_RELATIONS");
        this.tableData4;
        console.log(res, "PERSON_RELATIONS");
      });
      // 社会关系
      getPersonRelationAtSchool({
@@ -837,6 +846,7 @@
          });
          this.markerList = data;
          // 时空地图
          // 这里只取了第一条,需要全部数据
          this.initMap(data[0]);
        }
@@ -1512,4 +1522,8 @@
    opacity: 0;
  }
}
.fileul li:hover {
  color: #597aa5;
}
</style>