chunk-b87ec03a.b010e4dd.js 5.2 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b87ec03a"],{"3de3":function(t,e,n){},"90b7":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.shows?n("div",{staticClass:"nav",class:{"fix-nav":t.navBarFixed},attrs:{id:"nav"}},[n("van-nav-bar",{attrs:{title:"核酸检测统计","left-arrow":"","left-text":"返回"},on:{"click-left":t.onClickLeft}})],1):t._e(),n("div",{staticClass:"contents"},[n("div",{staticStyle:{width:"350px",height:"350px",margin:"12px auto","border-radius":"10px"},attrs:{id:"main"}}),n("div",{staticClass:"contents_p"},[n("p",[t._v("总人数")]),n("p",[t._v(t._s(t.total_number)+" 人")])])]),n("div",{staticClass:"contents_table"},[n("h3",[t._v("核酸检测明细")]),n("div",{staticClass:"list"},[t._m(0),t._l(t.list,(function(e,i){return n("div",{key:i,staticClass:"item"},[n("div",{staticClass:"fullname"},[t._v(t._s(e.section_fullname))]),n("div",{staticClass:"total_number"},[t._v(t._s(e.section_total_number)+" 人")]),n("div",{staticClass:"total_vaccination_second"},[t._v(" "+t._s(e.nucleic_acid_test)+" 人 ")]),n("div",{staticClass:"total_vaccination_first",on:{click:function(n){return t.weijiance(e.section_fullname)}}},[t._v(" "+t._s(e.num)+" 人 ")]),n("div",{staticClass:"num"},[t._v(t._s(e.not_filled_in)+" 人")])])}))],2)])])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"item",staticStyle:{"border-bottom":"2px solid #009fe8"}},[n("div",{staticClass:"fullname"},[t._v("部门名称")]),n("div",{staticClass:"total_number"},[t._v("总人数")]),n("div",{staticClass:"total_vaccination_second",staticStyle:{color:"#000"}},[t._v("已检测")]),n("div",{staticClass:"total_vaccination_first",staticStyle:{color:"#000"}},[t._v("未检测")]),n("div",{staticClass:"num",staticStyle:{color:"#000"}},[t._v("未录入")])])}],o=(n("b0c0"),n("99af"),n("accb")),s=n("313e"),c={data:function(){return{shows:!1,infos:[],infos1:[],shows1:"",navBarFixed:!1,total_number:0,list:[]}},methods:{getanalysis:function(){var t=this,e=s["a"](document.getElementById("main"));this.$http.post("http://ningdongyunying.nxjiewei.com:8011/api/workbench/epidemic_situation/nucleic_acid_test_statistics").then((function(n){console.log(n),t.infos=n.data.data,t.total_number=n.data.data.total_number,t.list=n.data.data.not_nat_section_list;var i={backgroundColor:"#fff",borderRadius:"20px",title:{text:"核酸检测统计",x:"25px",y:"15px"},tooltip:{show:!0,trigger:"item"},legend:{y:"bottom",x:"center",formatter:function(t){for(var e,n=i.series[0].data,a=0;a<n.length;a++)n[a].value,n[a].name==t&&(e=n[a].value);var o=e;return"".concat(t," (").concat(o,")人")}},calculable:!0,series:[{name:"",type:"pie",radius:["40%","70%"],label:{normal:{show:!0,position:"inner",textStyle:{fontWeight:300,fontSize:16},formatter:"{d}%"}},data:[{value:t.infos.nucleic_acid_test,name:"已检测",itemStyle:{color:"#39f",shadowBlur:200,shadowColor:"rgba(0, 0, 0, 0)"}},{value:t.infos.not_nucleic_acid_test,name:"未检测",itemStyle:{color:"red",shadowBlur:200,shadowColor:"rgba(0, 0, 0, 0)"}}]}]};e.setOption(i)}))},weijiance:function(t){console.log(t);var e=t;window.location.href="#/ningdongyunying/yiqing/yiqing-bumenwjc?itsname=".concat(e)},onClickLeft:function(){window.history.back()},watchScroll:function(){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,e=document.querySelector("#nav").offsetHeight;console.log("scrollTop=>",t," offsetTop=>",e),this.navBarFixed=t>e}},mounted:function(){document.body.style.backgroundColor="#39f",this.token=Object(o["a"])(window.location.href).token,window.addEventListener("scroll",this.watchScroll),this.tabbar=Boolean(Object(o["a"])(window.location.href).tabbar),this.shows=this.tabbar,this.getanalysis()},destroyed:function(){window.removeEventListener("scroll",this.watchScroll)}},l=c,r=(n("e6ae"),n("2877")),d=Object(r["a"])(l,i,a,!1,null,"1c219447",null);e["default"]=d.exports},"99af":function(t,e,n){"use strict";var i=n("23e7"),a=n("d039"),o=n("e8b5"),s=n("861d"),c=n("7b0b"),l=n("50c4"),r=n("8418"),d=n("65f0"),u=n("1dde"),f=n("b622"),v=n("2d00"),_=f("isConcatSpreadable"),h=9007199254740991,m="Maximum allowed index exceeded",b=v>=51||!a((function(){var t=[];return t[_]=!1,t.concat()[0]!==t})),p=u("concat"),w=function(t){if(!s(t))return!1;var e=t[_];return void 0!==e?!!e:o(t)},g=!b||!p;i({target:"Array",proto:!0,forced:g},{concat:function(t){var e,n,i,a,o,s=c(this),u=d(s,0),f=0;for(e=-1,i=arguments.length;e<i;e++)if(o=-1===e?s:arguments[e],w(o)){if(a=l(o.length),f+a>h)throw TypeError(m);for(n=0;n<a;n++,f++)n in o&&r(u,f,o[n])}else{if(f>=h)throw TypeError(m);r(u,f++,o)}return u.length=f,u}})},accb:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("ac1f"),n("1276"),n("fb6a"),n("841c"),n("5319");var i=function(t){var e=t?t.split("?")[1]:window.location.search.slice(1),n={};if(e){e=e.split("#")[0];for(var i=e.split("&"),a=0;a<i.length;a++){var o=i[a].split("="),s=void 0,c=o[0].replace(/\[\d*\]/,(function(t){return s=t.slice(1,-1),""})),l="undefined"===typeof o[1]||o[1];n[c]?("string"===typeof n[c]&&(n[c]=[n[c]]),"undefined"===typeof s?n[c].push(l):n[c][s]=l):n[c]=l}}return n}},e6ae:function(t,e,n){"use strict";n("3de3")}}]);
  2. //# sourceMappingURL=chunk-b87ec03a.b010e4dd.js.map