1 line
7.4 KiB
JavaScript
1 line
7.4 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c0456784"],{"031e":function(e,t,a){},"0c6d":function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),a.d(t,"b",(function(){return c}));var r=a("2b0e"),s=a("bc3a"),o=a.n(s),i=a("5c96");o.a.defaults.withCredentials=!0,o.a.defaults.crossDomain=!0;var n=o.a.create({baseURL:"http://51.31.219.42:6896",timeout:12e4});n.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),n.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=r["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 c(e,t){return n({url:e,method:"post",data:t})}function l(e,t){return n({url:e,method:"post",data:t})}},"1e22":function(e,t,a){e.exports=a.p+"assets/img/photo.82d0bd21.jpg"},7468:function(e,t,a){"use strict";a.d(t,"d",(function(){return s})),a.d(t,"a",(function(){return n})),a.d(t,"g",(function(){return d})),a.d(t,"h",(function(){return u})),a.d(t,"e",(function(){return o})),a.d(t,"f",(function(){return i})),a.d(t,"b",(function(){return c})),a.d(t,"c",(function(){return l}));var r=a("0c6d"),s=function(e){return Object(r["a"])("/bd/rest/politicalteam/prosecution/1",e)},o=function(e){return Object(r["a"])("/bd/rest/politicalteam/prosecutionInfo/1",e)},i=function(e){return Object(r["a"])("/bd/rest/politicalteam/prosecutionInfomore/1",e)},n=function(e){return Object(r["a"])("/bd/rest/politicalteam/judge/1",e)},c=function(e){return Object(r["a"])("/bd/rest/politicalteam/judgeInfo/1",e)},l=function(e){return Object(r["a"])("/bd/rest/politicalteam/judgeInfoMore/1",e)},d=function(e){return Object(r["a"])("/bd/rest/politicalteam/retiredCadres/1",e)},u=function(e){return Object(r["a"])("/bd/rest/politicalteam/retiredPersion/1",e)}},"930e":function(e,t,a){"use strict";a("031e")},d0d0:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main"},[t("div",{staticClass:"back"},[t("router-link",{attrs:{to:"/politicalAndLaw/inquisitorSearch"}},[t("el-button",{attrs:{size:"small",icon:"el-icon-back",round:""}},[e._v("返回查询列表")])],1)],1),t("div",{staticClass:"t"},[t("ul",{staticClass:"detail_box"},[t("li",{staticClass:"person_detail"},[t("dv-border-box-11",{attrs:{title:"个人信息"}},[t("div",{staticClass:"person"},[t("div",{staticClass:"person_box"},[t("div",{staticClass:"person_img"},[t("div",{staticClass:"p_img"},[t("img",{attrs:{src:a("1e22")}}),t("div",[e._v("照片")])])]),t("ul",{staticClass:"person_list"},[t("li",[t("div",{staticClass:"person_label"},[e._v("姓名:")]),t("div",{staticClass:"person_desc"},[e._v(" "+e._s(e.personageInfo["JUDGE_NAME"])+" ")])]),t("li",[t("div",{staticClass:"person_label"},[e._v("性别:")]),t("div",{staticClass:"person_desc"},[e._v(e._s(e.personageInfo["GENDER"]))])]),t("li",[t("div",{staticClass:"person_label"},[e._v("民族:")]),t("div",{staticClass:"person_desc"},[e._v(e._s(e.personageInfo["NATION"]))])]),t("li",[t("div",{staticClass:"person_label"},[e._v("出生日期:")]),t("div",{staticClass:"person_desc"},[e._v(" "+e._s(e.personageInfo["BIRTHDAY"])+" ")])]),t("li",[t("div",{staticClass:"person_label"},[e._v("身份证号:")]),t("div",{staticClass:"person_desc"},[e._v(" "+e._s(e.personageInfo["ID_CARD"])+" ")])]),t("li",[t("div",{staticClass:"person_label"},[e._v("地址:")]),t("div",{staticClass:"person_desc"},[e._v(e._s(e.personageInfo["ADDR"]))])])])])])])],1),t("li",[t("dv-border-box-11",{staticClass:"tableBox11",attrs:{title:"先进成果"}},[t("el-table",{staticClass:"jcgxq",attrs:{height:e.tableHeight,data:e.result}},[t("el-table-column",{attrs:{prop:"AWARDS_DATE",label:"时间"}}),t("el-table-column",{attrs:{prop:"AWARDS_NAME",label:"奖项"}})],1)],1)],1)])]),t("div",{staticClass:"b"},[t("ul",{staticClass:"detail_b detail_box"},[t("li",[t("dv-border-box-11",{attrs:{title:"近五年办案量"}},[t("Echarts",{key:e.echartObjKey,staticClass:"echarts echarts1",attrs:{echartObj:e.echartObj1}})],1)],1)])])])},s=[],o=(a("313e"),a("bd29")),i=a("7468"),n={data:function(){var e=this;return{echartObjKey:"echartObjKey",param:{idcard:this.$route.query.idcard},personageInfo:{},tableHeight:window.innerHeight-660,result:[],report:[],echartObj1:{tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},grid:{top:"90",left:"30",right:"40",bottom:"20",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"}}}],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,barWidth:"30",data:[],label:{show:!0},itemStyle:{normal:{color:function(t){var a=e.$echarts;return t.dataIndex%2==0?new a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#ede38e"},{offset:1,color:"#d1b329"}]):new a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#8bb8f9"},{offset:1,color:"#1191fc"}])}}}}]},echartObj2:{tooltip:{trigger:"axis"},grid:{top:"90",left:"30",right:"40",bottom:"20",containLabel:!0},xAxis:[{type:"category",boundaryGap:!0,data:[],axisLine:{lineStyle:{color:"#2dd4fc",width:2}},axisLabel:{show:!0,textStyle:{color:"#2dd4fc"}}}],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,barWidth:"30",label:{show:!0},itemStyle:{normal:{color:function(t){var a=e.$echarts;return t.dataIndex%2==0?new a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#ede38e"},{offset:1,color:"#d1b329"}]):new a.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"#8bb8f9"},{offset:1,color:"#1191fc"}])}}},data:[]}]}}},components:{Echarts:o["a"]},created:function(){this.getData()},methods:{getData:function(){var e=this;Object(i["c"])(this.param).then((function(t){e.personageInfo=t.personalInformation[0],e.personageInfo["GENDER"]="男"==e.personageInfo["GENDER"]?"男":"女",e.echartObj1.xAxis[0].data=[],e.echartObj1.series[0].data=[],t.fiveyear.forEach((function(t){e.echartObj1.xAxis[0].data.push(t["YEAR"]),e.echartObj1.series[0].data.push(t["NUM"])})),e.result=t.selectawards,e.echartObjKey=(new Date).getTime()+1}))}}},c=n,l=(a("930e"),a("2877")),d=Object(l["a"])(c,r,s,!1,null,"189413d4",null);t["default"]=d.exports}}]); |