Commit fd4a1389 authored by 黄奎's avatar 黄奎

111

parent a81221e0
...@@ -68,13 +68,19 @@ ...@@ -68,13 +68,19 @@
label="学习课程" @clear="getClassList" maxlength="20" /> label="学习课程" @clear="getClassList" maxlength="20" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input v-model="msg.StartTime" mask="date" label="开班时间" standout="bg-primary text-white" <!-- <q-field filled dense label="开始时间" standout="bg-primary text-white">
@update:model-value="()=>getClassList"> <template v-slot:control>
<el-date-picker type="date" style="width:100%" v-model="msg.StartTime" value-format="yyyy-MM-dd"
placeholder="开班时间" @change="getClassList">
</el-date-picker>
</template>
</q-field> -->
<q-input v-model="msg.StartTime" mask="date" label="开班时间" standout="bg-primary text-white" clearable
@clear="getClassList">
<template v-slot:append> <template v-slot:append>
<q-icon name="event" class="cursor-pointer"> <q-icon name="event" class="cursor-pointer">
<q-popup-proxy ref="qCStartTime" transition-show="scale" transition-hide="scale"> <q-popup-proxy ref="qCStartTime" transition-show="scale" transition-hide="scale">
<q-date v-model="msg.StartTime" mask="YYYY-MM-DD" @input="() =>changeDate()" <q-date v-model="msg.StartTime" mask="YYYY-MM-DD" @input="() =>changeDate()" />
@update:model-value="()=>getClassList" />
</q-popup-proxy> </q-popup-proxy>
</q-icon> </q-icon>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment