111
杨磊
2024-05-17 115287b451d6cb2ef3d215c1113d5e52e2f5422b
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";
        }