|
|
@@ -17,12 +17,15 @@
|
|
|
:rowSelection="{ type: 'checkbox', getCheckboxProps: getCheckboxProps }"
|
|
|
@fetch-success="handleFetchSuccess"
|
|
|
>
|
|
|
+ <template #tableTitle>
|
|
|
+ <div class="fileName">root</div>
|
|
|
+ </template>
|
|
|
<template #toolbar>
|
|
|
<a-button v-if="isPatchAuth" type="primary" @click="handlePatchSelect">
|
|
|
{{ t('routes.archive.patchArchive') }}</a-button
|
|
|
>
|
|
|
- <!-- <a-button type="primary" color="warning" @click="() => {}"> 编辑</a-button>
|
|
|
- <a-button type="primary" color="error" @click="() => {}"> 删除</a-button> -->
|
|
|
+ <!-- <a-button type="primary" color="warning" @click="() => {}"> 编辑</a-button>-->
|
|
|
+ <a-button type="primary" color="error" @click="() => {}"> 新建文件夹</a-button>
|
|
|
</template>
|
|
|
<template #mapShow="{ record }">
|
|
|
<Switch
|
|
|
@@ -34,11 +37,14 @@
|
|
|
/>
|
|
|
</template>
|
|
|
<template #cover="{ record }">
|
|
|
- <TableImg
|
|
|
- :size="120"
|
|
|
- :simpleShow="true"
|
|
|
- :imgList="[record.thumb || '/resource/img/header.jpg']"
|
|
|
- />
|
|
|
+ <div class="cover">
|
|
|
+ <img src="/resource/img/file.png" style="margin: 0 auto;" alt="" v-if="record.companyName == '哈哈哈哈'" />
|
|
|
+ <TableImg v-else
|
|
|
+ :size="120"
|
|
|
+ :simpleShow="true"
|
|
|
+ :imgList="[record.thumb || '/resource/img/header.jpg']"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<template #link="{ record }">
|
|
|
<template v-if="record.payStatus != -2">
|
|
|
@@ -249,6 +255,13 @@
|
|
|
width: 80,
|
|
|
defaultHidden: true,
|
|
|
},
|
|
|
+ {
|
|
|
+ title: t('routes.scenes.appListPicUrl'),
|
|
|
+ dataIndex: 'thumb',
|
|
|
+ ellipsis: true,
|
|
|
+ slots: { customRender: 'cover' },
|
|
|
+ width: 150,
|
|
|
+ },
|
|
|
// {
|
|
|
// title: 'isCopy(测试)',
|
|
|
// dataIndex: 'isCopy',
|
|
|
@@ -278,13 +291,6 @@
|
|
|
width: 180,
|
|
|
},
|
|
|
{
|
|
|
- title: t('routes.scenes.appListPicUrl'),
|
|
|
- dataIndex: 'thumb',
|
|
|
- ellipsis: true,
|
|
|
- slots: { customRender: 'cover' },
|
|
|
- width: 150,
|
|
|
- },
|
|
|
- {
|
|
|
title: t('routes.scenes.shootUserName'),
|
|
|
dataIndex: 'userName',
|
|
|
ellipsis: false,
|
|
|
@@ -402,7 +408,7 @@
|
|
|
],
|
|
|
};
|
|
|
const [registerTable, { reload, getSelectRowKeys, clearSelectedRowKeys }] = useTable({
|
|
|
- title: t('routes.scenes.sceneList'),
|
|
|
+ //title: t('routes.scenes.sceneList'),
|
|
|
api: ListApi,
|
|
|
columns: columns,
|
|
|
useSearchForm: true,
|