课程授权下拉列表

beetlsql3-dev
Mlxa0324 2 years ago
parent 7e19eda5df
commit 6b924851bf

@ -44,7 +44,7 @@ var newId = !isEmpty(id) ? id : ('select_id_' + name + '_' + @cn.hutool.core.ut
ele.append('<optgroup label="应用课程类">');
for (let currentAuthCourseInfoDetail of applicationCourseList) {
ele.append(
'<option value="'+ currentAuthCourseInfoDetail.courseInfoId || '-1' +'">'+ currentAuthCourseInfoDetail.courseInfoName || '未查询到数据' +'</option>')
'<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 || '-1' +'">'+ 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 || '-1' +'">'+ currentAuthCourseInfoDetail.courseInfoName || '未查询到数据' +'</option>')
'<option value="'+ (currentAuthCourseInfoDetail.courseInfoId || '-1') +'">'+ (currentAuthCourseInfoDetail.courseInfoName || '未查询到数据') +'</option>')
}
ele.append('</optgroup>');

Loading…
Cancel
Save