| | |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | | <a-row :gutter="24"> |
| | | <a-col :md="7" :sm="7"> |
| | | <a-col :md="5" :sm="5"> |
| | | <a-form-item label="部件名称"> |
| | | <a-input placeholder="请输入部件名称" v-model="queryParam.componentName" allow-clear></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="7" :sm="7"> |
| | | <a-col :md="5" :sm="5"> |
| | | <a-form-item label="部件代号"> |
| | | <a-input placeholder="请输入部件代号" v-model="queryParam.componentCode" allow-clear></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="7" :sm="7"> |
| | | <a-col :md="5" :sm="5"> |
| | | <a-form-item label="部件型号"> |
| | | <a-input placeholder="请输入部件型号" v-model="queryParam.componentModel" allow-clear></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="7" :sm="7"> |
| | | <a-col :md="4" :sm="4"> |
| | | <a-form-item label="规格"> |
| | | <a-input placeholder="请输入规格" v-model="queryParam.componentScale" allow-clear></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="7" :sm="7"> |
| | | <a-col :md="4" :sm="4"> |
| | | <a-form-item label="材质"> |
| | | <a-input placeholder="请输入材质" v-model="queryParam.structureType" allow-clear></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="4" :sm="4"> |
| | | <a-space> |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload">重置</a-button> |
| | | </a-space> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | | </div> |
| | | |
| | | <!-- 操作按钮区域 --> |
| | | <div class="table-operator"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload">重置</a-button> |
| | | </div> |
| | | |
| | | <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination" :loading="loading" |
| | |
| | | title: '创建时间', |
| | | dataIndex: 'createTime', |
| | | align: 'center', |
| | | width: 150, |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '创建人', |
| | | dataIndex: 'createBy_dictText', |
| | | align: 'center', |
| | | width: 100, |
| | | width: 60, |
| | | } |
| | | ], |
| | | searchValue: '', |
| | |
| | | this.title = modalTitle |
| | | } |
| | | }, |
| | | |
| | | handleDelete() { |
| | | //此处函数为屏蔽mixins中的同名函数,通用函数写在父级中 |
| | | }, |
| | | |
| | | // 确认批量删除文档 |
| | | confirmBatchDeleteDocument() { |
| | | |
| | |
| | | |
| | | <style scoped lang="less"> |
| | | /deep/ .ant-modal { |
| | | .ant-modal-body{ |
| | | padding: 0 24px 12px; |
| | | } |
| | | |
| | | .tabs-container { |
| | | display: flex; |
| | | justify-content: space-between; |