| | |
| | | <!-- 操作按钮区域 --> |
| | | <div class="table-operator"> |
| | | <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
| | | <!-- <a-button type="primary" icon="download" @click="handleExportXls('额定寿命')">导出</a-button> |
| | | <a-button type="primary" icon="download" @click="handleExportXls('额定寿命')">导出</a-button> |
| | | <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
| | | <a-button type="primary" icon="import">导入</a-button> |
| | | </a-upload> --> |
| | | </a-upload> |
| | | </div> |
| | | |
| | | <!-- table区域-begin --> |
| | |
| | | { |
| | | title:'刀具编码', |
| | | align:"center", |
| | | dataIndex: 'cuttingId' |
| | | dataIndex: 'cuttingId', |
| | | sorter: true |
| | | }, |
| | | { |
| | | title:'工件材质', |
| | |
| | | deleteBatch: "/cms/ratedLife/deleteBatch", |
| | | exportXlsUrl: "/cms/ratedLife/exportXls", |
| | | importExcelUrl: "cms/ratedLife/importExcel", |
| | | |
| | | |
| | | }, |
| | | dictOptions:{}, |
| | | superFieldList:[], |