| | |
| | | <a-button |
| | | @click="handleAdd" |
| | | type="primary" |
| | | v-has="'sparePartList:add'" |
| | | icon="plus" |
| | | :hidden="disabled" |
| | | >新增</a-button> |
| | |
| | | 批量操作 |
| | | <a-icon type="down" /> |
| | | </a-button> |
| | | <a-menu slot="overlay"> |
| | | <a-menu slot="overlay" > |
| | | <a-menu-item @click="batchDel"> |
| | | <a-icon type="delete" />删除 |
| | | </a-menu-item> |
| | |
| | | > |
| | | <a |
| | | href="javascript:;" |
| | | v-has="'sparePartList:edit'" |
| | | @click="handleEdit(record)" |
| | | >编辑</a> |
| | | <a-divider type="vertical" /> |
| | |
| | | 更多 |
| | | <a-icon type="down" /> |
| | | </a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu slot="overlay" v-has="'sparePartList:delete'"> |
| | | <!-- <a-menu-item> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | | </a-menu-item> --> |
| | | <a-menu-item> |
| | | <a-menu-item > |
| | | <a-popconfirm |
| | | title="确定删除吗?" |
| | | @confirm="() => handleDelete(record.id)" |
| | |
| | | dataIndex: 'constructorId_dictText', |
| | | }, |
| | | { |
| | | title: '主单位', |
| | | title: '单位', |
| | | align: "center", |
| | | dataIndex: 'mainUnitId_dictText', |
| | | }, |
| | | { |
| | | /* { |
| | | title: '辅单位', |
| | | align: "center", |
| | | dataIndex: 'auxiliaryUnitId_dictText', |
| | | }, |
| | | }, */ |
| | | // { |
| | | // title: '主数量', |
| | | // align: "center", |