Commit 06ebbbe8 authored by zhengke's avatar zhengke

修改

parent 52b1530a
<template> <template>
<q-dialog v-model="persistent" persistent content-class="bg-grey-1" transition-show="scale" transition-hide="scale"> <q-dialog v-model="persistent" persistent content-class="bg-grey-1" transition-show="scale" transition-hide="scale">
<q-card style="width: 500px;max-width:500px;"> <q-card style="width: 450px;max-width:500px;">
<q-card-section> <q-card-section>
<div class="text-h6">{{(saveObj&&saveObj.Id>0)?"修改班次":"新增班次"}}</div> <div class="text-h6">{{(saveObj&&saveObj.Id>0)?"修改班次":"新增班次"}}</div>
</q-card-section> </q-card-section>
...@@ -8,20 +8,20 @@ ...@@ -8,20 +8,20 @@
<div class="row wrap"> <div class="row wrap">
<div class="col-12"> <div class="col-12">
<q-input filled stack-label maxlength="20" :dense="false" v-model="msg.Name" ref="Name" <q-input filled stack-label maxlength="20" :dense="false" v-model="msg.Name" ref="Name"
class="col-12 q-pr-lg q-pb-lg" label="班次名称" :rules="[val => !!val || '请填写班次名称']" /> class="col-12 q-pb-lg" label="班次名称" :rules="[val => !!val || '请填写班次名称']" />
</div> </div>
</div> </div>
<div class="row wrap"> <div class="row wrap">
<div class="col-12"> <div class="col-12">
<q-select v-model="schoolArr" multiple :options="schoolOptions" color="primary" filled clearable <q-select v-model="schoolArr" multiple :options="schoolOptions" color="primary" filled clearable
class="col-12 q-pr-lg q-pb-lg" label="选择校区" option-label="SName" option-value="SId" ref="School_Ids" class="col-12 q-pb-lg" label="选择校区" option-label="SName" option-value="SId" ref="School_Ids"
@input="changeschool" /> @input="changeschool" />
</div> </div>
</div> </div>
<div class="row wrap"> <div class="row wrap">
<div class="col-12 q-gutter-sm row"> <div class="col-12 q-gutter-sm row">
<q-input filled v-model="msg.StartTime" label="开始时间" mask="time" :rules="['time']" ref="StartTime" <q-input filled v-model="msg.StartTime" label="开始时间" mask="time" :rules="['time']" ref="StartTime"
class="col-5 q-pr-lg q-pb-lg"> class="col-6 q-pr-lg q-pb-lg">
<template v-slot:append> <template v-slot:append>
<q-icon name="access_time" class="cursor-pointer"> <q-icon name="access_time" class="cursor-pointer">
<q-popup-proxy transition-show="scale" transition-hide="scale"> <q-popup-proxy transition-show="scale" transition-hide="scale">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</template> </template>
</q-input> </q-input>
<q-input filled v-model="msg.EndTime" label="结束时间" mask="time" :rules="['time']" ref="EndTime" <q-input filled v-model="msg.EndTime" label="结束时间" mask="time" :rules="['time']" ref="EndTime"
class="col-5 q-pr-lg q-pb-lg"> class="col-5 q-pb-lg">
<template v-slot:append> <template v-slot:append>
<q-icon name="access_time" class="cursor-pointer"> <q-icon name="access_time" class="cursor-pointer">
<q-popup-proxy transition-show="scale" transition-hide="scale"> <q-popup-proxy transition-show="scale" transition-hide="scale">
......
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