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, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/knowledgeBase/knowledgeBase.vue b/src/pages/knowledgeBase/knowledgeBase.vue index 970b559..e7c65c2 100644 --- a/src/pages/knowledgeBase/knowledgeBase.vue +++ b/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) { -- Gitblit v1.9.1