员工分配

This commit is contained in:
2026-03-12 17:44:43 +08:00
parent 5d9b61433d
commit 5268c5ecb6
5 changed files with 20 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"Bash(chmod +x:*)"
]
}
}

View File

@@ -4,8 +4,8 @@ NODE_ENV=development
VITE_DEV=true
# 请求路径
VITE_BASE_URL='http://192.168.2.22:48080'
# VITE_BASE_URL='https://backstageapi.yolozs.com'
# VITE_BASE_URL='http://192.168.2.22:48080'
VITE_BASE_URL='https://backstageapi.yolozs.com'
# VITE_BASE_URL='https://testapi.tknb.net'
# 文件上传类型server - 后端上传, client - 前端直连上传,仅支持 S3 服务

View File

@@ -576,7 +576,8 @@ export default {
flag: 'Flag',
loadNext: 'Next',
previous: 'Previous',
updateTime: 'Update Time'
updateTime: 'Update Time',
allocationUserName: 'Assigned Employee'
},
country: {
greece: 'Greece Region',

View File

@@ -576,7 +576,8 @@ export default {
remark: '备注',
flag: '旗帜',
loadNext: '下页',
previous: '上页'
previous: '上页',
allocationUserName: '所属员工'
},
country: {
greece: '希腊大区',

View File

@@ -173,6 +173,11 @@
</el-table-column>
<el-table-column :label="$t('employee.hostsLevel')" align="center" prop="hostsLevel" />
<el-table-column :label="$t('employee.allocationUserName')" align="center" prop="userId">
<template #default="scope">
{{ test(scope.row.userId) || '-' }}
</template>
</el-table-column>
<el-table-column :label="t('newHosts.invitationType')" align="center" prop="invitationType" width="200">
<template #default="scope">
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'primary' : 'warning'">
@@ -229,14 +234,14 @@
</div>
<!-- <div class="card-row"><b>{{ $t('employee.userId') }}</b>{{ item.userId }}</div> -->
<div class="card-row"><b>{{ $t('employee.allocationUserName') }}:</b>{{ test(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>
<div class="card-row"><b>{{ $t('employee.hostsCountry') }}</b>{{ t('newHosts.min') == '最小值' ?
item.country :
item.countryEng }}</div>
item.country : item.countryEng }}</div>
<div class="card-row"><b>{{ $t('employee.hostsKind') }}</b>{{ item.hostsKind }}</div>
<div class="card-row"><b>{{ $t('employee.remark') }}</b>{{ item.remake }}</div>
<div class="card-row"><b>{{ $t('employee.flag') }}</b><dict-tag :type="DICT_TYPE.FLAG_TYPE"