| | |
| | | </a-form> |
| | | </div> |
| | | |
| | | <!-- 操作按钮区域 --> |
| | | <div class="table-operator"> |
| | | <a-button @click="handleBatchPrint" type="primary" icon="monitor" :disabled="selectedRowKeys.length===0">批量预览 |
| | | </a-button> |
| | | </div> |
| | | |
| | | <!-- table区域-begin --> |
| | | <a-table ref="table" size="middle" bordered rowKey="id" :columns="columns" :dataSource="dataSource" |
| | | :pagination="ipagination" :loading="loading" :scroll="{x:'max-content'}" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange"> |
| | | |
| | | <!--使用部门--> |
| | |
| | | {{[record.zxfactoryOrgCode_dictText].filter(item=>item).join('/')}} |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <span slot="action" slot-scope="text, record"> |
| | | <template v-if="record.changeStatus=='WAIT_SUBMIT'"> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | |
| | |
| | | <!--审批窗口--> |
| | | <third-maintenance-order-change-approval-modal ref="thirdMaintenanceOrderChangeApprovalModal" |
| | | :selectShenpiData="selectedRowData"/> |
| | | |
| | | <!--批量打印窗口--> |
| | | <eam-third-maintenance-change-batch-print-modal ref="batchPrintModal"/> |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | import EamThirdMaintenanceChangeModal from './modules/EamThirdMaintenanceChangeModal.vue' |
| | | import ThirdMaintenanceOrderChangeApprovalModal |
| | | from '../../flowable/workflow/thirdMaintenance/ThirdMaintenanceOrderChangeApprovalModal' |
| | | import EamThirdMaintenanceChangeBatchPrintModal from './modules/EamThirdMaintenanceChangeBatchPrintModal' |
| | | |
| | | export default { |
| | | name: 'EamThirdMaintenanceChangeList', |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | EamThirdMaintenanceChangeBatchPrintModal, |
| | | ThirdMaintenanceOrderChangeApprovalModal, |
| | | EamThirdMaintenanceChangeModal, |
| | | LxSearchEquipmentSelect |
| | |
| | | this.queryParam.dateEnd = dateStringArray[1] |
| | | }, |
| | | |
| | | // 批量打印 |
| | | handleBatchPrint() { |
| | | this.$refs.batchPrintModal.handlePreview(this.selectedRowKeys.join()) |
| | | }, |
| | | |
| | | handlePrint(record) { |
| | | let href = `${window._CONFIG['domianURL']}/jmreport/view/1094880052100399104?id=` + record.id |
| | | // + `&orderId=` + record.id; //网站链接 |