index.112047da.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 n,a as s,a8 as k,bk as x}from"./index.916a7946.js";import y from"./detail.6975592e.js";import C from"./summary.6987a9b8.js";import"./use-page-search.f9880bc8.js";import"./apis.b20ea854.js";import"./createRequset.c20a18b9.js";import"./export.1944cb66.js";const b={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}}),(B,u)=>{const l=i("ElTabPane"),m=i("ElTabs");return t(),E("div",b,[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:n(()=>[a(r)("11")?(t(),o(l,{key:0,name:"4",label:"\u4E1A\u7EE9\u8868\u660E\u7EC6"},{default:n(()=>[a(e)==="4"?(t(),o(y,{key:0})):s("v-if",!0)]),_:1})):s("v-if",!0),a(r)("3")?(t(),o(l,{key:1,name:"3",label:"\u4E1A\u7EE9\u8868\u6C47\u603B"},{default:n(()=>[a(e)==="3"?(t(),o(C,{key:0})):s("v-if",!0)]),_:1})):s("v-if",!0)]),_:1},8,["modelValue"])):(t(),o(x,{key:1}))])}}});var R=p(h,[["__scopeId","data-v-118602e6"],["__file","C:/Users/a/Desktop/projects/report-v3/src/views/time/projectDepartment/index.vue"]]);export{R as default};