import{d as k,U as x,l as p,r as V,a as n,o as l,c as _,b as i,e as m,F as N,g as A,u as a,i as C,A as E,m as L,f as S,j as U,t as $,_ as h}from"./index-8184dd63-1780045603901v=1.0.0.js";import{u as q}from"./useGetTagHook-d138769d-1780045603901v=1.0.0.js";import"./tagManage-1b66d64b-1780045603901v=1.0.0.js";import"./reportingYear-23c6c3e7-1780045603901v=1.0.0.js";const w={class:"top_tab"},D={class:"status"},I=k({__name:"FirstTab",props:{active:{type:null,required:!0,default:""},status:{type:null,required:!1,default:""}},emits:["update:active"],setup(d,{emit:b}){const u=x(),f=b,s=d,o=p({get:()=>s.active,set:e=>{f("update:active",e)}}),v=V([{label:`\u5B9E\u9645\u5F00\u653E\u60C5\u51B5${u.reporting_year}`,name:"1"},{label:`\u573A\u5730\u5F00\u653E\u8BA1\u5212\xA0${u.plan_year}`,name:"2"}]),{statusList:y}=q(),r=p(()=>s.status?y.value.find(e=>e.value==s.status):{tagType:"",label:""});return(e,c)=>{const g=n("el-tab-pane"),F=n("el-tabs"),T=n("el-tag");return l(),_("div",w,[i(F,E({modelValue:a(o),"onUpdate:modelValue":c[0]||(c[0]=t=>L(o)?o.value=t:null),type:"card",class:"tabs_bottom"},e.$attrs),{default:m(()=>[(l(!0),_(N,null,A(a(v),(t,B)=>(l(),C(g,{key:B,label:t.label,name:t.name},null,8,["label","name"]))),128))]),_:1},16,["modelValue"]),S("div",D,[i(T,{type:a(r).tagType},{default:m(()=>[U($(a(r).label),1)]),_:1},8,["type"])])])}}});const R=h(I,[["__scopeId","data-v-e36a5407"],["__file","D:/desktop/yunNan/vue-area-submit/src/views/components/FirstTab.vue"]]);export{R as default};
