111
杨磊
2024-05-17 115287b451d6cb2ef3d215c1113d5e52e2f5422b
111
13个文件已修改
1个文件已添加
594 ■■■■■ 已修改文件
package-lock.json 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/@/uni_modules/uni-scss/index.scss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/footer/footer.vue 131 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/form/form.vue 153 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/headNav/headNav.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/academicGenres/detail.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/character/detail.vue 163 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/characterMap/characterMap.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/inherit/index.vue 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/knowledgeBase/knowledgeBase.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/territory/territory.vue 48 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/userAgreement/userAgreement.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yarn.lock 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package-lock.json
@@ -1,11 +1,11 @@
{
  "name": "my-project",
  "name": "icmm",
  "version": "0.1.0",
  "lockfileVersion": 2,
  "requires": true,
  "packages": {
    "": {
      "name": "my-project",
      "name": "icmm",
      "version": "0.1.0",
      "dependencies": {
        "@dcloudio/uni-app": "^2.0.2-4000820240401001",
@@ -38,6 +38,7 @@
        "js-export-excel": "^1.1.4",
        "leaflet": "^1.9.4",
        "leaflet-tilelayer-wmts": "^1.0.0",
        "leaflet.chinatmsproviders": "^3.0.6",
        "querystring": "^0.2.1",
        "sass": "^1.74.1",
        "uview-ui": "^2.0.37",
@@ -14956,6 +14957,11 @@
      "version": "1.0.0",
      "resolved": "https://registry.npmmirror.com/leaflet-tilelayer-wmts/-/leaflet-tilelayer-wmts-1.0.0.tgz",
      "integrity": "sha512-8VzMOXEJtC89aUKKBSNgsM9vYBp9G229tozqhevZS/hg9fyd0l1J6zcmwTOzQxnEXKtWesUHf1ylp0QHAd356Q=="
    },
    "node_modules/leaflet.chinatmsproviders": {
      "version": "3.0.6",
      "resolved": "https://registry.npmmirror.com/leaflet.chinatmsproviders/-/leaflet.chinatmsproviders-3.0.6.tgz",
      "integrity": "sha512-B4UPSn2MT//RkFoyrVjwqQyfKuf4tSmMjJDKQ6nqwCCGgirYKRWHafSH9JmA88WoG5pkuMXBcKQhY32FobxU/g=="
    },
    "node_modules/leven": {
      "version": "3.1.0",
@@ -34380,6 +34386,11 @@
      "resolved": "https://registry.npmmirror.com/leaflet-tilelayer-wmts/-/leaflet-tilelayer-wmts-1.0.0.tgz",
      "integrity": "sha512-8VzMOXEJtC89aUKKBSNgsM9vYBp9G229tozqhevZS/hg9fyd0l1J6zcmwTOzQxnEXKtWesUHf1ylp0QHAd356Q=="
    },
    "leaflet.chinatmsproviders": {
      "version": "3.0.6",
      "resolved": "https://registry.npmmirror.com/leaflet.chinatmsproviders/-/leaflet.chinatmsproviders-3.0.6.tgz",
      "integrity": "sha512-B4UPSn2MT//RkFoyrVjwqQyfKuf4tSmMjJDKQ6nqwCCGgirYKRWHafSH9JmA88WoG5pkuMXBcKQhY32FobxU/g=="
    },
    "leven": {
      "version": "3.1.0",
      "resolved": "https://registry.npmmirror.com/leven/-/leven-3.1.0.tgz",
package.json
@@ -80,6 +80,7 @@
    "js-export-excel": "^1.1.4",
    "leaflet": "^1.9.4",
    "leaflet-tilelayer-wmts": "^1.0.0",
    "leaflet.chinatmsproviders": "^3.0.6",
    "querystring": "^0.2.1",
    "sass": "^1.74.1",
    "uview-ui": "^2.0.37",
src/@/uni_modules/uni-scss/index.scss
New file
@@ -0,0 +1,3 @@
* {
    font-family: "宋体", "Microsoft YaHei", "微软雅黑", "Arial", sans-serif !important;
}
src/components/footer/footer.vue
@@ -1,65 +1,84 @@
<template>
    <view class="BottomColumn flex flex-center" :style="{'position':isLocation==true?'fixed':'','marginTop':isMarginTop+'rem'}">
        <view class="Bbar flex">
            <img style="display: block;margin-right: .22rem;width: .4rem;height: .4rem;" src="@/static/image/logo.png"
                alt="" srcset="" />
            <view class="font-family" style="color: #2C2C2C; font-size: .12rem;line-height: 1.5;">
                <view class="">
                    ©2017 中国中医科学院中医药信息研究所版权所有 京ICP备********号
                </view>
                <view class="">地址:北京市东城区东直门内南小街16号 邮编:100700 电话:8610-64089611 Email: tcmbase@126.com</view>
            </view>
        </view>
    </view>
  <view
    class="BottomColumn flex flex-center"
    :style="{
      position: isLocation == true ? 'fixed' : '',
      marginTop: isMarginTop + 'rem',
    }"
  >
    <view class="Bbar flex">
      <img
        style="
          display: block;
          margin-right: 0.22rem;
          width: 0.4rem;
          height: 0.4rem;
        "
        src="@/static/image/logo.png"
        alt=""
        srcset=""
      />
      <view
        class="font-family"
        style="color: #2c2c2c; font-size: 0.12rem; line-height: 1.5"
      >
        <view class="">
          ©2017 中国中医科学院中医药信息研究所版权所有 京ICP备********号
        </view>
        <view class=""
          >地址:北京市东城区东直门内南小街16号 邮编:100700 电话:8610-64089611
          Email: tcmtczy@mail.cintcm.ac.cn</view
        >
      </view>
    </view>
  </view>
</template>
<script>
    export default {
        name: "footer",
        props: {
            isLocation: {
                type: Boolean,
                default () {
                    return true
                }
            },
            isMarginTop: {
                type: Number,
                default () {
                    return 0
                }
            },
        },
        data() {
            return {
            };
        }
    }
export default {
  name: "footer",
  props: {
    isLocation: {
      type: Boolean,
      default() {
        return true;
      },
    },
    isMarginTop: {
      type: Number,
      default() {
        return 0;
      },
    },
  },
  data() {
    return {};
  },
};
</script>
<style scoped>
    .BottomColumn {
        /* position: sticky;
.BottomColumn {
  /* position: sticky;
    top: 0; */
        /* position: fixed; */
        /* left: 0px; */
        bottom: 0px;
        left: 0;
        z-index: 999999999999999999999999999999999999999999;
        padding: .19rem 0;
        width: 100%;
        background-color: #e6eff8;
        font-size: 10px;
        color: #000;
  /* position: fixed; */
  /* left: 0px; */
  bottom: 0px;
  left: 0;
  z-index: 999999999999999999999999999999999999999999;
  padding: 0.19rem 0;
  width: 100%;
  background-color: #e6eff8;
  font-size: 10px;
  color: #000;
        /* margin-top: 1rem; */
        .Bbar {
            img {
                width: 60rpx;
                height: 60rpx;
                border-radius: 50%;
            }
        }
    }
</style>
  /* margin-top: 1rem; */
  .Bbar {
    img {
      width: 60rpx;
      height: 60rpx;
      border-radius: 50%;
    }
  }
}
</style>
src/components/form/form.vue
@@ -1,67 +1,102 @@
<template class="">
    <div>
        <el-form size="mini" :inline="true" style="padding: 30rpx 30rpx 10rpx 30rpx" :model="from"
            class="row demo-form-inline col-xs-12">
            <el-row :gutter="10">
                <el-form-item style="width: 30%;" v-for="(item, i) in from.from" :key="i" :label="item.label">
                    <el-input v-if="item.type === 'input'" v-model="item.value" :placeholder="item.label"></el-input>
                    <el-input v-if="item.type === 'number'" min="1"  type="number" v-model.number="item.value"
                        :placeholder="item.label"></el-input>
                    <el-select v-else-if="item.type === 'select'" v-model="item.value" :placeholder="item.label">
                        <el-option v-for="(option, optionIndex) in item.options" :key="optionIndex"
                            :label="option.label" :value="option.value"></el-option>
                    </el-select>
                </el-form-item>
                <!-- 其他表单项省略 -->
                <!-- <el-form-item style="display:block; "> -->
                <view class="flex flex-center Formbtn">
                    <el-button style="background-color: #244A7B;color: #fff;" size="mini"
                        @click="handleSubmit">提交</el-button>
                    <el-button type="info" plain size="mini" @click="handleReset">重置</el-button>
                </view>
                <!-- </el-form-item> -->
            </el-row>
        </el-form>
    </div>
  <div>
    <el-form
      size="mini"
      :inline="true"
      style="padding: 30rpx 30rpx 10rpx 30rpx"
      :model="from"
      class="row demo-form-inline col-xs-12"
    >
      <el-row :gutter="10">
        <el-form-item
          style="width: 30%"
          v-for="(item, i) in from.from"
          :key="i"
          :label="item.label"
        >
          <el-input
            v-if="item.type === 'input'"
            v-model="item.value"
            :placeholder="item.label"
          ></el-input>
          <el-input
            v-if="item.type === 'number'"
            min="1"
            type="number"
            v-model.number="item.value"
            :placeholder="item.label"
          ></el-input>
          <el-select
            v-else-if="item.type === 'select'"
            v-model="item.value"
            :placeholder="item.label"
          >
            <el-option
              v-for="(option, optionIndex) in item.options"
              :key="optionIndex"
              :label="option.label"
              :value="option.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <!-- 其他表单项省略 -->
        <!-- <el-form-item style="display:block; "> -->
        <view class="flex flex-center Formbtn">
          <el-button
            style="background-color: #244a7b; color: #fff"
            size="mini"
            @click="handleSubmit"
            >提交</el-button
          >
          <el-button type="info" plain size="mini" @click="handleReset"
            >重置</el-button
          >
        </view>
        <!-- </el-form-item> -->
      </el-row>
    </el-form>
  </div>
</template>
<script>
    export default {
        props: ['from'],
        methods: {
            handleSubmit() {
                this.$message({
                    message: '查询成功',
                    type: 'success'
                })
                const result = this.from.from.reduce((obj, item) => {
                    obj[item.name] = item.value
                    return obj
                }, {})
                // 提交逻辑
                this.$emit('submit', result) // 发送 submit 事件,并将表单数据作为参数传递给父组件
            },
            handleReset() {
                this.from.from.forEach(item => {
                    item.value = ''
                })
                // 重置逻辑
                // this.$emit('reset') // 发送 reset 事件给父组件
            }
        }
    }
export default {
  props: ["from"],
  mounted(){
    console.log(this.from,"from");
  },
  methods: {
    handleSubmit() {
      this.$message({
        message: "查询成功",
        type: "success",
      });
      const result = this.from.from.reduce((obj, item) => {
        obj[item.name] = item.value;
        return obj;
      }, {});
      // 提交逻辑
      this.$emit("submit", result); // 发送 submit 事件,并将表单数据作为参数传递给父组件
    },
    handleReset() {
      this.from.from.forEach((item) => {
        item.value = "";
      });
      // 重置逻辑
      this.$emit('reset') // 发送 reset 事件给父组件
    },
  },
};
</script>
<style scoped>
    .el-form--inline .el-form-item {
        margin-right: 0;
    }
.el-form--inline .el-form-item {
  margin-right: 0;
}
    ::v-deep .el-form-item__content {
        width: 80%;
    }
::v-deep .el-form-item__content {
  width: 80%;
}
    ::v-deep .el-form-item__content div {
        width: 100%;
    }
</style>
::v-deep .el-form-item__content div {
  width: 100%;
}
</style>
src/components/headNav/headNav.vue
@@ -3,6 +3,7 @@
    <view class="NavTop flex" :style="{ backgroundImage: 'url(' + bg + ')' }" >
      <view
        class="santiaogang"
        title="导航菜单"
        style="width: 0.34rem; height: 0.34rem; margin-right: 3rem;cursor: pointer;"
        @click="menuNav = !menuNav"
        ><img
@@ -17,7 +18,6 @@
          style="
            margin-left: 0.19rem;
            font-size: 0.24rem;
            font-family: cursive;
            font-weight: 900;
          "
        >
src/pages/academicGenres/detail.vue
@@ -169,6 +169,7 @@
  methods: {
    getData() {
      getIntroduction(Number(this.idIndex)).then((res) => {
        console.log(res,"rrrr");
        this.detailData = {
          name: res.object.school_NAME[0].content,
          icon:
@@ -247,7 +248,7 @@
              })
            : []
        };
        console.log(this.detailData);
        console.log(this.detailData,"detailDatadetailData");
      });
    },
    goBack() {
src/pages/character/detail.vue
@@ -11,7 +11,6 @@
        }}</view>
        <ul class="flex" style="line-height: 1.2; margin: 0.15rem 0">
          <li
            v-for="item in 4"
            style="
              background-color: #fff;
              padding: 0 0.08rem;
@@ -22,7 +21,46 @@
              margin-right: 0.15rem;
            "
          >
            VSDS
            RDF
          </li>
          <li
            style="
              background-color: #fff;
              padding: 0 0.08rem;
              border: 0.01rem solid #000;
              border-radius: 0.1rem;
              font-size: 0.12rem;
              text-align: center;
              margin-right: 0.15rem;
            "
          >
            NT
          </li>
          <li
            style="
              background-color: #fff;
              padding: 0 0.08rem;
              border: 0.01rem solid #000;
              border-radius: 0.1rem;
              font-size: 0.12rem;
              text-align: center;
              margin-right: 0.15rem;
            "
          >
            XML
          </li>
          <li
            style="
              background-color: #fff;
              padding: 0 0.08rem;
              border: 0.01rem solid #000;
              border-radius: 0.1rem;
              font-size: 0.12rem;
              text-align: center;
              margin-right: 0.15rem;
            "
          >
            JSON
          </li>
        </ul>
        <view
@@ -58,9 +96,9 @@
      </view>
      <view style="width: 5%"></view>
    </view>
    <el-row style="padding: 0 1.2rem 0; padding-top: 0.24rem">
    <div style="padding: 0 1.2rem 0; padding-top: 0.24rem;display: flex;">
      <!-- 左侧 -->
      <el-col
      <div
        :span="5"
        class="BoxLeft"
        style="padding-right: 0.2rem; width: 2.8rem"
@@ -148,9 +186,9 @@
            </ul>
          </el-card>
        </div>
      </el-col>
      </div>
      <!-- 右侧 -->
      <el-col :span="18" class="BoxRight">
      <div :span="18" class="BoxRight">
        <div class="grid-content bg-purple-dark" style="width: 100%">
          <el-card class="box-card" style="padding: 0">
            <div
@@ -222,7 +260,7 @@
              <el-image
                v-for="item in imageList"
                :key="item"
                style="width: 2.05rem; height: 1.4rem"
                style="width: 2.05rem; height: 2.4rem"
                :src="item"
                fit="fill"
              ></el-image>
@@ -237,30 +275,21 @@
                padding-bottom: 0.1rem;
              "
            >
              <span>相关附表/图像</span>
              <span>现代研究</span>
            </div>
            <ul class="font-family" style="font-size: 0.13rem; line-height: 2">
              <li>
                [1|刘炜,谢蓉,张磊,等.向人文研究的国家数据基础设施建设[J|.中国图书馆学报,2016,42(5):29-39.
              </li>
              <li>
                [2|周晨.国际数字人文研究特征与知识结构|J图书馆论坛2017.37(4):1-8.
              </li>
              <li>
                [3]傅德华,于翠艳,李春博,关于创建“20
                世纪中国人物传记资料全文数据库治的构想[川,中国者引,2009,714):24-26.
              </li>
              <li>
                [4|于翠艳,傅德华,李春博,关于“20世纪中国人物传记资料全文数据库治的进展与困惑[J1.中国常引,2012.10111:20-22
              </li>
              <li>
                [5]贾武。《湖南近代人物数据率》资源收录范围研究|J河南图书馆学利,2015,35(7):126.127.140.
              <li
                v-for="(item, index) in personResearchList"
                :key="index"
                @click="toLink(item)"
              >
                {{ "[" + Number(index + 1) + "]" + item.achievementName }}
              </li>
            </ul>
          </el-card>
        </div>
      </el-col>
    </el-row>
      </div>
    </div>
    <!-- 返回顶部 -->
    <el-col style="position: absolute; bottom: 1rem; left: 1.2rem">
@@ -274,9 +303,13 @@
    <!-- 个人小传 -->
    <el-dialog :visible.sync="isProfile" :modal-append-to-body="false">
      <view class="ProfileNav flex flex-center"> 个人小传 </view>
      <view style="padding: 0.44rem 0.3rem; min-height: 7.32rem">
      <view
        style="padding: 0.44rem 0.3rem; min-height: 7.32rem"
        v-if="biogData.length > 0"
      >
        <view
          v-for="item in biogData"
          v-for="(item, index) in biogData"
          :key="index"
          style="
            margin-bottom: 0.2rem;
            background-color: #f0f0f0;
@@ -297,6 +330,9 @@
          </view>
        </view>
      </view>
      <div v-else>
        <el-empty description="暂无数据"></el-empty>
      </div>
    </el-dialog>
  </view>
</template>
@@ -344,6 +380,10 @@
        {
          prop: "a",
          label: "正书名",
        },
        {
          prop: "e",
          label: "作者",
        },
        {
          prop: "b",
@@ -401,6 +441,7 @@
      tableData5: [],
      nodes: [],
      relationships: [],
      personResearchList: [],
    };
  },
  onLoad(options) {
@@ -443,6 +484,9 @@
        type: "success",
      });
    },
    toLink(item) {
      window.open(item.url);
    },
    getData() {
      // 基本信息
      getPersonInfo({
@@ -467,9 +511,31 @@
        // 关系图谱
        this.getMappingData(this.detailInfo.NAME);
      });
      //现代研究
      getPersonInfo({
        id: this.detailId,
        type: "PERSON_RESEARCH",
      }).then((res) => {
        console.log(res, "123123123");
        this.personResearchList = res.object.personResearchList;
      });
      getPersonInfo({
        id: this.detailId,
        type: "PERSON_RELATIONS",
      }).then((res) => {
        console.log(res, "PERSON_RELATIONS");
        this.personRelationList = res.object.personRelationList;
        if (this.personRelationList.length) {
          this.tableData4 = this.personRelationList.map((f) => {
            return {
              a: f.nodeName,
              b: f.relationTypeName,
            };
          });
        }
      });
      getWebBasic({
        personId: this.detailId
        personId: this.detailId,
      }).then((res) => {
        console.log(res, "resres");
        const obj = res.object;
@@ -480,39 +546,39 @@
              list: [
                {
                  name: "别名",
                  value: obj.alias || "-"
                  value: obj.alias || "-",
                },
                {
                  name: "字",
                  value: obj.zi || "-"
                  value: obj.zi || "-",
                },
                {
                  name: "号",
                  value: obj.hao || "-"
                  value: obj.hao || "-",
                },
                {
                  name: "所处时期",
                  value: obj.dynastyDesc || "-"
                  value: obj.dynastyDesc || "-",
                },
                {
                  name: "民族",
                  value: obj.ethnic || "-"
                }
              ]
                  value: obj.ethnic || "-",
                },
              ],
            },
            {
              list: [
                {
                  name: "籍贯",
                  value: obj.native || "-"
                  value: obj.native || "-",
                },
                {
                  name: "性别",
                  value: obj.gender || "-"
                  value: obj.gender || "-",
                },
                {
                  name: "职官",
                  value: obj.official || "-"
                  value: obj.official || "-",
                },
                {
                  name: "流派",
@@ -522,14 +588,14 @@
                    sres.object.school_NAME &&
                    sres.object.school_NAME.length
                      ? sres.object.school_NAME[0].content
                      : "-"
                      : "-",
                },
                {
                  name: "学术特点",
                  value: obj.features || "-"
                }
              ]
            }
                  value: obj.features || "-",
                },
              ],
            },
          ];
        });
      });
@@ -584,6 +650,7 @@
            b: item.dynasty,
            c: item.writeWay,
            d: item.classify,
            e: this.detailInfo.NAME,
          };
        });
      });
@@ -643,7 +710,7 @@
        const data = res.list.map((item) => {
          return {
            name: item.activityName,
            value: [item.xcoord, item.ycoord]
            value: [item.xcoord, item.ycoord],
          };
        });
        // 时空地图
@@ -1087,6 +1154,12 @@
.BoxLeft ::v-deep.el-card__body {
  padding: 0.1rem 0.11rem !important;
}
.BoxLeft{
  width: 30%;
}
.BoxRight{
  width: 70%;
}
::v-deep .el-tabs__content {
  line-height: 1;
src/pages/characterMap/characterMap.vue
@@ -123,15 +123,14 @@
      //   "http://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}"
      // ).addTo(map);
      L.tileLayer(
        "https://t{s}.tianditu.gov.cn/vec_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=vec&tileMatrixSet=c&TileMatrix={z}&TileRow={y}&TileCol={x}&style=default&format=tiles&tk=76bc34ead7e30e663a4eded8aeaf5860",
        {
      L.tileLayer
        .chinaProvider("TianDiTu.Normal.Map", {
          key: "76bc34ead7e30e663a4eded8aeaf5860",
          maxZoom: 18,
          attribution: "Map data &copy; 2012-2019, TianDiTu",
          id: "tdtAnnoLayer",
          accessToken: "your.mapbox.public.access.token",
        }
      ).addTo(map);
          minZoom: 5,
        })
        .addTo(map);
      let DefaultIcon1 = L.icon({
        iconUrl: this.icoName,
        iconSize: [24, 41], //  图标的大小    【值1,值2】 为具体你自定义图标的尺寸,比如我图标尺寸是32×52,表示该图标:宽度32像素,高度:52像素,那么值1:就是32,值2:就是52
src/pages/inherit/index.vue
@@ -71,7 +71,10 @@
    </div>
    <div class="contentBox">
      <!-- echarts图 -->
      <div class="barChart" ref="barChart"></div>
      <div v-if="nodeData.length > 0" class="barChart" ref="barChart"></div>
      <div v-else>
        <el-empty description="暂无数据"></el-empty>
      </div>
      <div
        class="toolBox"
        v-if="showTool"
@@ -88,7 +91,7 @@
import * as echarts from "echarts";
import {
  inheritMedicalSataStatistics,
  inheritMedicalList
  inheritMedicalList,
} from "@/api/index.js";
export default {
  data() {
@@ -96,7 +99,7 @@
      // 标题顶部栏需要的东西
      keyword: "",
      idIndex: 0,
      activeId: "",
      activeId: 28,
      conditionId: "",
      searchType: "KEYWORD",
      dynasty: [],
@@ -104,33 +107,36 @@
      showTool: false,
      toolTop: 0,
      toolLeft: 0,
      toolInfo: {}
      toolInfo: {},
    };
  },
  onLoad(options) {
    this.idIndex = options.id;
    console.log("optionsoptionsoptions", options.id);
    getDynasty()
    // getDynasty();
  },
  mounted() {
    this.getStatistics();
    this.getData();
    this.getDynasty()
    // this.getDynasty();
  },
  methods: {
    getStatistics() {
      inheritMedicalSataStatistics().then((res) => {
        this.dynasty = res.object;
        const defaultDynasty = this.dynasty.find((f) => f.dynasty == "宋");
        this.activeId = defaultDynasty.dynastyId;
        this.searchType = "DYNASTY";
        this.getData();
      });
    },
    getData() {
      this.nodeData = [];
      inheritMedicalList({
        keywords: this.keyword,
        dynastyId: this.activeId,
        searchType: this.searchType,
        path: this.conditionId
        path: this.conditionId,
      }).then((res) => {
        console.log(res);
        for (let i = 0; i < res.object.nodeList.length; i++) {
@@ -143,12 +149,12 @@
              itemStyle: {
                color: "#F8E2D7",
                borderColor: "#F3AA78",
                borderWidth: "3"
              }
                borderWidth: "3",
              },
            });
          }
        }
        console.log(this.nodeData);
        console.log(this.nodeData, "nodeData");
        // 初始化 echarts
        this.initBarChart();
      });
@@ -249,7 +255,7 @@
          this.toolLeft = params.event.offsetX + "px";
          this.toolInfo = {
            id: params.data.identifier,
            name: encodeURIComponent(params.data.name)
            name: encodeURIComponent(params.data.name),
          };
        }
      });
@@ -258,7 +264,7 @@
      switch (type) {
        case 1:
          uni.navigateTo({
            url: "/pages/character/detail?id=" + this.toolInfo.id
            url: "/pages/character/detail?id=" + this.toolInfo.id,
          });
          break;
        case 2:
@@ -269,7 +275,7 @@
              "&id=" +
              this.toolInfo.id +
              "&name=" +
              this.toolInfo.name
              this.toolInfo.name,
          });
          break;
        case 3:
@@ -280,7 +286,7 @@
              "&id=" +
              this.toolInfo.id +
              "&name=" +
              this.toolInfo.name
              this.toolInfo.name,
          });
          break;
      }
@@ -320,8 +326,8 @@
        this.keyword = "";
      }
      this.getData();
    }
  }
    },
  },
};
</script>
<style scoped>
src/pages/knowledgeBase/knowledgeBase.vue
@@ -47,7 +47,7 @@
        class="advancedSeaTrue1"
      >
        <h3>高级搜索</h3>
        <MyForm @submit="onSubmit" :from="from" />
        <MyForm @submit="onSubmit" @reset="resetForm" :from="from" />
      </view>
    </view>
    <uni-row
@@ -400,6 +400,10 @@
    this.onSearch("");
  },
  methods: {
    //重置搜索结果
    resetForm() {
      this.tableData = [];
    },
    // ExportJsonExcel实例
    Ture() {
      //   创建ExportJsonExcel实例对象
@@ -412,7 +416,7 @@
      const dataList = this.tableData;
      console.log(this.keywords, "keywords");
      let Obj = {
        keywords: '楊', //搜索框检索
        keywords: "楊", //搜索框检索
        // keywords: this.keywords, //搜索框检索
        name: this.submitData.name, //姓名
        alias: this.submitData.alias, //别名
@@ -590,7 +594,6 @@
        var box1Height = document.querySelector(".fbox").offsetHeight;
        // let box2Height= document.querySelector('.fbox1').style.height = box1Height + 'px';
        let box2Height = document.querySelector(".fbox1").offsetHeight;
        console.log(box1Height, box2Height);
        if (box1Height <= box2Height) {
          document.querySelector(".fbox1").style.height = box1Height + "px";
        }
src/pages/territory/territory.vue
@@ -177,6 +177,7 @@
import L from "leaflet";
import * as echarts from "echarts";
import "echarts/extension/bmap/bmap";
import "leaflet.chinatmsproviders";
export default {
  data() {
    return {
@@ -360,55 +361,18 @@
  methods: {
    //初始化地图
    initMap() {
      // var map = L.map("map", {
      //   center: [34.26, 108.96],
      //   zoom: 4,
      //   maxZoom: 18, //最大缩放层级
      //   minZoom: 1, //最小缩放层级
      //   tileSize: 256, //切片大小
      //   attributionControl: false, // 移除右下角leaflet标识
      //   zoomControl: false, //禁用 + - 按钮
      //   maxBounds: bounds, //设置边界
      //   preferCanvas: true, //默认使用svg渲染,设置canvas渲染
      //   doubleClickZoom: false, //关闭双击缩放
      //   // dragging: false, //鼠标移动事件
      // });
      var map = L.map("map", {
        attributionControl: false,
        preferCanvas: true,
        withPopup: L.latLng(34.261, 108.96),
      }).setView([39.91667, 116.41667], 4);
      // L.tileLayer(
      //   "http://webrd01.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}"
      // ).addTo(map);
      L.tileLayer(
        "http://t0.tianditu.gov.cn/vec_c/wmts?tk=36ef7d20eba483627b043f0909c493ee"
      ).addTo(map);
      L.tileLayer
        .wmts(
          "http://t{s}.tianditu.gov.cn/vec_c/wmts?tk=36ef7d20eba483627b043f0909c493ee",
          {
            layer: "vec", // 矢量图层
            style: "default",
            tilematrixset: "c", // 缩放级别
            format: "tiles",
            attribution: "Map Data &copy; 2023 Tencent",
            subdomains: ["0", "1", "2", "3", "4", "5", "6", "7"],
          }
        )
        .chinaProvider("TianDiTu.Normal.Map", {
          key: "76bc34ead7e30e663a4eded8aeaf5860",
          // maxZoom: 18,
          // minZoom: 5,
        })
        .addTo(map);
      let DefaultIcon1 = L.icon({
src/pages/userAgreement/userAgreement.vue
@@ -63,7 +63,7 @@
        2.如双方就协议内容或其执行发生任何争议,双方应尽量友好协商解决,协商不成时,用户和本知识库一致同意提交本知识库运营商所在地有管辖权的法院管辖。
        九、联系方式
        联系电话:010-64089611
        电子邮箱:tcmbase@126.com
        电子邮箱:tcmtczy@mail.cintcm.ac.cn
@@ -140,7 +140,7 @@
        八、如何联系我们
        如您对本政策有任何疑问、建议或意见的,或您发现您的个人信息可能被泄露的,您可通过联系电话或电子邮箱联系我们。
        联系电话:010-64089611
        电子邮箱:tcmbase@126.com
        电子邮箱:tcmtczy@mail.cintcm.ac.cn
        本政策的生效、履行、解释及争议的解决,您因使用我们的服务而产生或与本政策相关的一切争议、权利主张或其他事项,均适用中华人民共和国法律(港澳台
        地区除外)。您与我们发生的一切争议,应友好协商,如协商不成的,应提交所在地人民法院管辖。
        请您再次确认您已全部阅读并充分理解上述条款。
yarn.lock
@@ -8164,6 +8164,11 @@
  "resolved" "https://registry.npmmirror.com/leaflet-tilelayer-wmts/-/leaflet-tilelayer-wmts-1.0.0.tgz"
  "version" "1.0.0"
"leaflet.chinatmsproviders@^3.0.6":
  "integrity" "sha512-B4UPSn2MT//RkFoyrVjwqQyfKuf4tSmMjJDKQ6nqwCCGgirYKRWHafSH9JmA88WoG5pkuMXBcKQhY32FobxU/g=="
  "resolved" "https://registry.npmmirror.com/leaflet.chinatmsproviders/-/leaflet.chinatmsproviders-3.0.6.tgz"
  "version" "3.0.6"
"leaflet@^1.9.4":
  "integrity" "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA=="
  "resolved" "https://registry.npmmirror.com/leaflet/-/leaflet-1.9.4.tgz"