linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
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>&nbsp;[[#{menu.exam.enterprise.view1}]]</a></li>
                                class="fa fa-search"></i>&nbsp;[[#{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>