From 93af1c6ffb9ae0e894689ad3a37b548e57d54cff Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期四, 11 三月 2021 19:10:07 +0800 Subject: [PATCH] 有注释的测评系统业务代码 --- src/main/resources/templates/main.html | 64 ++++++++++++++++---------------- 1 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/main/resources/templates/main.html b/src/main/resources/templates/main.html index d40f39d..e62de72 100644 --- a/src/main/resources/templates/main.html +++ b/src/main/resources/templates/main.html @@ -15,7 +15,7 @@ id="userName" value=""/> </li> <li><a class="btn btn-primary btn-rounded btn-sm" onclick="openUserList()"><i - class="fa fa-search"></i> [[#{menu.exam.enterprise.view1}]]</a></li> + class="fa fa-search"></i> [[#{menu.exam.enterprise.view}]]</a></li> <li> <input type="text" name="queryValue" id="queryValue" value=""/> <select name="queryType" id="queryType" th:with="type=${@dict.getType('quickQueryType')}"> @@ -340,8 +340,8 @@ showColumns: false, sortName: "updateTime", sortOrder: "desc", - pageSize: 25, - pageList: [25, 100, 200], + pageSize: 50, + pageList: [50, 100, 200], queryParams: querylistTopAnsweFinished, columns: [ { @@ -405,7 +405,7 @@ function openUserList() { var url = ctx + 'exam/enterprise?userName=' + $("#userName").val(); - $.modal.openTab([[#{menu.exam.enterprise.view1}]], url); + $.modal.openTab([[#{menu.exam.enterprise.view}]], url); } function openMemberSearch() { @@ -429,8 +429,8 @@ showColumns: false, sortName: "updateTime", sortOrder: "desc", - pageSize: 25, - pageList: [25, 100, 200], + pageSize: 50, + pageList: [50, 100, 200], queryParams: querylistTopAnswering, columns: [ { @@ -470,16 +470,16 @@ field: 'langType', title: [[#{language.used.in.the.test}]] }, - // { - // field: 'status', - // title: [[#{basis.state}]], - // formatter: function (value, row, index) { - // return $.table.selectDictLabel(test_member_status, value); - // } - // }, + { + field: 'status', + title: [[#{basis.state}]], + formatter: function (value, row, index) { + return $.table.selectDictLabel(test_member_status, value); + } + }, { field: 'startTime', - title: [[#{jsp.main.other.004}]] + title: [[#{current.time}]] }, ] }; @@ -531,7 +531,7 @@ }, { field: 'userName', - title: [[#{enterprise.customer.name}]], + title: [[#{jsp.exam.enterprise.companyname}]], formatter: function (value, row, index) { // return '<a href="javascript:void(0)" onclick="userDetail(\'' + row.userId + '\')">' + value + '</a>'; return '<a href="javascript:void(0)" onclick="freelogin(\'' + row.userId + '\')">' + value + '</a>'; @@ -543,7 +543,7 @@ }, { field: 'testType', - title: [[#{jsp.main.other.005}]], + title: [[#{basis.type}]], formatter: function (value, row, index) { return $.table.selectDictLabel(testTypeDatas, value); } @@ -559,21 +559,21 @@ field: 'testNum', title: [[#{jsp.exam.test_package.009}]] }, - // { - // field: 'finishNum', - // title: [[#{jsp.exam.test_package.010}]] - // }, { - // field: 'testingNum', - // title: [[#{jsp.exam.test_package.0101}]] - // }, - // { - // field: 'unTestNum', - // title: [[#{jsp.exam.test_package.011}]] - // }, - // { - // field: 'testEmail', - // title: [[#{jsp.exam.test_package.012}]] - // }, + { + field: 'finishNum', + title: [[#{jsp.exam.test_package.010}]] + }, { + field: 'testingNum', + title: [[#{jsp.exam.test_package.0101}]] + }, + { + field: 'unTestNum', + title: [[#{jsp.exam.test_package.011}]] + }, + { + field: 'testEmail', + title: [[#{jsp.exam.test_package.012}]] + }, { field: 'invalidTime', title: [[#{jsp.exam.test_package.004}]], @@ -633,7 +633,7 @@ /*浼佷笟鐢ㄦ埛鎴栬�呭垎閿�鍟嗙晫闈�-璇︾粏*/ function userDetail(userId) { var url = ctx + "exam/distributor"; - $.modal.openTab([[#{menu.exam.enterprise.view1}]], url); + $.modal.openTab([[#{menu.exam.enterprise.view}]], url); } </script> </body> -- Gitblit v1.9.1