diff --git a/src/main/resources/static/route/basicCheckPersonAction/list.html b/src/main/resources/static/route/basicCheckPersonAction/list.html index dbca878..dad439b 100644 --- a/src/main/resources/static/route/basicCheckPersonAction/list.html +++ b/src/main/resources/static/route/basicCheckPersonAction/list.html @@ -77,14 +77,19 @@ height: $win.height() - 90, limit: 20, limits: [20, 40, 60, 80, 100, 200], - toolbar: '#headerToolBar', + //toolbar: '#headerToolBar', request: { pageName: 'page', limitName: 'rows' }, cols: [ [ - {type:'checkbox', fixed: 'left'}, + {width:80, title: '操作', fixed: 'left', align:'center', + templet: function(row){ + let dom = '详情' + return dom; + } + }, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, {field: 'streetOrgName', width: 180, title: '街道办事处', align:'center', @@ -277,6 +282,25 @@ } } }); + + table.on('tool(dataTable)', function(obj) { + var layEvent = obj.event; + if(layEvent === 'showEvent'){ + layer.open({ + type: 2, + title: '详情', + closeBtn: 1, + area: ['80%', '80%'], + shadeClose: true, + anim: 2, + content: top.restAjax.path('route/basicCheckPersonAction/show.html?reportId={reportId}', + [obj.data.reportId]), + end: function() { + reloadTable(); + } + }); + } + }); });
+diff --git a/src/main/resources/static/route/basicCheckPersonAction/show.html b/src/main/resources/static/route/basicCheckPersonAction/show.html new file mode 100644 index 0000000..42dea53 --- /dev/null +++ b/src/main/resources/static/route/basicCheckPersonAction/show.html @@ -0,0 +1,212 @@ + + +
+
+