12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0f4ecd12"],{"024f":function(t,e,n){"use strict";n("59ee")},"59ee":function(t,e,n){},"6cff":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",[n("van-nav-bar",{attrs:{title:"核酸检测统计","left-arrow":"","left-text":"返回"},on:{"click-left":t.onClickLeft}})],1):t._e(),n("div",{staticStyle:{width:"350px",height:"200px",margin:"0 auto","border-radius":"10px"},attrs:{id:"main"}})])},o=[],a=n("accb"),r=n("313e"),c={data:function(){return{shows:!0,infos:[]}},methods:{getanalysis:function(){var t=this,e=r["a"](document.getElementById("main"));this.$http.post("http://zaoquan.nxjiewei.com:8011/api/workbench/epidemic_situation/vaccination_statistics").then((function(n){t.infos=n.data.data;var i={backgroundColor:"#fff",title:{text:"疫苗接种统计",left:"left"},tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c}"},legend:{y:"bottom",x:"center"},calculable:!0,series:[{name:"访问来源",type:"pie",radius:"50%",label:{normal:{show:!0,position:"inner",textStyle:{fontWeight:300,fontSize:16},formatter:"{d}%"}},data:[{value:t.infos.vaccination,name:"已接种疫苗",itemStyle:{color:"#39f",shadowBlur:200,shadowColor:"rgba(0, 0, 0, 0)"}},{value:t.infos.not_vaccination,name:"未接种疫苗",itemStyle:{color:"red",shadowBlur:200,shadowColor:"rgba(0, 0, 0, 0.5)"}}]}]};e.setOption(i)}))},onClickLeft:function(){window.history.back()}},mounted:function(){document.body.style.backgroundColor="#39f",this.token=Object(a["a"])(window.location.href).token,this.getanalysis()}},s=c,l=(n("024f"),n("2877")),f=Object(l["a"])(s,i,o,!1,null,"b25bbc66",null);e["default"]=f.exports},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("&"),o=0;o<i.length;o++){var a=i[o].split("="),r=void 0,c=a[0].replace(/\[\d*\]/,(function(t){return r=t.slice(1,-1),""})),s="undefined"===typeof a[1]||a[1];n[c]?("string"===typeof n[c]&&(n[c]=[n[c]]),"undefined"===typeof r?n[c].push(s):n[c][r]=s):n[c]=s}}return n}}}]);
- //# sourceMappingURL=chunk-0f4ecd12.e5f556a6.js.map
|