update
1.用户数据左侧没有工号 2.样式问题
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<template #container>
|
||||
<div class="user-info-modal" style="display: flex">
|
||||
<div style="width: 23%; padding: 0 20px 20px" class="fff">
|
||||
<div style="margin-bottom: 10px; font-weight: bold"> 用户名称:{{ infoData?.username }}</div>
|
||||
<div style="margin-bottom: 10px; font-weight: bold"> 员工姓名:{{ infoData?.username }}</div>
|
||||
<div style="margin-bottom: 10px; font-weight: bold"> 员工工号:{{ infoData?.workNo }} </div>
|
||||
<div style="margin-bottom: 10px; font-weight: bold"> 工具编码:{{ infoData?.watchNo }}</div>
|
||||
<div style="margin-bottom: 10px; font-weight: bold"> 单 位:{{ infoData?.unit }} </div>
|
||||
<div style="margin-bottom: 10px; font-weight: bold">
|
||||
@@ -116,4 +117,4 @@
|
||||
.tabs-d {
|
||||
padding: 20px;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<div class="dialog-con">
|
||||
<a-table
|
||||
class="ant-table-striped"
|
||||
:class="[dataSource.length === 0 ? 'no-bottom' : '']"
|
||||
:dataSource="dataSource"
|
||||
:columns="columns"
|
||||
:scroll="{ y: '56vh' }"
|
||||
@@ -73,6 +74,7 @@
|
||||
const { code, result } = await getUserListByDeptId({ orgId: id, pageSize: pageSize.value, pageNo: current.value });
|
||||
if (code == 200) {
|
||||
dataSource.value = result?.records;
|
||||
total.value = result?.total;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -199,4 +201,8 @@
|
||||
:deep(.ant-table-pagination-right) {
|
||||
margin-right: 10px !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
:deep(.no-bottom .ant-table-cell) {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user