diff --git a/WebRoot/view/tb/zbdc/examine/data_all_cz.html b/WebRoot/view/tb/zbdc/examine/data_all_cz.html
index c61da6be..b2bed27e 100644
--- a/WebRoot/view/tb/zbdc/examine/data_all_cz.html
+++ b/WebRoot/view/tb/zbdc/examine/data_all_cz.html
@@ -129,7 +129,7 @@
-
@@ -1053,9 +1053,9 @@
$("#top_bureau_name").html(res.bureau_name);
$("#bureau_name").html(res.bureau_name);
- $("#school_type_name").html(res.school_type_name);
- $("#cz_student_count").html(res.cz_student_count);
- $("#cz_class_count").html(res.cz_class_count);
+ $("#school_type_name").html(res.school_type_name);
+ $("#cz_student_count").html(res.cz_student_count);
+ $("#cz_class_count").html(res.cz_class_count);
$("#cz_teacher_count").html(res.cz_teacher_count);
$("#cz_zhuanren_count").html(res.cz_zhuanren_count);
}
@@ -1571,7 +1571,11 @@
}
form.on('submit(back)', function () {
- window.location.href = "/QingLong/view/tb/zbdc/examine/school_list_details.html?flag=2";
+ if (flag == "11") {
+ window.location.href = "/QingLong/view/tb/zbdc/examine/examine_city_area_list.html?area_id=" + areaId;
+ } else {
+ window.location.href = "/QingLong/view/tb/zbdc/examine/school_list_details.html?flag=2";
+ }
// 阻止表单的默认提交行为
return false;
diff --git a/WebRoot/view/tb/zbdc/examine/data_all_jnygz.html b/WebRoot/view/tb/zbdc/examine/data_all_jnygz.html
index 389df5a9..ac9646cf 100644
--- a/WebRoot/view/tb/zbdc/examine/data_all_jnygz.html
+++ b/WebRoot/view/tb/zbdc/examine/data_all_jnygz.html
@@ -160,8 +160,8 @@
-
-
+
+
@@ -202,10 +210,10 @@
height: 'full-85',
cols: [[
{ title: '序号', align: 'center', width: "10%", type: 'numbers' },
- { title: '行政区划', field: 'area_name', align: 'center', width: "35%" },
- { title: '下级单位', field: 'count', align: 'center', width: "30%" },
- { title: '状态', field: 'count', align: 'center', width: "30%" },
- { title: '操作', toolbar: '#table-bar', align: 'center', width: "25%" }
+ { title: '行政区划', field: 'area_name', align: 'center', width: "40%" },
+ { title: '下级单位', field: 'count', align: 'center', width: "15%" },
+ { title: '状态', field: 'check_type_name', align: 'center', width: "15%" },
+ { title: '操作', toolbar: '#table-bar', align: 'center', width: "20%" }
]],
// skin: 'line',
defaultToolbar: []
@@ -226,52 +234,47 @@
}
});
- table.render({
- elem: '#myTable1',
- url: '/QingLong/zbdc/listSchool',
- where: {
- check_type_id: $("#statusId").val(),
- school_type_id: $("#xxlxId").val(),
- keyword: $("#xxmc").val()
- },
- cellExpandedMode: "tips",
- height: 'full-85',
- cols: [[
- { title: '序号', align: 'center', width: "10%", type: 'numbers' },
- { title: '学校名称', field: 'area_name', align: 'center', width: "35%" },
- { title: '学校类型', field: 'count', align: 'center', width: "30%" },
- { title: '状态', field: 'count', align: 'center', width: "30%" },
- { title: '操作', toolbar: '#table-bar1', align: 'center', width: "25%" }
- ]],
- // skin: 'line',
- defaultToolbar: []
- });
-
- form.on('select(status)', function (data) {
- if (data.value == 0) {
- $("#shenhe").show();
- } else {
- $("#shenhe").hide();
- }
- tableRender();
- // 阻止表单的默认提交行为
- return false;
- });
+ tableRender1();
+
+ function tableRender1() {
+
+ table.render({
+ elem: '#myTable1',
+ url: '/QingLong/zbdc/listSchool',
+ where: {
+ page: 1,
+ limit: 100,
+ school_type_id: $("#xxlxId").val(),
+ keyword: $("#xxmc").val()
+ },
+ cellExpandedMode: "tips",
+ height: 'full-135',
+ cols: [[
+ { title: '序号', align: 'center', width: "10%", type: 'numbers' },
+ { title: '学校名称', field: 'org_name', align: 'center', width: "40%" },
+ { title: '学校类型', field: 'school_type_name', align: 'center', width: "15%" },
+ { title: '状态', field: 'check_type_name', align: 'center', width: "15%" },
+ { title: '操作', toolbar: '#table-bar1', align: 'center', width: "20%" }
+ ]],
+ // skin: 'line',
+ defaultToolbar: []
+ });
+ }
form.on('submit(user-query)', function () {
-
- tableRender()
-
- // 阻止表单的默认提交行为
+ tableRender1();
return false;
});
form.on('select(xxlx)', function () {
- tableRender();
- // 阻止表单的默认提交行为
+ tableRender1();
return false;
});
+ table.on('tool(myTable1)', function (obj) {
+ console.log(obj);
+ });
+
table.on('tool(myTable)', function (obj) {
var areaId = obj.data.id;
if (obj.event === 'view') {
diff --git a/WebRoot/view/tb/zbdc/examine/examine_city_area_list.html b/WebRoot/view/tb/zbdc/examine/examine_city_area_list.html
index 3650de63..8a83f2c4 100644
--- a/WebRoot/view/tb/zbdc/examine/examine_city_area_list.html
+++ b/WebRoot/view/tb/zbdc/examine/examine_city_area_list.html
@@ -85,7 +85,7 @@
@@ -122,7 +122,7 @@