| | |
| | | <!-- 操作按钮区域 --> |
| | | <div class="table-operator"> |
| | | <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item key="1" @click="handleBatchCollect"> |
| | | <a-icon type="form"/> |
| | | 领取 |
| | | </a-menu-item> |
| | | <a-menu-item key="1" @click="handleBatchAbolish"> |
| | | <a-icon type="delete"/> |
| | | 作废 |
| | | </a-menu-item> |
| | | </a-menu> |
| | | <a-button style="margin-left: 8px"> 批量操作 |
| | | <a-icon type="down"/> |
| | | <a-button @click="handleBatchCollect" type="primary" icon="form" :disabled="selectedRowKeys.length===0">批量领取 |
| | | </a-button> |
| | | </a-dropdown> |
| | | <a-button @click="handleBatchPrint" type="primary" icon="monitor" :disabled="selectedRowKeys.length===0">批量预览 |
| | | </a-button> |
| | | <a-button @click="handleBatchAbolish" type="primary" icon="delete" :disabled="selectedRowKeys.length===0">批量作废 |
| | | </a-button> |
| | | </div> |
| | | |
| | | <!-- table区域-begin --> |
| | |
| | | <!--审批窗口--> |
| | | <third-maintenance-furnace-approval-modal ref="thirdMaintenanceFurnaceApprovalModal" |
| | | :selectShenpiData="selectedRowData"/> |
| | | |
| | | <!--批量打印窗口--> |
| | | <eam-third-maintenance-furnace-batch-print-modal ref="batchPrintModal"/> |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | import { getAction, deleteAction } from '@/api/manage' |
| | | import ThirdMaintenanceFurnaceApprovalModal |
| | | from '../../flowable/workflow/thirdMaintenance/ThirdMaintenanceFurnaceApprovalModal' |
| | | import EamThirdMaintenanceFurnaceBatchPrintModal from './modules/EamThirdMaintenanceFurnaceBatchPrintModal' |
| | | |
| | | export default { |
| | | name: 'EamThirdMaintenanceFurnaceList', |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | EamThirdMaintenanceFurnaceBatchPrintModal, |
| | | ThirdMaintenanceFurnaceApprovalModal, |
| | | LxSearchEquipmentSelect, |
| | | EamThirdMaintenanceFurnaceModal |
| | |
| | | }) |
| | | }, |
| | | |
| | | // 批量打印 |
| | | handleBatchPrint() { |
| | | this.$refs.batchPrintModal.handlePreview(this.selectedRowKeys.join()) |
| | | }, |
| | | |
| | | /** |
| | | * 点击作废时触发 |
| | | * @param id 行记录id |