|
|
|
@ -43,8 +43,8 @@ var newId = !isEmpty(id) ? id : ('select_id_' + name + '_' + @cn.hutool.core.ut
|
|
|
|
|
|
|
|
|
|
ele.append('<optgroup label="应用课程类">');
|
|
|
|
|
for (let currentAuthCourseInfoDetail of applicationCourseList) {
|
|
|
|
|
$('#${newId}').append(
|
|
|
|
|
'<option value="'+ currentAuthCourseInfoDetail.courseInfoId +'">'+ currentAuthCourseInfoDetail.courseInfoName +'</option>')
|
|
|
|
|
ele.append(
|
|
|
|
|
'<option value="'+ currentAuthCourseInfoDetail.courseInfoId || '-1' +'">'+ currentAuthCourseInfoDetail.courseInfoName || '未查询到数据' +'</option>')
|
|
|
|
|
}
|
|
|
|
|
ele.append('</optgroup>');
|
|
|
|
|
|
|
|
|
@ -52,7 +52,7 @@ var newId = !isEmpty(id) ? id : ('select_id_' + name + '_' + @cn.hutool.core.ut
|
|
|
|
|
ele.append('<optgroup label="理论课程类">');
|
|
|
|
|
for (let currentAuthCourseInfoDetail of theoryCourseList) {
|
|
|
|
|
ele.append(
|
|
|
|
|
'<option value="'+ currentAuthCourseInfoDetail.courseInfoId +'">'+ currentAuthCourseInfoDetail.courseInfoName +'</option>')
|
|
|
|
|
'<option value="'+ currentAuthCourseInfoDetail.courseInfoId || '-1' +'">'+ currentAuthCourseInfoDetail.courseInfoName || '未查询到数据' +'</option>')
|
|
|
|
|
}
|
|
|
|
|
ele.append('</optgroup>');
|
|
|
|
|
|
|
|
|
@ -60,7 +60,7 @@ var newId = !isEmpty(id) ? id : ('select_id_' + name + '_' + @cn.hutool.core.ut
|
|
|
|
|
ele.append('<optgroup label="考证课程类">');
|
|
|
|
|
for (let currentAuthCourseInfoDetail of textualResearchCourseList) {
|
|
|
|
|
ele.append(
|
|
|
|
|
'<option value="'+ currentAuthCourseInfoDetail.courseInfoId +'">'+ currentAuthCourseInfoDetail.courseInfoName +'</option>')
|
|
|
|
|
'<option value="'+ currentAuthCourseInfoDetail.courseInfoId || '-1' +'">'+ currentAuthCourseInfoDetail.courseInfoName || '未查询到数据' +'</option>')
|
|
|
|
|
}
|
|
|
|
|
ele.append('</optgroup>');
|
|
|
|
|
|
|
|
|
|