杨磊
2024-06-06 d6436978d8b6f2039b6ef797f77fe4de38e6a0ed
src/pages/territory/territory.vue
@@ -426,6 +426,7 @@
          nativePlace: item?.content1,
          barnch: item?.MEDICAL_BRANCH[0]?.content1,
          medical: item?.MEDICAL_EXPERTISE[0]?.content1,
          id: item.id,
        };
        this.$nextTick(() => {
          this.isTop =
@@ -446,7 +447,6 @@
        dynasty: this.dynasty1Color,
      }).then(async (res) => {
        const totalCount = res.object;
        console.log(totalCount, "totalCount");
        if (totalCount % 200 == 0) {
          times = totalCount / 200 - 1;
        } else {
@@ -461,7 +461,6 @@
            markerList = [...markerList, ...curData];
          }
          if (i == times) {
            console.log(markerList, "markerList");
            this.initMap(markerList);
            this.SearchArr = markerList.map((item) => ({
              birthAndDeath: item?.BIRTH_YEAR[0]?.content1
@@ -651,6 +650,7 @@
                nativePlace: item?.content1,
                barnch: item?.MEDICAL_BRANCH[0]?.content1,
                medical: item?.MEDICAL_EXPERTISE[0]?.content1,
                id: item.id,
              };
              this.isTop = e.containerPoint.y - 275 + "px";
              this.isLeft = e.containerPoint.x - 171 + "px";
@@ -677,7 +677,7 @@
    // 查看更多>>
    viewMoreClick() {
      uni.navigateTo({
        url: "/pages/character/detail",
        url: "/pages/character/detail?id=" + this.currentMark.id,
      });
    },
  },