优化代码

This commit is contained in:
wuxw 2022-09-09 01:15:47 +08:00
parent 401adb8ac9
commit b87c77e7eb
2 changed files with 17 additions and 1 deletions

View File

@ -899,4 +899,20 @@ nav-link nav-link-breadcrumb active:active {
.vc-org-page .role-menu .item:hover,
.vc-org-page .role-menu .active {
color: #1890FF;
}
.attendance-staff {
height: 650px;
overflow-y: auto;
scrollbar-width: none;
/* firefox */
-ms-overflow-style: none;
/* IE 10+ */
}
.attendance-staff::-webkit-scrollbar {
display: none;
/* Chrome Safari */
}

View File

@ -7,7 +7,7 @@
<div class="margin-xs-r bg-white padding-bottom padding-lr">
<input v-model="staffAttendanceManageInfo.orgName" readonly @focus="_staffAttendanceChangeOrg()" type="text" :placeholder="vc.i18n('必填,请填写组织','staffAttendanceManage')" class="form-control">
</div>
<div class="margin-xs-r bg-white treeview">
<div class="margin-xs-r bg-white treeview attendance-staff">
<ul class="list-group text-center border-radius">
<!-- -->
<li class="list-group-item node-orgTree " v-for="(item,index) in staffAttendanceManageInfo.staffs" @click="swatchStaff(item)" :class="{'vc-node-selected':staffAttendanceManageInfo.curStaffId==item.userId}">