修改打包占用内存
This commit is contained in:
@@ -17,6 +17,7 @@ export interface EmployeeHostsVO {
|
|||||||
operationStatus: number // 操作状态
|
operationStatus: number // 操作状态
|
||||||
createTime: string // 创建时间
|
createTime: string // 创建时间
|
||||||
remake: string // 备注
|
remake: string // 备注
|
||||||
|
uid: string // 用户id
|
||||||
}
|
}
|
||||||
|
|
||||||
// 员工分配主播 API
|
// 员工分配主播 API
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export interface NewHostsVO {
|
|||||||
hostsKind: string // 直播类型 娱乐,游戏
|
hostsKind: string // 直播类型 娱乐,游戏
|
||||||
isAssigned: number // 是否已经分配给员工
|
isAssigned: number // 是否已经分配给员工
|
||||||
userId: number // 用户 Id
|
userId: number // 用户 Id
|
||||||
|
uid: string // u Id
|
||||||
}
|
}
|
||||||
|
|
||||||
// 主播数据管理 API
|
// 主播数据管理 API
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ const open = async (type: string, id?: number, index?: number) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
formLoading.value = false
|
||||||
} finally {
|
} finally {
|
||||||
formLoading.value = false
|
formLoading.value = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,6 +113,8 @@
|
|||||||
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
|
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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.hostsCoins')" align="center" prop="hostsCoins" />
|
||||||
<!-- <el-table-column :label="$t('employee.invitationType')" align="center" prop="invitationType" /> -->
|
<!-- <el-table-column :label="$t('employee.invitationType')" align="center" prop="invitationType" /> -->
|
||||||
<el-table-column :label="$t('employee.onlineFans')" align="center" prop="onlineFans" />
|
<el-table-column :label="$t('employee.onlineFans')" align="center" prop="onlineFans" />
|
||||||
|
|||||||
@@ -113,6 +113,8 @@
|
|||||||
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
|
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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.hostsCoins')" align="center" prop="hostsCoins" />
|
||||||
<!-- <el-table-column :label="$t('employee.invitationType')" align="center" prop="invitationType" /> -->
|
<!-- <el-table-column :label="$t('employee.invitationType')" align="center" prop="invitationType" /> -->
|
||||||
<el-table-column :label="$t('employee.onlineFans')" align="center" prop="onlineFans" />
|
<el-table-column :label="$t('employee.onlineFans')" align="center" prop="onlineFans" />
|
||||||
@@ -144,6 +146,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- <div class="card-row"><b>{{ $t('employee.userId') }}:</b>{{ item.userId }}</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>{{ $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.hostsCoins') }}:</b>{{ item.hostsCoins }}</div>
|
||||||
<div class="card-row"><b>{{ $t('employee.fans') }}:</b>{{ item.fans }}</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>
|
<div class="card-row"><b>{{ $t('employee.fllowernum') }}:</b>{{ item.fllowernum }}</div>
|
||||||
@@ -306,7 +309,7 @@ const getAllocationList = async () => {
|
|||||||
loading.value = true
|
loading.value = true
|
||||||
allocationUserList.value = []
|
allocationUserList.value = []
|
||||||
try {
|
try {
|
||||||
const data = await getSimpleUserList(wsCache.get('user').user.deptId)
|
const data = await getSimpleUserList()
|
||||||
console.log('data', data)
|
console.log('data', data)
|
||||||
data.forEach((item) => {
|
data.forEach((item) => {
|
||||||
if (wsCache.get('user').user.id == item.id) {
|
if (wsCache.get('user').user.id == item.id) {
|
||||||
|
|||||||
@@ -148,12 +148,15 @@
|
|||||||
<el-table-column type="selection" width="55" />
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column :label="t('newHosts.hostsId')" align="center" prop="hostsId" />
|
<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.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">
|
<el-table-column :label="t('newHosts.invitationType')" align="center" prop="invitationType">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
|
<dict-tag :type="DICT_TYPE.HOSTS_INVITATION_TYPE" :value="scope.row.invitationType" />
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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.onlineFans')" sortable align="center" prop="onlineFans" />
|
||||||
<el-table-column :label="t('newHosts.fans')" sortable align="center" prop="fans" />
|
<el-table-column :label="t('newHosts.fans')" sortable align="center" prop="fans" />
|
||||||
<el-table-column :label="t('newHosts.fllowernum')" sortable align="center" prop="fllowernum" />
|
<el-table-column :label="t('newHosts.fllowernum')" sortable align="center" prop="fllowernum" />
|
||||||
|
|||||||
Reference in New Issue
Block a user