import{_ as c,d as p,cl as d,cU as f,n as v,r as l,o as t,c as E,A as a,x as s,u as i,a as r,d0 as k}from"./index.e80c366d.js";import x from"./detail.94cd928c.js";import y from"./summary.e03bc610.js";import"./use-page-search.e3e95470.js";import"./apis.24802ac0.js";import"./createRequset.60472412.js";import"./export.6f50dc45.js";import"./xlsx.ed122d16.js";const C={class:"report-container"},b=p({__name:"index",setup(h){const e=d(""),{hasPermissionWithCode:o}=f("saleDepartment");return v(()=>{if(o("11")){e.value="4";return}if(o("3")){e.value="3";return}}),(A,n)=>{const u=l("ElTabPane"),m=l("ElTabs");return t(),E("div",C,[e.value?(t(),a(m,{key:0,modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=_=>e.value=_),style:{color:"#fff"}},{default:s(()=>[i(o)("11")?(t(),a(u,{key:0,name:"4",label:"\u4E1A\u7EE9\u8868\u660E\u7EC6"},{default:s(()=>[e.value==="4"?(t(),a(x,{key:0})):r("v-if",!0)]),_:1})):r("v-if",!0),i(o)("3")?(t(),a(u,{key:1,name:"3",label:"\u4E1A\u7EE9\u8868\u6C47\u603B"},{default:s(()=>[e.value==="3"?(t(),a(y,{key:0})):r("v-if",!0)]),_:1})):r("v-if",!0)]),_:1},8,["modelValue"])):(t(),a(k,{key:1}))])}}});var g=c(b,[["__scopeId","data-v-c3c9fed8"],["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/time/saleDepartment/index.vue"]]);export{g as default};
