员工分配
This commit is contained in:
7
.claude/settings.local.json
Normal file
7
.claude/settings.local.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"Bash(chmod +x:*)"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,8 +4,8 @@ NODE_ENV=development
|
|||||||
VITE_DEV=true
|
VITE_DEV=true
|
||||||
|
|
||||||
# 请求路径
|
# 请求路径
|
||||||
VITE_BASE_URL='http://192.168.2.22:48080'
|
# VITE_BASE_URL='http://192.168.2.22:48080'
|
||||||
# VITE_BASE_URL='https://backstageapi.yolozs.com'
|
VITE_BASE_URL='https://backstageapi.yolozs.com'
|
||||||
# VITE_BASE_URL='https://testapi.tknb.net'
|
# VITE_BASE_URL='https://testapi.tknb.net'
|
||||||
|
|
||||||
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
|
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
|
||||||
|
|||||||
@@ -576,7 +576,8 @@ export default {
|
|||||||
flag: 'Flag',
|
flag: 'Flag',
|
||||||
loadNext: 'Next',
|
loadNext: 'Next',
|
||||||
previous: 'Previous',
|
previous: 'Previous',
|
||||||
updateTime: 'Update Time'
|
updateTime: 'Update Time',
|
||||||
|
allocationUserName: 'Assigned Employee'
|
||||||
},
|
},
|
||||||
country: {
|
country: {
|
||||||
greece: 'Greece Region',
|
greece: 'Greece Region',
|
||||||
|
|||||||
@@ -576,7 +576,8 @@ export default {
|
|||||||
remark: '备注',
|
remark: '备注',
|
||||||
flag: '旗帜',
|
flag: '旗帜',
|
||||||
loadNext: '下页',
|
loadNext: '下页',
|
||||||
previous: '上页'
|
previous: '上页',
|
||||||
|
allocationUserName: '所属员工'
|
||||||
},
|
},
|
||||||
country: {
|
country: {
|
||||||
greece: '希腊大区',
|
greece: '希腊大区',
|
||||||
|
|||||||
@@ -173,6 +173,11 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column :label="$t('employee.hostsLevel')" align="center" prop="hostsLevel" />
|
<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">
|
<el-table-column :label="t('newHosts.invitationType')" align="center" prop="invitationType" width="200">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'primary' : 'warning'">
|
<el-tag size="small" :type="scope.row.invitationType == 1 ? 'primary' : 'warning'">
|
||||||
@@ -229,14 +234,14 @@
|
|||||||
</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.allocationUserName') }}:</b>{{ test(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>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>
|
||||||
<div class="card-row"><b>{{ $t('employee.hostsCountry') }}:</b>{{ t('newHosts.min') == '最小值' ?
|
<div class="card-row"><b>{{ $t('employee.hostsCountry') }}:</b>{{ t('newHosts.min') == '最小值' ?
|
||||||
item.country :
|
item.country : item.countryEng }}</div>
|
||||||
item.countryEng }}</div>
|
|
||||||
<div class="card-row"><b>{{ $t('employee.hostsKind') }}:</b>{{ item.hostsKind }}</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.remark') }}:</b>{{ item.remake }}</div>
|
||||||
<div class="card-row"><b>{{ $t('employee.flag') }}:</b><dict-tag :type="DICT_TYPE.FLAG_TYPE"
|
<div class="card-row"><b>{{ $t('employee.flag') }}:</b><dict-tag :type="DICT_TYPE.FLAG_TYPE"
|
||||||
|
|||||||
Reference in New Issue
Block a user