This commit is contained in:
yziiy
2025-12-29 14:22:18 +08:00
parent 2d57da2bf2
commit 2740f5f043
3 changed files with 38 additions and 6 deletions

View File

@@ -62,10 +62,13 @@ export function useData() {
<div>{row.sex === 1 ? '男' : '女'}</div>
)
},
{
label: "歌手试音地址",
prop: "song"
},
// {
// label: "歌手试音地址",
// prop: "song",
// cellRenderer: ({ row }) => (
// <el-button type={'text'} >试听歌曲</el-button>
// )
// },
{
label: "状态",
prop: "status",
@@ -125,6 +128,18 @@ export function useData() {
contentRenderer: () => h(detailView)
});
}
// const openSong = (rowData) => {
// addDialog({
// title: `试听音乐`,
// props: {
// rowData: rowData
// },
// width: "60%",
// hideFooter: true,
// closeOnClickModal: false,
// contentRenderer: () => h(detailView)
// });
// }
const openDialog = (title = "新增", rowData: any) => {
addDialog({
title: `${title}歌手认证信息`,
@@ -132,7 +147,8 @@ export function useData() {
formInline: {
status: '',
remark: ''
}
},
songUrl: rowData.song
},
width: "40%",
closeOnClickModal: false,