11
杨磊
2024-05-17 a153c3e5845d44ce0b6210d856f118708824a8e1
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
@@ -398,6 +398,10 @@
    this.getStatistics();
  },
  methods: {
    //重置搜索结果
    resetForm() {
      this.onSearch("");
    },
    // ExportJsonExcel实例
    Ture() {
      //   创建ExportJsonExcel实例对象
@@ -410,7 +414,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, //别名
@@ -588,7 +592,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";
        }
@@ -653,7 +656,7 @@
        page: this.CurrentPage,
        pageSize: this.pageSize,
      };
      console.log(Obj,"ObjObjObj");
      console.log(Obj, "ObjObjObj");
      // // 搜索
      await getPersonList(Obj).then((res) => {
        if (res.success) {