12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b12682c4"],{"64c9":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"),c=n("313e"),r={data:function(){return{shows:!0,infos:[]}},methods:{getanalysis:function(){var t=this,e=c["a"](document.getElementById("main"));this.$http.post("http://zaoquan.nxjiewei.com:8011/api/workbench/epidemic_situation/nucleic_acid_test_statistics").then((function(n){t.infos=n.data.data,console.log(t.infos);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.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.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=r,l=(n("ae9d"),n("2877")),u=Object(l["a"])(s,i,o,!1,null,"5c538cb3",null);e["default"]=u.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("="),c=void 0,r=a[0].replace(/\[\d*\]/,(function(t){return c=t.slice(1,-1),""})),s="undefined"===typeof a[1]||a[1];n[r]?("string"===typeof n[r]&&(n[r]=[n[r]]),"undefined"===typeof c?n[r].push(s):n[r][c]=s):n[r]=s}}return n}},ae9d:function(t,e,n){"use strict";n("c60a")},c60a:function(t,e,n){}}]);
- //# sourceMappingURL=chunk-b12682c4.8df1b015.js.map
|