From 49e28208554117ec7b5b56ceab85b069662b83e7 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Fri, 4 Jun 2021 14:04:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=AF=BC=E5=85=A5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E9=87=8D=E6=9E=84=E3=80=82=20=E5=BD=92=E6=A1=A3?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=96=B0=E5=A2=9E=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/route/applystudentsnew/list.html | 94 ++++++++-- .../static/route/applystudentsnew/update.html | 172 ++++++++++-------- src/main/resources/templates/index4.html | 2 +- 3 files changed, 174 insertions(+), 94 deletions(-) diff --git a/src/main/resources/static/route/applystudentsnew/list.html b/src/main/resources/static/route/applystudentsnew/list.html index 0013dce..cc4059a 100644 --- a/src/main/resources/static/route/applystudentsnew/list.html +++ b/src/main/resources/static/route/applystudentsnew/list.html @@ -18,7 +18,7 @@
- +
@@ -94,6 +94,85 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, + {field: 'planName', width: 180, title: '班级名称', align:'center', + templet: function(row) { + var rowData = row.classPlanDTO[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, + {field: 'planNumber', width: 180, title: '班级编号', align:'center', + templet: function(row) { + var rowData = row.classPlanDTO[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, + {field: 'planType', width: 180, title: '计划类型', align:'center', + templet: function(row) { + var rowData = row.classPlanDTO[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + if('1' == rowData) { + rowData = '初训'; + }else if('2' == rowData) { + rowData = '复训'; + }else if('3' == rowData) { + rowData = '换证 '; + } + return rowData; + } + }, + {field: 'orgName', width: 180, title: '考试机构', align:'center', + templet: function(row) { + var rowData = row.classPlanDTO[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, + {field: 'planStartTime', width: 180, title: '计划开始时间', align:'center', + templet: function(row) { + var rowData = row.classPlanDTO[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, + {field: 'planEndTime', width: 180, title: '计划结束时间', align:'center', + templet: function(row) { + var rowData = row.classPlanDTO[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, + {field: 'chargePerson', width: 180, title: '负责人', align:'center', + templet: function(row) { + var rowData = row.classPlanDTO[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, + {field: 'chargePersonTel', width: 180, title: '联系方式', align:'center', + templet: function(row) { + var rowData = row.classPlanDTO[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, {field: 'name', width: 180, title: '姓名', align:'center', templet: function(row) { var rowData = row[this.field]; @@ -363,19 +442,6 @@ } }); } - } else if(layEvent === 'removeEvent') { - if(checkDatas.length === 0) { - top.dialog.msg(top.dataMessage.table.selectDelete); - } else { - var ids = ''; - for(var i = 0, item; item = checkDatas[i++];) { - if(i > 1) { - ids += '_'; - } - ids += item['applyStudentsNewId']; - } - removeData(ids); - } } }); }); diff --git a/src/main/resources/static/route/applystudentsnew/update.html b/src/main/resources/static/route/applystudentsnew/update.html index 34a589c..700207b 100644 --- a/src/main/resources/static/route/applystudentsnew/update.html +++ b/src/main/resources/static/route/applystudentsnew/update.html @@ -30,28 +30,32 @@ -
- -
- +
+
+ +
+ +
+
+
+ +
+ +
-
- -
- +
+
+ +
+ +
-
-
- -
- -
-
-
- -
- +
+ +
+ +
@@ -60,69 +64,79 @@
-
- -
- +
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
+ +
diff --git a/src/main/resources/templates/index4.html b/src/main/resources/templates/index4.html index 1c3c48d..ada1d0c 100644 --- a/src/main/resources/templates/index4.html +++ b/src/main/resources/templates/index4.html @@ -49,7 +49,7 @@ searchData: function() { var keywords = $('#kw').val(); top.dialog.open({ - url: top.restAjax.path('route/insertscore/search-score.html?keywords={keywords}', [keywords]), + url: top.restAjax.path('route/applystudentsnew/list.html?keywords={keywords}', [keywords]), title: "查看考生信息", width: '80%', height: '80%',