@@ -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 @@
-