import{_ as p,d as c,aD as f,b9 as d,x as v,r as i,o as t,c as E,u as a,G as o,C as n,a as s,a8 as k,bk as x}from"./index.1d5f2f42.js";import y from"./detail.80791609.js";import b from"./summary.e9d05214.js";import"./use-page-search.5b2e253c.js";import"./export.669edd93.js";import"./apis.34a6a66b.js";import"./createRequset.f858bea3.js";const C={class:"report-container"},h=c({__name:"index",setup(D){const e=f(""),{hasPermissionWithCode:r}=d("customerDepartment");return v(()=>{if(r("11")){e.value="4";return}if(r("3")){e.value="3";return}}),(w,u)=>{const l=i("ElTabPane"),m=i("ElTabs");return t(),E("div",C,[a(e)?(t(),o(m,{key:0,modelValue:a(e),"onUpdate:modelValue":u[0]||(u[0]=_=>k(e)?e.value=_:null),style:{color:"#fff"}},{default:n(()=>[a(r)("11")?(t(),o(l,{key:0,name:"4",label:"\u4E1A\u7EE9\u8868\u660E\u7EC6"},{default:n(()=>[a(e)==="4"?(t(),o(y,{key:0})):s("v-if",!0)]),_:1})):s("v-if",!0),a(r)("3")?(t(),o(l,{key:1,name:"3",label:"\u4E1A\u7EE9\u8868\u6C47\u603B"},{default:n(()=>[a(e)==="3"?(t(),o(b,{key:0})):s("v-if",!0)]),_:1})):s("v-if",!0)]),_:1},8,["modelValue"])):(t(),o(x,{key:1}))])}}});var g=p(h,[["__scopeId","data-v-29af2eab"],["__file","D:/work/rep-v3/report-v3/src/views/time/customerDepartment/index.vue"]]);export{g as default};
