|
|
@ -55,24 +55,12 @@ |
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection"> |
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection"> |
|
|
|
<!--插槽:table标题--> |
|
|
|
<!--插槽:table标题--> |
|
|
|
<template #tableTitle> |
|
|
|
<template #tableTitle> |
|
|
|
<a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button> |
|
|
|
|
|
|
|
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button> |
|
|
|
|
|
|
|
<j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button> |
|
|
|
|
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0"> |
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0"> |
|
|
|
<template #overlay> |
|
|
|
|
|
|
|
<a-menu> |
|
|
|
|
|
|
|
<a-menu-item key="1" @click="batchHandleDelete"> |
|
|
|
|
|
|
|
<Icon icon="ant-design:delete-outlined"></Icon> |
|
|
|
|
|
|
|
删除 |
|
|
|
|
|
|
|
</a-menu-item> |
|
|
|
|
|
|
|
</a-menu> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
<a-button >批量操作 |
|
|
|
|
|
|
|
<Icon icon="mdi:chevron-down"></Icon> |
|
|
|
|
|
|
|
</a-button> |
|
|
|
|
|
|
|
</a-dropdown> |
|
|
|
</a-dropdown> |
|
|
|
<!-- 高级查询 --> |
|
|
|
<!-- 高级查询 --> |
|
|
|
<super-query :config="superQueryConfig" @search="handleSuperQuery" /> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<!--操作栏--> |
|
|
|
<!--操作栏--> |
|
|
|
<template #action="{ record }"> |
|
|
|
<template #action="{ record }"> |
|
|
|