Commit f5d287cf authored by 罗超's avatar 罗超

2

parent 59d5b560
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
label="学员姓名" label="学员姓名"
class="col-10" class="col-10"
hint="提示:需输入学员姓名查询学员列表" hint="提示:需输入学员姓名查询学员列表"
@keyup.enter.native="getStu"
/> />
<div class="col-2 q-pt-md"> <div class="col-2 q-pt-md">
<q-btn <q-btn
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</q-field> </q-field>
<div class="row col" v-show="(editType == 1&&checkChapter.ChapterId>0) ||(saveObj.ClassType == 3 && saveObj.AppointState == 1)"> <div class="row col" v-show="(editType == 1&&checkChapter.ChapterId>0) ||(saveObj.ClassType == 3 && saveObj.AppointState == 1)">
<div class="row col-6"> <div class="row col-6">
<q-input filled stack-label v-model="stuMsg_v2.StuName" label="学员姓名" class="col-9" <q-input filled stack-label v-model="stuMsg_v2.StuName" label="学员姓名" @keyup.enter.native="getStu_V2" class="col-9"
hint="提示:需输入学员姓名查询学员列表" /> hint="提示:需输入学员姓名查询学员列表" />
<div class="col-3 q-pt-md q-pl-md"> <div class="col-3 q-pt-md q-pl-md">
<q-btn size="sm" color="accent" label="查询" @click="getStu_V2" /> <q-btn size="sm" color="accent" label="查询" @click="getStu_V2" />
...@@ -372,17 +372,6 @@ ...@@ -372,17 +372,6 @@
this.teacherTimeList = []; this.teacherTimeList = [];
}, },
subscribeCourse() { subscribeCourse() {
if (
new Date(this.dateObj.date).getTime() <
new Date(QCalendar.today()).getTime()
) {
this.$q.notify({
message: `日期小于今天,请重新选择日期`,
position: "top",
type: "negative"
});
return;
}
if (this.stuInfo.AppointDate) { if (this.stuInfo.AppointDate) {
if ( if (
new Date(this.dateObj.date).getTime() < new Date(this.dateObj.date).getTime() <
......
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