1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c469d48"],{"0096":function(t,e,a){"use strict";a.r(e);for(var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0 0 32px 32px"}},[e("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),e("v-chart",{attrs:{height:"254",data:t.datasource,forceFit:!0,padding:["auto","auto","40","50"]}},[e("v-tooltip"),e("v-axis"),e("v-bar",{attrs:{position:"x*y"}})],1)],1)},i=[],n=[],o=0;o<12;o+=1)n.push({x:"".concat(o+1,"月"),y:Math.floor(1e3*Math.random())+200});var c=["x*y",function(t,e){return{name:t,value:e}}],l=[{dataKey:"x",min:2},{dataKey:"y",title:"时间",min:1,max:22}],s={name:"Bar",props:{title:{type:String,default:""}},mounted:function(){this.datasource=n},data:function(){return{datasource:[],scale:l,tooltip:c}}},d=s,u=a("2877"),p=Object(u["a"])(d,r,i,!1,null,null,null);e["default"]=p.exports},"05ed":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{loading:t.loading,"body-style":{padding:"20px 24px 8px"},bordered:!1}},[e("div",{staticClass:"chart-card-header"},[e("div",{staticClass:"meta"},[e("span",{staticClass:"chart-card-title"},[t._v(t._s(t.title))]),e("span",{staticClass:"chart-card-action"},[t._t("action")],2)]),e("div",{staticClass:"total"},[e("span",[t._v(t._s(t.total))])])]),e("div",{staticClass:"chart-card-content"},[e("div",{staticClass:"content-fix"},[t._t("default")],2)]),e("div",{staticClass:"chart-card-footer"},[e("div",{staticClass:"field"},[t._t("footer")],2)])])},i=[],n={name:"ChartCard",props:{title:{type:String,default:""},total:{type:String,default:""},loading:{type:Boolean,default:!1}}},o=n,c=(a("d3bc"),a("2877")),l=Object(c["a"])(o,r,i,!1,null,"bc1c776e",null);e["default"]=l.exports},"1d43":function(t,e,a){"use strict";a.r(e);for(var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"antv-chart-mini"},[e("div",{staticClass:"chart-wrapper",style:{height:46}},[e("v-chart",{attrs:{"force-fit":!0,height:t.height,data:t.data,scale:t.scale,padding:[36,0,18,0]}},[e("v-tooltip"),e("v-smooth-area",{attrs:{position:"x*y"}})],1)],1)])},i=[],n=a("5a0c"),o=a.n(n),c=[],l=(new Date).getTime(),s=0;s<10;s++)c.push({x:o()(new Date(l+864e5*s)).format("YYYY-MM-DD"),y:Math.round(10*Math.random())});var d={name:"MiniArea",props:{dataSource:{type:Array,default:function(){return[]}},x:{type:String,default:"x"},y:{type:String,default:"y"}},data:function(){return{data:[],height:100}},computed:{scale:function(){return[{dataKey:"x",title:this.x,alias:this.x},{dataKey:"y",title:this.y,alias:this.y}]}},created:function(){0===this.dataSource.length?this.data=c:this.data=this.dataSource}},u=d,p=(a("db929"),a("2877")),f=Object(p["a"])(u,r,i,!1,null,"1efcadbe",null);e["default"]=f.exports},"1dd1":function(t,e,a){"use strict";a("4862")},"2e41":function(t,e,a){},3559:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-header-index-wide"},[e("a-row",{attrs:{gutter:24}},[e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"受理量",total:t._f("NumberFormat")(t.cardCount.sll)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("mini-area",{attrs:{datasource:t.chartData.sll}})],1),e("template",{slot:"footer"},[t._v("今日受理量:"),e("span",[t._v(t._s(t.todaySll))])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"办结量",total:t._f("NumberFormat")(t.cardCount.bjl)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("mini-area",{attrs:{datasource:t.chartData.bjl}})],1),e("template",{slot:"footer"},[t._v("今日办结量:"),e("span",[t._v(t._s(t.todayBjl))])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"用户受理量",total:t._f("NumberFormat")(t.cardCount.isll)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("mini-bar",{attrs:{datasource:t.chartData.isll,height:50}})],1),e("template",{slot:"footer"},[t._v("用户今日受理量:"),e("span",[t._v(t._s(t.todayISll))])])],2)],1),e("a-col",{style:{marginBottom:"24px"},attrs:{sm:24,md:12,xl:6}},[e("chart-card",{attrs:{loading:t.loading,title:"用户办结量",total:t._f("NumberFormat")(t.cardCount.ibjl)}},[e("a-tooltip",{attrs:{slot:"action",title:"指标说明"},slot:"action"},[e("a-icon",{attrs:{type:"info-circle-o"}})],1),e("div",[e("mini-bar",{attrs:{datasource:t.chartData.ibjl,height:50}})],1),e("template",{slot:"footer"},[t._v("用户今日办结量:"),e("span",[t._v(t._s(t.todayIBjl))])])],2)],1)],1),e("a-card",{attrs:{loading:t.loading,bordered:!1,"body-style":{padding:"0"}}},[e("div",{staticClass:"salesCard"},[e("a-tabs",{attrs:{"default-active-key":"1",size:"large","tab-bar-style":{marginBottom:"24px",paddingLeft:"16px"}}},[e("div",{staticClass:"extra-wrapper",attrs:{slot:"tabBarExtraContent"},slot:"tabBarExtraContent"},[e("div",{staticClass:"extra-item"},[e("a",[t._v("今日")]),e("a",[t._v("本周")]),e("a",[t._v("本月")]),e("a",[t._v("本年")])]),e("a-range-picker",{style:{width:"256px"}})],1),e("a-tab-pane",{key:"1",attrs:{loading:"true",tab:"受理监管"}},[e("a-row",[e("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[e("index-bar",{attrs:{title:"受理量统计"}})],1),e("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[e("a-card",{staticStyle:{"margin-bottom":"24px"},attrs:{title:"快速开始 / 便捷导航",bordered:!1,"body-style":{padding:0}}},[e("div",{staticClass:"item-group"},[e("a-row",t._l(t.registerTypeList,(function(a,r){return e("a-col",{key:"registerType"+r,class:"more-btn",attrs:{span:12}},[e("a-button",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"small",type:"primary",ghost:""},on:{click:function(e){return t.goPage(r)}}},[t._v(t._s(a.text))])],1)})),1)],1)])],1)],1)],1),e("a-tab-pane",{key:"2",attrs:{tab:"交互监管"}},[e("a-row",[e("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[e("bar-multid",{attrs:{sourceData:t.jhjgData,fields:t.jhjgFields,title:"平台与部门交互量统计"}})],1),e("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[e("a-card",{staticStyle:{"margin-bottom":"24px"},attrs:{title:"快速开始 / 便捷导航",bordered:!1,"body-style":{padding:0}}},[e("div",{staticClass:"item-group"},[e("a-row",t._l(t.registerTypeList,(function(a,r){return e("a-col",{key:"registerType"+r,class:"more-btn",attrs:{span:12}},[e("a-button",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"small",type:"primary",ghost:""},on:{click:function(e){return t.goPage(r)}}},[t._v(t._s(a.text))])],1)})),1)],1)])],1)],1)],1),e("a-tab-pane",{key:"4",attrs:{tab:"存储监管"}},[e("a-row",[e("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[e("a-row",[t.diskInfo&&t.diskInfo.length>0?t._l(t.diskInfo,(function(t,a){return e("a-col",{key:"diskInfo"+a,attrs:{span:12}},[e("dash-chart-demo",{attrs:{title:t.name,datasource:t.restPPT}})],1)})):t._e()],2)],1),e("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[e("a-card",{staticStyle:{"margin-bottom":"24px"},attrs:{title:"快速开始 / 便捷导航",bordered:!1,"body-style":{padding:0}}},[e("div",{staticClass:"item-group"},[e("a-row",t._l(t.registerTypeList,(function(a,r){return e("a-col",{key:"registerType"+r,class:"more-btn",attrs:{span:10}},[e("a-button",{staticStyle:{"margin-bottom":"10px"},attrs:{size:"small",type:"primary",ghost:""},on:{click:function(e){return t.goPage(r)}}},[t._v(t._s(a.text))])],1)})),1)],1)])],1)],1)],1)],1)],1)]),e("a-row",{attrs:{gutter:12}},[e("a-card",{class:{"anty-list-cust":!0},style:{marginTop:"24px"},attrs:{loading:t.loading,bordered:!1}},[e("a-tabs",{attrs:{size:"large","tab-bar-style":{marginBottom:"24px",paddingLeft:"16px"}},model:{value:t.indexBottomTab,callback:function(e){t.indexBottomTab=e},expression:"indexBottomTab"}},[e("div",{staticClass:"extra-wrapper",attrs:{slot:"tabBarExtraContent"},slot:"tabBarExtraContent"},[e("a-radio-group",{on:{change:t.changeRegisterType},model:{value:t.indexRegisterType,callback:function(e){t.indexRegisterType=e},expression:"indexRegisterType"}},[e("a-radio-button",{attrs:{value:"转移登记"}},[t._v("转移登记")]),e("a-radio-button",{attrs:{value:"抵押登记"}},[t._v("抵押登记")]),e("a-radio-button",{attrs:{value:""}},[t._v("所有")])],1)],1),e("a-tab-pane",{key:"1",attrs:{loading:"true",tab:"业务流程限时监管"}},[e("a-table",{attrs:{dataSource:t.dataSource1,size:"default",rowKey:"id",columns:t.columns,pagination:t.ipagination1},on:{change:t.tableChange1},scopedSlots:t._u([{key:"flowRate",fn:function(a,r,i){return[e("a-progress",{staticStyle:{width:"80px"},attrs:{strokeColor:t.getPercentColor(r.flowRate),format:t.getPercentFormat,percent:t.getFlowRateNumber(r.flowRate)}})]}}])})],1),e("a-tab-pane",{key:"2",attrs:{loading:"true",tab:"业务节点限时监管"}},[e("a-table",{attrs:{dataSource:t.dataSource2,size:"default",rowKey:"id",columns:t.columns2,pagination:t.ipagination2},on:{change:t.tableChange2},scopedSlots:t._u([{key:"flowRate",fn:function(a,r,i){return[e("span",{staticStyle:{color:"red"}},[t._v(t._s(r.flowRate)+"小时")])]}}])})],1)],1)],1)],1)],1)},i=[],n=a("da05"),o=a("3896"),c=a("05ed"),l=a("942d"),s=a("1d43"),d=a("0096"),u=a("8191"),p=a("972f"),f=[{type:"房管","1月":900,"2月":1120,"3月":1380,"4月":1480,"5月":1450,"6月":1100,"7月":1300,"8月":900,"9月":1e3,"10月":1200,"11月":600,"12月":900},{type:"税务","1月":1200,"2月":1500,"3月":1980,"4月":2e3,"5月":1e3,"6月":600,"7月":900,"8月":1100,"9月":1300,"10月":2e3,"11月":900,"12月":1100},{type:"不动产","1月":2e3,"2月":1430,"3月":1300,"4月":1400,"5月":900,"6月":500,"7月":600,"8月":1e3,"9月":600,"10月":1e3,"11月":1500,"12月":1200}],y=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],h=[{type:"一月","房管":1.12,"税务":1.55,"不动产":1.2},{type:"二月","房管":1.65,"税务":1.32,"不动产":1.42},{type:"三月","房管":1.85,"税务":1.1,"不动产":1.5},{type:"四月","房管":1.33,"税务":1.63,"不动产":1.4},{type:"五月","房管":1.63,"税务":1.8,"不动产":1.7},{type:"六月","房管":1.85,"税务":1.98,"不动产":1.8},{type:"七月","房管":1.98,"税务":1.5,"不动产":1.76},{type:"八月","房管":1.48,"税务":1.2,"不动产":1.3},{type:"九月","房管":1.41,"税务":1.9,"不动产":1.6},{type:"十月","房管":1.1,"税务":1.1,"不动产":1.4},{type:"十一月","房管":1.85,"税务":1.6,"不动产":1.5},{type:"十二月","房管":1.5,"税务":1.4,"不动产":1.3}],g=["房管","税务","不动产"],m=[{title:"业务号",align:"center",dataIndex:"reBizCode"},{title:"业务类型",align:"center",dataIndex:"type"},{title:"受理人",align:"center",dataIndex:"acceptBy"},{title:"受理时间",align:"center",dataIndex:"acceptDate"},{title:"当前节点",align:"center",dataIndex:"curNode"},{title:"办理时长",align:"center",dataIndex:"flowRate",scopedSlots:{customRender:"flowRate"}}],x=[{reBizCode:"1",type:"转移登记",acceptBy:"张三",acceptDate:"2019-01-22",curNode:"任务分派",flowRate:60},{reBizCode:"2",type:"抵押登记",acceptBy:"李四",acceptDate:"2019-01-23",curNode:"领导审核",flowRate:30},{reBizCode:"3",type:"转移登记",acceptBy:"王武",acceptDate:"2019-01-25",curNode:"任务处理",flowRate:20},{reBizCode:"4",type:"转移登记",acceptBy:"赵楼",acceptDate:"2019-11-22",curNode:"部门审核",flowRate:80},{reBizCode:"5",type:"转移登记",acceptBy:"钱就",acceptDate:"2019-12-12",curNode:"任务分派",flowRate:90},{reBizCode:"6",type:"转移登记",acceptBy:"孙吧",acceptDate:"2019-03-06",curNode:"任务处理",flowRate:10},{reBizCode:"7",type:"抵押登记",acceptBy:"周大",acceptDate:"2019-04-13",curNode:"任务分派",flowRate:100},{reBizCode:"8",type:"抵押登记",acceptBy:"吴二",acceptDate:"2019-05-09",curNode:"任务上报",flowRate:50},{reBizCode:"9",type:"抵押登记",acceptBy:"郑爽",acceptDate:"2019-07-12",curNode:"任务处理",flowRate:63},{reBizCode:"20",type:"抵押登记",acceptBy:"林有",acceptDate:"2019-12-12",curNode:"任务打回",flowRate:59},{reBizCode:"11",type:"转移登记",acceptBy:"码云",acceptDate:"2019-09-10",curNode:"任务签收",flowRate:87}],v=[{title:"业务号",align:"center",dataIndex:"reBizCode"},{title:"受理人",align:"center",dataIndex:"acceptBy"},{title:"发起时间",align:"center",dataIndex:"acceptDate"},{title:"当前节点",align:"center",dataIndex:"curNode"},{title:"超时时间",align:"center",dataIndex:"flowRate",scopedSlots:{customRender:"flowRate"}}],b=[{reBizCode:"A001",type:"转移登记",acceptBy:"张四",acceptDate:"2019-01-22",curNode:"任务分派",flowRate:12},{reBizCode:"A002",type:"抵押登记",acceptBy:"李吧",acceptDate:"2019-01-23",curNode:"任务签收",flowRate:3},{reBizCode:"A003",type:"转移登记",acceptBy:"王三",acceptDate:"2019-01-25",curNode:"任务处理",flowRate:24},{reBizCode:"A004",type:"转移登记",acceptBy:"赵二",acceptDate:"2019-11-22",curNode:"部门审核",flowRate:10},{reBizCode:"A005",type:"转移登记",acceptBy:"钱大",acceptDate:"2019-12-12",curNode:"任务签收",flowRate:8},{reBizCode:"A006",type:"转移登记",acceptBy:"孙就",acceptDate:"2019-03-06",curNode:"任务处理",flowRate:10},{reBizCode:"A007",type:"抵押登记",acceptBy:"周晕",acceptDate:"2019-04-13",curNode:"部门审核",flowRate:24},{reBizCode:"A008",type:"抵押登记",acceptBy:"吴有",acceptDate:"2019-05-09",curNode:"部门审核",flowRate:30},{reBizCode:"A009",type:"抵押登记",acceptBy:"郑武",acceptDate:"2019-07-12",curNode:"任务分派",flowRate:1},{reBizCode:"A0010",type:"抵押登记",acceptBy:"林爽",acceptDate:"2019-12-12",curNode:"部门审核",flowRate:16},{reBizCode:"A0011",type:"转移登记",acceptBy:"码楼",acceptDate:"2019-09-10",curNode:"部门审核",flowRate:7}],w={name:"IndexBdc",components:{ATooltip:o["a"],ACol:n["b"],ChartCard:c["default"],MiniArea:s["default"],MiniBar:l["default"],DashChartDemo:p["default"],BarMultid:u["default"],IndexBar:d["default"]},data:function(){return{loading:!0,cardCount:{sll:100,bjl:87,isll:15,ibjl:9},todaySll:60,todayBjl:54,todayISll:13,todayIBjl:7,chartData:{sll:[],bjl:[],isll:[],ibjl:[]},jhjgFields:y,jhjgData:f,xljgData:h,xljgFields:g,diskInfo:[{name:"C盘",restPPT:7},{name:"D盘",restPPT:5}],registerTypeList:[{text:"业务受理"},{text:"业务管理"},{text:"文件管理"},{text:"信息查询"}],dataSource1:[],dataSource2:[],columns:m,columns2:v,ipagination1:{current:1,pageSize:5,pageSizeOptions:["10","20","30"],showTotal:function(t,e){return e[0]+"-"+e[1]+" 共"+t+"条"},showQuickJumper:!0,showSizeChanger:!0,total:0},ipagination2:{current:1,pageSize:5,pageSizeOptions:["10","20","30"],showTotal:function(t,e){return e[0]+"-"+e[1]+" 共"+t+"条"},showQuickJumper:!0,showSizeChanger:!0,total:0},indexRegisterType:"转移登记",indexBottomTab:"1"}},methods:{goPage:function(){this.$message.success("根据业务自行处理跳转页面!")},changeRegisterType:function(t){this.indexRegisterType=t.target.value,"1"==this.indexBottomTab?this.loadDataSource1():this.loadDataSource2()},tableChange1:function(t){this.ipagination1.current=t.current,this.ipagination1.pageSize=t.pageSize,this.queryTimeoutInfo()},tableChange2:function(t){this.ipagination2.current=t.current,this.ipagination2.pageSize=t.pageSize,this.queryNodeTimeoutInfo()},getFlowRateNumber:function(t){return Number(t)},getPercentFormat:function(t){return 100==t?"超时":t+"%"},getPercentColor:function(t){var e=Number(t);return e>=90&&e<100?"rgb(244, 240, 89)":e>=100?"red":"rgb(16, 142, 233)"},loadDataSource1:function(){var t=this;this.dataSource1=x.filter((function(e){return!t.indexRegisterType||e.type==t.indexRegisterType}))},loadDataSource2:function(){var t=this;this.dataSource2=b.filter((function(e){return!t.indexRegisterType||e.type==t.indexRegisterType}))}},created:function(){var t=this;this.loadDataSource1(),this.loadDataSource2(),setTimeout((function(){t.loading=!t.loading}),1e3)}},C=w,B=(a("1dd1"),a("2877")),S=Object(B["a"])(C,r,i,!1,null,"0d808467",null);e["default"]=S.exports},4862:function(t,e,a){},8191:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0 0 32px 32px"}},[e("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),e("v-chart",{attrs:{data:t.data,height:t.height,"force-fit":!0,onClick:t.handleClick}},[e("v-tooltip"),e("v-axis"),e("v-legend"),e("v-bar",{attrs:{position:"x*y",color:"type",adjust:t.adjust}})],1)],1)},i=[],n=a("7104"),o=a("c917");function c(t,e){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=l(t))||e&&t&&"number"===typeof t.length){a&&(t=a);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,c=!1;return{s:function(){a=a.call(t)},n:function(){var t=a.next();return o=t.done,t},e:function(t){c=!0,n=t},f:function(){try{o||null==a.return||a.return()}finally{if(c)throw n}}}}function l(t,e){if(t){if("string"===typeof t)return s(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=t[a];return r}var d={name:"BarMultid",mixins:[o["a"]],props:{title:{type:String,default:""},dataSource:{type:Array,default:function(){return[{type:"Jeecg","Jan.":18.9,"Feb.":28.8,"Mar.":39.3,"Apr.":81.4,May:47,"Jun.":20.3,"Jul.":24,"Aug.":35.6},{type:"Jeebt","Jan.":12.4,"Feb.":23.2,"Mar.":34.5,"Apr.":99.7,May:52.6,"Jun.":35.5,"Jul.":37.4,"Aug.":42.4}]}},fields:{type:Array,default:function(){return["Jan.","Feb.","Mar.","Apr.","May","Jun.","Jul.","Aug."]}},aliases:{type:Array,default:function(){return[]}},height:{type:Number,default:254}},data:function(){return{adjust:[{type:"dodge",marginRatio:1/32}]}},computed:{data:function(){var t=this,e=(new n["DataSet"].View).source(this.dataSource);e.transform({type:"fold",fields:this.fields,key:"x",value:"y"});var a=e.rows.map((function(t){return"string"===typeof t.x&&(t.x=t.x.replace(/[-/]/g,"_")),t}));return a.forEach((function(e){var a,r=c(t.aliases);try{for(r.s();!(a=r.n()).done;){var i=a.value;if(i.field===e.type){e.type=i.alias;break}}}catch(n){r.e(n)}finally{r.f()}})),a}}},u=d,p=a("2877"),f=Object(p["a"])(u,r,i,!1,null,"5ef3146c",null);e["default"]=f.exports},"8e56":function(t,e,a){},"8fe8":function(t,e,a){},"942d":function(t,e,a){"use strict";a.r(e);for(var r=function(){var t=this,e=t._self._c;return e("div",{style:{width:null==t.width?"auto":t.width+"px"}},[e("v-chart",{attrs:{forceFit:null==t.width,height:t.height,data:t.data,padding:"0"}},[e("v-tooltip"),e("v-bar",{attrs:{position:"x*y"}})],1)],1)},i=[],n=a("5a0c"),o=a.n(n),c=[],l=(new Date).getTime(),s=0;s<10;s++)c.push({x:o()(new Date(l+864e5*s)).format("YYYY-MM-DD"),y:Math.round(10*Math.random())});var d=["x*y",function(t,e){return{name:t,value:e}}],u=[{dataKey:"x",min:2},{dataKey:"y",title:"时间",min:1,max:30}],p={name:"MiniBar",props:{dataSource:{type:Array,default:function(){return[]}},width:{type:Number,default:null},height:{type:Number,default:200}},created:function(){0===this.dataSource.length?this.data=c:this.data=this.dataSource},data:function(){return{tooltip:d,data:[],scale:u}}},f=p,y=(a("fc33"),a("2877")),h=Object(y["a"])(f,r,i,!1,null,"ebc8c03c",null);e["default"]=h.exports},"972f":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{style:{padding:"0 0 32px 32px"}},[e("v-chart",{attrs:{forceFit:!0,height:300,data:t.chartData,scale:t.scale}},[e("v-coord",{attrs:{type:"polar",startAngle:-202.5,endAngle:22.5,radius:.75}}),e("v-axis",{attrs:{dataKey:"value",zIndex:2,line:null,label:t.axisLabel,subTickCount:4,subTickLine:t.axisSubTickLine,tickLine:t.axisTickLine,grid:null}}),e("v-axis",{attrs:{dataKey:"1",show:!1}}),e("v-series",{attrs:{gemo:"point",position:"value*1",shape:"pointer",color:"#1890FF",active:!1}}),e("v-guide",{attrs:{type:"arc",zIndex:0,top:!1,start:t.arcGuide1Start,end:t.arcGuide1End,vStyle:t.arcGuide1Style}}),e("v-guide",{attrs:{type:"arc",zIndex:1,start:t.arcGuide2Start,end:t.getArcGuide2End,vStyle:t.arcGuide2Style}}),e("v-guide",{attrs:{type:"html",position:t.htmlGuidePosition,html:t.getHtmlGuideHtml()}})],1)],1)},i=[],n=a("3654");Object(n["b"])("point","pointer",{draw:function(t,e){var a=t.points[0];a=this.parsePoint(a);var r=this.parsePoint({x:0,y:0});return e.addShape("line",{attrs:{x1:r.x,y1:r.y,x2:a.x,y2:a.y+15,stroke:t.color,lineWidth:5,lineCap:"round"}}),e.addShape("circle",{attrs:{x:r.x,y:r.y,r:9.75,stroke:t.color,lineWidth:4.5,fill:"#fff"}})}});var o=[{dataKey:"value",min:0,max:9,tickInterval:1,nice:!1}],c=[{value:7}],l={name:"DashChartDemo",props:{datasource:{type:Number,default:7},title:{type:String,default:""}},created:function(){this.datasource?this.chartData=[{value:this.datasource}]:this.chartData=c,this.getChartData()},watch:{datasource:function(t){this.chartData=[{value:t}],this.getChartData()}},methods:{getChartData:function(){this.chartData&&this.chartData.length>0?this.abcd=10*this.chartData[0].value:this.abcd=70},getHtmlGuideHtml:function(){return'<div style="width: 300px;text-align: center;">\n<p style="font-size: 14px;color: #545454;margin: 0;">'+this.title+'</p>\n<p style="font-size: 36px;color: #545454;margin: 0;">'+this.abcd+"%</p>\n</div>"},getArcGuide2End:function(){return[this.chartData[0].value,.945]}},data:function(){return{chartData:[],height:400,scale:o,abcd:70,axisLabel:{offset:-16,textStyle:{fontSize:18,textAlign:"center",textBaseline:"middle"}},axisSubTickLine:{length:-8,stroke:"#fff",strokeOpacity:1},axisTickLine:{length:-17,stroke:"#fff",strokeOpacity:1},arcGuide1Start:[0,.945],arcGuide1End:[9,.945],arcGuide1Style:{stroke:"#CBCBCB",lineWidth:18},arcGuide2Start:[0,.945],arcGuide2Style:{stroke:"#1890FF",lineWidth:18},htmlGuidePosition:["50%","100%"],htmlGuideHtml:'\n <div style="width: 300px;text-align: center;">\n <p style="font-size: 14px;color: #545454;margin: 0;">'.concat(this.title,'</p>\n <p style="font-size: 36px;color: #545454;margin: 0;">').concat(this.abcd,"%</p>\n </div>\n ")}}},s=l,d=a("2877"),u=Object(d["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},c917:function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));var r={methods:{handleClick:function(t,e){this.handleEvent("click",t,e)},handleEvent:function(t,e,a){this.$emit(t,e,a)}}}},d3bc:function(t,e,a){"use strict";a("8e56")},db929:function(t,e,a){"use strict";a("8fe8")},fc33:function(t,e,a){"use strict";a("2e41")}}]);
|