diff --git a/src/main/resources/static/route/examapply/list-check.html b/src/main/resources/static/route/examapply/list-check.html index 0d8e048..da2978c 100644 --- a/src/main/resources/static/route/examapply/list-check.html +++ b/src/main/resources/static/route/examapply/list-check.html @@ -308,6 +308,13 @@ return rowData; } }, + {field: 'examMsg', fixed: 'right', width: 180, title: '查看考试信息', align:'center', + templet: function(row) { + var rowData; + rowData = '查看考试信息'; + return rowData; + } + }, {field: 'teacher', fixed: 'right', width: 180, title: '查看讲师信息', align:'center', templet: function(row) { var rowData; @@ -563,6 +570,19 @@ }); } + // 查看考试信息 + function examMsg(data) { + top.dialog.open({ + url: top.restAjax.path('route/examapply/update-check.html?classPlanId={classPlanId}&isView={isView}', [data.examId, 'yes']), + title: "考试信息", + width: '92%', + height: '92%', + onClose: function() { + reloadTable(); + } + }); + } + //监听行单击事件 table.on('tool(dataTable)', function(obj){ var data = obj.data; @@ -576,6 +596,8 @@ addressShow(data) }else if('teacher' == obj.event) { teacher(data) + }else if('examMsg' == obj.event) { + examMsg(data) } }); }); diff --git a/src/main/resources/static/route/examapply/update-check.html b/src/main/resources/static/route/examapply/update-check.html index 0b33982..620e5b6 100644 --- a/src/main/resources/static/route/examapply/update-check.html +++ b/src/main/resources/static/route/examapply/update-check.html @@ -25,40 +25,46 @@ 考试申请基本信息