Pārlūkot izejas kodu

学生归寝日期选择

master
yxq pirms 1 mēnesi
vecāks
revīzija
403ab689a3
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +4
    -0
      SafeCampus.WEB/src/views/attendance/studentsReturn/index.vue

+ 4
- 0
SafeCampus.WEB/src/views/attendance/studentsReturn/index.vue Parādīt failu

@@ -36,6 +36,7 @@
value-format="YYYY-MM-DD"
type="date"
placeholder="选择查询日期"
:disabled-date="disabledDate"
@change="retrunTimeChange"
>
</el-date-picker>
@@ -115,6 +116,9 @@ const retrunTimeChange = () => {
proTable.value!.searchParam.ReturnTime = ReturnTime.value || ReturnTimeDefault;
proTable.value!.search();
};
const disabledDate = (time: Date) => {
return time.getTime() > Date.now();
};
// 获取 ProTable 元素,调用其获取刷新数据方法(还能获取到当前查询参数,方便导出携带参数)
// 表格配置项
const columns: ColumnProps[] = [


Notiek ielāde…
Atcelt
Saglabāt