diff --git a/WebRoot/view/tb/zbdc/examine/examine_search_details.html b/WebRoot/view/tb/zbdc/examine/examine_search_details.html new file mode 100644 index 00000000..02068d46 --- /dev/null +++ b/WebRoot/view/tb/zbdc/examine/examine_search_details.html @@ -0,0 +1,145 @@ + + + + + + + + + + + + + +
+
+ +
+ + +
+
+ + + + + + + + \ No newline at end of file diff --git a/WebRoot/view/tb/zbdc/examine/examine_search_xx.html b/WebRoot/view/tb/zbdc/examine/examine_search_xx.html index 8a1a03ca..9c7e2a61 100644 --- a/WebRoot/view/tb/zbdc/examine/examine_search_xx.html +++ b/WebRoot/view/tb/zbdc/examine/examine_search_xx.html @@ -104,7 +104,7 @@ table.render({ elem: '#myTable', - url: '/QingLong/zbdc/CheckViewList', + url: '/QingLong/zbdc/CheckViewList', height: 'full-30', page: { limit: 15 @@ -115,7 +115,7 @@ cols: [[ { title: '序号', align: 'center', width: "10%", type: 'numbers' }, { title: '上报年份', field: 'year', align: 'center', width: "25%" }, - { title: '最后提交时间', field: 'school_type_name', align: 'center', width: "20%" }, + { title: '最后提交时间', field: 'create_time', align: 'center', width: "20%" }, { title: '状态', field: 'check_type_name', align: 'center', width: "20%" }, { title: '操作', toolbar: '#table-bar', align: 'center', width: "25%" } @@ -125,18 +125,14 @@ }); table.on('tool(myTable)', function (obj) { - console.log(obj.data.school_type_id) - if (obj.event === 'view') { - if (obj.data.school_type_id == 211) { - window.location.href = "/QingLong/view/tb/zbdc/examine/data_all_xx.html?bureau_id=" + obj.data.bureau_id + "&flag=1"; - } else if (obj.data.school_type_id == 311) { - window.location.href = "/QingLong/view/tb/zbdc/examine/data_all_cz.html?bureau_id=" + obj.data.bureau_id + "&flag=1"; - } - else if (obj.data.school_type_id == 312) { - window.location.href = "/QingLong/view/tb/zbdc/examine/data_all_jnygz.html?bureau_id=" + obj.data.bureau_id + "&flag=1"; - } - - } + console.log(obj.data.year); + layer.open({ + type: 2, + title: '编辑', + shade: 0.1, + area: ['650px', '385px'], + content: './examine_search_details.html?year=' + obj.data.year + }); });