大哥数据 可以进入主播主页

This commit is contained in:
2025-09-27 19:45:09 +08:00
parent 53ae1757bb
commit ff652e12c4
3 changed files with 35 additions and 3 deletions

View File

@@ -145,7 +145,12 @@
<el-table-column label="大哥所在的地区" align="center" prop="region" />
<el-table-column label="大哥打赏的历史最高金币" align="center" prop="historicHighCoins" />
<el-table-column label="大哥历史打赏金币总和" align="center" prop="totalGiftCoins" />
<el-table-column label="大哥所在的直播间的主播id" align="center" prop="hostDisplayId" />
<el-table-column label="大哥所在的直播间的主播id" align="center" prop="hostDisplayId">
<template #default="scope">
<div style="color: green; text-decoration: underline;" @click="openHtml(scope.row, scope.row.hostDisplayId)">
{{ scope.row.hostDisplayId }}</div>
</template>
</el-table-column>
<el-table-column label="该数据所属的账号id" align="center" prop="ownerId" />
<el-table-column :label="t('newHosts.isAssigned')" align="center" prop="isAssigned">
<template #default="scope">
@@ -411,6 +416,11 @@ function exportAi(type) {
copyToClipboard(data)
}
function openHtml(item, id) {
window.open(`https://www.tiktok.com/@${id}`)
}
/** 初始化 **/
onMounted(() => {
getList()

View File

@@ -135,7 +135,14 @@
<el-table-column label="大哥所在的地区" align="center" prop="region" />
<el-table-column label="大哥打赏的历史最高金币" align="center" prop="historicHighCoins" />
<el-table-column label="大哥历史打赏金币总和" align="center" prop="totalGiftCoins" />
<el-table-column label="大哥所在的直播间的主播id" align="center" prop="hostDisplayId" />
<el-table-column label="大哥所在的直播间的主播id" align="center" prop="hostDisplayId">
<template #default="scope">
<div style="color: green; text-decoration: underline;" @click="openHtmlbig(scope.row.hostDisplayId)">
{{ scope.row.hostDisplayId }}</div>
</template>
</el-table-column>
<!-- <el-table-column label="大哥所在的直播间的主播id" align="center" prop="hostDisplayId" />
-->
<!-- <el-table-column label="该数据所属的账号id" align="center" prop="userId" /> -->
<el-table-column label="创建时间" align="center" prop="createTime" :formatter="dateFormatter" width="180px" />
<el-table-column label="是否洽谈" align="center" prop="operationStatus">
@@ -328,7 +335,10 @@ function openHtml(item, id) {
window.open(`https://www.tiktok.com/@${id}`)
}
function openHtmlbig(id) {
window.open(`https://www.tiktok.com/@${id}`)
}
function exportAi(type) {
if (selectBigList.value.length === 0) {

View File

@@ -139,7 +139,14 @@
<el-table-column label="大哥所在的地区" align="center" prop="region" />
<el-table-column label="大哥打赏的历史最高金币" align="center" prop="historicHighCoins" />
<el-table-column label="大哥历史打赏金币总和" align="center" prop="totalGiftCoins" />
<el-table-column label="大哥所在的直播间的主播id" align="center" prop="hostDisplayId" />
<el-table-column label="大哥所在的直播间的主播id" align="center" prop="hostDisplayId">
<template #default="scope">
<div style="color: green; text-decoration: underline;" @click="openHtmlbig(scope.row.hostDisplayId)">
{{ scope.row.hostDisplayId }}</div>
</template>
</el-table-column>
<!-- <el-table-column label="大哥所在的直播间的主播id" align="center" prop="hostDisplayId" />
-->
<!-- <el-table-column label="该数据所属的账号id" align="center" prop="userId" /> -->
<el-table-column label="创建时间" align="center" prop="createTime" :formatter="dateFormatter" width="180px" />
<el-table-column label="是否洽谈" align="center" prop="operationStatus">
@@ -367,6 +374,11 @@ function openHtml(item, id) {
}
function openHtmlbig(id) {
window.open(`https://www.tiktok.com/@${id}`)
}
function exportAi(type) {
if (selectBigList.value.length === 0) {
ElMessage.error('请选择主播')