Shanghai-SanFenYuan/kunshan/static/js/chunk-5c1b28e9.585e37f6.js
2026-03-30 14:14:59 +08:00

1 line
6.1 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c1b28e9","chunk-ba1ba59a"],{"0958":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"title"},[t._v(" "+t._s(t.title)+" ")]),n("div",{staticClass:"body"},[t._t("default")],2)])},i=[],a={name:"Card",props:{title:{type:String,default:"标题"}}},o=a,c=(n("d0e5"),n("2877")),u=Object(c["a"])(o,r,i,!1,null,"2fa17ad6",null);e["default"]=u.exports},"0da9":function(t,e,n){},"257f":function(t,e,n){},"277f":function(t,e,n){"use strict";n("0da9")},"50ba":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bg"},[n("div",{staticClass:"title"},[t._v(" 同步录音录像软件 ")]),n("div",{staticClass:"inspector-container"},[n("div",{staticStyle:{display:"grid","grid-template-columns":"repeat(4,minmax(0,1fr))",gap:"20px"}},[n("Card",{attrs:{title:"总同录数量"}},[n("div",{staticClass:"shu"},[n("span",[t._v(t._s(t.tongji.totalCount))])])]),n("Card",{attrs:{title:"本年同录数量"}},[n("div",{staticClass:"shu"},[n("span",[t._v(t._s(t.tongji.yearCount))])])]),n("Card",{attrs:{title:"本季度同录数量"}},[n("div",{staticClass:"shu"},[n("span",[t._v(t._s(t.tongji.monthCount))])])]),n("Card",{attrs:{title:"本月同录数量"}},[n("div",{staticClass:"shu"},[n("span",[t._v(t._s(t.tongji.weekCount))])])])],1),n("div",{staticStyle:{flex:"1",display:"grid","grid-template-columns":"repeat(4,minmax(0,1fr))",gap:"20px"}},[n("Card",{attrs:{title:"总同录数量"}},[n("div",{staticStyle:{width:"100%",height:"500px"},attrs:{id:"total"}})]),n("Card",{attrs:{title:"本年同录数量"}},[n("div",{staticStyle:{width:"100%",height:"500px"},attrs:{id:"year"}})]),n("Card",{attrs:{title:"本月同录数量"}},[n("div",{staticStyle:{width:"100%",height:"500px"},attrs:{id:"month"}})]),n("Card",{attrs:{title:"本周同录数量"}},[n("div",{staticStyle:{width:"100%",height:"500px"},attrs:{id:"week"}})])],1)])])},i=[],a=n("0958"),o=n("b775"),c=function(){return Object(o["a"])({method:"post",url:"/caserecord/countByPeriod"})},u=function(t){return Object(o["a"])({method:"post",url:"/caserecord/countByClerkByPeriod",params:{period:t}})},s=n("313e");function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function a(n,r,i,a){var u=r&&r.prototype instanceof c?r:c,s=Object.create(u.prototype);return d(s,"_invoke",function(n,r,i){var a,c,u,s=0,l=i||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return a=e,c=0,u=t,f.n=n,o}};function p(n,r){for(c=n,u=r,e=0;!d&&s&&!i&&e<l.length;e++){var i,a=l[e],p=f.p,v=a[2];n>3?(i=v===r)&&(u=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=t):a[0]<=p&&((i=n<2&&p<a[1])?(c=0,f.v=r,f.n=a[1]):p<v&&(i=n<3||a[0]>r||r>v)&&(a[4]=n,a[5]=r,f.n=v,c=0))}if(i||n>1)return o;throw d=!0,r}return function(i,l,v){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&p(l,v),c=l,u=v;(e=c<2?t:u)||!d;){a||(c?c<3?(c>1&&(f.n=-1),p(c,u)):f.n=u:f.v=u);try{if(s=2,a){if(c||(i="next"),e=a[i]){if(!(e=e.call(a,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,c<2&&(c=0)}else 1===c&&(e=a.return)&&e.call(a),c<2&&(u=TypeError("The iterator does not provide a '"+i+"' method"),c=1);a=t}else if((e=(d=f.n<0)?u:n.call(r,f))!==o)break}catch(e){a=t,c=1,u=e}finally{s=1}}return{value:e,done:d}}}(n,i,a),!0),s}var o={};function c(){}function u(){}function s(){}e=Object.getPrototypeOf;var f=[][r]?e(e([][r]())):(d(e={},r,(function(){return this})),e),p=s.prototype=c.prototype=Object.create(f);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,d(t,i,"GeneratorFunction")),t.prototype=Object.create(p),t}return u.prototype=s,d(p,"constructor",s),d(s,"constructor",u),u.displayName="GeneratorFunction",d(s,i,"GeneratorFunction"),d(p),d(p,i,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(l=function(){return{w:a,m:v}})()}function d(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}d=function(t,e,n,r){function a(e,n){d(t,e,(function(t){return this._invoke(e,n,t)}))}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(a("next",0),a("throw",1),a("return",2))},d(t,e,n,r)}function f(t,e,n,r,i,a,o){try{var c=t[a](o),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,i)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(t){f(a,r,i,o,c,"next",t)}function c(t){f(a,r,i,o,c,"throw",t)}o(void 0)}))}}var v={name:"inspector",components:{Card:a["default"]},data:function(){return{tongji:{}}},mounted:function(){var t=this;return p(l().m((function e(){return l().w((function(e){while(1)switch(e.n){case 0:return e.n=1,t.getTongJi();case 1:return e.n=2,t.getPinTongJiData(document.getElementById("total"),0);case 2:return e.n=3,t.getPinTongJiData(document.getElementById("year"),1);case 3:return e.n=4,t.getPinTongJiData(document.getElementById("month"),3);case 4:return e.n=5,t.getPinTongJiData(document.getElementById("week"),2);case 5:return e.a(2)}}),e)})))()},methods:{getTongJi:function(){var t=this;return p(l().m((function e(){var n;return l().w((function(e){while(1)switch(e.n){case 0:return e.n=1,c();case 1:n=e.v,t.tongji=n.data;case 2:return e.a(2)}}),e)})))()},getPinTongJiData:function(t,e){var n=this;return p(l().m((function r(){var i,a,o;return l().w((function(r){while(1)switch(r.n){case 0:return i=s["init"](t),r.n=1,u(e);case 1:a=r.v,o=a.data,i.setOption(n.getEchartsOptions(o));case 2:return r.a(2)}}),r)})))()},getEchartsOptions:function(t){return{tooltip:{trigger:"item"},legend:{top:"5%",left:"center",textStyle:{color:"rgba(14, 253, 255, 1)"}},series:[{type:"pie",radius:["20%","50%"],avoidLabelOverlap:!1,data:t.map((function(t){return{value:t.num,name:t.clerk}}))}]}}}},h=v,g=(n("277f"),n("2877")),y=Object(g["a"])(h,r,i,!1,null,"3a58fa50",null);e["default"]=y.exports},d0e5:function(t,e,n){"use strict";n("257f")}}]);