This commit is contained in:
ChenQiuYu 2025-05-26 10:46:14 +08:00
parent 1c600f7942
commit f29fbf9c1b
1 changed files with 155 additions and 157 deletions

View File

@ -2,7 +2,8 @@
<Mask :is-show="isShow" width="800" :height="height" title="挂号" @close="close" <Mask :is-show="isShow" width="800" :height="height" title="挂号" @close="close"
:show-footer="true"> :show-footer="true">
<template #default> <template #default>
<div style="padding:0 24px;height: 100%;display: flex;flex-direction: column"> <div style="padding:0 24px 24px;height: 100%;display: flex;flex-direction: column">
<el-scrollbar>
<el-form <el-form
v-loading="loading" v-loading="loading"
:model="edit_data" :model="edit_data"
@ -118,12 +119,9 @@
label="时间"> label="时间">
<div style=" display: flex;justify-content: space-between"> <div style=" display: flex;">
<el-form-item style="flex: 1;min-width: 0" v-if="!isBtnShow&&dateName!='预约'"> <div style="flex: 1;min-width: 0" v-if="!isBtnShow&&dateName!='预约'">现在</div>
<div style="width: 100%">现在</div> <div v-else style="flex:1;min-width:0;display: flex;align-items: center">
</el-form-item>
<el-form-item v-else style="flex: 1;min-width: 0" prop="date">
<div style="display: flex">
<el-date-picker <el-date-picker
v-model="edit_data.date" v-model="edit_data.date"
type="date" type="date"
@ -143,7 +141,6 @@
style="width: 50%" style="width: 50%"
/> />
</div> </div>
</el-form-item>
<span v-if="dateName!='预约'" class="small-btn" @click="changeBtn">{{ <span v-if="dateName!='预约'" class="small-btn" @click="changeBtn">{{
isBtnShow ? '挂号' : '预约' isBtnShow ? '挂号' : '预约'
}}</span> }}</span>
@ -181,6 +178,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-scrollbar>
</div> </div>
</template> </template>
<template #footer> <template #footer>