beetlsql3-dev
姚丹ab
parent 75f35c13d0
commit 4c13712cf7

@ -338,8 +338,6 @@
var element = layui.element;
$(".menu_three").on("click", function () {
$(this).next().toggle(500);
$(".three_this").removeClass("three_this");
@ -354,7 +352,6 @@
$(this).addClass('three_this'); // 添加当前元素的样式
});
//webSocket.openSocket($("input[name='webSocketServer']").val(),$("#userId").val(),"index"); //调用socket请求
/*院校登录logo*/
@ -411,7 +408,7 @@
} else {
$("#fsLeftMenu .menu_three").parent().removeClass("layui-this");
$("#fsLeftMenu a[menuId=" + layId + "]").parent().addClass('layui-this');
console.log(layId, url, title)
//console.log(layId, url, title)
openNewPage(layId, url, title);
}
};
@ -523,7 +520,6 @@
//打开新的title
function openNewPage(layId, url, title) {
var layId = layId;//来电管理ID
var dataUrl = Common.ctxPath + url;
var title = title;

@ -375,9 +375,10 @@
adminIndexDetailData = ret.data;
layer.close(index);
}else {
Common.info(ret.msg)
Common.info(ret.msg);
layer.close(index);
}
$(".pace-activity").hide();
$("#universitiesCollegesAuthCode").text(adminIndexDetailData.universitiesCollegesAuthCode.toString());
laytpl(getTpl).render(adminIndexDetailData, function (html) {
view.innerHTML = html;

@ -26,25 +26,21 @@ layui.define(['form', 'laydate', 'table'], function (exports) {
});
});
for (let currentAuthCourseInfoDetail of applicationCourseList) {
htmY += '<option value="' + (currentAuthCourseInfoDetail.courseInfoId || '-1') + '">' + (currentAuthCourseInfoDetail.courseInfoName || '未查询到数据') + '</option>';
}
for (let currentAuthCourseInfoDetail of theoryCourseList) {
htmL+='<option value="'+ (currentAuthCourseInfoDetail.courseInfoId || '-1') +'">'+ (currentAuthCourseInfoDetail.courseInfoName || '未查询到数据') +'</option>';
}
for (let currentAuthCourseInfoDetail of textualResearchCourseList) {
htmK+='<option value="'+ (currentAuthCourseInfoDetail.courseInfoId || '-1') +'">'+ (currentAuthCourseInfoDetail.courseInfoName || '未查询到数据') +'</option>';
}
if($("#isUser").val() === "true"){
selectList += htmY + '</optgroup>' + htmK + '</optgroup>' + htmL + '</optgroup>' + "</select>";
console.log($("#isUser").val())
//console.log($("#isUser").val())
}else {
selectList+= htmL + '</optgroup>' + "</select>";
}
@ -79,7 +75,6 @@ layui.define(['form', 'laydate', 'table'], function (exports) {
{
field: 'courseInfoParentParentName',
title: '归属课程',
templet: function (d) {
return selectList; //一级
}
@ -93,7 +88,6 @@ layui.define(['form', 'laydate', 'table'], function (exports) {
if (!$.isEmpty(d.courseInfoParentId)) {
if ($.isEmpty(selectMap[d.courseInfoParentId])) {
var h = htm;
if (!$.isEmpty(courseInfoMap[d.courseInfoParentParentId])) {
$.each(courseInfoMap[d.courseInfoParentParentId].children, function (key, v) {
h += "<option value='" + v.courseInfoId + "'>" + v.courseInfoName + "</option>";

Loading…
Cancel
Save