|
@@ -35,14 +35,15 @@
|
|
|
:uploadApi="uploadLogoApi"
|
|
|
:value="record.bgMusic"
|
|
|
/> -->
|
|
|
- {{ record.bgMusic }}
|
|
|
+ {{}}
|
|
|
<BasicUpload
|
|
|
:maxSize="5"
|
|
|
:maxNumber="1"
|
|
|
@change="handleMusicUpload"
|
|
|
:api="uploadLogoApi"
|
|
|
class="my-5"
|
|
|
- :accept="['mp3/*']"
|
|
|
+ :value="[record.bgMusic]"
|
|
|
+ :accept="['.mp3', '.wav']"
|
|
|
/>
|
|
|
</template>
|
|
|
<template #expirationTime="{ record }">
|
|
@@ -112,15 +113,16 @@
|
|
|
const [registerSubaccountModal, { openModal: openSubaccountModal }] = useModal();
|
|
|
const { t } = useI18n();
|
|
|
const columns: BasicColumn[] = [
|
|
|
- {
|
|
|
- title: 'ID',
|
|
|
- dataIndex: 'id',
|
|
|
- fixed: 'left',
|
|
|
- width: 80,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: 'ID',
|
|
|
+ // dataIndex: 'id',
|
|
|
+ // fixed: 'left',
|
|
|
+ // width: 80,
|
|
|
+ // },
|
|
|
{
|
|
|
title: t('routes.corporation.enterpriseId'),
|
|
|
dataIndex: 'userName',
|
|
|
+ fixed: 'left',
|
|
|
width: 120,
|
|
|
},
|
|
|
{
|
|
@@ -154,15 +156,18 @@
|
|
|
{
|
|
|
title: t('routes.corporation.subNum'),
|
|
|
dataIndex: 'subNum',
|
|
|
+ ellipsis: false,
|
|
|
width: 80,
|
|
|
},
|
|
|
{
|
|
|
title: t('routes.corporation.sceneNum'),
|
|
|
dataIndex: 'sceneNum',
|
|
|
+ ellipsis: false,
|
|
|
width: 80,
|
|
|
},
|
|
|
{
|
|
|
title: t('routes.corporation.point'),
|
|
|
+ ellipsis: false,
|
|
|
dataIndex: 'point',
|
|
|
width: 80,
|
|
|
},
|
|
@@ -207,14 +212,14 @@
|
|
|
formConfig: searchForm,
|
|
|
showTableSetting: true,
|
|
|
tableSetting: { fullScreen: true },
|
|
|
- showIndexColumn: false,
|
|
|
+ showIndexColumn: true,
|
|
|
rowKey: 'id',
|
|
|
//TODO
|
|
|
fetchSetting: {
|
|
|
pageField: 'pageNum',
|
|
|
sizeField: 'pageSize',
|
|
|
listField: 'list',
|
|
|
- totalField: 'total',
|
|
|
+ totalField: 'totalCount',
|
|
|
},
|
|
|
actionColumn: {
|
|
|
width: 160,
|
|
@@ -241,7 +246,9 @@
|
|
|
// record,
|
|
|
// });
|
|
|
}
|
|
|
- function handleMusicUpload() {}
|
|
|
+ function handleMusicUpload(record: Recordable) {
|
|
|
+ console.log('handleMusicUpload', record);
|
|
|
+ }
|
|
|
async function updateSceneLogo(record: Recordable, data: Result) {
|
|
|
console.log('src', data.message);
|
|
|
console.log('record', record);
|