Browse Source

feat:增加时间必填项符号

master
123456 3 years ago
parent
commit
ec415cc615
  1. 14
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

14
src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

@ -39,7 +39,7 @@
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="上午接种时间" prop="morningTime"> <el-form-item label="上午接种时间" prop="morningTime" class="time-class">
<el-time-picker <el-time-picker
is-range is-range
arrow-control arrow-control
@ -56,7 +56,7 @@
> >
</el-time-picker> </el-time-picker>
</el-form-item> </el-form-item>
<el-form-item label="下午接种时间" prop="afterTime"> <el-form-item label="下午接种时间" prop="afterTime" class="time-class">
<el-time-picker <el-time-picker
is-range is-range
arrow-control arrow-control
@ -538,5 +538,15 @@ export default {
.form-class .el-textarea{ .form-class .el-textarea{
width: 75%!important; width: 75%!important;
} }
.time-class{
position: relative;
}
.time-class::before{
content: '*';
color: #F56C6C;
position: absolute;
left:16px;
top: 10px;
}
</style> </style>

Loading…
Cancel
Save