| | |
| | | }; |
| | | }, |
| | | onLoad(options) { |
| | | this.onSearch({ text: options.name }); |
| | | this.keywords = options.name; |
| | | console.log(options.keyword); |
| | | this.onSearch({ text: options.keyword }); |
| | | }, |
| | | mounted() { |
| | | // 修改两次的高度保持一致 |
| | |
| | | box1Height + box1Height / 18 + "px"; |
| | | console.log(box1Height, "box1Height"); |
| | | this.getStatistics(); |
| | | // 默认先调用搜索一次 |
| | | this.onSearch(""); |
| | | }, |
| | | methods: { |
| | | //重置搜索结果 |
| | | resetForm() { |
| | | this.tableData = []; |
| | | this.onSearch(""); |
| | | }, |
| | | // ExportJsonExcel实例 |
| | | Ture() { |
| | |
| | | const dataList = this.tableData; |
| | | console.log(this.keywords, "keywords"); |
| | | let Obj = { |
| | | keywords: "楊", //搜索框检索 |
| | | keywords: "", //搜索框检索 |
| | | // keywords: this.keywords, //搜索框检索 |
| | | name: this.submitData.name, //姓名 |
| | | alias: this.submitData.alias, //别名 |
| | |
| | | page: this.CurrentPage, |
| | | pageSize: this.pageSize, |
| | | }; |
| | | console.log(Obj, "ObjObjObj"); |
| | | // // 搜索 |
| | | await getPersonList(Obj).then((res) => { |
| | | if (res.success) { |