|
@@ -4,27 +4,34 @@
|
|
|
<template #toolbar> </template>
|
|
|
<template #no="{ state }">
|
|
|
<Tag color="green">
|
|
|
- {{ state }}
|
|
|
+ {{ state || '审核中' }}
|
|
|
</Tag>
|
|
|
</template>
|
|
|
+ <template #action>
|
|
|
+ <TableAction
|
|
|
+ :actions="[
|
|
|
+ {
|
|
|
+ icon: 'clarity:info-standard-line',
|
|
|
+ tooltip: '详细信息',
|
|
|
+ label: '详细信息',
|
|
|
+ onClick: () => {},
|
|
|
+ },
|
|
|
+ ]"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
</BasicTable>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
import { defineComponent } from 'vue';
|
|
|
- import { BasicTable, useTable, BasicColumn, FormProps } from '/@/components/Table';
|
|
|
- // import { CollapseContainer } from '/@/components/Container';
|
|
|
- // import { CropperAvatar } from '/@/components/Cropper';
|
|
|
+ import { BasicTable, useTable, BasicColumn, FormProps, TableAction } from '/@/components/Table';
|
|
|
import { uploadApi } from '/@/api/sys/upload';
|
|
|
import { Tag } from 'ant-design-vue';
|
|
|
- // import { getBasicColumns, getBasicData } from './tableData';
|
|
|
import { ListVerifyApi } from '/@/api/corporation/list';
|
|
|
|
|
|
export default defineComponent({
|
|
|
- components: { BasicTable, Tag },
|
|
|
+ components: { BasicTable, Tag, TableAction },
|
|
|
setup() {
|
|
|
- // const pagination = ref<any>(true);
|
|
|
-
|
|
|
const columns: BasicColumn[] = [
|
|
|
{
|
|
|
title: '提交日期',
|
|
@@ -49,9 +56,9 @@
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|
|
|
- dataIndex: 'bgMusic',
|
|
|
- slots: { customRender: 'bgMusic' },
|
|
|
- width: 180,
|
|
|
+ dataIndex: '',
|
|
|
+ slots: { customRender: 'action' },
|
|
|
+ width: 120,
|
|
|
},
|
|
|
];
|
|
|
|