|
@@ -0,0 +1,108 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html>
|
|
|
+ <head>
|
|
|
+ <title>TODO supply a title</title>
|
|
|
+ {include file="../application/manage/view/commons/headers.html" }
|
|
|
+ <script >
|
|
|
+
|
|
|
+ // 编辑窗口
|
|
|
+ var $editWin;
|
|
|
+ var editWinHeight=$(window).height()-35;
|
|
|
+ var editWinWidth=$(window).width()*0.98;
|
|
|
+
|
|
|
+ $(function(){
|
|
|
+ $editWin = $('#edit-window').window({
|
|
|
+ title: '每日医院上传统计信息',
|
|
|
+ width: editWinWidth,height: editWinHeight,
|
|
|
+ top: ($(window).height() -editWinHeight ) /2 ,
|
|
|
+ left: ($(window).width() -editWinWidth ) /2 ,
|
|
|
+ shadow: true,modal: true,
|
|
|
+ iconCls: 'icon-edit',closed: true,resizable:true,
|
|
|
+ minimizable: false,maximizable: true,collapsible: false
|
|
|
+ });
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ $(window).resize(function() {
|
|
|
+ editWinWidth=$(window).width()*0.98;
|
|
|
+ $('#edit-window').window('resize',{
|
|
|
+ width: editWinWidth,height: editWinHeight
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ function statusFormatter(status){
|
|
|
+ if(status=="0"){
|
|
|
+ return "屏蔽";
|
|
|
+ }else if(status=="1"){
|
|
|
+ return "正常";
|
|
|
+ }else{
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ function pfromFormatter(source){
|
|
|
+ if(source){
|
|
|
+ return "绑定";
|
|
|
+ }else if(source==null){
|
|
|
+ return "未绑定";
|
|
|
+ }else{
|
|
|
+ return source;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function sfromFormatter(source){
|
|
|
+ if(source=="M"){
|
|
|
+ return "男";
|
|
|
+ }else if(source=="F"){
|
|
|
+ return "女";
|
|
|
+ }else{
|
|
|
+ return source;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ $(function(){
|
|
|
+
|
|
|
+ var height=$(document).height();
|
|
|
+ $("#dg").height(height);
|
|
|
+
|
|
|
+ $('#dg').datagrid({
|
|
|
+ url:'/manage/studiesnums/datas',
|
|
|
+ idField:'id',method: 'get',rownumbers: true,showFooter: true,singleSelect:true,selectOnCheck:false,
|
|
|
+ toolbar: '#tb',pageList: [dgRowSize,dgRowSize*2,50,100],pagination:false,pageSize:dgRowSize,
|
|
|
+ columns:[[
|
|
|
+ {field:'institution_name',title:'医院名称',width:"120",align:'left'},
|
|
|
+ {field:'count',title:'当日检查数量',width:100 },
|
|
|
+ ]],
|
|
|
+ onDblClickRow :function(rowIndex,rowData){
|
|
|
+ showEditWin(rowData.id);
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ function reload(){
|
|
|
+ var search = $("#exam1").val();
|
|
|
+ var url="/manage/studiesnums/datas?search="+(search==null?"":search);
|
|
|
+ $('#dg').datagrid("reload",url);
|
|
|
+ }
|
|
|
+
|
|
|
+ </script>
|
|
|
+
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <div id="dg" class="easyui-datagrid" style="width:100%;height:auto;" ></div>
|
|
|
+ <div id="tb" class="editform" style="display: none; padding-top: 1px;">
|
|
|
+ <form id="form">
|
|
|
+ 检查时间:<input type="text" id="exam1" name="upload_datetime[]" class="easyui-datebox" style="width: 120px;" />
|
|
|
+ <a id="submit" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="width: 80px" onclick="reload()" >查询</a>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <div id="edit-window" class="easyui-window" style="overflow: hidden" ><iframe src="about:blank" id="editFrame" style="width:100%;height:100%" frameborder="0" scrolling="yes" ></iframe></div>
|
|
|
+
|
|
|
+ </body>
|
|
|
+</html>
|