| | |
| | | <!-- 查询区域-END --> |
| | | |
| | | <!-- 操作按钮区域 --> |
| | | <div class="table-operator"> |
| | | <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
| | | </div> |
| | | |
| | | <!-- table区域-begin --> |
| | | <div> |
| | |
| | | :rowSelection="null" |
| | | class="j-table-force-nowrap" |
| | | @change="handleTableChange"> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click="handleDetail(record)">详情</a> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">更多 <a-icon type="down" /></a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | </a-menu-item> |
| | | <a-menu-item> |
| | | <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> |
| | | <a>删除</a> |
| | | </a-popconfirm> |
| | | </a-menu-item> |
| | | </a-menu> |
| | | </a-dropdown> |
| | | </span> |
| | | |
| | | </a-table> |
| | | </div> |
| | |
| | | { |
| | | title:'唯一编码', |
| | | align:"center", |
| | | dataIndex: 'toolId', |
| | | dataIndex: 'onlyCode', |
| | | }, |
| | | { |
| | | title:'量具名称', |
| | |
| | | { |
| | | title:'规格', |
| | | align:"center", |
| | | dataIndex: 'model' |
| | | dataIndex: 'toolModel' |
| | | }, |
| | | { |
| | | title:'计量号', |
| | |
| | | align:"center", |
| | | dataIndex: 'nextVerificationDate' |
| | | }, |
| | | { |
| | | title: '操作', |
| | | dataIndex: 'action', |
| | | align:"center", |
| | | fixed:"right", |
| | | width:147, |
| | | scopedSlots: { customRender: 'action' } |
| | | } |
| | | ], |
| | | url: { |
| | | list: "/tms/toolVerificationRecord/list", |
| | | list: "/tms/toolVerificationRecord/queryPageList", |
| | | delete: "/tms/toolVerificationRecord/delete", |
| | | deleteBatch: "/tms/toolVerificationRecord/deleteBatch", |
| | | exportXlsUrl: "/tms/toolVerificationRecord/exportXls", |