您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 行
2.6KB

  1. import{_ as c}from"./index.0788e65a.js";import{d as C}from"./projectStore.725cb1a8.js";import{d as w,r as b,c as d,e as s,f as r,h as a,i,j as p,t as o,g as A,k as x,F as D,J as B}from"./index.32e76bb0.js";const O={class:"text-danger mr-4"},V=w({name:"approvalInfo"}),$=Object.assign(V,{props:{detailData:Object},setup(e){const v=e,m=b(!1),u=b([]),g=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u5EF6\u671F\u65F6\u957F\uFF08\u6708\uFF09",key:"delayTime",prop:"delayTime",width:"140"},{label:"\u5EF6\u671F\u7406\u7531",key:"delayApplyReason",prop:"delayApplyReason"},{label:"\u4F50\u8BC1\u6750\u6599",key:"delayApplyFile",slot:"delayApplyFile"},{label:"\u63D0\u4EA4\u65F6\u95F4",key:"createOn",prop:"createOn"}],F=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:"\u5EFA\u8BAE\u6279\u590D\u603B\u6295\u8D44\uFF08\u4E07\u5143\uFF09"},{default:i(()=>[p(o(e.detailData.approvalAmount||"-"),1)]),_:1}),a(n,{label:"\u6279\u590D\u65F6\u95F4"},{default:i(()=>[p(o(e.detailData.approvalDate||"-"),1)]),_:1}),a(n,{label:"\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97\uFF08\u4E07\u5143\uFF09"},{default:i(()=>[p(o(e.detailData.approvalBudget||"-"),1)]),_:1}),a(n,{label:"\u6279\u590D\u5468\u671F"},{default:i(()=>[p(o(e.detailData.originBuildCycle||"-")+"\u4E2A\u6708 ",1),A("span",O,o(e.detailData.applyDelayMonths?`\u5EF6\u671F${e.detailData.applyDelayMonths}\u4E2A\u6708`:""),1),e.detailData.applyDelayMonths?(s(),r("a",{key:0,onClick:F},"\u8BE6\u60C5")):x("",!0)]),_:1}),a(n,{label:"\u6279\u590D\u6587\u4EF6"},{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:"\u5EFA\u8BBE\u65B9\u6848"},{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:"\u5EF6\u671F\u4FE1\u606F",width:"60%",onClose:f[0]||(f[0]=t=>m.value=!1)},{default:i(()=>[a(k,{data:u.value,column:g,pagination:!1},{delayApplyFile:i(({scope:t})=>[(s(!0),r(D,null,B(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};