|
|
|
|
@ -21,7 +21,7 @@ |
|
|
|
|
<template slot-scope="{row}" slot="menu"> |
|
|
|
|
<el-button type="text" icon="el-icon-edit" size="small" @click="handleRegister(row)" |
|
|
|
|
:disabled="Date.parse(new Date(row.apmDay)) <= selectDay ? true : false">编辑</el-button> |
|
|
|
|
<el-button type="text" icon="el-icon-edit" size="small" @click="handleDelete(row)" |
|
|
|
|
<el-button type="text" icon="el-icon-delete" size="small" @click="handleDelete(row)" |
|
|
|
|
:disabled="Date.parse(new Date(row.apmDay)) <= selectDay ? true : false">取消放号</el-button> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="scope" slot="menuLeft"> |
|
|
|
|
@ -52,7 +52,7 @@ |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<div v-show="!isShow"> |
|
|
|
|
<div v-show="!isShow" class="isCal"> |
|
|
|
|
<el-calendar v-model="calValue"> |
|
|
|
|
<template slot="dateCell" slot-scope="{date, data}"> |
|
|
|
|
<p :class="[Date.parse(new Date(data.day)) <= selectDay ? 'selected' : 'select', dayArr.find(item => item == data.day) ? 'isSelected' : '']" |
|
|
|
|
@ -922,6 +922,10 @@ export default { |
|
|
|
|
::v-deep .isSelected { |
|
|
|
|
background: #1677FF; |
|
|
|
|
} |
|
|
|
|
::v-deep .isCal{ |
|
|
|
|
height: 80%; |
|
|
|
|
overflow-y: auto; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
<style lang="scss"> |
|
|
|
|
.el-drawer .avue-form { |
|
|
|
|
@ -1014,6 +1018,8 @@ export default { |
|
|
|
|
position: absolute; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hos_sele{ |
|
|
|
|
bottom: 15px; |
|
|
|
|
position: absolute; |
|
|
|
|
|