mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
讲师管理bug
This commit is contained in:
@@ -240,7 +240,10 @@ const searchData = (val) => {
|
|||||||
const startDateTimestamp = new Date(dateValue.value[0]).getTime();
|
const startDateTimestamp = new Date(dateValue.value[0]).getTime();
|
||||||
const endDateTimestamp = new Date(dateValue.value[1]).getTime();
|
const endDateTimestamp = new Date(dateValue.value[1]).getTime();
|
||||||
const isDateInRange = teachingDateTimestamp >= startDateTimestamp && teachingDateTimestamp <= endDateTimestamp;
|
const isDateInRange = teachingDateTimestamp >= startDateTimestamp && teachingDateTimestamp <= endDateTimestamp;
|
||||||
|
if(nameUserNo.value&&startDateTimestamp&&endDateTimestamp){
|
||||||
return isNameMatch && isDateInRange;
|
return isNameMatch && isDateInRange;
|
||||||
|
}
|
||||||
|
return isNameMatch || isDateInRange;
|
||||||
});
|
});
|
||||||
searchList.value = filteredList;
|
searchList.value = filteredList;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -588,12 +588,15 @@
|
|||||||
//课程类型
|
//课程类型
|
||||||
const OnTheJobStatusList = ref([
|
const OnTheJobStatusList = ref([
|
||||||
{ value: '', label: "全部" },
|
{ value: '', label: "全部" },
|
||||||
{ value: 0, label: "面授课" },
|
{ value: '0', label: "面授课" },
|
||||||
{ value: 1, label: "在线课" },
|
{ value: '1', label: "在线课" },
|
||||||
|
{ value: '2', label: "课程开发" },
|
||||||
|
{ value: '3', label: "作业员入模培训" },
|
||||||
|
{ value: '4', label: "其他" },
|
||||||
])
|
])
|
||||||
//认证状态
|
//认证状态
|
||||||
const AuthenticationStatusList = ref([
|
const AuthenticationStatusList = ref([
|
||||||
{ value: 0, label: "待提交" },
|
{ value: 0, label: "待确认" },
|
||||||
{ value: 1, label: "待审核" },
|
{ value: 1, label: "待审核" },
|
||||||
{ value: 2, label: "审核中" },
|
{ value: 2, label: "审核中" },
|
||||||
{ value: 4, label: "审核拒绝" },
|
{ value: 4, label: "审核拒绝" },
|
||||||
|
|||||||
Reference in New Issue
Block a user