employee 优化

This commit is contained in:
caoqianming 2023-03-10 18:10:31 +08:00
parent aa36560521
commit 7d58c27074
1 changed files with 4 additions and 4 deletions

View File

@ -39,15 +39,15 @@
</template>
</el-table-column>
<el-table-column label="手机号" prop="phone" width="120"></el-table-column>
<el-table-column label="部门" prop="belong_dept" width="280">
<el-table-column label="部门" prop="belong_dept" width="180" :show-overflow-tooltip="true">
<template #default="scope">
<span v-if="scope.row.belong_dept_">{{
scope.row.belong_dept_.name
}}</span>
</template>
</el-table-column>
<el-table-column label="身份证号" prop="id_number" width="180"></el-table-column>
<el-table-column label="系统账号" prop="user" width="180"><template #default="scope">
<el-table-column label="身份证号" prop="id_number" width="180" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="系统账号" prop="user" width="180" ><template #default="scope">
<span v-if="scope.row.user">{{
scope.row.user_.username
}}</span>
@ -59,7 +59,7 @@
}}</span>
</template>
</el-table-column>
<el-table-column label="创建时间" prop="create_time"></el-table-column>
<el-table-column label="创建时间" prop="create_time" width="180"></el-table-column>
<el-table-column label="操作" fixed="right" align="left" width="170">
<template #default="scope">
<!-- <el-button