Commit 9a410d7b authored by 罗超's avatar 罗超

2

parent adb284fe
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
ref="BaseHoursEnabled" :options="BaseHoursList" label="是否启用基础课时" :dense="false" class="col-6 q-pb-lg" ref="BaseHoursEnabled" :options="BaseHoursList" label="是否启用基础课时" :dense="false" class="col-6 q-pb-lg"
emit-value map-options /> emit-value map-options />
<q-input v-if='objOption.BaseHoursEnabled==1' filled v-model="objOption.EnableTime" mask="####-##" <q-input v-if='objOption.BaseHoursEnabled==1' filled v-model="objOption.EnableTime" mask="####-##"
label="启用时间" ref="EnableTime" :rules="[val => !!val || '请选择启用时间']"> label="启用时间" ref="EnableTime" :rules="[val => !!val || '请选择启用时间']" class="col-6 q-pr-lg q-pb-lg">
<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="qDateProxy" transition-show="scale" transition-hide="scale"> <q-popup-proxy ref="qDateProxy" transition-show="scale" transition-hide="scale">
...@@ -44,6 +44,9 @@ ...@@ -44,6 +44,9 @@
</q-icon> </q-icon>
</template> </template>
</q-input> </q-input>
<q-input v-if='objOption.BaseHoursEnabled==1' filled v-model="objOption.BaseHoursAdd"
label="基础课程增加" class="col-6 q-pb-lg">
</q-input>
</div> </div>
<div class="row wrap" style="margin-top:20px;"> <div class="row wrap" style="margin-top:20px;">
<div class="col-6 q-pr-lg q-pb-lg"> <div class="col-6 q-pr-lg q-pb-lg">
...@@ -162,6 +165,7 @@ ...@@ -162,6 +165,7 @@
Specialty: "", //老师擅长 Specialty: "", //老师擅长
BaseHoursEnabled: 0, //是否启用基础课时 1是 BaseHoursEnabled: 0, //是否启用基础课时 1是
EnableTime: '', //启用时间 (存到月) EnableTime: '', //启用时间 (存到月)
BaseHoursAdd:0,
}, },
BaseHoursList: [{ BaseHoursList: [{
Id: 0, Id: 0,
...@@ -297,6 +301,7 @@ ...@@ -297,6 +301,7 @@
this.objOption.Specialty = this.saveObj.Specialty; this.objOption.Specialty = this.saveObj.Specialty;
this.objOption.EnableTime = this.saveObj.EnableTime; this.objOption.EnableTime = this.saveObj.EnableTime;
this.objOption.BaseHoursEnabled = this.saveObj.BaseHoursEnabled; this.objOption.BaseHoursEnabled = this.saveObj.BaseHoursEnabled;
this.objOption.BaseHoursAdd = this.saveObj.BaseHoursAdd;
if (this.saveObj.ChooseSpecialty && this.saveObj.ChooseSpecialty.length > 0) { if (this.saveObj.ChooseSpecialty && this.saveObj.ChooseSpecialty.length > 0) {
this.chooseSpecialty = this.saveObj.ChooseSpecialty; this.chooseSpecialty = this.saveObj.ChooseSpecialty;
} }
......
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