Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

2 lines
4.8KB

  1. import M from"./basicInfo.337d9406.js";import g from"./fundsInfo.599c29d4.js";import O from"./investmentInfo.99e79ed7.js";import N from"./engineeringInfo.87da6b0d.js";import F from"./safeInfo.bb165780.js";import S from"./businessInfo.0df55970.js";import C from"./yearPayPlanInfo.8d5d27f9.js";import _ from"./filesInfo.0a9612c2.js";import B from"./remarkInfo.34077e29.js";import J from"./applications.1793d924.js";import V from"./customModule.43dd5237.js";import j from"./provincialInfo.69d61b6a.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.622ee9e7.js";import"./index.f85fe99a.js";import"./indicatorTemplate.5a807688.js";import"./index.7cf53a4d.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};