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

2

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