1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-48da5a42"],{"0c6d":function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"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(e){return e}),(function(e){return Promise.reject(e)})),c.interceptors.response.use((function(e){if(e.data.body){if(e.data&&e.data.body&&"0000"===e.data.body.rtnCode)return e.data.body.dataSet;if(!e.data)return e;var t={code:e.data.body.rtnCode,message:e.data.body.rtnMessage};return Promise.reject(t)}return e.data}),(function(e){if(e&&e.response)switch(e.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(e.response.status))}else JSON.stringify(e).includes("timeout")&&i["Message"].error("服务器响应超时,请刷新当前页"),i["Message"].error("连接服务器失败")}));function s(e,t){return c({url:e,method:"post",data:t})}function u(e,t){return c({url:e,method:"post",data:t})}},"2b49":function(e,t,r){},"3bd4":function(e,t,r){"use strict";r("2b49")},"4ec3":function(e,t,r){"use strict";r.d(t,"t",(function(){return c})),r.d(t,"u",(function(){return s})),r.d(t,"a",(function(){return u})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return l})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return b})),r.d(t,"h",(function(){return y})),r.d(t,"K",(function(){return h})),r.d(t,"H",(function(){return p})),r.d(t,"I",(function(){return m})),r.d(t,"J",(function(){return O})),r.d(t,"n",(function(){return g})),r.d(t,"k",(function(){return j})),r.d(t,"m",(function(){return S})),r.d(t,"l",(function(){return v})),r.d(t,"s",(function(){return w})),r.d(t,"o",(function(){return x})),r.d(t,"q",(function(){return C})),r.d(t,"p",(function(){return L})),r.d(t,"r",(function(){return M})),r.d(t,"v",(function(){return k})),r.d(t,"w",(function(){return N})),r.d(t,"x",(function(){return _})),r.d(t,"A",(function(){return D})),r.d(t,"C",(function(){return A})),r.d(t,"B",(function(){return I})),r.d(t,"M",(function(){return E})),r.d(t,"N",(function(){return P})),r.d(t,"y",(function(){return R})),r.d(t,"G",(function(){return Y})),r.d(t,"E",(function(){return G})),r.d(t,"F",(function(){return U})),r.d(t,"z",(function(){return B})),r.d(t,"O",(function(){return J})),r.d(t,"P",(function(){return K})),r.d(t,"i",(function(){return F})),r.d(t,"L",(function(){return i})),r.d(t,"b",(function(){return T})),r.d(t,"D",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"j",(function(){return H}));var n=r("0c6d"),a=function(e){return Object(n["b"])("/bd/rest/ap-system/loginUser",e)},o=function(e){return Object(n["a"])("/bd/ap-system/casLoginOut",e)},i=function(e){return Object(n["a"])("/bd/rest/society/secuIndex/1",e)},c=function(e){return Object(n["a"])("/bd/rest/society/getNumLeftOne/1",e)},s=function(e){return Object(n["a"])("/bd/rest/society/getNumRightTwo/1",e)},u=function(e){return Object(n["a"])("/bd/rest/society/GetNumRightOne/1",e)},d=function(e){return Object(n["a"])("/bd/rest/society/communityPreventableCaseFil/1",e)},l=function(e){return Object(n["a"])("/bd/rest/society/communityPreventableCaseType/1",e)},f=function(e){return Object(n["a"])("/bd/rest/society/communityPreventableCaseTypee/1",e)},b=function(e){return Object(n["a"])("/bd/rest/society/communityPreventablePopulati/1",e)},y=function(e){return Object(n["a"])("/bd/rest/society/communityPreventablePopulatiMap/1",e)},h=function(e){return Object(n["a"])("/bd/rest/society/publicSecurityCaseType/1",e)},p=function(e){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrend/1",e)},m=function(e){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendMap/1",e)},O=function(e){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendcc/1",e)},g=function(e){return Object(n["a"])("/bd/rest/society/criminalCaseMap/1",e)},j=function(e){return Object(n["a"])("/bd/rest/society/criminalCase8Num/1",e)},S=function(e){return Object(n["a"])("/bd/rest/society/criminalCase8Trend/1",e)},v=function(e){return Object(n["a"])("/bd/rest/society/criminalCase8NumTrend/1",e)},w=function(e){return Object(n["a"])("/bd/rest/society/criminalcrownCaseMap/1",e)},x=function(e){return Object(n["a"])("/bd/rest/society/criminalCaseNum/1",e)},C=function(e){return Object(n["a"])("/bd/rest/society/criminalCaseTrend2/1",e)},L=function(e){return Object(n["a"])("/bd/rest/society/criminalCaseTrend/1",e)},M=function(e){return Object(n["a"])("/bd/rest/society/criminalcrownCaseClass/1",e)},k=function(e){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpot/1",e)},N=function(e){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotMap/1",e)},_=function(e){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotTrend/1",e)},D=function(e){return Object(n["a"])("/bd/rest/society/keyOrg/1",e)},A=function(e){return Object(n["a"])("/bd/rest/society/keyOrgByYearMonth/1",e)},I=function(e){return Object(n["a"])("/bd/rest/society/keyOrgByType/1",e)},T=function(e){return Object(n["a"])("/bd/rest/society/baseYearMonthQuarter/1",e)},E=function(e){return Object(n["a"])("/bd/rest/society/sensitiveCase/1",e)},P=function(e){return Object(n["a"])("/bd/rest/society/sensitiveCaseType/1",e)},R=function(e){return Object(n["a"])("/bd/rest/society/infomation/1",e)},Y=function(e){return Object(n["a"])("/bd/rest/society/petition/1",e)},G=function(e){return Object(n["a"])("/bd/rest/society/majorDecisions/1",e)},U=function(e){return Object(n["a"])("/bd/rest/society/majorDecisionsReport/1",e)},B=function(e){return Object(n["a"])("/bd/rest/society/keyAreas/1",e)},J=function(e){return Object(n["a"])("/bd/rest/society/townAndCountry/1",e)},K=function(e){return Object(n["a"])("/bd/rest/society/townAndCountryEatOther/1",e)},F=function(e){return Object(n["a"])("/bd/rest/society/contradiction/1",e)},H=function(e){return Object(n["a"])("http://51.31.219.28:6893/ap-system/outer/log-audit/createOperationLog",e)}},ac41:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o})),r.d(t,"d",(function(){return i})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return s}));var n=r("0c6d"),a=function(e){return Object(n["a"])("/bd/rest/dailyOffice/WorkIndex/1",e)},o=function(e){return Object(n["a"])("/bd/rest/dailyOffice/projectBudget/1",e)},i=function(e){return Object(n["a"])("/bd/rest/dailyOffice/transceiverSituation/1",e)},c=function(e){return Object(n["a"])("/bd/rest/dailyOffice/property/1",e)},s=function(e){return Object(n["a"])("/bd/rest/dailyOffice/vehicleCondition/1",e)}},cfb5:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main"},[t("div",{staticClass:"menuSearch"},[t("el-date-picker",{attrs:{type:"monthrange","value-format":"yyyy-MM","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份","picker-options":e.pickerOptions,"default-value":(new Date).getFullYear()-1+"-"+((new Date).getMonth()+1)},on:{change:e.dateChange},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}}),t("el-button",{attrs:{type:"primary",round:""},on:{click:e.search}},[t("i",{staticClass:"iconfont iconchaxun"}),e._v("查询")])],1),t("div",{staticClass:"top"},[t("div",{staticClass:"left"},[t("div",{staticClass:"t"},[t("ul",{staticClass:"box"},[t("li",[t("p",{staticStyle:{color:"#57c9fc"}},[e._v(" 委内收文 "),t("span",{staticStyle:{color:"#fff"}},[e._v(e._s(e._f("formatNum")(e.sendReceive["INRECEIVING"])))]),e._v("份 ")]),t("p",{staticStyle:{color:"#57c9fc"}},[e._v(" 委内发文 "),t("span",{staticStyle:{color:"#fff"}},[e._v(e._s(e._f("formatNum")(e.sendReceive["INISSUING"])))]),e._v("份 ")]),t("p",{staticStyle:{color:"#57c9fc"}},[e._v(" 委内办结 "),t("span",{staticStyle:{color:"#fff"}},[e._v(e._s(e._f("formatNum")(e.sendReceive["INFINISH"])))]),e._v("份 ")])])])])]),t("ul",{staticClass:"right"},[t("li",[t("h3",{staticClass:"title"},[e._v("发文数量趋势分析")]),t("Echarts",{key:e.echartObjKey,attrs:{echartObj:e.echartObj2}})],1)])]),t("div",{staticClass:"bottom"},[t("h3",{staticClass:"title"},[e._v("发文办结情况分析")]),t("Echarts",{key:e.echartObjKey,attrs:{echartObj:e.echartObj3}})],1)])},a=[],o=r("bd29"),i=r("ac41"),c=r("4ec3"),s={data:function(){return{echartObjKey:"echartObjKey",pickerOptions:{disabledDate:function(e){return e.getTime()>Date.now()-864e4}},param:{startYear:"",endYear:""},date:"",sendReceive:{},tableHeight:window.innerHeight-76-90-100-230-30,tableData:[{name:"办公室",a1:"10",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"政治安全处",a1:"20",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"社会稳定处",a1:"30",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"情报信息处",a1:"50",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"风险评估处",a1:"1",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"综治督导处",a1:"3",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"基层社会治理处",a1:"5",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"反邪教协调处",a1:"9",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"反邪教涉外处",a1:"10",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"法治处",a1:"4",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"执法监督处",a1:"11",a2:"2019/06/10",a3:"文件名",a4:"承办部门"},{name:"宣传教育处",a1:"8",a2:"2019/06/10",a3:"文件名",a4:"承办部门"}],echartObj1:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside"},legend:{top:"10",right:"20",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:"#d8a842"},{offset:1,color:"#1d4791"}])}},itemStyle:{normal:{color:"#f19634",lineStyle:{color:"#f19634"},label:{show:!0,position:"top",textStyle:{color:"white"}}}}}]},echartObj2:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside"},legend:{top:"10",icon:"circle",right:"20",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:"#3aebd5"},{offset:1,color:"#1d4791"}])}},itemStyle:{normal:{color:"#3aebd5",lineStyle:{color:"#3aebd5"},label:{show:!0,position:"top",textStyle:{color:"white"}}}}}]},echartObj3:{color:["#1179ff","#f3a858","#20f292"],tooltip:{trigger:"axis",position:"inside"},legend:{icon:"circle",top:"10",right:"20",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:"bar",animationDuration:2e3,barMaxWidth:"30",data:[],label:{show:!0},showBackground:!0,itemStyle:{normal:{barBorderRadius:[10,10,0,0]}}},{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:"#1d4791"}])}},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 e=this,t={opeLogExceptionInfo:"进入日常办公专题模块查询了收、发文情况数据",opeLogUserAccount:this.$cookies.get("username"),opeLogSystem:"BJCM-DSJ",opeLogStatus:1,opeLogIp:""};Object(c["j"])(t).then((function(e){})),Object(i["d"])(this.param).then((function(t){e.sendReceive=t.selectredoc[0],e.echartObj2.xAxis[0].data=[],e.echartObj2.series[0].data=[],t.selectinout.forEach((function(t){e.echartObj2.xAxis[0].data.push(t["NAME"]),e.echartObj2.series[0].data.push(t["OUTNUM"])})),e.echartObj3.series[1].data=[],t.selectinout.forEach((function(t){e.echartObj3.series[1].data.push(t["INNUM"])})),e.echartObj3.xAxis[0].data=[],e.echartObj3.series[0].data=[],t.selectfinish.forEach((function(t){e.echartObj3.xAxis[0].data.push(t["NAME"]),e.echartObj3.series[0].data.push(t["FINISH"])})),e.echartObjKey=(new Date).getTime()+1})).catch((function(e){}))},dateChange:function(e){e?(this.param.startYear=e[0],this.param.endYear=e[1]):(this.param.startYear="",this.param.endYear="")}}},u=s,d=(r("3bd4"),r("2877")),l=Object(d["a"])(u,n,a,!1,null,"916c917a",null);t["default"]=l.exports}}]); |