<프로그램수정>

1.PMSNO : NULL
2.처리내역 : 목차 보이기 안하면 페이지 이동안되는 문제사항
해당 조건을 제외시켜 처리
This commit is contained in:
kdh0120 2021-03-29 03:59:21 +00:00
parent fafc6da53b
commit 27e309afbc
1 changed files with 18 additions and 14 deletions

View File

@ -354,17 +354,21 @@
} }
function golog(ispaging, isunload, isinning) { function golog(ispaging, isunload, isinning) {
var checklectdate = -1; var checklectdate = -1;
$.ajax({ if (@Model.istaste == 1) {
type: "post", checklectdate = 1;
url: "/focommon/checklectdate", } else {
async: false, $.ajax({
data: { lectno: @Model.lip.lectno}, type: "post",
success: function (res) { url: "/focommon/checklectdate",
checklectdate = res.result; async: false,
}, error: function (e) { data: { lectno: @Model.lip.lectno},
alert("error"); success: function (res) {
checklectdate = res.result;
}, error: function (e) {
alert("error");
} }
}); });
}
ispaging = ispaging || false; ispaging = ispaging || false;
isunload = isunload || false; isunload = isunload || false;
@ -470,13 +474,13 @@
_cpno = _nextcpno; _cpno = _nextcpno;
_logno = getint(capResult.obj); _logno = getint(capResult.obj);
_pseq = _nextpseq; _pseq = _nextpseq;
if ('@(Model.CMInning.ismenu)' == '1') { //if ('@(Model.CMInning.ismenu)' == '1') {
if (_ctype == 0 || _ctype == 1 || _ctype == 3) { if (_ctype == 0 || _ctype == 1 || _ctype == 3) {
srcchange(); srcchange();
} else { } else {
$("#html1").html(capResult.msg); $("#html1").html(capResult.msg);
} }
} //}
//_timerlog = setInterval(golog, 1000); //_timerlog = setInterval(golog, 1000);
$("#cplist li a").removeClass("current"); $("#cplist li a").removeClass("current");
$("#cplist li").eq(_pseq-1).find("a").addClass("current"); $("#cplist li").eq(_pseq-1).find("a").addClass("current");
@ -484,13 +488,13 @@
_loging = false; _loging = false;
_cpno = _nextcpno; _cpno = _nextcpno;
_pseq = _nextpseq; _pseq = _nextpseq;
if ('@(Model.CMInning.ismenu)' == '1') { //if ('@(Model.CMInning.ismenu)' == '1') {
if (_ctype == 0 || _ctype == 1 || _ctype == 3) { if (_ctype == 0 || _ctype == 1 || _ctype == 3) {
srcchange(); srcchange();
} else { } else {
$("#html1").html(capResult.msg); $("#html1").html(capResult.msg);
} }
} //}
$("#cplist li a").removeClass("current"); $("#cplist li a").removeClass("current");
$("#cplist li").eq(_pseq-1).find("a").addClass("current"); $("#cplist li").eq(_pseq-1).find("a").addClass("current");
} else { } else {