1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-78e91b5e"],{"0c6d":function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return s}));var n=r("2b0e"),a=r("bc3a"),o=r.n(a),i=r("5c96");o.a.defaults.withCredentials=!0,o.a.defaults.crossDomain=!0;var c=o.a.create({baseURL:"http://51.31.219.42:6896",timeout:12e4});c.interceptors.request.use((function(t){return t}),(function(t){return Promise.reject(t)})),c.interceptors.response.use((function(t){if(t.data.body){if(t.data&&t.data.body&&"0000"===t.data.body.rtnCode)return t.data.body.dataSet;if(!t.data)return t;var e={code:t.data.body.rtnCode,message:t.data.body.rtnMessage};return Promise.reject(e)}return t.data}),(function(t){if(t&&t.response)switch(t.response.status){case 400:i["Message"].error("错误请求");break;case 401:window.location.href=n["default"].prototype.$loginURL;break;case 403:i["Message"].error("拒绝访问");break;case 404:i["Message"].error("请求错误,未找到该资源");break;case 405:i["Message"].error("请求方法未允许");break;case 408:i["Message"].error("请求超时");break;case 500:i["Message"].error("服务器端出错");break;case 501:i["Message"].error("网络未实现");break;case 502:i["Message"].error("网络错误");break;case 503:i["Message"].error("服务不可用");break;case 504:i["Message"].error("网络超时");break;case 505:i["Message"].error("http版本不支持该请求");break;default:i["Message"].error("连接错误".concat(t.response.status))}else JSON.stringify(t).includes("timeout")&&i["Message"].error("服务器响应超时,请刷新当前页"),i["Message"].error("连接服务器失败")}));function s(t,e){return c({url:t,method:"post",data:e})}function u(t,e){return c({url:t,method:"post",data:e})}},"4ec3":function(t,e,r){"use strict";r.d(e,"t",(function(){return c})),r.d(e,"u",(function(){return s})),r.d(e,"a",(function(){return u})),r.d(e,"d",(function(){return d})),r.d(e,"e",(function(){return l})),r.d(e,"f",(function(){return f})),r.d(e,"g",(function(){return b})),r.d(e,"h",(function(){return y})),r.d(e,"K",(function(){return p})),r.d(e,"H",(function(){return h})),r.d(e,"I",(function(){return m})),r.d(e,"J",(function(){return O})),r.d(e,"n",(function(){return j})),r.d(e,"k",(function(){return v})),r.d(e,"m",(function(){return g})),r.d(e,"l",(function(){return w})),r.d(e,"s",(function(){return x})),r.d(e,"o",(function(){return C})),r.d(e,"q",(function(){return S})),r.d(e,"p",(function(){return _})),r.d(e,"r",(function(){return k})),r.d(e,"v",(function(){return L})),r.d(e,"w",(function(){return M})),r.d(e,"x",(function(){return A})),r.d(e,"A",(function(){return N})),r.d(e,"C",(function(){return T})),r.d(e,"B",(function(){return D})),r.d(e,"M",(function(){return I})),r.d(e,"N",(function(){return P})),r.d(e,"y",(function(){return R})),r.d(e,"G",(function(){return Y})),r.d(e,"E",(function(){return G})),r.d(e,"F",(function(){return U})),r.d(e,"z",(function(){return B})),r.d(e,"O",(function(){return K})),r.d(e,"P",(function(){return F})),r.d(e,"i",(function(){return J})),r.d(e,"L",(function(){return i})),r.d(e,"b",(function(){return E})),r.d(e,"D",(function(){return a})),r.d(e,"c",(function(){return o})),r.d(e,"j",(function(){return $}));var n=r("0c6d"),a=function(t){return Object(n["b"])("/bd/rest/ap-system/loginUser",t)},o=function(t){return Object(n["a"])("/bd/ap-system/casLoginOut",t)},i=function(t){return Object(n["a"])("/bd/rest/society/secuIndex/1",t)},c=function(t){return Object(n["a"])("/bd/rest/society/getNumLeftOne/1",t)},s=function(t){return Object(n["a"])("/bd/rest/society/getNumRightTwo/1",t)},u=function(t){return Object(n["a"])("/bd/rest/society/GetNumRightOne/1",t)},d=function(t){return Object(n["a"])("/bd/rest/society/communityPreventableCaseFil/1",t)},l=function(t){return Object(n["a"])("/bd/rest/society/communityPreventableCaseType/1",t)},f=function(t){return Object(n["a"])("/bd/rest/society/communityPreventableCaseTypee/1",t)},b=function(t){return Object(n["a"])("/bd/rest/society/communityPreventablePopulati/1",t)},y=function(t){return Object(n["a"])("/bd/rest/society/communityPreventablePopulatiMap/1",t)},p=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseType/1",t)},h=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrend/1",t)},m=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendMap/1",t)},O=function(t){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendcc/1",t)},j=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseMap/1",t)},v=function(t){return Object(n["a"])("/bd/rest/society/criminalCase8Num/1",t)},g=function(t){return Object(n["a"])("/bd/rest/society/criminalCase8Trend/1",t)},w=function(t){return Object(n["a"])("/bd/rest/society/criminalCase8NumTrend/1",t)},x=function(t){return Object(n["a"])("/bd/rest/society/criminalcrownCaseMap/1",t)},C=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseNum/1",t)},S=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseTrend2/1",t)},_=function(t){return Object(n["a"])("/bd/rest/society/criminalCaseTrend/1",t)},k=function(t){return Object(n["a"])("/bd/rest/society/criminalcrownCaseClass/1",t)},L=function(t){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpot/1",t)},M=function(t){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotMap/1",t)},A=function(t){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotTrend/1",t)},N=function(t){return Object(n["a"])("/bd/rest/society/keyOrg/1",t)},T=function(t){return Object(n["a"])("/bd/rest/society/keyOrgByYearMonth/1",t)},D=function(t){return Object(n["a"])("/bd/rest/society/keyOrgByType/1",t)},E=function(t){return Object(n["a"])("/bd/rest/society/baseYearMonthQuarter/1",t)},I=function(t){return Object(n["a"])("/bd/rest/society/sensitiveCase/1",t)},P=function(t){return Object(n["a"])("/bd/rest/society/sensitiveCaseType/1",t)},R=function(t){return Object(n["a"])("/bd/rest/society/infomation/1",t)},Y=function(t){return Object(n["a"])("/bd/rest/society/petition/1",t)},G=function(t){return Object(n["a"])("/bd/rest/society/majorDecisions/1",t)},U=function(t){return Object(n["a"])("/bd/rest/society/majorDecisionsReport/1",t)},B=function(t){return Object(n["a"])("/bd/rest/society/keyAreas/1",t)},K=function(t){return Object(n["a"])("/bd/rest/society/townAndCountry/1",t)},F=function(t){return Object(n["a"])("/bd/rest/society/townAndCountryEatOther/1",t)},J=function(t){return Object(n["a"])("/bd/rest/society/contradiction/1",t)},$=function(t){return Object(n["a"])("http://51.31.219.28:6893/ap-system/outer/log-audit/createOperationLog",t)}},a147:function(t,e,r){},ac41:function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return o})),r.d(e,"d",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"e",(function(){return s}));var n=r("0c6d"),a=function(t){return Object(n["a"])("/bd/rest/dailyOffice/WorkIndex/1",t)},o=function(t){return Object(n["a"])("/bd/rest/dailyOffice/projectBudget/1",t)},i=function(t){return Object(n["a"])("/bd/rest/dailyOffice/transceiverSituation/1",t)},c=function(t){return Object(n["a"])("/bd/rest/dailyOffice/property/1",t)},s=function(t){return Object(n["a"])("/bd/rest/dailyOffice/vehicleCondition/1",t)}},b69b:function(t,e,r){"use strict";r("a147")},c602:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main"},[e("div",{staticClass:"menuSearch"},[e("el-date-picker",{attrs:{type:"monthrange","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份","value-format":"yyyy-MM","picker-options":t.pickerOptions,"default-value":(new Date).getFullYear()-1+"-"+((new Date).getMonth()+1)},on:{change:t.dateChange},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}}),e("el-button",{attrs:{type:"primary",round:""},on:{click:t.search}},[e("i",{staticClass:"iconfont iconchaxun"}),t._v("查询")])],1),e("div",{staticClass:"middle"},[e("h2",[t._v("日常办公情况统计")]),t.worknum?e("div",{staticClass:"box"},[e("div"),e("div",{staticClass:"content"},[e("p",[e("span",[t._v(t._s(t._f("formatNum")(t.worknum["CAR"])))]),t._v("辆 ")]),e("p",[t._v("公车")])]),e("div"),t._m(0),e("div",{staticClass:"content"}),e("div"),e("div"),e("div",{staticClass:"content"},[e("p",[e("span",[t._v(t._s(t._f("formatNum")(t.worknum["PERIODICAL"])))]),t._v("件 ")]),e("p",[t._v("期刊数量")])]),e("div",{staticClass:"content"},[e("p",[e("span",[t._v(t._s(t._f("formatNum")(t.worknum["CONTRACT"])))]),t._v("份 ")]),e("p",[t._v("合同")])]),e("div"),e("div",{staticClass:"content"},[e("p",[e("span",[t._v(t._s(t._f("formatNum")(t.worknum["BUDGET"])))]),t._v("元 ")]),e("p",[t._v("预算金额")])]),e("div"),e("div"),e("div",{staticClass:"content"},[e("p",[e("span",[t._v(t._s(t._f("formatNum")(t.worknum["RECEIVING"])))]),t._v("份 ")]),e("p",[t._v("收文")])]),e("div"),e("div",{staticClass:"content"},[e("p",[e("span",[t._v(t._s(t._f("formatNum")(t.worknum["ASSETS"])))]),t._v("件 ")]),e("p",[t._v("资产数量")])]),e("div",{staticClass:"content"},[e("p",[e("span",[t._v(t._s(t._f("formatNum")(t.worknum["ISSUING"])))]),t._v("份 ")]),e("p",[t._v("发文")])]),e("div")]):t._e()]),e("div",{staticClass:"right"},[e("ul",[e("li",[e("p",{staticClass:"echart_title"},[t._v("收/发文数量分析")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartObj1}})],1)],1),e("li",[e("p",{staticClass:"echart_title"},[t._v("办公用品申请数量")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartObj4}})],1)],1),e("li",[e("p",{staticClass:"echart_title"},[t._v("公车使用情况")]),e("dv-border-box-7",{attrs:{color:["#15369F","#fff"]}},[e("Echarts",{key:t.echartObjKey,attrs:{echartObj:t.echartObj5}})],1)],1)])])])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"content"},[e("p"),e("p")])}],o=r("bd29"),i=r("ac41"),c=r("4ec3"),s={data:function(){return{echartObjKey:"echartObjKey",pickerOptions:{disabledDate:function(t){return t.getTime()>Date.now()-864e4}},param:{startYear:"",endYear:""},date:"",worknum:{},echartObj1:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside"},legend:{top:"10",right:"20",icon:"circle",textStyle:{color:"#fff"}},grid:{top:"60",left:"20",right:"40",bottom:"10",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},interval:0}}],yAxis:[{name:"单位(份)",type:"value",axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"}},splitLine:{show:!0,lineStyle:{color:"#355184",width:1}}}],series:[{name:"发文数量",type:"line",animationDuration:2e3,smooth:!0,symbol:"circle",data:[],label:{show:!0},areaStyle:{normal:{color:new this.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#47f2c5"},{offset:1,color:"#22314d"}])}},itemStyle:{normal:{color:"#8cd5c2",lineStyle:{color:"#8cd5c2"}}}},{name:"收文数量",type:"line",animationDuration:2e3,smooth:!0,symbol:"circle",data:[],label:{show:!0},areaStyle:{normal:{color:new this.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#d8a842"},{offset:1,color:"#22314d"}])}},itemStyle:{normal:{color:"#f19634",lineStyle:{color:"#f19634"},label:{show:!0,position:"top"}}}}]},echartObj4:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside"},legend:{icon:"circle",top:"10",right:"20",textStyle:{color:"#fff"}},grid:{top:"40",left:"20",right:"40",bottom:"10",containLabel:!0},xAxis:[{type:"value",axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"}},splitLine:{show:!0,lineStyle:{color:"#355184",width:1}}}],yAxis:[{name:"办公用品(个/件)",type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},interval:0}}],series:[{name:"办公用品申请数量",type:"bar",animationDuration:2e3,barMaxWidth:"30",showBackground:!0,data:[],label:{show:!0},itemStyle:{normal:{barBorderRadius:[0,10,10,0]}}}]},echartObj5:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside"},legend:{top:"10",icon:"circle",textStyle:{color:"#fff"}},grid:{top:"60",left:"20",right:"40",bottom:"10",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"},interval:0}}],yAxis:[{name:"单位(辆)",type:"value",axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"}}},{name:"使用率",type:"value",axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"}},splitLine:{show:!0,lineStyle:{color:"#355184",width:1}}}],series:[{name:"使用量",type:"bar",animationDuration:2e3,smooth:!0,data:[],label:{show:!0},barWidth:20,itemStyle:{normal:{color:"#2dd4fc",lineStyle:{color:"#2dd4fc"},label:{show:!0,position:"top"}}}},{name:"使用率",type:"line",animationDuration:2e3,smooth:!0,symbol:"circle",yAxisIndex:1,data:[],label:{show:!0},itemStyle:{normal:{color:"#f19634",lineStyle:{color:"#f19634"},label:{show:!0,position:"top"}}}}]}}},created:function(){this.param={startYear:"",endYear:""},this.getData()},components:{Echarts:o["a"]},methods:{search:function(){this.getData()},getData:function(){var t=this,e={opeLogExceptionInfo:"进入日常办公专题模块查询了日常办公首页数据",opeLogUserAccount:this.$cookies.get("username"),opeLogSystem:"BJCM-DSJ",opeLogStatus:1,opeLogIp:""};Object(c["j"])(e).then((function(t){})),Object(i["a"])(this.param).then((function(e){t.worknum=e.selectworknum[0],t.echartObj4.yAxis[0].data=[],t.echartObj4.series[0].data=[],e.selectofficeworknum.forEach((function(e){t.echartObj4.yAxis[0].data.push(e["NAME"]),t.echartObj4.series[0].data.push(e["NUM"])})),t.echartObj5.xAxis[0].data=[],t.echartObj5.series[0].data=[],t.echartObj5.series[1].data=[],e.selectcarnum.forEach((function(e){t.echartObj5.xAxis[0].data.push(e["YEAR_MONTH"]),t.echartObj5.series[0].data.push(e["CAR"]),t.echartObj5.series[1].data.push(e["RATIO"])})),t.echartObj1.xAxis[0].data=[],t.echartObj1.series[0].data=[],t.echartObj1.series[1].data=[],e.selectinout.forEach((function(e){t.echartObj1.xAxis[0].data.push(e["NAME"]),t.echartObj1.series[0].data.push(e["OUTNUM"]),t.echartObj1.series[1].data.push(e["INNUM"])})),t.echartObjKey=(new Date).getTime()+1})).catch((function(t){}))},dateChange:function(t){t?(this.param.startYear=t[0],this.param.endYear=t[1]):(this.param.startYear="",this.param.endYear="")}}},u=s,d=(r("b69b"),r("2877")),l=Object(d["a"])(u,n,a,!1,null,"46737762",null);e["default"]=l.exports}}]); |