25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

approvalInfo-2538fe6f.js 2.4KB

1
  1. import{_ as c}from"./index-33a0e6e3.js";import{d as C}from"./projectStore-30136ff6.js";import{r as b,b as d,c as s,d as r,f as a,h as i,i as p,t as o,e as w,j as A,F as D,H as x,k as B}from"./index-dd5fae99.js";const O={class:"text-danger mr-4"},V=B({name:"approvalInfo"}),$=Object.assign(V,{props:{detailData:Object},setup(e){const v=e,m=b(!1),u=b([]),F=[{label:"序号",type:"index",width:"60"},{label:"延期时长(月)",key:"delayTime",prop:"delayTime",width:"140"},{label:"延期理由",key:"delayApplyReason",prop:"delayApplyReason"},{label:"佐证材料",key:"delayApplyFile",slot:"delayApplyFile"},{label:"提交时间",key:"createOn",prop:"createOn"}],g=async()=>{const y=await C(v.detailData.id);m.value=!0,u.value=y.data};return(y,f)=>{const n=d("el-descriptions-item"),_=d("el-descriptions"),k=d("table-list"),N=d("el-dialog");return s(),r(D,null,[a(_,{column:2,border:""},{default:i(()=>[a(n,{label:"建议批复总投资(万元)"},{default:i(()=>[p(o(e.detailData.approvalAmount||"-"),1)]),_:1}),a(n,{label:"批复时间"},{default:i(()=>[p(o(e.detailData.approvalDate||"-"),1)]),_:1}),a(n,{label:"建议批复年度预算(万元)"},{default:i(()=>[p(o(e.detailData.approvalBudget||"-"),1)]),_:1}),a(n,{label:"批复周期"},{default:i(()=>[p(o(e.detailData.originBuildCycle||"-")+"个月 ",1),w("span",O,o(e.detailData.applyDelayMonths?`延期${e.detailData.applyDelayMonths}个月`:""),1),e.detailData.applyDelayMonths?(s(),r("a",{key:0,onClick:g},"详情")):A("",!0)]),_:1}),a(n,{label:"批复文件"},{default:i(()=>{var t,l;return[a(c,{"file-name":(t=e.detailData)==null?void 0:t.approvedFileName,"file-id":Number((l=e.detailData)==null?void 0:l.approvedFile)},null,8,["file-name","file-id"])]}),_:1}),a(n,{label:"建设方案"},{default:i(()=>{var t,l;return[a(c,{"file-name":(t=e.detailData)==null?void 0:t.approvedConstructionPlanFileName,"file-id":Number((l=e.detailData)==null?void 0:l.approvedConstructionPlanFile)},null,8,["file-name","file-id"])]}),_:1})]),_:1}),a(N,{"model-value":m.value,title:"延期信息",width:"60%",onClose:f[0]||(f[0]=t=>m.value=!1)},{default:i(()=>[a(k,{data:u.value,column:F,pagination:!1},{delayApplyFile:i(({scope:t})=>[(s(!0),r(D,null,x(t.row.delayApplyFile&&JSON.parse(t.row.delayApplyFile),(l,h)=>(s(),r("p",{key:h},[a(c,{"file-name":l==null?void 0:l.originalFileName,"file-id":l.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"])]),_:1},8,["model-value"])],64)}}});export{$ as default};