"use strict";(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[1596],{28449:function(a,e,t){t.r(e),t.d(e,{default:function(){return g}});var s=t(66252),i=t(49963);const o={key:0,ref:"draggableBox",class:"draggableBox"},l={class:"aiMain"},n={class:"topBox"};function r(a,e,t,r,c,d){const u=(0,s.up)("sc-icon-Ai"),b=(0,s.up)("reports"),h=(0,s.up)("el-tab-pane"),g=(0,s.up)("chart"),p=(0,s.up)("el-tabs"),w=(0,s.up)("el-main"),f=(0,s.Q2)("draggable");return(0,s.wg)(),(0,s.j4)(w,{class:"mainBox"},{default:(0,s.w5)((()=>[0==c.tabsActive?(0,s.wy)(((0,s.wg)(),(0,s.iD)("div",o,[(0,s._)("div",l,[(0,s._)("div",n,[(0,s.Wm)(u)]),(0,s._)("div",{class:"name",onClick:e[0]||(e[0]=(0,i.iM)((a=>c.aiShow=!c.aiShow),["stop"]))},"AI智能分析")])])),[[f]]):(0,s.kq)("",!0),(0,s.Wm)(p,{class:"elTabsBox","tab-position":"top",onTabChange:d.tabChange},{default:(0,s.w5)((()=>[(0,s.Wm)(h,{label:"数据报表"},{default:(0,s.w5)((()=>[0==c.tabsActive?((0,s.wg)(),(0,s.j4)(b,{key:0,aiShow:c.aiShow},null,8,["aiShow"])):(0,s.kq)("",!0)])),_:1}),(0,s.Wm)(h,{label:"数据分析"},{default:(0,s.w5)((()=>[1==c.tabsActive?((0,s.wg)(),(0,s.j4)(g,{key:0})):(0,s.kq)("",!0)])),_:1})])),_:1},8,["onTabChange"])])),_:1})}var c=t(5480),d=t(11859),u={name:"index",components:{reports:c["default"],chart:d["default"]},data(){return{tabsActive:0,aiShow:!1}},watch:{aiShow:{handler(a){a?this.$refs.draggableBox&&(this.$refs.draggableBox.style.top="26%"):this.$refs.draggableBox&&(this.$refs.draggableBox.style.top="80%")},immediate:!0}},mounted(){},methods:{tabChange(a){this.tabsActive=a}}},b=t(83744);const h=(0,b.Z)(u,[["render",r],["__scopeId","data-v-31d6e810"]]);var g=h}}]);