chunk-23fb3c7f.e740e40d.js 5.3 KB

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