| | |
| | | class="advancedSea" |
| | | @click="isAvancedClick" |
| | | style="color: #244a7b; cursor: pointer" |
| | | >高级搜索 ﹀</view |
| | | >高级搜索 ∨</view |
| | | > |
| | | </view> |
| | | <!-- 热门搜索 --> |
| | |
| | | class="advancedSeaTrue1" |
| | | > |
| | | <h3>高级搜索</h3> |
| | | <MyForm @submit="onSubmit" :from="from" /> |
| | | <MyForm @submit="onSubmit" @reset="resetForm" :from="from" /> |
| | | </view> |
| | | </view> |
| | | <uni-row |
| | |
| | | <view v-if="profession.list.length - 1 > 3" class="flex flex-center"> |
| | | <view |
| | | class="toggleButton" |
| | | style="color: #c1d3ea" |
| | | style="color: #244a7b" |
| | | @click="shrinkClick('a', '职业')" |
| | | > |
| | | {{ activeBox !== "a" ? "更多 ﹀" : "收起 ︿" }} |
| | | {{ activeBox !== "a" ? "更多 ∨" : "收起 ∧" }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view v-if="dynasty.list.length - 1 > 3" class="flex flex-center"> |
| | | <view |
| | | class="toggleButton" |
| | | style="color: #c1d3ea" |
| | | style="color: #244a7b" |
| | | @click="shrinkClick('b', '时期')" |
| | | > |
| | | {{ activeBox !== "b" ? "更多 ﹀" : "收起 ︿" }} |
| | | {{ activeBox !== "b" ? "更多 ∨" : "收起 ∧" }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </ul> |
| | | <!-- <view class="flex flex-center"> |
| | | <view class="toggleButton" style="font-size: 25rpx;color: #C1D3EA;" @click="shrinkClick('b')"> |
| | | {{ activeBox !== 'b' ? '更多 ﹀' : '收起 ︿' }} |
| | | {{ activeBox !== 'b' ? '更多 ∨' : '收起 ∧' }} |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | |
| | | <el-table-column prop="official" label="官职"></el-table-column> |
| | | </el-table> |
| | | <!-- 分页 --> |
| | | <el-row class="fenye" style="position: absolute; bottom: 0.1rem"> |
| | | <el-row class="fenye"> |
| | | <el-pagination |
| | | class="paging flex" |
| | | :current-page="CurrentPage" |
| | |
| | | }; |
| | | }, |
| | | onLoad(options) { |
| | | this.onSearch({ text: options.name }); |
| | | this.keywords = options.name; |
| | | console.log(options.keyword); |
| | | this.onSearch({ text: options.keyword }); |
| | | }, |
| | | mounted() { |
| | | // 修改两次的高度保持一致 |
| | | var box1Height = document.querySelector(".fbox2").offsetHeight; |
| | | document.querySelector(".fbox3").style.height = |
| | | box1Height + box1Height / 18 + "px"; |
| | | console.log(box1Height, "box1Height"); |
| | | this.getStatistics(); |
| | | // 默认先调用搜索一次 |
| | | this.onSearch(""); |
| | | }, |
| | | 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"; |
| | | } |
| | |
| | | page: this.CurrentPage, |
| | | pageSize: this.pageSize, |
| | | }; |
| | | console.log(Obj,"ObjObjObj"); |
| | | // // 搜索 |
| | | await getPersonList(Obj).then((res) => { |
| | | if (res.success) { |