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.

2 satır
4.8KB

  1. import g from"./basicInfo.d84407e7.js";import I from"./fundsInfo.29ef563f.js";import N from"./investmentInfo.2596b795.js";import O from"./engineeringInfo.877be92c.js";import F from"./safeInfo.ef28a0bd.js";import S from"./businessInfo.5e0e636b.js";import C from"./yearPayPlanInfo.e6ebabe6.js";import _ from"./filesInfo.cd50b75e.js";import B from"./remarkInfo.ced74296.js";import J from"./applications.8a11a7f5.js";import V from"./customModule.9a5c5aa0.js";import j from"./provincialInfo.c4a0733c.js";import{d as x,r as h,M as A,J as E,o as G,c as y,e as l,G as d,i as D,h as H,f as p,F as b,H as $,k as u}from"./index.a2494fc2.js";import"./index.8851030e.js";import"./indicatorTemplate.6dbb281e.js";import"./index.7c249f3d.js";const P=x({name:"projectInfo"}),da=Object.assign(P,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e,{expose:L}){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"]),M=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}),G(async()=>{console.log("customModuletabList",M)}),L({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(()=>[H(f,{modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=s=>i.value=s)},{default:D(()=>[(l(!0),p(b,null,$(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(g,{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(I,{key:1,"detail-data":e.detailData},null,8,["detail-data"])):u("",!0),i.value==="\u6295\u8D44\u5206\u914D\u60C5\u51B5"?(l(),d(N,{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(O,{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,$(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};