1 |
- import{_,d as c,cl as d,cp 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,cq as k}from"./index.56449854.js";import x from"./detail.9033563d.js";import y from"./summary.e0704403.js";import"./use-page-search.59eb5443.js";import"./apis.88ca813e.js";import"./createRequset.56e9fc42.js";import"./export.a2ce61c0.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}}),(A,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]=p=>e.value=p),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=_(b,[["__scopeId","data-v-118602e6"],["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/time/projectDepartment/index.vue"]]);export{U as default};
|