| | |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | .table-pagination { |
| | | margin-left: -18px; |
| | | padding: 16px 0px 16px 25px; |
| | | margin-left: 0px; |
| | | padding: 16px 0px; |
| | | text-align: left; |
| | | display: block; |
| | | z-index: 100; |
| | | width: -webkit-fill-available; |
| | | /* width: 80%; */ |
| | | position: fixed; |
| | | bottom: 25px; |
| | | bottom: 0px; |
| | | background-color: white; |
| | | margin-right: 50px; |
| | | } |
| | |
| | | background: #F7F8F9; |
| | | height: 100%; |
| | | display: flex; |
| | | // overflow: hidden; |
| | | overflow: scroll; |
| | | overflow: hidden; |
| | | //overflow: scroll; |
| | | // 左边菜单 |
| | | .el-aside { |
| | | width: $menu-width !important; |
| | | flex-shrink: 0; |
| | | // height: 100%; |
| | | // height: 900px; |
| | | height: calc(100vh - 80px); |
| | | height: calc(100vh - 60px); |
| | | overflow-y: scroll; |
| | | overflow-x: hidden; |
| | | background: #fff; |
| | |
| | | width: 100%; |
| | | //height: 100%; |
| | | overflow: hidden; |
| | | height: calc(100vh - 94px); |
| | | height: calc(100vh - 60px); |
| | | padding: 0; |
| | | position: relative; |
| | | display: flex; |
| | |
| | | } |
| | | // 分页 |
| | | .table-pagination { |
| | | margin-left: -18px; |
| | | padding: 16px 0px 16px 25px; |
| | | margin-left: 0px; |
| | | padding: 16px 0px; |
| | | text-align: left; |
| | | display: block; |
| | | z-index: 100; |
| | | width: -webkit-fill-available; |
| | | /* width: 80%; */ |
| | | position: fixed; |
| | | bottom: 25px; |
| | | bottom: 0px; |
| | | background-color: white; |
| | | margin-right: 50px; |
| | | } |
| | |
| | | } |
| | | // 分页 |
| | | .table-pagination { |
| | | margin-left: -18px; |
| | | padding: 16px 0px 16px 25px; |
| | | margin-left: 0px; |
| | | padding: 16px 0px ; |
| | | text-align: left; |
| | | display: block; |
| | | z-index: 100; |
| | | width: -webkit-fill-available; |
| | | /* width: 80%; */ |
| | | position: fixed; |
| | | bottom: 25px; |
| | | bottom: 0px; |
| | | background-color: white; |
| | | margin-right: 50px; |
| | | } |
| | |
| | | const height = window.innerHeight |
| | | console.log('beforeEach========================:' + height) |
| | | const height13 = getEleHeghtByClassName('common-header', 0) |
| | | const height4 = getEleHeghtByClassName('table-pagination', 0,-20) |
| | | const height5 = document.getElementsByTagName('thead') && document.getElementsByTagName('thead')[0] ? document.getElementsByTagName('thead')[0].clientHeight : 0 |
| | | if (document.getElementsByClassName('main_app') && document.getElementsByClassName('main_app')[0]) { |
| | | console.log('main_app========================') |
| | | // alert(height) |
| | | const height3 = getEleHeghtByClassName('main-header', 0) |
| | | const height4 = getEleHeghtByClassName('table-pagination', 0) |
| | | const height2 = getEleHeghtByClassName('toolbar', 0) |
| | | const height6 = getEleHeghtByClassName('doumee-filter', 0, 16) |
| | | const height7 = getEleHeghtByClassName('pt16', 0, 0) |
| | |
| | | console.log('tableLayout========================') |
| | | const height1 = getEleHeghtByClassName('table-search-form', 40, 16) |
| | | const height3 = getEleHeghtByClassName('main-header', 0) |
| | | const height4 = getEleHeghtByClassName('table-pagination', 0) |
| | | // const height4 = getEleHeghtByClassName('table-pagination', 0,-20) |
| | | const height2 = getEleHeghtByClassName('toolbar', 0) |
| | | console.log('defualtlength', document.getElementsByClassName('table-search-form').length) |
| | | router.app.$store.commit('setTableHeightNew', height - height4 - height3 - height2 - height1 - height5 - height13) |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .table-pagination { |
| | | margin-left: -18px; |
| | | padding: 16px 0px 16px 25px; |
| | | |
| | | margin-left: 0px; |
| | | padding: 16px 0px ; |
| | | text-align: left; |
| | | display: block; |
| | | z-index: 100; |
| | | width: -webkit-fill-available; |
| | | /* width: 80%; */ |
| | | position: fixed; |
| | | bottom: 25px; |
| | | bottom: 0px; |
| | | background-color: white; |
| | | margin-right: 50px; |
| | | } |
| | |
| | | .eq(Cars::getIsdeleted,Constants.ZERO) |
| | | .eq(Cars::getAuthStatus,Constants.ONE)//已授权包期的车辆 |
| | | ); |
| | | if ((carsMapper!=null && carsList.size()>0)){ |
| | | if (carsList!=null && carsList.size()>0){ |
| | | for(Cars car :carsList){ |
| | | if(Constants.equalsInteger(car.getAuthStatus(),Constants.ZERO)){ |
| | | Cars model = new Cars(); |
| | | if(Constants.equalsInteger(car.getAuthStatus(),Constants.ONE)){ |
| | | carsMapper.update(null,new UpdateWrapper<Cars>().lambda() |
| | | .eq(Cars::getId,car.getId()) |
| | | .set(Cars::getStartTime,null) |
| | | .set(Cars::getEndTime,null) |
| | | .set(Cars::getAuthTimeType,null) |
| | | .set(Cars::getAuthStatus,Constants.ZERO) |
| | | .set(Cars::getEditDate,model.getEditDate()) |
| | | .set(Cars::getEdirot,model.getEdirot()) |
| | | .set(Cars::getEditDate,member.getEditDate()) |
| | | .set(Cars::getEdirot,member.getEditor()) |
| | | ); |
| | | //删除已授权下发的包期授权 |
| | | CarsServiceImpl.dealCancelBookBiz(car.getCode(),date,parkBookMapper); |