index.ea9579a8.js 1.3 KB

1
  1. import{_ as p,d as c,cl as d,cT as f,n as v,r as l,o as t,c as E,A as o,x as s,u as i,a as r,c$ as k}from"./index.a6923b8e.js";import x from"./detail.46fcf9b6.js";import y from"./summary.ec79435a.js";import"./use-page-search.4b169098.js";import"./apis.83dd7d94.js";import"./createRequset.548d50db.js";import"./export.2c32a1f4.js";import"./xlsx.ed122d16.js";const C={class:"report-container"},b=c({__name:"index",setup(h){const e=d(""),{hasPermissionWithCode:a}=f("projectDepartment");return v(()=>{if(a("11")){e.value="4";return}if(a("3")){e.value="3";return}}),(T,n)=>{const u=l("ElTabPane"),m=l("ElTabs");return t(),E("div",C,[e.value?(t(),o(m,{key:0,modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=_=>e.value=_),style:{color:"#fff"}},{default:s(()=>[i(a)("11")?(t(),o(u,{key:0,name:"4",label:"\u4E1A\u7EE9\u8868\u660E\u7EC6"},{default:s(()=>[e.value==="4"?(t(),o(x,{key:0})):r("v-if",!0)]),_:1})):r("v-if",!0),i(a)("3")?(t(),o(u,{key:1,name:"3",label:"\u4E1A\u7EE9\u8868\u6C47\u603B"},{default:s(()=>[e.value==="3"?(t(),o(y,{key:0})):r("v-if",!0)]),_:1})):r("v-if",!0)]),_:1},8,["modelValue"])):(t(),o(k,{key:1}))])}}});var U=p(b,[["__scopeId","data-v-118602e6"],["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/time/projectDepartment/index.vue"]]);export{U as default};