This commit is contained in:
gaofy 2023-12-20 15:12:29 +08:00
parent 923d34feb8
commit 6679c19a0b
3 changed files with 7 additions and 5 deletions

View File

@ -11,7 +11,7 @@
</ul>
<div class="user-box">
<!-- 超级管理员可切换医院 -->
<el-select v-if="userInfo.permissions === '超级管理员'" class="select-hospital"
<el-select v-if="userInfo.permissions === '超级管理员'" class="select-hospital" style="width: 150px;"
:model-value="userInfo.hospital" size="small" @change="selectHospital">
<el-option v-for="item in hospitals" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
@ -170,7 +170,7 @@ const userCommand = (e: string) => {
font-size: 18px;
font-weight: 600;
color: $main-color;
line-height: 70px;
height: 70px;
padding: 0 20px;
margin: 0;
transition: all .5s;
@ -218,6 +218,7 @@ const userCommand = (e: string) => {
}
&>.el-dropdown {
flex-shrink: 0;
margin-left: 10px;
}

View File

@ -84,6 +84,7 @@ function queryData (e: any) {
while (tableData.value.length < 10) {
tableData.value.push({
userName: 'cscs',
// hospital
name: e.userName,
phone: '12312345678',
role: '高级管理员',

View File

@ -100,7 +100,7 @@ const breakRemote = (e: RemoteItem) => {
.header-box {
width: 100%;
height: 260px;
height: 220px;
background: white;
padding: 20px 50px;
display: flex;
@ -110,7 +110,7 @@ const breakRemote = (e: RemoteItem) => {
.task-btn-item {
cursor: pointer;
width: 17%;
height: 90px;
height: 70px;
border: 2px solid $main-color;
color: $main-color;
border-radius: 5px;
@ -146,7 +146,7 @@ const breakRemote = (e: RemoteItem) => {
.content-box {
width: 100%;
height: calc(100% - 275px);
height: calc(100% - 235px);
margin-top: 15px;
background: white;
padding: 20px 50px;