|
@@ -38,20 +38,20 @@
|
|
|
</a-upload> -->
|
|
|
<!-- 高级查询区域 -->
|
|
|
<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
|
|
|
- <!-- <a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
+ <a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
<a-menu slot="overlay">
|
|
|
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
|
|
|
</a-menu>
|
|
|
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
|
- </a-dropdown> -->
|
|
|
+ </a-dropdown>
|
|
|
</div>
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
|
<div>
|
|
|
- <!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
+ <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
|
|
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
|
|
|
<a-table
|
|
|
ref="table"
|
|
@@ -62,6 +62,7 @@
|
|
|
:columns="columns"
|
|
|
:dataSource="dataSource"
|
|
|
:pagination="ipagination"
|
|
|
+ :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
:loading="loading"
|
|
|
class="j-table-force-nowrap"
|
|
|
@change="handleTableChange">
|
|
@@ -89,10 +90,10 @@
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<!-- <a @click="handleDetail(record)">详情</a> -->
|
|
|
<a @click="exportExcel(record)">下载</a>
|
|
|
- <!-- <a-divider type="vertical" />
|
|
|
+ <a-divider type="vertical" />
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
<a>删除</a>
|
|
|
- </a-popconfirm> -->
|
|
|
+ </a-popconfirm>
|
|
|
<!-- <a @click="handleEdit(record)">编辑</a>
|
|
|
|
|
|
<a-divider type="vertical" />
|