|  |  |  | 
|---|
|  |  |  | <div class="table_btns"> | 
|---|
|  |  |  | <el-button plain type="primary" @click="handleEx">导出</el-button> | 
|---|
|  |  |  | <el-button plain type="danger" @click="openModal('zuofei')">作废</el-button> | 
|---|
|  |  |  | <el-button plain @click="openModal('tiaozheng')">套餐调整</el-button> | 
|---|
|  |  |  | <el-button plain type="primary" @click="openModal('tiaozheng')">套餐调整</el-button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <el-table v-loading="loading" :data="list" stripe border @selection-change="handleSelectionChange"> | 
|---|
|  |  |  | <el-table-column fixed="left" align="center" type="selection" :selectable="handleDisable" width="55" /> | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleEx() { | 
|---|
|  |  |  | const { pagination, filters } = this | 
|---|
|  |  |  | let form = JSON.parse(JSON.stringify(filters)) | 
|---|
|  |  |  | if (form.createDate && form.createDate.length > 0) { | 
|---|
|  |  |  | form.startCreateDate = form.createDate[0] + ' 00:00:00' | 
|---|
|  |  |  | form.endCreateDate = form.createDate[1] + ' 23:59:59' | 
|---|
|  |  |  | delete form.createDate | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.$dialog.exportConfirm('确认导出吗?') | 
|---|
|  |  |  | .then(() => { | 
|---|
|  |  |  | this.loading = true | 
|---|
|  |  |  | comboSaleEx({ | 
|---|
|  |  |  | page: 1, | 
|---|
|  |  |  | capacity: 1000000, | 
|---|
|  |  |  | model: filters | 
|---|
|  |  |  | model: form | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | .then(response => { | 
|---|
|  |  |  | this.download(response) | 
|---|
|  |  |  | 
|---|
|  |  |  | if (page) { pagination.page = page } | 
|---|
|  |  |  | let form = JSON.parse(JSON.stringify(filters)) | 
|---|
|  |  |  | if (form.createDate && form.createDate.length > 0) { | 
|---|
|  |  |  | form.startCreateDate = form.createDate[0] | 
|---|
|  |  |  | form.endCreateDate = form.createDate[1] | 
|---|
|  |  |  | form.startCreateDate = form.createDate[0] + ' 00:00:00' | 
|---|
|  |  |  | form.endCreateDate = form.createDate[1] + ' 23:59:59' | 
|---|
|  |  |  | delete form.createDate | 
|---|
|  |  |  | } | 
|---|
|  |  |  | comboSalePage({ | 
|---|