|
|
@@ -101,9 +101,9 @@ const rules = reactive({ |
|
|
|
similarity: [required("请选择相似度")], |
|
|
|
cameraId: [required("请选择摄像头")], |
|
|
|
continueTime: [required("请选择持续时间")], |
|
|
|
personSetId: [required("请选择所属班级")], |
|
|
|
depId: [required("请选择系部")], |
|
|
|
majorId: [required("请选择专业")] |
|
|
|
personSetId: [required("请选择所属班级")] |
|
|
|
// depId: [required("请选择系部")], |
|
|
|
// majorId: [required("请选择专业")] |
|
|
|
}); |
|
|
|
|
|
|
|
/** |
|
|
@@ -112,6 +112,8 @@ const rules = reactive({ |
|
|
|
*/ |
|
|
|
async function onOpen(props: FormProps.Base<any>) { |
|
|
|
departmentOptions.value = await getDepartmentList(); |
|
|
|
// 获取班级 |
|
|
|
classOptions.value = await getClassList(""); |
|
|
|
Object.assign(sysUserProps, props); //合并参数 |
|
|
|
visible.value = true; //显示表单 |
|
|
|
/* 监听系部、专业 */ |
|
|
|