From a153c3e5845d44ce0b6210d856f118708824a8e1 Mon Sep 17 00:00:00 2001 From: 杨磊 <505174330@qq.com> Date: 星期五, 17 五月 2024 22:24:34 +0800 Subject: [PATCH] 11 --- src/pages/knowledgeBase/knowledgeBase.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/pages/knowledgeBase/knowledgeBase.vue b/src/pages/knowledgeBase/knowledgeBase.vue index 09ac0d5..e7c65c2 100644 --- a/src/pages/knowledgeBase/knowledgeBase.vue +++ b/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) { -- Gitblit v1.9.1