index.55c03c12.js 1.2 KB

1
  1. import{_ as p,d as c,aD as d,b9 as f,x as v,r as i,o as t,c as E,u as a,G as o,C as s,a as n,a8 as k,bk as x}from"./index.1d5f2f42.js";import y from"./detail.0f10b183.js";import b from"./summary.a5f0f291.js";import"./use-page-search.5b2e253c.js";import"./apis.df648472.js";import"./createRequset.f858bea3.js";import"./export.669edd93.js";const C={class:"report-container"},h=c({__name:"index",setup(D){const e=d(""),{hasPermissionWithCode:r}=f("projectDepartment");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:s(()=>[a(r)("11")?(t(),o(l,{key:0,name:"4",label:"\u4E1A\u7EE9\u8868\u660E\u7EC6"},{default:s(()=>[a(e)==="4"?(t(),o(y,{key:0})):n("v-if",!0)]),_:1})):n("v-if",!0),a(r)("3")?(t(),o(l,{key:1,name:"3",label:"\u4E1A\u7EE9\u8868\u6C47\u603B"},{default:s(()=>[a(e)==="3"?(t(),o(b,{key:0})):n("v-if",!0)]),_:1})):n("v-if",!0)]),_:1},8,["modelValue"])):(t(),o(x,{key:1}))])}}});var R=p(h,[["__scopeId","data-v-118602e6"],["__file","D:/work/rep-v3/report-v3/src/views/time/projectDepartment/index.vue"]]);export{R as default};