| | |
| | | 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')}"> |
| | |
| | | showColumns: false, |
| | | sortName: "updateTime", |
| | | sortOrder: "desc", |
| | | pageSize: 25, |
| | | pageList: [25, 100, 200], |
| | | pageSize: 50, |
| | | pageList: [50, 100, 200], |
| | | queryParams: querylistTopAnsweFinished, |
| | | columns: [ |
| | | { |
| | |
| | | |
| | | 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() { |
| | |
| | | showColumns: false, |
| | | sortName: "updateTime", |
| | | sortOrder: "desc", |
| | | pageSize: 25, |
| | | pageList: [25, 100, 200], |
| | | pageSize: 50, |
| | | pageList: [50, 100, 200], |
| | | queryParams: querylistTopAnswering, |
| | | columns: [ |
| | | { |
| | |
| | | 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}]] |
| | | }, |
| | | ] |
| | | }; |
| | |
| | | }, |
| | | { |
| | | 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>'; |
| | |
| | | }, |
| | | { |
| | | field: 'testType', |
| | | title: [[#{jsp.main.other.005}]], |
| | | title: [[#{basis.type}]], |
| | | formatter: function (value, row, index) { |
| | | return $.table.selectDictLabel(testTypeDatas, value); |
| | | } |
| | |
| | | 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}]], |
| | |
| | | /*企业用户或者分销商界面-详细*/ |
| | | function userDetail(userId) { |
| | | var url = ctx + "exam/distributor"; |
| | | $.modal.openTab([[#{menu.exam.enterprise.view1}]], url); |
| | | $.modal.openTab([[#{menu.exam.enterprise.view}]], url); |
| | | } |
| | | </script> |
| | | </body> |