Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

2 rindas
5.2KB

  1. import I from"./basicInfo.62db9c98.js";import O from"./fundsInfo.aab77cd7.js";import N from"./investmentInfo.892046a3.js";import j from"./engineeringInfo.a7e6b018.js";import F from"./safeInfo.1d27796e.js";import S from"./businessInfo.3c34b55a.js";import x from"./yearPayPlanInfo.b4fa7fe6.js";import C from"./filesInfo.56b07020.js";import _ from"./remarkInfo.07afeffc.js";import B from"./applications.6738b109.js";import J from"./customModule.8da8a661.js";import T from"./provincialInfo.f6bb1c36.js";import{d as V,r as h,M as A,J as E,o as G,c as D,e as l,G as u,i as p,h as H,f as k,F as $,H as L,k as o}from"./index.55251523.js";import"./index.8fabbc4d.js";import"./indicatorTemplate.9bceab62.js";import"./index.8a59d8d8.js";const P=V({name:"projectInfo"}),ua=Object.assign(P,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(t,{expose:M}){const i=t,d=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"]),g=A(()=>{const n=[];for(let e=0;e<a.value.length;e++)a.value[e]!=="\u57FA\u672C\u4FE1\u606F"&&a.value[e]!=="\u8D44\u91D1\u7533\u62A5\u60C5\u51B5"&&a.value[e]!=="\u6295\u8D44\u5206\u914D\u60C5\u51B5"&&a.value[e]!=="\u5E74\u5EA6\u652F\u4ED8\u8BA1\u5212"&&a.value[e]!=="\u6838\u5FC3\u4E1A\u52A1"&&a.value[e]!=="\u5B89\u5168\u6295\u5165"&&a.value[e]!=="\u5DE5\u7A0B\u5F62\u8C61\u8FDB\u5EA6"&&a.value[e]!=="\u9644\u4EF6"&&a.value[e]!=="\u5EFA\u8BBE\u65B9\u6848"&&a.value[e]!=="\u5907\u6CE8"&&n.push(a.value[e]);return n}),w=()=>{var n,e,f,c,v,s,r,b;if(((n=i.detailData)==null?void 0:n.baseProjIsConfidentiality)==="02")a.value=["\u57FA\u672C\u4FE1\u606F"];else{if(((e=i.detailData)==null?void 0:e.declareAmount)>=1e3&&a.value.push("\u91CD\u5927\u9879\u76EE\u7701\u7EA7\u8054\u5BA1\u4FE1\u606F"),(f=i.detailData)!=null&&f.isOpenCoreBusiness&&a.value.push("\u6838\u5FC3\u4E1A\u52A1"),(c=i.detailData)!=null&&c.isOpenSafetyInput&&a.value.push("\u5B89\u5168\u6295\u5165"),(v=i.detailData)!=null&&v.isEngineeringSpeed&&a.value.push("\u5DE5\u7A0B\u5F62\u8C61\u8FDB\u5EA6"),a.value.push("\u9644\u4EF6"),(s=i.detailData)!=null&&s.isRemarks&&a.value.push("\u5907\u6CE8"),a.value.push("\u5E94\u7528\u4FE1\u606F"),((r=i.detailData)==null?void 0:r.safetyInputModular)&&((b=JSON.parse(i.detailData.safetyInputModular))==null?void 0:b.length))for(let y=0;y<JSON.parse(i.detailData.safetyInputModular).length;y++)a.value.push(JSON.parse(i.detailData.safetyInputModular)[y].moduleName);a.value=[...new Set(a.value)],(i.detailData.projectType==="04"||i.detailData.projectType==="05")&&(m("\u5E74\u5EA6\u652F\u4ED8\u8BA1\u5212"),m("\u6295\u8D44\u5206\u914D\u60C5\u51B5"),m("\u5E94\u7528\u4FE1\u606F")),i.detailData.projectType==="03"&&m("\u5E94\u7528\u4FE1\u606F")}};function m(n){const e=a.value.indexOf(n);e>-1&&a.value.splice(e,1)}return E(()=>i.detailData,async n=>{n!=null&&n.id&&w()},{deep:!0}),G(async()=>{console.log("customModuletabList",g)}),M({getTabs:w}),(n,e)=>{const f=D("el-tab-pane"),c=D("el-tabs"),v=D("el-card");return l(),u(v,{shadow:"never",class:"tab-card"},{header:p(()=>[H(c,{modelValue:d.value,"onUpdate:modelValue":e[0]||(e[0]=s=>d.value=s)},{default:p(()=>[(l(!0),k($,null,L(a.value,(s,r)=>(l(),u(f,{key:r,label:s,name:s},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])]),default:p(()=>[d.value==="\u57FA\u672C\u4FE1\u606F"?(l(),u(I,{key:0,"detail-data":t.detailData,"is-down-load-file":t.isDownLoadFile,"dictionary-list":t.dictionaryList},null,8,["detail-data","is-down-load-file","dictionary-list"])):o("",!0),d.value==="\u8D44\u91D1\u7533\u62A5\u60C5\u51B5"?(l(),u(O,{key:1,"detail-data":t.detailData},null,8,["detail-data"])):o("",!0),d.value==="\u6295\u8D44\u5206\u914D\u60C5\u51B5"?(l(),u(N,{key:2,"detail-data":t.detailData},null,8,["detail-data"])):o("",!0),d.value==="\u91CD\u5927\u9879\u76EE\u7701\u7EA7\u8054\u5BA1\u4FE1\u606F"?(l(),u(T,{key:3,"detail-data":t.detailData},null,8,["detail-data"])):o("",!0),d.value==="\u5E74\u5EA6\u652F\u4ED8\u8BA1\u5212"?(l(),u(x,{key:4,"detail-data":t.detailData},null,8,["detail-data"])):o("",!0),d.value==="\u6838\u5FC3\u4E1A\u52A1"?(l(),u(S,{key:5,"detail-data":t.detailData},null,8,["detail-data"])):o("",!0),d.value==="\u5B89\u5168\u6295\u5165"?(l(),u(F,{key:6,"detail-data":t.detailData},null,8,["detail-data"])):o("",!0),d.value==="\u5DE5\u7A0B\u5F62\u8C61\u8FDB\u5EA6"?(l(),u(j,{key:7,"detail-data":t.detailData},null,8,["detail-data"])):o("",!0),d.value==="\u9644\u4EF6"?(l(),u(C,{key:8,"detail-data":t.detailData,"is-down-load-file":t.isDownLoadFile},null,8,["detail-data","is-down-load-file"])):o("",!0),d.value==="\u5907\u6CE8"?(l(),u(_,{key:9,"detail-data":t.detailData},null,8,["detail-data"])):o("",!0),d.value==="\u5E94\u7528\u4FE1\u606F"?(l(),u(B,{key:10,"detail-data":t.detailData,"is-down-load-file":t.isDownLoadFile},null,8,["detail-data","is-down-load-file"])):o("",!0),(l(!0),k($,null,L(t.detailData.safetyInputModular&&JSON.parse(t.detailData.safetyInputModular),(s,r)=>(l(),k("div",{key:r},[d.value===s.moduleName?(l(),u(J,{key:0,data:s,"module-num":r,"is-down-load-file":t.isDownLoadFile},null,8,["data","module-num","is-down-load-file"])):o("",!0)]))),128))]),_:1})}}});export{ua as default};