员工类型新增领导与普通员工区分
This commit is contained in:
@@ -11,7 +11,11 @@
|
||||
<!-- 原有:就诊人类型自定义插槽(不变) -->
|
||||
<template #personType="scope">
|
||||
<el-space>
|
||||
<span v-if="scope.row.personType === 1">公司员工</span>
|
||||
<div v-if="scope.row.personType === 1" class="flex items-center">
|
||||
<span>公司员工</span>
|
||||
<el-tag v-if="scope.row.type == 1" type="success" size="small" class="ml-2">领导</el-tag>
|
||||
<el-tag v-if="scope.row.type == 2" type="info" size="small" class="ml-2">普通员工</el-tag>
|
||||
</div>
|
||||
<span v-else-if="scope.row.personType === 2">
|
||||
员工家属,所属员工:{{ scope.row.employeeName || "未知" }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user