x-php-Admin/dist/static/js/xChunks.a83e2bcc.js

1 line
172 KiB
JavaScript
Raw Normal View History

2023-12-25 15:29:44 +00:00
(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[915],{1396:function(e,l,t){"use strict";t.r(l),t.d(l,{urlPrefix:function(){return o}});var a=t(4471);const o="/tenement/apartment/";l["default"]={get:async function(e,l){return await a.Z.get(o+e,l)},post:async function(e,l){return await a.Z.post(o+e,l)},list:async function(e){return await a.Z.get(o+"lists",e)},room:{submit:async function(e){return await a.Z.post(o+"roomSubmit",e)},get:async function(e){return await a.Z.get(o+"roomGet",e)}}}},2856:function(e,l,t){"use strict";t.r(l);var a=t(2262);const o={};let i=t(1783);i.keys().forEach((e=>{let l=i(e);o[e.replace(/^\.\/(.*)\.\w+$/,"$1")]=l.default})),l["default"]=(0,a.Xl)(o)},7015:function(e,l,t){"use strict";t.d(l,{Z:function(){return c}});var a=t(6252),o=t(3577);function i(e,l,t,i,n,d){return(0,a.wg)(),(0,a.iD)("div",{ref:"xEcharts",style:(0,o.j5)({height:t.height,width:t.width})},null,4)}var n=t(1788);const d={color:["#409EFF","#36CE9E","#f56e6a","#626c91","#edb00d","#909399"],grid:{left:"3%",right:"3%",bottom:"10",top:"40",containLabel:!0},legend:{textStyle:{color:"#999"},inactiveColor:"rgba(128,128,128,0.4)"},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"rgba(128,128,128,0.2)",width:1}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{color:"#999"},splitLine:{show:!1,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(255,255,255,0.01)","rgba(0,0,0,0.01)"]}}},valueAxis:{axisLine:{show:!1,lineStyle:{color:"#999"}},splitLine:{show:!0,lineStyle:{color:"rgba(128,128,128,0.2)"}}}};var s=d;n.registerTheme("T",s);const u=e=>e&&(e.__v_raw||e.valueOf()||e);var r={...n,name:"xEcharts",props:{height:{type:String,default:"100%"},width:{type:String,default:"100%"},nodata:{type:Boolean,default:!1},option:{type:Object,default:()=>{}}},data(){return{isActivat:!1,myChart:null}},watch:{option:{deep:!0,handler(e){u(this.myChart)&&u(this.myChart).setOption(e)}}},computed:{myOptions:function(){return this.option||{}}},activated(){this.isActivat||this.$nextTick((()=>{this.myChart.resize()}))},deactivated(){this.isActivat=!1},mounted(){this.isActivat=!0,this.$nextTick((()=>{this.draw()}))},methods:{draw(){var e=n.init(this.$refs.xEcharts,"T");e.setOption(this.myOptions),this.myChart=e,window.addEventListener("resize",(()=>e.resize()))},setEchartOption(){var e=n.init(this.$refs.xEcharts,"T");e.setOption(this.myOptions)},setSize(){(0,a.Y3)((()=>this.myChart.resize()))}}},m=t(3744);const p=(0,m.Z)(r,[["render",i]]);var c=p},8872:function(e,l,t){"use strict";t.d(l,{Z:function(){return g}});var a=t(6252),o=t(3577);const i={class:"x-statistic"},n={class:"x-statistic-title"},d={style:{width:"200px","line-height":"2"}},s={class:"x-statistic-content"},u={key:0,class:"x-statistic-content-prefix"},r={class:"x-statistic-content-value"},m={key:1,class:"x-statistic-content-suffix"},p={key:0,class:"x-statistic-description"};function c(e,l,t,c,f,h){const w=(0,a.up)("el-icon-question-filled"),g=(0,a.up)("el-icon"),b=(0,a.up)("el-tooltip");return(0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",n,[(0,a.Uk)((0,o.zw)(t.title)+" ",1),t.tips?((0,a.wg)(),(0,a.j4)(b,{key:0,effect:"light"},{content:(0,a.w5)((()=>[(0,a._)("div",d,(0,o.zw)(t.tips),1)])),default:(0,a.w5)((()=>[(0,a.Wm)(g,{class:"x-statistic-tips"},{default:(0,a.w5)((()=>[(0,a.Wm)(w)])),_:1})])),_:1})):(0,a.kq)("",!0)]),(0,a._)("div",s,[t.prefix?((0,a.wg)(),(0,a.iD)("span",u,(0,o.zw)(t.prefix),1)):(0,a.kq)("",!0),(0,a._)("span",r,(0,o.zw)(h.cmtValue),1),t.suffix?((0,a.wg)(),(0,a.iD)("span",m,(0,o.zw)(t.suffix),1)):(0,a.kq)("",!0)]),t.description||e.$slots.default?((0,a.wg)(),(0,a.iD)("div",p,[(0,a.WI)(e.$slots,"default",{},(()=>[(0,a.Uk)((0,o.zw)(t.description),1)]),!0)])):(0,a.kq)("",!0)])}var f={props:{title:{type:String,required:!0,default:""},value:{type:String,required:!0,default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},description:{type:String,default:""},tips:{type:String,default:""},groupSeparator:{type:Boolean,default:!1}},data(){return{}},computed:{cmtValue(){return this.groupSeparator?this.$tool.groupSeparator(thi