|
@@ -40,6 +40,7 @@
|
|
|
type="date"
|
|
|
placeholder="选择日期"
|
|
|
@change="timeChange"
|
|
|
+ :picker-options="expireTimeOption"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
@@ -156,6 +157,12 @@ import md5 from "md5";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ expireTimeOption: {
|
|
|
+ disabledDate(date) {
|
|
|
+ // 当天可选:date.getTime() < Date.now() - 24 * 60 * 60 * 1000
|
|
|
+ return date.getTime() < Date.now();
|
|
|
+ },
|
|
|
+ },
|
|
|
//编辑返回的值
|
|
|
userDetailData: {},
|
|
|
//组织架构名字
|
|
@@ -261,7 +268,9 @@ export default {
|
|
|
|
|
|
// this.ruleForm.type = "3";
|
|
|
},
|
|
|
+
|
|
|
methods: {
|
|
|
+ // pickerOptions1() {},
|
|
|
//查询学生模版
|
|
|
queryStudentTemp() {
|
|
|
this.$http.get(`/content/findAllByTemplate?template=studentContent`, {}, (res) => {
|