Commit 59d5b560 authored by 罗超's avatar 罗超

2

parent 2866c1a8
...@@ -72,11 +72,7 @@ ...@@ -72,11 +72,7 @@
</div> </div>
</template> </template>
</q-field> </q-field>
<div class="row col" v-show=" <div class="row col" v-show="(editType == 1&&checkChapter.ChapterId>0) ||(saveObj.ClassType == 3 && saveObj.AppointState == 1)">
((editType == 1&&checkChapter.ChapterId>0) ||
(saveObj.ClassType == 3 && saveObj.AppointState == 1)) &&
auth.IsEdit&&showAddStu()
">
<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="学员姓名" class="col-9"
hint="提示:需输入学员姓名查询学员列表" /> hint="提示:需输入学员姓名查询学员列表" />
...@@ -496,13 +492,6 @@ ...@@ -496,13 +492,6 @@
this.changeDig(false); this.changeDig(false);
this.$emit("success"); this.$emit("success");
}, },
showAddStu() {
if (new Date(this.dateObj.date).getTime() < new Date(QCalendar.today()).getTime()) {
return false;
} else {
return true;
}
}
} }
}; };
......
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