11
杨磊
2024-05-17 a153c3e5845d44ce0b6210d856f118708824a8e1
src/pages/knowledgeBase/knowledgeBase.vue
@@ -386,8 +386,8 @@
    };
  },
  onLoad(options) {
    this.onSearch({ text: options.name });
    this.keywords = options.name;
    console.log(options.keyword);
    this.onSearch({ text: options.keyword });
  },
  mounted() {
    // 修改两次的高度保持一致
@@ -396,13 +396,11 @@
      box1Height + box1Height / 18 + "px";
    console.log(box1Height, "box1Height");
    this.getStatistics();
    // 默认先调用搜索一次
    this.onSearch("");
  },
  methods: {
    //重置搜索结果
    resetForm() {
      this.tableData = [];
      this.onSearch("");
    },
    // ExportJsonExcel实例
    Ture() {
@@ -416,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, //别名
@@ -658,6 +656,7 @@
        page: this.CurrentPage,
        pageSize: this.pageSize,
      };
      console.log(Obj, "ObjObjObj");
      // // 搜索
      await getPersonList(Obj).then((res) => {
        if (res.success) {