修改打包占用内存

This commit is contained in:
2025-07-02 17:01:21 +08:00
parent 57aa9e21ed
commit 8c214d2ef3
6 changed files with 13 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ export interface EmployeeHostsVO {
operationStatus: number // 操作状态
createTime: string // 创建时间
remake: string // 备注
uid: string // 用户id
}
// 员工分配主播 API

View File

@@ -15,6 +15,7 @@ export interface NewHostsVO {
hostsKind: string // 直播类型 娱乐,游戏
isAssigned: number // 是否已经分配给员工
userId: number // 用户 Id
uid: string // u Id
}
// 主播数据管理 API

View File

@@ -107,6 +107,7 @@ const open = async (type: string, id?: number, index?: number) => {
}
})
formLoading.value = false
} finally {
formLoading.value = false
}

View File

@@ -113,6 +113,8 @@
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
</template>
</el-table-column>
<el-table-column label="uid" align="center" prop="uid" />
<el-table-column :label="$t('employee.hostsCoins')" align="center" prop="hostsCoins" />
<!-- <el-table-column :label="$t('employee.invitationType')" align="center" prop="invitationType" /> -->
<el-table-column :label="$t('employee.onlineFans')" align="center" prop="onlineFans" />

View File

@@ -113,6 +113,8 @@
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
</template>
</el-table-column>
<el-table-column label="uid" align="center" prop="uid" />
<el-table-column :label="$t('employee.hostsCoins')" align="center" prop="hostsCoins" />
<!-- <el-table-column :label="$t('employee.invitationType')" align="center" prop="invitationType" /> -->
<el-table-column :label="$t('employee.onlineFans')" align="center" prop="onlineFans" />
@@ -144,6 +146,7 @@
</div>
<!-- <div class="card-row"><b>{{ $t('employee.userId') }}</b>{{ item.userId }}</div> -->
<div class="card-row"><b>{{ $t('employee.hostsLevel') }}</b>{{ item.hostsLevel }}</div>
<div class="card-row"><b>uid</b>{{ item.uid }}</div>
<div class="card-row"><b>{{ $t('employee.hostsCoins') }}</b>{{ item.hostsCoins }}</div>
<div class="card-row"><b>{{ $t('employee.fans') }}</b>{{ item.fans }}</div>
<div class="card-row"><b>{{ $t('employee.fllowernum') }}</b>{{ item.fllowernum }}</div>
@@ -306,7 +309,7 @@ const getAllocationList = async () => {
loading.value = true
allocationUserList.value = []
try {
const data = await getSimpleUserList(wsCache.get('user').user.deptId)
const data = await getSimpleUserList()
console.log('data', data)
data.forEach((item) => {
if (wsCache.get('user').user.id == item.id) {

View File

@@ -148,12 +148,15 @@
<el-table-column type="selection" width="55" />
<el-table-column :label="t('newHosts.hostsId')" align="center" prop="hostsId" />
<el-table-column :label="t('newHosts.hostsLevel')" sortable align="center" prop="hostsLevel" />
<el-table-column :label="t('newHosts.hostsCoins')" sortable align="center" prop="hostsCoins" />
<el-table-column :label="t('newHosts.invitationType')" align="center" prop="invitationType">
<template #default="scope">
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
</template>
</el-table-column>
<el-table-column label="uid" align="center" prop="uid" />
<el-table-column :label="t('newHosts.hostsCoins')" sortable align="center" prop="hostsCoins" />
<el-table-column :label="t('newHosts.onlineFans')" sortable align="center" prop="onlineFans" />
<el-table-column :label="t('newHosts.fans')" sortable align="center" prop="fans" />
<el-table-column :label="t('newHosts.fllowernum')" sortable align="center" prop="fllowernum" />