選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

2 行
4.8KB

  1. import M from"./basicInfo.32d2bf9f.js";import g from"./fundsInfo.6bfdfc5c.js";import O from"./investmentInfo.d8782ebe.js";import N from"./engineeringInfo.737d7d19.js";import F from"./safeInfo.b927c13a.js";import S from"./businessInfo.e4c10910.js";import C from"./yearPayPlanInfo.2a037f12.js";import _ from"./filesInfo.934b4b31.js";import B from"./remarkInfo.052b5376.js";import J from"./applications.6d4f5b02.js";import V from"./customModule.3ba56fcd.js";import j from"./provincialInfo.32973da3.js";import{d as x,r as h,O as A,L as E,o as P,c as y,e as l,I as d,i as D,h as R,f as p,F as b,J as L,k as u}from"./index.0b616ce3.js";import"./index.ca326906.js";import"./indicatorTemplate.faa3384f.js";import"./index.8c2e9fca.js";const T=x({name:"projectInfo"}),da=Object.assign(T,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e,{expose:$}){const n=e,i=h("\u57FA\u672C\u4FE1\u606F"),a=h(["\u57FA\u672C\u4FE1\u606F","\u8D44\u91D1\u7533\u62A5\u60C5\u51B5","\u6295\u8D44\u5206\u914D\u60C5\u51B5","\u5E74\u5EA6\u652F\u4ED8\u8BA1\u5212"]),I=A(()=>{const o=[];for(let t=0;t<a.value.length;t++)a.value[t]!=="\u57FA\u672C\u4FE1\u606F"&&a.value[t]!=="\u8D44\u91D1\u7533\u62A5\u60C5\u51B5"&&a.value[t]!=="\u6295\u8D44\u5206\u914D\u60C5\u51B5"&&a.value[t]!=="\u5E74\u5EA6\u652F\u4ED8\u8BA1\u5212"&&a.value[t]!=="\u6838\u5FC3\u4E1A\u52A1"&&a.value[t]!=="\u5B89\u5168\u6295\u5165"&&a.value[t]!=="\u5DE5\u7A0B\u5F62\u8C61\u8FDB\u5EA6"&&a.value[t]!=="\u9644\u4EF6"&&a.value[t]!=="\u5EFA\u8BBE\u65B9\u6848"&&a.value[t]!=="\u5907\u6CE8"&&o.push(a.value[t]);return o}),k=()=>{var o,t,m,f,c,s,r,w;if(((o=n.detailData)==null?void 0:o.baseProjIsConfidentiality)==="02")a.value=["\u57FA\u672C\u4FE1\u606F"];else{if(((t=n.detailData)==null?void 0:t.declareAmount)>=1e3&&a.value.push("\u91CD\u5927\u9879\u76EE\u7701\u7EA7\u8054\u5BA1\u4FE1\u606F"),(m=n.detailData)!=null&&m.isOpenCoreBusiness&&a.value.push("\u6838\u5FC3\u4E1A\u52A1"),(f=n.detailData)!=null&&f.isOpenSafetyInput&&a.value.push("\u5B89\u5168\u6295\u5165"),(c=n.detailData)!=null&&c.isEngineeringSpeed&&a.value.push("\u5DE5\u7A0B\u5F62\u8C61\u8FDB\u5EA6"),a.value.push("\u9644\u4EF6"),(s=n.detailData)!=null&&s.isRemarks&&a.value.push("\u5907\u6CE8"),a.value.push("\u5E94\u7528\u4FE1\u606F"),((r=n.detailData)==null?void 0:r.safetyInputModular)&&((w=JSON.parse(n.detailData.safetyInputModular))==null?void 0:w.length))for(let v=0;v<JSON.parse(n.detailData.safetyInputModular).length;v++)a.value.push(JSON.parse(n.detailData.safetyInputModular)[v].moduleName);a.value=[...new Set(a.value)]}};return E(()=>n.detailData,async o=>{o!=null&&o.id&&k()},{deep:!0}),P(async()=>{console.log("customModuletabList",I)}),$({getTabs:k}),(o,t)=>{const m=y("el-tab-pane"),f=y("el-tabs"),c=y("el-card");return l(),d(c,{shadow:"never",class:"tab-card"},{header:D(()=>[R(f,{modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=s=>i.value=s)},{default:D(()=>[(l(!0),p(b,null,L(a.value,(s,r)=>(l(),d(m,{key:r,label:s,name:s},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])]),default:D(()=>[i.value==="\u57FA\u672C\u4FE1\u606F"?(l(),d(M,{key:0,"detail-data":e.detailData,"is-down-load-file":e.isDownLoadFile,"dictionary-list":e.dictionaryList},null,8,["detail-data","is-down-load-file","dictionary-list"])):u("",!0),i.value==="\u8D44\u91D1\u7533\u62A5\u60C5\u51B5"?(l(),d(g,{key:1,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u6295\u8D44\u5206\u914D\u60C5\u51B5"?(l(),d(O,{key:2,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u91CD\u5927\u9879\u76EE\u7701\u7EA7\u8054\u5BA1\u4FE1\u606F"?(l(),d(j,{key:3,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u5E74\u5EA6\u652F\u4ED8\u8BA1\u5212"?(l(),d(C,{key:4,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u6838\u5FC3\u4E1A\u52A1"?(l(),d(S,{key:5,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u5B89\u5168\u6295\u5165"?(l(),d(F,{key:6,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u5DE5\u7A0B\u5F62\u8C61\u8FDB\u5EA6"?(l(),d(N,{key:7,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u9644\u4EF6"?(l(),d(_,{key:8,"detail-data":e.detailData,"is-down-load-file":e.isDownLoadFile},null,8,["detail-data","is-down-load-file"])):u("",!0),i.value==="\u5907\u6CE8"?(l(),d(B,{key:9,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u5E94\u7528\u4FE1\u606F"?(l(),d(J,{key:10,"detail-data":e.detailData,"is-down-load-file":e.isDownLoadFile},null,8,["detail-data","is-down-load-file"])):u("",!0),(l(!0),p(b,null,L(e.detailData.safetyInputModular&&JSON.parse(e.detailData.safetyInputModular),(s,r)=>(l(),p("div",{key:r},[i.value===s.moduleName?(l(),d(V,{key:0,data:s,"module-num":r,"is-down-load-file":e.isDownLoadFile},null,8,["data","module-num","is-down-load-file"])):u("",!0)]))),128))]),_:1})}}});export{da as default};