agent的6个原数据列表页面、收益管理页面调测

This commit is contained in:
康冉冉
2025-09-04 18:25:23 +08:00
parent 90171cd617
commit d1787207ec
27 changed files with 1477 additions and 159 deletions

View File

@@ -1,19 +1,19 @@
<template>
<div>
<!-- 表格头部按钮 -->
<el-row :gutter="10" class="mb8" v-if="config && config.tableButton && config.tableButton.top">
<template v-for="item of config.tableButton.top">
<el-col :span="1.5">
<el-button :type="item.type" plain size="mini" :icon="item.icon" @click="handleClick(item,{})" :hasPermi="[item.hasPermi]">{{item.content}}</el-button>
</el-col>
</template>
<right-toolbar :showSearch.sync="showSearch" @queryTable="renderList" :columns="columns"></right-toolbar>
<el-row :gutter="10" class="mb8">
<template v-if="config && config.tableButton && config.tableButton.top">
<el-col :span="1.5" v-for="item of config.tableButton.top">
<el-button :type="item.type" plain size="mini" :icon="item.icon" @click="handleClick(item,{})" :hasPermi="[item.hasPermi]">{{item.content}}</el-button>
</el-col>
</template>
<right-toolbar v-if="!(config && config.colTopHiddenIcon)" :showSearch.sync="showSearch" @queryTable="renderList" :columns="columns"></right-toolbar>
</el-row>
<!-- 表格数据 -->
<el-table v-loading="loading" :data="tableList" ref="selChangeList" @selection-change="handleSelectionChange">
<el-table-column v-if="!(config && config.colHiddenCheck)" type="selection" width="55" align="center" />
<el-table v-loading="loading" :data="tableList" ref="selChangeList" highlight-selection-row @selection-change="handleSelectionChange">
<el-table-column v-if="!(config && config.colHiddenCheck)" fixed type="selection" width="55" align="center" />
<template v-for="(column, key, index) of columns">
<el-table-column :label="column.label" :key="key" :prop="key" :width="column.width" min-width="100px" v-if="column && column.visible" align="center" :show-overflow-tooltip="true">
<el-table-column v-if="column && column.visible" :label="column.label" :key="key" :prop="key" :width="column.width" :min-width="column.minWidth || '100px'" align="center" :show-overflow-tooltip="true">
<!-- 插槽 自定义列表表头数据格式 -->
<template #header v-if="column && column.slotHeaderName">
<span>{{column.label}}</span>
@@ -74,7 +74,8 @@
config: {
type: Object,
default: () => ({
colHiddenCheck: false
colHiddenCheck: false,
colTopHiddenIcon: false
})
}
},