Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

2 lignes
8.8KB

  1. var Z=Object.defineProperty,ee=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable;var W=(f,s,d)=>s in f?Z(f,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):f[s]=d,M=(f,s)=>{for(var d in s||(s={}))le.call(s,d)&&W(f,d,s[d]);if(z)for(var d of z(s))te.call(s,d)&&W(f,d,s[d]);return f},q=(f,s)=>ee(f,ae(s));var P=(f,s,d)=>new Promise((S,K)=>{var O=b=>{try{I(d.next(b))}catch(h){K(h)}},F=b=>{try{I(d.throw(b))}catch(h){K(h)}},I=b=>b.done?S(b.value):Promise.resolve(b.value).then(O,F);I((d=d.apply(f,s)).next())});import re from"./flowRecord.64230ca2.js";import{d as oe,D as ie,b as G,r as H,L as ne,c as T,e as a,I as k,i as p,g as j,h as y,f as l,F as r,J as g,j as i,t as o,u as c,aG as de}from"./index.3fb2f955.js";import{_ as A}from"./index.688c9de6.js";import Q from"./customModule.435f8f32.js";import U from"./finalInfo.43649f06.js";import"./index.d01619e4.js";import"./index.34b5636d.js";const se={style:{"max-height":"800px"},class:"overflow-y-auto"},ue=j("h2",{class:"mb-8 bold text-16"},"\u8C03\u6574\u7684\u4FE1\u606F",-1),fe={key:14},ye={key:14},we=j("h2",{class:"mb-8 bold text-16"},"\u6D41\u7A0B\u8BB0\u5F55",-1),me=oe({name:"flowRecordDialog"}),Ke=Object.assign(me,{props:{visible:{type:Boolean,default:!1,required:!0},flowData:{type:Array,default:void 0},id:{type:String,default:void 0}},emits:["close"],setup(f,{emit:s}){const{statusOptions:d,constructionLevel:S,cloudTypeOptions:K,fourSystem:O,businessTerritory:F}=ie.dictStore.globalDicts||{},I=f,b=s,h=[{label:"\u5B57\u6BB5",key:"fieldName",prop:"fieldName",width:180},{label:"\u8C03\u6574\u524D",key:"oldData",slot:"oldData"},{label:"\u8C03\u6574\u540E",key:"newData",slot:"newData"}],L=G([{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",key:"fileName",prop:"fileName"},{label:"\u9644\u4EF6",slot:"file"}]),V=G([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4E1A\u52A1\u7F16\u53F7",key:"oid",prop:"oid"},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}]),J=H(),C=H(),X=()=>P(this,null,function*(){const w=yield de(I.id);J.value=[],w.data.changes&&Object.keys(w.data.changes).forEach(m=>{J.value.push({fieldName:m,newData:w.data.changes[m].new,oldData:w.data.changes[m].old,fieldKey:w.data.changes[m].fieldKey})}),C.value={processProgressVo:q(M({},w.data.process.processProgressVo),{progressInfo:Y(w.data.process.processProgressVo.progressInfo)})}}),Y=w=>(w.forEach(m=>{if(m.children){const _=[],D=[];m.children.forEach(u=>{_.includes(u.nodeId)?(D.find(v=>v.nodeId===u.nodeId).list.push(u),D.find(v=>v.nodeId===u.nodeId).userIds.push(u.userId)):(_.push(u.nodeId),D.push({nodeId:u.nodeId,approvalMode:u.approvalMode,name:u.name,nodeType:u.nodeType,list:[M({},u)],userIds:[u.userId]}))}),m.children=D}else m.userIds=[m.userId]}),w),R=["isSuperOrg","isHigherSuperOrg","isFirst","isDigitalReform","isCloud","isTemporaryAugment","includeApplication"],$=["preliminaryPlanFile","supportingMaterialsFile","calculationTotalInvestmentFile","mainResponsibilitiesApplicantFile","projectApplicationForm","constructionPlanFile"];return ne(()=>I.visible,w=>P(this,null,function*(){w&&X()})),(w,m)=>{const _=T("table-list"),D=T("el-descriptions-item"),u=T("el-descriptions"),v=T("el-dialog");return a(),k(v,{"model-value":f.visible,title:"\u8C03\u6574\u4FE1\u606F\u53CA\u5BA1\u6838\u610F\u89C1",width:"90%","destroy-on-close":"",onClose:m[0]||(m[0]=x=>b("close"))},{default:p(()=>{var x,E;return[j("div",se,[ue,y(_,{ref:"tableListRef",column:h,data:J.value,pagination:!1,class:"mb-16"},{oldData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),k(_,{key:0,column:L,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.oldData)},{file:p(t=>[(a(!0),l(r,null,g(t.scope.row.fileList,(n,B)=>(a(),l("p",{key:B,class:"mb-4"},[y(A,{"file-name":n.originalFileName,"file-id":n.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(r,{key:1},[i(o(e.row.oldData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(r,{key:2},[i(o((N=c(d)[e.row.oldData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(r,{key:3},[i(o(e.row.oldData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(r,{key:4},[i(o(e.row.oldData==="01"?"\u9996\u6B21\u5EFA\u8BBE":e.row.oldData==="02"?"\u8FED\u4EE3\u5347\u7EA7":e.row.oldData==="03"?"\u7ED3\u8F6C\u5EFA\u8BBE":"-"),1)],64)):e.row.fieldKey==="buildLevel"?(a(),l(r,{key:5},[i(o(c(S)[e.row.oldData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(r,{key:6},[i(o(c(F)[e.row.oldData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(r,{key:7},[i(o(e.row.oldData.split(",").map(t=>c(K)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(r,{key:8},[i(o(c(O)[e.row.oldData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(r,{key:9},g(JSON.parse(e.row.oldData),(t,n)=>(a(),k(u,{key:n,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[i(o(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[i(o(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[i(o(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):$.includes(e.row.fieldKey)?(a(!0),l(r,{key:10},g(e.row.oldData&&JSON.parse(e.row.oldData),(t,n)=>(a(),l("p",{key:n,class:"mb-4"},[y(A,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),k(_,{key:11,column:V,data:e.row.oldData?JSON.parse(e.row.oldData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="safetyInputModular"?(a(!0),l(r,{key:12},g(e.row.oldData&&JSON.parse(e.row.oldData),(t,n)=>(a(),l("div",{key:n},[y(Q,{data:t,"module-num":n},null,8,["data","module-num"])]))),128)):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),k(U,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.oldData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",fe,o(e.row.oldData),1))]}),newData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),k(_,{key:0,column:L,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.newData)},{file:p(t=>[(a(!0),l(r,null,g(t.scope.row.fileList,(n,B)=>(a(),l("p",{key:B,class:"mb-4"},[y(A,{"file-name":n.originalFileName,"file-id":n.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(r,{key:1},[i(o(e.row.newData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(r,{key:2},[i(o((N=c(d)[e.row.newData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(r,{key:3},[i(o(e.row.newData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(r,{key:4},[i(o(e.row.newData==="01"?"\u9996\u6B21\u5EFA\u8BBE":e.row.newData==="02"?"\u8FED\u4EE3\u5347\u7EA7":e.row.newData==="03"?"\u7ED3\u8F6C\u5EFA\u8BBE":"-"),1)],64)):e.row.fieldKey==="buildLevel"?(a(),l(r,{key:5},[i(o(c(S)[e.row.newData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(r,{key:6},[i(o(c(F)[e.row.newData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(r,{key:7},[i(o(e.row.newData.split(",").map(t=>c(K)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(r,{key:8},[i(o(c(O)[e.row.newData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(r,{key:9},g(JSON.parse(e.row.newData),(t,n)=>(a(),k(u,{key:n,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[i(o(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[i(o(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[i(o(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):e.row.fieldKey==="safetyInputModular"?(a(!0),l(r,{key:10},g(e.row.newData&&JSON.parse(e.row.newData),(t,n)=>(a(),l("div",{key:n},[y(Q,{data:t,"module-num":n},null,8,["data","module-num"])]))),128)):$.includes(e.row.fieldKey)?(a(!0),l(r,{key:11},g(e.row.newData&&JSON.parse(e.row.newData),(t,n)=>(a(),l("p",{key:n,class:"mb-4"},[y(A,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),k(_,{key:12,column:V,data:e.row.newData?JSON.parse(e.row.newData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),k(U,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.newData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",ye,o(e.row.newData),1))]}),_:1},8,["data"]),we,y(re,{"flow-data":((E=(x=C.value)==null?void 0:x.processProgressVo)==null?void 0:E.progressInfo)||[]},null,8,["flow-data"])])]}),_:1},8,["model-value"])}}});export{Ke as default};