|
|
|
@ -26,6 +26,7 @@
|
|
|
|
|
:scroll-x="{enabled: true, gt: 0}"
|
|
|
|
|
rowSelection
|
|
|
|
|
size="mini"
|
|
|
|
|
:loading="getBindValues.loading"
|
|
|
|
|
@cell-dblclick="dbclickVxeRow"
|
|
|
|
|
>
|
|
|
|
|
<vxe-column type="checkbox" width="40"></vxe-column>
|
|
|
|
@ -40,6 +41,19 @@
|
|
|
|
|
<slot name="bodyCell" :column="item" :record="row">{{ row[item.dataIndex] }}</slot>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<template #loading>
|
|
|
|
|
<a-spin />
|
|
|
|
|
</template>
|
|
|
|
|
<vxe-table-column
|
|
|
|
|
v-if="getBindValues.actionColumn"
|
|
|
|
|
:title="getBindValues.actionColumn.title"
|
|
|
|
|
:width="getBindValues.actionColumn.width"
|
|
|
|
|
:fixed="getBindValues.actionColumn.fixed">
|
|
|
|
|
<template #default="{ row }">
|
|
|
|
|
<!-- 操作按钮 -->
|
|
|
|
|
<slot name="tableAction" :record="row"></slot>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-table-column>
|
|
|
|
|
</vxe-table>
|
|
|
|
|
<Table v-else class="basic-table" v-show="getEmptyDataIsShowTable" ref="tableElRef" v-bind="getBindValues" :row-class-name="getRowClassName"
|
|
|
|
|
@change="handleTableChange" @resize-column="resizeColumn">
|
|
|
|
|