| | |
| | | <el-button type="primary" icon="el-icon-search" @click="search">查询</el-button> |
| | | <el-button type="info" icon="el-icon-refresh" @click="reset">重置</el-button> |
| | | </div> |
| | | <!-- <div v-if="!isFullscreen" style="display: flex;align-items: start; margin-top: 15px;z-index: 2">--> |
| | | <!-- <div v-if="!isIpad" style="display: flex;align-items: start; margin-top: 15px;z-index: 2">--> |
| | | <!-- <el-button--> |
| | | <!-- type="primary"--> |
| | | <!-- icon="el-icon-refresh-right"--> |
| | |
| | | <!-- >关闭订单--> |
| | | <!-- </el-button>--> |
| | | <!-- </div>--> |
| | | <!-- <div v-if="isFullscreen" style="display: flex;flex-direction: column;align-items: end">--> |
| | | <!-- <div v-if="isIpad" style="display: flex;flex-direction: column;align-items: end">--> |
| | | <!-- <el-button--> |
| | | <!-- type="primary"--> |
| | | <!-- icon="el-icon-refresh-right"--> |
| | |
| | | <el-table-column |
| | | label="操作" |
| | | fixed="right" |
| | | width="80" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | |
| | | } |
| | | } |
| | | return { |
| | | isFullscreen: false, |
| | | isIpad: false, |
| | | mainHeight: 0, |
| | | tableHeight: 0, |
| | | form: { |
| | |
| | | getHeight() { |
| | | this.$nextTick(() => { |
| | | this.mainHeight = window.innerHeight - 250 |
| | | this.tableHeight = this.mainHeight - 100 |
| | | // this.isFullscreen = window.innerHeight < 800 |
| | | if (this.isFullscreen) { |
| | | this.tableHeight = this.tableHeight - 50 |
| | | this.tableHeight = this.mainHeight - 110 |
| | | this.isIpad = window.innerHeight < 769 |
| | | if (this.isIpad) { |
| | | this.tableHeight = this.tableHeight - 30 |
| | | } |
| | | }) |
| | | } |