Browse Source

无数据处理

luolei 5 years ago
parent
commit
29a7f9ed4a

+ 1 - 0
src/css/console.less

@@ -431,6 +431,7 @@ body.console {
     // width: 100%;
     padding-left: 15px;
     background: @themeColor;
+    box-sizing: border-box;
   }
 }
 

+ 1 - 1
src/html/mukuai.html

@@ -12,7 +12,7 @@
 <body>
     <div class="managerContainer mukuai">
         <div class="partTitle">
-          <p><a href="console.html">控制台 / </a>各模块缺陷占比</p>
+          <p><a href="deptConsole.html">控制台(科室) / </a>各模块缺陷占比</p>
           <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>

+ 1 - 1
src/html/partDetail.html

@@ -11,7 +11,7 @@
 <body>
     <div class="container partDetail">
         <div class="partTitle">
-          <p><a href="console.html">控制台 / </a>病案首页合格率占比</p>
+          <p><a href="deptConsole.html">控制台(科室) / </a>病案首页合格率占比</p>
           <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>

+ 1 - 1
src/html/tiaomu.html

@@ -12,7 +12,7 @@
 <body>
     <div class="managerContainer tiaomu">
         <div class="partTitle">
-          <p><a href="console.html">控制台 / </a>条目缺陷占比</p>
+          <p><a href="deptConsole.html">控制台(科室) / </a>条目缺陷占比</p>
           <div class="monthYear">
             <span class="mon">本月</span>
             <span class="year">本年</span>

BIN
src/images/empty.png


+ 1 - 1
src/js/abnormal.js

@@ -523,7 +523,7 @@ $(document).on("click", function(){
     $(".levelList ").css("display", "none")
     $(".deptList").css("display", "none")
     $(".selectLevel .arrow").attr("src",iconDown)
-    
+    $(".selectDept .arrow").attr("src",iconDown)
 })
 
 $((function($){

+ 1 - 1
src/js/console.js

@@ -94,7 +94,7 @@ function hasData(data){
   }
 function resizeBox(){
     $(".partWrap").css({
-        height:$(window).height()-84+'px'
+        height:$(window).height()-44+'px'
     })
 }
 //所有数据切换日期筛选

+ 16 - 8
src/js/deptConsole.js

@@ -43,15 +43,19 @@ $(function(){
 function tiaomu(){
     $(".defect .partTitlePub").click(function(){
         $(parent.document).find("#contentIframe").attr("src","mukuai.html?from=2&deptName="+curDept+"&dateType="+dateType)
+        $(".container",parent.document).removeClass("console-cont");
     })
     $(".circleBSingle .title,.homePageNo .title").click(function(){
         $(parent.document).find("#contentIframe").attr("src","tiaomu.html?from=2&deptName="+curDept+"&dateType="+dateType)
+        $(".container",parent.document).removeClass("console-cont");
     })
     $(".homePage .title").click(function(){
         $(parent.document).find("#contentIframe").attr("src","partDetail.html")
+        $(".container",parent.document).removeClass("console-cont");
     })
     $(".part02 .bingli,.part02 .bingliLis").click(function(){
         $(parent.document).find("#contentIframe").attr("src","deptScoreDetail.html")
+        $(".container",parent.document).removeClass("console-cont");
     })
 }
 //判断有无某一权限
@@ -75,8 +79,8 @@ function dateChange(){
             backgroundColor:'#00A1FF',
             color:'#fff'
         }).siblings().css({
-            color:'#00A1FF',
-            backgroundColor:'#fff'
+            color:'#fff',
+            backgroundColor:'#203463'
         })
         dateType = 1
         getBarData(1)
@@ -86,8 +90,8 @@ function dateChange(){
             backgroundColor:'#00A1FF',
             color:'#fff'
         }).siblings().css({
-            color:'#00A1FF',
-            backgroundColor:'#fff'
+            color:'#fff',
+            backgroundColor:'#203463'
         })
         dateType = 2
         getBarData(2)
@@ -144,7 +148,11 @@ function getOwnDept(){
                 curDept = result[0].deptName
                 $(".partTitle p i,.toggleSlide p span").html(curDept).attr("title",curDept)
                 getBarData(2)//图标数据获取
+            }else {
+                $(".partTitle p i,.toggleSlide p span").html('--')
             }
+        }).catch(()=>{
+            $(".partTitle p i,.toggleSlide p span").html('--')
         })
     // }
 }
@@ -493,7 +501,7 @@ function emptyCircleB(data){
         total += echartData[i].num
     }
     option = {
-        backgroundColor: bgColor,
+        // backgroundColor: bgColor,
         color: color,
         title: [{
             text: data.length>0?'{val|' + total + '}\n{name|' + title + '}':'',
@@ -503,14 +511,14 @@ function emptyCircleB(data){
                 rich: {
                     val: {
                         fontSize: 24,
-                        color: '#333',
+                        color: '#fff',
                         fontWeight: 'bold',
                         padding: [10, 0]
                     },
                     name: {
                         fontSize: 12,
                         fontWeight: 'normal',
-                        color: '#777',
+                        color: '#fff',
                     }
                 }
             }
@@ -533,7 +541,7 @@ function emptyCircleB(data){
             hoverOffset:5,
             itemStyle: {
                 normal: {
-                    borderColor: bgColor,
+                    // borderColor: bgColor,
                     borderWidth: 2
                 }
             },

+ 5 - 3
src/js/deptScoreDetail.js

@@ -157,7 +157,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let docName = $(this).attr("data-doc")
@@ -552,8 +555,7 @@ function renderPagination(totalPage,activePage,totalNum){
 $(document).on("click", function(){
     $(".levelList ").css("display", "none")
     $(".deptList").css("display", "none")
-    $(".selectLevel .arrow").attr("src",iconDown)
-    
+    $(".selectDept .arrow").attr("src",iconDown)    
 })
 
 $((function($){

+ 4 - 1
src/js/deptScoreDetailControl.js

@@ -141,7 +141,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let deptName = $(this).attr("data-dept")

+ 0 - 1
src/js/index.js

@@ -112,7 +112,6 @@ function getOwnDept(){
           let data = res.data;
           if(data.code == 0){
               let result = data.data
-              curDept = result[0].deptName
               setCookie("deptList",JSON.stringify(result))
           }
       })

+ 17 - 2
src/js/mukuai.js

@@ -28,13 +28,23 @@ $(function(){
     
     $(".partTitle a").click(function(){
         //初始菜单选中
-        $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+        focusMenuItem('YH-KZTKS')
         $(".container",parent.document).addClass("console-cont");
     })
     $(".abnormalClear").click(function(){
         window.location.reload()
     })
 })
+
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 bindDeptSelect()
 //科室选择
 function bindDeptSelect(){
@@ -213,7 +223,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 
@@ -457,4 +470,6 @@ $(document).on("click", function(){
     $(".selectModuleType .arrow").attr("src",iconDown)
     $(".selectReject .arrow").attr("src",iconDown)
     $(".selectUsed .arrow").attr("src",iconDown)
+    $(".deptList").css("display", "none")
+    $(".selectDept .arrow").attr("src",iconDown)
 })

+ 14 - 2
src/js/mukuaiControl.js

@@ -27,13 +27,22 @@ $(function(){
     
     $(".partTitle a").click(function(){
         //初始菜单选中
-        $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
         $(".container",parent.document).addClass("console-cont");
+        focusMenuItem('YH-KZT')
     })
     $(".abnormalClear").click(function(){
         window.location.reload()
     })
 })
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 bindDeptSelect()
 //科室选择
 function bindDeptSelect(){
@@ -212,7 +221,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 

+ 17 - 6
src/js/partDetail.js

@@ -25,10 +25,20 @@ $(".abnormalClear").click(function(){
     window.location.reload()
 })
 $(".partTitle a").click(function(){
-    //初始菜单选中
-    $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+    //初始菜单选中        
+    focusMenuItem('YH-KZTKS')
     $(".container",parent.document).addClass("console-cont");
 })
+
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 $('.datapickerBox').append(`<img class="iconCalen" src=${iconCalenGrey} />`)
 $('.iconCalen').on("mouseenter", function(e){
     $(this).attr("src", iconCalenBlue)
@@ -56,7 +66,6 @@ function getDeptList(){
     $(".partDetail .filterDropList").html(str)
 }
 
-
 dateChange()
 //所有数据切换日期筛选
 function dateChange(){
@@ -150,7 +159,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let docName = $(this).attr("data-doc")
@@ -538,8 +550,7 @@ function renderPagination(totalPage,activePage,totalNum){
 $(document).on("click", function(){
     $(".levelList ").css("display", "none")
     $(".deptList").css("display", "none")
-    $(".selectLevel .arrow").attr("src",iconDown)
-    
+    $(".selectDept .arrow").attr("src",iconDown)
 })
 
 $((function($){

+ 6 - 4
src/js/partDetailControl.js

@@ -133,8 +133,11 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    console.log(str)
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    // console.log(str)
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
     $(".goHomeDetail").click(function(){
         let deptName = $(this).attr("data-dept")
@@ -529,8 +532,7 @@ function renderPagination(totalPage,activePage,totalNum){
 $(document).on("click", function(){
     $(".levelList ").css("display", "none")
     $(".deptList").css("display", "none")
-    $(".selectLevel .arrow").attr("src",iconDown)
-    
+    $(".selectDept .arrow").attr("src",iconDown)
 })
 
 $((function($){

+ 5 - 5
src/js/payDetail.js

@@ -138,15 +138,15 @@ function renderTab(data,hisId,activePage){
         ${statisticsType==1?`<thead class="monType">
             <th class="moduleName" style="width: 65px;">序号</th>
             <th class="beHospitalId textCenter">科室名称</th>
-            <th class="patientNo textCenter" >上月平均住院天数(天)</th>
-            <th class="patientNo textCenter" >本月平均住院天数(天)</th>
-            <th class="patientNo textCenter" >去年本月平均住院天数(天)</th>
+            <th class="patientNo textCenter" >上月平均住院花费(元)</th>
+            <th class="patientNo textCenter" >本月平均住院花费(元)</th>
+            <th class="patientNo textCenter" >去年本月平均住院花费(元)</th>
         </thead>`:`
         <thead class="yearType">
             <th class="moduleName" style="width: 65px;">序号</th>
             <th class="beHospitalId textCenter">科室名称</th>
-            <th class="patientNo textCenter" >本年平均住院花费()</th>
-            <th class="patientNo textCenter" >去年平均住院花费()</th>
+            <th class="patientNo textCenter" >本年平均住院花费()</th>
+            <th class="patientNo textCenter" >去年平均住院花费()</th>
         </thead>
         `}
         <tbody>

+ 4 - 1
src/js/qcList.js

@@ -149,7 +149,10 @@ function renderTab(data,hisId){
     let str = ``
     let hasSelectAll = true;
     if(data.length===0){
-      $('tbody').html(`<tr><td colspan='17' style="text-align: center;color: #aaa">暂无数据~</td></tr>`);
+      $('tbody').html(`<tr><td colspan="17" style="text-align: center;color: #aaa">
+          <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+          <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+      </td></tr>`)
       return;
     }
     for(let i = 0; i < data.length; i++){

+ 4 - 1
src/js/qcListDept.js

@@ -164,7 +164,10 @@ function renderTab(data){
     let str = ``
     let hasSelectAll = true;
     if(data.length===0){
-      $('tbody').html(`<tr><td colspan='17' style="text-align: center;color: #aaa">暂无数据~</td></tr>`);
+      $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+          <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+          <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+      </td></tr>`)
       return;
     }
     for(let i = 0; i < data.length; i++){

+ 4 - 1
src/js/qcListPerson.js

@@ -164,7 +164,10 @@ function renderTab(data){
     let str = ``
     let hasSelectAll = true;
     if(data.length===0){
-        $('tbody').html(`<tr><td colspan='17' style="text-align: center;color: #aaa">暂无数据~</td></tr>`);
+        $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+            <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+            <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+        </td></tr>`)
         return;
     }
     for(let i = 0; i < data.length; i++){

+ 25 - 5
src/js/quexianDetail.js

@@ -46,19 +46,36 @@ $(function(){
     getTabData(1)//条目缺陷    
     from = getUrlArgObjectNew("from",srcUrl)||""
     if(from == 1){
-        $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="partDetail.html">病案首页合格率占比 / </a>缺陷详情`)
+        $(".partTitle .titlePic ").html(`<a class="consoleD" href="deptConsole.html">控制台(科室) / </a><a class="consoleP" href="partDetail.html">病案首页合格率占比 / </a>缺陷详情`)
         $(".partTitle .consoleD").click(function(){
-            $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+            focusMenuItem('YH-KZTKS')
             $(".container",parent.document).addClass("console-cont");
         })
+        $(".partTitle .consoleP").click(function(){
+            focusMenuItem('YH-KSZR-BASYHGLZB_XQ')
+            console.log(999)
+        })
     }else{
-        $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台 / </a><a class="consoleP" href="deptScoreDetail.html">各科室缺陷占比 / </a>缺陷详情`)
+        $(".partTitle .titlePic ").html(`<a class="consoleD" href="console.html">控制台(科室) / </a><a class="consoleP" href="deptScoreDetail.html">各科室缺陷占比 / </a>缺陷详情`)
         $(".partTitle .consoleD").click(function(){
-            $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+            focusMenuItem('YH-KZT')
             $(".container",parent.document).addClass("console-cont");
         })
+        $(".partTitle .consoleP").click(function(){
+            focusMenuItem('YH-KSZR-KSQXZB_XQ')
+            console.log(999)
+        })
     }
 })
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 bindDeptSelect()
 //科室选择
 function bindDeptSelect(){
@@ -242,7 +259,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 

+ 4 - 1
src/js/quexianDetailControl.js

@@ -242,7 +242,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 

+ 4 - 1
src/js/quexianXQ.js

@@ -126,7 +126,10 @@ function renderTab(data,hisId,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindScoreDetail(hisId)
 }
 

+ 17 - 3
src/js/tiaomu.js

@@ -27,13 +27,22 @@ $(function(){
     
     $(".partTitle a").click(function(){
         //初始菜单选中
-        $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
+        focusMenuItem('YH-KZTKS')
         $(".container",parent.document).addClass("console-cont");
     })
     $(".abnormalClear").click(function(){
         window.location.reload()
     })
 })
+function focusMenuItem(code){
+    const ele = $(parent.document).find(".menu .page[code="+code+"]");
+    const parEle = ele.parents(".list-1");
+    if(!parEle.is(".list-1-show")){
+      parEle.click();
+    }
+    //console.log($(parent.document).find(".menu .page[code='YH-ZKK-GMKQXZB_XQ']"))
+    ele.click();
+  }
 bindDeptSelect()
 //科室选择
 function bindDeptSelect(){
@@ -243,7 +252,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 
@@ -487,4 +499,6 @@ $(document).on("click", function(){
     $(".selectModuleType .arrow").attr("src",iconDown)
     $(".selectReject .arrow").attr("src",iconDown)
     $(".selectUsed .arrow").attr("src",iconDown)
-})
+    $(".deptList").css("display", "none")
+    $(".selectDept .arrow").attr("src",iconDown)
+})

+ 4 - 1
src/js/tiaomuControl.js

@@ -241,7 +241,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }
 

+ 4 - 1
src/js/userManager.js

@@ -122,7 +122,10 @@ function renderTab(data,activePage){
             </tr>
         `
     }
-    $('tbody').html(str?str:'<tr><td colspan="17" style="text-align: center;color: #aaa">暂无数据~</td></tr>')
+    $('tbody').html(str?str:`<tr><td colspan="17" style="text-align: center;color: #aaa">
+        <img style="margin-top:50px;width:100px;" src="${require('../images/empty.png')}" />
+        <p style="margin-top:20px;margin-bottom:30px;color:#ccc;position:relative;left:5px;">暂无数据~</p>
+    </td></tr>`)
     bindEdit(data,activePage)
 }