index.3e795b3f.js 1.2 KB

1
  1. import{_ as c,d as p,cl as d,cT as f,n as v,r as l,o as t,c as E,A as a,x as r,u as i,a as s,c$ as k}from"./index.0ae106f0.js";import x from"./detail.84d96a5c.js";import y from"./summary.918a7206.js";import"./use-page-search.dd23dee3.js";import"./apis.0c7813ed.js";import"./createRequset.68e3a4aa.js";import"./export.e35d0526.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}}),(T,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:r(()=>[i(o)("11")?(t(),a(u,{key:0,name:"4",label:"\u4E1A\u7EE9\u8868\u660E\u7EC6"},{default:r(()=>[e.value==="4"?(t(),a(x,{key:0})):s("v-if",!0)]),_:1})):s("v-if",!0),i(o)("3")?(t(),a(u,{key:1,name:"3",label:"\u4E1A\u7EE9\u8868\u6C47\u603B"},{default:r(()=>[e.value==="3"?(t(),a(y,{key:0})):s("v-if",!0)]),_:1})):s("v-if",!0)]),_:1},8,["modelValue"])):(t(),a(k,{key:1}))])}}});var U=c(b,[["__scopeId","data-v-c3c9fed8"],["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/time/saleDepartment/index.vue"]]);export{U as default};