| | |
| | | class="advancedSeaTrue1" |
| | | > |
| | | <h3>高级搜索</h3> |
| | | <MyForm @submit="onSubmit" :from="from" /> |
| | | <MyForm @submit="onSubmit" @reset="resetForm" :from="from" /> |
| | | </view> |
| | | </view> |
| | | <uni-row |
| | |
| | | this.getStatistics(); |
| | | }, |
| | | methods: { |
| | | //重置搜索结果 |
| | | resetForm() { |
| | | this.tableData = []; |
| | | }, |
| | | // ExportJsonExcel实例 |
| | | Ture() { |
| | | // 创建ExportJsonExcel实例对象 |
| | |
| | | const dataList = this.tableData; |
| | | console.log(this.keywords, "keywords"); |
| | | let Obj = { |
| | | keywords: '楊', //搜索框检索 |
| | | keywords: "楊", //搜索框检索 |
| | | // keywords: this.keywords, //搜索框检索 |
| | | name: this.submitData.name, //姓名 |
| | | alias: this.submitData.alias, //别名 |
| | |
| | | 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"; |
| | | } |