【新增】 word考点数关系列表,文件上传仅限图片更改成所有文件

This commit is contained in:
RENWEIBING\letre
2025-05-04 22:36:52 +08:00
parent 952de396ae
commit 7a6472d8d4
7 changed files with 418 additions and 12 deletions

View File

@@ -300,13 +300,12 @@ const handleDeptNodeClick = async (row) => {
const chooseQuestionType = ref('');
const handleSpecialtyNodeClick = async (row: any) => {
chooseQuestionType.value = row.name;
// 判断点击的层级结构,进行入参
if (!row.children != null){
// 说明是题型
queryParams.courseName = row.name
}
const specArr = findNamePathFromTreeList(specialtyList.value, row.id)
const specArr: any = findNamePathFromTreeList(specialtyList.value, row.id)
// 判断长度赋值
if (specArr.length == 1) {
// 说明是题型
@@ -363,9 +362,9 @@ const formRef = ref()
const cformRef = ref()
const openForm = (type: string, id?: number) => {
if (chooseQuestionType.value.includes("选择题")){
formRef.value.open(type, id)
} else {
cformRef.value.open(type, id)
} else {
formRef.value.open(type, id)
}
}