Showing
21 changed files
with
170 additions
and
23 deletions
| ... | @@ -282,6 +282,14 @@ export default { | ... | @@ -282,6 +282,14 @@ export default { |
| 282 | if (this.$store.state.tagsView.cachedViews.length == 0) { | 282 | if (this.$store.state.tagsView.cachedViews.length == 0) { |
| 283 | this.select(); | 283 | this.select(); |
| 284 | } | 284 | } |
| 285 | + this.$nextTick(()=>{ | ||
| 286 | + let height = window.innerHeight - this.$refs.form.$el.offsetHeight - 60; | ||
| 287 | + if(height < 300){ | ||
| 288 | + this.tableHeight = 300; | ||
| 289 | + }else{ | ||
| 290 | + this.tableHeight = height; | ||
| 291 | + } | ||
| 292 | + }) | ||
| 285 | }, | 293 | }, |
| 286 | activated() { | 294 | activated() { |
| 287 | this.tableSelection = [] | 295 | this.tableSelection = [] |
| ... | @@ -303,7 +311,6 @@ export default { | ... | @@ -303,7 +311,6 @@ export default { |
| 303 | this.shiftKey = false; | 311 | this.shiftKey = false; |
| 304 | } | 312 | } |
| 305 | }); | 313 | }); |
| 306 | - this.tableHeight = window.innerHeight - this.$refs.form.$el.offsetHeight - 60; | ||
| 307 | }, | 314 | }, |
| 308 | methods: { | 315 | methods: { |
| 309 | //查询条件 | 316 | //查询条件 | ... | ... |
| ... | @@ -104,9 +104,17 @@ export default { | ... | @@ -104,9 +104,17 @@ export default { |
| 104 | if (this.$store.state.tagsView.cachedViews.length == 0) { | 104 | if (this.$store.state.tagsView.cachedViews.length == 0) { |
| 105 | this.getList(); | 105 | this.getList(); |
| 106 | } | 106 | } |
| 107 | + this.$nextTick(()=>{ | ||
| 108 | + let height = window.innerHeight - this.$refs.flightAllocForm.$el.offsetHeight - 200; | ||
| 109 | + if(height < 300){ | ||
| 110 | + this.tableHeight = 300; | ||
| 111 | + }else{ | ||
| 112 | + this.tableHeight = height; | ||
| 113 | + } | ||
| 114 | + }) | ||
| 107 | }, | 115 | }, |
| 108 | mounted() { | 116 | mounted() { |
| 109 | - this.tableHeight = window.innerHeight - this.$refs.flightAllocForm.$el.offsetHeight - 200; | 117 | + |
| 110 | }, | 118 | }, |
| 111 | activated() { | 119 | activated() { |
| 112 | this.getList() | 120 | this.getList() | ... | ... |
| ... | @@ -247,9 +247,16 @@ export default { | ... | @@ -247,9 +247,16 @@ export default { |
| 247 | if (this.$store.state.tagsView.cachedViews.length == 0) { | 247 | if (this.$store.state.tagsView.cachedViews.length == 0) { |
| 248 | this.findSourceFlightRules(); | 248 | this.findSourceFlightRules(); |
| 249 | } | 249 | } |
| 250 | + this.$nextTick(()=>{ | ||
| 251 | + let height = window.innerHeight - this.$refs.queryForm.$el.offsetHeight - 200; | ||
| 252 | + if(height < 300){ | ||
| 253 | + this.tableHeight = 300; | ||
| 254 | + }else{ | ||
| 255 | + this.tableHeight = height; | ||
| 256 | + } | ||
| 257 | + }) | ||
| 250 | }, | 258 | }, |
| 251 | mounted() { | 259 | mounted() { |
| 252 | - this.tableHeight = window.innerHeight - this.$refs.queryForm.$el.offsetHeight - 200; | ||
| 253 | }, | 260 | }, |
| 254 | activated() { | 261 | activated() { |
| 255 | this.findSourceFlightRules(); | 262 | this.findSourceFlightRules(); | ... | ... |
| ... | @@ -106,6 +106,14 @@ export default { | ... | @@ -106,6 +106,14 @@ export default { |
| 106 | }, | 106 | }, |
| 107 | created() { | 107 | created() { |
| 108 | this.preQuery(1) | 108 | this.preQuery(1) |
| 109 | + this.$nextTick(()=>{ | ||
| 110 | + let height = window.innerHeight - this.$refs.preReviewOptions.offsetHeight - 300; | ||
| 111 | + if(height < 300){ | ||
| 112 | + this.tableHeight = 300; | ||
| 113 | + }else{ | ||
| 114 | + this.tableHeight = height; | ||
| 115 | + } | ||
| 116 | + }) | ||
| 109 | }, | 117 | }, |
| 110 | activated() { | 118 | activated() { |
| 111 | if (this.flightData.length > 0) { | 119 | if (this.flightData.length > 0) { |
| ... | @@ -113,7 +121,6 @@ export default { | ... | @@ -113,7 +121,6 @@ export default { |
| 113 | } | 121 | } |
| 114 | }, | 122 | }, |
| 115 | mounted() { | 123 | mounted() { |
| 116 | - this.tableHeight = window.innerHeight - this.$refs.preReviewOptions.offsetHeight - 300; | ||
| 117 | }, | 124 | }, |
| 118 | methods: { | 125 | methods: { |
| 119 | //搜索 | 126 | //搜索 | ... | ... |
| ... | @@ -482,6 +482,14 @@ export default { | ... | @@ -482,6 +482,14 @@ export default { |
| 482 | this.findFltConditionData(); | 482 | this.findFltConditionData(); |
| 483 | this.findAllFltData(); | 483 | this.findAllFltData(); |
| 484 | } | 484 | } |
| 485 | + this.$nextTick(()=>{ | ||
| 486 | + let height = window.innerHeight - this.$refs.queryForm.$el.offsetHeight - 120; | ||
| 487 | + if(height < 300){ | ||
| 488 | + this.tableHeight = 300; | ||
| 489 | + }else{ | ||
| 490 | + this.tableHeight = height; | ||
| 491 | + } | ||
| 492 | + }) | ||
| 485 | }, | 493 | }, |
| 486 | activated() { | 494 | activated() { |
| 487 | this.ids = [] | 495 | this.ids = [] |
| ... | @@ -502,7 +510,6 @@ export default { | ... | @@ -502,7 +510,6 @@ export default { |
| 502 | this.shiftKey = false; | 510 | this.shiftKey = false; |
| 503 | } | 511 | } |
| 504 | }); | 512 | }); |
| 505 | - this.tableHeight = window.innerHeight - this.$refs.queryForm.$el.offsetHeight - 120; | ||
| 506 | }, | 513 | }, |
| 507 | methods: { | 514 | methods: { |
| 508 | //输入航班号后 | 515 | //输入航班号后 | ... | ... |
| ... | @@ -89,10 +89,16 @@ export default { | ... | @@ -89,10 +89,16 @@ export default { |
| 89 | } | 89 | } |
| 90 | }, | 90 | }, |
| 91 | created() { | 91 | created() { |
| 92 | - | 92 | + this.$nextTick(()=>{ |
| 93 | + let height = window.innerHeight - this.$refs.goodsStation.$el.offsetHeight - 200; | ||
| 94 | + if(height < 300){ | ||
| 95 | + this.tableHeight = 300; | ||
| 96 | + }else{ | ||
| 97 | + this.tableHeight = height; | ||
| 98 | + } | ||
| 99 | + }) | ||
| 93 | }, | 100 | }, |
| 94 | mounted() { | 101 | mounted() { |
| 95 | - this.tableHeight = window.innerHeight - this.$refs.goodsStation.$el.offsetHeight - 200; | ||
| 96 | this.selection(1) | 102 | this.selection(1) |
| 97 | }, | 103 | }, |
| 98 | watch: { | 104 | watch: { | ... | ... |
| ... | @@ -89,10 +89,16 @@ export default { | ... | @@ -89,10 +89,16 @@ export default { |
| 89 | } | 89 | } |
| 90 | }, | 90 | }, |
| 91 | created() { | 91 | created() { |
| 92 | - | 92 | + this.$nextTick(()=>{ |
| 93 | + let height = window.innerHeight - this.$refs.goodsStation.$el.offsetHeight - 200; | ||
| 94 | + if(height < 300){ | ||
| 95 | + this.tableHeight = 300; | ||
| 96 | + }else{ | ||
| 97 | + this.tableHeight = height; | ||
| 98 | + } | ||
| 99 | + }) | ||
| 93 | }, | 100 | }, |
| 94 | mounted() { | 101 | mounted() { |
| 95 | - this.tableHeight = window.innerHeight - this.$refs.goodsStation.$el.offsetHeight - 200; | ||
| 96 | this.selection(1) | 102 | this.selection(1) |
| 97 | }, | 103 | }, |
| 98 | watch: { | 104 | watch: { | ... | ... |
| ... | @@ -71,9 +71,16 @@ export default { | ... | @@ -71,9 +71,16 @@ export default { |
| 71 | } | 71 | } |
| 72 | }, | 72 | }, |
| 73 | created() { | 73 | created() { |
| 74 | + this.$nextTick(()=>{ | ||
| 75 | + let height = window.innerHeight - this.$refs.goodsStationFlight.$el.offsetHeight - 200; | ||
| 76 | + if(height < 300){ | ||
| 77 | + this.tableHeight = 300; | ||
| 78 | + }else{ | ||
| 79 | + this.tableHeight = height; | ||
| 80 | + } | ||
| 81 | + }) | ||
| 74 | }, | 82 | }, |
| 75 | mounted() { | 83 | mounted() { |
| 76 | - this.tableHeight = window.innerHeight - this.$refs.goodsStationFlight.$el.offsetHeight - 200; | ||
| 77 | this.selection(1) | 84 | this.selection(1) |
| 78 | }, | 85 | }, |
| 79 | watch: { | 86 | watch: { | ... | ... |
| ... | @@ -368,6 +368,14 @@ export default { | ... | @@ -368,6 +368,14 @@ export default { |
| 368 | this.tableHeader = this.tableHeaders['cargo'] | 368 | this.tableHeader = this.tableHeaders['cargo'] |
| 369 | } | 369 | } |
| 370 | this.select(0,'create') | 370 | this.select(0,'create') |
| 371 | + this.$nextTick(()=>{ | ||
| 372 | + let height = window.innerHeight - this.$refs.cargoForm.$el.offsetHeight - 50; | ||
| 373 | + if(height < 300){ | ||
| 374 | + this.tableHeight = 300; | ||
| 375 | + }else{ | ||
| 376 | + this.tableHeight = height; | ||
| 377 | + } | ||
| 378 | + }) | ||
| 371 | }, | 379 | }, |
| 372 | 380 | ||
| 373 | activated() { | 381 | activated() { |
| ... | @@ -441,7 +449,6 @@ export default { | ... | @@ -441,7 +449,6 @@ export default { |
| 441 | this.shiftKey = false; | 449 | this.shiftKey = false; |
| 442 | } | 450 | } |
| 443 | }); | 451 | }); |
| 444 | - this.tableHeight = window.innerHeight - this.$refs.cargoForm.$el.offsetHeight - 50 | ||
| 445 | }, | 452 | }, |
| 446 | watch: { | 453 | watch: { |
| 447 | $route: { | 454 | $route: { | ... | ... |
| ... | @@ -104,12 +104,19 @@ export default { | ... | @@ -104,12 +104,19 @@ export default { |
| 104 | created() { | 104 | created() { |
| 105 | this.selectData.fltDate = this.nowDate(); | 105 | this.selectData.fltDate = this.nowDate(); |
| 106 | this.getFltKindId() | 106 | this.getFltKindId() |
| 107 | + this.$nextTick(()=>{ | ||
| 108 | + let height = window.innerHeight - this.$refs.card1.$el.offsetHeight - this.$refs.indexForm.$el.offsetHeight - 350; | ||
| 109 | + if(height < 300){ | ||
| 110 | + this.tableHeight = 300; | ||
| 111 | + }else{ | ||
| 112 | + this.tableHeight = height; | ||
| 113 | + } | ||
| 114 | + }) | ||
| 107 | }, | 115 | }, |
| 108 | // activated() { | 116 | // activated() { |
| 109 | // this.getFlight() | 117 | // this.getFlight() |
| 110 | // }, | 118 | // }, |
| 111 | mounted() { | 119 | mounted() { |
| 112 | - this.tableHeight = window.innerHeight - this.$refs.card1.$el.offsetHeight - this.$refs.indexForm.$el.offsetHeight - 350 | ||
| 113 | this.getFlight() | 120 | this.getFlight() |
| 114 | }, | 121 | }, |
| 115 | methods: { | 122 | methods: { | ... | ... |
| ... | @@ -98,9 +98,16 @@ export default { | ... | @@ -98,9 +98,16 @@ export default { |
| 98 | }; | 98 | }; |
| 99 | }, | 99 | }, |
| 100 | created() { | 100 | created() { |
| 101 | + this.$nextTick(()=>{ | ||
| 102 | + let height = window.innerHeight - this.$refs.selectForm.$el.offsetHeight - 170; | ||
| 103 | + if(height < 300){ | ||
| 104 | + this.tableHeight = 300; | ||
| 105 | + }else{ | ||
| 106 | + this.tableHeight = height; | ||
| 107 | + } | ||
| 108 | + }) | ||
| 101 | }, | 109 | }, |
| 102 | mounted() { | 110 | mounted() { |
| 103 | - this.tableHeight = window.innerHeight - this.$refs.selectForm.$el.offsetHeight - 170; | ||
| 104 | this.selection(1) | 111 | this.selection(1) |
| 105 | }, | 112 | }, |
| 106 | activated() { | 113 | activated() { | ... | ... |
| ... | @@ -137,9 +137,16 @@ export default { | ... | @@ -137,9 +137,16 @@ export default { |
| 137 | }, | 137 | }, |
| 138 | created() { | 138 | created() { |
| 139 | this.selectOptionData() | 139 | this.selectOptionData() |
| 140 | + this.$nextTick(()=>{ | ||
| 141 | + let height = window.innerHeight - this.$refs.preMdeSelectForm.$el.offsetHeight - 150; | ||
| 142 | + if(height < 300){ | ||
| 143 | + this.tableHeight = 300; | ||
| 144 | + }else{ | ||
| 145 | + this.tableHeight = height; | ||
| 146 | + } | ||
| 147 | + }) | ||
| 140 | }, | 148 | }, |
| 141 | mounted() { | 149 | mounted() { |
| 142 | - this.tableHeight = window.innerHeight - this.$refs.preMdeSelectForm.$el.offsetHeight - 150; | ||
| 143 | this.select(0) | 150 | this.select(0) |
| 144 | }, | 151 | }, |
| 145 | watch: { | 152 | watch: { | ... | ... |
| ... | @@ -107,12 +107,19 @@ export default { | ... | @@ -107,12 +107,19 @@ export default { |
| 107 | this.formData.pickUpDate = this.nowDate() | 107 | this.formData.pickUpDate = this.nowDate() |
| 108 | this.getOption() | 108 | this.getOption() |
| 109 | this.select() | 109 | this.select() |
| 110 | + this.$nextTick(()=>{ | ||
| 111 | + let height = window.innerHeight - this.$refs.reportForm.$el.offsetHeight - 240; | ||
| 112 | + if(height < 300){ | ||
| 113 | + this.tableHeight = 300; | ||
| 114 | + }else{ | ||
| 115 | + this.tableHeight = height; | ||
| 116 | + } | ||
| 117 | + }) | ||
| 110 | }, | 118 | }, |
| 111 | activated() { | 119 | activated() { |
| 112 | this.select() | 120 | this.select() |
| 113 | }, | 121 | }, |
| 114 | mounted() { | 122 | mounted() { |
| 115 | - this.tableHeight = window.innerHeight - this.$refs.reportForm.$el.offsetHeight - 240 | ||
| 116 | }, | 123 | }, |
| 117 | methods: { | 124 | methods: { |
| 118 | getOption() { | 125 | getOption() { | ... | ... |
| ... | @@ -99,9 +99,16 @@ export default { | ... | @@ -99,9 +99,16 @@ export default { |
| 99 | }; | 99 | }; |
| 100 | }, | 100 | }, |
| 101 | created() { | 101 | created() { |
| 102 | + this.$nextTick(()=>{ | ||
| 103 | + let height = window.innerHeight - this.$refs.selectForm.$el.offsetHeight - 170; | ||
| 104 | + if(height < 300){ | ||
| 105 | + this.tableHeight = 300; | ||
| 106 | + }else{ | ||
| 107 | + this.tableHeight = height; | ||
| 108 | + } | ||
| 109 | + }) | ||
| 102 | }, | 110 | }, |
| 103 | mounted() { | 111 | mounted() { |
| 104 | - this.tableHeight = window.innerHeight - this.$refs.selectForm.$el.offsetHeight - 170; | ||
| 105 | this.selection(1) | 112 | this.selection(1) |
| 106 | }, | 113 | }, |
| 107 | activated() { | 114 | activated() { | ... | ... |
| ... | @@ -213,6 +213,14 @@ export default { | ... | @@ -213,6 +213,14 @@ export default { |
| 213 | }, | 213 | }, |
| 214 | created() { | 214 | created() { |
| 215 | this.dictNameSelect() | 215 | this.dictNameSelect() |
| 216 | + this.$nextTick(()=>{ | ||
| 217 | + let height = window.innerHeight - this.$refs.dictForm.$el.offsetHeight - 270; | ||
| 218 | + if(height < 300){ | ||
| 219 | + this.tableHeight = 300; | ||
| 220 | + }else{ | ||
| 221 | + this.tableHeight = height; | ||
| 222 | + } | ||
| 223 | + }) | ||
| 216 | }, | 224 | }, |
| 217 | activated() { | 225 | activated() { |
| 218 | // if (this.$store.state.tagsView.cachedViews.length > 0) { | 226 | // if (this.$store.state.tagsView.cachedViews.length > 0) { |
| ... | @@ -220,7 +228,7 @@ export default { | ... | @@ -220,7 +228,7 @@ export default { |
| 220 | // } | 228 | // } |
| 221 | }, | 229 | }, |
| 222 | mounted() { | 230 | mounted() { |
| 223 | - this.tableHeight = window.innerHeight - this.$refs.dictForm.$el.offsetHeight - 270 | 231 | + |
| 224 | }, | 232 | }, |
| 225 | filters: { | 233 | filters: { |
| 226 | // 是否为ET86航线 | 234 | // 是否为ET86航线 | ... | ... |
| ... | @@ -84,9 +84,16 @@ export default { | ... | @@ -84,9 +84,16 @@ export default { |
| 84 | if (this.$store.state.tagsView.cachedViews.length == 0) { | 84 | if (this.$store.state.tagsView.cachedViews.length == 0) { |
| 85 | this.selectRoleList(); | 85 | this.selectRoleList(); |
| 86 | } | 86 | } |
| 87 | + this.$nextTick(()=>{ | ||
| 88 | + let height = window.innerHeight - this.$refs.selectionRoleForm.$el.offsetHeight - 250; | ||
| 89 | + if(height < 300){ | ||
| 90 | + this.tableHeight = 300; | ||
| 91 | + }else{ | ||
| 92 | + this.tableHeight = height; | ||
| 93 | + } | ||
| 94 | + }) | ||
| 87 | }, | 95 | }, |
| 88 | mounted() { | 96 | mounted() { |
| 89 | - this.tableHeight = window.innerHeight - this.$refs.selectionRoleForm.$el.offsetHeight - 250 | ||
| 90 | }, | 97 | }, |
| 91 | activated() { | 98 | activated() { |
| 92 | this.selectRoleList(); | 99 | this.selectRoleList(); | ... | ... |
| ... | @@ -78,9 +78,16 @@ export default { | ... | @@ -78,9 +78,16 @@ export default { |
| 78 | } | 78 | } |
| 79 | }, | 79 | }, |
| 80 | created() { | 80 | created() { |
| 81 | + this.$nextTick(()=>{ | ||
| 82 | + let height = window.innerHeight - this.$refs.supserAllocation.$el.offsetHeight - 250; | ||
| 83 | + if(height < 300){ | ||
| 84 | + this.tableHeight = 300; | ||
| 85 | + }else{ | ||
| 86 | + this.tableHeight = height; | ||
| 87 | + } | ||
| 88 | + }) | ||
| 81 | }, | 89 | }, |
| 82 | mounted() { | 90 | mounted() { |
| 83 | - this.tableHeight = window.innerHeight - this.$refs.supserAllocation.$el.offsetHeight - 250 | ||
| 84 | this.selection(1) | 91 | this.selection(1) |
| 85 | }, | 92 | }, |
| 86 | methods: { | 93 | methods: { | ... | ... |
| ... | @@ -111,9 +111,16 @@ export default { | ... | @@ -111,9 +111,16 @@ export default { |
| 111 | if (this.$store.state.tagsView.cachedViews.length == 0) { | 111 | if (this.$store.state.tagsView.cachedViews.length == 0) { |
| 112 | this.selectUser(); | 112 | this.selectUser(); |
| 113 | } | 113 | } |
| 114 | + this.$nextTick(()=>{ | ||
| 115 | + let height = window.innerHeight - this.$refs.selectionUserForm.$el.offsetHeight - 250; | ||
| 116 | + if(height < 300){ | ||
| 117 | + this.tableHeight = 300; | ||
| 118 | + }else{ | ||
| 119 | + this.tableHeight = height; | ||
| 120 | + } | ||
| 121 | + }) | ||
| 114 | }, | 122 | }, |
| 115 | mounted() { | 123 | mounted() { |
| 116 | - this.tableHeight = window.innerHeight - this.$refs.selectionUserForm.$el.offsetHeight - 250; | ||
| 117 | }, | 124 | }, |
| 118 | activated() { | 125 | activated() { |
| 119 | this.selectUser(); | 126 | this.selectUser(); | ... | ... |
| ... | @@ -62,9 +62,16 @@ export default { | ... | @@ -62,9 +62,16 @@ export default { |
| 62 | }, | 62 | }, |
| 63 | created() { | 63 | created() { |
| 64 | this.selectLog() | 64 | this.selectLog() |
| 65 | + this.$nextTick(()=>{ | ||
| 66 | + let height = window.innerHeight - this.$refs.archiveDataForm.$el.offsetHeight - 200; | ||
| 67 | + if(height < 300){ | ||
| 68 | + this.tableHeight = 300; | ||
| 69 | + }else{ | ||
| 70 | + this.tableHeight = height; | ||
| 71 | + } | ||
| 72 | + }) | ||
| 65 | }, | 73 | }, |
| 66 | mounted() { | 74 | mounted() { |
| 67 | - this.tableHeight = window.innerHeight - this.$refs.archiveDataForm.$el.offsetHeight - 200 | ||
| 68 | }, | 75 | }, |
| 69 | methods: { | 76 | methods: { |
| 70 | selectLog(val) { | 77 | selectLog(val) { | ... | ... |
| ... | @@ -122,6 +122,14 @@ export default { | ... | @@ -122,6 +122,14 @@ export default { |
| 122 | }, | 122 | }, |
| 123 | created() { | 123 | created() { |
| 124 | this.selectForm.createTime = this.nowDate(); | 124 | this.selectForm.createTime = this.nowDate(); |
| 125 | + this.$nextTick(()=>{ | ||
| 126 | + let height = window.innerHeight - this.$refs.dmLogForm.$el.offsetHeight - 130; | ||
| 127 | + if(height < 300){ | ||
| 128 | + this.tableHeight = 300; | ||
| 129 | + }else{ | ||
| 130 | + this.tableHeight = height; | ||
| 131 | + } | ||
| 132 | + }) | ||
| 125 | }, | 133 | }, |
| 126 | activated() { | 134 | activated() { |
| 127 | this.selectDMData(); | 135 | this.selectDMData(); |
| ... | @@ -130,7 +138,6 @@ export default { | ... | @@ -130,7 +138,6 @@ export default { |
| 130 | this.data = []; | 138 | this.data = []; |
| 131 | }, | 139 | }, |
| 132 | mounted() { | 140 | mounted() { |
| 133 | - this.tableHeight = window.innerHeight - this.$refs.dmLogForm.$el.offsetHeight - 130; | ||
| 134 | }, | 141 | }, |
| 135 | methods: { | 142 | methods: { |
| 136 | //数据查询 | 143 | //数据查询 | ... | ... |
| ... | @@ -104,12 +104,19 @@ export default { | ... | @@ -104,12 +104,19 @@ export default { |
| 104 | created() { | 104 | created() { |
| 105 | this.getModule() | 105 | this.getModule() |
| 106 | this.selectLog(1) | 106 | this.selectLog(1) |
| 107 | + this.$nextTick(()=>{ | ||
| 108 | + let height = window.innerHeight - this.$refs.operationLogForm.$el.offsetHeight - 240; | ||
| 109 | + if(height < 300){ | ||
| 110 | + this.tableHeight = 300; | ||
| 111 | + }else{ | ||
| 112 | + this.tableHeight = height; | ||
| 113 | + } | ||
| 114 | + }) | ||
| 107 | }, | 115 | }, |
| 108 | activated() { | 116 | activated() { |
| 109 | this.selectLog(); | 117 | this.selectLog(); |
| 110 | }, | 118 | }, |
| 111 | mounted() { | 119 | mounted() { |
| 112 | - this.tableHeight = window.innerHeight - this.$refs.operationLogForm.$el.offsetHeight - 240 | ||
| 113 | }, | 120 | }, |
| 114 | methods: { | 121 | methods: { |
| 115 | getModule() { | 122 | getModule() { | ... | ... |
-
Please register or login to post a comment