|
@@ -351,7 +351,7 @@ import TableHeaderCell from '@/components/TableHeaderCell'
|
|
|
import { setTableFilters } from '@/utils/table'
|
|
|
|
|
|
export default {
|
|
|
- name: 'Advance',
|
|
|
+ name: 'advanceHome',
|
|
|
components: { Search, Dialog, TableHeaderCell },
|
|
|
data() {
|
|
|
return {
|
|
@@ -641,7 +641,8 @@ export default {
|
|
|
filterValues: {},
|
|
|
tableDataSortRules: {},
|
|
|
spanArr: [],
|
|
|
- contactDot: 0
|
|
|
+ contactDot: 0,
|
|
|
+ scrollTop:0,
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -725,14 +726,15 @@ export default {
|
|
|
// this.statItemsQueryByStatMain(dataContent);
|
|
|
},
|
|
|
mounted() {
|
|
|
- // window.addEventListener('keyup', () => {
|
|
|
- // console.dir(document.activeElement)
|
|
|
- // })
|
|
|
+
|
|
|
+ },
|
|
|
+ activated(){
|
|
|
this.baggageTypeQuery()
|
|
|
- // document.querySelector('.interfaceLog_head_time_start .el-input__prefix i').remove()
|
|
|
- // document.querySelector('.interfaceLog_head_time_start .el-input__prefix').innerHTML = '开始:'
|
|
|
- // document.querySelector('.interfaceLog_head_time_end .el-input__prefix i').remove()
|
|
|
- // document.querySelector('.interfaceLog_head_time_end .el-input__prefix').innerHTML = '结束:'
|
|
|
+ this.dom = this.$refs.table.bodyWrapper;
|
|
|
+ let that = this
|
|
|
+ this.dom.addEventListener('scroll',()=>{
|
|
|
+ that.scrollTop = this.dom.scrollTop
|
|
|
+ })
|
|
|
|
|
|
let flag = false
|
|
|
const query = this.$route.query
|
|
@@ -754,6 +756,8 @@ export default {
|
|
|
this.flightDate = this.queryForm.flightDate
|
|
|
this.onCheckGj()
|
|
|
}
|
|
|
+ this.dom = this.$refs.table.bodyWrapper;
|
|
|
+ this.dom.scrollTop = this.scrollTop;
|
|
|
},
|
|
|
updated() {
|
|
|
// table数据更新
|