<기능개선>

통합테스트목록 . 614
제출내용 행 노출
This commit is contained in:
kdh0120 2021-12-02 23:36:36 +00:00
parent 7ea4956a13
commit e7e7ebec6f
2 changed files with 14 additions and 14 deletions

View File

@ -97,10 +97,10 @@ else
<th>제출자</th>
<td id="userinfo"></td>
</tr>
@*<tr>
<tr>
<th>제출내용</th>
<td id="atext"></td>
</tr>*@
</tr>
<tr>
<th>첨부파일</th>
<td id="fileinfo"></td>
@ -232,11 +232,11 @@ else
function cblectsd() {
var d = capResult.obj;
$("#userinfo").text("[{0}]{1} | {2}".format(d.isrebatename, d.asname, d.usernameid));
//if (getdb(d.atext) == "") {
// $("#atext").html("- 미제출");
//} else {
// $("#atext").html(getdb(d.atext).replace(/\n/gi, "<br />"));
//}
if (getdb(d.atext) == "") {
$("#atext").html("- 미제출");
} else {
$("#atext").html(getdb(d.atext).replace(/\n/gi, "<br />"));
}
var _html = "- 제출파일 없음<br />";
if (getdb(d.fileurl) != "") {
_html = "<a href=\"/aCommon/DownFile?fno={0}&loginfo=&issubject=1\" title=\"다운로드\"><i class=\"fa fa-paperclip\"></i> <span class=\"fileitem\">{1}</span></a><br />".format(d.fileno, d.orgname);

View File

@ -106,10 +106,10 @@
<th>제출자</th>
<td id="userinfo"></td>
</tr>
@*<tr>
<tr>
<th>제출내용</th>
<td id="atext"></td>
</tr>*@
</tr>
<tr>
<th>첨부파일</th>
<td id="fileinfo"></td>
@ -240,11 +240,11 @@
function cblectsd() {
var d = capResult.obj;
$("#userinfo").text("[{0}]{1} | {2}".format(d.isrebatename, d.asname, d.usernameid));
//if (getdb(d.atext) == "") {
// $("#atext").html("- 미제출");
//} else {
// $("#atext").html(getdb(d.atext).replace(/\n/gi, "<br />"));
//}
if (getdb(d.atext) == "") {
$("#atext").html("- 미제출");
} else {
$("#atext").html(getdb(d.atext).replace(/\n/gi, "<br />"));
}
var _html = "- 제출파일 없음<br />";
if (getdb(d.fileurl) != "") {
_html = "<a href=\"/aCommon/DownFile?fno={0}&loginfo=&issubject=1\" title=\"다운로드\"><i class=\"fa fa-paperclip\"></i> <span class=\"fileitem\">{1}</span></a><br />".format(d.fileno, d.orgname);