From 27e309afbcd79bf00f01ddaeab40d571776041d0 Mon Sep 17 00:00:00 2001 From: kdh0120 Date: Mon, 29 Mar 2021 03:59:21 +0000 Subject: [PATCH] =?UTF-8?q?<=ED=94=84=EB=A1=9C=EA=B7=B8=EB=9E=A8=EC=88=98?= =?UTF-8?q?=EC=A0=95>=201.PMSNO=20:=20NULL=202.=EC=B2=98=EB=A6=AC=EB=82=B4?= =?UTF-8?q?=EC=97=AD=20:=20=EB=AA=A9=EC=B0=A8=20=EB=B3=B4=EC=9D=B4?= =?UTF-8?q?=EA=B8=B0=20=EC=95=88=ED=95=98=EB=A9=B4=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=9D=B4=EB=8F=99=EC=95=88=EB=90=98=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=EC=82=AC=ED=95=AD=20=ED=95=B4=EB=8B=B9=20?= =?UTF-8?q?=EC=A1=B0=EA=B1=B4=EC=9D=84=20=EC=A0=9C=EC=99=B8=EC=8B=9C?= =?UTF-8?q?=EC=BC=9C=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FO/Views/CDMS/Contents.cshtml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/FO/Views/CDMS/Contents.cshtml b/FO/Views/CDMS/Contents.cshtml index b1a6b4c..ba78ca2 100644 --- a/FO/Views/CDMS/Contents.cshtml +++ b/FO/Views/CDMS/Contents.cshtml @@ -354,17 +354,21 @@ } function golog(ispaging, isunload, isinning) { var checklectdate = -1; - $.ajax({ - type: "post", - url: "/focommon/checklectdate", - async: false, - data: { lectno: @Model.lip.lectno}, - success: function (res) { - checklectdate = res.result; - }, error: function (e) { - alert("error"); + if (@Model.istaste == 1) { + checklectdate = 1; + } else { + $.ajax({ + type: "post", + url: "/focommon/checklectdate", + async: false, + data: { lectno: @Model.lip.lectno}, + success: function (res) { + checklectdate = res.result; + }, error: function (e) { + alert("error"); } - }); + }); + } ispaging = ispaging || false; isunload = isunload || false; @@ -470,13 +474,13 @@ _cpno = _nextcpno; _logno = getint(capResult.obj); _pseq = _nextpseq; - if ('@(Model.CMInning.ismenu)' == '1') { + //if ('@(Model.CMInning.ismenu)' == '1') { if (_ctype == 0 || _ctype == 1 || _ctype == 3) { srcchange(); } else { $("#html1").html(capResult.msg); } - } + //} //_timerlog = setInterval(golog, 1000); $("#cplist li a").removeClass("current"); $("#cplist li").eq(_pseq-1).find("a").addClass("current"); @@ -484,13 +488,13 @@ _loging = false; _cpno = _nextcpno; _pseq = _nextpseq; - if ('@(Model.CMInning.ismenu)' == '1') { + //if ('@(Model.CMInning.ismenu)' == '1') { if (_ctype == 0 || _ctype == 1 || _ctype == 3) { srcchange(); } else { $("#html1").html(capResult.msg); } - } + //} $("#cplist li a").removeClass("current"); $("#cplist li").eq(_pseq-1).find("a").addClass("current"); } else {