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
5.0KB

  1. import{d as V,r as i,J as N,c as n,e as f,G as C,i as t,h as a,j as p,f as P,F as T,H as B,t as R}from"./index.a14d36d1.js";const G=V({name:"exportFieldDialog"}),M=Object.assign(G,{props:{visible:{type:Boolean,default:!1,required:!0}},emits:["close","exportProject"],setup(g,{emit:x}){const y=g,m=x,c=i(),r=i({}),s=i({id:"\u9879\u76EEID",projectName:"\u9879\u76EE\u540D\u79F0",areaCode:"\u884C\u653F\u533A\u5212\u7F16\u7801",area:"\u884C\u653F\u533A\u5212\u540D\u79F0",responsibleMan:"\u9879\u76EE\u8D1F\u8D23\u4EBA",responsibleManMobile:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",contactName:"\u9879\u76EE\u8054\u7CFB\u4EBA",contactPhone:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",higherSuperOrg:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D",higherSuperOrgCode:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID",superOrg:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8",superOrgCode:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8\u6D59\u653F\u9489ID",buildOrgName:"\u5EFA\u8BBE\u5355\u4F4D",buildOrgZheJiangGovDingId:"\u5EFA\u8BBE\u5355\u4F4D\u6D59\u653F\u9489ID",orgCreditCode:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",projectType:"\u9879\u76EE\u7C7B\u578B",isFirst:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA",relatedExistsApplication:"\u5173\u8054\u5E94\u7528",relatedExistsApplicationCode:"\u5173\u8054\u5E94\u7528IRS\u7F16\u7801",declareAmount:"\u7533\u62A5\u91D1\u989D",approvedTotalInvestmentIncrease:"\u6279\u590D\u91D1\u989D",budgetSource:"\u9884\u7B97\u6765\u6E90",projectYear:"\u9884\u7B97\u5E74\u5EA6",projectIntroduction:"\u9879\u76EE\u7B80\u4ECB",buildBasis:"\u7ACB\u9879\u4F9D\u636E",buildLevel:"\u5EFA\u8BBE\u5C42\u7EA7",developCode:"\u53D1\u6539\u7F16\u7801",financialCode:"\u8D22\u653F\u7F16\u7801",informationValidity:"\u4FE1\u606F\u662F\u5426\u6709\u6548",isDigitalReform:"\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE",bizDomain:"\u7EFC\u5408\u5E94\u7528\u9886\u57DF",isCloud:"\u662F\u5426\u4E0A\u4E91",cloudType:"\u4E91\u7C7B\u578B",fourSystems:"\u56DB\u5927\u4F53\u7CFB",isTemporaryAugment:"\u662F\u5426\u4E34\u65F6\u589E\u8865",protectionLevel:"\u7B49\u4FDD\u7EA7\u522B",isSecretComments:"\u662F\u5426\u5BC6\u8BC4",businessNumber:"\u4E1A\u52A1\u7F16\u53F7",businessName:"\u4E1A\u52A1\u540D\u79F0",orgName:"\u5355\u4F4D\u540D\u79F0",softwareDevelopmentAmount:"\u8F6F\u4EF6\u5F00\u53D1",cloudHardwarePurchaseAmount:"\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u8D2D\u7F6E",thirdPartyAmount:"\u7B2C\u4E09\u65B9\u670D\u52A1",safetyInputTitle:"\u6295\u5165\u9879",safetyInputDescribe:"\u5185\u5BB9\u63CF\u8FF0",safetyInputAmount:"\u91D1\u989D",annualPlanAmount:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",annualPlanHaveAmount:"\u81EA\u6709\u8D44\u91D1",declareGovOwnFinanceAmount:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",declareGovSuperiorFinanceAmount:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",declareBankLendingAmount:"\u94F6\u884C\u8D37\u6B3E",declareOtherAmount:"\u5176\u4ED6\u8D44\u91D1",engineeringSpeedOne:"\u7B2C\u4E00\u5B63\u5EA6",engineeringSpeedTwo:"\u7B2C\u4E8C\u5B63\u5EA6",engineeringSpeedThree:"\u7B2C\u4E09\u5B63\u5EA6",engineeringSpeedFour:"\u7B2C\u56DB\u5B63\u5EA6",preliminaryPlanFile:"\u521D\u6B65\u65B9\u6848",supportingMaterialsFile:"\u4F50\u8BC1\u6750\u6599",projectRemarks:"\u5907\u6CE8"}),u=i(!1),d=i(!1),h=o=>{r.value.exportFields=o?Object.keys(s.value):[],d.value=!1},k=o=>{const e=o.length;u.value=e===Object.entries(s.value).length,d.value=e>0&&e<Object.entries(s.value).length},F={exportFields:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BFC\u51FA\u5B57\u6BB5",trigger:"blur"}]},A=async o=>{!o||await o.validate(async e=>{e&&m("exportProject",r.value.exportFields)})};return N(()=>y.visible,async o=>{o?console.log(o):(c.value.resetFields(),u.value=!1,d.value=!1)}),(o,e)=>{const v=n("el-checkbox"),O=n("el-checkbox-group"),I=n("el-form-item"),j=n("el-col"),w=n("el-row"),S=n("el-form"),b=n("el-button"),D=n("el-dialog");return f(),C(D,{"model-value":g.visible,title:"\u5BFC\u51FA",width:"80%","destroy-on-close":"",onClose:e[4]||(e[4]=l=>m("close"))},{footer:t(()=>[a(b,{type:"primary",onClick:e[2]||(e[2]=l=>A(c.value))},{default:t(()=>e[6]||(e[6]=[p(" \u63D0\u4EA4 ")])),_:1}),a(b,{onClick:e[3]||(e[3]=l=>m("close"))},{default:t(()=>e[7]||(e[7]=[p(" \u5173\u95ED ")])),_:1})]),default:t(()=>[a(S,{ref_key:"formRef",ref:c,model:r.value,rules:F,"label-width":"120px","label-suffix":":"},{default:t(()=>[a(w,null,{default:t(()=>[a(j,{span:24},{default:t(()=>[a(I,{label:"\u5BFC\u51FA\u5B57\u6BB5",prop:"exportFields"},{default:t(()=>[a(v,{modelValue:u.value,"onUpdate:modelValue":e[0]||(e[0]=l=>u.value=l),indeterminate:d.value,onChange:h},{default:t(()=>e[5]||(e[5]=[p("\u5168\u9009")])),_:1},8,["modelValue","indeterminate"]),a(O,{modelValue:r.value.exportFields,"onUpdate:modelValue":e[1]||(e[1]=l=>r.value.exportFields=l),onChange:k},{default:t(()=>[(f(!0),P(T,null,B(s.value,(l,_)=>(f(),C(v,{key:_,label:_,style:{width:"180px"}},{default:t(()=>[p(R(l),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{M as default};