1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-778a7212"],{"0c6d":function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return u}));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 u(e,t){return c({url:e,method:"post",data:t})}function s(e,t){return c({url:e,method:"post",data:t})}},"2a74":function(e,t,r){},"4ec3":function(e,t,r){"use strict";r.d(t,"t",(function(){return c})),r.d(t,"u",(function(){return u})),r.d(t,"a",(function(){return s})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return l})),r.d(t,"f",(function(){return b})),r.d(t,"g",(function(){return f})),r.d(t,"h",(function(){return p})),r.d(t,"K",(function(){return m})),r.d(t,"H",(function(){return y})),r.d(t,"I",(function(){return g})),r.d(t,"J",(function(){return h})),r.d(t,"n",(function(){return O})),r.d(t,"k",(function(){return j})),r.d(t,"m",(function(){return C})),r.d(t,"l",(function(){return v})),r.d(t,"s",(function(){return M})),r.d(t,"o",(function(){return k})),r.d(t,"q",(function(){return D})),r.d(t,"p",(function(){return w})),r.d(t,"r",(function(){return P})),r.d(t,"v",(function(){return N})),r.d(t,"w",(function(){return T})),r.d(t,"x",(function(){return S})),r.d(t,"A",(function(){return A})),r.d(t,"C",(function(){return x})),r.d(t,"B",(function(){return E})),r.d(t,"M",(function(){return Y})),r.d(t,"N",(function(){return R})),r.d(t,"y",(function(){return L})),r.d(t,"G",(function(){return F})),r.d(t,"E",(function(){return H})),r.d(t,"F",(function(){return J})),r.d(t,"z",(function(){return U})),r.d(t,"O",(function(){return $})),r.d(t,"P",(function(){return q})),r.d(t,"i",(function(){return z})),r.d(t,"L",(function(){return i})),r.d(t,"b",(function(){return _})),r.d(t,"D",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"j",(function(){return B}));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)},u=function(e){return Object(n["a"])("/bd/rest/society/getNumRightTwo/1",e)},s=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)},b=function(e){return Object(n["a"])("/bd/rest/society/communityPreventableCaseTypee/1",e)},f=function(e){return Object(n["a"])("/bd/rest/society/communityPreventablePopulati/1",e)},p=function(e){return Object(n["a"])("/bd/rest/society/communityPreventablePopulatiMap/1",e)},m=function(e){return Object(n["a"])("/bd/rest/society/publicSecurityCaseType/1",e)},y=function(e){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrend/1",e)},g=function(e){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendMap/1",e)},h=function(e){return Object(n["a"])("/bd/rest/society/publicSecurityCaseTrendcc/1",e)},O=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)},C=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)},M=function(e){return Object(n["a"])("/bd/rest/society/criminalcrownCaseMap/1",e)},k=function(e){return Object(n["a"])("/bd/rest/society/criminalCaseNum/1",e)},D=function(e){return Object(n["a"])("/bd/rest/society/criminalCaseTrend2/1",e)},w=function(e){return Object(n["a"])("/bd/rest/society/criminalCaseTrend/1",e)},P=function(e){return Object(n["a"])("/bd/rest/society/criminalcrownCaseClass/1",e)},N=function(e){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpot/1",e)},T=function(e){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotMap/1",e)},S=function(e){return Object(n["a"])("/bd/rest/society/groupPreventionCureSpotTrend/1",e)},A=function(e){return Object(n["a"])("/bd/rest/society/keyOrg/1",e)},x=function(e){return Object(n["a"])("/bd/rest/society/keyOrgByYearMonth/1",e)},E=function(e){return Object(n["a"])("/bd/rest/society/keyOrgByType/1",e)},_=function(e){return Object(n["a"])("/bd/rest/society/baseYearMonthQuarter/1",e)},Y=function(e){return Object(n["a"])("/bd/rest/society/sensitiveCase/1",e)},R=function(e){return Object(n["a"])("/bd/rest/society/sensitiveCaseType/1",e)},L=function(e){return Object(n["a"])("/bd/rest/society/infomation/1",e)},F=function(e){return Object(n["a"])("/bd/rest/society/petition/1",e)},H=function(e){return Object(n["a"])("/bd/rest/society/majorDecisions/1",e)},J=function(e){return Object(n["a"])("/bd/rest/society/majorDecisionsReport/1",e)},U=function(e){return Object(n["a"])("/bd/rest/society/keyAreas/1",e)},$=function(e){return Object(n["a"])("/bd/rest/society/townAndCountry/1",e)},q=function(e){return Object(n["a"])("/bd/rest/society/townAndCountryEatOther/1",e)},z=function(e){return Object(n["a"])("/bd/rest/society/contradiction/1",e)},B=function(e){return Object(n["a"])("http://51.31.219.28:6893/ap-system/outer/log-audit/createOperationLog",e)}},"5f52":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:"search"},[t("div",[t("label",[e._v("事发时间:")]),t("el-date-picker",{attrs:{type:"monthrange","range-separator":"至","start-placeholder":"开始月份","end-placeholder":"结束月份","value-format":"yyyy-MM","picker-options":e.pickerOptions,"default-value":(new Date).getFullYear()-1+"-"+((new Date).getMonth()+1)},on:{change:e.dateChange},model:{value:e.time,callback:function(t){e.time=t},expression:"time"}})],1),t("div",[t("label",[e._v("事件名称:")]),t("el-input",{attrs:{placeholder:"请输入事件名称"},model:{value:e.param.name,callback:function(t){e.$set(e.param,"name",t)},expression:"param.name"}})],1),t("div",[t("label",[e._v("区域:")]),t("el-select",{attrs:{clearable:"",placeholder:"请选择"},model:{value:e.param.type,callback:function(t){e.$set(e.param,"type",t)},expression:"param.type"}},e._l(e.options,(function(e,r){return t("el-option",{key:r,attrs:{label:e,value:e}})})),1)],1),t("el-button",{attrs:{type:"primary",round:""},on:{click:e.search}},[t("i",{staticClass:"iconfont iconchaxun"}),e._v("查询")]),t("el-button",{attrs:{type:"primary",round:""},on:{click:function(t){return e.$router.push({path:"sensitiveCases"})}}},[t("i",{staticClass:"el-icon-back"}),e._v("返回")])],1),t("dv-border-box-7",{staticStyle:{padding:"20px 15px"},attrs:{color:["#15369F","#fff"]}},[t("el-table",{directives:[{name:"loadmore",rawName:"v-loadmore",value:e.getNewData,expression:"getNewData"},{name:"loading",rawName:"v-loading",value:e.loadingData,expression:"loadingData"}],staticClass:"lh40 mgasj",attrs:{"max-height":e.tableHeight,border:"",data:e.tableData}},[t("el-table-column",{attrs:{width:"60",type:"index",label:"序号"}}),t("el-table-column",{attrs:{width:"100",prop:"CASE_DATE",label:"事发日期"}}),t("el-table-column",{attrs:{prop:"CASE_NAME",label:"事件名称"}}),t("el-table-column",{attrs:{prop:"AERACODE",label:"区域"}}),t("el-table-column",{attrs:{prop:"CASE_ADDR",label:"事发地点"}}),t("el-table-column",{attrs:{prop:"CASE_SUMMARY",label:"事发概述"}}),t("el-table-column",{attrs:{prop:"CASE_MANAGEMENT",label:"处置工作情况"}})],1)],1)],1)},a=[],o=r("4ec3"),i={data:function(){return{pickerOptions:{disabledDate:function(e){return e.getTime()>Date.now()-864e4}},param:{startYear:"",endYear:"",type:"",name:"",pageParameter:{pageNum:1,pageSize:20}},totalPage:0,tableHeight:window.innerHeight-350,time:"",options:[],tableData:[],loadingData:!1}},created:function(){this.param={startYear:"",endYear:"",type:"",name:"",pageParameter:{pageNum:1,pageSize:20}},this.getTableData()},methods:{handleDownload:function(e){},getNewData:function(){!0===this.flag&&(this.flag=!1,this.param.pageParameter.pageNum<this.totalPage&&(this.param.pageParameter.pageNum++,this.getTableData()))},getTableData:function(){var e=this;this.loadingData=!0,Object(o["M"])(this.param).then((function(t){e.flag=!0,1==e.param.pageParameter.pageNum?e.tableData=t.selectseninfo.result:e.tableData=e.tableData.concat(t.selectseninfo.result),e.totalPage=t.selectseninfo.totalPage,e.options=t.listq})).catch((function(e){})).finally((function(t){e.loadingData=!1}))},search:function(){this.param.pageParameter.pageNum=1,this.getTableData()},dateChange:function(e){e?(this.param.startYear=e[0],this.param.endYear=e[1]):(this.param.startYear="",this.param.endYear="")}}},c=i,u=(r("bb6f"),r("2877")),s=Object(u["a"])(c,n,a,!1,null,"a96b27ba",null);t["default"]=s.exports},bb6f:function(e,t,r){"use strict";r("2a74")}}]); |