index.6e6e7c78.js 1.3 KB

1
  1. import{_ as c,d as p,cl as d,cp 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,cq as k}from"./index.56449854.js";import x from"./detail.8b947301.js";import y from"./summary.dbc01552.js";import"./use-page-search.59eb5443.js";import"./export.a2ce61c0.js";import"./xlsx.ed122d16.js";import"./apis.49afab41.js";import"./createRequset.56e9fc42.js";const C={class:"report-container"},b=p({__name:"index",setup(h){const e=d(""),{hasPermissionWithCode:o}=f("customerDepartment");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-29af2eab"],["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/time/customerDepartment/index.vue"]]);export{g as default};