diff --git a/lishui2/web/dist/assets/accessory.d340ca5b.js b/lishui2/web/dist/assets/accessory.bb9f97cb.js similarity index 97% rename from lishui2/web/dist/assets/accessory.d340ca5b.js rename to lishui2/web/dist/assets/accessory.bb9f97cb.js index b6ec4b1..f7b8599 100644 --- a/lishui2/web/dist/assets/accessory.d340ca5b.js +++ b/lishui2/web/dist/assets/accessory.bb9f97cb.js @@ -1 +1 @@ -import{h as F,f as v,c as s,b,e as y,r}from"./uploadAction.20ffefc6.js";import{d as S,D as k,r as A,c,e as N,I as j,i as l,h as o,u as t,g as h,t as w,j as D,k as p}from"./index.51e934d4.js";const O={class:"el-upload__tip"};const $={class:"el-upload__tip"},B={class:"el-upload__tip"},U={class:"el-upload__tip"},I={class:"el-upload__tip"},J=S({name:"accessory"}),E=Object.assign(J,{props:{detailData:{type:Object,default:()=>({})},projectType:{type:String,default:""},declareAmount:{type:Number}},setup(g,{expose:R}){const u=k.dictStore.uploadUrl,a=A({constructionPlanFile:[],preliminaryPlanFile:[],mainResponsibilitiesApplicantFile:[],supportingMaterialsFile:[],calculationTotalInvestmentFile:[],projectApplicationForm:[],mainAccusationDoc:[]}),x=A(),V={preliminaryPlanFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u521D\u6B65\u65B9\u6848",trigger:"blur"}],supportingMaterialsFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u4F50\u8BC1\u6750\u6599",trigger:"blur"}],calculationTotalInvestmentFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9879\u76EE\u603B\u6295\u8D44\u6D4B\u7B97\u660E\u7EC6",trigger:"blur"}],mainResponsibilitiesApplicantFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23(\u5355\u4F4D\u4E09\u5B9A\u65B9\u6848)",trigger:"blur"}],projectApplicationForm:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9879\u76EE\u7533\u62A5\u4E66"}],baseResearchReportFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A"}],constructionPlanFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u5EFA\u8BBE\u65B9\u6848"}],mainAccusationDoc:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23(\u5355\u4F4D\u4E09\u5B9A\u65B9\u6848)",trigger:"blur"}]};return R({validForm:i=>{x.value.validate(n=>{i(n)})},formData:a,setFormData:i=>{a.value={constructionPlanFile:i.constructionPlanFile?r(JSON.parse(i.constructionPlanFile)):[],preliminaryPlanFile:i.preliminaryPlanFile?r(JSON.parse(i.preliminaryPlanFile)):[],mainResponsibilitiesApplicantFile:i.mainResponsibilitiesApplicantFile?r(JSON.parse(i.mainResponsibilitiesApplicantFile)):[],supportingMaterialsFile:i.supportingMaterialsFile?r(JSON.parse(i.supportingMaterialsFile)):[],baseResearchReportFile:i.baseResearchReportFile?r(JSON.parse(i.baseResearchReportFile)):[],calculationTotalInvestmentFile:i.calculationTotalInvestmentFile?r(JSON.parse(i.calculationTotalInvestmentFile)):[],projectApplicationForm:i.projectApplicationForm?r(JSON.parse(i.projectApplicationForm)):[],baseProjOtherFile:i.baseProjOtherFile?r(JSON.parse(i.baseProjOtherFile)):[],mainAccusationDoc:i.mainAccusationDoc?r(JSON.parse(i.mainAccusationDoc)):[]}}}),(i,n)=>{const f=c("el-button"),m=c("el-upload"),d=c("el-form-item"),_=c("el-col"),T=c("el-row"),C=c("el-form");return N(),j(C,{ref_key:"formRef",ref:x,model:a.value,rules:V,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:l(()=>[o(T,{gutter:40},{default:l(()=>{var P;return[o(_,{span:12},{default:l(()=>[o(d,{label:"\u521D\u6B65\u8BBE\u8BA1\u65B9\u6848"},{default:l(()=>[o(m,{"file-list":a.value.preliminaryPlanFile,"onUpdate:fileList":n[0]||(n[0]=e=>a.value.preliminaryPlanFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(F)(e,a.value.preliminaryPlanFile,!0),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),"on-preview":t(b)},{tip:l(()=>[h("div",O," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1}),p("",!0),p("",!0),p("",!0),(g.projectType,p("",!0)),g.projectType!=="03"?(N(),j(_,{key:4,span:12},{default:l(()=>[o(d,{label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A",prop:"baseResearchReportFile"},{default:l(()=>[o(m,{"file-list":a.value.baseResearchReportFile,"onUpdate:fileList":n[5]||(n[5]=e=>a.value.baseResearchReportFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(F)(e,a.value.baseResearchReportFile,!0),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),"on-preview":t(b)},{tip:l(()=>[h("div",$," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})):p("",!0),i.$route.name==="declarePlan"||[10012,10013,10016].includes((P=g.detailData)==null?void 0:P.status)?(N(),j(_,{key:5,span:12},{default:l(()=>[o(d,{label:"\u5EFA\u8BBE\u65B9\u6848",prop:"constructionPlanFile"},{default:l(()=>[o(m,{"file-list":a.value.constructionPlanFile,"onUpdate:fileList":n[6]||(n[6]=e=>a.value.constructionPlanFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(F)(e,a.value.constructionPlanFile,!0),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),"on-preview":t(b)},{tip:l(()=>[h("div",B," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})):p("",!0),o(_,{span:12},{default:l(()=>[o(d,{label:"\u5176\u4ED6\u9644\u4EF6"},{default:l(()=>[o(m,{ref:"baseProjOtherFileRef","file-list":a.value.baseProjOtherFile,"onUpdate:fileList":n[7]||(n[7]=e=>a.value.baseProjOtherFile=e),class:"upload-demo",action:t(u),multiple:"","on-success":e=>t(F)(e,a.value.baseProjOtherFile),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),limit:10,"on-preview":t(b)},{tip:l(()=>[h("div",U," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{plain:"",type:"primary"},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1}),o(_,{span:12},{default:l(()=>[g.declareAmount>=1e3?(N(),j(d,{key:0,label:"\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23\u6587\u4EF6\uFF08\u5355\u4F4D\u4E09\u5B9A\u804C\u8D23\uFF09",prop:"mainAccusationDoc"},{default:l(()=>[o(m,{ref:"mainAccusationDocRef","file-list":a.value.mainAccusationDoc,"onUpdate:fileList":n[8]||(n[8]=e=>a.value.mainAccusationDoc=e),class:"upload-demo",action:t(u),multiple:"","on-success":e=>t(F)(e,a.value.mainAccusationDoc),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),limit:10,"on-preview":t(b)},{tip:l(()=>[h("div",I," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{plain:"",type:"primary"},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})):p("",!0)]),_:1})]}),_:1})]),_:1},8,["model"])}}});export{E as default}; +import{h as F,f as v,c as s,b,e as y,r}from"./uploadAction.6462630e.js";import{d as S,D as k,r as A,c,e as N,I as j,i as l,h as o,u as t,g as h,t as w,j as D,k as p}from"./index.07ccce2b.js";const O={class:"el-upload__tip"};const $={class:"el-upload__tip"},B={class:"el-upload__tip"},U={class:"el-upload__tip"},I={class:"el-upload__tip"},J=S({name:"accessory"}),E=Object.assign(J,{props:{detailData:{type:Object,default:()=>({})},projectType:{type:String,default:""},declareAmount:{type:Number}},setup(g,{expose:R}){const u=k.dictStore.uploadUrl,a=A({constructionPlanFile:[],preliminaryPlanFile:[],mainResponsibilitiesApplicantFile:[],supportingMaterialsFile:[],calculationTotalInvestmentFile:[],projectApplicationForm:[],mainAccusationDoc:[]}),x=A(),V={preliminaryPlanFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u521D\u6B65\u65B9\u6848",trigger:"blur"}],supportingMaterialsFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u4F50\u8BC1\u6750\u6599",trigger:"blur"}],calculationTotalInvestmentFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9879\u76EE\u603B\u6295\u8D44\u6D4B\u7B97\u660E\u7EC6",trigger:"blur"}],mainResponsibilitiesApplicantFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23(\u5355\u4F4D\u4E09\u5B9A\u65B9\u6848)",trigger:"blur"}],projectApplicationForm:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9879\u76EE\u7533\u62A5\u4E66"}],baseResearchReportFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A"}],constructionPlanFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u5EFA\u8BBE\u65B9\u6848"}],mainAccusationDoc:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23(\u5355\u4F4D\u4E09\u5B9A\u65B9\u6848)",trigger:"blur"}]};return R({validForm:i=>{x.value.validate(n=>{i(n)})},formData:a,setFormData:i=>{a.value={constructionPlanFile:i.constructionPlanFile?r(JSON.parse(i.constructionPlanFile)):[],preliminaryPlanFile:i.preliminaryPlanFile?r(JSON.parse(i.preliminaryPlanFile)):[],mainResponsibilitiesApplicantFile:i.mainResponsibilitiesApplicantFile?r(JSON.parse(i.mainResponsibilitiesApplicantFile)):[],supportingMaterialsFile:i.supportingMaterialsFile?r(JSON.parse(i.supportingMaterialsFile)):[],baseResearchReportFile:i.baseResearchReportFile?r(JSON.parse(i.baseResearchReportFile)):[],calculationTotalInvestmentFile:i.calculationTotalInvestmentFile?r(JSON.parse(i.calculationTotalInvestmentFile)):[],projectApplicationForm:i.projectApplicationForm?r(JSON.parse(i.projectApplicationForm)):[],baseProjOtherFile:i.baseProjOtherFile?r(JSON.parse(i.baseProjOtherFile)):[],mainAccusationDoc:i.mainAccusationDoc?r(JSON.parse(i.mainAccusationDoc)):[]}}}),(i,n)=>{const f=c("el-button"),m=c("el-upload"),d=c("el-form-item"),_=c("el-col"),T=c("el-row"),C=c("el-form");return N(),j(C,{ref_key:"formRef",ref:x,model:a.value,rules:V,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:l(()=>[o(T,{gutter:40},{default:l(()=>{var P;return[o(_,{span:12},{default:l(()=>[o(d,{label:"\u521D\u6B65\u8BBE\u8BA1\u65B9\u6848"},{default:l(()=>[o(m,{"file-list":a.value.preliminaryPlanFile,"onUpdate:fileList":n[0]||(n[0]=e=>a.value.preliminaryPlanFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(F)(e,a.value.preliminaryPlanFile,!0),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),"on-preview":t(b)},{tip:l(()=>[h("div",O," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1}),p("",!0),p("",!0),p("",!0),(g.projectType,p("",!0)),g.projectType!=="03"?(N(),j(_,{key:4,span:12},{default:l(()=>[o(d,{label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A",prop:"baseResearchReportFile"},{default:l(()=>[o(m,{"file-list":a.value.baseResearchReportFile,"onUpdate:fileList":n[5]||(n[5]=e=>a.value.baseResearchReportFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(F)(e,a.value.baseResearchReportFile,!0),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),"on-preview":t(b)},{tip:l(()=>[h("div",$," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})):p("",!0),i.$route.name==="declarePlan"||[10012,10013,10016].includes((P=g.detailData)==null?void 0:P.status)?(N(),j(_,{key:5,span:12},{default:l(()=>[o(d,{label:"\u5EFA\u8BBE\u65B9\u6848",prop:"constructionPlanFile"},{default:l(()=>[o(m,{"file-list":a.value.constructionPlanFile,"onUpdate:fileList":n[6]||(n[6]=e=>a.value.constructionPlanFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(F)(e,a.value.constructionPlanFile,!0),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),"on-preview":t(b)},{tip:l(()=>[h("div",B," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})):p("",!0),o(_,{span:12},{default:l(()=>[o(d,{label:"\u5176\u4ED6\u9644\u4EF6"},{default:l(()=>[o(m,{ref:"baseProjOtherFileRef","file-list":a.value.baseProjOtherFile,"onUpdate:fileList":n[7]||(n[7]=e=>a.value.baseProjOtherFile=e),class:"upload-demo",action:t(u),multiple:"","on-success":e=>t(F)(e,a.value.baseProjOtherFile),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),limit:10,"on-preview":t(b)},{tip:l(()=>[h("div",U," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{plain:"",type:"primary"},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1}),o(_,{span:12},{default:l(()=>[g.declareAmount>=1e3?(N(),j(d,{key:0,label:"\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23\u6587\u4EF6\uFF08\u5355\u4F4D\u4E09\u5B9A\u804C\u8D23\uFF09",prop:"mainAccusationDoc"},{default:l(()=>[o(m,{ref:"mainAccusationDocRef","file-list":a.value.mainAccusationDoc,"onUpdate:fileList":n[8]||(n[8]=e=>a.value.mainAccusationDoc=e),class:"upload-demo",action:t(u),multiple:"","on-success":e=>t(F)(e,a.value.mainAccusationDoc),"before-upload":e=>t(v)(e,{types:t(s)}),accept:t(s).map(e=>`.${e}`).join(","),limit:10,"on-preview":t(b)},{tip:l(()=>[h("div",I," \u652F\u6301"+w(t(y))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{plain:"",type:"primary"},{default:l(()=>[D("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})):p("",!0)]),_:1})]}),_:1})]),_:1},8,["model"])}}});export{E as default}; diff --git a/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.2515d6ea.js b/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.e09b8cdc.js similarity index 98% rename from lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.2515d6ea.js rename to lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.e09b8cdc.js index 5e2a32c..3914809 100644 --- a/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.2515d6ea.js +++ b/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.e09b8cdc.js @@ -1 +1 @@ -var $=(v,I,n)=>new Promise((t,s)=>{var V=o=>{try{c(n.next(o))}catch(f){s(f)}},g=o=>{try{c(n.throw(o))}catch(f){s(f)}},c=o=>o.done?t(o.value):Promise.resolve(o.value).then(V,g);c((n=n.apply(v,I)).next())});import{d as q,r as w,L as B,c as u,e as m,I as p,i as a,h as i,j as N,k as _,Y as J,g as j}from"./index.51e934d4.js";const M=["onClick"],P=q({name:"actualPerformanceIndicatorsDialog"}),A=Object.assign(P,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","setContent"],setup(v,{emit:I}){const n=v,t=w({perIndicator:[]}),s=w(),V={perIndicator:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u5B9E\u9645\u6210\u6548\u6307\u6807"}]},g=[{label:"\u6838\u5FC3\u4E1A\u52A1\u540D\u79F0",key:"businessName",slot:"businessName",width:140},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807\u540D\u79F0",key:"name",slot:"name",width:140},{label:"\u6570\u503C",key:"nums",slot:"nums"},{label:"\u5355\u4F4D",key:"unit",slot:"unit"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:70}],c=()=>{t.value.perIndicator.push({})},o=d=>{t.value.perIndicator.splice(d,1)},f=d=>$(this,null,function*(){!d||(yield d.validate(l=>$(this,null,function*(){if(l){const b=JSON.parse(JSON.stringify(t.value.perIndicator));x("setContent",b),x("close",!0)}})))}),k=w(!0),x=I;return B(()=>n.visible,d=>$(this,null,function*(){var l;d&&n.data?(k.value=!n.data,t.value.perIndicator=[JSON.parse(JSON.stringify(n.data))]):(k.value=!0,(l=s.value)==null||l.resetFields(),t.value={perIndicator:[]})})),(d,l)=>{const b=u("el-button"),h=u("el-input"),y=u("el-form-item"),C=u("el-input-number"),U=u("table-list"),O=u("el-form"),S=u("el-dialog");return m(),p(S,{"model-value":v.visible,title:"\u6DFB\u52A0",size:840,onClose:l[3]||(l[3]=e=>x("close"))},{footer:a(()=>[i(b,{type:"primary",onClick:l[1]||(l[1]=e=>f(s.value))},{default:a(()=>[N("\u63D0\u4EA4")]),_:1}),i(b,{onClick:l[2]||(l[2]=e=>x("close"))},{default:a(()=>[N("\u53D6\u6D88")]),_:1})]),default:a(()=>[i(O,{ref_key:"formRef",ref:s,"label-suffix":":",model:t.value,rules:V,"label-width":"160"},{default:a(()=>[k.value?(m(),p(b,{key:0,type:"primary",plain:"",icon:"Plus",class:"w-full mb-8",onClick:c},{default:a(()=>[N("\u6DFB\u52A0 ")]),_:1})):_("",!0),i(U,{pagination:!1,column:g,"empty-temp":!1,data:t.value.perIndicator},{businessName:a(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].businessName`,rules:[{required:!0,message:" "}],"label-width":"0",style:{"margin-bottom":"0"}},{default:a(()=>[i(h,{modelValue:t.value.perIndicator[e.$index].businessName,"onUpdate:modelValue":r=>t.value.perIndicator[e.$index].businessName=r,placeholder:"\u8BF7\u8F93\u5165",maxlength:"50"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("",!0)]),name:a(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].name`,rules:[{required:!0,message:" "}],"label-width":"0",style:{"margin-bottom":"0"}},{default:a(()=>[i(h,{modelValue:t.value.perIndicator[e.$index].name,"onUpdate:modelValue":r=>t.value.perIndicator[e.$index].name=r,placeholder:"\u8BF7\u8F93\u5165",maxlength:"50"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("",!0)]),nums:a(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].nums`,"label-width":"0",style:{"margin-bottom":"0"}},{default:a(()=>[i(C,{modelValue:t.value.perIndicator[e.$index].nums,"onUpdate:modelValue":r=>t.value.perIndicator[e.$index].nums=r,controls:!1,class:"flex-1 mr-8",placeholder:"\u8BF7\u8F93\u5165",onMousewheel:l[0]||(l[0]=J(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("",!0)]),unit:a(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].unit`,"label-width":"0",style:{"margin-bottom":"0"}},{default:a(()=>[i(h,{modelValue:t.value.perIndicator[e.$index].unit,"onUpdate:modelValue":r=>t.value.perIndicator[e.$index].unit=r,placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("",!0)]),action:a(({scope:e})=>[j("a",{class:"text-danger cursor-pointer",onClick:r=>o(e.$index)},"\u79FB\u9664",8,M)]),_:1},8,["data"])]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{A as default}; +var $=(v,I,n)=>new Promise((t,s)=>{var V=o=>{try{c(n.next(o))}catch(f){s(f)}},g=o=>{try{c(n.throw(o))}catch(f){s(f)}},c=o=>o.done?t(o.value):Promise.resolve(o.value).then(V,g);c((n=n.apply(v,I)).next())});import{d as q,r as w,L as B,c as u,e as m,I as p,i as a,h as i,j as N,k as _,Y as J,g as j}from"./index.07ccce2b.js";const M=["onClick"],P=q({name:"actualPerformanceIndicatorsDialog"}),A=Object.assign(P,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","setContent"],setup(v,{emit:I}){const n=v,t=w({perIndicator:[]}),s=w(),V={perIndicator:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u5B9E\u9645\u6210\u6548\u6307\u6807"}]},g=[{label:"\u6838\u5FC3\u4E1A\u52A1\u540D\u79F0",key:"businessName",slot:"businessName",width:140},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807\u540D\u79F0",key:"name",slot:"name",width:140},{label:"\u6570\u503C",key:"nums",slot:"nums"},{label:"\u5355\u4F4D",key:"unit",slot:"unit"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:70}],c=()=>{t.value.perIndicator.push({})},o=d=>{t.value.perIndicator.splice(d,1)},f=d=>$(this,null,function*(){!d||(yield d.validate(l=>$(this,null,function*(){if(l){const b=JSON.parse(JSON.stringify(t.value.perIndicator));x("setContent",b),x("close",!0)}})))}),k=w(!0),x=I;return B(()=>n.visible,d=>$(this,null,function*(){var l;d&&n.data?(k.value=!n.data,t.value.perIndicator=[JSON.parse(JSON.stringify(n.data))]):(k.value=!0,(l=s.value)==null||l.resetFields(),t.value={perIndicator:[]})})),(d,l)=>{const b=u("el-button"),h=u("el-input"),y=u("el-form-item"),C=u("el-input-number"),U=u("table-list"),O=u("el-form"),S=u("el-dialog");return m(),p(S,{"model-value":v.visible,title:"\u6DFB\u52A0",size:840,onClose:l[3]||(l[3]=e=>x("close"))},{footer:a(()=>[i(b,{type:"primary",onClick:l[1]||(l[1]=e=>f(s.value))},{default:a(()=>[N("\u63D0\u4EA4")]),_:1}),i(b,{onClick:l[2]||(l[2]=e=>x("close"))},{default:a(()=>[N("\u53D6\u6D88")]),_:1})]),default:a(()=>[i(O,{ref_key:"formRef",ref:s,"label-suffix":":",model:t.value,rules:V,"label-width":"160"},{default:a(()=>[k.value?(m(),p(b,{key:0,type:"primary",plain:"",icon:"Plus",class:"w-full mb-8",onClick:c},{default:a(()=>[N("\u6DFB\u52A0 ")]),_:1})):_("",!0),i(U,{pagination:!1,column:g,"empty-temp":!1,data:t.value.perIndicator},{businessName:a(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].businessName`,rules:[{required:!0,message:" "}],"label-width":"0",style:{"margin-bottom":"0"}},{default:a(()=>[i(h,{modelValue:t.value.perIndicator[e.$index].businessName,"onUpdate:modelValue":r=>t.value.perIndicator[e.$index].businessName=r,placeholder:"\u8BF7\u8F93\u5165",maxlength:"50"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("",!0)]),name:a(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].name`,rules:[{required:!0,message:" "}],"label-width":"0",style:{"margin-bottom":"0"}},{default:a(()=>[i(h,{modelValue:t.value.perIndicator[e.$index].name,"onUpdate:modelValue":r=>t.value.perIndicator[e.$index].name=r,placeholder:"\u8BF7\u8F93\u5165",maxlength:"50"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("",!0)]),nums:a(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].nums`,"label-width":"0",style:{"margin-bottom":"0"}},{default:a(()=>[i(C,{modelValue:t.value.perIndicator[e.$index].nums,"onUpdate:modelValue":r=>t.value.perIndicator[e.$index].nums=r,controls:!1,class:"flex-1 mr-8",placeholder:"\u8BF7\u8F93\u5165",onMousewheel:l[0]||(l[0]=J(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("",!0)]),unit:a(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].unit`,"label-width":"0",style:{"margin-bottom":"0"}},{default:a(()=>[i(h,{modelValue:t.value.perIndicator[e.$index].unit,"onUpdate:modelValue":r=>t.value.perIndicator[e.$index].unit=r,placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("",!0)]),action:a(({scope:e})=>[j("a",{class:"text-danger cursor-pointer",onClick:r=>o(e.$index)},"\u79FB\u9664",8,M)]),_:1},8,["data"])]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{A as default}; diff --git a/lishui2/web/dist/assets/addExpertDialog.3e7633bb.js b/lishui2/web/dist/assets/addExpertDialog.4b1773c9.js similarity index 97% rename from lishui2/web/dist/assets/addExpertDialog.3e7633bb.js rename to lishui2/web/dist/assets/addExpertDialog.4b1773c9.js index 1117da6..12180a6 100644 --- a/lishui2/web/dist/assets/addExpertDialog.3e7633bb.js +++ b/lishui2/web/dist/assets/addExpertDialog.4b1773c9.js @@ -1 +1 @@ -var q=Object.defineProperty,A=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var L=(r,n,l)=>n in r?q(r,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[n]=l,k=(r,n)=>{for(var l in n||(n={}))G.call(n,l)&&L(r,l,n[l]);if(D)for(var l of D(n))H.call(n,l)&&L(r,l,n[l]);return r},E=(r,n)=>A(r,F(n));var C=(r,n,l)=>new Promise((_,v)=>{var o=d=>{try{y(l.next(d))}catch(p){v(p)}},g=d=>{try{y(l.throw(d))}catch(p){v(p)}},y=d=>d.done?_(d.value):Promise.resolve(d.value).then(o,g);y((l=l.apply(r,n)).next())});import{c as K}from"./expertStore.d5f84abe.js";import{d as M,b as Q,r as h,L as W,H as X,D as Y,c as f,e as Z,I as ee,i as a,h as t,j as w,g as U,t as te,x as ae}from"./index.51e934d4.js";const le={class:"search mb-16"},oe=M({name:"driverDialog"}),ie=Object.assign(oe,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0},selectExpertType:{type:Number,default:1}},emits:["close","getUserData"],setup(r,{emit:n}){const{proxy:l}=ae(),_=r,v=n,o=Q({expertRegionLevel:void 0,expertName:void 0,company:void 0}),g=h(),y=h(0),d=[{type:"selection",reserveSelection:!0,width:"55"},{label:"\u59D3\u540D",key:"expertName",prop:"expertName"},{label:"\u5DE5\u4F5C\u5355\u4F4D",key:"company",prop:"company",showOverflowTooltip:!0,width:250},{label:"\u4E13\u5BB6\u7EA7\u522B",key:"expertRegionInfo",slot:"expertRegionInfo",width:"150"},{label:"\u624B\u673A\u53F7\u7801",key:"phoneNo",prop:"phoneNo",width:"150"},{label:"\u4E13\u5BB6\u7C7B\u578B",key:"expertType[0].dictionaryName",prop:"expertType[0].dictionaryName",width:"150"}],p=h([]),N=(...i)=>C(this,[...i],function*(u=(e=>(e=g.value)==null?void 0:e.pageParams)()){const s=yield K(E(k(k({},u),o),{expertRegionInfo:o.expertRegionInfo?{regionCode:o.expertRegionInfo.slice(-1)[0].split("##")[0],regionLevel:o.expertRegionInfo.slice(-1)[0].split("##")[2],regionName:o.expertRegionInfo.slice(-1)[0].split("##")[1]}:void 0}));y.value=s.data.total,p.value=s.data.records||[];const c=JSON.parse(JSON.stringify(x.value));c!=null&&c.length&&p.value&&p.value.forEach(I=>{c.map(b=>b.userId*1).includes(I.userId)&&g.value.toggleRowSelect(I,!0)})}),z=()=>{N()},B=()=>{o.expertRegionInfo=void 0,o.expertName=void 0,o.company=void 0,g.value.pageParams.pageNumber=1,g.value.pageParams.pageSize=10,N()},x=h([]),O=u=>{const e=u.map(i=>i.userId);p.value.forEach(i=>{e.includes(i.userId)?x.value.push(i):x.value=x.value.filter(s=>s.userId!==i.userId)})},j=()=>{const u={},e=x.value.reduce((i,s)=>(u[s.userId]||(u[s.userId]=i.push(s)),i),[]);_.selectExpertType===1&&(e==null?void 0:e.length)>10?l.$message.warning("\u6700\u591A\u9009\u62E910\u4F4D\u4EBA\u5458"):v("getUserData",e)},V=h([]);return W(()=>_.visible,u=>C(this,null,function*(){var e;if(u){(e=_.data)!=null&&e.length&&(x.value=_.data.map(s=>s));const i=yield X({regionCode:331100,regionLevel:2});V.value=[i.data],N(),Y.userStore.setRoleStore()}})),(u,e)=>{const i=f("el-cascader"),s=f("el-form-item"),c=f("el-col"),I=f("el-input"),R=f("el-row"),b=f("el-button"),P=f("el-form"),$=f("table-list"),J=f("el-dialog");return Z(),ee(J,{"model-value":r.visible,title:"\u9009\u62E9\u4EBA\u5458",width:"840px","destroy-on-close":"",onClose:e[4]||(e[4]=m=>v("close"))},{footer:a(()=>[t(b,{type:"primary",size:"small",onClick:j},{default:a(()=>[w(" \u786E\u5B9A ")]),_:1}),t(b,{size:"small",onClick:e[3]||(e[3]=m=>v("close"))},{default:a(()=>[w(" \u5173\u95ED ")]),_:1})]),default:a(()=>[U("div",le,[t(P,{"label-suffix":":",model:o,size:"small"},{default:a(()=>[t(R,{gutter:16,class:"mb-16"},{default:a(()=>[t(c,{span:8},{default:a(()=>[t(s,{label:"\u4E13\u5BB6\u7EA7\u522B"},{default:a(()=>[t(i,{modelValue:o.expertRegionInfo,"onUpdate:modelValue":e[0]||(e[0]=m=>o.expertRegionInfo=m),options:V.value,placeholder:"\u8BF7\u9009\u62E9",class:"w-full",props:{value:"unionCode",label:"name"}},null,8,["modelValue","options"])]),_:1})]),_:1}),t(c,{span:8},{default:a(()=>[t(s,{label:"\u4E13\u5BB6\u59D3\u540D"},{default:a(()=>[t(I,{modelValue:o.expertName,"onUpdate:modelValue":e[1]||(e[1]=m=>o.expertName=m),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(c,{span:8},{default:a(()=>[t(s,{label:"\u5DE5\u4F5C\u5355\u4F4D"},{default:a(()=>[t(I,{modelValue:o.company,"onUpdate:modelValue":e[2]||(e[2]=m=>o.company=m),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(R,null,{default:a(()=>[t(c,{span:24},{default:a(()=>[t(s,{class:"btn"},{default:a(()=>[t(b,{type:"primary",onClick:z},{default:a(()=>[w("\u67E5\u8BE2")]),_:1}),t(b,{onClick:B},{default:a(()=>[w("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),t($,{ref_key:"tableListRef",ref:g,column:d,data:p.value,total:y.value,"row-key":"userId",onSelectionChange:O,onGetTableData:N},{expertRegionInfo:a(({scope:m})=>{var S,T;return[U("span",null,te(((T=(S=m.row)==null?void 0:S.expertRegionInfo)==null?void 0:T.regionName)||"-"),1)]}),_:1},8,["data","total"])]),_:1},8,["model-value"])}}});export{ie as default}; +var q=Object.defineProperty,A=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var L=(r,n,l)=>n in r?q(r,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[n]=l,k=(r,n)=>{for(var l in n||(n={}))G.call(n,l)&&L(r,l,n[l]);if(D)for(var l of D(n))H.call(n,l)&&L(r,l,n[l]);return r},E=(r,n)=>A(r,F(n));var C=(r,n,l)=>new Promise((_,v)=>{var o=d=>{try{y(l.next(d))}catch(p){v(p)}},g=d=>{try{y(l.throw(d))}catch(p){v(p)}},y=d=>d.done?_(d.value):Promise.resolve(d.value).then(o,g);y((l=l.apply(r,n)).next())});import{c as K}from"./expertStore.1fac67af.js";import{d as M,b as Q,r as h,L as W,H as X,D as Y,c as f,e as Z,I as ee,i as a,h as t,j as w,g as U,t as te,x as ae}from"./index.07ccce2b.js";const le={class:"search mb-16"},oe=M({name:"driverDialog"}),ie=Object.assign(oe,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0},selectExpertType:{type:Number,default:1}},emits:["close","getUserData"],setup(r,{emit:n}){const{proxy:l}=ae(),_=r,v=n,o=Q({expertRegionLevel:void 0,expertName:void 0,company:void 0}),g=h(),y=h(0),d=[{type:"selection",reserveSelection:!0,width:"55"},{label:"\u59D3\u540D",key:"expertName",prop:"expertName"},{label:"\u5DE5\u4F5C\u5355\u4F4D",key:"company",prop:"company",showOverflowTooltip:!0,width:250},{label:"\u4E13\u5BB6\u7EA7\u522B",key:"expertRegionInfo",slot:"expertRegionInfo",width:"150"},{label:"\u624B\u673A\u53F7\u7801",key:"phoneNo",prop:"phoneNo",width:"150"},{label:"\u4E13\u5BB6\u7C7B\u578B",key:"expertType[0].dictionaryName",prop:"expertType[0].dictionaryName",width:"150"}],p=h([]),N=(...i)=>C(this,[...i],function*(u=(e=>(e=g.value)==null?void 0:e.pageParams)()){const s=yield K(E(k(k({},u),o),{expertRegionInfo:o.expertRegionInfo?{regionCode:o.expertRegionInfo.slice(-1)[0].split("##")[0],regionLevel:o.expertRegionInfo.slice(-1)[0].split("##")[2],regionName:o.expertRegionInfo.slice(-1)[0].split("##")[1]}:void 0}));y.value=s.data.total,p.value=s.data.records||[];const c=JSON.parse(JSON.stringify(x.value));c!=null&&c.length&&p.value&&p.value.forEach(I=>{c.map(b=>b.userId*1).includes(I.userId)&&g.value.toggleRowSelect(I,!0)})}),z=()=>{N()},B=()=>{o.expertRegionInfo=void 0,o.expertName=void 0,o.company=void 0,g.value.pageParams.pageNumber=1,g.value.pageParams.pageSize=10,N()},x=h([]),O=u=>{const e=u.map(i=>i.userId);p.value.forEach(i=>{e.includes(i.userId)?x.value.push(i):x.value=x.value.filter(s=>s.userId!==i.userId)})},j=()=>{const u={},e=x.value.reduce((i,s)=>(u[s.userId]||(u[s.userId]=i.push(s)),i),[]);_.selectExpertType===1&&(e==null?void 0:e.length)>10?l.$message.warning("\u6700\u591A\u9009\u62E910\u4F4D\u4EBA\u5458"):v("getUserData",e)},V=h([]);return W(()=>_.visible,u=>C(this,null,function*(){var e;if(u){(e=_.data)!=null&&e.length&&(x.value=_.data.map(s=>s));const i=yield X({regionCode:331100,regionLevel:2});V.value=[i.data],N(),Y.userStore.setRoleStore()}})),(u,e)=>{const i=f("el-cascader"),s=f("el-form-item"),c=f("el-col"),I=f("el-input"),R=f("el-row"),b=f("el-button"),P=f("el-form"),$=f("table-list"),J=f("el-dialog");return Z(),ee(J,{"model-value":r.visible,title:"\u9009\u62E9\u4EBA\u5458",width:"840px","destroy-on-close":"",onClose:e[4]||(e[4]=m=>v("close"))},{footer:a(()=>[t(b,{type:"primary",size:"small",onClick:j},{default:a(()=>[w(" \u786E\u5B9A ")]),_:1}),t(b,{size:"small",onClick:e[3]||(e[3]=m=>v("close"))},{default:a(()=>[w(" \u5173\u95ED ")]),_:1})]),default:a(()=>[U("div",le,[t(P,{"label-suffix":":",model:o,size:"small"},{default:a(()=>[t(R,{gutter:16,class:"mb-16"},{default:a(()=>[t(c,{span:8},{default:a(()=>[t(s,{label:"\u4E13\u5BB6\u7EA7\u522B"},{default:a(()=>[t(i,{modelValue:o.expertRegionInfo,"onUpdate:modelValue":e[0]||(e[0]=m=>o.expertRegionInfo=m),options:V.value,placeholder:"\u8BF7\u9009\u62E9",class:"w-full",props:{value:"unionCode",label:"name"}},null,8,["modelValue","options"])]),_:1})]),_:1}),t(c,{span:8},{default:a(()=>[t(s,{label:"\u4E13\u5BB6\u59D3\u540D"},{default:a(()=>[t(I,{modelValue:o.expertName,"onUpdate:modelValue":e[1]||(e[1]=m=>o.expertName=m),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(c,{span:8},{default:a(()=>[t(s,{label:"\u5DE5\u4F5C\u5355\u4F4D"},{default:a(()=>[t(I,{modelValue:o.company,"onUpdate:modelValue":e[2]||(e[2]=m=>o.company=m),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(R,null,{default:a(()=>[t(c,{span:24},{default:a(()=>[t(s,{class:"btn"},{default:a(()=>[t(b,{type:"primary",onClick:z},{default:a(()=>[w("\u67E5\u8BE2")]),_:1}),t(b,{onClick:B},{default:a(()=>[w("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),t($,{ref_key:"tableListRef",ref:g,column:d,data:p.value,total:y.value,"row-key":"userId",onSelectionChange:O,onGetTableData:N},{expertRegionInfo:a(({scope:m})=>{var S,T;return[U("span",null,te(((T=(S=m.row)==null?void 0:S.expertRegionInfo)==null?void 0:T.regionName)||"-"),1)]}),_:1},8,["data","total"])]),_:1},8,["model-value"])}}});export{ie as default}; diff --git a/lishui2/web/dist/assets/addProjectDialog.9415c196.js b/lishui2/web/dist/assets/addProjectDialog.0ad7a97b.js similarity index 96% rename from lishui2/web/dist/assets/addProjectDialog.9415c196.js rename to lishui2/web/dist/assets/addProjectDialog.0ad7a97b.js index 1878e2a..e52ee5a 100644 --- a/lishui2/web/dist/assets/addProjectDialog.9415c196.js +++ b/lishui2/web/dist/assets/addProjectDialog.0ad7a97b.js @@ -1 +1 @@ -var L=Object.defineProperty,x=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var O=(l,t,e)=>t in l?L(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e,h=(l,t)=>{for(var e in t||(t={}))B.call(t,e)&&O(l,e,t[e]);if(N)for(var e of N(t))P.call(t,e)&&O(l,e,t[e]);return l},D=(l,t)=>x(l,I(t));var T=(l,t,e)=>new Promise((d,p)=>{var g=o=>{try{y(e.next(o))}catch(u){p(u)}},v=o=>{try{y(e.throw(o))}catch(u){p(u)}},y=o=>o.done?d(o.value):Promise.resolve(o.value).then(g,v);y((e=e.apply(l,t)).next())});import{v as R,g as z}from"./reviewMeeting.1ddc874f.js";import{d as E,D as J,r as j,b as V,L as W,c as _,e as Y,I as $,i as b,h as w,j as k,t as q,u as G,N as M}from"./index.51e934d4.js";const F=E({name:"driverDialog"}),X=Object.assign(F,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0},meetingType:{type:String,default:"1"},dictionaryList:{type:Array,default:void 0}},emits:["close","getProjectData"],setup(l,{emit:t}){const{projectTypeOptions:e}=J.dictStore.globalDicts||{},d=l,p=t,g=j(),v=j(0),y=V([{type:"selection",width:"50"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrg",prop:"buildOrg",minWidth:"120",showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",slot:"projectTypeName",prop:"projectTypeName",width:"100"},{label:"\u7533\u62A5\u91D1\u989D",key:"declaredAmount",prop:"declaredAmount",width:"100"},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:"80"}]),o=j([]),u=(...r)=>T(this,[...r],function*(n=(i=>(i=g.value)==null?void 0:i.pageParams)()){var f;let a;d.meetingType==="6"?(a=yield R(h({},n)),v.value=((f=a.data)==null?void 0:f.length)||0,o.value=a.data.map(s=>D(h({},s),{id:s.projectId,buildOrg:s.buildOrgName,declaredAmount:s.declareAmount}))||[]):(a=yield z(h({meetingType:d.meetingType},n)),v.value=a.data.total,o.value=a.data.records||[]),yield M();const m=JSON.parse(JSON.stringify(c.value))||[];m!=null&&m.length&&o.value&&o.value.forEach(s=>{m.map(A=>A.id*1).includes(s.id)&&g.value.toggleRowSelect(s,!0)})}),c=j([]),C=n=>{const i=n.map(r=>r.id);o.value.forEach(r=>{i.includes(r.id)?c.value.push(r):c.value=c.value.filter(a=>a.id!==r.id)})},S=()=>{const n={},i=c.value.reduce((r,a)=>(n[a.id]||(n[a.id]=r.push(a)),r),[]);p("getProjectData",i)};return W(()=>d.visible,n=>T(this,null,function*(){var i;n&&((i=d.data)!=null&&i.length?c.value=d.data.map(r=>r):c.value=[],u())})),(n,i)=>{const r=_("table-list"),a=_("el-button"),m=_("el-dialog");return Y(),$(m,{"model-value":l.visible,title:"\u6DFB\u52A0\u9879\u76EE",width:"840px","destroy-on-close":"",onClose:i[1]||(i[1]=f=>p("close"))},{footer:b(()=>[w(a,{type:"primary",size:"small",onClick:S},{default:b(()=>[k(" \u786E\u5B9A ")]),_:1}),w(a,{size:"small",onClick:i[0]||(i[0]=f=>p("close"))},{default:b(()=>[k(" \u5173\u95ED ")]),_:1})]),default:b(()=>[w(r,{ref_key:"tableListRef",ref:g,column:y,data:o.value,total:v.value,"row-key":"id",pagination:d.meetingType!=="6",onSelectionChange:C,onGetTableData:u},{projectTypeName:b(({scope:f})=>{var s;return[k(q(G(e)[(s=f.row)==null?void 0:s.projectType]),1)]}),_:1},8,["column","data","total","pagination"])]),_:1},8,["model-value"])}}});export{X as default}; +var L=Object.defineProperty,x=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var O=(l,t,e)=>t in l?L(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e,h=(l,t)=>{for(var e in t||(t={}))B.call(t,e)&&O(l,e,t[e]);if(N)for(var e of N(t))P.call(t,e)&&O(l,e,t[e]);return l},D=(l,t)=>x(l,I(t));var T=(l,t,e)=>new Promise((d,p)=>{var g=o=>{try{y(e.next(o))}catch(u){p(u)}},v=o=>{try{y(e.throw(o))}catch(u){p(u)}},y=o=>o.done?d(o.value):Promise.resolve(o.value).then(g,v);y((e=e.apply(l,t)).next())});import{v as R,g as z}from"./reviewMeeting.4383c176.js";import{d as E,D as J,r as j,b as V,L as W,c as _,e as Y,I as $,i as b,h as w,j as k,t as q,u as G,N as M}from"./index.07ccce2b.js";const F=E({name:"driverDialog"}),X=Object.assign(F,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0},meetingType:{type:String,default:"1"},dictionaryList:{type:Array,default:void 0}},emits:["close","getProjectData"],setup(l,{emit:t}){const{projectTypeOptions:e}=J.dictStore.globalDicts||{},d=l,p=t,g=j(),v=j(0),y=V([{type:"selection",width:"50"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrg",prop:"buildOrg",minWidth:"120",showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",slot:"projectTypeName",prop:"projectTypeName",width:"100"},{label:"\u7533\u62A5\u91D1\u989D",key:"declaredAmount",prop:"declaredAmount",width:"100"},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:"80"}]),o=j([]),u=(...r)=>T(this,[...r],function*(n=(i=>(i=g.value)==null?void 0:i.pageParams)()){var f;let a;d.meetingType==="6"?(a=yield R(h({},n)),v.value=((f=a.data)==null?void 0:f.length)||0,o.value=a.data.map(s=>D(h({},s),{id:s.projectId,buildOrg:s.buildOrgName,declaredAmount:s.declareAmount}))||[]):(a=yield z(h({meetingType:d.meetingType},n)),v.value=a.data.total,o.value=a.data.records||[]),yield M();const m=JSON.parse(JSON.stringify(c.value))||[];m!=null&&m.length&&o.value&&o.value.forEach(s=>{m.map(A=>A.id*1).includes(s.id)&&g.value.toggleRowSelect(s,!0)})}),c=j([]),C=n=>{const i=n.map(r=>r.id);o.value.forEach(r=>{i.includes(r.id)?c.value.push(r):c.value=c.value.filter(a=>a.id!==r.id)})},S=()=>{const n={},i=c.value.reduce((r,a)=>(n[a.id]||(n[a.id]=r.push(a)),r),[]);p("getProjectData",i)};return W(()=>d.visible,n=>T(this,null,function*(){var i;n&&((i=d.data)!=null&&i.length?c.value=d.data.map(r=>r):c.value=[],u())})),(n,i)=>{const r=_("table-list"),a=_("el-button"),m=_("el-dialog");return Y(),$(m,{"model-value":l.visible,title:"\u6DFB\u52A0\u9879\u76EE",width:"840px","destroy-on-close":"",onClose:i[1]||(i[1]=f=>p("close"))},{footer:b(()=>[w(a,{type:"primary",size:"small",onClick:S},{default:b(()=>[k(" \u786E\u5B9A ")]),_:1}),w(a,{size:"small",onClick:i[0]||(i[0]=f=>p("close"))},{default:b(()=>[k(" \u5173\u95ED ")]),_:1})]),default:b(()=>[w(r,{ref_key:"tableListRef",ref:g,column:y,data:o.value,total:v.value,"row-key":"id",pagination:d.meetingType!=="6",onSelectionChange:C,onGetTableData:u},{projectTypeName:b(({scope:f})=>{var s;return[k(q(G(e)[(s=f.row)==null?void 0:s.projectType]),1)]}),_:1},8,["column","data","total","pagination"])]),_:1},8,["model-value"])}}});export{X as default}; diff --git a/lishui2/web/dist/assets/annualPaymentPlan.89aedbcf.js b/lishui2/web/dist/assets/annualPaymentPlan.10b51b71.js similarity index 98% rename from lishui2/web/dist/assets/annualPaymentPlan.89aedbcf.js rename to lishui2/web/dist/assets/annualPaymentPlan.10b51b71.js index 22a3d9d..c33878e 100644 --- a/lishui2/web/dist/assets/annualPaymentPlan.89aedbcf.js +++ b/lishui2/web/dist/assets/annualPaymentPlan.10b51b71.js @@ -1 +1 @@ -import{d as _,r as v,c as s,e as b,I as V,i as a,h as e,Y as d}from"./index.51e934d4.js";const w=_({name:"annualPaymentPlan"}),x=Object.assign(w,{setup(F,{expose:f}){const l=v({}),p=v(),r=(t,n,o)=>{n||o(),/^\d+(\.\d{1,6})?$/.test(n)?n*1>=1e8?o("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):o():o("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},g={annualPlanAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanHaveAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u81EA\u6709\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanGovOwnFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanGovSuperiorFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanBankLendingAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u94F6\u884C\u8D37\u6B3E",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanOtherAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5176\u4ED6",trigger:"blur"},{validator:r,trigger:"blur"}]};return f({validForm:t=>{p.value.validate(n=>{t(n)})},formData:l,setFormData:t=>{l.value={annualPlanAmount:t.annualPlanAmount,annualPlanHaveAmount:t.annualPlanHaveAmount,annualPlanGovOwnFinanceAmount:t.annualPlanGovOwnFinanceAmount,annualPlanGovSuperiorFinanceAmount:t.annualPlanGovSuperiorFinanceAmount,annualPlanBankLendingAmount:t.annualPlanBankLendingAmount,annualPlanOtherAmount:t.annualPlanOtherAmount}}}),(t,n)=>{const o=s("el-input-number"),m=s("el-form-item"),i=s("el-col"),P=s("el-row"),A=s("el-form");return b(),V(A,{ref_key:"formRef",ref:p,model:l.value,rules:g,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:a(()=>[e(P,{gutter:40},{default:a(()=>[e(i,{span:24},{default:a(()=>[e(m,{label:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",prop:"annualPlanAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanAmount,"onUpdate:modelValue":n[0]||(n[0]=u=>l.value.annualPlanAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[1]||(n[1]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u81EA\u6709\u8D44\u91D1",prop:"annualPlanHaveAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanHaveAmount,"onUpdate:modelValue":n[2]||(n[2]=u=>l.value.annualPlanHaveAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[3]||(n[3]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",prop:"annualPlanGovOwnFinanceAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanGovOwnFinanceAmount,"onUpdate:modelValue":n[4]||(n[4]=u=>l.value.annualPlanGovOwnFinanceAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[5]||(n[5]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",prop:"annualPlanGovSuperiorFinanceAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanGovSuperiorFinanceAmount,"onUpdate:modelValue":n[6]||(n[6]=u=>l.value.annualPlanGovSuperiorFinanceAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[7]||(n[7]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u94F6\u884C\u8D37\u6B3E",prop:"annualPlanBankLendingAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanBankLendingAmount,"onUpdate:modelValue":n[8]||(n[8]=u=>l.value.annualPlanBankLendingAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[9]||(n[9]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u5176\u4ED6",prop:"annualPlanOtherAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanOtherAmount,"onUpdate:modelValue":n[10]||(n[10]=u=>l.value.annualPlanOtherAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[11]||(n[11]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{x as default}; +import{d as _,r as v,c as s,e as b,I as V,i as a,h as e,Y as d}from"./index.07ccce2b.js";const w=_({name:"annualPaymentPlan"}),x=Object.assign(w,{setup(F,{expose:f}){const l=v({}),p=v(),r=(t,n,o)=>{n||o(),/^\d+(\.\d{1,6})?$/.test(n)?n*1>=1e8?o("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):o():o("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},g={annualPlanAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanHaveAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u81EA\u6709\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanGovOwnFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanGovSuperiorFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanBankLendingAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u94F6\u884C\u8D37\u6B3E",trigger:"blur"},{validator:r,trigger:"blur"}],annualPlanOtherAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5176\u4ED6",trigger:"blur"},{validator:r,trigger:"blur"}]};return f({validForm:t=>{p.value.validate(n=>{t(n)})},formData:l,setFormData:t=>{l.value={annualPlanAmount:t.annualPlanAmount,annualPlanHaveAmount:t.annualPlanHaveAmount,annualPlanGovOwnFinanceAmount:t.annualPlanGovOwnFinanceAmount,annualPlanGovSuperiorFinanceAmount:t.annualPlanGovSuperiorFinanceAmount,annualPlanBankLendingAmount:t.annualPlanBankLendingAmount,annualPlanOtherAmount:t.annualPlanOtherAmount}}}),(t,n)=>{const o=s("el-input-number"),m=s("el-form-item"),i=s("el-col"),P=s("el-row"),A=s("el-form");return b(),V(A,{ref_key:"formRef",ref:p,model:l.value,rules:g,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:a(()=>[e(P,{gutter:40},{default:a(()=>[e(i,{span:24},{default:a(()=>[e(m,{label:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",prop:"annualPlanAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanAmount,"onUpdate:modelValue":n[0]||(n[0]=u=>l.value.annualPlanAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[1]||(n[1]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u81EA\u6709\u8D44\u91D1",prop:"annualPlanHaveAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanHaveAmount,"onUpdate:modelValue":n[2]||(n[2]=u=>l.value.annualPlanHaveAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[3]||(n[3]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",prop:"annualPlanGovOwnFinanceAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanGovOwnFinanceAmount,"onUpdate:modelValue":n[4]||(n[4]=u=>l.value.annualPlanGovOwnFinanceAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[5]||(n[5]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",prop:"annualPlanGovSuperiorFinanceAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanGovSuperiorFinanceAmount,"onUpdate:modelValue":n[6]||(n[6]=u=>l.value.annualPlanGovSuperiorFinanceAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[7]||(n[7]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u94F6\u884C\u8D37\u6B3E",prop:"annualPlanBankLendingAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanBankLendingAmount,"onUpdate:modelValue":n[8]||(n[8]=u=>l.value.annualPlanBankLendingAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[9]||(n[9]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:a(()=>[e(m,{label:"\u5176\u4ED6",prop:"annualPlanOtherAmount"},{default:a(()=>[e(o,{modelValue:l.value.annualPlanOtherAmount,"onUpdate:modelValue":n[10]||(n[10]=u=>l.value.annualPlanOtherAmount=u),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:n[11]||(n[11]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{x as default}; diff --git a/lishui2/web/dist/assets/annualPlanStore.dc3bd66b.js b/lishui2/web/dist/assets/annualPlanStore.b6d9a052.js similarity index 88% rename from lishui2/web/dist/assets/annualPlanStore.dc3bd66b.js rename to lishui2/web/dist/assets/annualPlanStore.b6d9a052.js index 4d7d43c..77ad01d 100644 --- a/lishui2/web/dist/assets/annualPlanStore.dc3bd66b.js +++ b/lishui2/web/dist/assets/annualPlanStore.b6d9a052.js @@ -1 +1 @@ -import{y as n}from"./index.51e934d4.js";const s=a=>n.get("/api/v1/annualPlan/list",{params:a}),o=a=>n.post("/api/v1/annualPlan/suspendAnnualPlan",a),p=a=>n.post("/api/v1/annualPlan/projectApproved",a),l=a=>n.post("/api/v1/annualPlan/startProjectDeclared",a),e=a=>n.post("/api/v1/annualPlan/importAnnualPlan",a),r=a=>n.post("/api/v1/annualPlan/exportModifyList",a,{responseType:"blob"}),i=a=>n.post("/api/v1/annualPlan/modify",a),c=a=>n.post("/api/v1/annualPlan/exportList",a,{responseType:"blob"});export{i as a,p as b,e as c,o as d,r as e,s as l,c as p,l as s}; +import{y as n}from"./index.07ccce2b.js";const s=a=>n.get("/api/v1/annualPlan/list",{params:a}),o=a=>n.post("/api/v1/annualPlan/suspendAnnualPlan",a),p=a=>n.post("/api/v1/annualPlan/projectApproved",a),l=a=>n.post("/api/v1/annualPlan/startProjectDeclared",a),e=a=>n.post("/api/v1/annualPlan/importAnnualPlan",a),r=a=>n.post("/api/v1/annualPlan/exportModifyList",a,{responseType:"blob"}),i=a=>n.post("/api/v1/annualPlan/modify",a),c=a=>n.post("/api/v1/annualPlan/exportList",a,{responseType:"blob"});export{i as a,p as b,e as c,o as d,r as e,s as l,c as p,l as s}; diff --git a/lishui2/web/dist/assets/appBasicInfo.37b1d820.js b/lishui2/web/dist/assets/appBasicInfo.0b999dbd.js similarity index 98% rename from lishui2/web/dist/assets/appBasicInfo.37b1d820.js rename to lishui2/web/dist/assets/appBasicInfo.0b999dbd.js index fe6848b..bfbe8dd 100644 --- a/lishui2/web/dist/assets/appBasicInfo.37b1d820.js +++ b/lishui2/web/dist/assets/appBasicInfo.0b999dbd.js @@ -1 +1 @@ -var me=Object.defineProperty,fe=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var G=(c,m,d)=>m in c?me(c,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):c[m]=d,J=(c,m)=>{for(var d in m||(m={}))ce.call(m,d)&&G(c,d,m[d]);if($)for(var d of $(m))be.call(m,d)&&G(c,d,m[d]);return c},H=(c,m)=>fe(c,ve(m));var D=(c,m,d)=>new Promise((R,F)=>{var I=k=>{try{T(d.next(k))}catch(w){F(w)}},E=k=>{try{T(d.throw(k))}catch(w){F(w)}},T=k=>k.done?R(k.value):Promise.resolve(k.value).then(I,E);T((d=d.apply(c,m)).next())});import{d as _e,D as M,G as Ve,r as q,L as ge,c as _,e as u,I as r,i as l,h as a,j as v,k as A,f as V,F as g,J as C,u as p,g as Q,t as L}from"./index.51e934d4.js";import{h as X,f as Y,c as B,b as Z,e as h}from"./uploadAction.20ffefc6.js";import{b as ke,i as ye}from"./index.2907f0cd.js";const Ae={class:"el-upload__tip"},Ce={class:"el-upload__tip"},Ne=_e({name:"appBasicInfo"}),we=Object.assign(Ne,{props:{data:{type:Object,default:null},drawerVisible:{type:Boolean,default:!1},isInnovateWholeProvinceShare:{type:Boolean,default:!1}},setup(c,{expose:m}){const{accountAppNameOption:d,constructionLevel:R,applicationType:F,businessField:I,publisher:E,useScope:T,digitalModifySystem:k,domainBrainAccountOptions:w}=M.dictStore.globalDicts||{},P=M.dictStore.uploadUrl,ee=Ve(M.userStore).userInfo||{},U=c,t=q({experimentsFile:[]}),z=q(),le={isFirst:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u9996\u6B21\u5EFA\u8BBE"}],applicationName:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u540D\u79F0"}],relatedExistsApplication:[{required:!0,message:"\u8BF7\u9009\u62E9IRS\u6CE8\u518C\u5E94\u7528"}],relatedExistsApplicationCode:[{required:!0,message:"\u8BF7\u9009\u62E9IRS\u5E94\u7528\u7F16\u7801"}],pilotTasksName:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u70B9\u4EFB\u52A1\u540D\u79F0"}],pilotTasksCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u70B9\u4EFB\u52A1\u7F16\u53F7"}],importantTaskName:[{required:!0,message:"\u6240\u5C5E\u91CD\u5927\u5E94\u7528\u540D\u79F0"}],importantTaskCode:[{required:!0,message:"\u6240\u5C5E\u91CD\u5927\u5E94\u7528\u7F16\u7801"}],subSceneApplicationName:[{required:!0,message:"\u6240\u5C5E\u5B50\u573A\u666F\u5E94\u7528\u540D\u79F0"}],experimentsFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BD5\u70B9\u6587\u4EF6"}],applicationType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5E94\u7528\u7C7B\u578B"}],buildLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u5C42\u7EA7",trigger:"change"}],isUniteBuild:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u7EDF\u5EFA\u5E94\u7528"}],unionBuildKind:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EDF\u5EFA\u7C7B\u578B"}],isDigitalModification:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u6570\u6539\u7CFB\u7EDF"}],digitalModification:[{required:!0,message:"\u8BF7\u9009\u62E9\u6570\u6539\u7CFB\u7EDF"}],bizDomain:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E1A\u52A1\u9886\u57DF"}],publishSide:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u7AEF"}],isAccountAppName:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426S2\u4E00\u672C\u8D26\u540D\u79F0"}],accountAppName:[{required:!0,message:"\u8BF7\u9009\u62E9S2\u4E00\u672C\u8D26\u540D\u79F0"}],domainBrainAccount:[{required:!0,message:"\u8BF7\u9009\u62E9\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"}],isBizCooperate:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u4E1A\u52A1\u534F\u540C"}],bizCooperateInfo:[{required:!0,message:"\u8BF7\u586B\u5199\u4E1A\u52A1\u534F\u540C\u63CF\u8FF0"}],usesRangeRemark:[{required:!0,message:"\u8BF7\u9009\u62E9\u4F7F\u7528\u8303\u56F4"}],applicationSummary:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u7B80\u4ECB"}],applicationRemark:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u5907\u6CE8"}],applicationEstimateFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u603B\u6295\u8D44\u6D4B\u7B97\u660E\u7EC6"}]},ae=f=>{z.value.validate(o=>{f(o)})},te=()=>{z.value.clearValidate()},O=q([]),oe=()=>D(this,null,function*(){const f=yield ke({areaCode:ee.value.regionCode});O.value=f.data}),j=q([]),ue=()=>D(this,null,function*(){const f=yield ye();j.value=f.data}),ie=f=>{t.value.relatedExistsApplicationCode=f.applicationCode},se=f=>{t.value.pilotTasksCode=f.taskCode,t.value.importantTaskName=f.importantTaskName,t.value.importantTaskCode=f.importantTaskCode,t.value.subSceneApplicationName=f.subSceneApplicationName},pe=()=>{t.value.isFirst===1?(t.value.relatedExistsApplication=void 0,t.value.relatedExistsApplicationCode=void 0):t.value.applicationName=void 0};return ge(()=>U.drawerVisible,f=>{f&&(t.value=H(J({},U.data),{isFirst:U.data.isFirst||void 0}),oe(),ue())},{immediate:!0}),m({validForm:ae,formData:t,clearValidate:te}),(f,o)=>{const b=_("el-radio"),x=_("el-radio-group"),i=_("el-form-item"),s=_("el-col"),N=_("el-option"),S=_("el-select"),y=_("el-input"),W=_("el-button"),K=_("el-upload"),ne=_("el-cascader"),de=_("el-row"),re=_("el-form");return u(),r(re,{ref_key:"formRef",ref:z,model:t.value,rules:le,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:l(()=>[a(de,{gutter:20},{default:l(()=>[U.isInnovateWholeProvinceShare?A("",!0):(u(),r(s,{key:0,span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u521D\u6B21\u5EFA\u8BBE",prop:"isFirst",onChange:pe},{default:l(()=>[a(x,{modelValue:t.value.isFirst,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value.isFirst=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:2},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})),t.value.isFirst===2||U.isInnovateWholeProvinceShare?(u(),V(g,{key:1},[a(s,{span:12},{default:l(()=>[a(i,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528",prop:"relatedExistsApplication"},{default:l(()=>[a(S,{modelValue:t.value.relatedExistsApplication,"onUpdate:modelValue":o[1]||(o[1]=e=>t.value.relatedExistsApplication=e),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",onChange:ie},{default:l(()=>[(u(!0),V(g,null,C(O.value,(e,n)=>(u(),r(N,{key:n,label:e.applicationName,value:{applicationCode:e.applicationCode,applicationName:e.applicationName}},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"relatedExistsApplicationCode"},{default:l(()=>[a(y,{modelValue:t.value.relatedExistsApplicationCode,"onUpdate:modelValue":o[2]||(o[2]=e=>t.value.relatedExistsApplicationCode=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})],64)):A("",!0),U.isInnovateWholeProvinceShare?(u(),V(g,{key:2},[a(s,{span:12},{default:l(()=>[a(i,{label:"\u8BD5\u70B9\u4EFB\u52A1\u540D\u79F0",prop:"pilotTasksName"},{default:l(()=>[a(S,{modelValue:t.value.pilotTasksName,"onUpdate:modelValue":o[3]||(o[3]=e=>t.value.pilotTasksName=e),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"taskCode",onChange:se},{default:l(()=>[(u(!0),V(g,null,C(j.value,(e,n)=>(u(),r(N,{key:n,label:e.taskName,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u8BD5\u70B9\u4EFB\u52A1\u7F16\u53F7",prop:"pilotTasksCode"},{default:l(()=>[a(y,{modelValue:t.value.pilotTasksCode,"onUpdate:modelValue":o[4]||(o[4]=e=>t.value.pilotTasksCode=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u6240\u5C5E\u91CD\u5927\u5E94\u7528\u540D\u79F0",prop:"importantTaskName"},{default:l(()=>[a(y,{modelValue:t.value.importantTaskName,"onUpdate:modelValue":o[5]||(o[5]=e=>t.value.importantTaskName=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u6240\u5C5E\u91CD\u5927\u5E94\u7528\u7F16\u7801",prop:"importantTaskCode"},{default:l(()=>[a(y,{modelValue:t.value.importantTaskCode,"onUpdate:modelValue":o[6]||(o[6]=e=>t.value.importantTaskCode=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u6240\u5C5E\u5B50\u573A\u666F\u5E94\u7528\u540D\u79F0",prop:"subSceneApplicationName"},{default:l(()=>[a(y,{modelValue:t.value.subSceneApplicationName,"onUpdate:modelValue":o[7]||(o[7]=e=>t.value.subSceneApplicationName=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u8BD5\u70B9\u6587\u4EF6",prop:"experimentsFile"},{default:l(()=>[a(K,{ref:"preliminaryPlanRef","file-list":t.value.experimentsFile,"onUpdate:fileList":o[8]||(o[8]=e=>t.value.experimentsFile=e),class:"upload-demo",action:p(P),multiple:"","on-success":e=>p(X)(e,t.value.experimentsFile,!0),"before-upload":e=>p(Y)(e,{types:p(B)}),accept:p(B).map(e=>`.${e}`).join(","),limit:1,"on-preview":p(Z)},{tip:l(()=>[Q("div",Ae," \u652F\u6301"+L(p(h))+"\u6587\u4EF6 ",1)]),default:l(()=>[a(W,{plain:"",type:"primary"},{default:l(()=>[v("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})],64)):A("",!0),t.value.isFirst===1&&!U.isInnovateWholeProvinceShare?(u(),r(s,{key:3,span:12},{default:l(()=>[a(i,{label:"\u5E94\u7528\u540D\u79F0",prop:"applicationName"},{default:l(()=>[a(y,{modelValue:t.value.applicationName,"onUpdate:modelValue":o[9]||(o[9]=e=>t.value.applicationName=e),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1})):A("",!0),a(s,{span:12},{default:l(()=>[a(i,{label:"\u5E94\u7528\u7C7B\u578B",prop:"applicationType"},{default:l(()=>[a(S,{modelValue:t.value.applicationType,"onUpdate:modelValue":o[10]||(o[10]=e=>t.value.applicationType=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(F),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[a(i,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"buildLevel"},{default:l(()=>[a(x,{modelValue:t.value.buildLevel,"onUpdate:modelValue":o[11]||(o[11]=e=>t.value.buildLevel=e)},{default:l(()=>[(u(!0),V(g,null,C(p(R),(e,n)=>(u(),r(b,{key:n,label:n*1},{default:l(()=>[v(L(e),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u7EDF\u5EFA\u5E94\u7528",prop:"isUniteBuild"},{default:l(()=>[a(x,{modelValue:t.value.isUniteBuild,"onUpdate:modelValue":o[12]||(o[12]=e=>t.value.isUniteBuild=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:0},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[t.value.isUniteBuild===1?(u(),r(i,{key:0,label:"\u7EDF\u5EFA\u7C7B\u578B",prop:"unionBuildKind"},{default:l(()=>[a(x,{modelValue:t.value.unionBuildKind,"onUpdate:modelValue":o[13]||(o[13]=e=>t.value.unionBuildKind=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u5168\u7701\u7EDF\u5EFA")]),_:1}),a(b,{label:2},{default:l(()=>[v("\u5168\u5E02\u7EDF\u5EFA")]),_:1})]),_:1},8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u6570\u6539\u7CFB\u7EDF",prop:"isDigitalModification"},{default:l(()=>[a(x,{modelValue:t.value.isDigitalModification,"onUpdate:modelValue":o[14]||(o[14]=e=>t.value.isDigitalModification=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:0},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[t.value.isDigitalModification===1?(u(),r(i,{key:0,label:"\u6570\u6539\u7CFB\u7EDF",prop:"digitalModification"},{default:l(()=>[a(S,{modelValue:t.value.digitalModification,"onUpdate:modelValue":o[15]||(o[15]=e=>t.value.digitalModification=e),multiple:"","collapse-tags":"","collapse-tags-tooltip":"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(k),(e,n)=>(u(),r(N,{key:n,label:e,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u4E1A\u52A1\u9886\u57DF",prop:"bizDomain"},{default:l(()=>[a(S,{modelValue:t.value.bizDomain,"onUpdate:modelValue":o[16]||(o[16]=e=>t.value.bizDomain=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(I),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u53D1\u5E03\u7AEF",prop:"publishSide"},{default:l(()=>[a(S,{modelValue:t.value.publishSide,"onUpdate:modelValue":o[17]||(o[17]=e=>t.value.publishSide=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(E),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426S2\u4E00\u672C\u8D26\u540D\u79F0",prop:"isAccountAppName"},{default:l(()=>[a(x,{modelValue:t.value.isAccountAppName,"onUpdate:modelValue":o[18]||(o[18]=e=>t.value.isAccountAppName=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:0},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[t.value.isAccountAppName===1?(u(),r(i,{key:0,label:"S2\u4E00\u672C\u8D26\u540D\u79F0",prop:"accountAppName"},{default:l(()=>[a(S,{modelValue:t.value.accountAppName,"onUpdate:modelValue":o[19]||(o[19]=e=>t.value.accountAppName=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:""},{default:l(()=>[(u(!0),V(g,null,C(p(d),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:16},{default:l(()=>[t.value.isAccountAppName===1&&t.value.isDigitalModification===1?(u(),r(i,{key:0,label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26",prop:"domainBrainAccount"},{default:l(()=>[a(S,{modelValue:t.value.domainBrainAccount,"onUpdate:modelValue":o[20]||(o[20]=e=>t.value.domainBrainAccount=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(w),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u4E1A\u52A1\u534F\u540C",prop:"isBizCooperate"},{default:l(()=>[a(x,{modelValue:t.value.isBizCooperate,"onUpdate:modelValue":o[21]||(o[21]=e=>t.value.isBizCooperate=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:0},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[t.value.isBizCooperate===1?(u(),r(i,{key:0,label:"\u4E1A\u52A1\u534F\u540C\u63CF\u8FF0",prop:"bizCooperateInfo"},{default:l(()=>[a(y,{modelValue:t.value.bizCooperateInfo,"onUpdate:modelValue":o[22]||(o[22]=e=>t.value.bizCooperateInfo=e),autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:16},{default:l(()=>[a(i,{label:"\u4F7F\u7528\u8303\u56F4",prop:"usesRangeRemark"},{default:l(()=>[a(ne,{modelValue:t.value.usesRangeRemark,"onUpdate:modelValue":o[23]||(o[23]=e=>t.value.usesRangeRemark=e),options:p(T),class:"w-full"},null,8,["modelValue","options"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[a(i,{label:"\u5E94\u7528\u7B80\u4ECB",prop:"applicationSummary"},{default:l(()=>[a(y,{modelValue:t.value.applicationSummary,"onUpdate:modelValue":o[24]||(o[24]=e=>t.value.applicationSummary=e),autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[a(i,{label:"\u5E94\u7528\u5907\u6CE8",prop:"applicationRemark"},{default:l(()=>[a(y,{modelValue:t.value.applicationRemark,"onUpdate:modelValue":o[25]||(o[25]=e=>t.value.applicationRemark=e),autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[a(i,{label:"\u5E94\u7528\u603B\u6295\u8D44\u6D4B\u7B97\u660E\u7EC6",prop:"applicationEstimateFile"},{default:l(()=>[a(K,{"file-list":t.value.applicationEstimateFile,"onUpdate:fileList":o[26]||(o[26]=e=>t.value.applicationEstimateFile=e),class:"upload-demo",action:p(P),multiple:"","on-success":e=>p(X)(e,t.value.applicationEstimateFile,!1),"before-upload":e=>p(Y)(e,{types:p(B)}),accept:p(B).map(e=>`.${e}`).join(","),limit:10,"on-preview":p(Z)},{tip:l(()=>[Q("div",Ce," \u652F\u6301"+L(p(h))+"\u6587\u4EF6 ",1)]),default:l(()=>[a(W,{plain:"",type:"primary"},{default:l(()=>[v("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{we as default}; +var me=Object.defineProperty,fe=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var G=(c,m,d)=>m in c?me(c,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):c[m]=d,J=(c,m)=>{for(var d in m||(m={}))ce.call(m,d)&&G(c,d,m[d]);if($)for(var d of $(m))be.call(m,d)&&G(c,d,m[d]);return c},H=(c,m)=>fe(c,ve(m));var D=(c,m,d)=>new Promise((R,F)=>{var I=k=>{try{T(d.next(k))}catch(w){F(w)}},E=k=>{try{T(d.throw(k))}catch(w){F(w)}},T=k=>k.done?R(k.value):Promise.resolve(k.value).then(I,E);T((d=d.apply(c,m)).next())});import{d as _e,D as M,G as Ve,r as q,L as ge,c as _,e as u,I as r,i as l,h as a,j as v,k as A,f as V,F as g,J as C,u as p,g as Q,t as L}from"./index.07ccce2b.js";import{h as X,f as Y,c as B,b as Z,e as h}from"./uploadAction.6462630e.js";import{b as ke,i as ye}from"./index.afd31e12.js";const Ae={class:"el-upload__tip"},Ce={class:"el-upload__tip"},Ne=_e({name:"appBasicInfo"}),we=Object.assign(Ne,{props:{data:{type:Object,default:null},drawerVisible:{type:Boolean,default:!1},isInnovateWholeProvinceShare:{type:Boolean,default:!1}},setup(c,{expose:m}){const{accountAppNameOption:d,constructionLevel:R,applicationType:F,businessField:I,publisher:E,useScope:T,digitalModifySystem:k,domainBrainAccountOptions:w}=M.dictStore.globalDicts||{},P=M.dictStore.uploadUrl,ee=Ve(M.userStore).userInfo||{},U=c,t=q({experimentsFile:[]}),z=q(),le={isFirst:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u9996\u6B21\u5EFA\u8BBE"}],applicationName:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u540D\u79F0"}],relatedExistsApplication:[{required:!0,message:"\u8BF7\u9009\u62E9IRS\u6CE8\u518C\u5E94\u7528"}],relatedExistsApplicationCode:[{required:!0,message:"\u8BF7\u9009\u62E9IRS\u5E94\u7528\u7F16\u7801"}],pilotTasksName:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u70B9\u4EFB\u52A1\u540D\u79F0"}],pilotTasksCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u70B9\u4EFB\u52A1\u7F16\u53F7"}],importantTaskName:[{required:!0,message:"\u6240\u5C5E\u91CD\u5927\u5E94\u7528\u540D\u79F0"}],importantTaskCode:[{required:!0,message:"\u6240\u5C5E\u91CD\u5927\u5E94\u7528\u7F16\u7801"}],subSceneApplicationName:[{required:!0,message:"\u6240\u5C5E\u5B50\u573A\u666F\u5E94\u7528\u540D\u79F0"}],experimentsFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BD5\u70B9\u6587\u4EF6"}],applicationType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5E94\u7528\u7C7B\u578B"}],buildLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u5C42\u7EA7",trigger:"change"}],isUniteBuild:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u7EDF\u5EFA\u5E94\u7528"}],unionBuildKind:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EDF\u5EFA\u7C7B\u578B"}],isDigitalModification:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u6570\u6539\u7CFB\u7EDF"}],digitalModification:[{required:!0,message:"\u8BF7\u9009\u62E9\u6570\u6539\u7CFB\u7EDF"}],bizDomain:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E1A\u52A1\u9886\u57DF"}],publishSide:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u7AEF"}],isAccountAppName:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426S2\u4E00\u672C\u8D26\u540D\u79F0"}],accountAppName:[{required:!0,message:"\u8BF7\u9009\u62E9S2\u4E00\u672C\u8D26\u540D\u79F0"}],domainBrainAccount:[{required:!0,message:"\u8BF7\u9009\u62E9\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"}],isBizCooperate:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u4E1A\u52A1\u534F\u540C"}],bizCooperateInfo:[{required:!0,message:"\u8BF7\u586B\u5199\u4E1A\u52A1\u534F\u540C\u63CF\u8FF0"}],usesRangeRemark:[{required:!0,message:"\u8BF7\u9009\u62E9\u4F7F\u7528\u8303\u56F4"}],applicationSummary:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u7B80\u4ECB"}],applicationRemark:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u5907\u6CE8"}],applicationEstimateFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u603B\u6295\u8D44\u6D4B\u7B97\u660E\u7EC6"}]},ae=f=>{z.value.validate(o=>{f(o)})},te=()=>{z.value.clearValidate()},O=q([]),oe=()=>D(this,null,function*(){const f=yield ke({areaCode:ee.value.regionCode});O.value=f.data}),j=q([]),ue=()=>D(this,null,function*(){const f=yield ye();j.value=f.data}),ie=f=>{t.value.relatedExistsApplicationCode=f.applicationCode},se=f=>{t.value.pilotTasksCode=f.taskCode,t.value.importantTaskName=f.importantTaskName,t.value.importantTaskCode=f.importantTaskCode,t.value.subSceneApplicationName=f.subSceneApplicationName},pe=()=>{t.value.isFirst===1?(t.value.relatedExistsApplication=void 0,t.value.relatedExistsApplicationCode=void 0):t.value.applicationName=void 0};return ge(()=>U.drawerVisible,f=>{f&&(t.value=H(J({},U.data),{isFirst:U.data.isFirst||void 0}),oe(),ue())},{immediate:!0}),m({validForm:ae,formData:t,clearValidate:te}),(f,o)=>{const b=_("el-radio"),x=_("el-radio-group"),i=_("el-form-item"),s=_("el-col"),N=_("el-option"),S=_("el-select"),y=_("el-input"),W=_("el-button"),K=_("el-upload"),ne=_("el-cascader"),de=_("el-row"),re=_("el-form");return u(),r(re,{ref_key:"formRef",ref:z,model:t.value,rules:le,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:l(()=>[a(de,{gutter:20},{default:l(()=>[U.isInnovateWholeProvinceShare?A("",!0):(u(),r(s,{key:0,span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u521D\u6B21\u5EFA\u8BBE",prop:"isFirst",onChange:pe},{default:l(()=>[a(x,{modelValue:t.value.isFirst,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value.isFirst=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:2},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})),t.value.isFirst===2||U.isInnovateWholeProvinceShare?(u(),V(g,{key:1},[a(s,{span:12},{default:l(()=>[a(i,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528",prop:"relatedExistsApplication"},{default:l(()=>[a(S,{modelValue:t.value.relatedExistsApplication,"onUpdate:modelValue":o[1]||(o[1]=e=>t.value.relatedExistsApplication=e),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",onChange:ie},{default:l(()=>[(u(!0),V(g,null,C(O.value,(e,n)=>(u(),r(N,{key:n,label:e.applicationName,value:{applicationCode:e.applicationCode,applicationName:e.applicationName}},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"relatedExistsApplicationCode"},{default:l(()=>[a(y,{modelValue:t.value.relatedExistsApplicationCode,"onUpdate:modelValue":o[2]||(o[2]=e=>t.value.relatedExistsApplicationCode=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})],64)):A("",!0),U.isInnovateWholeProvinceShare?(u(),V(g,{key:2},[a(s,{span:12},{default:l(()=>[a(i,{label:"\u8BD5\u70B9\u4EFB\u52A1\u540D\u79F0",prop:"pilotTasksName"},{default:l(()=>[a(S,{modelValue:t.value.pilotTasksName,"onUpdate:modelValue":o[3]||(o[3]=e=>t.value.pilotTasksName=e),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"taskCode",onChange:se},{default:l(()=>[(u(!0),V(g,null,C(j.value,(e,n)=>(u(),r(N,{key:n,label:e.taskName,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u8BD5\u70B9\u4EFB\u52A1\u7F16\u53F7",prop:"pilotTasksCode"},{default:l(()=>[a(y,{modelValue:t.value.pilotTasksCode,"onUpdate:modelValue":o[4]||(o[4]=e=>t.value.pilotTasksCode=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u6240\u5C5E\u91CD\u5927\u5E94\u7528\u540D\u79F0",prop:"importantTaskName"},{default:l(()=>[a(y,{modelValue:t.value.importantTaskName,"onUpdate:modelValue":o[5]||(o[5]=e=>t.value.importantTaskName=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u6240\u5C5E\u91CD\u5927\u5E94\u7528\u7F16\u7801",prop:"importantTaskCode"},{default:l(()=>[a(y,{modelValue:t.value.importantTaskCode,"onUpdate:modelValue":o[6]||(o[6]=e=>t.value.importantTaskCode=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u6240\u5C5E\u5B50\u573A\u666F\u5E94\u7528\u540D\u79F0",prop:"subSceneApplicationName"},{default:l(()=>[a(y,{modelValue:t.value.subSceneApplicationName,"onUpdate:modelValue":o[7]||(o[7]=e=>t.value.subSceneApplicationName=e),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u8BD5\u70B9\u6587\u4EF6",prop:"experimentsFile"},{default:l(()=>[a(K,{ref:"preliminaryPlanRef","file-list":t.value.experimentsFile,"onUpdate:fileList":o[8]||(o[8]=e=>t.value.experimentsFile=e),class:"upload-demo",action:p(P),multiple:"","on-success":e=>p(X)(e,t.value.experimentsFile,!0),"before-upload":e=>p(Y)(e,{types:p(B)}),accept:p(B).map(e=>`.${e}`).join(","),limit:1,"on-preview":p(Z)},{tip:l(()=>[Q("div",Ae," \u652F\u6301"+L(p(h))+"\u6587\u4EF6 ",1)]),default:l(()=>[a(W,{plain:"",type:"primary"},{default:l(()=>[v("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})],64)):A("",!0),t.value.isFirst===1&&!U.isInnovateWholeProvinceShare?(u(),r(s,{key:3,span:12},{default:l(()=>[a(i,{label:"\u5E94\u7528\u540D\u79F0",prop:"applicationName"},{default:l(()=>[a(y,{modelValue:t.value.applicationName,"onUpdate:modelValue":o[9]||(o[9]=e=>t.value.applicationName=e),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1})):A("",!0),a(s,{span:12},{default:l(()=>[a(i,{label:"\u5E94\u7528\u7C7B\u578B",prop:"applicationType"},{default:l(()=>[a(S,{modelValue:t.value.applicationType,"onUpdate:modelValue":o[10]||(o[10]=e=>t.value.applicationType=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(F),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[a(i,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"buildLevel"},{default:l(()=>[a(x,{modelValue:t.value.buildLevel,"onUpdate:modelValue":o[11]||(o[11]=e=>t.value.buildLevel=e)},{default:l(()=>[(u(!0),V(g,null,C(p(R),(e,n)=>(u(),r(b,{key:n,label:n*1},{default:l(()=>[v(L(e),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u7EDF\u5EFA\u5E94\u7528",prop:"isUniteBuild"},{default:l(()=>[a(x,{modelValue:t.value.isUniteBuild,"onUpdate:modelValue":o[12]||(o[12]=e=>t.value.isUniteBuild=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:0},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[t.value.isUniteBuild===1?(u(),r(i,{key:0,label:"\u7EDF\u5EFA\u7C7B\u578B",prop:"unionBuildKind"},{default:l(()=>[a(x,{modelValue:t.value.unionBuildKind,"onUpdate:modelValue":o[13]||(o[13]=e=>t.value.unionBuildKind=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u5168\u7701\u7EDF\u5EFA")]),_:1}),a(b,{label:2},{default:l(()=>[v("\u5168\u5E02\u7EDF\u5EFA")]),_:1})]),_:1},8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u6570\u6539\u7CFB\u7EDF",prop:"isDigitalModification"},{default:l(()=>[a(x,{modelValue:t.value.isDigitalModification,"onUpdate:modelValue":o[14]||(o[14]=e=>t.value.isDigitalModification=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:0},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[t.value.isDigitalModification===1?(u(),r(i,{key:0,label:"\u6570\u6539\u7CFB\u7EDF",prop:"digitalModification"},{default:l(()=>[a(S,{modelValue:t.value.digitalModification,"onUpdate:modelValue":o[15]||(o[15]=e=>t.value.digitalModification=e),multiple:"","collapse-tags":"","collapse-tags-tooltip":"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(k),(e,n)=>(u(),r(N,{key:n,label:e,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u4E1A\u52A1\u9886\u57DF",prop:"bizDomain"},{default:l(()=>[a(S,{modelValue:t.value.bizDomain,"onUpdate:modelValue":o[16]||(o[16]=e=>t.value.bizDomain=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(I),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u53D1\u5E03\u7AEF",prop:"publishSide"},{default:l(()=>[a(S,{modelValue:t.value.publishSide,"onUpdate:modelValue":o[17]||(o[17]=e=>t.value.publishSide=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(E),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426S2\u4E00\u672C\u8D26\u540D\u79F0",prop:"isAccountAppName"},{default:l(()=>[a(x,{modelValue:t.value.isAccountAppName,"onUpdate:modelValue":o[18]||(o[18]=e=>t.value.isAccountAppName=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:0},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:12},{default:l(()=>[t.value.isAccountAppName===1?(u(),r(i,{key:0,label:"S2\u4E00\u672C\u8D26\u540D\u79F0",prop:"accountAppName"},{default:l(()=>[a(S,{modelValue:t.value.accountAppName,"onUpdate:modelValue":o[19]||(o[19]=e=>t.value.accountAppName=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:""},{default:l(()=>[(u(!0),V(g,null,C(p(d),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:16},{default:l(()=>[t.value.isAccountAppName===1&&t.value.isDigitalModification===1?(u(),r(i,{key:0,label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26",prop:"domainBrainAccount"},{default:l(()=>[a(S,{modelValue:t.value.domainBrainAccount,"onUpdate:modelValue":o[20]||(o[20]=e=>t.value.domainBrainAccount=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),V(g,null,C(p(w),(e,n)=>(u(),r(N,{key:n,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u4E1A\u52A1\u534F\u540C",prop:"isBizCooperate"},{default:l(()=>[a(x,{modelValue:t.value.isBizCooperate,"onUpdate:modelValue":o[21]||(o[21]=e=>t.value.isBizCooperate=e)},{default:l(()=>[a(b,{label:1},{default:l(()=>[v("\u662F")]),_:1}),a(b,{label:0},{default:l(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[t.value.isBizCooperate===1?(u(),r(i,{key:0,label:"\u4E1A\u52A1\u534F\u540C\u63CF\u8FF0",prop:"bizCooperateInfo"},{default:l(()=>[a(y,{modelValue:t.value.bizCooperateInfo,"onUpdate:modelValue":o[22]||(o[22]=e=>t.value.bizCooperateInfo=e),autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})):A("",!0)]),_:1}),a(s,{span:16},{default:l(()=>[a(i,{label:"\u4F7F\u7528\u8303\u56F4",prop:"usesRangeRemark"},{default:l(()=>[a(ne,{modelValue:t.value.usesRangeRemark,"onUpdate:modelValue":o[23]||(o[23]=e=>t.value.usesRangeRemark=e),options:p(T),class:"w-full"},null,8,["modelValue","options"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[a(i,{label:"\u5E94\u7528\u7B80\u4ECB",prop:"applicationSummary"},{default:l(()=>[a(y,{modelValue:t.value.applicationSummary,"onUpdate:modelValue":o[24]||(o[24]=e=>t.value.applicationSummary=e),autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[a(i,{label:"\u5E94\u7528\u5907\u6CE8",prop:"applicationRemark"},{default:l(()=>[a(y,{modelValue:t.value.applicationRemark,"onUpdate:modelValue":o[25]||(o[25]=e=>t.value.applicationRemark=e),autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),a(s,{span:24},{default:l(()=>[a(i,{label:"\u5E94\u7528\u603B\u6295\u8D44\u6D4B\u7B97\u660E\u7EC6",prop:"applicationEstimateFile"},{default:l(()=>[a(K,{"file-list":t.value.applicationEstimateFile,"onUpdate:fileList":o[26]||(o[26]=e=>t.value.applicationEstimateFile=e),class:"upload-demo",action:p(P),multiple:"","on-success":e=>p(X)(e,t.value.applicationEstimateFile,!1),"before-upload":e=>p(Y)(e,{types:p(B)}),accept:p(B).map(e=>`.${e}`).join(","),limit:10,"on-preview":p(Z)},{tip:l(()=>[Q("div",Ce," \u652F\u6301"+L(p(h))+"\u6587\u4EF6 ",1)]),default:l(()=>[a(W,{plain:"",type:"primary"},{default:l(()=>[v("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{we as default}; diff --git a/lishui2/web/dist/assets/appResourceInfo.588fa5fe.js b/lishui2/web/dist/assets/appResourceInfo.ac24bc2d.js similarity index 99% rename from lishui2/web/dist/assets/appResourceInfo.588fa5fe.js rename to lishui2/web/dist/assets/appResourceInfo.ac24bc2d.js index bf5d8e6..e4a3f95 100644 --- a/lishui2/web/dist/assets/appResourceInfo.588fa5fe.js +++ b/lishui2/web/dist/assets/appResourceInfo.ac24bc2d.js @@ -1 +1 @@ -import{d as S,D as G,r as b,L as T,c as r,e as i,I as c,i as o,h as e,j as s,f as g,F as D,k as C,J as w,u as R,t as j}from"./index.51e934d4.js";const B=S({name:"appResourceInfo"}),O=Object.assign(B,{props:{data:{type:Object,default:null}},setup(y,{expose:x}){const{netEnvOptions:N}=G.dictStore.globalDicts||{},t=y,l=b({}),_=b(),q={useGovCloud:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4F7F\u7528\u653F\u52A1\u4E91\u8D44\u6E90"}],cloudsType:[{required:!0,message:"\u8BF7\u586B\u5199\u4E91\u8D44\u6E90\u7C7B\u578B"}],cloudsFoundationSpecifications:[{required:!0,message:"\u8BF7\u586B\u5199\u4E91\u8D44\u6E90\u57FA\u7840\u89C4\u683C"}],cloudsNumber:[{required:!0,message:"\u8BF7\u586B\u5199\u4E91\u8D44\u6E90\u53F0\u6570"}],cloudsDescription:[{required:!0,message:"\u8BF7\u586B\u5199\u4E91\u8D44\u6E90\u53F0\u6570"}],netEnv:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F51\u7EDC\u73AF\u5883"}],useCommonData:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4F7F\u7528\u516C\u5171\u6570\u636E"}],dataName:[{required:!0,message:"\u8BF7\u8F93\u5165\u516C\u5171\u6570\u636E\u540D\u79F0"}],useCommonComponent:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6"}],commonComponents:[{required:!0,message:"\u8BF7\u8F93\u5165\u516C\u5171\u7EC4\u4EF6\u540D\u79F0"}],produceCommonComponent:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6"}],produceCommonComponents:[{required:!0,message:"\u8BF7\u586B\u5199\u9884\u8BA1\u7EC4\u4EF6\u540D\u79F0"}]},U=v=>{_.value.validate(a=>{v(a)})},k=()=>{_.value.clearValidate()};return T(()=>t.data,v=>{l.value={useGovCloud:t.data.useGovCloud,cloudsType:t.data.cloudsType,cloudsFoundationSpecifications:t.data.cloudsFoundationSpecifications,cloudsNumber:t.data.cloudsNumber,cloudsDescription:t.data.cloudsDescription,netEnv:t.data.netEnv,useCommonData:t.data.useCommonData,dataName:t.data.dataName,useCommonComponent:t.data.useCommonComponent,commonComponents:t.data.commonComponents,produceCommonComponent:t.data.produceCommonComponent,produceCommonComponents:t.data.produceCommonComponents}},{immediate:!0,deep:!0}),x({validForm:U,formData:l,clearValidate:k}),(v,a)=>{const m=r("el-radio"),f=r("el-radio-group"),n=r("el-form-item"),d=r("el-col"),p=r("el-input"),F=r("el-row"),E=r("el-form");return i(),c(E,{ref_key:"formRef",ref:_,model:l.value,rules:q,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:o(()=>[e(F,{gutter:20},{default:o(()=>[e(d,{span:24},{default:o(()=>[e(n,{label:"\u662F\u5426\u4F7F\u7528\u653F\u52A1\u4E91\u8D44\u6E90",prop:"useGovCloud"},{default:o(()=>[e(f,{modelValue:l.value.useGovCloud,"onUpdate:modelValue":a[0]||(a[0]=u=>l.value.useGovCloud=u)},{default:o(()=>[e(m,{label:1},{default:o(()=>[s("\u662F")]),_:1}),e(m,{label:0},{default:o(()=>[s("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.useGovCloud===1?(i(),g(D,{key:0},[e(d,{span:12},{default:o(()=>[e(n,{label:"\u4E91\u8D44\u6E90\u7C7B\u578B",prop:"cloudsType"},{default:o(()=>[e(p,{modelValue:l.value.cloudsType,"onUpdate:modelValue":a[1]||(a[1]=u=>l.value.cloudsType=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:o(()=>[e(n,{label:"\u4E91\u8D44\u6E90\u57FA\u7840\u89C4\u683C",prop:"cloudsFoundationSpecifications"},{default:o(()=>[e(p,{modelValue:l.value.cloudsFoundationSpecifications,"onUpdate:modelValue":a[2]||(a[2]=u=>l.value.cloudsFoundationSpecifications=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:o(()=>[e(n,{label:"\u4E91\u8D44\u6E90\u53F0\u6570",prop:"cloudsNumber"},{default:o(()=>[e(p,{modelValue:l.value.cloudsNumber,"onUpdate:modelValue":a[3]||(a[3]=u=>l.value.cloudsNumber=u),placeholder:"\u8BF7\u586B\u5199",maxlength:"6"},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:o(()=>[e(n,{label:"\u4E91\u8D44\u6E90\u7528\u9014\u63CF\u8FF0",prop:"cloudsDescription"},{default:o(()=>[e(p,{modelValue:l.value.cloudsDescription,"onUpdate:modelValue":a[4]||(a[4]=u=>l.value.cloudsDescription=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1})],64)):C("",!0),e(d,{span:24},{default:o(()=>[e(n,{label:"\u7F51\u7EDC\u73AF\u5883",prop:"netEnv"},{default:o(()=>[e(f,{modelValue:l.value.netEnv,"onUpdate:modelValue":a[5]||(a[5]=u=>l.value.netEnv=u)},{default:o(()=>[(i(!0),g(D,null,w(R(N),(u,V)=>(i(),c(m,{key:V,label:V*1},{default:o(()=>[s(j(u),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:24},{default:o(()=>[e(n,{label:"\u662F\u5426\u4F7F\u7528\u516C\u5171\u6570\u636E",prop:"useCommonData"},{default:o(()=>[e(f,{modelValue:l.value.useCommonData,"onUpdate:modelValue":a[6]||(a[6]=u=>l.value.useCommonData=u)},{default:o(()=>[e(m,{label:1},{default:o(()=>[s("\u662F")]),_:1}),e(m,{label:0},{default:o(()=>[s("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:16},{default:o(()=>[l.value.useCommonData===1?(i(),c(n,{key:0,label:"\u6570\u636E\u540D\u79F0",prop:"dataName"},{default:o(()=>[e(p,{modelValue:l.value.dataName,"onUpdate:modelValue":a[7]||(a[7]=u=>l.value.dataName=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})):C("",!0)]),_:1}),e(d,{span:16},{default:o(()=>[e(n,{label:"\u662F\u5426\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6",prop:"useCommonComponent"},{default:o(()=>[e(f,{modelValue:l.value.useCommonComponent,"onUpdate:modelValue":a[8]||(a[8]=u=>l.value.useCommonComponent=u)},{default:o(()=>[e(m,{label:1},{default:o(()=>[s("\u662F")]),_:1}),e(m,{label:0},{default:o(()=>[s("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:16},{default:o(()=>[l.value.useCommonComponent===1?(i(),c(n,{key:0,label:"\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6\u540D\u79F0",prop:"commonComponents"},{default:o(()=>[e(p,{modelValue:l.value.commonComponents,"onUpdate:modelValue":a[9]||(a[9]=u=>l.value.commonComponents=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})):C("",!0)]),_:1}),e(d,{span:16},{default:o(()=>[e(n,{label:"\u662F\u5426\u4EA7\u751F\u516C\u5171\u7EC4\u4EF6",prop:"produceCommonComponent"},{default:o(()=>[e(f,{modelValue:l.value.produceCommonComponent,"onUpdate:modelValue":a[10]||(a[10]=u=>l.value.produceCommonComponent=u)},{default:o(()=>[e(m,{label:1},{default:o(()=>[s("\u662F")]),_:1}),e(m,{label:0},{default:o(()=>[s("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:16},{default:o(()=>[l.value.produceCommonComponent===1?(i(),c(n,{key:0,label:"\u9884\u8BA1\u4EA7\u751F\u7EC4\u4EF6\u540D\u79F0",prop:"produceCommonComponents"},{default:o(()=>[e(p,{modelValue:l.value.produceCommonComponents,"onUpdate:modelValue":a[11]||(a[11]=u=>l.value.produceCommonComponents=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})):C("",!0)]),_:1})]),_:1})]),_:1},8,["model"])}}});export{O as default}; +import{d as S,D as G,r as b,L as T,c as r,e as i,I as c,i as o,h as e,j as s,f as g,F as D,k as C,J as w,u as R,t as j}from"./index.07ccce2b.js";const B=S({name:"appResourceInfo"}),O=Object.assign(B,{props:{data:{type:Object,default:null}},setup(y,{expose:x}){const{netEnvOptions:N}=G.dictStore.globalDicts||{},t=y,l=b({}),_=b(),q={useGovCloud:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4F7F\u7528\u653F\u52A1\u4E91\u8D44\u6E90"}],cloudsType:[{required:!0,message:"\u8BF7\u586B\u5199\u4E91\u8D44\u6E90\u7C7B\u578B"}],cloudsFoundationSpecifications:[{required:!0,message:"\u8BF7\u586B\u5199\u4E91\u8D44\u6E90\u57FA\u7840\u89C4\u683C"}],cloudsNumber:[{required:!0,message:"\u8BF7\u586B\u5199\u4E91\u8D44\u6E90\u53F0\u6570"}],cloudsDescription:[{required:!0,message:"\u8BF7\u586B\u5199\u4E91\u8D44\u6E90\u53F0\u6570"}],netEnv:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F51\u7EDC\u73AF\u5883"}],useCommonData:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4F7F\u7528\u516C\u5171\u6570\u636E"}],dataName:[{required:!0,message:"\u8BF7\u8F93\u5165\u516C\u5171\u6570\u636E\u540D\u79F0"}],useCommonComponent:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6"}],commonComponents:[{required:!0,message:"\u8BF7\u8F93\u5165\u516C\u5171\u7EC4\u4EF6\u540D\u79F0"}],produceCommonComponent:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6"}],produceCommonComponents:[{required:!0,message:"\u8BF7\u586B\u5199\u9884\u8BA1\u7EC4\u4EF6\u540D\u79F0"}]},U=v=>{_.value.validate(a=>{v(a)})},k=()=>{_.value.clearValidate()};return T(()=>t.data,v=>{l.value={useGovCloud:t.data.useGovCloud,cloudsType:t.data.cloudsType,cloudsFoundationSpecifications:t.data.cloudsFoundationSpecifications,cloudsNumber:t.data.cloudsNumber,cloudsDescription:t.data.cloudsDescription,netEnv:t.data.netEnv,useCommonData:t.data.useCommonData,dataName:t.data.dataName,useCommonComponent:t.data.useCommonComponent,commonComponents:t.data.commonComponents,produceCommonComponent:t.data.produceCommonComponent,produceCommonComponents:t.data.produceCommonComponents}},{immediate:!0,deep:!0}),x({validForm:U,formData:l,clearValidate:k}),(v,a)=>{const m=r("el-radio"),f=r("el-radio-group"),n=r("el-form-item"),d=r("el-col"),p=r("el-input"),F=r("el-row"),E=r("el-form");return i(),c(E,{ref_key:"formRef",ref:_,model:l.value,rules:q,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:o(()=>[e(F,{gutter:20},{default:o(()=>[e(d,{span:24},{default:o(()=>[e(n,{label:"\u662F\u5426\u4F7F\u7528\u653F\u52A1\u4E91\u8D44\u6E90",prop:"useGovCloud"},{default:o(()=>[e(f,{modelValue:l.value.useGovCloud,"onUpdate:modelValue":a[0]||(a[0]=u=>l.value.useGovCloud=u)},{default:o(()=>[e(m,{label:1},{default:o(()=>[s("\u662F")]),_:1}),e(m,{label:0},{default:o(()=>[s("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.useGovCloud===1?(i(),g(D,{key:0},[e(d,{span:12},{default:o(()=>[e(n,{label:"\u4E91\u8D44\u6E90\u7C7B\u578B",prop:"cloudsType"},{default:o(()=>[e(p,{modelValue:l.value.cloudsType,"onUpdate:modelValue":a[1]||(a[1]=u=>l.value.cloudsType=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:o(()=>[e(n,{label:"\u4E91\u8D44\u6E90\u57FA\u7840\u89C4\u683C",prop:"cloudsFoundationSpecifications"},{default:o(()=>[e(p,{modelValue:l.value.cloudsFoundationSpecifications,"onUpdate:modelValue":a[2]||(a[2]=u=>l.value.cloudsFoundationSpecifications=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:o(()=>[e(n,{label:"\u4E91\u8D44\u6E90\u53F0\u6570",prop:"cloudsNumber"},{default:o(()=>[e(p,{modelValue:l.value.cloudsNumber,"onUpdate:modelValue":a[3]||(a[3]=u=>l.value.cloudsNumber=u),placeholder:"\u8BF7\u586B\u5199",maxlength:"6"},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:o(()=>[e(n,{label:"\u4E91\u8D44\u6E90\u7528\u9014\u63CF\u8FF0",prop:"cloudsDescription"},{default:o(()=>[e(p,{modelValue:l.value.cloudsDescription,"onUpdate:modelValue":a[4]||(a[4]=u=>l.value.cloudsDescription=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1})],64)):C("",!0),e(d,{span:24},{default:o(()=>[e(n,{label:"\u7F51\u7EDC\u73AF\u5883",prop:"netEnv"},{default:o(()=>[e(f,{modelValue:l.value.netEnv,"onUpdate:modelValue":a[5]||(a[5]=u=>l.value.netEnv=u)},{default:o(()=>[(i(!0),g(D,null,w(R(N),(u,V)=>(i(),c(m,{key:V,label:V*1},{default:o(()=>[s(j(u),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:24},{default:o(()=>[e(n,{label:"\u662F\u5426\u4F7F\u7528\u516C\u5171\u6570\u636E",prop:"useCommonData"},{default:o(()=>[e(f,{modelValue:l.value.useCommonData,"onUpdate:modelValue":a[6]||(a[6]=u=>l.value.useCommonData=u)},{default:o(()=>[e(m,{label:1},{default:o(()=>[s("\u662F")]),_:1}),e(m,{label:0},{default:o(()=>[s("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:16},{default:o(()=>[l.value.useCommonData===1?(i(),c(n,{key:0,label:"\u6570\u636E\u540D\u79F0",prop:"dataName"},{default:o(()=>[e(p,{modelValue:l.value.dataName,"onUpdate:modelValue":a[7]||(a[7]=u=>l.value.dataName=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})):C("",!0)]),_:1}),e(d,{span:16},{default:o(()=>[e(n,{label:"\u662F\u5426\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6",prop:"useCommonComponent"},{default:o(()=>[e(f,{modelValue:l.value.useCommonComponent,"onUpdate:modelValue":a[8]||(a[8]=u=>l.value.useCommonComponent=u)},{default:o(()=>[e(m,{label:1},{default:o(()=>[s("\u662F")]),_:1}),e(m,{label:0},{default:o(()=>[s("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:16},{default:o(()=>[l.value.useCommonComponent===1?(i(),c(n,{key:0,label:"\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6\u540D\u79F0",prop:"commonComponents"},{default:o(()=>[e(p,{modelValue:l.value.commonComponents,"onUpdate:modelValue":a[9]||(a[9]=u=>l.value.commonComponents=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})):C("",!0)]),_:1}),e(d,{span:16},{default:o(()=>[e(n,{label:"\u662F\u5426\u4EA7\u751F\u516C\u5171\u7EC4\u4EF6",prop:"produceCommonComponent"},{default:o(()=>[e(f,{modelValue:l.value.produceCommonComponent,"onUpdate:modelValue":a[10]||(a[10]=u=>l.value.produceCommonComponent=u)},{default:o(()=>[e(m,{label:1},{default:o(()=>[s("\u662F")]),_:1}),e(m,{label:0},{default:o(()=>[s("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:16},{default:o(()=>[l.value.produceCommonComponent===1?(i(),c(n,{key:0,label:"\u9884\u8BA1\u4EA7\u751F\u7EC4\u4EF6\u540D\u79F0",prop:"produceCommonComponents"},{default:o(()=>[e(p,{modelValue:l.value.produceCommonComponents,"onUpdate:modelValue":a[11]||(a[11]=u=>l.value.produceCommonComponents=u),placeholder:"\u8BF7\u586B\u5199",maxlength:50},null,8,["modelValue"])]),_:1})):C("",!0)]),_:1})]),_:1})]),_:1},8,["model"])}}});export{O as default}; diff --git a/lishui2/web/dist/assets/appSafeInfo.2da2e43b.js b/lishui2/web/dist/assets/appSafeInfo.ea5ce626.js similarity index 97% rename from lishui2/web/dist/assets/appSafeInfo.2da2e43b.js rename to lishui2/web/dist/assets/appSafeInfo.ea5ce626.js index 4f9aab4..6e59029 100644 --- a/lishui2/web/dist/assets/appSafeInfo.2da2e43b.js +++ b/lishui2/web/dist/assets/appSafeInfo.ea5ce626.js @@ -1 +1 @@ -import{d as C,D as F,r as y,L,c as r,e as s,I as v,i as e,h as a,f as V,F as g,J as G,u as w,j as p,t as S}from"./index.51e934d4.js";const U=C({name:"appSafeInfo"}),O=Object.assign(U,{props:{data:{type:Object,default:null}},setup(I,{expose:x}){const{insuranceLevel:b}=F.dictStore.globalDicts||{},n=I,l=y({}),c=y(),k={secrecyGrade:[{required:!0,message:"\u8BF7\u9009\u62E9\u7B49\u4FDD\u7EA7\u522B"}],passwordGrade:[{required:!0,message:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"}],nationalItSpec:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u7B26\u5408\u76F8\u5173\u89C4\u8303"}]},D=_=>{c.value.validate(o=>{_(o)})},j=()=>{c.value.clearValidate()};return L(()=>n.data,_=>{l.value={secrecyGrade:n.data.secrecyGrade,passwordGrade:n.data.passwordGrade,nationalItSpec:n.data.nationalItSpec}},{immediate:!0,deep:!0}),x({validForm:D,formData:l,clearValidate:j}),(_,o)=>{const u=r("el-radio"),f=r("el-radio-group"),m=r("el-form-item"),i=r("el-col"),q=r("el-row"),B=r("el-form");return s(),v(B,{ref_key:"formRef",ref:c,model:l.value,rules:k,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:e(()=>[a(q,{gutter:20},{default:e(()=>[a(i,{span:24},{default:e(()=>[a(m,{label:"\u7B49\u4FDD\u7EA7\u522B",prop:"secrecyGrade"},{default:e(()=>[a(f,{modelValue:l.value.secrecyGrade,"onUpdate:modelValue":o[0]||(o[0]=t=>l.value.secrecyGrade=t)},{default:e(()=>[(s(!0),V(g,null,G(w(b),(t,d)=>(s(),v(u,{key:d,label:d*1},{default:e(()=>[p(S(t),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(i,{span:24},{default:e(()=>[a(m,{label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B",prop:"passwordGrade"},{default:e(()=>[a(f,{modelValue:l.value.passwordGrade,"onUpdate:modelValue":o[1]||(o[1]=t=>l.value.passwordGrade=t)},{default:e(()=>[(s(!0),V(g,null,G(w(b),(t,d)=>(s(),v(u,{key:d,label:d*1},{default:e(()=>[p(S(t),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(i,{span:12},{default:e(()=>[a(m,{label:"\u662F\u5426\u7B26\u5408\u56FD\u5BB6\u4FE1\u606F\u6280\u672F\u5E94\u7528\u521B\u65B0\u76F8\u5173\u89C4\u8303",prop:"nationalItSpec"},{default:e(()=>[a(f,{modelValue:l.value.nationalItSpec,"onUpdate:modelValue":o[2]||(o[2]=t=>l.value.nationalItSpec=t)},{default:e(()=>[a(u,{label:1},{default:e(()=>[p("\u662F")]),_:1}),a(u,{label:0},{default:e(()=>[p("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{O as default}; +import{d as C,D as F,r as y,L,c as r,e as s,I as v,i as e,h as a,f as V,F as g,J as G,u as w,j as p,t as S}from"./index.07ccce2b.js";const U=C({name:"appSafeInfo"}),O=Object.assign(U,{props:{data:{type:Object,default:null}},setup(I,{expose:x}){const{insuranceLevel:b}=F.dictStore.globalDicts||{},n=I,l=y({}),c=y(),k={secrecyGrade:[{required:!0,message:"\u8BF7\u9009\u62E9\u7B49\u4FDD\u7EA7\u522B"}],passwordGrade:[{required:!0,message:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"}],nationalItSpec:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u7B26\u5408\u76F8\u5173\u89C4\u8303"}]},D=_=>{c.value.validate(o=>{_(o)})},j=()=>{c.value.clearValidate()};return L(()=>n.data,_=>{l.value={secrecyGrade:n.data.secrecyGrade,passwordGrade:n.data.passwordGrade,nationalItSpec:n.data.nationalItSpec}},{immediate:!0,deep:!0}),x({validForm:D,formData:l,clearValidate:j}),(_,o)=>{const u=r("el-radio"),f=r("el-radio-group"),m=r("el-form-item"),i=r("el-col"),q=r("el-row"),B=r("el-form");return s(),v(B,{ref_key:"formRef",ref:c,model:l.value,rules:k,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:e(()=>[a(q,{gutter:20},{default:e(()=>[a(i,{span:24},{default:e(()=>[a(m,{label:"\u7B49\u4FDD\u7EA7\u522B",prop:"secrecyGrade"},{default:e(()=>[a(f,{modelValue:l.value.secrecyGrade,"onUpdate:modelValue":o[0]||(o[0]=t=>l.value.secrecyGrade=t)},{default:e(()=>[(s(!0),V(g,null,G(w(b),(t,d)=>(s(),v(u,{key:d,label:d*1},{default:e(()=>[p(S(t),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(i,{span:24},{default:e(()=>[a(m,{label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B",prop:"passwordGrade"},{default:e(()=>[a(f,{modelValue:l.value.passwordGrade,"onUpdate:modelValue":o[1]||(o[1]=t=>l.value.passwordGrade=t)},{default:e(()=>[(s(!0),V(g,null,G(w(b),(t,d)=>(s(),v(u,{key:d,label:d*1},{default:e(()=>[p(S(t),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(i,{span:12},{default:e(()=>[a(m,{label:"\u662F\u5426\u7B26\u5408\u56FD\u5BB6\u4FE1\u606F\u6280\u672F\u5E94\u7528\u521B\u65B0\u76F8\u5173\u89C4\u8303",prop:"nationalItSpec"},{default:e(()=>[a(f,{modelValue:l.value.nationalItSpec,"onUpdate:modelValue":o[2]||(o[2]=t=>l.value.nationalItSpec=t)},{default:e(()=>[a(u,{label:1},{default:e(()=>[p("\u662F")]),_:1}),a(u,{label:0},{default:e(()=>[p("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{O as default}; diff --git a/lishui2/web/dist/assets/applicationEvaluate.cf6a6a66.js b/lishui2/web/dist/assets/applicationEvaluate.eb9840e3.js similarity index 82% rename from lishui2/web/dist/assets/applicationEvaluate.cf6a6a66.js rename to lishui2/web/dist/assets/applicationEvaluate.eb9840e3.js index 1e8043a..c467037 100644 --- a/lishui2/web/dist/assets/applicationEvaluate.cf6a6a66.js +++ b/lishui2/web/dist/assets/applicationEvaluate.eb9840e3.js @@ -1 +1 @@ -import{y as p}from"./index.51e934d4.js";const e=a=>p.get("/api/v1/app-appraisal/list",{params:a}),i={1:"/api/v1/app-appraisal/unEvaluate-list/",2:"/api/v1/app-appraisal/evaluated-list/"},o=(a,s,t)=>p.get(`${i[a]}${s}`,{params:t}),r=a=>p.post("/api/v1/app-appraisal/save",a),v=(a,s)=>p.get(`/api/v1/app-appraisal/detail/${s}/${a}`);export{v as d,e as l,o as p,r as s}; +import{y as p}from"./index.07ccce2b.js";const e=a=>p.get("/api/v1/app-appraisal/list",{params:a}),i={1:"/api/v1/app-appraisal/unEvaluate-list/",2:"/api/v1/app-appraisal/evaluated-list/"},o=(a,s,t)=>p.get(`${i[a]}${s}`,{params:t}),r=a=>p.post("/api/v1/app-appraisal/save",a),v=(a,s)=>p.get(`/api/v1/app-appraisal/detail/${s}/${a}`);export{v as d,e as l,o as p,r as s}; diff --git a/lishui2/web/dist/assets/applicationInfo.dcb7dc73.js b/lishui2/web/dist/assets/applicationInfo.26031982.js similarity index 98% rename from lishui2/web/dist/assets/applicationInfo.dcb7dc73.js rename to lishui2/web/dist/assets/applicationInfo.26031982.js index f42443b..ae6bb57 100644 --- a/lishui2/web/dist/assets/applicationInfo.dcb7dc73.js +++ b/lishui2/web/dist/assets/applicationInfo.26031982.js @@ -1 +1 @@ -var E=(d,z,v)=>new Promise((G,I)=>{var L=r=>{try{w(v.next(r))}catch(p){I(p)}},T=r=>{try{w(v.throw(r))}catch(p){I(p)}},w=r=>r.done?G(r.value):Promise.resolve(r.value).then(L,T);w((v=v.apply(d,z)).next())});import{b as M}from"./index.2907f0cd.js";import{d as ee,G as ae,D as X,z as le,r as q,L as Y,o as te,c as _,e as o,I as u,i as l,h as i,g as H,j as Z,f as g,F as P,J as U,k as D,u as F}from"./index.51e934d4.js";const oe={class:"text-right w-full mb-8"},ne={key:0},ie=["onClick"],pe={class:"text-right w-full mb-8"},ue=["onClick"],de=ee({name:"projectCollectionEnterBasicInfo"}),me=Object.assign(de,{props:{detail:{type:Object},basicInfoData:{type:Object},isSupplemented:{type:Boolean,default:!1}},setup(d,{expose:z}){const v=ae(X.userStore).userInfo,G=le(),I=d,{accountAppNameOption:L,domainBrainAccountOptions:T}=X.dictStore.globalDicts||{},w=q(),r=q(),p=q({applications:[]}),K=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",slot:"application",key:"application"},{label:"IRS\u5E94\u7528\u7F16\u7801",slot:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",slot:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',slot:"baseBrainName",key:"baseBrainName"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],Q=()=>E(this,null,function*(){var t;if(!((t=N.value)!=null&&t.length)){const x=yield M({areaCode:v.value.regionCode});N.value=x.data}p.value.applications.push({application:void 0})}),W=t=>{p.value.applications.splice(t,1)},N=q([]),b=q();return z({formRef:w,formData:p}),Y(()=>I.basicInfoData,t=>{var x;(t==null?void 0:t.baseProjIsConfidentiality)==="02"||(t==null?void 0:t.baseProjSetProg)==="00"?r.value={}:r.value={applications:[{required:!0,message:"\u8BF7\u81F3\u5C11\u5173\u8054\u4E00\u4E2A\u5E94\u7528"}]},(x=w.value)==null||x.clearValidate()},{deep:!0,immediate:!0}),te(()=>E(this,null,function*(){if(!G.query.id){const t=yield M({areaCode:v.value.regionCode});N.value=t.data}})),Y(()=>I.detail,t=>E(this,null,function*(){var x,R,f,y;if(t){I.isSupplemented&&(b.value=((R=(x=t.apply.baseProjSysCode)==null?void 0:x.split("\uFF1B"))==null?void 0:R.map((C,m)=>{var h,B,S,A,k,$,V;return{application:((h=N.value)==null?void 0:h.find(j=>j.applicationCode===C))||{applicationCode:C,applicationName:((S=(B=t.apply)==null?void 0:B.baseProjSys)==null?void 0:S.split("\uFF1B")[m])||""},baseAccountAppName:((k=(A=t.apply)==null?void 0:A.baseAccountAppName)==null?void 0:k.split("\uFF1B")[m])||"",baseBrainName:((V=($=t.apply)==null?void 0:$.baseBrainName)==null?void 0:V.split("\uFF1B")[m])||""}}))||[],console.log(b.value));const c=yield M({areaCode:v.value.regionCode});N.value=c.data,p.value={applications:((y=(f=t.apply.baseProjSysCode)==null?void 0:f.split("\uFF1B"))==null?void 0:y.map((C,m)=>{var h,B,S,A,k,$,V;return{application:((h=N.value)==null?void 0:h.find(j=>j.applicationCode===C))||{applicationCode:C,applicationName:((S=(B=t.apply)==null?void 0:B.baseProjSys)==null?void 0:S.split("\uFF1B")[m])||""},baseAccountAppName:((k=(A=t.apply)==null?void 0:A.baseAccountAppName)==null?void 0:k.split("\uFF1B")[m])||"",baseBrainName:((V=($=t.apply)==null?void 0:$.baseBrainName)==null?void 0:V.split("\uFF1B")[m])||""}}))||[]}}})),(t,x)=>{const R=_("el-button"),f=_("el-option"),y=_("el-select"),c=_("el-form-item"),C=_("el-input"),m=_("table-list"),h=_("el-col"),B=_("el-row"),S=_("el-form");return o(),u(S,{ref_key:"formRef",ref:w,model:p.value,rules:r.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:l(()=>[i(B,{gutter:40},{default:l(()=>[i(h,{span:24},{default:l(()=>{var A,k,$,V,j;return[((k=(A=d.basicInfoData)==null?void 0:A.baseConstructionType)==null?void 0:k.includes("01"))&&!((($=d.basicInfoData)==null?void 0:$.baseProjType)==="01"&&(((V=d.basicInfoData)==null?void 0:V.baseProjSetProg)==="01"||((j=d.basicInfoData)==null?void 0:j.baseProjSetProg)==="02"))?(o(),u(c,{key:"applications1",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applications"},{default:l(()=>{var O;return[H("p",oe,[i(R,{type:"primary",disabled:!!((O=b.value)!=null&&O.length)&&d.isSupplemented,onClick:Q},{default:l(()=>[Z("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1},8,["disabled"])]),i(m,{pagination:!1,style:{width:"100%"},column:K,data:p.value.applications,"empty-temp":!1},{application:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].application`,rules:[{required:!0,message:" "}]},{default:l(()=>{var a,n;return[i(y,{modelValue:p.value.applications[e.$index].application,"onUpdate:modelValue":s=>p.value.applications[e.$index].application=s,class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",filterable:"",disabled:((n=(a=b.value)==null?void 0:a[e.$index])==null?void 0:n.application)&&d.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(N.value,(s,J)=>(o(),u(f,{key:J,label:s.applicationName,value:s},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("",!0)]),applicationCode:l(({scope:e})=>[i(c,null,{default:l(()=>{var a;return[i(C,{disabled:"","model-value":(a=e.row.application)==null?void 0:a.applicationCode},null,8,["model-value"])]}),_:2},1024)]),baseAccountAppName:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].baseAccountAppName`},{default:l(()=>{var a;return[i(y,{modelValue:e.row.baseAccountAppName,"onUpdate:modelValue":n=>e.row.baseAccountAppName=n,disabled:((a=b.value)==null?void 0:a[e.$index].baseAccountAppName)&&d.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(F(L),(n,s)=>(o(),u(f,{key:s,label:n,value:n},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("",!0)]),baseBrainName:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].baseBrainName`},{default:l(()=>{var a;return[i(y,{modelValue:e.row.baseBrainName,"onUpdate:modelValue":n=>e.row.baseBrainName=n,disabled:((a=b.value)==null?void 0:a[e.$index].baseBrainName)&&d.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(F(T),(n,s)=>(o(),u(f,{key:s,label:n,value:n},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("",!0)]),action:l(({scope:e})=>{var a;return[((a=b.value)==null?void 0:a.length)&&d.isSupplemented?(o(),g("span",ne,"-")):(o(),g("a",{key:1,class:"text-danger",onClick:n=>W(e.$index)},"\u5220\u9664",8,ie))]}),_:1},8,["data"])]}),_:1})):(o(),u(c,{key:"applications2",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:l(()=>{var O;return[H("p",pe,[i(R,{type:"primary",disabled:!!((O=b.value)!=null&&O.length)&&d.isSupplemented,onClick:Q},{default:l(()=>[Z("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1},8,["disabled"])]),i(m,{pagination:!1,style:{width:"100%"},column:K,data:p.value.applications,"empty-temp":!1},{application:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].application`,rules:[{required:!0,message:" "}]},{default:l(()=>{var a,n;return[i(y,{modelValue:p.value.applications[e.$index].application,"onUpdate:modelValue":s=>p.value.applications[e.$index].application=s,class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",filterable:"",disabled:((n=(a=b.value)==null?void 0:a[e.$index])==null?void 0:n.application)&&d.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(N.value,(s,J)=>(o(),u(f,{key:J,label:s.applicationName,value:s},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("",!0)]),applicationCode:l(({scope:e})=>[i(c,null,{default:l(()=>{var a;return[i(C,{disabled:"","model-value":(a=e.row.application)==null?void 0:a.applicationCode},null,8,["model-value"])]}),_:2},1024)]),baseAccountAppName:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].baseAccountAppName`},{default:l(()=>[i(y,{modelValue:e.row.baseAccountAppName,"onUpdate:modelValue":a=>e.row.baseAccountAppName=a},{default:l(()=>[(o(!0),g(P,null,U(F(L),(a,n)=>(o(),u(f,{key:n,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):D("",!0)]),baseBrainName:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].baseBrainName`},{default:l(()=>[i(y,{modelValue:e.row.baseBrainName,"onUpdate:modelValue":a=>e.row.baseBrainName=a},{default:l(()=>[(o(!0),g(P,null,U(F(T),(a,n)=>(o(),u(f,{key:n,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):D("",!0)]),action:l(({scope:e})=>[H("a",{class:"text-danger",onClick:a=>W(e.$index)},"\u5220\u9664",8,ue)]),_:1},8,["data"])]}),_:1}))]}),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{me as default}; +var E=(d,z,v)=>new Promise((G,I)=>{var L=r=>{try{w(v.next(r))}catch(p){I(p)}},T=r=>{try{w(v.throw(r))}catch(p){I(p)}},w=r=>r.done?G(r.value):Promise.resolve(r.value).then(L,T);w((v=v.apply(d,z)).next())});import{b as M}from"./index.afd31e12.js";import{d as ee,G as ae,D as X,z as le,r as q,L as Y,o as te,c as _,e as o,I as u,i as l,h as i,g as H,j as Z,f as g,F as P,J as U,k as D,u as F}from"./index.07ccce2b.js";const oe={class:"text-right w-full mb-8"},ne={key:0},ie=["onClick"],pe={class:"text-right w-full mb-8"},ue=["onClick"],de=ee({name:"projectCollectionEnterBasicInfo"}),me=Object.assign(de,{props:{detail:{type:Object},basicInfoData:{type:Object},isSupplemented:{type:Boolean,default:!1}},setup(d,{expose:z}){const v=ae(X.userStore).userInfo,G=le(),I=d,{accountAppNameOption:L,domainBrainAccountOptions:T}=X.dictStore.globalDicts||{},w=q(),r=q(),p=q({applications:[]}),K=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",slot:"application",key:"application"},{label:"IRS\u5E94\u7528\u7F16\u7801",slot:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",slot:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',slot:"baseBrainName",key:"baseBrainName"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],Q=()=>E(this,null,function*(){var t;if(!((t=N.value)!=null&&t.length)){const x=yield M({areaCode:v.value.regionCode});N.value=x.data}p.value.applications.push({application:void 0})}),W=t=>{p.value.applications.splice(t,1)},N=q([]),b=q();return z({formRef:w,formData:p}),Y(()=>I.basicInfoData,t=>{var x;(t==null?void 0:t.baseProjIsConfidentiality)==="02"||(t==null?void 0:t.baseProjSetProg)==="00"?r.value={}:r.value={applications:[{required:!0,message:"\u8BF7\u81F3\u5C11\u5173\u8054\u4E00\u4E2A\u5E94\u7528"}]},(x=w.value)==null||x.clearValidate()},{deep:!0,immediate:!0}),te(()=>E(this,null,function*(){if(!G.query.id){const t=yield M({areaCode:v.value.regionCode});N.value=t.data}})),Y(()=>I.detail,t=>E(this,null,function*(){var x,R,f,y;if(t){I.isSupplemented&&(b.value=((R=(x=t.apply.baseProjSysCode)==null?void 0:x.split("\uFF1B"))==null?void 0:R.map((C,m)=>{var h,B,S,A,k,$,V;return{application:((h=N.value)==null?void 0:h.find(j=>j.applicationCode===C))||{applicationCode:C,applicationName:((S=(B=t.apply)==null?void 0:B.baseProjSys)==null?void 0:S.split("\uFF1B")[m])||""},baseAccountAppName:((k=(A=t.apply)==null?void 0:A.baseAccountAppName)==null?void 0:k.split("\uFF1B")[m])||"",baseBrainName:((V=($=t.apply)==null?void 0:$.baseBrainName)==null?void 0:V.split("\uFF1B")[m])||""}}))||[],console.log(b.value));const c=yield M({areaCode:v.value.regionCode});N.value=c.data,p.value={applications:((y=(f=t.apply.baseProjSysCode)==null?void 0:f.split("\uFF1B"))==null?void 0:y.map((C,m)=>{var h,B,S,A,k,$,V;return{application:((h=N.value)==null?void 0:h.find(j=>j.applicationCode===C))||{applicationCode:C,applicationName:((S=(B=t.apply)==null?void 0:B.baseProjSys)==null?void 0:S.split("\uFF1B")[m])||""},baseAccountAppName:((k=(A=t.apply)==null?void 0:A.baseAccountAppName)==null?void 0:k.split("\uFF1B")[m])||"",baseBrainName:((V=($=t.apply)==null?void 0:$.baseBrainName)==null?void 0:V.split("\uFF1B")[m])||""}}))||[]}}})),(t,x)=>{const R=_("el-button"),f=_("el-option"),y=_("el-select"),c=_("el-form-item"),C=_("el-input"),m=_("table-list"),h=_("el-col"),B=_("el-row"),S=_("el-form");return o(),u(S,{ref_key:"formRef",ref:w,model:p.value,rules:r.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:l(()=>[i(B,{gutter:40},{default:l(()=>[i(h,{span:24},{default:l(()=>{var A,k,$,V,j;return[((k=(A=d.basicInfoData)==null?void 0:A.baseConstructionType)==null?void 0:k.includes("01"))&&!((($=d.basicInfoData)==null?void 0:$.baseProjType)==="01"&&(((V=d.basicInfoData)==null?void 0:V.baseProjSetProg)==="01"||((j=d.basicInfoData)==null?void 0:j.baseProjSetProg)==="02"))?(o(),u(c,{key:"applications1",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applications"},{default:l(()=>{var O;return[H("p",oe,[i(R,{type:"primary",disabled:!!((O=b.value)!=null&&O.length)&&d.isSupplemented,onClick:Q},{default:l(()=>[Z("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1},8,["disabled"])]),i(m,{pagination:!1,style:{width:"100%"},column:K,data:p.value.applications,"empty-temp":!1},{application:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].application`,rules:[{required:!0,message:" "}]},{default:l(()=>{var a,n;return[i(y,{modelValue:p.value.applications[e.$index].application,"onUpdate:modelValue":s=>p.value.applications[e.$index].application=s,class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",filterable:"",disabled:((n=(a=b.value)==null?void 0:a[e.$index])==null?void 0:n.application)&&d.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(N.value,(s,J)=>(o(),u(f,{key:J,label:s.applicationName,value:s},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("",!0)]),applicationCode:l(({scope:e})=>[i(c,null,{default:l(()=>{var a;return[i(C,{disabled:"","model-value":(a=e.row.application)==null?void 0:a.applicationCode},null,8,["model-value"])]}),_:2},1024)]),baseAccountAppName:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].baseAccountAppName`},{default:l(()=>{var a;return[i(y,{modelValue:e.row.baseAccountAppName,"onUpdate:modelValue":n=>e.row.baseAccountAppName=n,disabled:((a=b.value)==null?void 0:a[e.$index].baseAccountAppName)&&d.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(F(L),(n,s)=>(o(),u(f,{key:s,label:n,value:n},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("",!0)]),baseBrainName:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].baseBrainName`},{default:l(()=>{var a;return[i(y,{modelValue:e.row.baseBrainName,"onUpdate:modelValue":n=>e.row.baseBrainName=n,disabled:((a=b.value)==null?void 0:a[e.$index].baseBrainName)&&d.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(F(T),(n,s)=>(o(),u(f,{key:s,label:n,value:n},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("",!0)]),action:l(({scope:e})=>{var a;return[((a=b.value)==null?void 0:a.length)&&d.isSupplemented?(o(),g("span",ne,"-")):(o(),g("a",{key:1,class:"text-danger",onClick:n=>W(e.$index)},"\u5220\u9664",8,ie))]}),_:1},8,["data"])]}),_:1})):(o(),u(c,{key:"applications2",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:l(()=>{var O;return[H("p",pe,[i(R,{type:"primary",disabled:!!((O=b.value)!=null&&O.length)&&d.isSupplemented,onClick:Q},{default:l(()=>[Z("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1},8,["disabled"])]),i(m,{pagination:!1,style:{width:"100%"},column:K,data:p.value.applications,"empty-temp":!1},{application:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].application`,rules:[{required:!0,message:" "}]},{default:l(()=>{var a,n;return[i(y,{modelValue:p.value.applications[e.$index].application,"onUpdate:modelValue":s=>p.value.applications[e.$index].application=s,class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",filterable:"",disabled:((n=(a=b.value)==null?void 0:a[e.$index])==null?void 0:n.application)&&d.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(N.value,(s,J)=>(o(),u(f,{key:J,label:s.applicationName,value:s},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("",!0)]),applicationCode:l(({scope:e})=>[i(c,null,{default:l(()=>{var a;return[i(C,{disabled:"","model-value":(a=e.row.application)==null?void 0:a.applicationCode},null,8,["model-value"])]}),_:2},1024)]),baseAccountAppName:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].baseAccountAppName`},{default:l(()=>[i(y,{modelValue:e.row.baseAccountAppName,"onUpdate:modelValue":a=>e.row.baseAccountAppName=a},{default:l(()=>[(o(!0),g(P,null,U(F(L),(a,n)=>(o(),u(f,{key:n,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):D("",!0)]),baseBrainName:l(({scope:e})=>[e.$index>=0?(o(),u(c,{key:0,prop:`applications[${e.$index}].baseBrainName`},{default:l(()=>[i(y,{modelValue:e.row.baseBrainName,"onUpdate:modelValue":a=>e.row.baseBrainName=a},{default:l(()=>[(o(!0),g(P,null,U(F(T),(a,n)=>(o(),u(f,{key:n,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):D("",!0)]),action:l(({scope:e})=>[H("a",{class:"text-danger",onClick:a=>W(e.$index)},"\u5220\u9664",8,ue)]),_:1},8,["data"])]}),_:1}))]}),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{me as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.7714f3b8.js b/lishui2/web/dist/assets/applicationInfo.6b609e3c.js similarity index 98% rename from lishui2/web/dist/assets/applicationInfo.7714f3b8.js rename to lishui2/web/dist/assets/applicationInfo.6b609e3c.js index 10b84c4..d843445 100644 --- a/lishui2/web/dist/assets/applicationInfo.7714f3b8.js +++ b/lishui2/web/dist/assets/applicationInfo.6b609e3c.js @@ -1 +1 @@ -var te=Object.defineProperty,oe=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var M=(f,n,r)=>n in f?te(f,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):f[n]=r,q=(f,n)=>{for(var r in n||(n={}))re.call(n,r)&&M(f,r,n[r]);if(F)for(var r of F(n))ne.call(n,r)&&M(f,r,n[r]);return f},S=(f,n)=>oe(f,ue(n));var j=(f,n,r)=>new Promise((U,N)=>{var A=g=>{try{C(r.next(g))}catch(i){N(i)}},I=g=>{try{C(r.throw(g))}catch(i){N(i)}},C=g=>g.done?U(g.value):Promise.resolve(g.value).then(A,I);C((r=r.apply(f,n)).next())});import{d as ie,D as z,G as pe,r as D,L as J,c as _,e as u,I as v,i as l,h as e,u as L,f as b,F as V,J as y,j as w,t as P,Y as de,k as ce,g as Y,x as me}from"./index.51e934d4.js";import{b as fe}from"./index.2907f0cd.js";const _e=Y("p",{class:"text-12 text-danger",style:{"line-height":"1.4"}},"\u6E29\u99A8\u63D0\u793A\uFF1A\u9996\u6B21\u5EFA\u8BBE\u9879\u76EE\u8BF7\u5148\u53BBIRS\u5E73\u53F0\u6CE8\u518C\u540E\u518D\u5173\u8054\u5E94\u7528",-1),ve=ie({name:"appBasicInfo"}),Be=Object.assign(ve,{props:{data:{type:Object,default:null},drawerVisible:{type:Boolean,default:!1},isFirst:{type:Number,default:void 0},coreBusiness:{type:Array,default:()=>[]}},setup(f,{expose:n}){const{publisher:r,insuranceLevel:U,applicationType:N,accountAppNameOption:A,domainBrainAccountOptions:I}=z.dictStore.globalDicts||{},C=pe(z.userStore).userInfo||{},{proxy:g}=me(),i=f,a=D({coreBusinessList:[{}]}),x=D(),H={applicationName:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u540D\u79F0"}],relatedExistsApplication:[{required:!0,message:"\u8BF7\u9009\u62E9IRS\u6CE8\u518C\u5E94\u7528"}],relatedExistsApplicationCode:[{required:!0,message:"\u8BF7\u9009\u62E9IRS\u5E94\u7528\u7F16\u7801"}],applicationType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5E94\u7528\u7C7B\u578B"}],publishSide:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u7AEF"}],applicationSummary:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u7B80\u4ECB"}],secrecyGrade:[{required:!0,message:"\u8BF7\u9009\u62E9\u7B49\u4FDD\u7EA7\u522B"}],passwordGrade:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"}],accountAppName:[{required:!0,message:"\u8BF7\u9009\u62E9"}],domainBrainAccount:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},K=m=>{x.value.validate(o=>{m(o)})},Q=()=>{x.value.clearValidate()},E=D([]),W=()=>j(this,null,function*(){const m=yield fe({areaCode:C.value.regionCode});E.value=m.data}),X=m=>{a.value.relatedExistsApplicationCode=m.applicationCode},Z=()=>{var m,o,B;if(((m=i.coreBusiness)==null?void 0:m.length)<=((o=a.value.coreBusinessList)==null?void 0:o.length)){g.$message.warning(`\u6700\u591A\u6DFB\u52A0${((B=i.coreBusiness)==null?void 0:B.length)||1}\u4E2A\u6838\u5FC3\u4E1A\u52A1`);return}a.value.coreBusinessList.push({})},ee=m=>{a.value.coreBusinessList.splice(m,1)};return J(()=>i.drawerVisible,m=>{var o;m&&(a.value=S(q({},i.data),{coreBusinessList:(o=i.data.coreBusinessList)!=null&&o.length?i.data.coreBusinessList:[{}]}),W())},{immediate:!0}),J(()=>i.data,m=>{var o;a.value=S(q({},i.data),{coreBusinessList:(o=i.data.coreBusinessList)!=null&&o.length?i.data.coreBusinessList:[{}]})},{immediate:!0,deep:!0}),n({validForm:K,formData:a,clearValidate:Q}),(m,o)=>{const B=_("el-option"),k=_("el-select"),p=_("el-form-item"),d=_("el-col"),h=_("el-input"),R=_("el-radio"),G=_("el-radio-group"),le=_("el-input-number"),$=_("el-row"),T=_("el-button"),ae=_("el-form");return u(),v(ae,{ref_key:"formRef",ref:x,model:a.value,rules:H,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:l(()=>[e($,{gutter:20},{default:l(()=>[i.isFirst===0&&L(C).regionCode==="331123"||L(C).regionCode!=="331123"?(u(),b(V,{key:0},[e(d,{span:12},{default:l(()=>[e(p,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528",prop:"relatedExistsApplication"},{default:l(()=>[e(k,{modelValue:a.value.relatedExistsApplication,"onUpdate:modelValue":o[0]||(o[0]=s=>a.value.relatedExistsApplication=s),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",onChange:X},{default:l(()=>[(u(!0),b(V,null,y(E.value,(s,t)=>(u(),v(B,{key:t,label:s.applicationName,value:{applicationCode:s.applicationCode,applicationName:s.applicationName}},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),_e]),_:1})]),_:1}),e(d,{span:12},{default:l(()=>[e(p,{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"relatedExistsApplicationCode"},{default:l(()=>[e(h,{modelValue:a.value.relatedExistsApplicationCode,"onUpdate:modelValue":o[1]||(o[1]=s=>a.value.relatedExistsApplicationCode=s),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})],64)):(u(),v(d,{key:1,span:12},{default:l(()=>[e(p,{label:"\u5E94\u7528\u540D\u79F0",prop:"applicationName"},{default:l(()=>[e(h,{modelValue:a.value.applicationName,"onUpdate:modelValue":o[2]||(o[2]=s=>a.value.applicationName=s),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1})),e(d,{span:12},{default:l(()=>[e(p,{label:"\u5E94\u7528\u7C7B\u578B",prop:"applicationType"},{default:l(()=>[e(k,{modelValue:a.value.applicationType,"onUpdate:modelValue":o[3]||(o[3]=s=>a.value.applicationType=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),b(V,null,y(L(N),(s,t)=>(u(),v(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:l(()=>[e(p,{label:"\u53D1\u5E03\u7AEF",prop:"publishSide"},{default:l(()=>[e(k,{modelValue:a.value.publishSide,"onUpdate:modelValue":o[4]||(o[4]=s=>a.value.publishSide=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),b(V,null,y(L(r),(s,t)=>(u(),v(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:24},{default:l(()=>[e(p,{label:"\u5E94\u7528\u7B80\u4ECB",prop:"applicationSummary"},{default:l(()=>[e(h,{modelValue:a.value.applicationSummary,"onUpdate:modelValue":o[5]||(o[5]=s=>a.value.applicationSummary=s),autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:l(()=>[e(p,{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0"},{default:l(()=>[e(k,{modelValue:a.value.accountAppName,"onUpdate:modelValue":o[6]||(o[6]=s=>a.value.accountAppName=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:""},{default:l(()=>[(u(!0),b(V,null,y(L(A),(s,t)=>(u(),v(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:l(()=>[e(p,{label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"},{default:l(()=>[e(k,{modelValue:a.value.domainBrainAccount,"onUpdate:modelValue":o[7]||(o[7]=s=>a.value.domainBrainAccount=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),b(V,null,y(L(I),(s,t)=>(u(),v(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:24},{default:l(()=>[e(p,{label:"\u7B49\u4FDD\u7EA7\u522B",prop:"secrecyGrade"},{default:l(()=>[e(G,{modelValue:a.value.secrecyGrade,"onUpdate:modelValue":o[8]||(o[8]=s=>a.value.secrecyGrade=s)},{default:l(()=>[(u(!0),b(V,null,y(L(U),(s,t)=>(u(),v(R,{key:t,label:t*1},{default:l(()=>[w(P(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:24},{default:l(()=>[e(p,{label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B",prop:"passwordGrade"},{default:l(()=>[e(G,{modelValue:a.value.passwordGrade,"onUpdate:modelValue":o[9]||(o[9]=s=>a.value.passwordGrade=s)},{default:l(()=>[(u(!0),b(V,null,y(L(U),(s,t)=>(u(),v(R,{key:t,label:t*1},{default:l(()=>[w(P(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),(u(!0),b(V,null,y(a.value.coreBusinessList,(s,t)=>{var O;return u(),b("div",{key:t,class:"py-24 pr-60 mb-16 relative",style:{background:"rgb(245, 248, 250)"}},[e($,null,{default:l(()=>[e(d,{span:12},{default:l(()=>[e(p,{label:"\u6838\u5FC3\u4E1A\u52A1",prop:`coreBusinessList[${t}].coreBusiness`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:l(()=>[e(k,{modelValue:a.value.coreBusinessList[t].coreBusiness,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].coreBusiness=c,placeholder:"\u8BF7\u9009\u62E9\u6838\u5FC3\u4E1A\u52A1",class:"w-full"},{default:l(()=>[(u(!0),b(V,null,y(i.coreBusiness,(c,se)=>(u(),v(B,{key:se,label:c.matterName,value:c.matterName},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u5206\u503C",prop:`coreBusinessList[${t}].score`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(le,{modelValue:a.value.coreBusinessList[t].score,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].score=c,class:"input-amount f",placeholder:"\u8BF7\u586B\u5199",min:.01,max:10,precision:2,controls:!1,onMousewheel:o[10]||(o[10]=de(()=>{},["prevent"]))},{suffix:l(()=>[w("\u5206")]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u4E1A\u52A1\u6307\u6807\u540D\u79F0",prop:`coreBusinessList[${t}].businessIndicatorName`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(h,{modelValue:a.value.coreBusinessList[t].businessIndicatorName,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].businessIndicatorName=c,maxlength:50,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u4E1A\u52A1\u6307\u6807\u63CF\u8FF0",prop:`coreBusinessList[${t}].businessIndicatorDescription`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(h,{modelValue:a.value.coreBusinessList[t].businessIndicatorDescription,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].businessIndicatorDescription=c,maxlength:50,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u6307\u6807\u8BBE\u8BA1\u4F9D\u636E",prop:`coreBusinessList[${t}].indexDesignBasis`,style:{"margin-bottom":"0"},rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(h,{modelValue:a.value.coreBusinessList[t].indexDesignBasis,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].indexDesignBasis=c,maxlength:50,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u6307\u6807\u8BA1\u7B97\u65B9\u6CD5",prop:`coreBusinessList[${t}].indexCalculationMethod`,style:{"margin-bottom":"0"},rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(h,{modelValue:a.value.coreBusinessList[t].indexCalculationMethod,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].indexCalculationMethod=c,maxlength:50,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024)]),_:2},1024),((O=a.value.coreBusinessList)==null?void 0:O.length)>1?(u(),v(T,{key:0,type:"danger",link:"",plain:"",class:"absolute top-10 right-8",onClick:c=>ee(t)},{default:l(()=>[w("\u5220\u9664")]),_:2},1032,["onClick"])):ce("",!0)])}),128)),Y("p",null,[e(T,{type:"primary",size:"small",icon:"Plus",plain:"",class:"ml-80 block",onClick:Z},{default:l(()=>[w("\u6DFB\u52A0\u6838\u5FC3\u4E1A\u52A1")]),_:1})])]),_:1})]),_:1},8,["model"])}}});export{Be as default}; +var te=Object.defineProperty,oe=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var M=(f,n,r)=>n in f?te(f,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):f[n]=r,q=(f,n)=>{for(var r in n||(n={}))re.call(n,r)&&M(f,r,n[r]);if(F)for(var r of F(n))ne.call(n,r)&&M(f,r,n[r]);return f},S=(f,n)=>oe(f,ue(n));var j=(f,n,r)=>new Promise((U,N)=>{var A=g=>{try{C(r.next(g))}catch(i){N(i)}},I=g=>{try{C(r.throw(g))}catch(i){N(i)}},C=g=>g.done?U(g.value):Promise.resolve(g.value).then(A,I);C((r=r.apply(f,n)).next())});import{d as ie,D as z,G as pe,r as D,L as J,c as _,e as u,I as v,i as l,h as e,u as L,f as b,F as V,J as y,j as w,t as P,Y as de,k as ce,g as Y,x as me}from"./index.07ccce2b.js";import{b as fe}from"./index.afd31e12.js";const _e=Y("p",{class:"text-12 text-danger",style:{"line-height":"1.4"}},"\u6E29\u99A8\u63D0\u793A\uFF1A\u9996\u6B21\u5EFA\u8BBE\u9879\u76EE\u8BF7\u5148\u53BBIRS\u5E73\u53F0\u6CE8\u518C\u540E\u518D\u5173\u8054\u5E94\u7528",-1),ve=ie({name:"appBasicInfo"}),Be=Object.assign(ve,{props:{data:{type:Object,default:null},drawerVisible:{type:Boolean,default:!1},isFirst:{type:Number,default:void 0},coreBusiness:{type:Array,default:()=>[]}},setup(f,{expose:n}){const{publisher:r,insuranceLevel:U,applicationType:N,accountAppNameOption:A,domainBrainAccountOptions:I}=z.dictStore.globalDicts||{},C=pe(z.userStore).userInfo||{},{proxy:g}=me(),i=f,a=D({coreBusinessList:[{}]}),x=D(),H={applicationName:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u540D\u79F0"}],relatedExistsApplication:[{required:!0,message:"\u8BF7\u9009\u62E9IRS\u6CE8\u518C\u5E94\u7528"}],relatedExistsApplicationCode:[{required:!0,message:"\u8BF7\u9009\u62E9IRS\u5E94\u7528\u7F16\u7801"}],applicationType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5E94\u7528\u7C7B\u578B"}],publishSide:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u7AEF"}],applicationSummary:[{required:!0,message:"\u8BF7\u586B\u5199\u5E94\u7528\u7B80\u4ECB"}],secrecyGrade:[{required:!0,message:"\u8BF7\u9009\u62E9\u7B49\u4FDD\u7EA7\u522B"}],passwordGrade:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"}],accountAppName:[{required:!0,message:"\u8BF7\u9009\u62E9"}],domainBrainAccount:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},K=m=>{x.value.validate(o=>{m(o)})},Q=()=>{x.value.clearValidate()},E=D([]),W=()=>j(this,null,function*(){const m=yield fe({areaCode:C.value.regionCode});E.value=m.data}),X=m=>{a.value.relatedExistsApplicationCode=m.applicationCode},Z=()=>{var m,o,B;if(((m=i.coreBusiness)==null?void 0:m.length)<=((o=a.value.coreBusinessList)==null?void 0:o.length)){g.$message.warning(`\u6700\u591A\u6DFB\u52A0${((B=i.coreBusiness)==null?void 0:B.length)||1}\u4E2A\u6838\u5FC3\u4E1A\u52A1`);return}a.value.coreBusinessList.push({})},ee=m=>{a.value.coreBusinessList.splice(m,1)};return J(()=>i.drawerVisible,m=>{var o;m&&(a.value=S(q({},i.data),{coreBusinessList:(o=i.data.coreBusinessList)!=null&&o.length?i.data.coreBusinessList:[{}]}),W())},{immediate:!0}),J(()=>i.data,m=>{var o;a.value=S(q({},i.data),{coreBusinessList:(o=i.data.coreBusinessList)!=null&&o.length?i.data.coreBusinessList:[{}]})},{immediate:!0,deep:!0}),n({validForm:K,formData:a,clearValidate:Q}),(m,o)=>{const B=_("el-option"),k=_("el-select"),p=_("el-form-item"),d=_("el-col"),h=_("el-input"),R=_("el-radio"),G=_("el-radio-group"),le=_("el-input-number"),$=_("el-row"),T=_("el-button"),ae=_("el-form");return u(),v(ae,{ref_key:"formRef",ref:x,model:a.value,rules:H,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:l(()=>[e($,{gutter:20},{default:l(()=>[i.isFirst===0&&L(C).regionCode==="331123"||L(C).regionCode!=="331123"?(u(),b(V,{key:0},[e(d,{span:12},{default:l(()=>[e(p,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528",prop:"relatedExistsApplication"},{default:l(()=>[e(k,{modelValue:a.value.relatedExistsApplication,"onUpdate:modelValue":o[0]||(o[0]=s=>a.value.relatedExistsApplication=s),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",onChange:X},{default:l(()=>[(u(!0),b(V,null,y(E.value,(s,t)=>(u(),v(B,{key:t,label:s.applicationName,value:{applicationCode:s.applicationCode,applicationName:s.applicationName}},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),_e]),_:1})]),_:1}),e(d,{span:12},{default:l(()=>[e(p,{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"relatedExistsApplicationCode"},{default:l(()=>[e(h,{modelValue:a.value.relatedExistsApplicationCode,"onUpdate:modelValue":o[1]||(o[1]=s=>a.value.relatedExistsApplicationCode=s),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})],64)):(u(),v(d,{key:1,span:12},{default:l(()=>[e(p,{label:"\u5E94\u7528\u540D\u79F0",prop:"applicationName"},{default:l(()=>[e(h,{modelValue:a.value.applicationName,"onUpdate:modelValue":o[2]||(o[2]=s=>a.value.applicationName=s),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1})),e(d,{span:12},{default:l(()=>[e(p,{label:"\u5E94\u7528\u7C7B\u578B",prop:"applicationType"},{default:l(()=>[e(k,{modelValue:a.value.applicationType,"onUpdate:modelValue":o[3]||(o[3]=s=>a.value.applicationType=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),b(V,null,y(L(N),(s,t)=>(u(),v(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:l(()=>[e(p,{label:"\u53D1\u5E03\u7AEF",prop:"publishSide"},{default:l(()=>[e(k,{modelValue:a.value.publishSide,"onUpdate:modelValue":o[4]||(o[4]=s=>a.value.publishSide=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),b(V,null,y(L(r),(s,t)=>(u(),v(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:24},{default:l(()=>[e(p,{label:"\u5E94\u7528\u7B80\u4ECB",prop:"applicationSummary"},{default:l(()=>[e(h,{modelValue:a.value.applicationSummary,"onUpdate:modelValue":o[5]||(o[5]=s=>a.value.applicationSummary=s),autosize:{minRows:2,maxRows:4},maxlength:"2000",type:"textarea",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:l(()=>[e(p,{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0"},{default:l(()=>[e(k,{modelValue:a.value.accountAppName,"onUpdate:modelValue":o[6]||(o[6]=s=>a.value.accountAppName=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:""},{default:l(()=>[(u(!0),b(V,null,y(L(A),(s,t)=>(u(),v(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:12},{default:l(()=>[e(p,{label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"},{default:l(()=>[e(k,{modelValue:a.value.domainBrainAccount,"onUpdate:modelValue":o[7]||(o[7]=s=>a.value.domainBrainAccount=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(u(!0),b(V,null,y(L(I),(s,t)=>(u(),v(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:24},{default:l(()=>[e(p,{label:"\u7B49\u4FDD\u7EA7\u522B",prop:"secrecyGrade"},{default:l(()=>[e(G,{modelValue:a.value.secrecyGrade,"onUpdate:modelValue":o[8]||(o[8]=s=>a.value.secrecyGrade=s)},{default:l(()=>[(u(!0),b(V,null,y(L(U),(s,t)=>(u(),v(R,{key:t,label:t*1},{default:l(()=>[w(P(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{span:24},{default:l(()=>[e(p,{label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B",prop:"passwordGrade"},{default:l(()=>[e(G,{modelValue:a.value.passwordGrade,"onUpdate:modelValue":o[9]||(o[9]=s=>a.value.passwordGrade=s)},{default:l(()=>[(u(!0),b(V,null,y(L(U),(s,t)=>(u(),v(R,{key:t,label:t*1},{default:l(()=>[w(P(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),(u(!0),b(V,null,y(a.value.coreBusinessList,(s,t)=>{var O;return u(),b("div",{key:t,class:"py-24 pr-60 mb-16 relative",style:{background:"rgb(245, 248, 250)"}},[e($,null,{default:l(()=>[e(d,{span:12},{default:l(()=>[e(p,{label:"\u6838\u5FC3\u4E1A\u52A1",prop:`coreBusinessList[${t}].coreBusiness`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:l(()=>[e(k,{modelValue:a.value.coreBusinessList[t].coreBusiness,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].coreBusiness=c,placeholder:"\u8BF7\u9009\u62E9\u6838\u5FC3\u4E1A\u52A1",class:"w-full"},{default:l(()=>[(u(!0),b(V,null,y(i.coreBusiness,(c,se)=>(u(),v(B,{key:se,label:c.matterName,value:c.matterName},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u5206\u503C",prop:`coreBusinessList[${t}].score`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(le,{modelValue:a.value.coreBusinessList[t].score,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].score=c,class:"input-amount f",placeholder:"\u8BF7\u586B\u5199",min:.01,max:10,precision:2,controls:!1,onMousewheel:o[10]||(o[10]=de(()=>{},["prevent"]))},{suffix:l(()=>[w("\u5206")]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u4E1A\u52A1\u6307\u6807\u540D\u79F0",prop:`coreBusinessList[${t}].businessIndicatorName`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(h,{modelValue:a.value.coreBusinessList[t].businessIndicatorName,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].businessIndicatorName=c,maxlength:50,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u4E1A\u52A1\u6307\u6807\u63CF\u8FF0",prop:`coreBusinessList[${t}].businessIndicatorDescription`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(h,{modelValue:a.value.coreBusinessList[t].businessIndicatorDescription,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].businessIndicatorDescription=c,maxlength:50,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u6307\u6807\u8BBE\u8BA1\u4F9D\u636E",prop:`coreBusinessList[${t}].indexDesignBasis`,style:{"margin-bottom":"0"},rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(h,{modelValue:a.value.coreBusinessList[t].indexDesignBasis,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].indexDesignBasis=c,maxlength:50,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),e(d,{span:12},{default:l(()=>[e(p,{label:"\u6307\u6807\u8BA1\u7B97\u65B9\u6CD5",prop:`coreBusinessList[${t}].indexCalculationMethod`,style:{"margin-bottom":"0"},rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:l(()=>[e(h,{modelValue:a.value.coreBusinessList[t].indexCalculationMethod,"onUpdate:modelValue":c=>a.value.coreBusinessList[t].indexCalculationMethod=c,maxlength:50,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024)]),_:2},1024),((O=a.value.coreBusinessList)==null?void 0:O.length)>1?(u(),v(T,{key:0,type:"danger",link:"",plain:"",class:"absolute top-10 right-8",onClick:c=>ee(t)},{default:l(()=>[w("\u5220\u9664")]),_:2},1032,["onClick"])):ce("",!0)])}),128)),Y("p",null,[e(T,{type:"primary",size:"small",icon:"Plus",plain:"",class:"ml-80 block",onClick:Z},{default:l(()=>[w("\u6DFB\u52A0\u6838\u5FC3\u4E1A\u52A1")]),_:1})])]),_:1})]),_:1},8,["model"])}}});export{Be as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.71200b7f.js b/lishui2/web/dist/assets/applicationInfo.7bf4825a.js similarity index 93% rename from lishui2/web/dist/assets/applicationInfo.71200b7f.js rename to lishui2/web/dist/assets/applicationInfo.7bf4825a.js index 8b02180..b21db34 100644 --- a/lishui2/web/dist/assets/applicationInfo.71200b7f.js +++ b/lishui2/web/dist/assets/applicationInfo.7bf4825a.js @@ -1 +1 @@ -var C=(i,l,a)=>new Promise((c,n)=>{var p=e=>{try{o(a.next(e))}catch(t){n(t)}},s=e=>{try{o(a.throw(e))}catch(t){n(t)}},o=e=>e.done?c(e.value):Promise.resolve(e.value).then(p,s);o((a=a.apply(i,l)).next())});import{b as D}from"./index.2907f0cd.js";import{d as S,G as h,D as v,r as A,o as j,c as m,e as k,I as w,i as I,h as B}from"./index.51e934d4.js";const x=S({name:"basicInfo"}),O=Object.assign(x,{props:{detailData:{type:Object,default:()=>{}}},setup(i){const l=h(v.userStore).userInfo,a=i,c=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applicationName",key:"applicationName"},{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",prop:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',prop:"baseBrainName",key:"baseBrainName"}],n=A([]),p=A([]);return j(()=>C(this,null,function*(){var o,e,t;const s=yield D({areaCode:l.value.regionCode});p.value=s.data,n.value=((t=(e=(o=a==null?void 0:a.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:e.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,b,_,f,N,y;return{applicationCode:r,applicationName:((b=(u=a==null?void 0:a.detailData)==null?void 0:u.baseProjSys)==null?void 0:b.split("\uFF1B")[d])||"",baseAccountAppName:((f=(_=a==null?void 0:a.detailData)==null?void 0:_.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=a==null?void 0:a.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const e=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return k(),w(r,{column:2,border:""},{default:I(()=>[B(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[B(e,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}});export{O as default}; +var C=(i,l,a)=>new Promise((c,n)=>{var p=e=>{try{o(a.next(e))}catch(t){n(t)}},s=e=>{try{o(a.throw(e))}catch(t){n(t)}},o=e=>e.done?c(e.value):Promise.resolve(e.value).then(p,s);o((a=a.apply(i,l)).next())});import{b as D}from"./index.afd31e12.js";import{d as S,G as h,D as v,r as A,o as j,c as m,e as k,I as w,i as I,h as B}from"./index.07ccce2b.js";const x=S({name:"basicInfo"}),O=Object.assign(x,{props:{detailData:{type:Object,default:()=>{}}},setup(i){const l=h(v.userStore).userInfo,a=i,c=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applicationName",key:"applicationName"},{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",prop:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',prop:"baseBrainName",key:"baseBrainName"}],n=A([]),p=A([]);return j(()=>C(this,null,function*(){var o,e,t;const s=yield D({areaCode:l.value.regionCode});p.value=s.data,n.value=((t=(e=(o=a==null?void 0:a.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:e.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,b,_,f,N,y;return{applicationCode:r,applicationName:((b=(u=a==null?void 0:a.detailData)==null?void 0:u.baseProjSys)==null?void 0:b.split("\uFF1B")[d])||"",baseAccountAppName:((f=(_=a==null?void 0:a.detailData)==null?void 0:_.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=a==null?void 0:a.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const e=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return k(),w(r,{column:2,border:""},{default:I(()=>[B(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[B(e,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}});export{O as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.a6c5cb2e.js b/lishui2/web/dist/assets/applicationInfo.91072220.js similarity index 93% rename from lishui2/web/dist/assets/applicationInfo.a6c5cb2e.js rename to lishui2/web/dist/assets/applicationInfo.91072220.js index 8b02180..b21db34 100644 --- a/lishui2/web/dist/assets/applicationInfo.a6c5cb2e.js +++ b/lishui2/web/dist/assets/applicationInfo.91072220.js @@ -1 +1 @@ -var C=(i,l,a)=>new Promise((c,n)=>{var p=e=>{try{o(a.next(e))}catch(t){n(t)}},s=e=>{try{o(a.throw(e))}catch(t){n(t)}},o=e=>e.done?c(e.value):Promise.resolve(e.value).then(p,s);o((a=a.apply(i,l)).next())});import{b as D}from"./index.2907f0cd.js";import{d as S,G as h,D as v,r as A,o as j,c as m,e as k,I as w,i as I,h as B}from"./index.51e934d4.js";const x=S({name:"basicInfo"}),O=Object.assign(x,{props:{detailData:{type:Object,default:()=>{}}},setup(i){const l=h(v.userStore).userInfo,a=i,c=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applicationName",key:"applicationName"},{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",prop:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',prop:"baseBrainName",key:"baseBrainName"}],n=A([]),p=A([]);return j(()=>C(this,null,function*(){var o,e,t;const s=yield D({areaCode:l.value.regionCode});p.value=s.data,n.value=((t=(e=(o=a==null?void 0:a.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:e.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,b,_,f,N,y;return{applicationCode:r,applicationName:((b=(u=a==null?void 0:a.detailData)==null?void 0:u.baseProjSys)==null?void 0:b.split("\uFF1B")[d])||"",baseAccountAppName:((f=(_=a==null?void 0:a.detailData)==null?void 0:_.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=a==null?void 0:a.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const e=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return k(),w(r,{column:2,border:""},{default:I(()=>[B(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[B(e,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}});export{O as default}; +var C=(i,l,a)=>new Promise((c,n)=>{var p=e=>{try{o(a.next(e))}catch(t){n(t)}},s=e=>{try{o(a.throw(e))}catch(t){n(t)}},o=e=>e.done?c(e.value):Promise.resolve(e.value).then(p,s);o((a=a.apply(i,l)).next())});import{b as D}from"./index.afd31e12.js";import{d as S,G as h,D as v,r as A,o as j,c as m,e as k,I as w,i as I,h as B}from"./index.07ccce2b.js";const x=S({name:"basicInfo"}),O=Object.assign(x,{props:{detailData:{type:Object,default:()=>{}}},setup(i){const l=h(v.userStore).userInfo,a=i,c=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applicationName",key:"applicationName"},{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",prop:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',prop:"baseBrainName",key:"baseBrainName"}],n=A([]),p=A([]);return j(()=>C(this,null,function*(){var o,e,t;const s=yield D({areaCode:l.value.regionCode});p.value=s.data,n.value=((t=(e=(o=a==null?void 0:a.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:e.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,b,_,f,N,y;return{applicationCode:r,applicationName:((b=(u=a==null?void 0:a.detailData)==null?void 0:u.baseProjSys)==null?void 0:b.split("\uFF1B")[d])||"",baseAccountAppName:((f=(_=a==null?void 0:a.detailData)==null?void 0:_.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=a==null?void 0:a.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const e=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return k(),w(r,{column:2,border:""},{default:I(()=>[B(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[B(e,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}});export{O as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.b72f51fb.js b/lishui2/web/dist/assets/applicationInfo.dd84d1cb.js similarity index 98% rename from lishui2/web/dist/assets/applicationInfo.b72f51fb.js rename to lishui2/web/dist/assets/applicationInfo.dd84d1cb.js index 6da0034..cfe6cee 100644 --- a/lishui2/web/dist/assets/applicationInfo.b72f51fb.js +++ b/lishui2/web/dist/assets/applicationInfo.dd84d1cb.js @@ -1 +1 @@ -var T=(b,q,f)=>new Promise((L,V)=>{var h=s=>{try{_(f.next(s))}catch(i){V(i)}},I=s=>{try{_(f.throw(s))}catch(i){V(i)}},_=s=>s.done?L(s.value):Promise.resolve(s.value).then(h,I);_((f=f.apply(b,q)).next())});import{b as M}from"./index.2907f0cd.js";import{d as W,G as X,D as H,z as Y,r as D,L as K,o as Z,c as d,e as t,I as p,i as l,h as n,g as R,j as Q,f as N,F as k,J as v,k as x,u as O}from"./index.51e934d4.js";const ee={class:"text-right w-full mb-8"},ae=["onClick"],le={class:"text-right w-full mb-8"},te=["onClick"],oe=W({name:"projectCollectionEnterBasicInfo"}),ue=Object.assign(oe,{props:{detail:{type:Object},basicInfoData:{type:Object}},setup(b,{expose:q}){const f=X(H.userStore).userInfo,L=Y(),V=b,{accountAppNameOption:h,domainBrainAccountOptions:I}=H.dictStore.globalDicts||{},_=D(),s=D(),i=D({applications:[]}),E=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",slot:"application",key:"application"},{label:"IRS\u5E94\u7528\u7F16\u7801",slot:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",slot:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',slot:"baseBrainName",key:"baseBrainName"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],F=()=>{i.value.applications.push({application:void 0})},z=o=>{i.value.applications.splice(o,1)},C=D([]);return q({formRef:_,formData:i}),K(()=>V.basicInfoData,o=>{var y;(o==null?void 0:o.baseProjIsConfidentiality)==="02"||(o==null?void 0:o.baseProjSetProg)==="00"?s.value={}:s.value={applications:[{required:!0,message:"\u8BF7\u81F3\u5C11\u5173\u8054\u4E00\u4E2A\u5E94\u7528"}]},(y=_.value)==null||y.clearValidate()},{deep:!0,immediate:!0}),Z(()=>T(this,null,function*(){if(!L.query.id){const o=yield M({areaCode:f.value.regionCode});C.value=o.data}})),K(()=>V.detail,o=>T(this,null,function*(){var y,A;if(o){const m=yield M({areaCode:f.value.regionCode});C.value=m.data,i.value={applications:((A=(y=o.apply.baseProjSysCode)==null?void 0:y.split("\uFF1B"))==null?void 0:A.map((c,u)=>{var $,w,j,U,S,g,B;return{application:(($=C.value)==null?void 0:$.find(P=>P.applicationCode===c))||{applicationCode:c,applicationName:((j=(w=o.apply)==null?void 0:w.baseProjSys)==null?void 0:j.split("\uFF1B")[u])||""},baseAccountAppName:((S=(U=o.apply)==null?void 0:U.baseAccountAppName)==null?void 0:S.split("\uFF1B")[u])||"",baseBrainName:((B=(g=o.apply)==null?void 0:g.baseBrainName)==null?void 0:B.split("\uFF1B")[u])||""}}))||[]}}})),(o,y)=>{const A=d("el-button"),m=d("el-option"),c=d("el-select"),u=d("el-form-item"),$=d("el-input"),w=d("table-list"),j=d("el-col"),U=d("el-row"),S=d("el-form");return t(),p(S,{ref_key:"formRef",ref:_,model:i.value,rules:s.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:l(()=>[n(U,{gutter:40},{default:l(()=>[n(j,{span:24},{default:l(()=>{var g,B,P,G,J;return[((B=(g=b.basicInfoData)==null?void 0:g.baseConstructionType)==null?void 0:B.includes("01"))&&!(((P=b.basicInfoData)==null?void 0:P.baseProjType)==="01"&&(((G=b.basicInfoData)==null?void 0:G.baseProjSetProg)==="01"||((J=b.basicInfoData)==null?void 0:J.baseProjSetProg)==="02"))?(t(),p(u,{key:"applications1",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applications"},{default:l(()=>[R("p",ee,[n(A,{type:"primary",onClick:F},{default:l(()=>[Q("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1})]),n(w,{pagination:!1,style:{width:"100%"},column:E,data:i.value.applications,"empty-temp":!1},{application:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].application`,rules:[{required:!0,message:" "}]},{default:l(()=>[n(c,{modelValue:i.value.applications[e.$index].application,"onUpdate:modelValue":a=>i.value.applications[e.$index].application=a,class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",filterable:""},{default:l(()=>[(t(!0),N(k,null,v(C.value,(a,r)=>(t(),p(m,{key:r,label:a.applicationName,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),applicationCode:l(({scope:e})=>[n(u,null,{default:l(()=>{var a;return[n($,{disabled:"","model-value":(a=e.row.application)==null?void 0:a.applicationCode},null,8,["model-value"])]}),_:2},1024)]),baseAccountAppName:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].baseAccountAppName`},{default:l(()=>[n(c,{modelValue:e.row.baseAccountAppName,"onUpdate:modelValue":a=>e.row.baseAccountAppName=a},{default:l(()=>[(t(!0),N(k,null,v(O(h),(a,r)=>(t(),p(m,{key:r,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),baseBrainName:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].baseBrainName`},{default:l(()=>[n(c,{modelValue:e.row.baseBrainName,"onUpdate:modelValue":a=>e.row.baseBrainName=a},{default:l(()=>[(t(!0),N(k,null,v(O(I),(a,r)=>(t(),p(m,{key:r,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),action:l(({scope:e})=>[R("a",{class:"text-danger",onClick:a=>z(e.$index)},"\u5220\u9664",8,ae)]),_:1},8,["data"])]),_:1})):(t(),p(u,{key:"applications2",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:l(()=>[R("p",le,[n(A,{type:"primary",onClick:F},{default:l(()=>[Q("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1})]),n(w,{pagination:!1,style:{width:"100%"},column:E,data:i.value.applications,"empty-temp":!1},{application:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].application`,rules:[{required:!0,message:" "}]},{default:l(()=>[n(c,{modelValue:i.value.applications[e.$index].application,"onUpdate:modelValue":a=>i.value.applications[e.$index].application=a,class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",filterable:""},{default:l(()=>[(t(!0),N(k,null,v(C.value,(a,r)=>(t(),p(m,{key:r,label:a.applicationName,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),applicationCode:l(({scope:e})=>[n(u,null,{default:l(()=>{var a;return[n($,{disabled:"","model-value":(a=e.row.application)==null?void 0:a.applicationCode},null,8,["model-value"])]}),_:2},1024)]),baseAccountAppName:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].baseAccountAppName`},{default:l(()=>[n(c,{modelValue:e.row.baseAccountAppName,"onUpdate:modelValue":a=>e.row.baseAccountAppName=a},{default:l(()=>[(t(!0),N(k,null,v(O(h),(a,r)=>(t(),p(m,{key:r,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),baseBrainName:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].baseBrainName`},{default:l(()=>[n(c,{modelValue:e.row.baseBrainName,"onUpdate:modelValue":a=>e.row.baseBrainName=a},{default:l(()=>[(t(!0),N(k,null,v(O(I),(a,r)=>(t(),p(m,{key:r,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),action:l(({scope:e})=>[R("a",{class:"text-danger",onClick:a=>z(e.$index)},"\u5220\u9664",8,te)]),_:1},8,["data"])]),_:1}))]}),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{ue as default}; +var T=(b,q,f)=>new Promise((L,V)=>{var h=s=>{try{_(f.next(s))}catch(i){V(i)}},I=s=>{try{_(f.throw(s))}catch(i){V(i)}},_=s=>s.done?L(s.value):Promise.resolve(s.value).then(h,I);_((f=f.apply(b,q)).next())});import{b as M}from"./index.afd31e12.js";import{d as W,G as X,D as H,z as Y,r as D,L as K,o as Z,c as d,e as t,I as p,i as l,h as n,g as R,j as Q,f as N,F as k,J as v,k as x,u as O}from"./index.07ccce2b.js";const ee={class:"text-right w-full mb-8"},ae=["onClick"],le={class:"text-right w-full mb-8"},te=["onClick"],oe=W({name:"projectCollectionEnterBasicInfo"}),ue=Object.assign(oe,{props:{detail:{type:Object},basicInfoData:{type:Object}},setup(b,{expose:q}){const f=X(H.userStore).userInfo,L=Y(),V=b,{accountAppNameOption:h,domainBrainAccountOptions:I}=H.dictStore.globalDicts||{},_=D(),s=D(),i=D({applications:[]}),E=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",slot:"application",key:"application"},{label:"IRS\u5E94\u7528\u7F16\u7801",slot:"applicationCode",key:"applicationCode"},{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0",slot:"baseAccountAppName",key:"baseAccountAppName"},{label:'"\u9886\u57DF\u5927\u8111"\u4E00\u672C\u8D26\u540D\u79F0',slot:"baseBrainName",key:"baseBrainName"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],F=()=>{i.value.applications.push({application:void 0})},z=o=>{i.value.applications.splice(o,1)},C=D([]);return q({formRef:_,formData:i}),K(()=>V.basicInfoData,o=>{var y;(o==null?void 0:o.baseProjIsConfidentiality)==="02"||(o==null?void 0:o.baseProjSetProg)==="00"?s.value={}:s.value={applications:[{required:!0,message:"\u8BF7\u81F3\u5C11\u5173\u8054\u4E00\u4E2A\u5E94\u7528"}]},(y=_.value)==null||y.clearValidate()},{deep:!0,immediate:!0}),Z(()=>T(this,null,function*(){if(!L.query.id){const o=yield M({areaCode:f.value.regionCode});C.value=o.data}})),K(()=>V.detail,o=>T(this,null,function*(){var y,A;if(o){const m=yield M({areaCode:f.value.regionCode});C.value=m.data,i.value={applications:((A=(y=o.apply.baseProjSysCode)==null?void 0:y.split("\uFF1B"))==null?void 0:A.map((c,u)=>{var $,w,j,U,S,g,B;return{application:(($=C.value)==null?void 0:$.find(P=>P.applicationCode===c))||{applicationCode:c,applicationName:((j=(w=o.apply)==null?void 0:w.baseProjSys)==null?void 0:j.split("\uFF1B")[u])||""},baseAccountAppName:((S=(U=o.apply)==null?void 0:U.baseAccountAppName)==null?void 0:S.split("\uFF1B")[u])||"",baseBrainName:((B=(g=o.apply)==null?void 0:g.baseBrainName)==null?void 0:B.split("\uFF1B")[u])||""}}))||[]}}})),(o,y)=>{const A=d("el-button"),m=d("el-option"),c=d("el-select"),u=d("el-form-item"),$=d("el-input"),w=d("table-list"),j=d("el-col"),U=d("el-row"),S=d("el-form");return t(),p(S,{ref_key:"formRef",ref:_,model:i.value,rules:s.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:l(()=>[n(U,{gutter:40},{default:l(()=>[n(j,{span:24},{default:l(()=>{var g,B,P,G,J;return[((B=(g=b.basicInfoData)==null?void 0:g.baseConstructionType)==null?void 0:B.includes("01"))&&!(((P=b.basicInfoData)==null?void 0:P.baseProjType)==="01"&&(((G=b.basicInfoData)==null?void 0:G.baseProjSetProg)==="01"||((J=b.basicInfoData)==null?void 0:J.baseProjSetProg)==="02"))?(t(),p(u,{key:"applications1",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applications"},{default:l(()=>[R("p",ee,[n(A,{type:"primary",onClick:F},{default:l(()=>[Q("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1})]),n(w,{pagination:!1,style:{width:"100%"},column:E,data:i.value.applications,"empty-temp":!1},{application:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].application`,rules:[{required:!0,message:" "}]},{default:l(()=>[n(c,{modelValue:i.value.applications[e.$index].application,"onUpdate:modelValue":a=>i.value.applications[e.$index].application=a,class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",filterable:""},{default:l(()=>[(t(!0),N(k,null,v(C.value,(a,r)=>(t(),p(m,{key:r,label:a.applicationName,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),applicationCode:l(({scope:e})=>[n(u,null,{default:l(()=>{var a;return[n($,{disabled:"","model-value":(a=e.row.application)==null?void 0:a.applicationCode},null,8,["model-value"])]}),_:2},1024)]),baseAccountAppName:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].baseAccountAppName`},{default:l(()=>[n(c,{modelValue:e.row.baseAccountAppName,"onUpdate:modelValue":a=>e.row.baseAccountAppName=a},{default:l(()=>[(t(!0),N(k,null,v(O(h),(a,r)=>(t(),p(m,{key:r,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),baseBrainName:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].baseBrainName`},{default:l(()=>[n(c,{modelValue:e.row.baseBrainName,"onUpdate:modelValue":a=>e.row.baseBrainName=a},{default:l(()=>[(t(!0),N(k,null,v(O(I),(a,r)=>(t(),p(m,{key:r,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),action:l(({scope:e})=>[R("a",{class:"text-danger",onClick:a=>z(e.$index)},"\u5220\u9664",8,ae)]),_:1},8,["data"])]),_:1})):(t(),p(u,{key:"applications2",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:l(()=>[R("p",le,[n(A,{type:"primary",onClick:F},{default:l(()=>[Q("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1})]),n(w,{pagination:!1,style:{width:"100%"},column:E,data:i.value.applications,"empty-temp":!1},{application:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].application`,rules:[{required:!0,message:" "}]},{default:l(()=>[n(c,{modelValue:i.value.applications[e.$index].application,"onUpdate:modelValue":a=>i.value.applications[e.$index].application=a,class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"applicationCode",filterable:""},{default:l(()=>[(t(!0),N(k,null,v(C.value,(a,r)=>(t(),p(m,{key:r,label:a.applicationName,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),applicationCode:l(({scope:e})=>[n(u,null,{default:l(()=>{var a;return[n($,{disabled:"","model-value":(a=e.row.application)==null?void 0:a.applicationCode},null,8,["model-value"])]}),_:2},1024)]),baseAccountAppName:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].baseAccountAppName`},{default:l(()=>[n(c,{modelValue:e.row.baseAccountAppName,"onUpdate:modelValue":a=>e.row.baseAccountAppName=a},{default:l(()=>[(t(!0),N(k,null,v(O(h),(a,r)=>(t(),p(m,{key:r,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),baseBrainName:l(({scope:e})=>[e.$index>=0?(t(),p(u,{key:0,prop:`applications[${e.$index}].baseBrainName`},{default:l(()=>[n(c,{modelValue:e.row.baseBrainName,"onUpdate:modelValue":a=>e.row.baseBrainName=a},{default:l(()=>[(t(!0),N(k,null,v(O(I),(a,r)=>(t(),p(m,{key:r,label:a,value:a},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):x("",!0)]),action:l(({scope:e})=>[R("a",{class:"text-danger",onClick:a=>z(e.$index)},"\u5220\u9664",8,te)]),_:1},8,["data"])]),_:1}))]}),_:1})]),_:1})]),_:1},8,["model","rules"])}}});export{ue as default}; diff --git a/lishui2/web/dist/assets/applicationListDialog.5a8c41e4.js b/lishui2/web/dist/assets/applicationListDialog.7ff18b5b.js similarity index 97% rename from lishui2/web/dist/assets/applicationListDialog.5a8c41e4.js rename to lishui2/web/dist/assets/applicationListDialog.7ff18b5b.js index eb37920..b3bd15b 100644 --- a/lishui2/web/dist/assets/applicationListDialog.5a8c41e4.js +++ b/lishui2/web/dist/assets/applicationListDialog.7ff18b5b.js @@ -1 +1 @@ -var U=Object.defineProperty,R=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var A=(n,t,a)=>t in n?U(n,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[t]=a,N=(n,t)=>{for(var a in t||(t={}))J.call(t,a)&&A(n,a,t[a]);if(V)for(var a of V(t))$.call(t,a)&&A(n,a,t[a]);return n},j=(n,t)=>R(n,z(t));var k=(n,t,a)=>new Promise((_,v)=>{var r=u=>{try{y(a.next(u))}catch(c){v(c)}},m=u=>{try{y(a.throw(u))}catch(c){v(c)}},y=u=>u.done?_(u.value):Promise.resolve(u.value).then(r,m);y((a=a.apply(n,t)).next())});import{d as q,D as F,b as G,r as O,L as W,c as f,e as H,I as K,i as d,g as I,h as s,j as S,a3 as T}from"./index.51e934d4.js";import{a as Q,b as X}from"./evaluationPlan.04bb5208.js";const Y={class:"search mb-16"},Z={class:"dialog-footer"},ee=q({name:"applicationListDialog"}),oe=Object.assign(ee,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0},params:{type:Object,default:()=>({})}},emits:["close","getAppData"],setup(n,{emit:t}){const{digitalModifySystem:a}=F.dictStore.globalDicts||{},_=n,v=t,r=G({projectName:void 0,buildOrg:void 0}),m=O(),y=O(0),u=[{type:"selection",reserveSelection:!0,width:"55"},{label:"\u5E94\u7528\u540D\u79F0",key:"relatedExistsApplication",prop:"relatedExistsApplication",showOverflowTooltip:!0,width:150,render:o=>T("span",o.relatedExistsApplication||o.applicationName)},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrgName",prop:"buildOrgName",minWidth:"120",showOverflowTooltip:!0},{label:"\u5E94\u7528\u7C7B\u578B",key:"applicationType",prop:"applicationType",width:"150"},{label:"\u5E94\u7528\u9886\u57DF",key:"digitalModification",prop:"digitalModification",width:"140",render:o=>{var e,l;return T("span",(l=(e=o.digitalModification)==null?void 0:e.split(","))==null?void 0:l.map(i=>a[i]).join("\uFF0C"))}},{label:"\u53D1\u5E03\u7AEF",key:"publishSide",prop:"publishSide",width:"80"}],c=O([]),w=(...l)=>k(this,[...l],function*(o=(e=>(e=m.value)==null?void 0:e.pageParams)()){const i=yield Q(N(N(N({},o),r),_.params));y.value=i.data.total,c.value=i.data.records||[];const p=JSON.parse(JSON.stringify(b.value));p!=null&&p.length&&c.value&&c.value.forEach(g=>{p.map(C=>C.id).includes(g.id)&&m.value.toggleRowSelect(g,!0)})}),x=()=>{m.value.pageParams.pageNumber=1,w()},E=()=>{r.projectName=void 0,r.buildOrg=void 0,m.value.pageParams.pageNumber=1,m.value.pageParams.pageSize=10,w()},b=O([]),L=o=>{b.value=o;const e=o.map(l=>l.id);c.value.forEach(l=>{e.includes(l.id)?b.value.push(l):b.value=b.value.filter(i=>i.id!==l.id)})},B=()=>k(this,null,function*(){const o={},e=b.value.reduce((i,p)=>(o[p.id]||(o[p.id]=i.push(p)),i),[]),l=e.map(i=>i.id);yield X({applicationIds:l,appraisalId:_.params.appraisalId}),v("getAppData",e)});return W(()=>_.visible,o=>k(this,null,function*(){var e;o&&((e=_.data)!=null&&e.length&&(b.value=_.data.map(l=>j(N({},l),{id:l.appId}))),w())})),(o,e)=>{const l=f("el-input"),i=f("el-form-item"),p=f("el-col"),g=f("el-button"),D=f("el-row"),C=f("el-form"),M=f("table-list"),P=f("el-dialog");return H(),K(P,{"model-value":n.visible,title:"\u6DFB\u52A0\u5E94\u7528",width:"70%","destroy-on-close":"",onClose:e[3]||(e[3]=h=>v("close"))},{footer:d(()=>[I("span",Z,[s(g,{onClick:e[2]||(e[2]=h=>v("close"))},{default:d(()=>[S("\u5173\u95ED")]),_:1}),s(g,{type:"primary",onClick:B},{default:d(()=>[S(" \u786E\u5B9A ")]),_:1})])]),default:d(()=>[I("div",Y,[s(C,{"label-suffix":":",model:r,size:"small"},{default:d(()=>[s(D,{gutter:16},{default:d(()=>[s(p,{span:8},{default:d(()=>[s(i,{label:"\u5E94\u7528\u540D\u79F0"},{default:d(()=>[s(l,{modelValue:r.applicationName,"onUpdate:modelValue":e[0]||(e[0]=h=>r.applicationName=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),s(p,{span:8},{default:d(()=>[s(i,{label:"\u7533\u62A5\u5355\u4F4D"},{default:d(()=>[s(l,{modelValue:r.buildUnitName,"onUpdate:modelValue":e[1]||(e[1]=h=>r.buildUnitName=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),s(p,{span:8},{default:d(()=>[s(i,{class:"btn"},{default:d(()=>[s(g,{type:"primary",onClick:x},{default:d(()=>[S("\u67E5\u8BE2")]),_:1}),s(g,{onClick:E},{default:d(()=>[S("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),s(M,{ref_key:"tableListRef",ref:m,column:u,data:c.value,total:y.value,"row-key":"id",onSelectionChange:L,onGetTableData:w},null,8,["data","total"])]),_:1},8,["model-value"])}}});export{oe as default}; +var U=Object.defineProperty,R=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var A=(n,t,a)=>t in n?U(n,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[t]=a,N=(n,t)=>{for(var a in t||(t={}))J.call(t,a)&&A(n,a,t[a]);if(V)for(var a of V(t))$.call(t,a)&&A(n,a,t[a]);return n},j=(n,t)=>R(n,z(t));var k=(n,t,a)=>new Promise((_,v)=>{var r=u=>{try{y(a.next(u))}catch(c){v(c)}},m=u=>{try{y(a.throw(u))}catch(c){v(c)}},y=u=>u.done?_(u.value):Promise.resolve(u.value).then(r,m);y((a=a.apply(n,t)).next())});import{d as q,D as F,b as G,r as O,L as W,c as f,e as H,I as K,i as d,g as I,h as s,j as S,a3 as T}from"./index.07ccce2b.js";import{a as Q,b as X}from"./evaluationPlan.0a8473f3.js";const Y={class:"search mb-16"},Z={class:"dialog-footer"},ee=q({name:"applicationListDialog"}),oe=Object.assign(ee,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0},params:{type:Object,default:()=>({})}},emits:["close","getAppData"],setup(n,{emit:t}){const{digitalModifySystem:a}=F.dictStore.globalDicts||{},_=n,v=t,r=G({projectName:void 0,buildOrg:void 0}),m=O(),y=O(0),u=[{type:"selection",reserveSelection:!0,width:"55"},{label:"\u5E94\u7528\u540D\u79F0",key:"relatedExistsApplication",prop:"relatedExistsApplication",showOverflowTooltip:!0,width:150,render:o=>T("span",o.relatedExistsApplication||o.applicationName)},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrgName",prop:"buildOrgName",minWidth:"120",showOverflowTooltip:!0},{label:"\u5E94\u7528\u7C7B\u578B",key:"applicationType",prop:"applicationType",width:"150"},{label:"\u5E94\u7528\u9886\u57DF",key:"digitalModification",prop:"digitalModification",width:"140",render:o=>{var e,l;return T("span",(l=(e=o.digitalModification)==null?void 0:e.split(","))==null?void 0:l.map(i=>a[i]).join("\uFF0C"))}},{label:"\u53D1\u5E03\u7AEF",key:"publishSide",prop:"publishSide",width:"80"}],c=O([]),w=(...l)=>k(this,[...l],function*(o=(e=>(e=m.value)==null?void 0:e.pageParams)()){const i=yield Q(N(N(N({},o),r),_.params));y.value=i.data.total,c.value=i.data.records||[];const p=JSON.parse(JSON.stringify(b.value));p!=null&&p.length&&c.value&&c.value.forEach(g=>{p.map(C=>C.id).includes(g.id)&&m.value.toggleRowSelect(g,!0)})}),x=()=>{m.value.pageParams.pageNumber=1,w()},E=()=>{r.projectName=void 0,r.buildOrg=void 0,m.value.pageParams.pageNumber=1,m.value.pageParams.pageSize=10,w()},b=O([]),L=o=>{b.value=o;const e=o.map(l=>l.id);c.value.forEach(l=>{e.includes(l.id)?b.value.push(l):b.value=b.value.filter(i=>i.id!==l.id)})},B=()=>k(this,null,function*(){const o={},e=b.value.reduce((i,p)=>(o[p.id]||(o[p.id]=i.push(p)),i),[]),l=e.map(i=>i.id);yield X({applicationIds:l,appraisalId:_.params.appraisalId}),v("getAppData",e)});return W(()=>_.visible,o=>k(this,null,function*(){var e;o&&((e=_.data)!=null&&e.length&&(b.value=_.data.map(l=>j(N({},l),{id:l.appId}))),w())})),(o,e)=>{const l=f("el-input"),i=f("el-form-item"),p=f("el-col"),g=f("el-button"),D=f("el-row"),C=f("el-form"),M=f("table-list"),P=f("el-dialog");return H(),K(P,{"model-value":n.visible,title:"\u6DFB\u52A0\u5E94\u7528",width:"70%","destroy-on-close":"",onClose:e[3]||(e[3]=h=>v("close"))},{footer:d(()=>[I("span",Z,[s(g,{onClick:e[2]||(e[2]=h=>v("close"))},{default:d(()=>[S("\u5173\u95ED")]),_:1}),s(g,{type:"primary",onClick:B},{default:d(()=>[S(" \u786E\u5B9A ")]),_:1})])]),default:d(()=>[I("div",Y,[s(C,{"label-suffix":":",model:r,size:"small"},{default:d(()=>[s(D,{gutter:16},{default:d(()=>[s(p,{span:8},{default:d(()=>[s(i,{label:"\u5E94\u7528\u540D\u79F0"},{default:d(()=>[s(l,{modelValue:r.applicationName,"onUpdate:modelValue":e[0]||(e[0]=h=>r.applicationName=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),s(p,{span:8},{default:d(()=>[s(i,{label:"\u7533\u62A5\u5355\u4F4D"},{default:d(()=>[s(l,{modelValue:r.buildUnitName,"onUpdate:modelValue":e[1]||(e[1]=h=>r.buildUnitName=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),s(p,{span:8},{default:d(()=>[s(i,{class:"btn"},{default:d(()=>[s(g,{type:"primary",onClick:x},{default:d(()=>[S("\u67E5\u8BE2")]),_:1}),s(g,{onClick:E},{default:d(()=>[S("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),s(M,{ref_key:"tableListRef",ref:m,column:u,data:c.value,total:y.value,"row-key":"id",onSelectionChange:L,onGetTableData:w},null,8,["data","total"])]),_:1},8,["model-value"])}}});export{oe as default}; diff --git a/lishui2/web/dist/assets/applications.f1bd31ec.js b/lishui2/web/dist/assets/applications.96f2b86f.js similarity index 95% rename from lishui2/web/dist/assets/applications.f1bd31ec.js rename to lishui2/web/dist/assets/applications.96f2b86f.js index 36ba952..7053a41 100644 --- a/lishui2/web/dist/assets/applications.f1bd31ec.js +++ b/lishui2/web/dist/assets/applications.96f2b86f.js @@ -1 +1 @@ -import{d as g,r as C,D,c,e as n,I as r,i as e,f as _,F as p,J as x,g as S,t,h as o,j as i,k as w,u as k}from"./index.51e934d4.js";import"./index.25c56c35.js";const T={class:"collapse-title"},h=g({name:"applications"}),v=Object.assign(h,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(V){const m=C(["0"]),{insuranceLevel:u}=D.dictStore.globalDicts||{};return(F,f)=>{const l=c("el-descriptions-item"),b=c("el-descriptions"),y=c("el-collapse-item"),B=c("el-collapse");return n(),r(B,{modelValue:m.value,"onUpdate:modelValue":f[0]||(f[0]=a=>m.value=a)},{default:e(()=>[(n(!0),_(p,null,x(V.detailData.projectApplications,(a,N)=>(n(),r(y,{key:N,name:N},{title:e(()=>[S("div",T,t(a.applicationName||a.relatedExistsApplication),1)]),default:e(()=>[o(b,{column:2,border:"",class:"mb-16"},{default:e(()=>[a.relatedExistsApplication?(n(),_(p,{key:0},[o(l,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528"},{default:e(()=>[i(t(a.relatedExistsApplication||"-"),1)]),_:2},1024),o(l,{label:"IRS\u5E94\u7528\u7F16\u7801"},{default:e(()=>[i(t(a.relatedExistsApplicationCode||"-"),1)]),_:2},1024)],64)):(n(),r(l,{key:1,label:"\u5E94\u7528\u540D\u79F0"},{default:e(()=>[i(t(a.applicationName||"-"),1)]),_:2},1024)),w("",!0),o(l,{label:"\u5E94\u7528\u7C7B\u578B"},{default:e(()=>[i(t(a.applicationType||"-"),1)]),_:2},1024),o(l,{label:"\u53D1\u5E03\u7AEF"},{default:e(()=>[i(t(a.publishSide),1)]),_:2},1024),o(l,{label:"\u5E94\u7528\u7B80\u4ECB"},{default:e(()=>[i(t(a.applicationSummary||"-"),1)]),_:2},1024),o(l,{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0"},{default:e(()=>[i(t(a.accountAppName||"-"),1)]),_:2},1024),o(l,{label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"},{default:e(()=>[i(t(a.domainBrainAccount||"-"),1)]),_:2},1024),o(l,{label:"\u7B49\u4FDD\u7EA7\u522B"},{default:e(()=>[i(t(k(u)[a.secrecyGrade]||"-"),1)]),_:2},1024),o(l,{label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"},{default:e(()=>[i(t(k(u)[a.passwordGrade]||"-"),1)]),_:2},1024)]),_:2},1024),(n(!0),_(p,null,x(a.coreBusinessList,(s,d)=>(n(),r(b,{key:d,border:"",column:2,class:"mb-16",title:`\u6838\u5FC3\u4E1A\u52A1${d+1}`},{default:e(()=>[o(l,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:e(()=>[i(t(s.coreBusiness||"-"),1)]),_:2},1024),o(l,{label:"\u5206\u503C"},{default:e(()=>[i(t(s.score||"0")+"\u5206 ",1)]),_:2},1024),o(l,{label:"\u4E1A\u52A1\u6307\u6807\u540D\u79F0"},{default:e(()=>[i(t(s.businessIndicatorName||"-"),1)]),_:2},1024),o(l,{label:"\u4E1A\u52A1\u6307\u6807\u63CF\u8FF0"},{default:e(()=>[i(t(s.businessIndicatorDescription||"-"),1)]),_:2},1024),o(l,{label:"\u6307\u6807\u8BBE\u8BA1\u4F9D\u636E"},{default:e(()=>[i(t(s.indexDesignBasis||"-"),1)]),_:2},1024),o(l,{label:"\u6307\u6807\u8BA1\u7B97\u65B9\u6CD5"},{default:e(()=>[i(t(s.indexCalculationMethod||"-"),1)]),_:2},1024)]),_:2},1032,["title"]))),128))]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])}}});export{v as default}; +import{d as g,r as C,D,c,e as n,I as r,i as e,f as _,F as p,J as x,g as S,t,h as o,j as i,k as w,u as k}from"./index.07ccce2b.js";import"./index.0d7a0f2a.js";const T={class:"collapse-title"},h=g({name:"applications"}),v=Object.assign(h,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(V){const m=C(["0"]),{insuranceLevel:u}=D.dictStore.globalDicts||{};return(F,f)=>{const l=c("el-descriptions-item"),b=c("el-descriptions"),y=c("el-collapse-item"),B=c("el-collapse");return n(),r(B,{modelValue:m.value,"onUpdate:modelValue":f[0]||(f[0]=a=>m.value=a)},{default:e(()=>[(n(!0),_(p,null,x(V.detailData.projectApplications,(a,N)=>(n(),r(y,{key:N,name:N},{title:e(()=>[S("div",T,t(a.applicationName||a.relatedExistsApplication),1)]),default:e(()=>[o(b,{column:2,border:"",class:"mb-16"},{default:e(()=>[a.relatedExistsApplication?(n(),_(p,{key:0},[o(l,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528"},{default:e(()=>[i(t(a.relatedExistsApplication||"-"),1)]),_:2},1024),o(l,{label:"IRS\u5E94\u7528\u7F16\u7801"},{default:e(()=>[i(t(a.relatedExistsApplicationCode||"-"),1)]),_:2},1024)],64)):(n(),r(l,{key:1,label:"\u5E94\u7528\u540D\u79F0"},{default:e(()=>[i(t(a.applicationName||"-"),1)]),_:2},1024)),w("",!0),o(l,{label:"\u5E94\u7528\u7C7B\u578B"},{default:e(()=>[i(t(a.applicationType||"-"),1)]),_:2},1024),o(l,{label:"\u53D1\u5E03\u7AEF"},{default:e(()=>[i(t(a.publishSide),1)]),_:2},1024),o(l,{label:"\u5E94\u7528\u7B80\u4ECB"},{default:e(()=>[i(t(a.applicationSummary||"-"),1)]),_:2},1024),o(l,{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0"},{default:e(()=>[i(t(a.accountAppName||"-"),1)]),_:2},1024),o(l,{label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"},{default:e(()=>[i(t(a.domainBrainAccount||"-"),1)]),_:2},1024),o(l,{label:"\u7B49\u4FDD\u7EA7\u522B"},{default:e(()=>[i(t(k(u)[a.secrecyGrade]||"-"),1)]),_:2},1024),o(l,{label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"},{default:e(()=>[i(t(k(u)[a.passwordGrade]||"-"),1)]),_:2},1024)]),_:2},1024),(n(!0),_(p,null,x(a.coreBusinessList,(s,d)=>(n(),r(b,{key:d,border:"",column:2,class:"mb-16",title:`\u6838\u5FC3\u4E1A\u52A1${d+1}`},{default:e(()=>[o(l,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:e(()=>[i(t(s.coreBusiness||"-"),1)]),_:2},1024),o(l,{label:"\u5206\u503C"},{default:e(()=>[i(t(s.score||"0")+"\u5206 ",1)]),_:2},1024),o(l,{label:"\u4E1A\u52A1\u6307\u6807\u540D\u79F0"},{default:e(()=>[i(t(s.businessIndicatorName||"-"),1)]),_:2},1024),o(l,{label:"\u4E1A\u52A1\u6307\u6807\u63CF\u8FF0"},{default:e(()=>[i(t(s.businessIndicatorDescription||"-"),1)]),_:2},1024),o(l,{label:"\u6307\u6807\u8BBE\u8BA1\u4F9D\u636E"},{default:e(()=>[i(t(s.indexDesignBasis||"-"),1)]),_:2},1024),o(l,{label:"\u6307\u6807\u8BA1\u7B97\u65B9\u6CD5"},{default:e(()=>[i(t(s.indexCalculationMethod||"-"),1)]),_:2},1024)]),_:2},1032,["title"]))),128))]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])}}});export{v as default}; diff --git a/lishui2/web/dist/assets/applications.6b3513bf.js b/lishui2/web/dist/assets/applications.b9e616bc.js similarity index 93% rename from lishui2/web/dist/assets/applications.6b3513bf.js rename to lishui2/web/dist/assets/applications.b9e616bc.js index 894ee9a..2ff17db 100644 --- a/lishui2/web/dist/assets/applications.6b3513bf.js +++ b/lishui2/web/dist/assets/applications.b9e616bc.js @@ -1 +1 @@ -var Q=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var E=(n,a,e)=>a in n?Q(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e,y=(n,a)=>{for(var e in a||(a={}))Z.call(a,e)&&E(n,e,a[e]);if(L)for(var e of L(a))ee.call(a,e)&&E(n,e,a[e]);return n},F=(n,a)=>X(n,Y(a));var k=(n,a,e)=>new Promise((C,s)=>{var x=u=>{try{h(e.next(u))}catch(r){s(r)}},V=u=>{try{h(e.throw(u))}catch(r){s(r)}},h=u=>u.done?C(u.value):Promise.resolve(u.value).then(x,V);h((e=e.apply(n,a)).next())});import"./appBasicInfo.37b1d820.js";import"./appSafeInfo.2da2e43b.js";import"./appResourceInfo.588fa5fe.js";import{d as ae,z as le,r as p,c,e as P,f as te,h as i,i as o,j as v,I as oe,g as A,k as S,F as ie,a3 as ne,N as j,T as se,x as pe}from"./index.51e934d4.js";import ce from"./applicationInfo.7714f3b8.js";import"./uploadAction.20ffefc6.js";import"./index.2907f0cd.js";const re=["onClick"],ue=["onClick"];const de={class:"applyBottomBtn flexCenter marginTop"},_e=ae({name:"applications"}),$e=Object.assign(_e,{props:{isInnovateWholeProvinceShare:{type:Boolean,default:!1},isFirst:{type:Number,default:void 0},coreBusiness:{type:Array,default:()=>[]}},setup(n,{expose:a}){const e=le(),{proxy:C}=pe(),s=p({applicationList:[]}),x=p(),V={includeApplication:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5305\u542B\u5E94\u7528",trigger:"blur"}],applicationList:[{required:!0,message:"\u8BF7\u6DFB\u52A0\u5E94\u7528",trigger:"blur"}]},h=[{type:"index",label:"\u5E8F\u53F7",width:60},{label:"\u5E94\u7528\u540D\u79F0",key:"applicationName",prop:"applicationName",render:l=>{var t;return ne("span",l.applicationName||((t=l.relatedExistsApplication)==null?void 0:t.applicationName)||"")}},{label:"\u64CD\u4F5C",slot:"action"}],u=l=>{C.$messageBox.confirm("\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u9879\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>{s.value.applicationList.splice(l,1)})},r=p(!1),fe=p(["1","2","3"]),b=p({}),me=p(),ve=p(),he=p(),d=p(),g=p(!1),I=p(),M=(l,t)=>k(this,null,function*(){g.value=!0,I.value=l,b.value=t,r.value=!0,yield j(),d.value.clearValidate()}),T=()=>k(this,null,function*(){g.value=!1,b.value={},r.value=!0,yield j(),d.value.clearValidate()}),N=()=>{se.confirm("\u786E\u5B9A\u8981\u5173\u95ED\u5E94\u7528\u7F16\u8F91\u9875\u9762\u5417\uFF1F").then(()=>{R()}).catch(()=>{})},R=()=>{d.value.formData={},d.value.clearValidate(),r.value=!1},B=()=>{g.value?s.value.applicationList[I.value]=y({},d.value.formData):s.value.applicationList.push(y({},d.value.formData)),R()},q=()=>{const l=[];l.push(new Promise((t,m)=>{d.value.validForm(_=>{_&&t()})})),Promise.all([...l]).then(()=>{B()})},U=l=>{x.value.validate(t=>{l(t)})},z=l=>{var m;const t=e.query.isDraft?"applicationList":"projectApplications";s.value={includeApplication:l.includeApplication,applicationList:(m=l[t])!=null&&m.length?l[t].map(_=>F(y({},_),{relatedExistsApplication:_.relatedExistsApplication?{applicationCode:_.relatedExistsApplicationCode,applicationName:_.relatedExistsApplication}:void 0})):[]}},W=()=>{s.value.applicationList=[]};return a({validForm:U,formData:s,applicationData:b,setFormData:z}),(l,t)=>{const m=c("el-radio"),_=c("el-radio-group"),$=c("el-form-item"),D=c("el-col"),w=c("el-button"),O=c("table-list"),G=c("el-row"),H=c("el-form"),xe=c("el-collapse-item"),be=c("el-collapse"),J=c("el-drawer");return P(),te(ie,null,[i(H,{ref_key:"formRef",ref:x,model:s.value,rules:V,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:o(()=>[i(G,{gutter:40},{default:o(()=>[i(D,{span:12},{default:o(()=>[i($,{label:"\u662F\u5426\u5305\u542B\u5E94\u7528","label-width":"atuo",prop:"includeApplication"},{default:o(()=>[i(_,{modelValue:s.value.includeApplication,"onUpdate:modelValue":t[0]||(t[0]=f=>s.value.includeApplication=f),onChange:W},{default:o(()=>[i(m,{label:1},{default:o(()=>[v("\u662F")]),_:1}),i(m,{label:0},{default:o(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),s.value.includeApplication===1?(P(),oe(D,{key:0,span:24},{default:o(()=>[i($,{label:"\u5305\u542B\u7684\u5E94\u7528",prop:"applicationList"},{default:o(()=>[i(w,{type:"primary",plain:"",class:"w-full mb-10",icon:"Plus",onClick:T},{default:o(()=>[v("\u6DFB\u52A0\u5E94\u7528")]),_:1}),i(O,{class:"w-full",pagination:!1,data:s.value.applicationList,column:h},{action:o(({scope:f})=>[A("a",{onClick:K=>M(f.$index,f.row)},"\u7F16\u8F91",8,re),A("a",{class:"text-red-400",onClick:K=>u(f.$index)},"\u5220\u9664",8,ue)]),_:1},8,["data"])]),_:1})]),_:1})):S("",!0)]),_:1})]),_:1},8,["model"]),i(J,{modelValue:r.value,"onUpdate:modelValue":t[2]||(t[2]=f=>r.value=f),title:"\u6DFB\u52A0\u5E94\u7528","before-close":N,size:1e3},{footer:o(()=>[A("div",de,[i(w,{onClick:N},{default:o(()=>[v(" \u5173\u95ED ")]),_:1}),i(w,{type:"primary",plain:"",onClick:B},{default:o(()=>[v(" \u6682\u5B58 ")]),_:1}),i(w,{type:"primary",onClick:q},{default:o(()=>[v(" \u786E\u5B9A ")]),_:1})])]),default:o(()=>[S("",!0),i(ce,{ref_key:"applicationInfoRef",ref:d,data:b.value,"is-first":n.isFirst,"core-business":n.coreBusiness,"drawer-visible":r.value},null,8,["data","is-first","core-business","drawer-visible"])]),_:1},8,["modelValue"])],64)}}});export{$e as default}; +var Q=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var E=(n,a,e)=>a in n?Q(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e,y=(n,a)=>{for(var e in a||(a={}))Z.call(a,e)&&E(n,e,a[e]);if(L)for(var e of L(a))ee.call(a,e)&&E(n,e,a[e]);return n},F=(n,a)=>X(n,Y(a));var k=(n,a,e)=>new Promise((C,s)=>{var x=u=>{try{h(e.next(u))}catch(r){s(r)}},V=u=>{try{h(e.throw(u))}catch(r){s(r)}},h=u=>u.done?C(u.value):Promise.resolve(u.value).then(x,V);h((e=e.apply(n,a)).next())});import"./appBasicInfo.0b999dbd.js";import"./appSafeInfo.ea5ce626.js";import"./appResourceInfo.ac24bc2d.js";import{d as ae,z as le,r as p,c,e as P,f as te,h as i,i as o,j as v,I as oe,g as A,k as S,F as ie,a3 as ne,N as j,T as se,x as pe}from"./index.07ccce2b.js";import ce from"./applicationInfo.6b609e3c.js";import"./uploadAction.6462630e.js";import"./index.afd31e12.js";const re=["onClick"],ue=["onClick"];const de={class:"applyBottomBtn flexCenter marginTop"},_e=ae({name:"applications"}),$e=Object.assign(_e,{props:{isInnovateWholeProvinceShare:{type:Boolean,default:!1},isFirst:{type:Number,default:void 0},coreBusiness:{type:Array,default:()=>[]}},setup(n,{expose:a}){const e=le(),{proxy:C}=pe(),s=p({applicationList:[]}),x=p(),V={includeApplication:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5305\u542B\u5E94\u7528",trigger:"blur"}],applicationList:[{required:!0,message:"\u8BF7\u6DFB\u52A0\u5E94\u7528",trigger:"blur"}]},h=[{type:"index",label:"\u5E8F\u53F7",width:60},{label:"\u5E94\u7528\u540D\u79F0",key:"applicationName",prop:"applicationName",render:l=>{var t;return ne("span",l.applicationName||((t=l.relatedExistsApplication)==null?void 0:t.applicationName)||"")}},{label:"\u64CD\u4F5C",slot:"action"}],u=l=>{C.$messageBox.confirm("\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u9879\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>{s.value.applicationList.splice(l,1)})},r=p(!1),fe=p(["1","2","3"]),b=p({}),me=p(),ve=p(),he=p(),d=p(),g=p(!1),I=p(),M=(l,t)=>k(this,null,function*(){g.value=!0,I.value=l,b.value=t,r.value=!0,yield j(),d.value.clearValidate()}),T=()=>k(this,null,function*(){g.value=!1,b.value={},r.value=!0,yield j(),d.value.clearValidate()}),N=()=>{se.confirm("\u786E\u5B9A\u8981\u5173\u95ED\u5E94\u7528\u7F16\u8F91\u9875\u9762\u5417\uFF1F").then(()=>{R()}).catch(()=>{})},R=()=>{d.value.formData={},d.value.clearValidate(),r.value=!1},B=()=>{g.value?s.value.applicationList[I.value]=y({},d.value.formData):s.value.applicationList.push(y({},d.value.formData)),R()},q=()=>{const l=[];l.push(new Promise((t,m)=>{d.value.validForm(_=>{_&&t()})})),Promise.all([...l]).then(()=>{B()})},U=l=>{x.value.validate(t=>{l(t)})},z=l=>{var m;const t=e.query.isDraft?"applicationList":"projectApplications";s.value={includeApplication:l.includeApplication,applicationList:(m=l[t])!=null&&m.length?l[t].map(_=>F(y({},_),{relatedExistsApplication:_.relatedExistsApplication?{applicationCode:_.relatedExistsApplicationCode,applicationName:_.relatedExistsApplication}:void 0})):[]}},W=()=>{s.value.applicationList=[]};return a({validForm:U,formData:s,applicationData:b,setFormData:z}),(l,t)=>{const m=c("el-radio"),_=c("el-radio-group"),$=c("el-form-item"),D=c("el-col"),w=c("el-button"),O=c("table-list"),G=c("el-row"),H=c("el-form"),xe=c("el-collapse-item"),be=c("el-collapse"),J=c("el-drawer");return P(),te(ie,null,[i(H,{ref_key:"formRef",ref:x,model:s.value,rules:V,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:o(()=>[i(G,{gutter:40},{default:o(()=>[i(D,{span:12},{default:o(()=>[i($,{label:"\u662F\u5426\u5305\u542B\u5E94\u7528","label-width":"atuo",prop:"includeApplication"},{default:o(()=>[i(_,{modelValue:s.value.includeApplication,"onUpdate:modelValue":t[0]||(t[0]=f=>s.value.includeApplication=f),onChange:W},{default:o(()=>[i(m,{label:1},{default:o(()=>[v("\u662F")]),_:1}),i(m,{label:0},{default:o(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),s.value.includeApplication===1?(P(),oe(D,{key:0,span:24},{default:o(()=>[i($,{label:"\u5305\u542B\u7684\u5E94\u7528",prop:"applicationList"},{default:o(()=>[i(w,{type:"primary",plain:"",class:"w-full mb-10",icon:"Plus",onClick:T},{default:o(()=>[v("\u6DFB\u52A0\u5E94\u7528")]),_:1}),i(O,{class:"w-full",pagination:!1,data:s.value.applicationList,column:h},{action:o(({scope:f})=>[A("a",{onClick:K=>M(f.$index,f.row)},"\u7F16\u8F91",8,re),A("a",{class:"text-red-400",onClick:K=>u(f.$index)},"\u5220\u9664",8,ue)]),_:1},8,["data"])]),_:1})]),_:1})):S("",!0)]),_:1})]),_:1},8,["model"]),i(J,{modelValue:r.value,"onUpdate:modelValue":t[2]||(t[2]=f=>r.value=f),title:"\u6DFB\u52A0\u5E94\u7528","before-close":N,size:1e3},{footer:o(()=>[A("div",de,[i(w,{onClick:N},{default:o(()=>[v(" \u5173\u95ED ")]),_:1}),i(w,{type:"primary",plain:"",onClick:B},{default:o(()=>[v(" \u6682\u5B58 ")]),_:1}),i(w,{type:"primary",onClick:q},{default:o(()=>[v(" \u786E\u5B9A ")]),_:1})])]),default:o(()=>[S("",!0),i(ce,{ref_key:"applicationInfoRef",ref:d,data:b.value,"is-first":n.isFirst,"core-business":n.coreBusiness,"drawer-visible":r.value},null,8,["data","is-first","core-business","drawer-visible"])]),_:1},8,["modelValue"])],64)}}});export{$e as default}; diff --git a/lishui2/web/dist/assets/applyDialog.76f8fb10.js b/lishui2/web/dist/assets/applyDialog.db2788a4.js similarity index 95% rename from lishui2/web/dist/assets/applyDialog.76f8fb10.js rename to lishui2/web/dist/assets/applyDialog.db2788a4.js index f5d221d..e2bfeb0 100644 --- a/lishui2/web/dist/assets/applyDialog.76f8fb10.js +++ b/lishui2/web/dist/assets/applyDialog.db2788a4.js @@ -1 +1 @@ -var U=Object.defineProperty,q=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var C=(s,l,a)=>l in s?U(s,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[l]=a,F=(s,l)=>{for(var a in l||(l={}))I.call(l,a)&&C(s,a,l[a]);if(V)for(var a of V(l))N.call(l,a)&&C(s,a,l[a]);return s},R=(s,l)=>q(s,B(l));var b=(s,l,a)=>new Promise((w,u)=>{var v=r=>{try{e(a.next(r))}catch(m){u(m)}},p=r=>{try{e(a.throw(r))}catch(m){u(m)}},e=r=>r.done?w(r.value):Promise.resolve(r.value).then(v,p);e((a=a.apply(s,l)).next())});import{h as O,f as L,c as $,b as P,e as T,g as A}from"./uploadAction.20ffefc6.js";import{d as J}from"./delayApply.43ec4d24.js";import{d as z,D as G,r as h,L as H,c as g,e as K,I as Q,i,h as n,j as M,u as d,g as W,t as X,x as Y}from"./index.51e934d4.js";const Z={class:"el-upload__tip"},E=z({name:"applyDialog"}),oe=Object.assign(E,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(s,{emit:l}){const{proxy:a}=Y(),w=G.dictStore.uploadUrl,u=s,v=l,p=h(!1),e=h({supportingMaterials:[]}),r={delayedMonth:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EF6\u671F\u65F6\u957F"}],delayedReason:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EF6\u671F\u7406\u7531"}],supportingMaterials:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},m=h(),j=y=>b(this,null,function*(){!y||y.validate(t=>b(this,null,function*(){var _,f;if(t){p.value=!0;try{const c=R(F({},e.value),{supportingMaterials:((f=(_=e.value)==null?void 0:_.supportingMaterials)==null?void 0:f.length)&&JSON.stringify(A(e.value.supportingMaterials))||void 0,projectId:u.data.id});yield J(c),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),p.value=!1,v("close",!0)}catch(c){p.value=!1}}}))});return H(()=>u.visible,y=>b(this,null,function*(){y?console.log("props.data",u.data):e.value={higherLineSuperOrgReviewComments:[]}})),(y,t)=>{const _=g("el-input"),f=g("el-form-item"),c=g("el-button"),k=g("el-upload"),D=g("el-form"),S=g("el-dialog");return K(),Q(S,{"model-value":s.visible,title:"\u7533\u8BF7\u5EF6\u671F",width:"600px","destroy-on-close":"",onClose:t[6]||(t[6]=o=>v("close"))},{footer:i(()=>[n(c,{type:"primary",loading:p.value,onClick:t[4]||(t[4]=o=>j(m.value))},{default:i(()=>[M(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),n(c,{onClick:t[5]||(t[5]=o=>v("close"))},{default:i(()=>[M(" \u5173\u95ED ")]),_:1})]),default:i(()=>[n(D,{ref_key:"dialogFormRef",ref:m,model:e.value,rules:r,"label-width":"auto","status-icon":"",class:"mt-16"},{default:i(()=>[n(f,{label:"\u5EF6\u671F\u65F6\u957F",prop:"delayedMonth"},{default:i(()=>[n(_,{modelValue:e.value.delayedMonth,"onUpdate:modelValue":t[0]||(t[0]=o=>e.value.delayedMonth=o),placeholder:"\u8BF7\u586B\u5199\u9700\u8981\u5EF6\u957F\u51E0\u4E2A\u6708",onInput:t[1]||(t[1]=o=>{var x;return e.value.delayedMonth=(x=e.value.delayedMonth)==null?void 0:x.replace(/[^\d]/g,"")})},{suffix:i(()=>[M("\u6708")]),_:1},8,["modelValue"])]),_:1}),n(f,{label:"\u5EF6\u671F\u7406\u7531",prop:"delayedReason"},{default:i(()=>[n(_,{modelValue:e.value.delayedReason,"onUpdate:modelValue":t[2]||(t[2]=o=>e.value.delayedReason=o),type:"textarea",maxlength:"1000","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1}),n(f,{label:"\u4F50\u8BC1\u6750\u6599:",prop:"supportingMaterials"},{default:i(()=>[n(k,{"file-list":e.value.supportingMaterials,"onUpdate:fileList":t[3]||(t[3]=o=>e.value.supportingMaterials=o),class:"w-full",action:d(w),limit:1,"on-success":o=>d(O)(o,e.value.supportingMaterials,!0),"before-upload":o=>d(L)(o,{types:d($)}),accept:d($).map(o=>`.${o}`).join(","),"on-preview":d(P)},{tip:i(()=>[W("div",Z," \u652F\u6301"+X(d(T))+"\u6587\u4EF6 ",1)]),default:i(()=>[n(c,{type:"primary",plain:""},{default:i(()=>[M("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{oe as default}; +var U=Object.defineProperty,q=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var C=(s,l,a)=>l in s?U(s,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[l]=a,F=(s,l)=>{for(var a in l||(l={}))I.call(l,a)&&C(s,a,l[a]);if(V)for(var a of V(l))N.call(l,a)&&C(s,a,l[a]);return s},R=(s,l)=>q(s,B(l));var b=(s,l,a)=>new Promise((w,u)=>{var v=r=>{try{e(a.next(r))}catch(m){u(m)}},p=r=>{try{e(a.throw(r))}catch(m){u(m)}},e=r=>r.done?w(r.value):Promise.resolve(r.value).then(v,p);e((a=a.apply(s,l)).next())});import{h as O,f as L,c as $,b as P,e as T,g as A}from"./uploadAction.6462630e.js";import{d as J}from"./delayApply.399141e0.js";import{d as z,D as G,r as h,L as H,c as g,e as K,I as Q,i,h as n,j as M,u as d,g as W,t as X,x as Y}from"./index.07ccce2b.js";const Z={class:"el-upload__tip"},E=z({name:"applyDialog"}),oe=Object.assign(E,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(s,{emit:l}){const{proxy:a}=Y(),w=G.dictStore.uploadUrl,u=s,v=l,p=h(!1),e=h({supportingMaterials:[]}),r={delayedMonth:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EF6\u671F\u65F6\u957F"}],delayedReason:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EF6\u671F\u7406\u7531"}],supportingMaterials:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},m=h(),j=y=>b(this,null,function*(){!y||y.validate(t=>b(this,null,function*(){var _,f;if(t){p.value=!0;try{const c=R(F({},e.value),{supportingMaterials:((f=(_=e.value)==null?void 0:_.supportingMaterials)==null?void 0:f.length)&&JSON.stringify(A(e.value.supportingMaterials))||void 0,projectId:u.data.id});yield J(c),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),p.value=!1,v("close",!0)}catch(c){p.value=!1}}}))});return H(()=>u.visible,y=>b(this,null,function*(){y?console.log("props.data",u.data):e.value={higherLineSuperOrgReviewComments:[]}})),(y,t)=>{const _=g("el-input"),f=g("el-form-item"),c=g("el-button"),k=g("el-upload"),D=g("el-form"),S=g("el-dialog");return K(),Q(S,{"model-value":s.visible,title:"\u7533\u8BF7\u5EF6\u671F",width:"600px","destroy-on-close":"",onClose:t[6]||(t[6]=o=>v("close"))},{footer:i(()=>[n(c,{type:"primary",loading:p.value,onClick:t[4]||(t[4]=o=>j(m.value))},{default:i(()=>[M(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),n(c,{onClick:t[5]||(t[5]=o=>v("close"))},{default:i(()=>[M(" \u5173\u95ED ")]),_:1})]),default:i(()=>[n(D,{ref_key:"dialogFormRef",ref:m,model:e.value,rules:r,"label-width":"auto","status-icon":"",class:"mt-16"},{default:i(()=>[n(f,{label:"\u5EF6\u671F\u65F6\u957F",prop:"delayedMonth"},{default:i(()=>[n(_,{modelValue:e.value.delayedMonth,"onUpdate:modelValue":t[0]||(t[0]=o=>e.value.delayedMonth=o),placeholder:"\u8BF7\u586B\u5199\u9700\u8981\u5EF6\u957F\u51E0\u4E2A\u6708",onInput:t[1]||(t[1]=o=>{var x;return e.value.delayedMonth=(x=e.value.delayedMonth)==null?void 0:x.replace(/[^\d]/g,"")})},{suffix:i(()=>[M("\u6708")]),_:1},8,["modelValue"])]),_:1}),n(f,{label:"\u5EF6\u671F\u7406\u7531",prop:"delayedReason"},{default:i(()=>[n(_,{modelValue:e.value.delayedReason,"onUpdate:modelValue":t[2]||(t[2]=o=>e.value.delayedReason=o),type:"textarea",maxlength:"1000","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1}),n(f,{label:"\u4F50\u8BC1\u6750\u6599:",prop:"supportingMaterials"},{default:i(()=>[n(k,{"file-list":e.value.supportingMaterials,"onUpdate:fileList":t[3]||(t[3]=o=>e.value.supportingMaterials=o),class:"w-full",action:d(w),limit:1,"on-success":o=>d(O)(o,e.value.supportingMaterials,!0),"before-upload":o=>d(L)(o,{types:d($)}),accept:d($).map(o=>`.${o}`).join(","),"on-preview":d(P)},{tip:i(()=>[W("div",Z," \u652F\u6301"+X(d(T))+"\u6587\u4EF6 ",1)]),default:i(()=>[n(c,{type:"primary",plain:""},{default:i(()=>[M("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}});export{oe as default}; diff --git a/lishui2/web/dist/assets/applyInfo.6ba26419.js b/lishui2/web/dist/assets/applyInfo.988e7a33.js similarity index 98% rename from lishui2/web/dist/assets/applyInfo.6ba26419.js rename to lishui2/web/dist/assets/applyInfo.988e7a33.js index f57f91b..49c9191 100644 --- a/lishui2/web/dist/assets/applyInfo.6ba26419.js +++ b/lishui2/web/dist/assets/applyInfo.988e7a33.js @@ -1 +1 @@ -import{_ as O}from"./index.25c56c35.js";import{d as U,r as I,o as Y,c as E,e as o,I as L,i as n,h as i,j as f,t as r,f as u,k as v,F as S,J as g}from"./index.51e934d4.js";const $={key:0},G={key:1},H={key:0},K={key:1},M={key:1},q={key:1},z=U({name:"applyInfo"}),X=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object,default:()=>{}},dictionaryList:Array},setup(a){const F=a,A=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"}],J=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],x=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u6587\u4EF6\uFF08\u652F\u6301word\u3001pdf\u683C\u5F0F\uFF09",slot:"action",width:300}],T=I([]),V=I();return Y(()=>{var C,R,s;T.value=(s=(R=(C=F.detailData)==null?void 0:C.baseProjBasis)==null?void 0:R.split("\uFF1B"))==null?void 0:s.map((m,B)=>{var D,j,P,h,k;const N=`[${(D=F.detailData)==null?void 0:D.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(h=(P=(j=F.dictionaryList)==null?void 0:j.filter(y=>y.type==="PROJECT_BASIS"))==null?void 0:P.find(y=>y.value===m))==null?void 0:h.label,fileList:(k=F.detailData)!=null&&k.baseProjBasisFile?JSON.parse(N)[B]:[],value:m}})}),(C,R)=>{const s=E("el-descriptions-item"),m=E("table-list"),B=E("el-descriptions");return o(),L(B,{column:2,border:""},{default:n(()=>{var N,D,j,P,h,k,y,w;return[i(s,{label:"\u53D1\u6539\u7F16\u7801"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseDevelopCode)||"-"),1)]}),_:1}),i(s,{label:"\u8D22\u653F\u7F16\u7801"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.setProjCodeFinan)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u8D77\u6B62\u65F6\u95F4"},{default:n(()=>{var e,t,l,d,c,b;return[((e=a.detailData)==null?void 0:e.baseProjStartTime)&&((t=a.detailData)==null?void 0:t.baseProjEndTime)?(o(),u("span",$,r((d=(l=a.detailData)==null?void 0:l.baseProjStartTime)==null?void 0:d.split(" ")[0])+" ~ "+r((b=(c=a.detailData)==null?void 0:c.baseProjEndTime)==null?void 0:b.split(" ")[0]),1)):(o(),u("span",G,"-"))]}),_:1}),i(s,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjSetYear)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u603B\u6295\u8D44"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjTotalAmount)||"-")+"\u4E07\u5143 ",1)]}),_:1}),i(s,{label:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjDeclAmount)||"-")+"\u4E07\u5143 ",1)]}),_:1}),i(s,{label:"\u5EFA\u8BBE\u5C42\u7EA7"},{default:n(()=>{var e,t;return[f(r(((t=(e=a.dictionaryList)==null?void 0:e.filter(l=>l.type==="BUILD_LEVEL").find(l=>{var d;return l.value===((d=a.detailData)==null?void 0:d.baseProjConsClass)}))==null?void 0:t.label)||"-"),1)]}),_:1}),((j=(D=(N=a.basicInfoData)==null?void 0:N.baseConstructionType)==null?void 0:D.split("\uFF1B"))==null?void 0:j.includes("03"))&&!((k=(h=(P=a.basicInfoData)==null?void 0:P.baseConstructionType)==null?void 0:h.split("\uFF1B"))!=null&&k.includes("01"))?v("",!0):(o(),L(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:n(()=>{var e,t;return[f(r(((t=(e=a.dictionaryList)==null?void 0:e.filter(l=>l.type==="LINK_UP_LEVEL").find(l=>{var d;return l.value===((d=a.detailData)==null?void 0:d.baseLowestLevel)}))==null?void 0:t.label)||"-"),1)]}),_:1})),i(s,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",span:2},{default:n(()=>[a.detailData.missing?(o(),u("span",H,"\u7F3A\u5931")):(o(),L(m,{key:1,pagination:!1,style:{width:"100%"},column:A,data:a.detailData.baseHistorProjs,"empty-temp":!1},null,8,["data"]))]),_:1}),i(s,{label:"\u9884\u7B97\u6765\u6E90",span:2},{default:n(()=>{var e,t;return[f(r(((t=(e=a.detailData)==null?void 0:e.baseProjAmountOri)==null?void 0:t.split("\uFF1B").map(l=>{var d,c;return(c=(d=a.dictionaryList)==null?void 0:d.filter(b=>b.type==="BUDGET_SOURCE").find(b=>b.value===l))==null?void 0:c.label}).join("\u3001"))||"-"),1)]}),_:1}),i(s,{label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseBasisAmountOri)||"-"),1)]}),_:1}),i(s,{label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:n(()=>[i(m,{ref_key:"tableListRef",ref:V,pagination:!1,style:{width:"100%"},column:x,data:T.value},{fileName:n(({scope:e})=>[f(r(e.row.fileList[0].originalFileName),1)]),action:n(({scope:e})=>[(o(!0),u(S,null,g(e.row.fileList,(t,l)=>(o(),u("p",{key:l,class:"mb-4"},[i(O,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"])]),_:1}),i(s,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseBasisEstablish)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u6982\u8FF0",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjIntro)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:n(()=>{var e,t;return[i(m,{pagination:!1,style:{width:"100%"},column:J,data:((e=a.detailData)==null?void 0:e.beseExpectedResults)&&JSON.parse((t=a.detailData)==null?void 0:t.beseExpectedResults),"empty-temp":!1},null,8,["data"])]}),_:1}),i(s,{label:"\u9879\u76EE\u7533\u62A5\u4E66",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseProjApplyFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseProjApplyFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjApplyFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjApplyFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",K,"-"))]}),_:1}),((y=a.basicInfoData)==null?void 0:y.baseProjType)==="01"||((w=a.basicInfoData)==null?void 0:w.baseProjType)==="02"?(o(),L(s,{key:1,label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseResearchReportFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseResearchReportFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseResearchReportFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseResearchReportFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",M,"-"))]}),_:1})):v("",!0),i(s,{label:"\u5176\u4ED6\u9644\u4EF6",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseProjOtherFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseProjOtherFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjOtherFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjOtherFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",q,"-"))]}),_:1}),i(s,{label:"\u5907\u6CE8",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjRemark)||"-"),1)]}),_:1})]}),_:1})}}});export{X as default}; +import{_ as O}from"./index.0d7a0f2a.js";import{d as U,r as I,o as Y,c as E,e as o,I as L,i as n,h as i,j as f,t as r,f as u,k as v,F as S,J as g}from"./index.07ccce2b.js";const $={key:0},G={key:1},H={key:0},K={key:1},M={key:1},q={key:1},z=U({name:"applyInfo"}),X=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object,default:()=>{}},dictionaryList:Array},setup(a){const F=a,A=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"}],J=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],x=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u6587\u4EF6\uFF08\u652F\u6301word\u3001pdf\u683C\u5F0F\uFF09",slot:"action",width:300}],T=I([]),V=I();return Y(()=>{var C,R,s;T.value=(s=(R=(C=F.detailData)==null?void 0:C.baseProjBasis)==null?void 0:R.split("\uFF1B"))==null?void 0:s.map((m,B)=>{var D,j,P,h,k;const N=`[${(D=F.detailData)==null?void 0:D.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(h=(P=(j=F.dictionaryList)==null?void 0:j.filter(y=>y.type==="PROJECT_BASIS"))==null?void 0:P.find(y=>y.value===m))==null?void 0:h.label,fileList:(k=F.detailData)!=null&&k.baseProjBasisFile?JSON.parse(N)[B]:[],value:m}})}),(C,R)=>{const s=E("el-descriptions-item"),m=E("table-list"),B=E("el-descriptions");return o(),L(B,{column:2,border:""},{default:n(()=>{var N,D,j,P,h,k,y,w;return[i(s,{label:"\u53D1\u6539\u7F16\u7801"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseDevelopCode)||"-"),1)]}),_:1}),i(s,{label:"\u8D22\u653F\u7F16\u7801"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.setProjCodeFinan)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u8D77\u6B62\u65F6\u95F4"},{default:n(()=>{var e,t,l,d,c,b;return[((e=a.detailData)==null?void 0:e.baseProjStartTime)&&((t=a.detailData)==null?void 0:t.baseProjEndTime)?(o(),u("span",$,r((d=(l=a.detailData)==null?void 0:l.baseProjStartTime)==null?void 0:d.split(" ")[0])+" ~ "+r((b=(c=a.detailData)==null?void 0:c.baseProjEndTime)==null?void 0:b.split(" ")[0]),1)):(o(),u("span",G,"-"))]}),_:1}),i(s,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjSetYear)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u603B\u6295\u8D44"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjTotalAmount)||"-")+"\u4E07\u5143 ",1)]}),_:1}),i(s,{label:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjDeclAmount)||"-")+"\u4E07\u5143 ",1)]}),_:1}),i(s,{label:"\u5EFA\u8BBE\u5C42\u7EA7"},{default:n(()=>{var e,t;return[f(r(((t=(e=a.dictionaryList)==null?void 0:e.filter(l=>l.type==="BUILD_LEVEL").find(l=>{var d;return l.value===((d=a.detailData)==null?void 0:d.baseProjConsClass)}))==null?void 0:t.label)||"-"),1)]}),_:1}),((j=(D=(N=a.basicInfoData)==null?void 0:N.baseConstructionType)==null?void 0:D.split("\uFF1B"))==null?void 0:j.includes("03"))&&!((k=(h=(P=a.basicInfoData)==null?void 0:P.baseConstructionType)==null?void 0:h.split("\uFF1B"))!=null&&k.includes("01"))?v("",!0):(o(),L(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:n(()=>{var e,t;return[f(r(((t=(e=a.dictionaryList)==null?void 0:e.filter(l=>l.type==="LINK_UP_LEVEL").find(l=>{var d;return l.value===((d=a.detailData)==null?void 0:d.baseLowestLevel)}))==null?void 0:t.label)||"-"),1)]}),_:1})),i(s,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",span:2},{default:n(()=>[a.detailData.missing?(o(),u("span",H,"\u7F3A\u5931")):(o(),L(m,{key:1,pagination:!1,style:{width:"100%"},column:A,data:a.detailData.baseHistorProjs,"empty-temp":!1},null,8,["data"]))]),_:1}),i(s,{label:"\u9884\u7B97\u6765\u6E90",span:2},{default:n(()=>{var e,t;return[f(r(((t=(e=a.detailData)==null?void 0:e.baseProjAmountOri)==null?void 0:t.split("\uFF1B").map(l=>{var d,c;return(c=(d=a.dictionaryList)==null?void 0:d.filter(b=>b.type==="BUDGET_SOURCE").find(b=>b.value===l))==null?void 0:c.label}).join("\u3001"))||"-"),1)]}),_:1}),i(s,{label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseBasisAmountOri)||"-"),1)]}),_:1}),i(s,{label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:n(()=>[i(m,{ref_key:"tableListRef",ref:V,pagination:!1,style:{width:"100%"},column:x,data:T.value},{fileName:n(({scope:e})=>[f(r(e.row.fileList[0].originalFileName),1)]),action:n(({scope:e})=>[(o(!0),u(S,null,g(e.row.fileList,(t,l)=>(o(),u("p",{key:l,class:"mb-4"},[i(O,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"])]),_:1}),i(s,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseBasisEstablish)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u6982\u8FF0",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjIntro)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:n(()=>{var e,t;return[i(m,{pagination:!1,style:{width:"100%"},column:J,data:((e=a.detailData)==null?void 0:e.beseExpectedResults)&&JSON.parse((t=a.detailData)==null?void 0:t.beseExpectedResults),"empty-temp":!1},null,8,["data"])]}),_:1}),i(s,{label:"\u9879\u76EE\u7533\u62A5\u4E66",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseProjApplyFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseProjApplyFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjApplyFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjApplyFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",K,"-"))]}),_:1}),((y=a.basicInfoData)==null?void 0:y.baseProjType)==="01"||((w=a.basicInfoData)==null?void 0:w.baseProjType)==="02"?(o(),L(s,{key:1,label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseResearchReportFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseResearchReportFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseResearchReportFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseResearchReportFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",M,"-"))]}),_:1})):v("",!0),i(s,{label:"\u5176\u4ED6\u9644\u4EF6",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseProjOtherFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseProjOtherFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjOtherFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjOtherFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",q,"-"))]}),_:1}),i(s,{label:"\u5907\u6CE8",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjRemark)||"-"),1)]}),_:1})]}),_:1})}}});export{X as default}; diff --git a/lishui2/web/dist/assets/applyInfo.aa7be792.js b/lishui2/web/dist/assets/applyInfo.efd1f582.js similarity index 98% rename from lishui2/web/dist/assets/applyInfo.aa7be792.js rename to lishui2/web/dist/assets/applyInfo.efd1f582.js index a697259..de905a9 100644 --- a/lishui2/web/dist/assets/applyInfo.aa7be792.js +++ b/lishui2/web/dist/assets/applyInfo.efd1f582.js @@ -1 +1 @@ -import{_ as O}from"./index.25c56c35.js";import{d as U,r as I,o as Y,c as E,e as o,I as L,i as n,h as i,j as f,t as r,f as u,k as v,F as S,J as g}from"./index.51e934d4.js";const $={key:0},G={key:1},H={key:0},K={key:1},M={key:1},q={key:1},z=U({name:"applyInfo"}),X=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object,default:()=>{}},dictionaryList:Array},setup(a){const F=a,A=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"}],J=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],x=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u6587\u4EF6\uFF08\u652F\u6301word\u3001pdf\u683C\u5F0F\uFF09",slot:"action",width:300}],T=I([]),V=I();return Y(()=>{var C,R,s;T.value=(s=(R=(C=F.detailData)==null?void 0:C.baseProjBasis)==null?void 0:R.split("\uFF1B"))==null?void 0:s.map((m,B)=>{var D,j,P,h,k;const N=`[${(D=F.detailData)==null?void 0:D.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(h=(P=(j=F.dictionaryList)==null?void 0:j.filter(y=>y.type==="PROJECT_BASIS"))==null?void 0:P.find(y=>y.value===m))==null?void 0:h.label,fileList:(k=F.detailData)!=null&&k.baseProjBasisFile?JSON.parse(N)[B]:[],value:m}})}),(C,R)=>{const s=E("el-descriptions-item"),m=E("table-list"),B=E("el-descriptions");return o(),L(B,{column:2,border:""},{default:n(()=>{var N,D,j,P,h,k,y,w;return[i(s,{label:"\u53D1\u6539\u7F16\u7801"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseDevelopCode)||"-"),1)]}),_:1}),i(s,{label:"\u8D22\u653F\u7F16\u7801"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.setProjCodeFinan)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u8D77\u6B62\u65F6\u95F4"},{default:n(()=>{var e,t,l,d,c,b;return[((e=a.detailData)==null?void 0:e.baseProjStartTime)&&((t=a.detailData)==null?void 0:t.baseProjEndTime)?(o(),u("span",$,r((d=(l=a.detailData)==null?void 0:l.baseProjStartTime)==null?void 0:d.split(" ")[0])+" ~ "+r((b=(c=a.detailData)==null?void 0:c.baseProjEndTime)==null?void 0:b.split(" ")[0]),1)):(o(),u("span",G,"-"))]}),_:1}),i(s,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjSetYear)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u603B\u6295\u8D44"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjTotalAmount)||"-")+"\u4E07\u5143 ",1)]}),_:1}),i(s,{label:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjDeclAmount)||"-")+"\u4E07\u5143 ",1)]}),_:1}),i(s,{label:"\u5EFA\u8BBE\u5C42\u7EA7"},{default:n(()=>{var e,t;return[f(r(((t=(e=a.dictionaryList)==null?void 0:e.filter(l=>l.type==="BUILD_LEVEL").find(l=>{var d;return l.value===((d=a.detailData)==null?void 0:d.baseProjConsClass)}))==null?void 0:t.label)||"-"),1)]}),_:1}),((j=(D=(N=a.basicInfoData)==null?void 0:N.baseConstructionType)==null?void 0:D.split("\uFF1B"))==null?void 0:j.includes("03"))&&!((k=(h=(P=a.basicInfoData)==null?void 0:P.baseConstructionType)==null?void 0:h.split("\uFF1B"))!=null&&k.includes("01"))?v("",!0):(o(),L(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:n(()=>{var e,t;return[f(r(((t=(e=a.dictionaryList)==null?void 0:e.filter(l=>l.type==="LINK_UP_LEVEL").find(l=>{var d;return l.value===((d=a.detailData)==null?void 0:d.baseLowestLevel)}))==null?void 0:t.label)||"-"),1)]}),_:1})),i(s,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",span:2},{default:n(()=>[a.detailData.missing?(o(),u("span",H,"\u7F3A\u5931")):(o(),L(m,{key:1,pagination:!1,style:{width:"100%"},column:A,data:a.detailData.baseHistorProjs,"empty-temp":!1},null,8,["data"]))]),_:1}),i(s,{label:"\u9884\u7B97\u6765\u6E90",span:2},{default:n(()=>{var e,t;return[f(r(((t=(e=a.detailData)==null?void 0:e.baseProjAmountOri)==null?void 0:t.split("\uFF1B").map(l=>{var d,c;return(c=(d=a.dictionaryList)==null?void 0:d.filter(b=>b.type==="BUDGET_SOURCE").find(b=>b.value===l))==null?void 0:c.label}).join("\u3001"))||"-"),1)]}),_:1}),i(s,{label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseBasisAmountOri)||"-"),1)]}),_:1}),i(s,{label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:n(()=>[i(m,{ref_key:"tableListRef",ref:V,pagination:!1,style:{width:"100%"},column:x,data:T.value},{fileName:n(({scope:e})=>[f(r(e.row.fileList[0].originalFileName),1)]),action:n(({scope:e})=>[(o(!0),u(S,null,g(e.row.fileList,(t,l)=>(o(),u("p",{key:l,class:"mb-4"},[i(O,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"])]),_:1}),i(s,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseBasisEstablish)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u7B80\u4ECB",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjIntro)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:n(()=>{var e,t;return[i(m,{pagination:!1,style:{width:"100%"},column:J,data:((e=a.detailData)==null?void 0:e.beseExpectedResults)&&JSON.parse((t=a.detailData)==null?void 0:t.beseExpectedResults),"empty-temp":!1},null,8,["data"])]}),_:1}),i(s,{label:"\u9879\u76EE\u7533\u62A5\u4E66",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseProjApplyFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseProjApplyFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjApplyFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjApplyFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",K,"-"))]}),_:1}),((y=a.basicInfoData)==null?void 0:y.baseProjType)==="01"||((w=a.basicInfoData)==null?void 0:w.baseProjType)==="02"?(o(),L(s,{key:1,label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseResearchReportFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseResearchReportFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseResearchReportFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseResearchReportFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",M,"-"))]}),_:1})):v("",!0),i(s,{label:"\u5176\u4ED6\u9644\u4EF6",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseProjOtherFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseProjOtherFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjOtherFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjOtherFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",q,"-"))]}),_:1}),i(s,{label:"\u5907\u6CE8",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjRemark)||"-"),1)]}),_:1})]}),_:1})}}});export{X as default}; +import{_ as O}from"./index.0d7a0f2a.js";import{d as U,r as I,o as Y,c as E,e as o,I as L,i as n,h as i,j as f,t as r,f as u,k as v,F as S,J as g}from"./index.07ccce2b.js";const $={key:0},G={key:1},H={key:0},K={key:1},M={key:1},q={key:1},z=U({name:"applyInfo"}),X=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object,default:()=>{}},dictionaryList:Array},setup(a){const F=a,A=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"}],J=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],x=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u6587\u4EF6\uFF08\u652F\u6301word\u3001pdf\u683C\u5F0F\uFF09",slot:"action",width:300}],T=I([]),V=I();return Y(()=>{var C,R,s;T.value=(s=(R=(C=F.detailData)==null?void 0:C.baseProjBasis)==null?void 0:R.split("\uFF1B"))==null?void 0:s.map((m,B)=>{var D,j,P,h,k;const N=`[${(D=F.detailData)==null?void 0:D.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(h=(P=(j=F.dictionaryList)==null?void 0:j.filter(y=>y.type==="PROJECT_BASIS"))==null?void 0:P.find(y=>y.value===m))==null?void 0:h.label,fileList:(k=F.detailData)!=null&&k.baseProjBasisFile?JSON.parse(N)[B]:[],value:m}})}),(C,R)=>{const s=E("el-descriptions-item"),m=E("table-list"),B=E("el-descriptions");return o(),L(B,{column:2,border:""},{default:n(()=>{var N,D,j,P,h,k,y,w;return[i(s,{label:"\u53D1\u6539\u7F16\u7801"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseDevelopCode)||"-"),1)]}),_:1}),i(s,{label:"\u8D22\u653F\u7F16\u7801"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.setProjCodeFinan)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u8D77\u6B62\u65F6\u95F4"},{default:n(()=>{var e,t,l,d,c,b;return[((e=a.detailData)==null?void 0:e.baseProjStartTime)&&((t=a.detailData)==null?void 0:t.baseProjEndTime)?(o(),u("span",$,r((d=(l=a.detailData)==null?void 0:l.baseProjStartTime)==null?void 0:d.split(" ")[0])+" ~ "+r((b=(c=a.detailData)==null?void 0:c.baseProjEndTime)==null?void 0:b.split(" ")[0]),1)):(o(),u("span",G,"-"))]}),_:1}),i(s,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjSetYear)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u603B\u6295\u8D44"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjTotalAmount)||"-")+"\u4E07\u5143 ",1)]}),_:1}),i(s,{label:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjDeclAmount)||"-")+"\u4E07\u5143 ",1)]}),_:1}),i(s,{label:"\u5EFA\u8BBE\u5C42\u7EA7"},{default:n(()=>{var e,t;return[f(r(((t=(e=a.dictionaryList)==null?void 0:e.filter(l=>l.type==="BUILD_LEVEL").find(l=>{var d;return l.value===((d=a.detailData)==null?void 0:d.baseProjConsClass)}))==null?void 0:t.label)||"-"),1)]}),_:1}),((j=(D=(N=a.basicInfoData)==null?void 0:N.baseConstructionType)==null?void 0:D.split("\uFF1B"))==null?void 0:j.includes("03"))&&!((k=(h=(P=a.basicInfoData)==null?void 0:P.baseConstructionType)==null?void 0:h.split("\uFF1B"))!=null&&k.includes("01"))?v("",!0):(o(),L(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:n(()=>{var e,t;return[f(r(((t=(e=a.dictionaryList)==null?void 0:e.filter(l=>l.type==="LINK_UP_LEVEL").find(l=>{var d;return l.value===((d=a.detailData)==null?void 0:d.baseLowestLevel)}))==null?void 0:t.label)||"-"),1)]}),_:1})),i(s,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",span:2},{default:n(()=>[a.detailData.missing?(o(),u("span",H,"\u7F3A\u5931")):(o(),L(m,{key:1,pagination:!1,style:{width:"100%"},column:A,data:a.detailData.baseHistorProjs,"empty-temp":!1},null,8,["data"]))]),_:1}),i(s,{label:"\u9884\u7B97\u6765\u6E90",span:2},{default:n(()=>{var e,t;return[f(r(((t=(e=a.detailData)==null?void 0:e.baseProjAmountOri)==null?void 0:t.split("\uFF1B").map(l=>{var d,c;return(c=(d=a.dictionaryList)==null?void 0:d.filter(b=>b.type==="BUDGET_SOURCE").find(b=>b.value===l))==null?void 0:c.label}).join("\u3001"))||"-"),1)]}),_:1}),i(s,{label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseBasisAmountOri)||"-"),1)]}),_:1}),i(s,{label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:n(()=>[i(m,{ref_key:"tableListRef",ref:V,pagination:!1,style:{width:"100%"},column:x,data:T.value},{fileName:n(({scope:e})=>[f(r(e.row.fileList[0].originalFileName),1)]),action:n(({scope:e})=>[(o(!0),u(S,null,g(e.row.fileList,(t,l)=>(o(),u("p",{key:l,class:"mb-4"},[i(O,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"])]),_:1}),i(s,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseBasisEstablish)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u7B80\u4ECB",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjIntro)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:n(()=>{var e,t;return[i(m,{pagination:!1,style:{width:"100%"},column:J,data:((e=a.detailData)==null?void 0:e.beseExpectedResults)&&JSON.parse((t=a.detailData)==null?void 0:t.beseExpectedResults),"empty-temp":!1},null,8,["data"])]}),_:1}),i(s,{label:"\u9879\u76EE\u7533\u62A5\u4E66",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseProjApplyFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseProjApplyFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjApplyFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjApplyFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",K,"-"))]}),_:1}),((y=a.basicInfoData)==null?void 0:y.baseProjType)==="01"||((w=a.basicInfoData)==null?void 0:w.baseProjType)==="02"?(o(),L(s,{key:1,label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseResearchReportFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseResearchReportFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseResearchReportFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseResearchReportFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",M,"-"))]}),_:1})):v("",!0),i(s,{label:"\u5176\u4ED6\u9644\u4EF6",span:2},{default:n(()=>{var e,t,l,d,c;return[((e=a.detailData)==null?void 0:e.baseProjOtherFile)&&((l=JSON.parse((t=a.detailData)==null?void 0:t.baseProjOtherFile))==null?void 0:l.length)?(o(!0),u(S,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjOtherFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjOtherFile),(b,p)=>(o(),u("p",{key:p,class:"mb-4"},[i(O,{"file-name":b.originalFileName,"file-id":b.id},null,8,["file-name","file-id"])]))),128)):(o(),u("span",q,"-"))]}),_:1}),i(s,{label:"\u5907\u6CE8",span:2},{default:n(()=>{var e;return[f(r(((e=a.detailData)==null?void 0:e.baseProjRemark)||"-"),1)]}),_:1})]}),_:1})}}});export{X as default}; diff --git a/lishui2/web/dist/assets/approvalDialog.169e92a7.js b/lishui2/web/dist/assets/approvalDialog.10273a55.js similarity index 96% rename from lishui2/web/dist/assets/approvalDialog.169e92a7.js rename to lishui2/web/dist/assets/approvalDialog.10273a55.js index 859fe19..29c7136 100644 --- a/lishui2/web/dist/assets/approvalDialog.169e92a7.js +++ b/lishui2/web/dist/assets/approvalDialog.10273a55.js @@ -1 +1 @@ -var R=Object.defineProperty,T=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var j=(u,p,d)=>p in u?R(u,p,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[p]=d,B=(u,p)=>{for(var d in p||(p={}))E.call(p,d)&&j(u,d,p[d]);if(x)for(var d of x(p))G.call(p,d)&&j(u,d,p[d]);return u},P=(u,p)=>T(u,z(p));var w=(u,p,d)=>new Promise((I,c)=>{var _=i=>{try{o(d.next(i))}catch(y){c(y)}},b=i=>{try{o(d.throw(i))}catch(y){c(y)}},o=i=>i.done?I(i.value):Promise.resolve(i.value).then(_,b);o((d=d.apply(u,p)).next())});import{h as U,i as k,f as q,c as C,b as $,e as A}from"./uploadAction.20ffefc6.js";import{d as H,D as J,r as S,L as K,c as n,e as Q,I as W,i as e,h as a,j as f,u as r,g as Y,t as L,x as X}from"./index.51e934d4.js";import{b as Z}from"./annualPlanStore.dc3bd66b.js";const h={class:"el-upload__tip"},ee={class:"el-upload__tip"},le=H({name:"approvalDialog"}),pe=Object.assign(le,{props:{visible:{type:Boolean,default:!1,required:!0},title:{type:String,default:"\u7ACB\u9879\u6279\u590D"},data:Object},emits:["close"],setup(u,{emit:p}){const{proxy:d}=X(),I=J.dictStore.uploadUrl,c=u,_=p,b=S(),o=S({}),i={approvedAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u6279\u590D\u91D1\u989D",trigger:"blur"}],approvedDate:[{required:!0,message:"\u8BF7\u8F93\u5165\u6279\u590D\u65F6\u95F4"}],buildCycle:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5468\u671F"}],approvedFileId:[{required:!0,message:"\u8BF7\u8F93\u5165\u6279\u590D\u6587\u4EF6"}],buildPlanFileId:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u65B9\u6848"}],approvalBudget:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97",trigger:"blur"}]},y=g=>w(this,null,function*(){!g||(yield g.validate(t=>w(this,null,function*(){var v,s;if(t){const m=P(B({},o.value),{projectId:c.data.projectId,buildCycle:o.value.buildCycle*1,approvedFileId:((v=o.value.approvedFileId)==null?void 0:v.map(F=>F.response.data.id)[0])||void 0,buildPlanFileId:((s=o.value.buildPlanFileId)==null?void 0:s.map(F=>F.response.data.id)[0])||void 0});yield Z(m),d.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),_("close",!0)}})))});return K(()=>c.visible,g=>w(this,null,function*(){g?console.log("props.data",c.data):b.value.resetFields()})),(g,t)=>{const v=n("el-input"),s=n("el-form-item"),m=n("el-col"),F=n("el-date-picker"),V=n("el-button"),D=n("el-upload"),N=n("el-row"),M=n("el-form"),O=n("el-dialog");return Q(),W(O,{"model-value":u.visible,title:u.title,width:"600px","destroy-on-close":"",onClose:t[8]||(t[8]=l=>_("close"))},{footer:e(()=>[a(V,{type:"primary",onClick:t[6]||(t[6]=l=>y(b.value))},{default:e(()=>[f(" \u63D0\u4EA4 ")]),_:1}),a(V,{onClick:t[7]||(t[7]=l=>_("close"))},{default:e(()=>[f(" \u5173\u95ED ")]),_:1})]),default:e(()=>[a(M,{ref_key:"formRef",ref:b,model:o.value,rules:i,"label-width":"140px","label-suffix":":"},{default:e(()=>[a(N,null,{default:e(()=>[a(m,{span:24},{default:e(()=>[a(s,{label:"\u5EFA\u8BAE\u6279\u590D\u603B\u6295\u8D44",prop:"approvedAmount"},{default:e(()=>[a(v,{modelValue:o.value.approvedAmount,"onUpdate:modelValue":t[0]||(t[0]=l=>o.value.approvedAmount=l),placeholder:"\u8BF7\u8F93\u5165"},{append:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u6279\u590D\u65F6\u95F4",prop:"approvedDate"},{default:e(()=>[a(F,{modelValue:o.value.approvedDate,"onUpdate:modelValue":t[1]||(t[1]=l=>o.value.approvedDate=l),type:"date",placeholder:"\u8BF7\u9009\u62E9","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97",prop:"approvalBudget"},{default:e(()=>[a(v,{modelValue:o.value.approvalBudget,"onUpdate:modelValue":t[2]||(t[2]=l=>o.value.approvalBudget=l),placeholder:"\u8BF7\u8F93\u5165"},{append:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u5EFA\u8BBE\u5468\u671F",prop:"buildCycle"},{default:e(()=>[a(v,{modelValue:o.value.buildCycle,"onUpdate:modelValue":t[3]||(t[3]=l=>o.value.buildCycle=l),min:0,placeholder:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5468\u671F\uFF0C\u5355\u4F4D\u300C\u6708\u300D",controls:!1},{append:e(()=>[f("\u4E2A\u6708")]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u6279\u590D\u6587\u4EF6",prop:"approvedFileId"},{default:e(()=>[a(D,{"file-list":o.value.approvedFileId,"onUpdate:fileList":t[4]||(t[4]=l=>o.value.approvedFileId=l),class:"w-full",action:r(I),"on-success":l=>r(U)(l,o.value.approvedFileId,!0),"on-error":r(k),"before-upload":l=>r(q)(l,{types:r(C)}),accept:r(C).map(l=>`.${l}`).join(","),multiple:"",limit:1,"on-preview":r($)},{tip:e(()=>[Y("div",h,"\u652F\u6301"+L(r(A))+"\u6587\u4EF6",1)]),default:e(()=>[a(V,{type:"primary"},{default:e(()=>[f("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u5EFA\u8BBE\u65B9\u6848",prop:"buildPlanFileId"},{default:e(()=>[a(D,{"file-list":o.value.buildPlanFileId,"onUpdate:fileList":t[5]||(t[5]=l=>o.value.buildPlanFileId=l),class:"w-full",action:r(I),"on-success":l=>r(U)(l,o.value.buildPlanFileId,!0),"on-error":r(k),"before-upload":l=>r(q)(l,{types:r(C)}),accept:r(C).map(l=>`.${l}`).join(","),multiple:"",limit:1,"on-preview":r($)},{tip:e(()=>[Y("div",ee,"\u652F\u6301"+L(r(A))+"\u6587\u4EF6",1)]),default:e(()=>[a(V,{type:"primary"},{default:e(()=>[f("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}});export{pe as default}; +var R=Object.defineProperty,T=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var j=(u,p,d)=>p in u?R(u,p,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[p]=d,B=(u,p)=>{for(var d in p||(p={}))E.call(p,d)&&j(u,d,p[d]);if(x)for(var d of x(p))G.call(p,d)&&j(u,d,p[d]);return u},P=(u,p)=>T(u,z(p));var w=(u,p,d)=>new Promise((I,c)=>{var _=i=>{try{o(d.next(i))}catch(y){c(y)}},b=i=>{try{o(d.throw(i))}catch(y){c(y)}},o=i=>i.done?I(i.value):Promise.resolve(i.value).then(_,b);o((d=d.apply(u,p)).next())});import{h as U,i as k,f as q,c as C,b as $,e as A}from"./uploadAction.6462630e.js";import{d as H,D as J,r as S,L as K,c as n,e as Q,I as W,i as e,h as a,j as f,u as r,g as Y,t as L,x as X}from"./index.07ccce2b.js";import{b as Z}from"./annualPlanStore.b6d9a052.js";const h={class:"el-upload__tip"},ee={class:"el-upload__tip"},le=H({name:"approvalDialog"}),pe=Object.assign(le,{props:{visible:{type:Boolean,default:!1,required:!0},title:{type:String,default:"\u7ACB\u9879\u6279\u590D"},data:Object},emits:["close"],setup(u,{emit:p}){const{proxy:d}=X(),I=J.dictStore.uploadUrl,c=u,_=p,b=S(),o=S({}),i={approvedAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u6279\u590D\u91D1\u989D",trigger:"blur"}],approvedDate:[{required:!0,message:"\u8BF7\u8F93\u5165\u6279\u590D\u65F6\u95F4"}],buildCycle:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5468\u671F"}],approvedFileId:[{required:!0,message:"\u8BF7\u8F93\u5165\u6279\u590D\u6587\u4EF6"}],buildPlanFileId:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u65B9\u6848"}],approvalBudget:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97",trigger:"blur"}]},y=g=>w(this,null,function*(){!g||(yield g.validate(t=>w(this,null,function*(){var v,s;if(t){const m=P(B({},o.value),{projectId:c.data.projectId,buildCycle:o.value.buildCycle*1,approvedFileId:((v=o.value.approvedFileId)==null?void 0:v.map(F=>F.response.data.id)[0])||void 0,buildPlanFileId:((s=o.value.buildPlanFileId)==null?void 0:s.map(F=>F.response.data.id)[0])||void 0});yield Z(m),d.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),_("close",!0)}})))});return K(()=>c.visible,g=>w(this,null,function*(){g?console.log("props.data",c.data):b.value.resetFields()})),(g,t)=>{const v=n("el-input"),s=n("el-form-item"),m=n("el-col"),F=n("el-date-picker"),V=n("el-button"),D=n("el-upload"),N=n("el-row"),M=n("el-form"),O=n("el-dialog");return Q(),W(O,{"model-value":u.visible,title:u.title,width:"600px","destroy-on-close":"",onClose:t[8]||(t[8]=l=>_("close"))},{footer:e(()=>[a(V,{type:"primary",onClick:t[6]||(t[6]=l=>y(b.value))},{default:e(()=>[f(" \u63D0\u4EA4 ")]),_:1}),a(V,{onClick:t[7]||(t[7]=l=>_("close"))},{default:e(()=>[f(" \u5173\u95ED ")]),_:1})]),default:e(()=>[a(M,{ref_key:"formRef",ref:b,model:o.value,rules:i,"label-width":"140px","label-suffix":":"},{default:e(()=>[a(N,null,{default:e(()=>[a(m,{span:24},{default:e(()=>[a(s,{label:"\u5EFA\u8BAE\u6279\u590D\u603B\u6295\u8D44",prop:"approvedAmount"},{default:e(()=>[a(v,{modelValue:o.value.approvedAmount,"onUpdate:modelValue":t[0]||(t[0]=l=>o.value.approvedAmount=l),placeholder:"\u8BF7\u8F93\u5165"},{append:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u6279\u590D\u65F6\u95F4",prop:"approvedDate"},{default:e(()=>[a(F,{modelValue:o.value.approvedDate,"onUpdate:modelValue":t[1]||(t[1]=l=>o.value.approvedDate=l),type:"date",placeholder:"\u8BF7\u9009\u62E9","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97",prop:"approvalBudget"},{default:e(()=>[a(v,{modelValue:o.value.approvalBudget,"onUpdate:modelValue":t[2]||(t[2]=l=>o.value.approvalBudget=l),placeholder:"\u8BF7\u8F93\u5165"},{append:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u5EFA\u8BBE\u5468\u671F",prop:"buildCycle"},{default:e(()=>[a(v,{modelValue:o.value.buildCycle,"onUpdate:modelValue":t[3]||(t[3]=l=>o.value.buildCycle=l),min:0,placeholder:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5468\u671F\uFF0C\u5355\u4F4D\u300C\u6708\u300D",controls:!1},{append:e(()=>[f("\u4E2A\u6708")]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u6279\u590D\u6587\u4EF6",prop:"approvedFileId"},{default:e(()=>[a(D,{"file-list":o.value.approvedFileId,"onUpdate:fileList":t[4]||(t[4]=l=>o.value.approvedFileId=l),class:"w-full",action:r(I),"on-success":l=>r(U)(l,o.value.approvedFileId,!0),"on-error":r(k),"before-upload":l=>r(q)(l,{types:r(C)}),accept:r(C).map(l=>`.${l}`).join(","),multiple:"",limit:1,"on-preview":r($)},{tip:e(()=>[Y("div",h,"\u652F\u6301"+L(r(A))+"\u6587\u4EF6",1)]),default:e(()=>[a(V,{type:"primary"},{default:e(()=>[f("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1}),a(m,{span:24},{default:e(()=>[a(s,{label:"\u5EFA\u8BBE\u65B9\u6848",prop:"buildPlanFileId"},{default:e(()=>[a(D,{"file-list":o.value.buildPlanFileId,"onUpdate:fileList":t[5]||(t[5]=l=>o.value.buildPlanFileId=l),class:"w-full",action:r(I),"on-success":l=>r(U)(l,o.value.buildPlanFileId,!0),"on-error":r(k),"before-upload":l=>r(q)(l,{types:r(C)}),accept:r(C).map(l=>`.${l}`).join(","),multiple:"",limit:1,"on-preview":r($)},{tip:e(()=>[Y("div",ee,"\u652F\u6301"+L(r(A))+"\u6587\u4EF6",1)]),default:e(()=>[a(V,{type:"primary"},{default:e(()=>[f("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}});export{pe as default}; diff --git a/lishui2/web/dist/assets/approvalDialog.0e663284.js b/lishui2/web/dist/assets/approvalDialog.d5ee9aaf.js similarity index 97% rename from lishui2/web/dist/assets/approvalDialog.0e663284.js rename to lishui2/web/dist/assets/approvalDialog.d5ee9aaf.js index 1798097..0765d8e 100644 --- a/lishui2/web/dist/assets/approvalDialog.0e663284.js +++ b/lishui2/web/dist/assets/approvalDialog.d5ee9aaf.js @@ -1 +1 @@ -var ae=Object.defineProperty,le=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var $=(n,r,a)=>r in n?ae(n,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[r]=a,C=(n,r)=>{for(var a in r||(r={}))te.call(r,a)&&$(n,a,r[a]);if(F)for(var a of F(r))oe.call(r,a)&&$(n,a,r[a]);return n},S=(n,r)=>le(n,se(r));var O=(n,r,a)=>new Promise((b,A)=>{var e=c=>{try{E(a.next(c))}catch(g){A(g)}},R=c=>{try{E(a.throw(c))}catch(g){A(g)}},E=c=>c.done?b(c.value):Promise.resolve(c.value).then(e,R);E((a=a.apply(n,r)).next())});import{_ as re}from"./index.9c7375b8.js";import{a as ue}from"./flowConfiguration.cd37a51a.js";import{d as ne,r as L,b as de,L as pe,c as d,e as y,f as B,h as s,i as l,j as p,I as T,g as G,F as h,J as M,t as I,k as N}from"./index.51e934d4.js";import"./unitManage.1da62722.js";const ie={class:"flex flex-col items-start"},ge=ne({name:"approvalDialog"}),Te=Object.assign(ge,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","update:data"],setup(n,{emit:r}){const a=n,b=r,A=L(),e=L({name:void 0,orgType:void 0,assignedOrg:[],subProcess:void 0,procDefId:void 0,threeDaysAutoPass:!1}),R={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u8282\u70B9\u540D\u79F0",trigger:"blur"}],orgType:[{required:!0,message:"\u8BF7\u9009\u62E9\u8282\u70B9\u8D1F\u8D23\u5355\u4F4D"}],assignedOrg:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6307\u5B9A\u4E00\u4E2A\u5355\u4F4D"}],subProcess:[{required:!0,message:"\u8BF7\u9009\u62E9\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B"}],type:[{required:!0,message:"\u8BF7\u9009\u62E9\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B"}],threeDaysAutoPass:[{type:Boolean,required:!0,message:"\u8BF7\u9009\u62E9"}],constructionSuggestions:[{type:Boolean,required:!0,message:"\u8BF7\u9009\u62E9"}]},E=u=>O(this,null,function*(){!u||(yield u.validate(t=>O(this,null,function*(){if(t){const f={name:e.value.name||"",id:e.value.id||"",parentId:e.value.parentId||"",type:"SUB",props:{mode:"AND",sign:!1,assignedType:"ASSIGN_ORG",refuse:{type:"TO_END",target:""},assignedOrg:e.value.orgType==="TARGET_LABEL"?e.value.assignedOrg&&e.value.assignedOrg.map(i=>S(C({},i),{type:V.value.find(m=>m.processDefId===e.value.subProcess).type||"DEFAULT",processDefId:e.value.subProcess,orgType:e.value.orgType})):[{orgType:e.value.orgType,type:e.value.type}],threeDaysAutoPass:e.value.type==="SEAL"?!1:e.value.threeDaysAutoPass||!1,constructionSuggestions:e.value.constructionSuggestions||!1}};b("update:data",f),b("close",!0)}})))}),c=()=>{e.value.assignedOrg=[],e.value.subProcess=void 0,e.value.type=void 0},g=de({unitVisible:!1,showCheckbox:!1,data:void 0}),j=()=>{g.unitVisible=!0,g.showCheckbox=!1,g.data=e.value.assignedOrg.map(u=>({key:u.orgCode,title:u.orgName}))},J=(u,t)=>{e.value.assignedOrg=u.map(f=>({orgCode:f.key,orgName:f.title})),U(u[0].key)},W=()=>{g.unitVisible=!1},z=u=>{e.value.assignedOrg.splice(u,1)},V=L([]),U=u=>O(this,null,function*(){const t=yield ue({pageNum:1,pageSize:1e3,orgCode:u});V.value=t.data.records.filter(f=>!f.isStop),t.data.records&&!t.data.records.length&&(V.value=[])}),D=L(!1),K=[{label:"\u5B57\u6BB5\u540D\u79F0",prop:"fieldName",key:"fieldName"},{label:"\u662F\u5426\u5FC5\u586B",prop:"isRequired",key:"isRequired"},{label:"\u586B\u5199\u7C7B\u578B",prop:"writeType",key:"writeType"}],H=L([{fieldName:"\u8BC4\u5BA1\u610F\u89C1\u9644\u4EF6",isRequired:"\u662F",writeType:"\u6587\u4EF6\u4E0A\u4F20"},{fieldName:"\u5EFA\u8BAE\u603B\u6295\u8D44",isRequired:"\u662F",writeType:"\u6587\u672C"},{fieldName:"\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97",isRequired:"\u662F",writeType:"\u6587\u672C"}]);return pe(()=>a.visible,u=>O(this,null,function*(){var t,f,i,m,v;u?(a.data&&a.data.props&&((t=a.data.props.assignedOrg)==null?void 0:t.length)&&a.data.props.assignedOrg[0].orgType==="TARGET_LABEL"&&U(a.data.props.assignedOrg[0].orgCode),e.value=S(C({},a.data),{props:void 0,orgType:a.data.props&&((f=a.data.props.assignedOrg)==null?void 0:f.length)?a.data.props.assignedOrg[0].orgType:null,subProcess:a.data.props&&a.data.props.assignedOrg[0].orgType==="TARGET_LABEL"?a.data.props.assignedOrg[0].processDefId:void 0,assignedOrg:a.data.props&&a.data.props.assignedOrg&&a.data.props.assignedOrg.length&&a.data.props.assignedOrg[0].orgType==="TARGET_LABEL"&&a.data.props.assignedOrg.map(_=>_)||[],type:a.data.props&&((i=a.data.props.assignedOrg)==null?void 0:i.length)&&a.data.props.assignedOrg[0].orgType!=="TARGET_LABEL"?a.data.props.assignedOrg[0].type:void 0,threeDaysAutoPass:((m=a.data.props)==null?void 0:m.threeDaysAutoPass)||!1,constructionSuggestions:((v=a.data.props)==null?void 0:v.constructionSuggestions)||!1})):A.value.resetFields()})),(u,t)=>{const f=d("el-input"),i=d("el-form-item"),m=d("el-col"),v=d("el-row"),_=d("el-radio"),w=d("el-radio-group"),Q=d("Plus"),X=d("el-icon"),P=d("el-button"),Y=d("el-tag"),q=d("el-switch"),Z=d("el-form"),x=d("el-dialog"),ee=d("table-list");return y(),B(h,null,[s(x,{"model-value":n.visible,title:"\u5BA1\u6279\u8282\u70B9\u8BBE\u7F6E",width:"840px","destroy-on-close":"",onClose:t[9]||(t[9]=o=>b("close"))},{footer:l(()=>[s(P,{type:"primary",onClick:t[7]||(t[7]=o=>E(A.value))},{default:l(()=>[p(" \u63D0\u4EA4 ")]),_:1}),s(P,{onClick:t[8]||(t[8]=o=>b("close"))},{default:l(()=>[p(" \u5173\u95ED ")]),_:1})]),default:l(()=>[s(Z,{ref_key:"formRef",ref:A,model:e.value,rules:R,"label-width":"200","label-suffix":":"},{default:l(()=>[s(v,null,{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{label:"\u8282\u70B9\u540D\u79F0",prop:"name"},{default:l(()=>[s(f,{modelValue:e.value.name,"onUpdate:modelValue":t[0]||(t[0]=o=>e.value.name=o),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),s(v,null,{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{label:"\u8282\u70B9\u8D1F\u8D23\u5355\u4F4D",prop:"orgType"},{default:l(()=>[s(w,{modelValue:e.value.orgType,"onUpdate:modelValue":t[1]||(t[1]=o=>e.value.orgType=o),onChange:c},{default:l(()=>[s(_,{label:"TARGET_LABEL"},{default:l(()=>[p("\u6307\u5B9A\u5355\u4F4D")]),_:1}),s(_,{label:"TARGET_MANAGEMENT"},{default:l(()=>[p("\u4E3B\u7BA1\u5355\u4F4D")]),_:1}),s(_,{label:"TARGET_OWNER"},{default:l(()=>[p("\u53D1\u8D77\u5355\u4F4D")]),_:1}),s(_,{label:"TARGET_LINE_MANAGEMENT"},{default:l(()=>[p("\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e.value.orgType==="TARGET_LABEL"?(y(),T(v,{key:0},{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{prop:"assignedOrg"},{default:l(()=>[G("div",ie,[s(P,{type:"primary",onClick:j},{default:l(()=>[s(X,null,{default:l(()=>[s(Q)]),_:1}),p("\u6DFB\u52A0\u5355\u4F4D")]),_:1}),G("p",null,[(y(!0),B(h,null,M(e.value.assignedOrg,(o,k)=>(y(),T(Y,{key:k,class:"mr-8",closable:"",onClose:fe=>z(k)},{default:l(()=>[p(I(o.orgName),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1})]),_:1})):N("",!0),e.value.orgType==="TARGET_LABEL"&&e.value.assignedOrg.length||e.value.orgType&&e.value.orgType!=="TARGET_LABEL"?(y(),T(v,{key:1},{default:l(()=>[s(m,{span:24},{default:l(()=>[e.value.orgType==="TARGET_LABEL"?(y(),T(i,{key:0,label:"\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B",prop:"subProcess"},{default:l(()=>[s(w,{modelValue:e.value.subProcess,"onUpdate:modelValue":t[2]||(t[2]=o=>e.value.subProcess=o)},{default:l(()=>[(y(!0),B(h,null,M(V.value,(o,k)=>(y(),T(_,{key:k,label:o.processDefId||0},{default:l(()=>[p(I(o.processDefName)+I(o.type==="SEAL"?"\uFF08\u76D6\u7AE0\u6D41\u7A0B\uFF09":o.type==="DEFAULT"?"\uFF08\u9ED8\u8BA4\u6D41\u7A0B\uFF09":""),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})):(y(),T(i,{key:1,prop:"type",label:"\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B"},{default:l(()=>[s(w,{modelValue:e.value.type,"onUpdate:modelValue":t[3]||(t[3]=o=>e.value.type=o)},{default:l(()=>[s(_,{label:"DEFAULT"},{default:l(()=>[p("\u9ED8\u8BA4\u6D41\u7A0B")]),_:1}),s(_,{label:"SEAL"},{default:l(()=>[p("\u76D6\u7AE0\u6D41\u7A0B")]),_:1}),s(_,{label:"JOINT_REVIEW"},{default:l(()=>[p("\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u6D41\u7A0B")]),_:1}),s(_,{label:"JOINT_REVIEW_CONFIRM"},{default:l(()=>[p("\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B")]),_:1})]),_:1},8,["modelValue"])]),_:1}))]),_:1})]),_:1})):N("",!0),e.value.type!=="SEAL"?(y(),T(v,{key:2},{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{label:"3\u5929\u4E0D\u5904\u7406\u81EA\u52A8\u901A\u8FC7",prop:"threeDaysAutoPass"},{default:l(()=>[s(q,{modelValue:e.value.threeDaysAutoPass,"onUpdate:modelValue":t[4]||(t[4]=o=>e.value.threeDaysAutoPass=o)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):N("",!0),u.$route.query.formName==="\u5EFA\u8BBE\u65B9\u6848\u5BA1\u6279\u6D41\u7A0B"?(y(),T(v,{key:3},{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{label:"\u662F\u5426\u6DFB\u52A0\u8BC4\u5BA1\u5EFA\u8BAE\u4FE1\u606F\u5B57\u6BB5",prop:"constructionSuggestions"},{default:l(()=>[s(q,{modelValue:e.value.constructionSuggestions,"onUpdate:modelValue":t[5]||(t[5]=o=>e.value.constructionSuggestions=o)},null,8,["modelValue"]),G("a",{class:"ml-8 cursor-pointer",onClick:t[6]||(t[6]=o=>D.value=!0)},"\u67E5\u770B\u5B57\u6BB5")]),_:1})]),_:1})]),_:1})):N("",!0)]),_:1},8,["model"])]),_:1},8,["model-value"]),s(x,{"model-value":D.value,title:"\u67E5\u770B\u5B57\u6BB5",width:"600px","destroy-on-close":"",onClose:t[10]||(t[10]=o=>D.value=!1)},{default:l(()=>[s(ee,{column:K,data:H.value,pagination:!1},null,8,["data"])]),_:1},8,["model-value"]),s(re,{visible:g.unitVisible,"show-checkbox":g.showCheckbox,"default-data":g.data,params:{onlyUnit:!0},onClose:W,onGetSelectUnit:J},null,8,["visible","show-checkbox","default-data"])],64)}}});export{Te as default}; +var ae=Object.defineProperty,le=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var $=(n,r,a)=>r in n?ae(n,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[r]=a,C=(n,r)=>{for(var a in r||(r={}))te.call(r,a)&&$(n,a,r[a]);if(F)for(var a of F(r))oe.call(r,a)&&$(n,a,r[a]);return n},S=(n,r)=>le(n,se(r));var O=(n,r,a)=>new Promise((b,A)=>{var e=c=>{try{E(a.next(c))}catch(g){A(g)}},R=c=>{try{E(a.throw(c))}catch(g){A(g)}},E=c=>c.done?b(c.value):Promise.resolve(c.value).then(e,R);E((a=a.apply(n,r)).next())});import{_ as re}from"./index.7d081cd9.js";import{a as ue}from"./flowConfiguration.2c62d56a.js";import{d as ne,r as L,b as de,L as pe,c as d,e as y,f as B,h as s,i as l,j as p,I as T,g as G,F as h,J as M,t as I,k as N}from"./index.07ccce2b.js";import"./unitManage.8b8bec34.js";const ie={class:"flex flex-col items-start"},ge=ne({name:"approvalDialog"}),Te=Object.assign(ge,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","update:data"],setup(n,{emit:r}){const a=n,b=r,A=L(),e=L({name:void 0,orgType:void 0,assignedOrg:[],subProcess:void 0,procDefId:void 0,threeDaysAutoPass:!1}),R={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u8282\u70B9\u540D\u79F0",trigger:"blur"}],orgType:[{required:!0,message:"\u8BF7\u9009\u62E9\u8282\u70B9\u8D1F\u8D23\u5355\u4F4D"}],assignedOrg:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6307\u5B9A\u4E00\u4E2A\u5355\u4F4D"}],subProcess:[{required:!0,message:"\u8BF7\u9009\u62E9\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B"}],type:[{required:!0,message:"\u8BF7\u9009\u62E9\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B"}],threeDaysAutoPass:[{type:Boolean,required:!0,message:"\u8BF7\u9009\u62E9"}],constructionSuggestions:[{type:Boolean,required:!0,message:"\u8BF7\u9009\u62E9"}]},E=u=>O(this,null,function*(){!u||(yield u.validate(t=>O(this,null,function*(){if(t){const f={name:e.value.name||"",id:e.value.id||"",parentId:e.value.parentId||"",type:"SUB",props:{mode:"AND",sign:!1,assignedType:"ASSIGN_ORG",refuse:{type:"TO_END",target:""},assignedOrg:e.value.orgType==="TARGET_LABEL"?e.value.assignedOrg&&e.value.assignedOrg.map(i=>S(C({},i),{type:V.value.find(m=>m.processDefId===e.value.subProcess).type||"DEFAULT",processDefId:e.value.subProcess,orgType:e.value.orgType})):[{orgType:e.value.orgType,type:e.value.type}],threeDaysAutoPass:e.value.type==="SEAL"?!1:e.value.threeDaysAutoPass||!1,constructionSuggestions:e.value.constructionSuggestions||!1}};b("update:data",f),b("close",!0)}})))}),c=()=>{e.value.assignedOrg=[],e.value.subProcess=void 0,e.value.type=void 0},g=de({unitVisible:!1,showCheckbox:!1,data:void 0}),j=()=>{g.unitVisible=!0,g.showCheckbox=!1,g.data=e.value.assignedOrg.map(u=>({key:u.orgCode,title:u.orgName}))},J=(u,t)=>{e.value.assignedOrg=u.map(f=>({orgCode:f.key,orgName:f.title})),U(u[0].key)},W=()=>{g.unitVisible=!1},z=u=>{e.value.assignedOrg.splice(u,1)},V=L([]),U=u=>O(this,null,function*(){const t=yield ue({pageNum:1,pageSize:1e3,orgCode:u});V.value=t.data.records.filter(f=>!f.isStop),t.data.records&&!t.data.records.length&&(V.value=[])}),D=L(!1),K=[{label:"\u5B57\u6BB5\u540D\u79F0",prop:"fieldName",key:"fieldName"},{label:"\u662F\u5426\u5FC5\u586B",prop:"isRequired",key:"isRequired"},{label:"\u586B\u5199\u7C7B\u578B",prop:"writeType",key:"writeType"}],H=L([{fieldName:"\u8BC4\u5BA1\u610F\u89C1\u9644\u4EF6",isRequired:"\u662F",writeType:"\u6587\u4EF6\u4E0A\u4F20"},{fieldName:"\u5EFA\u8BAE\u603B\u6295\u8D44",isRequired:"\u662F",writeType:"\u6587\u672C"},{fieldName:"\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97",isRequired:"\u662F",writeType:"\u6587\u672C"}]);return pe(()=>a.visible,u=>O(this,null,function*(){var t,f,i,m,v;u?(a.data&&a.data.props&&((t=a.data.props.assignedOrg)==null?void 0:t.length)&&a.data.props.assignedOrg[0].orgType==="TARGET_LABEL"&&U(a.data.props.assignedOrg[0].orgCode),e.value=S(C({},a.data),{props:void 0,orgType:a.data.props&&((f=a.data.props.assignedOrg)==null?void 0:f.length)?a.data.props.assignedOrg[0].orgType:null,subProcess:a.data.props&&a.data.props.assignedOrg[0].orgType==="TARGET_LABEL"?a.data.props.assignedOrg[0].processDefId:void 0,assignedOrg:a.data.props&&a.data.props.assignedOrg&&a.data.props.assignedOrg.length&&a.data.props.assignedOrg[0].orgType==="TARGET_LABEL"&&a.data.props.assignedOrg.map(_=>_)||[],type:a.data.props&&((i=a.data.props.assignedOrg)==null?void 0:i.length)&&a.data.props.assignedOrg[0].orgType!=="TARGET_LABEL"?a.data.props.assignedOrg[0].type:void 0,threeDaysAutoPass:((m=a.data.props)==null?void 0:m.threeDaysAutoPass)||!1,constructionSuggestions:((v=a.data.props)==null?void 0:v.constructionSuggestions)||!1})):A.value.resetFields()})),(u,t)=>{const f=d("el-input"),i=d("el-form-item"),m=d("el-col"),v=d("el-row"),_=d("el-radio"),w=d("el-radio-group"),Q=d("Plus"),X=d("el-icon"),P=d("el-button"),Y=d("el-tag"),q=d("el-switch"),Z=d("el-form"),x=d("el-dialog"),ee=d("table-list");return y(),B(h,null,[s(x,{"model-value":n.visible,title:"\u5BA1\u6279\u8282\u70B9\u8BBE\u7F6E",width:"840px","destroy-on-close":"",onClose:t[9]||(t[9]=o=>b("close"))},{footer:l(()=>[s(P,{type:"primary",onClick:t[7]||(t[7]=o=>E(A.value))},{default:l(()=>[p(" \u63D0\u4EA4 ")]),_:1}),s(P,{onClick:t[8]||(t[8]=o=>b("close"))},{default:l(()=>[p(" \u5173\u95ED ")]),_:1})]),default:l(()=>[s(Z,{ref_key:"formRef",ref:A,model:e.value,rules:R,"label-width":"200","label-suffix":":"},{default:l(()=>[s(v,null,{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{label:"\u8282\u70B9\u540D\u79F0",prop:"name"},{default:l(()=>[s(f,{modelValue:e.value.name,"onUpdate:modelValue":t[0]||(t[0]=o=>e.value.name=o),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),s(v,null,{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{label:"\u8282\u70B9\u8D1F\u8D23\u5355\u4F4D",prop:"orgType"},{default:l(()=>[s(w,{modelValue:e.value.orgType,"onUpdate:modelValue":t[1]||(t[1]=o=>e.value.orgType=o),onChange:c},{default:l(()=>[s(_,{label:"TARGET_LABEL"},{default:l(()=>[p("\u6307\u5B9A\u5355\u4F4D")]),_:1}),s(_,{label:"TARGET_MANAGEMENT"},{default:l(()=>[p("\u4E3B\u7BA1\u5355\u4F4D")]),_:1}),s(_,{label:"TARGET_OWNER"},{default:l(()=>[p("\u53D1\u8D77\u5355\u4F4D")]),_:1}),s(_,{label:"TARGET_LINE_MANAGEMENT"},{default:l(()=>[p("\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e.value.orgType==="TARGET_LABEL"?(y(),T(v,{key:0},{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{prop:"assignedOrg"},{default:l(()=>[G("div",ie,[s(P,{type:"primary",onClick:j},{default:l(()=>[s(X,null,{default:l(()=>[s(Q)]),_:1}),p("\u6DFB\u52A0\u5355\u4F4D")]),_:1}),G("p",null,[(y(!0),B(h,null,M(e.value.assignedOrg,(o,k)=>(y(),T(Y,{key:k,class:"mr-8",closable:"",onClose:fe=>z(k)},{default:l(()=>[p(I(o.orgName),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1})]),_:1})):N("",!0),e.value.orgType==="TARGET_LABEL"&&e.value.assignedOrg.length||e.value.orgType&&e.value.orgType!=="TARGET_LABEL"?(y(),T(v,{key:1},{default:l(()=>[s(m,{span:24},{default:l(()=>[e.value.orgType==="TARGET_LABEL"?(y(),T(i,{key:0,label:"\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B",prop:"subProcess"},{default:l(()=>[s(w,{modelValue:e.value.subProcess,"onUpdate:modelValue":t[2]||(t[2]=o=>e.value.subProcess=o)},{default:l(()=>[(y(!0),B(h,null,M(V.value,(o,k)=>(y(),T(_,{key:k,label:o.processDefId||0},{default:l(()=>[p(I(o.processDefName)+I(o.type==="SEAL"?"\uFF08\u76D6\u7AE0\u6D41\u7A0B\uFF09":o.type==="DEFAULT"?"\uFF08\u9ED8\u8BA4\u6D41\u7A0B\uFF09":""),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})):(y(),T(i,{key:1,prop:"type",label:"\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B"},{default:l(()=>[s(w,{modelValue:e.value.type,"onUpdate:modelValue":t[3]||(t[3]=o=>e.value.type=o)},{default:l(()=>[s(_,{label:"DEFAULT"},{default:l(()=>[p("\u9ED8\u8BA4\u6D41\u7A0B")]),_:1}),s(_,{label:"SEAL"},{default:l(()=>[p("\u76D6\u7AE0\u6D41\u7A0B")]),_:1}),s(_,{label:"JOINT_REVIEW"},{default:l(()=>[p("\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u6D41\u7A0B")]),_:1}),s(_,{label:"JOINT_REVIEW_CONFIRM"},{default:l(()=>[p("\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B")]),_:1})]),_:1},8,["modelValue"])]),_:1}))]),_:1})]),_:1})):N("",!0),e.value.type!=="SEAL"?(y(),T(v,{key:2},{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{label:"3\u5929\u4E0D\u5904\u7406\u81EA\u52A8\u901A\u8FC7",prop:"threeDaysAutoPass"},{default:l(()=>[s(q,{modelValue:e.value.threeDaysAutoPass,"onUpdate:modelValue":t[4]||(t[4]=o=>e.value.threeDaysAutoPass=o)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):N("",!0),u.$route.query.formName==="\u5EFA\u8BBE\u65B9\u6848\u5BA1\u6279\u6D41\u7A0B"?(y(),T(v,{key:3},{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{label:"\u662F\u5426\u6DFB\u52A0\u8BC4\u5BA1\u5EFA\u8BAE\u4FE1\u606F\u5B57\u6BB5",prop:"constructionSuggestions"},{default:l(()=>[s(q,{modelValue:e.value.constructionSuggestions,"onUpdate:modelValue":t[5]||(t[5]=o=>e.value.constructionSuggestions=o)},null,8,["modelValue"]),G("a",{class:"ml-8 cursor-pointer",onClick:t[6]||(t[6]=o=>D.value=!0)},"\u67E5\u770B\u5B57\u6BB5")]),_:1})]),_:1})]),_:1})):N("",!0)]),_:1},8,["model"])]),_:1},8,["model-value"]),s(x,{"model-value":D.value,title:"\u67E5\u770B\u5B57\u6BB5",width:"600px","destroy-on-close":"",onClose:t[10]||(t[10]=o=>D.value=!1)},{default:l(()=>[s(ee,{column:K,data:H.value,pagination:!1},null,8,["data"])]),_:1},8,["model-value"]),s(re,{visible:g.unitVisible,"show-checkbox":g.showCheckbox,"default-data":g.data,params:{onlyUnit:!0},onClose:W,onGetSelectUnit:J},null,8,["visible","show-checkbox","default-data"])],64)}}});export{Te as default}; diff --git a/lishui2/web/dist/assets/approvalDialog.c6b342f4.js b/lishui2/web/dist/assets/approvalDialog.dc9f1151.js similarity index 98% rename from lishui2/web/dist/assets/approvalDialog.c6b342f4.js rename to lishui2/web/dist/assets/approvalDialog.dc9f1151.js index 1618d92..683006e 100644 --- a/lishui2/web/dist/assets/approvalDialog.c6b342f4.js +++ b/lishui2/web/dist/assets/approvalDialog.dc9f1151.js @@ -1 +1 @@ -var H=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var B=(o,d,n)=>d in o?H(o,d,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[d]=n,I=(o,d)=>{for(var n in d||(d={}))Y.call(d,n)&&B(o,n,d[n]);if($)for(var n of $(d))Z.call(d,n)&&B(o,n,d[n]);return o},q=(o,d)=>Q(o,X(d));var C=(o,d,n)=>new Promise((x,i)=>{var v=f=>{try{l(n.next(f))}catch(b){i(b)}},y=f=>{try{l(n.throw(f))}catch(b){i(b)}},l=f=>f.done?x(f.value):Promise.resolve(f.value).then(v,y);l((n=n.apply(o,d)).next())});import{d as ee,G as le,D as ae,z as te,r as D,b as oe,L as ne,c as u,e as V,f as U,h as e,i as a,j as m,g as h,F as k,J as se,I as de,t as ue,k as N,u as P}from"./index.51e934d4.js";import{_ as re}from"./index.9c7375b8.js";import"./unitManage.1da62722.js";const ie={class:"flex flex-col items-start"},me=h("p",{class:"text-info"},"\u53D8\u91CF\uFF1A\u9879\u76EE\u540D\u79F0{projectName}\uFF0C\u6D41\u7A0B\u540D\u79F0{flowName}",-1),pe=ee({name:"approvalDialog"}),be=Object.assign(pe,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object,orgCode:{type:String,default:""}},emits:["close","update:data"],setup(o,{emit:d}){const n=le(ae.userStore).userInfo||{},x=te(),i=o,v=d,y=D(),l=D({name:void 0,unitType:void 0,assignedUser:[]}),f={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u8282\u70B9\u540D\u79F0",trigger:"blur"}],assignedUser:[{required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u8282\u70B9\u8D1F\u8D23\u4EBA"}],mode:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BA1\u6838\u65B9\u5F0F"}]},b=r=>C(this,null,function*(){!r||(yield r.validate(t=>C(this,null,function*(){if(t){const _={name:l.value.name,id:l.value.id,parentId:l.value.parentId,type:l.value.type,props:{assignedType:"ASSIGN_USER",assignedUser:l.value.assignedUser.map(p=>p),mode:l.value.mode||void 0}};v("update:data",_),v("close",!0)}})))}),c=oe({unitVisible:!1,showCheckbox:!0,data:void 0}),A=()=>{c.unitVisible=!1},j=(r,t)=>{l.value.assignedUser=r.map(_=>({id:_.key,name:_.title})),c.unitVisible=!1},L=()=>{c.unitVisible=!0,c.data=l.value.assignedUser.map(r=>({key:r.id,title:r.name}))},F=r=>{l.value.assignedUser.splice(r,1)};return ne(()=>i.visible,r=>C(this,null,function*(){r?l.value=q(I({},i.data),{props:void 0,assignedUser:i.data.props&&i.data.props.assignedUser&&i.data.props.assignedUser.length&&i.data.props.assignedUser.map(t=>t)||[],mode:i.data.props&&i.data.props.mode}):y.value.resetFields()})),(r,t)=>{const _=u("el-input"),p=u("el-form-item"),g=u("el-col"),R=u("el-row"),G=u("Plus"),W=u("el-icon"),w=u("el-button"),z=u("el-tag"),T=u("el-radio"),E=u("el-radio-group"),fe=u("el-switch"),S=u("el-checkbox"),J=u("el-checkbox-group"),K=u("el-form"),M=u("el-dialog");return V(),U(k,null,[e(M,{"model-value":o.visible,title:`${o.data.type==="APPROVAL"?"\u5BA1\u6279":o.data.type==="CONSTRCTION"?"\u5EFA\u8BBE\u5BA1\u6279":o.data.type==="CC"?"\u6284\u9001":o.data.type==="SEAL"?"\u76D6\u7AE0":""}\u8282\u70B9\u8BBE\u7F6E`,width:"840px","destroy-on-close":"",onClose:t[9]||(t[9]=s=>v("close"))},{footer:a(()=>[e(w,{type:"primary",onClick:t[7]||(t[7]=s=>b(y.value))},{default:a(()=>[m(" \u63D0\u4EA4 ")]),_:1}),e(w,{onClick:t[8]||(t[8]=s=>v("close"))},{default:a(()=>[m(" \u5173\u95ED ")]),_:1})]),default:a(()=>[e(K,{ref_key:"formRef",ref:y,model:l.value,rules:f,"label-width":"115px","label-suffix":":"},{default:a(()=>[e(R,null,{default:a(()=>[e(g,{span:24},{default:a(()=>[e(p,{label:"\u8282\u70B9\u540D\u79F0",prop:"name"},{default:a(()=>[e(_,{modelValue:l.value.name,"onUpdate:modelValue":t[0]||(t[0]=s=>l.value.name=s),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(R,null,{default:a(()=>[e(g,{span:24},{default:a(()=>[e(p,{prop:"assignedUser",label:"\u8282\u70B9\u8D1F\u8D23\u4EBA"},{default:a(()=>[h("div",ie,[e(w,{type:"primary",onClick:L},{default:a(()=>[e(W,null,{default:a(()=>[e(G)]),_:1}),m("\u6DFB\u52A0\u4EBA\u5458")]),_:1}),h("p",null,[(V(!0),U(k,null,se(l.value.assignedUser,(s,O)=>(V(),de(z,{key:O,class:"mr-8",closable:"",onClose:_e=>F(O)},{default:a(()=>[m(ue(s.name),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1}),l.value.type!="CC"?(V(),U(k,{key:0},[e(g,{span:24},{default:a(()=>[e(p,{label:"\u5BA1\u6838\u65B9\u5F0F",prop:"mode"},{default:a(()=>[e(E,{modelValue:l.value.mode,"onUpdate:modelValue":t[1]||(t[1]=s=>l.value.mode=s)},{default:a(()=>[e(T,{label:"OR"},{default:a(()=>[m("\u6216\u7B7E")]),_:1}),e(T,{label:"AND"},{default:a(()=>[m("\u4F1A\u7B7E")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),N("",!0),l.value.isTimeoutRemind?(V(),U(k,{key:1},[e(g,{span:24},{default:a(()=>[e(p,{label:"\u63D0\u9192\u89C4\u5219",required:""},{default:a(()=>[m(" \u82E5\u6D41\u7A0B\u8FBE\u5230\u8BE5\u8282\u70B9 "),e(p,{prop:"overNum"},{default:a(()=>[e(_,{modelValue:l.value.overNum,"onUpdate:modelValue":t[3]||(t[3]=s=>l.value.overNum=s),placeholder:"\u51E0\u4E2A\u5C0F\u65F6",style:{width:"100px"}},null,8,["modelValue"])]),_:1}),m(" \u5C0F\u65F6\u540E\u672A\u5904\u7406,\u5219\u6BCF\u9694 "),e(p,{prop:"intervalNum"},{default:a(()=>[e(_,{modelValue:l.value.intervalNum,"onUpdate:modelValue":t[4]||(t[4]=s=>l.value.intervalNum=s),placeholder:"\u51E0\u4E2A\u5C0F\u65F6",style:{width:"100px"}},null,8,["modelValue"])]),_:1}),m(" \u5C0F\u65F6\u63D0\u9192\u4E00\u6B21 ")]),_:1})]),_:1}),e(g,{span:24},{default:a(()=>[e(p,{label:"\u63D0\u9192\u65B9\u5F0F",prop:"notifyWay"},{default:a(()=>[e(J,{modelValue:l.value.notifyWay,"onUpdate:modelValue":t[5]||(t[5]=s=>l.value.notifyWay=s)},{default:a(()=>[e(S,{label:1},{default:a(()=>[m("\u6D59\u653F\u9489\u5DE5\u4F5C\u901A\u77E5")]),_:1}),e(S,{label:2},{default:a(()=>[m("\u624B\u673A\u77ED\u4FE1")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(g,{span:24},{default:a(()=>[e(p,{label:"\u63D0\u9192\u5185\u5BB9",prop:"notifyContent"},{default:a(()=>[e(_,{modelValue:l.value.notifyContent,"onUpdate:modelValue":t[6]||(t[6]=s=>l.value.notifyContent=s),type:"textarea"},null,8,["modelValue"]),me]),_:1})]),_:1})],64)):N("",!0)],64)):N("",!0)]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"]),e(re,{"is-person":"",params:{needMember:!0,organizationCode:P(x).query.orgCode||P(n).empPosUnitCode},visible:c.unitVisible,"show-checkbox":c.showCheckbox,"default-data":c.data,title:"\u4EBA\u5458",onClose:A,onGetSelectUnit:j},null,8,["params","visible","show-checkbox","default-data"])],64)}}});export{be as default}; +var H=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var B=(o,d,n)=>d in o?H(o,d,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[d]=n,I=(o,d)=>{for(var n in d||(d={}))Y.call(d,n)&&B(o,n,d[n]);if($)for(var n of $(d))Z.call(d,n)&&B(o,n,d[n]);return o},q=(o,d)=>Q(o,X(d));var C=(o,d,n)=>new Promise((x,i)=>{var v=f=>{try{l(n.next(f))}catch(b){i(b)}},y=f=>{try{l(n.throw(f))}catch(b){i(b)}},l=f=>f.done?x(f.value):Promise.resolve(f.value).then(v,y);l((n=n.apply(o,d)).next())});import{d as ee,G as le,D as ae,z as te,r as D,b as oe,L as ne,c as u,e as V,f as U,h as e,i as a,j as m,g as h,F as k,J as se,I as de,t as ue,k as N,u as P}from"./index.07ccce2b.js";import{_ as re}from"./index.7d081cd9.js";import"./unitManage.8b8bec34.js";const ie={class:"flex flex-col items-start"},me=h("p",{class:"text-info"},"\u53D8\u91CF\uFF1A\u9879\u76EE\u540D\u79F0{projectName}\uFF0C\u6D41\u7A0B\u540D\u79F0{flowName}",-1),pe=ee({name:"approvalDialog"}),be=Object.assign(pe,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object,orgCode:{type:String,default:""}},emits:["close","update:data"],setup(o,{emit:d}){const n=le(ae.userStore).userInfo||{},x=te(),i=o,v=d,y=D(),l=D({name:void 0,unitType:void 0,assignedUser:[]}),f={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u8282\u70B9\u540D\u79F0",trigger:"blur"}],assignedUser:[{required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u8282\u70B9\u8D1F\u8D23\u4EBA"}],mode:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BA1\u6838\u65B9\u5F0F"}]},b=r=>C(this,null,function*(){!r||(yield r.validate(t=>C(this,null,function*(){if(t){const _={name:l.value.name,id:l.value.id,parentId:l.value.parentId,type:l.value.type,props:{assignedType:"ASSIGN_USER",assignedUser:l.value.assignedUser.map(p=>p),mode:l.value.mode||void 0}};v("update:data",_),v("close",!0)}})))}),c=oe({unitVisible:!1,showCheckbox:!0,data:void 0}),A=()=>{c.unitVisible=!1},j=(r,t)=>{l.value.assignedUser=r.map(_=>({id:_.key,name:_.title})),c.unitVisible=!1},L=()=>{c.unitVisible=!0,c.data=l.value.assignedUser.map(r=>({key:r.id,title:r.name}))},F=r=>{l.value.assignedUser.splice(r,1)};return ne(()=>i.visible,r=>C(this,null,function*(){r?l.value=q(I({},i.data),{props:void 0,assignedUser:i.data.props&&i.data.props.assignedUser&&i.data.props.assignedUser.length&&i.data.props.assignedUser.map(t=>t)||[],mode:i.data.props&&i.data.props.mode}):y.value.resetFields()})),(r,t)=>{const _=u("el-input"),p=u("el-form-item"),g=u("el-col"),R=u("el-row"),G=u("Plus"),W=u("el-icon"),w=u("el-button"),z=u("el-tag"),T=u("el-radio"),E=u("el-radio-group"),fe=u("el-switch"),S=u("el-checkbox"),J=u("el-checkbox-group"),K=u("el-form"),M=u("el-dialog");return V(),U(k,null,[e(M,{"model-value":o.visible,title:`${o.data.type==="APPROVAL"?"\u5BA1\u6279":o.data.type==="CONSTRCTION"?"\u5EFA\u8BBE\u5BA1\u6279":o.data.type==="CC"?"\u6284\u9001":o.data.type==="SEAL"?"\u76D6\u7AE0":""}\u8282\u70B9\u8BBE\u7F6E`,width:"840px","destroy-on-close":"",onClose:t[9]||(t[9]=s=>v("close"))},{footer:a(()=>[e(w,{type:"primary",onClick:t[7]||(t[7]=s=>b(y.value))},{default:a(()=>[m(" \u63D0\u4EA4 ")]),_:1}),e(w,{onClick:t[8]||(t[8]=s=>v("close"))},{default:a(()=>[m(" \u5173\u95ED ")]),_:1})]),default:a(()=>[e(K,{ref_key:"formRef",ref:y,model:l.value,rules:f,"label-width":"115px","label-suffix":":"},{default:a(()=>[e(R,null,{default:a(()=>[e(g,{span:24},{default:a(()=>[e(p,{label:"\u8282\u70B9\u540D\u79F0",prop:"name"},{default:a(()=>[e(_,{modelValue:l.value.name,"onUpdate:modelValue":t[0]||(t[0]=s=>l.value.name=s),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(R,null,{default:a(()=>[e(g,{span:24},{default:a(()=>[e(p,{prop:"assignedUser",label:"\u8282\u70B9\u8D1F\u8D23\u4EBA"},{default:a(()=>[h("div",ie,[e(w,{type:"primary",onClick:L},{default:a(()=>[e(W,null,{default:a(()=>[e(G)]),_:1}),m("\u6DFB\u52A0\u4EBA\u5458")]),_:1}),h("p",null,[(V(!0),U(k,null,se(l.value.assignedUser,(s,O)=>(V(),de(z,{key:O,class:"mr-8",closable:"",onClose:_e=>F(O)},{default:a(()=>[m(ue(s.name),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1}),l.value.type!="CC"?(V(),U(k,{key:0},[e(g,{span:24},{default:a(()=>[e(p,{label:"\u5BA1\u6838\u65B9\u5F0F",prop:"mode"},{default:a(()=>[e(E,{modelValue:l.value.mode,"onUpdate:modelValue":t[1]||(t[1]=s=>l.value.mode=s)},{default:a(()=>[e(T,{label:"OR"},{default:a(()=>[m("\u6216\u7B7E")]),_:1}),e(T,{label:"AND"},{default:a(()=>[m("\u4F1A\u7B7E")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),N("",!0),l.value.isTimeoutRemind?(V(),U(k,{key:1},[e(g,{span:24},{default:a(()=>[e(p,{label:"\u63D0\u9192\u89C4\u5219",required:""},{default:a(()=>[m(" \u82E5\u6D41\u7A0B\u8FBE\u5230\u8BE5\u8282\u70B9 "),e(p,{prop:"overNum"},{default:a(()=>[e(_,{modelValue:l.value.overNum,"onUpdate:modelValue":t[3]||(t[3]=s=>l.value.overNum=s),placeholder:"\u51E0\u4E2A\u5C0F\u65F6",style:{width:"100px"}},null,8,["modelValue"])]),_:1}),m(" \u5C0F\u65F6\u540E\u672A\u5904\u7406,\u5219\u6BCF\u9694 "),e(p,{prop:"intervalNum"},{default:a(()=>[e(_,{modelValue:l.value.intervalNum,"onUpdate:modelValue":t[4]||(t[4]=s=>l.value.intervalNum=s),placeholder:"\u51E0\u4E2A\u5C0F\u65F6",style:{width:"100px"}},null,8,["modelValue"])]),_:1}),m(" \u5C0F\u65F6\u63D0\u9192\u4E00\u6B21 ")]),_:1})]),_:1}),e(g,{span:24},{default:a(()=>[e(p,{label:"\u63D0\u9192\u65B9\u5F0F",prop:"notifyWay"},{default:a(()=>[e(J,{modelValue:l.value.notifyWay,"onUpdate:modelValue":t[5]||(t[5]=s=>l.value.notifyWay=s)},{default:a(()=>[e(S,{label:1},{default:a(()=>[m("\u6D59\u653F\u9489\u5DE5\u4F5C\u901A\u77E5")]),_:1}),e(S,{label:2},{default:a(()=>[m("\u624B\u673A\u77ED\u4FE1")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(g,{span:24},{default:a(()=>[e(p,{label:"\u63D0\u9192\u5185\u5BB9",prop:"notifyContent"},{default:a(()=>[e(_,{modelValue:l.value.notifyContent,"onUpdate:modelValue":t[6]||(t[6]=s=>l.value.notifyContent=s),type:"textarea"},null,8,["modelValue"]),me]),_:1})]),_:1})],64)):N("",!0)],64)):N("",!0)]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"]),e(re,{"is-person":"",params:{needMember:!0,organizationCode:P(x).query.orgCode||P(n).empPosUnitCode},visible:c.unitVisible,"show-checkbox":c.showCheckbox,"default-data":c.data,title:"\u4EBA\u5458",onClose:A,onGetSelectUnit:j},null,8,["params","visible","show-checkbox","default-data"])],64)}}});export{be as default}; diff --git a/lishui2/web/dist/assets/approvalInfo.e72b6719.js b/lishui2/web/dist/assets/approvalInfo.c8f60ab4.js similarity index 93% rename from lishui2/web/dist/assets/approvalInfo.e72b6719.js rename to lishui2/web/dist/assets/approvalInfo.c8f60ab4.js index 69182d0..dfd06c4 100644 --- a/lishui2/web/dist/assets/approvalInfo.e72b6719.js +++ b/lishui2/web/dist/assets/approvalInfo.c8f60ab4.js @@ -1 +1 @@ -var F=(e,D,o)=>new Promise((p,m)=>{var v=a=>{try{d(o.next(a))}catch(s){m(s)}},c=a=>{try{d(o.throw(a))}catch(s){m(s)}},d=a=>a.done?p(a.value):Promise.resolve(a.value).then(v,c);d((o=o.apply(e,D)).next())});import{_ as g}from"./index.25c56c35.js";import{d as w}from"./projectStore.6b4c3b28.js";import{d as A,r as _,c as u,e as y,f,h as l,i as n,j as b,t as r,g as x,k as B,F as k,J as O}from"./index.51e934d4.js";const V={class:"text-danger mr-4"},j=A({name:"approvalInfo"}),L=Object.assign(j,{props:{detailData:Object},setup(e){const D=e,o=_(!1),p=_([]),m=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u5EF6\u671F\u65F6\u957F\uFF08\u6708\uFF09",key:"delayTime",prop:"delayTime",width:"140"},{label:"\u5EF6\u671F\u7406\u7531",key:"delayApplyReason",prop:"delayApplyReason"},{label:"\u4F50\u8BC1\u6750\u6599",key:"delayApplyFile",slot:"delayApplyFile"},{label:"\u63D0\u4EA4\u65F6\u95F4",key:"createOn",prop:"createOn"}],v=()=>F(this,null,function*(){const c=yield w(D.detailData.id);o.value=!0,p.value=c.data});return(c,d)=>{const a=u("el-descriptions-item"),s=u("el-descriptions"),N=u("table-list"),h=u("el-dialog");return y(),f(k,null,[l(s,{column:2,border:""},{default:n(()=>[l(a,{label:"\u5EFA\u8BAE\u6279\u590D\u603B\u6295\u8D44\uFF08\u4E07\u5143\uFF09"},{default:n(()=>[b(r(e.detailData.approvalAmount||"-"),1)]),_:1}),l(a,{label:"\u6279\u590D\u65F6\u95F4"},{default:n(()=>[b(r(e.detailData.approvalDate||"-"),1)]),_:1}),l(a,{label:"\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97\uFF08\u4E07\u5143\uFF09"},{default:n(()=>[b(r(e.detailData.approvalBudget||"-"),1)]),_:1}),l(a,{label:"\u6279\u590D\u5468\u671F"},{default:n(()=>[b(r(e.detailData.originBuildCycle||"-")+"\u4E2A\u6708 ",1),x("span",V,r(e.detailData.applyDelayMonths?`\u5EF6\u671F${e.detailData.applyDelayMonths}\u4E2A\u6708`:""),1),e.detailData.applyDelayMonths?(y(),f("a",{key:0,onClick:v},"\u8BE6\u60C5")):B("",!0)]),_:1}),l(a,{label:"\u6279\u590D\u6587\u4EF6"},{default:n(()=>{var i,t;return[l(g,{"file-name":(i=e.detailData)==null?void 0:i.approvedFileName,"file-id":Number((t=e.detailData)==null?void 0:t.approvedFile)},null,8,["file-name","file-id"])]}),_:1}),l(a,{label:"\u5EFA\u8BBE\u65B9\u6848"},{default:n(()=>{var i,t;return[l(g,{"file-name":(i=e.detailData)==null?void 0:i.approvedConstructionPlanFileName,"file-id":Number((t=e.detailData)==null?void 0:t.approvedConstructionPlanFile)},null,8,["file-name","file-id"])]}),_:1})]),_:1}),l(h,{"model-value":o.value,title:"\u5EF6\u671F\u4FE1\u606F",width:"60%",onClose:d[0]||(d[0]=i=>o.value=!1)},{default:n(()=>[l(N,{data:p.value,column:m,pagination:!1},{delayApplyFile:n(({scope:i})=>[(y(!0),f(k,null,O(i.row.delayApplyFile&&JSON.parse(i.row.delayApplyFile),(t,C)=>(y(),f("p",{key:C},[l(g,{"file-name":t==null?void 0:t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"])]),_:1},8,["model-value"])],64)}}});export{L as default}; +var F=(e,D,o)=>new Promise((p,m)=>{var v=a=>{try{d(o.next(a))}catch(s){m(s)}},c=a=>{try{d(o.throw(a))}catch(s){m(s)}},d=a=>a.done?p(a.value):Promise.resolve(a.value).then(v,c);d((o=o.apply(e,D)).next())});import{_ as g}from"./index.0d7a0f2a.js";import{d as w}from"./projectStore.92601f95.js";import{d as A,r as _,c as u,e as y,f,h as l,i as n,j as b,t as r,g as x,k as B,F as k,J as O}from"./index.07ccce2b.js";const V={class:"text-danger mr-4"},j=A({name:"approvalInfo"}),L=Object.assign(j,{props:{detailData:Object},setup(e){const D=e,o=_(!1),p=_([]),m=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u5EF6\u671F\u65F6\u957F\uFF08\u6708\uFF09",key:"delayTime",prop:"delayTime",width:"140"},{label:"\u5EF6\u671F\u7406\u7531",key:"delayApplyReason",prop:"delayApplyReason"},{label:"\u4F50\u8BC1\u6750\u6599",key:"delayApplyFile",slot:"delayApplyFile"},{label:"\u63D0\u4EA4\u65F6\u95F4",key:"createOn",prop:"createOn"}],v=()=>F(this,null,function*(){const c=yield w(D.detailData.id);o.value=!0,p.value=c.data});return(c,d)=>{const a=u("el-descriptions-item"),s=u("el-descriptions"),N=u("table-list"),h=u("el-dialog");return y(),f(k,null,[l(s,{column:2,border:""},{default:n(()=>[l(a,{label:"\u5EFA\u8BAE\u6279\u590D\u603B\u6295\u8D44\uFF08\u4E07\u5143\uFF09"},{default:n(()=>[b(r(e.detailData.approvalAmount||"-"),1)]),_:1}),l(a,{label:"\u6279\u590D\u65F6\u95F4"},{default:n(()=>[b(r(e.detailData.approvalDate||"-"),1)]),_:1}),l(a,{label:"\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97\uFF08\u4E07\u5143\uFF09"},{default:n(()=>[b(r(e.detailData.approvalBudget||"-"),1)]),_:1}),l(a,{label:"\u6279\u590D\u5468\u671F"},{default:n(()=>[b(r(e.detailData.originBuildCycle||"-")+"\u4E2A\u6708 ",1),x("span",V,r(e.detailData.applyDelayMonths?`\u5EF6\u671F${e.detailData.applyDelayMonths}\u4E2A\u6708`:""),1),e.detailData.applyDelayMonths?(y(),f("a",{key:0,onClick:v},"\u8BE6\u60C5")):B("",!0)]),_:1}),l(a,{label:"\u6279\u590D\u6587\u4EF6"},{default:n(()=>{var i,t;return[l(g,{"file-name":(i=e.detailData)==null?void 0:i.approvedFileName,"file-id":Number((t=e.detailData)==null?void 0:t.approvedFile)},null,8,["file-name","file-id"])]}),_:1}),l(a,{label:"\u5EFA\u8BBE\u65B9\u6848"},{default:n(()=>{var i,t;return[l(g,{"file-name":(i=e.detailData)==null?void 0:i.approvedConstructionPlanFileName,"file-id":Number((t=e.detailData)==null?void 0:t.approvedConstructionPlanFile)},null,8,["file-name","file-id"])]}),_:1})]),_:1}),l(h,{"model-value":o.value,title:"\u5EF6\u671F\u4FE1\u606F",width:"60%",onClose:d[0]||(d[0]=i=>o.value=!1)},{default:n(()=>[l(N,{data:p.value,column:m,pagination:!1},{delayApplyFile:n(({scope:i})=>[(y(!0),f(k,null,O(i.row.delayApplyFile&&JSON.parse(i.row.delayApplyFile),(t,C)=>(y(),f("p",{key:C},[l(g,{"file-name":t==null?void 0:t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"])]),_:1},8,["model-value"])],64)}}});export{L as default}; diff --git a/lishui2/web/dist/assets/auditDialog.b8416db7.js b/lishui2/web/dist/assets/auditDialog.a9ab8210.js similarity index 98% rename from lishui2/web/dist/assets/auditDialog.b8416db7.js rename to lishui2/web/dist/assets/auditDialog.a9ab8210.js index 85c4096..74423d4 100644 --- a/lishui2/web/dist/assets/auditDialog.b8416db7.js +++ b/lishui2/web/dist/assets/auditDialog.a9ab8210.js @@ -1 +1 @@ -var G=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var q=(l,i,n)=>i in l?G(l,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[i]=n,$=(l,i)=>{for(var n in i||(i={}))Z.call(i,n)&&q(l,n,i[n]);if(T)for(var n of T(i))ee.call(i,n)&&q(l,n,i[n]);return l},N=(l,i)=>Q(l,X(i));var F=(l,i,n)=>new Promise((w,v)=>{var h=u=>{try{c(n.next(u))}catch(o){v(o)}},d=u=>{try{c(n.throw(u))}catch(o){v(o)}},c=u=>u.done?w(u.value):Promise.resolve(u.value).then(h,d);c((n=n.apply(l,i)).next())});import{d as te,z as oe,A as ae,D as P,r as R,L as le,c as p,e as x,I as se,i as e,g as b,h as t,j as f,f as k,k as V,F as ne,Y as U,u as r,t as D,am as ie,ag as re,x as ue}from"./index.51e934d4.js";import{h as M,i as L,f as O,c as C,b as E,e as W,g as pe}from"./uploadAction.20ffefc6.js";const de={key:0,class:"infoTip flex items-center mb-16"},ce=b("span",null,"\u9A73\u56DE\u540E\uFF0C\u9700\u8981\u7533\u62A5\u5355\u4F4D\u4FEE\u6539\u9879\u76EE\u4FE1\u606F\u540E\uFF0C\u91CD\u65B0\u53D1\u8D77\u8BE5\u6D41\u7A0B\u3002",-1),me={key:1,class:"infoTip flex items-center mb-16"},fe=b("span",null,"\u9000\u56DE\u540E\uFF0C\u9700\u8981\u7533\u62A5\u5355\u4F4D\u4FEE\u6539\u9879\u76EE\u4FE1\u606F\u540E\uFF0C\u518D\u7531\u60A8\u8FDB\u884C\u5BA1\u6838\u786E\u8BA4\u3002",-1),ve={class:"el-upload__tip"},ge={class:"el-upload__tip"},_e={class:"flex justify-center"},ye=te({name:"auditDialog"}),Se=Object.assign(ye,{props:{visible:{type:Boolean,default:!1,required:!0},title:{type:String,default:"\u901A\u8FC7"},taskId:{type:String,default:""},action:{type:String,default:""},constructionSuggestions:{type:Boolean,default:!1},projectCode:{type:String,default:""},isPerformance:{type:Boolean,default:!1}},emits:["close","reload"],setup(l,{emit:i}){const n=oe(),w=ae(),{proxy:v}=ue(),h=P.dictStore.uploadUrl,d=l,c=i,u=R(),o=R({attachments:[]}),z={comment:[{required:!0,message:"\u8BF7\u8F93\u5165\u610F\u89C1",trigger:"blur"}],proposeTotalInvest:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BAE\u603B\u6295\u8D44"}],proposeAnnualBudget:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97"}],proposeAttachFiles:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},H=g=>F(this,null,function*(){!g||(yield g.validate(s=>F(this,null,function*(){if(s){const S={instanceId:n.query.instanceId,projectId:n.query.projectId,projectCode:d.projectCode,taskId:d.taskId,action:d.action,auditInfo:{text:o.value.comment,attachments:o.value.attachments.map(I=>({fileId:I.response.data.id,fileName:I.response.data.originalFileName}))}};d.constructionSuggestions&&d.action==="PASS"&&(yield ie({projectCode:d.projectCode,instanceId:n.query.instanceId,proposeTotalInvest:o.value.proposeTotalInvest,proposeAnnualBudget:o.value.proposeAnnualBudget,proposeAttachFiles:o.value.proposeAttachFiles&&JSON.stringify(pe(o.value.proposeAttachFiles))}));const m=yield re(S);m.data==="TASKID_ERROR"?(v.$message.warning("\u5F53\u524D\u5BA1\u6279\u4EFB\u52A1\u6709\u53D8\u52A8\uFF0C\u8BF7\u8FD4\u56DE\u5F85\u6211\u5904\u7406\u5217\u8868\uFF01"),w.push({name:"waitMeToHandle"})):(v.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),m.data&&w.push({query:N($({},n.query),{taskId:m.data})}),c("close",!0),c("reload",m.data),yield P.countStore.setCountStore())}})))});return le(()=>d.visible,g=>F(this,null,function*(){g||(u.value.resetFields(),o.value={})})),(g,s)=>{const S=p("Warning"),m=p("el-icon"),I=p("el-input"),_=p("el-form-item"),y=p("el-col"),B=p("el-input-number"),A=p("el-button"),j=p("el-upload"),J=p("el-row"),K=p("el-form"),Y=p("el-dialog");return x(),se(Y,{"model-value":l.visible,title:l.title,width:"600px","destroy-on-close":"",onClose:s[9]||(s[9]=a=>c("close"))},{footer:e(()=>[b("div",_e,[t(A,{class:"ml-22",type:"primary",onClick:s[7]||(s[7]=a=>H(u.value))},{default:e(()=>[f(" \u63D0\u4EA4 ")]),_:1}),t(A,{onClick:s[8]||(s[8]=a=>c("close"))},{default:e(()=>[f(" \u5173\u95ED ")]),_:1})])]),default:e(()=>[l.title==="\u9A73\u56DE"&&!l.isPerformance?(x(),k("div",de,[t(m,{class:"mr-8"},{default:e(()=>[t(S)]),_:1}),ce])):V("",!0),l.title==="\u9000\u56DE"?(x(),k("div",me,[t(m,{class:"mr-8"},{default:e(()=>[t(S)]),_:1}),fe])):V("",!0),t(K,{ref_key:"formRef",ref:u,model:o.value,rules:z,"label-width":"auto","label-suffix":":"},{default:e(()=>[t(J,null,{default:e(()=>[t(y,{span:24},{default:e(()=>[t(_,{label:`${l.title}\u610F\u89C1`,prop:"comment"},{default:e(()=>[t(I,{modelValue:o.value.comment,"onUpdate:modelValue":s[0]||(s[0]=a=>o.value.comment=a),maxlength:"200",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",type:"textarea"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1}),l.constructionSuggestions&&l.action==="PASS"?(x(),k(ne,{key:0},[t(y,{span:24},{default:e(()=>[t(_,{label:"\u5EFA\u8BAE\u603B\u6295\u8D44",prop:"proposeTotalInvest"},{default:e(()=>[t(B,{modelValue:o.value.proposeTotalInvest,"onUpdate:modelValue":s[1]||(s[1]=a=>o.value.proposeTotalInvest=a),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:s[2]||(s[2]=U(()=>{},["prevent"]))},{suffix:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(y,{span:24},{default:e(()=>[t(_,{label:"\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97",prop:"proposeAnnualBudget"},{default:e(()=>[t(B,{modelValue:o.value.proposeAnnualBudget,"onUpdate:modelValue":s[3]||(s[3]=a=>o.value.proposeAnnualBudget=a),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:s[4]||(s[4]=U(()=>{},["prevent"]))},{suffix:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(y,{span:24},{default:e(()=>[t(_,{label:"\u8BC4\u5BA1\u610F\u89C1\u9644\u4EF6",prop:"proposeAttachFiles"},{default:e(()=>[t(j,{"file-list":o.value.proposeAttachFiles,"onUpdate:fileList":s[5]||(s[5]=a=>o.value.proposeAttachFiles=a),class:"w-full",action:r(h),"on-success":a=>r(M)(a,o.value.proposeAttachFiles),"on-error":r(L),"before-upload":a=>r(O)(a,{types:r(C)}),accept:r(C).map(a=>`.${a}`).join(","),multiple:"",limit:10,"on-preview":r(E)},{tip:e(()=>[b("div",ve,"\u652F\u6301"+D(r(W))+"\u6587\u4EF6",1)]),default:e(()=>[t(A,{type:"primary",class:"mr-4"},{default:e(()=>[f("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1})],64)):V("",!0),t(y,{span:24},{default:e(()=>[t(_,{label:`${l.constructionSuggestions&&l.action==="PASS"?"\u5176\u4ED6\u9644\u4EF6":"\u9644\u4EF6"}`,prop:"files"},{default:e(()=>[t(j,{"file-list":o.value.attachments,"onUpdate:fileList":s[6]||(s[6]=a=>o.value.attachments=a),class:"w-full",action:r(h),"on-success":a=>r(M)(a,o.value.attachments),"on-error":r(L),"before-upload":a=>r(O)(a,{types:r(C)}),accept:r(C).map(a=>`.${a}`).join(","),multiple:"",limit:10,"on-preview":r(E)},{tip:e(()=>[b("div",ge,"\u652F\u6301"+D(r(W))+"\u6587\u4EF6",1)]),default:e(()=>[t(A,{type:"primary",class:"mr-4"},{default:e(()=>[f("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1},8,["label"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}});export{Se as default}; +var G=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var q=(l,i,n)=>i in l?G(l,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[i]=n,$=(l,i)=>{for(var n in i||(i={}))Z.call(i,n)&&q(l,n,i[n]);if(T)for(var n of T(i))ee.call(i,n)&&q(l,n,i[n]);return l},N=(l,i)=>Q(l,X(i));var F=(l,i,n)=>new Promise((w,v)=>{var h=u=>{try{c(n.next(u))}catch(o){v(o)}},d=u=>{try{c(n.throw(u))}catch(o){v(o)}},c=u=>u.done?w(u.value):Promise.resolve(u.value).then(h,d);c((n=n.apply(l,i)).next())});import{d as te,z as oe,A as ae,D as P,r as R,L as le,c as p,e as x,I as se,i as e,g as b,h as t,j as f,f as k,k as V,F as ne,Y as U,u as r,t as D,am as ie,ag as re,x as ue}from"./index.07ccce2b.js";import{h as M,i as L,f as O,c as C,b as E,e as W,g as pe}from"./uploadAction.6462630e.js";const de={key:0,class:"infoTip flex items-center mb-16"},ce=b("span",null,"\u9A73\u56DE\u540E\uFF0C\u9700\u8981\u7533\u62A5\u5355\u4F4D\u4FEE\u6539\u9879\u76EE\u4FE1\u606F\u540E\uFF0C\u91CD\u65B0\u53D1\u8D77\u8BE5\u6D41\u7A0B\u3002",-1),me={key:1,class:"infoTip flex items-center mb-16"},fe=b("span",null,"\u9000\u56DE\u540E\uFF0C\u9700\u8981\u7533\u62A5\u5355\u4F4D\u4FEE\u6539\u9879\u76EE\u4FE1\u606F\u540E\uFF0C\u518D\u7531\u60A8\u8FDB\u884C\u5BA1\u6838\u786E\u8BA4\u3002",-1),ve={class:"el-upload__tip"},ge={class:"el-upload__tip"},_e={class:"flex justify-center"},ye=te({name:"auditDialog"}),Se=Object.assign(ye,{props:{visible:{type:Boolean,default:!1,required:!0},title:{type:String,default:"\u901A\u8FC7"},taskId:{type:String,default:""},action:{type:String,default:""},constructionSuggestions:{type:Boolean,default:!1},projectCode:{type:String,default:""},isPerformance:{type:Boolean,default:!1}},emits:["close","reload"],setup(l,{emit:i}){const n=oe(),w=ae(),{proxy:v}=ue(),h=P.dictStore.uploadUrl,d=l,c=i,u=R(),o=R({attachments:[]}),z={comment:[{required:!0,message:"\u8BF7\u8F93\u5165\u610F\u89C1",trigger:"blur"}],proposeTotalInvest:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BAE\u603B\u6295\u8D44"}],proposeAnnualBudget:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97"}],proposeAttachFiles:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},H=g=>F(this,null,function*(){!g||(yield g.validate(s=>F(this,null,function*(){if(s){const S={instanceId:n.query.instanceId,projectId:n.query.projectId,projectCode:d.projectCode,taskId:d.taskId,action:d.action,auditInfo:{text:o.value.comment,attachments:o.value.attachments.map(I=>({fileId:I.response.data.id,fileName:I.response.data.originalFileName}))}};d.constructionSuggestions&&d.action==="PASS"&&(yield ie({projectCode:d.projectCode,instanceId:n.query.instanceId,proposeTotalInvest:o.value.proposeTotalInvest,proposeAnnualBudget:o.value.proposeAnnualBudget,proposeAttachFiles:o.value.proposeAttachFiles&&JSON.stringify(pe(o.value.proposeAttachFiles))}));const m=yield re(S);m.data==="TASKID_ERROR"?(v.$message.warning("\u5F53\u524D\u5BA1\u6279\u4EFB\u52A1\u6709\u53D8\u52A8\uFF0C\u8BF7\u8FD4\u56DE\u5F85\u6211\u5904\u7406\u5217\u8868\uFF01"),w.push({name:"waitMeToHandle"})):(v.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),m.data&&w.push({query:N($({},n.query),{taskId:m.data})}),c("close",!0),c("reload",m.data),yield P.countStore.setCountStore())}})))});return le(()=>d.visible,g=>F(this,null,function*(){g||(u.value.resetFields(),o.value={})})),(g,s)=>{const S=p("Warning"),m=p("el-icon"),I=p("el-input"),_=p("el-form-item"),y=p("el-col"),B=p("el-input-number"),A=p("el-button"),j=p("el-upload"),J=p("el-row"),K=p("el-form"),Y=p("el-dialog");return x(),se(Y,{"model-value":l.visible,title:l.title,width:"600px","destroy-on-close":"",onClose:s[9]||(s[9]=a=>c("close"))},{footer:e(()=>[b("div",_e,[t(A,{class:"ml-22",type:"primary",onClick:s[7]||(s[7]=a=>H(u.value))},{default:e(()=>[f(" \u63D0\u4EA4 ")]),_:1}),t(A,{onClick:s[8]||(s[8]=a=>c("close"))},{default:e(()=>[f(" \u5173\u95ED ")]),_:1})])]),default:e(()=>[l.title==="\u9A73\u56DE"&&!l.isPerformance?(x(),k("div",de,[t(m,{class:"mr-8"},{default:e(()=>[t(S)]),_:1}),ce])):V("",!0),l.title==="\u9000\u56DE"?(x(),k("div",me,[t(m,{class:"mr-8"},{default:e(()=>[t(S)]),_:1}),fe])):V("",!0),t(K,{ref_key:"formRef",ref:u,model:o.value,rules:z,"label-width":"auto","label-suffix":":"},{default:e(()=>[t(J,null,{default:e(()=>[t(y,{span:24},{default:e(()=>[t(_,{label:`${l.title}\u610F\u89C1`,prop:"comment"},{default:e(()=>[t(I,{modelValue:o.value.comment,"onUpdate:modelValue":s[0]||(s[0]=a=>o.value.comment=a),maxlength:"200",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",type:"textarea"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1}),l.constructionSuggestions&&l.action==="PASS"?(x(),k(ne,{key:0},[t(y,{span:24},{default:e(()=>[t(_,{label:"\u5EFA\u8BAE\u603B\u6295\u8D44",prop:"proposeTotalInvest"},{default:e(()=>[t(B,{modelValue:o.value.proposeTotalInvest,"onUpdate:modelValue":s[1]||(s[1]=a=>o.value.proposeTotalInvest=a),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:s[2]||(s[2]=U(()=>{},["prevent"]))},{suffix:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(y,{span:24},{default:e(()=>[t(_,{label:"\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97",prop:"proposeAnnualBudget"},{default:e(()=>[t(B,{modelValue:o.value.proposeAnnualBudget,"onUpdate:modelValue":s[3]||(s[3]=a=>o.value.proposeAnnualBudget=a),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:s[4]||(s[4]=U(()=>{},["prevent"]))},{suffix:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(y,{span:24},{default:e(()=>[t(_,{label:"\u8BC4\u5BA1\u610F\u89C1\u9644\u4EF6",prop:"proposeAttachFiles"},{default:e(()=>[t(j,{"file-list":o.value.proposeAttachFiles,"onUpdate:fileList":s[5]||(s[5]=a=>o.value.proposeAttachFiles=a),class:"w-full",action:r(h),"on-success":a=>r(M)(a,o.value.proposeAttachFiles),"on-error":r(L),"before-upload":a=>r(O)(a,{types:r(C)}),accept:r(C).map(a=>`.${a}`).join(","),multiple:"",limit:10,"on-preview":r(E)},{tip:e(()=>[b("div",ve,"\u652F\u6301"+D(r(W))+"\u6587\u4EF6",1)]),default:e(()=>[t(A,{type:"primary",class:"mr-4"},{default:e(()=>[f("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1})],64)):V("",!0),t(y,{span:24},{default:e(()=>[t(_,{label:`${l.constructionSuggestions&&l.action==="PASS"?"\u5176\u4ED6\u9644\u4EF6":"\u9644\u4EF6"}`,prop:"files"},{default:e(()=>[t(j,{"file-list":o.value.attachments,"onUpdate:fileList":s[6]||(s[6]=a=>o.value.attachments=a),class:"w-full",action:r(h),"on-success":a=>r(M)(a,o.value.attachments),"on-error":r(L),"before-upload":a=>r(O)(a,{types:r(C)}),accept:r(C).map(a=>`.${a}`).join(","),multiple:"",limit:10,"on-preview":r(E)},{tip:e(()=>[b("div",ge,"\u652F\u6301"+D(r(W))+"\u6587\u4EF6",1)]),default:e(()=>[t(A,{type:"primary",class:"mr-4"},{default:e(()=>[f("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1},8,["label"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}});export{Se as default}; diff --git a/lishui2/web/dist/assets/auth.c7b5f549.js b/lishui2/web/dist/assets/auth.83d0cc78.js similarity index 83% rename from lishui2/web/dist/assets/auth.c7b5f549.js rename to lishui2/web/dist/assets/auth.83d0cc78.js index 853cf90..5fa0612 100644 --- a/lishui2/web/dist/assets/auth.c7b5f549.js +++ b/lishui2/web/dist/assets/auth.83d0cc78.js @@ -1 +1 @@ -import{y as i}from"./index.51e934d4.js";const t=o=>i.post("/api/v1/verification/send",o),n=o=>i.post("/api/v1/user/auth/logout",o),s=o=>i.post(`/api/v1/user/auth/login?credential=${o.credential}&identifier=${o.identifier}&loginType=${o.loginType}`,o),p=o=>i.post("/api/v1/user/auth/common-login",o,{"Content-Type":"application/x-www-form-urlencoded"});export{p as a,t as g,n as l,s}; +import{y as i}from"./index.07ccce2b.js";const t=o=>i.post("/api/v1/verification/send",o),n=o=>i.post("/api/v1/user/auth/logout",o),s=o=>i.post(`/api/v1/user/auth/login?credential=${o.credential}&identifier=${o.identifier}&loginType=${o.loginType}`,o),p=o=>i.post("/api/v1/user/auth/common-login",o,{"Content-Type":"application/x-www-form-urlencoded"});export{p as a,t as g,n as l,s}; diff --git a/lishui2/web/dist/assets/basicInfo.715c1bb5.js b/lishui2/web/dist/assets/basicInfo.1fa49601.js similarity index 98% rename from lishui2/web/dist/assets/basicInfo.715c1bb5.js rename to lishui2/web/dist/assets/basicInfo.1fa49601.js index e949bff..be3e7a1 100644 --- a/lishui2/web/dist/assets/basicInfo.715c1bb5.js +++ b/lishui2/web/dist/assets/basicInfo.1fa49601.js @@ -1 +1 @@ -import{d as m,D as y,c as u,e as P,I as T,i as t,h as i,j as d,t as n,u as j}from"./index.51e934d4.js";const p=m({name:"basicInfo"}),N=Object.assign(p,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(e){const{projectTypeOptions:D}=y.dictStore.globalDicts||{};return(C,v)=>{const l=u("el-descriptions-item"),f=u("el-descriptions");return P(),T(f,{column:2,border:""},{default:t(()=>[i(l,{label:"\u9879\u76EE\u662F\u5426\u5F52\u96C6\u7701\u91CC",span:"2"},{default:t(()=>{var a;return[d(n((a=e.detailData)!=null&&a.push?"\u662F":"\u5426"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u540D\u79F0",span:"2"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var a,s;return[d(n(((a=e.detailData)==null?void 0:a.baseProjType)&&j(D)[(s=e.detailData)==null?void 0:s.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var a,s;return[d(n(((s=(a=e.detailData)==null?void 0:a.baseConstructionType)==null?void 0:s.split("\uFF1B").map(c=>{var b,r;return(r=(b=e.dictionaryList)==null?void 0:b.filter(o=>o.type==="CONTENT_TYPE").find(o=>o.value===c))==null?void 0:r.label}).join("\u3001"))||"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>{var a,s;return[d(n(((a=e.detailData)==null?void 0:a.baseProvManDeprtType)===1?"\u7701\u7EA7":((s=e.detailData)==null?void 0:s.baseProvManDeprtType)===2?"\u975E\u7701\u7EA7":"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProvManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseBuildDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjPrincipal)||"-"),1)]}),_:1}),i(l,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjContacts)||"-"),1)]}),_:1}),i(l,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjContactsCall)||"-"),1)]}),_:1}),i(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:2},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.systemPosition)||"-"),1)]}),_:1}),i(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",span:2},{default:t(()=>{var a,s;return[d(n(((s=(a=e.templateTypeListData)==null?void 0:a.find(c=>{var b;return c.id===((b=e.detailData)==null?void 0:b.templateType)}))==null?void 0:s.name)||"-"),1)]}),_:1})]),_:1})}}});export{N as default}; +import{d as m,D as y,c as u,e as P,I as T,i as t,h as i,j as d,t as n,u as j}from"./index.07ccce2b.js";const p=m({name:"basicInfo"}),N=Object.assign(p,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(e){const{projectTypeOptions:D}=y.dictStore.globalDicts||{};return(C,v)=>{const l=u("el-descriptions-item"),f=u("el-descriptions");return P(),T(f,{column:2,border:""},{default:t(()=>[i(l,{label:"\u9879\u76EE\u662F\u5426\u5F52\u96C6\u7701\u91CC",span:"2"},{default:t(()=>{var a;return[d(n((a=e.detailData)!=null&&a.push?"\u662F":"\u5426"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u540D\u79F0",span:"2"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var a,s;return[d(n(((a=e.detailData)==null?void 0:a.baseProjType)&&j(D)[(s=e.detailData)==null?void 0:s.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var a,s;return[d(n(((s=(a=e.detailData)==null?void 0:a.baseConstructionType)==null?void 0:s.split("\uFF1B").map(c=>{var b,r;return(r=(b=e.dictionaryList)==null?void 0:b.filter(o=>o.type==="CONTENT_TYPE").find(o=>o.value===c))==null?void 0:r.label}).join("\u3001"))||"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>{var a,s;return[d(n(((a=e.detailData)==null?void 0:a.baseProvManDeprtType)===1?"\u7701\u7EA7":((s=e.detailData)==null?void 0:s.baseProvManDeprtType)===2?"\u975E\u7701\u7EA7":"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProvManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseBuildDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjPrincipal)||"-"),1)]}),_:1}),i(l,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjContacts)||"-"),1)]}),_:1}),i(l,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjContactsCall)||"-"),1)]}),_:1}),i(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:2},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.systemPosition)||"-"),1)]}),_:1}),i(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",span:2},{default:t(()=>{var a,s;return[d(n(((s=(a=e.templateTypeListData)==null?void 0:a.find(c=>{var b;return c.id===((b=e.detailData)==null?void 0:b.templateType)}))==null?void 0:s.name)||"-"),1)]}),_:1})]),_:1})}}});export{N as default}; diff --git a/lishui2/web/dist/assets/basicInfo.d26fb7b0.js b/lishui2/web/dist/assets/basicInfo.39b0e08e.js similarity index 97% rename from lishui2/web/dist/assets/basicInfo.d26fb7b0.js rename to lishui2/web/dist/assets/basicInfo.39b0e08e.js index 6c41d3e..6e7e809 100644 --- a/lishui2/web/dist/assets/basicInfo.d26fb7b0.js +++ b/lishui2/web/dist/assets/basicInfo.39b0e08e.js @@ -1 +1 @@ -var ve=Object.defineProperty,fe=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable;var H=(u,b,i)=>b in u?ve(u,b,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[b]=i,Y=(u,b)=>{for(var i in b||(b={}))ye.call(b,i)&&H(u,i,b[i]);if(J)for(var i of J(b))Ce.call(b,i)&&H(u,i,b[i]);return u},K=(u,b)=>fe(u,Pe(b));var w=(u,b,i)=>new Promise((x,U)=>{var I=c=>{try{e(i.next(c))}catch(k){U(k)}},S=c=>{try{e(i.throw(c))}catch(k){U(k)}},e=c=>c.done?x(c.value):Promise.resolve(c.value).then(I,S);e((i=i.apply(u,b)).next())});import{d as ce,D as Q,G as De,r as D,O as ge,b as A,o as W,H as Ve,L as E,c as C,e as f,f as T,h as t,i as s,I as g,F as M,J as B,k as X,u as je,j as q,t as Z,a1 as Te}from"./index.51e934d4.js";import{_ as Me}from"./index.9c7375b8.js";import Ue from"./userDialog.56eaab29.js";import Se from"./lineOrgDialog.f133f4b1.js";import{a as ke}from"./indicatorTemplate.c9e7aed6.js";import"./unitManage.1da62722.js";import"./index.2907f0cd.js";const Be=ce({name:"projectCollectionEnterBasicInfo"}),Oe=Object.assign(Be,{props:{detail:{type:Object},dictionaryList:{type:Array,default:()=>[]},isSupplemented:{type:Boolean,default:!1}},emits:["getBasicInfoData"],setup(u,{expose:b,emit:i}){const{projectConTypeOptions:x}=Q.dictStore.globalDicts||{},U=u,I=De(Q.userStore).userInfo||{},S=D(),e=D({}),c=(r,a,P)=>{a||P(),e.value.baseProjPrincipal===e.value.baseProjContacts&&e.value.baseProjPrincipalCall===e.value.baseProjContactsCall?P("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):P()},k=ge(()=>e.value.baseProjIsConfidentiality==="02"?{baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6\u9879\u76EE"}],baseProjName:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0",trigger:"blur"}]}:{baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6\u9879\u76EE"}],baseProjName:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0"}],baseProjType:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B"}],baseArea:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u533A\u5212"}],baseConstructionType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5185\u5BB9\u7C7B\u522B"}],baseProjSetProg:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u72B6\u6001"}],baseProvManDeprtType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"}],baseProvManDeprt:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"}],baseManDeprt:[{required:!0,message:"\u8BF7\u9009\u62E9\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"}],baseManDepartUsci:[{required:!0,message:"\u8BF7\u586B\u5199\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"}],baseBuildDeprt:[{required:!0,message:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5355\u4F4D"}],baseBuildDepartUsci:[{required:!0,message:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"}],baseProjPrincipal:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"},{validator:c}],baseProjPrincipalCall:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"}],baseProjContacts:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA"},{validator:c}],baseProjContactsCall:[{required:!0,message:"\u8BF7\u9009\u62E9\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"}],systemPosition:[{required:!0,message:"\u8BF7\u586B\u5199\u7CFB\u7EDF\u5B9A\u4F4D"}],templateType:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B"}]}),$=D({}),h=(r,a)=>w(this,null,function*(){const P=yield Te(a||I.value.empPosUnitCode);$.value[r]=!!P.data.unifiedSocialCreditCode,e.value[r]=P.data.unifiedSocialCreditCode||e.value[r]}),ee=D([]),n=A({field:void 0,unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),L=r=>{n.fieldName=r,n.unitVisible=!0,n.title="\u9009\u62E9\u5355\u4F4D",n.type="UNIT",n.showCheckbox=!0,n.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},n.params={onlyUnit:!0},n.data=e.value[`${r}Ding`]?[{key:e.value[`${r}Ding`],title:e.value[r]}]:[],console.log(n.data)},ae=()=>{n.unitVisible=!1},le=r=>{e.value[n.fieldName+"Ding"]=(r==null?void 0:r[0].key)||void 0,e.value[n.fieldName]=(r==null?void 0:r[0].title)||void 0,(n.fieldName==="baseManDeprt"||n.fieldName==="baseBuildDeprt")&&h(n.fieldName==="baseManDeprt"?"baseManDepartUsci":"baseBuildDepartUsci",e.value[n.fieldName+"Ding"])},N=A({visible:!1,params:{}}),R=D(),F=D(),_=(r,a)=>{N.visible=!0,R.value=r,F.value=a},te=r=>{e.value[R.value]=r.name,e.value[F.value]=r.phoneNo},oe=(r,a)=>{e.value.baseProvManDeprtDing="",e.value.baseProvManDeprt=""},V=A({visible:!1,data:void 0}),se=()=>{V.visible=!0,V.data={businessStripCode:e.value.baseProvManDeprtDing}},re=r=>{e.value.baseProvManDeprtDing=r.businessStripCode,e.value.baseProvManDeprt=r.businessStripName,V.visible=!1},ue=i,v=D(),G=D(),ne=()=>w(this,null,function*(){var a;const r=yield ke({pageNumber:1,pageSize:1e4});G.value=((a=r==null?void 0:r.data)==null?void 0:a.records)||[]});return b({formRef:S,formData:e}),W(()=>w(this,null,function*(){ne();const r=yield Ve({regionCode:331100,regionLevel:2});ee.value=r.data})),E(()=>U.detail,r=>{var a,P,j;r&&(U.isSupplemented&&(v.value=r.baseinfo),e.value=K(Y({},r.baseinfo),{baseProvManDeprtType:((a=r.baseinfo)==null?void 0:a.baseProvManDeprtType)+""||"",baseConstructionType:((j=(P=r.baseinfo)==null?void 0:P.baseConstructionType)==null?void 0:j.split("\uFF1B"))||[]}))},{deep:!0}),E(()=>e.value.baseProjIsConfidentiality,r=>{S.value.clearValidate()}),E(()=>e.value,r=>{ue("getBasicInfoData",e.value)},{deep:!0}),W(()=>{e.value.baseProjIsConfidentiality="01"}),(r,a)=>{const P=C("el-option"),j=C("el-select"),d=C("el-form-item"),p=C("el-col"),y=C("el-input"),ie=C("el-checkbox"),de=C("el-checkbox-group"),O=C("el-radio"),z=C("el-radio-group"),pe=C("el-row"),be=C("el-form");return f(),T(M,null,[t(be,{ref_key:"formRef",ref:S,model:e.value,rules:k.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:s(()=>[t(pe,{gutter:40},{default:s(()=>[u.isSupplemented?X("",!0):(f(),g(p,{key:0,span:8},{default:s(()=>[t(d,{label:"\u662F\u5426\u6D89\u5BC6\u9879\u76EE",prop:"baseProjIsConfidentiality"},{default:s(()=>[t(j,{modelValue:e.value.baseProjIsConfidentiality,"onUpdate:modelValue":a[0]||(a[0]=l=>e.value.baseProjIsConfidentiality=l),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:s(()=>{var l;return[(f(!0),T(M,null,B((l=u.dictionaryList)==null?void 0:l.filter(o=>o.type==="CLASSIFIED"),(o,m)=>(f(),g(P,{key:m,label:o.label,value:o.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1})),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName"},{default:s(()=>[t(y,{modelValue:e.value.baseProjName,"onUpdate:modelValue":a[1]||(a[1]=l=>e.value.baseProjName=l),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:u.isSupplemented},null,8,["modelValue","disabled"])]),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u7C7B\u578B",prop:"baseProjType"},{default:s(()=>[t(j,{modelValue:e.value.baseProjType,"onUpdate:modelValue":a[2]||(a[2]=l=>e.value.baseProjType=l),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",disabled:u.isSupplemented},{default:s(()=>[(f(!0),T(M,null,B(je(x),(l,o)=>(f(),g(P,{key:o,label:l,value:o},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1})]),_:1}),X("",!0),t(p,{span:8},{default:s(()=>[t(d,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:s(()=>{var l;return[t(de,{modelValue:e.value.baseConstructionType,"onUpdate:modelValue":a[4]||(a[4]=o=>e.value.baseConstructionType=o),disabled:((l=v.value)==null?void 0:l.baseConstructionType)&&u.isSupplemented},{default:s(()=>{var o;return[(f(!0),T(M,null,B((o=u.dictionaryList)==null?void 0:o.filter(m=>m.type==="CONTENT_TYPE"),(m,me)=>(f(),g(ie,{key:me,label:m.value},{default:s(()=>[q(Z(m.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u72B6\u6001",prop:"baseProjSetProg"},{default:s(()=>[t(j,{modelValue:e.value.baseProjSetProg,"onUpdate:modelValue":a[5]||(a[5]=l=>e.value.baseProjSetProg=l),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",disabled:u.isSupplemented},{default:s(()=>{var l;return[(f(!0),T(M,null,B((l=u.dictionaryList)==null?void 0:l.filter(o=>o.type==="PROJECT_STATUS"),(o,m)=>(f(),g(P,{key:m,label:o.label,value:o.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue","disabled"])]),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:s(()=>{var l;return[t(z,{modelValue:e.value.baseProvManDeprtType,"onUpdate:modelValue":a[6]||(a[6]=o=>e.value.baseProvManDeprtType=o),disabled:((l=v.value)==null?void 0:l.baseProvManDeprtType)&&u.isSupplemented,onChange:oe},{default:s(()=>[t(O,{label:"1"},{default:s(()=>[q("\u7701\u7EA7")]),_:1}),t(O,{label:"2"},{default:s(()=>[q("\u975E\u7701\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"baseProvManDeprt"},{default:s(()=>{var l,o;return[e.value.baseProvManDeprtType==="2"?(f(),g(y,{key:0,modelValue:e.value.baseProvManDeprt,"onUpdate:modelValue":a[7]||(a[7]=m=>e.value.baseProvManDeprt=m),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:((l=v.value)==null?void 0:l.baseProvManDeprt)&&u.isSupplemented,onClick:a[8]||(a[8]=m=>L("baseProvManDeprt"))},null,8,["modelValue","disabled"])):(f(),g(y,{key:1,modelValue:e.value.baseProvManDeprt,"onUpdate:modelValue":a[9]||(a[9]=m=>e.value.baseProvManDeprt=m),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:((o=v.value)==null?void 0:o.baseProvManDeprt)&&u.isSupplemented,onClick:se},null,8,["modelValue","disabled"]))]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"baseManDeprt"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseManDeprt,"onUpdate:modelValue":a[10]||(a[10]=o=>e.value.baseManDeprt=o),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:((l=v.value)==null?void 0:l.baseManDeprt)&&u.isSupplemented,onClick:a[11]||(a[11]=o=>L("baseManDeprt"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:"baseManDepartUsci"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseManDepartUsci,"onUpdate:modelValue":a[12]||(a[12]=o=>e.value.baseManDepartUsci=o),placeholder:"\u8BF7\u586B\u5199",disabled:$.value.baseManDepartUsci||((l=v.value)==null?void 0:l.baseManDepartUsci)&&u.isSupplemented},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"baseBuildDeprt"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseBuildDeprt,"onUpdate:modelValue":a[13]||(a[13]=o=>e.value.baseBuildDeprt=o),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:((l=v.value)==null?void 0:l.baseBuildDeprt)&&u.isSupplemented,onClick:a[14]||(a[14]=o=>L("baseBuildDeprt"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"baseBuildDepartUsci"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseBuildDepartUsci,"onUpdate:modelValue":a[15]||(a[15]=o=>e.value.baseBuildDepartUsci=o),placeholder:"\u8BF7\u586B\u5199",disabled:$.value.baseBuildDepartUsci||((l=v.value)==null?void 0:l.baseBuildDepartUsci)&&u.isSupplemented},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"baseProjPrincipal"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseProjPrincipal,"onUpdate:modelValue":a[16]||(a[16]=o=>e.value.baseProjPrincipal=o),readonly:"",disabled:((l=v.value)==null?void 0:l.baseProjPrincipal)&&u.isSupplemented,placeholder:"\u8BF7\u9009\u62E9\uFF0C\u6E29\u99A8\u63D0\u793A\uFF1A\u9879\u76EE\u8D1F\u8D23\u4EBA\u8BF7\u586B\u5199\u9886\u5BFC\u4FE1\u606F",onClick:a[17]||(a[17]=o=>_("baseProjPrincipal","baseProjPrincipalCall"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801",prop:"baseProjPrincipalCall"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseProjPrincipalCall,"onUpdate:modelValue":a[18]||(a[18]=o=>e.value.baseProjPrincipalCall=o),readonly:"",disabled:((l=v.value)==null?void 0:l.baseProjPrincipalCall)&&u.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[19]||(a[19]=o=>_("baseProjPrincipal","baseProjPrincipalCall"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"baseProjContacts"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseProjContacts,"onUpdate:modelValue":a[20]||(a[20]=o=>e.value.baseProjContacts=o),readonly:"",disabled:((l=v.value)==null?void 0:l.baseProjContacts)&&u.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[21]||(a[21]=o=>_("baseProjContacts","baseProjContactsCall"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801",prop:"baseProjContactsCall"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseProjContactsCall,"onUpdate:modelValue":a[22]||(a[22]=o=>e.value.baseProjContactsCall=o),readonly:"",disabled:((l=v.value)==null?void 0:l.baseProjContactsCall)&&u.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[23]||(a[23]=o=>_("baseProjContacts","baseProjContactsCall"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:24},{default:s(()=>[t(d,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",prop:"systemPosition"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.systemPosition,"onUpdate:modelValue":a[24]||(a[24]=o=>e.value.systemPosition=o),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:2e3,disabled:((l=v.value)==null?void 0:l.systemPosition)&&u.isSupplemented},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:24},{default:s(()=>[t(d,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:s(()=>{var l;return[t(z,{modelValue:e.value.templateType,"onUpdate:modelValue":a[25]||(a[25]=o=>e.value.templateType=o),disabled:((l=v.value)==null?void 0:l.templateType)&&u.isSupplemented},{default:s(()=>[(f(!0),T(M,null,B(G.value,(o,m)=>(f(),g(O,{key:m,label:o.id},{default:s(()=>[q(Z(o.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"]),t(Me,{visible:n.unitVisible,"show-checkbox":!1,"default-data":n.data,title:n.title,type:n.type,"default-props":n.defaultProps,params:n.params,onClose:ae,onGetSelectUnit:le},null,8,["visible","default-data","title","type","default-props","params"]),t(Ue,{visible:N.visible,params:N.params,onClose:a[26]||(a[26]=l=>N.visible=!1),onGetUserData:te},null,8,["visible","params"]),t(Se,{visible:V.visible,data:V.data,onClose:a[27]||(a[27]=l=>V.visible=!1),onGetBaseProvManDeprt:re},null,8,["visible","data"])],64)}}});export{Oe as default}; +var ve=Object.defineProperty,fe=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable;var H=(u,b,i)=>b in u?ve(u,b,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[b]=i,Y=(u,b)=>{for(var i in b||(b={}))ye.call(b,i)&&H(u,i,b[i]);if(J)for(var i of J(b))Ce.call(b,i)&&H(u,i,b[i]);return u},K=(u,b)=>fe(u,Pe(b));var w=(u,b,i)=>new Promise((x,U)=>{var I=c=>{try{e(i.next(c))}catch(k){U(k)}},S=c=>{try{e(i.throw(c))}catch(k){U(k)}},e=c=>c.done?x(c.value):Promise.resolve(c.value).then(I,S);e((i=i.apply(u,b)).next())});import{d as ce,D as Q,G as De,r as D,O as ge,b as A,o as W,H as Ve,L as E,c as C,e as f,f as T,h as t,i as s,I as g,F as M,J as B,k as X,u as je,j as q,t as Z,a1 as Te}from"./index.07ccce2b.js";import{_ as Me}from"./index.7d081cd9.js";import Ue from"./userDialog.cc713d99.js";import Se from"./lineOrgDialog.c5c76c37.js";import{a as ke}from"./indicatorTemplate.a943f5d1.js";import"./unitManage.8b8bec34.js";import"./index.afd31e12.js";const Be=ce({name:"projectCollectionEnterBasicInfo"}),Oe=Object.assign(Be,{props:{detail:{type:Object},dictionaryList:{type:Array,default:()=>[]},isSupplemented:{type:Boolean,default:!1}},emits:["getBasicInfoData"],setup(u,{expose:b,emit:i}){const{projectConTypeOptions:x}=Q.dictStore.globalDicts||{},U=u,I=De(Q.userStore).userInfo||{},S=D(),e=D({}),c=(r,a,P)=>{a||P(),e.value.baseProjPrincipal===e.value.baseProjContacts&&e.value.baseProjPrincipalCall===e.value.baseProjContactsCall?P("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):P()},k=ge(()=>e.value.baseProjIsConfidentiality==="02"?{baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6\u9879\u76EE"}],baseProjName:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0",trigger:"blur"}]}:{baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6\u9879\u76EE"}],baseProjName:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0"}],baseProjType:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B"}],baseArea:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u533A\u5212"}],baseConstructionType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5185\u5BB9\u7C7B\u522B"}],baseProjSetProg:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u72B6\u6001"}],baseProvManDeprtType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"}],baseProvManDeprt:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"}],baseManDeprt:[{required:!0,message:"\u8BF7\u9009\u62E9\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"}],baseManDepartUsci:[{required:!0,message:"\u8BF7\u586B\u5199\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"}],baseBuildDeprt:[{required:!0,message:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5355\u4F4D"}],baseBuildDepartUsci:[{required:!0,message:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"}],baseProjPrincipal:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"},{validator:c}],baseProjPrincipalCall:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"}],baseProjContacts:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA"},{validator:c}],baseProjContactsCall:[{required:!0,message:"\u8BF7\u9009\u62E9\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"}],systemPosition:[{required:!0,message:"\u8BF7\u586B\u5199\u7CFB\u7EDF\u5B9A\u4F4D"}],templateType:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B"}]}),$=D({}),h=(r,a)=>w(this,null,function*(){const P=yield Te(a||I.value.empPosUnitCode);$.value[r]=!!P.data.unifiedSocialCreditCode,e.value[r]=P.data.unifiedSocialCreditCode||e.value[r]}),ee=D([]),n=A({field:void 0,unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),L=r=>{n.fieldName=r,n.unitVisible=!0,n.title="\u9009\u62E9\u5355\u4F4D",n.type="UNIT",n.showCheckbox=!0,n.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},n.params={onlyUnit:!0},n.data=e.value[`${r}Ding`]?[{key:e.value[`${r}Ding`],title:e.value[r]}]:[],console.log(n.data)},ae=()=>{n.unitVisible=!1},le=r=>{e.value[n.fieldName+"Ding"]=(r==null?void 0:r[0].key)||void 0,e.value[n.fieldName]=(r==null?void 0:r[0].title)||void 0,(n.fieldName==="baseManDeprt"||n.fieldName==="baseBuildDeprt")&&h(n.fieldName==="baseManDeprt"?"baseManDepartUsci":"baseBuildDepartUsci",e.value[n.fieldName+"Ding"])},N=A({visible:!1,params:{}}),R=D(),F=D(),_=(r,a)=>{N.visible=!0,R.value=r,F.value=a},te=r=>{e.value[R.value]=r.name,e.value[F.value]=r.phoneNo},oe=(r,a)=>{e.value.baseProvManDeprtDing="",e.value.baseProvManDeprt=""},V=A({visible:!1,data:void 0}),se=()=>{V.visible=!0,V.data={businessStripCode:e.value.baseProvManDeprtDing}},re=r=>{e.value.baseProvManDeprtDing=r.businessStripCode,e.value.baseProvManDeprt=r.businessStripName,V.visible=!1},ue=i,v=D(),G=D(),ne=()=>w(this,null,function*(){var a;const r=yield ke({pageNumber:1,pageSize:1e4});G.value=((a=r==null?void 0:r.data)==null?void 0:a.records)||[]});return b({formRef:S,formData:e}),W(()=>w(this,null,function*(){ne();const r=yield Ve({regionCode:331100,regionLevel:2});ee.value=r.data})),E(()=>U.detail,r=>{var a,P,j;r&&(U.isSupplemented&&(v.value=r.baseinfo),e.value=K(Y({},r.baseinfo),{baseProvManDeprtType:((a=r.baseinfo)==null?void 0:a.baseProvManDeprtType)+""||"",baseConstructionType:((j=(P=r.baseinfo)==null?void 0:P.baseConstructionType)==null?void 0:j.split("\uFF1B"))||[]}))},{deep:!0}),E(()=>e.value.baseProjIsConfidentiality,r=>{S.value.clearValidate()}),E(()=>e.value,r=>{ue("getBasicInfoData",e.value)},{deep:!0}),W(()=>{e.value.baseProjIsConfidentiality="01"}),(r,a)=>{const P=C("el-option"),j=C("el-select"),d=C("el-form-item"),p=C("el-col"),y=C("el-input"),ie=C("el-checkbox"),de=C("el-checkbox-group"),O=C("el-radio"),z=C("el-radio-group"),pe=C("el-row"),be=C("el-form");return f(),T(M,null,[t(be,{ref_key:"formRef",ref:S,model:e.value,rules:k.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:s(()=>[t(pe,{gutter:40},{default:s(()=>[u.isSupplemented?X("",!0):(f(),g(p,{key:0,span:8},{default:s(()=>[t(d,{label:"\u662F\u5426\u6D89\u5BC6\u9879\u76EE",prop:"baseProjIsConfidentiality"},{default:s(()=>[t(j,{modelValue:e.value.baseProjIsConfidentiality,"onUpdate:modelValue":a[0]||(a[0]=l=>e.value.baseProjIsConfidentiality=l),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:s(()=>{var l;return[(f(!0),T(M,null,B((l=u.dictionaryList)==null?void 0:l.filter(o=>o.type==="CLASSIFIED"),(o,m)=>(f(),g(P,{key:m,label:o.label,value:o.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1})),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName"},{default:s(()=>[t(y,{modelValue:e.value.baseProjName,"onUpdate:modelValue":a[1]||(a[1]=l=>e.value.baseProjName=l),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:u.isSupplemented},null,8,["modelValue","disabled"])]),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u7C7B\u578B",prop:"baseProjType"},{default:s(()=>[t(j,{modelValue:e.value.baseProjType,"onUpdate:modelValue":a[2]||(a[2]=l=>e.value.baseProjType=l),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",disabled:u.isSupplemented},{default:s(()=>[(f(!0),T(M,null,B(je(x),(l,o)=>(f(),g(P,{key:o,label:l,value:o},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1})]),_:1}),X("",!0),t(p,{span:8},{default:s(()=>[t(d,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:s(()=>{var l;return[t(de,{modelValue:e.value.baseConstructionType,"onUpdate:modelValue":a[4]||(a[4]=o=>e.value.baseConstructionType=o),disabled:((l=v.value)==null?void 0:l.baseConstructionType)&&u.isSupplemented},{default:s(()=>{var o;return[(f(!0),T(M,null,B((o=u.dictionaryList)==null?void 0:o.filter(m=>m.type==="CONTENT_TYPE"),(m,me)=>(f(),g(ie,{key:me,label:m.value},{default:s(()=>[q(Z(m.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u72B6\u6001",prop:"baseProjSetProg"},{default:s(()=>[t(j,{modelValue:e.value.baseProjSetProg,"onUpdate:modelValue":a[5]||(a[5]=l=>e.value.baseProjSetProg=l),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",disabled:u.isSupplemented},{default:s(()=>{var l;return[(f(!0),T(M,null,B((l=u.dictionaryList)==null?void 0:l.filter(o=>o.type==="PROJECT_STATUS"),(o,m)=>(f(),g(P,{key:m,label:o.label,value:o.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue","disabled"])]),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:s(()=>{var l;return[t(z,{modelValue:e.value.baseProvManDeprtType,"onUpdate:modelValue":a[6]||(a[6]=o=>e.value.baseProvManDeprtType=o),disabled:((l=v.value)==null?void 0:l.baseProvManDeprtType)&&u.isSupplemented,onChange:oe},{default:s(()=>[t(O,{label:"1"},{default:s(()=>[q("\u7701\u7EA7")]),_:1}),t(O,{label:"2"},{default:s(()=>[q("\u975E\u7701\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"baseProvManDeprt"},{default:s(()=>{var l,o;return[e.value.baseProvManDeprtType==="2"?(f(),g(y,{key:0,modelValue:e.value.baseProvManDeprt,"onUpdate:modelValue":a[7]||(a[7]=m=>e.value.baseProvManDeprt=m),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:((l=v.value)==null?void 0:l.baseProvManDeprt)&&u.isSupplemented,onClick:a[8]||(a[8]=m=>L("baseProvManDeprt"))},null,8,["modelValue","disabled"])):(f(),g(y,{key:1,modelValue:e.value.baseProvManDeprt,"onUpdate:modelValue":a[9]||(a[9]=m=>e.value.baseProvManDeprt=m),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:((o=v.value)==null?void 0:o.baseProvManDeprt)&&u.isSupplemented,onClick:se},null,8,["modelValue","disabled"]))]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"baseManDeprt"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseManDeprt,"onUpdate:modelValue":a[10]||(a[10]=o=>e.value.baseManDeprt=o),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:((l=v.value)==null?void 0:l.baseManDeprt)&&u.isSupplemented,onClick:a[11]||(a[11]=o=>L("baseManDeprt"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:"baseManDepartUsci"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseManDepartUsci,"onUpdate:modelValue":a[12]||(a[12]=o=>e.value.baseManDepartUsci=o),placeholder:"\u8BF7\u586B\u5199",disabled:$.value.baseManDepartUsci||((l=v.value)==null?void 0:l.baseManDepartUsci)&&u.isSupplemented},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"baseBuildDeprt"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseBuildDeprt,"onUpdate:modelValue":a[13]||(a[13]=o=>e.value.baseBuildDeprt=o),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:((l=v.value)==null?void 0:l.baseBuildDeprt)&&u.isSupplemented,onClick:a[14]||(a[14]=o=>L("baseBuildDeprt"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"baseBuildDepartUsci"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseBuildDepartUsci,"onUpdate:modelValue":a[15]||(a[15]=o=>e.value.baseBuildDepartUsci=o),placeholder:"\u8BF7\u586B\u5199",disabled:$.value.baseBuildDepartUsci||((l=v.value)==null?void 0:l.baseBuildDepartUsci)&&u.isSupplemented},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"baseProjPrincipal"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseProjPrincipal,"onUpdate:modelValue":a[16]||(a[16]=o=>e.value.baseProjPrincipal=o),readonly:"",disabled:((l=v.value)==null?void 0:l.baseProjPrincipal)&&u.isSupplemented,placeholder:"\u8BF7\u9009\u62E9\uFF0C\u6E29\u99A8\u63D0\u793A\uFF1A\u9879\u76EE\u8D1F\u8D23\u4EBA\u8BF7\u586B\u5199\u9886\u5BFC\u4FE1\u606F",onClick:a[17]||(a[17]=o=>_("baseProjPrincipal","baseProjPrincipalCall"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801",prop:"baseProjPrincipalCall"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseProjPrincipalCall,"onUpdate:modelValue":a[18]||(a[18]=o=>e.value.baseProjPrincipalCall=o),readonly:"",disabled:((l=v.value)==null?void 0:l.baseProjPrincipalCall)&&u.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[19]||(a[19]=o=>_("baseProjPrincipal","baseProjPrincipalCall"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"baseProjContacts"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseProjContacts,"onUpdate:modelValue":a[20]||(a[20]=o=>e.value.baseProjContacts=o),readonly:"",disabled:((l=v.value)==null?void 0:l.baseProjContacts)&&u.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[21]||(a[21]=o=>_("baseProjContacts","baseProjContactsCall"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801",prop:"baseProjContactsCall"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.baseProjContactsCall,"onUpdate:modelValue":a[22]||(a[22]=o=>e.value.baseProjContactsCall=o),readonly:"",disabled:((l=v.value)==null?void 0:l.baseProjContactsCall)&&u.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[23]||(a[23]=o=>_("baseProjContacts","baseProjContactsCall"))},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:24},{default:s(()=>[t(d,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",prop:"systemPosition"},{default:s(()=>{var l;return[t(y,{modelValue:e.value.systemPosition,"onUpdate:modelValue":a[24]||(a[24]=o=>e.value.systemPosition=o),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:2e3,disabled:((l=v.value)==null?void 0:l.systemPosition)&&u.isSupplemented},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(p,{span:24},{default:s(()=>[t(d,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:s(()=>{var l;return[t(z,{modelValue:e.value.templateType,"onUpdate:modelValue":a[25]||(a[25]=o=>e.value.templateType=o),disabled:((l=v.value)==null?void 0:l.templateType)&&u.isSupplemented},{default:s(()=>[(f(!0),T(M,null,B(G.value,(o,m)=>(f(),g(O,{key:m,label:o.id},{default:s(()=>[q(Z(o.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"]),t(Me,{visible:n.unitVisible,"show-checkbox":!1,"default-data":n.data,title:n.title,type:n.type,"default-props":n.defaultProps,params:n.params,onClose:ae,onGetSelectUnit:le},null,8,["visible","default-data","title","type","default-props","params"]),t(Ue,{visible:N.visible,params:N.params,onClose:a[26]||(a[26]=l=>N.visible=!1),onGetUserData:te},null,8,["visible","params"]),t(Se,{visible:V.visible,data:V.data,onClose:a[27]||(a[27]=l=>V.visible=!1),onGetBaseProvManDeprt:re},null,8,["visible","data"])],64)}}});export{Oe as default}; diff --git a/lishui2/web/dist/assets/basicInfo.b7b7c2a7.js b/lishui2/web/dist/assets/basicInfo.59884943.js similarity index 98% rename from lishui2/web/dist/assets/basicInfo.b7b7c2a7.js rename to lishui2/web/dist/assets/basicInfo.59884943.js index 55deef5..b795f47 100644 --- a/lishui2/web/dist/assets/basicInfo.b7b7c2a7.js +++ b/lishui2/web/dist/assets/basicInfo.59884943.js @@ -1 +1 @@ -import{d as y,D as m,c as u,e as P,I as T,i as t,h as i,j as d,t as n,u as j}from"./index.51e934d4.js";const C=y({name:"basicInfo"}),M=Object.assign(C,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(e){const{projectTypeOptions:D}=m.dictStore.globalDicts||{};return(v,p)=>{const l=u("el-descriptions-item"),f=u("el-descriptions");return P(),T(f,{column:2,border:""},{default:t(()=>[i(l,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var a,s;return[d(n(((a=e.detailData)==null?void 0:a.baseProjType)&&j(D)[(s=e.detailData)==null?void 0:s.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var a,s;return[d(n(((s=(a=e.detailData)==null?void 0:a.baseConstructionType)==null?void 0:s.split("\uFF1B").map(c=>{var b,r;return(r=(b=e.dictionaryList)==null?void 0:b.filter(o=>o.type==="CONTENT_TYPE").find(o=>o.value===c))==null?void 0:r.label}).join("\u3001"))||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u72B6\u6001"},{default:t(()=>{var a,s;return[d(n(((s=(a=e.dictionaryList)==null?void 0:a.filter(c=>c.type==="PROJECT_STATUS").find(c=>{var b;return c.value===((b=e.detailData)==null?void 0:b.baseProjSetProg)}))==null?void 0:s.label)||"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>{var a,s;return[d(n(((a=e.detailData)==null?void 0:a.baseProvManDeprtType)===1?"\u7701\u7EA7":((s=e.detailData)==null?void 0:s.baseProvManDeprtType)===2?"\u975E\u7701\u7EA7":"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProvManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseBuildDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjPrincipal)||"-"),1)]}),_:1}),i(l,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjContacts)||"-"),1)]}),_:1}),i(l,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjContactsCall)||"-"),1)]}),_:1}),i(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:2},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.systemPosition)||"-"),1)]}),_:1}),i(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",span:2},{default:t(()=>{var a,s;return[d(n(((s=(a=e.templateTypeListData)==null?void 0:a.find(c=>{var b;return c.id===((b=e.detailData)==null?void 0:b.templateType)}))==null?void 0:s.name)||"-"),1)]}),_:1})]),_:1})}}});export{M as default}; +import{d as y,D as m,c as u,e as P,I as T,i as t,h as i,j as d,t as n,u as j}from"./index.07ccce2b.js";const C=y({name:"basicInfo"}),M=Object.assign(C,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(e){const{projectTypeOptions:D}=m.dictStore.globalDicts||{};return(v,p)=>{const l=u("el-descriptions-item"),f=u("el-descriptions");return P(),T(f,{column:2,border:""},{default:t(()=>[i(l,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var a,s;return[d(n(((a=e.detailData)==null?void 0:a.baseProjType)&&j(D)[(s=e.detailData)==null?void 0:s.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var a,s;return[d(n(((s=(a=e.detailData)==null?void 0:a.baseConstructionType)==null?void 0:s.split("\uFF1B").map(c=>{var b,r;return(r=(b=e.dictionaryList)==null?void 0:b.filter(o=>o.type==="CONTENT_TYPE").find(o=>o.value===c))==null?void 0:r.label}).join("\u3001"))||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u72B6\u6001"},{default:t(()=>{var a,s;return[d(n(((s=(a=e.dictionaryList)==null?void 0:a.filter(c=>c.type==="PROJECT_STATUS").find(c=>{var b;return c.value===((b=e.detailData)==null?void 0:b.baseProjSetProg)}))==null?void 0:s.label)||"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>{var a,s;return[d(n(((a=e.detailData)==null?void 0:a.baseProvManDeprtType)===1?"\u7701\u7EA7":((s=e.detailData)==null?void 0:s.baseProvManDeprtType)===2?"\u975E\u7701\u7EA7":"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProvManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseBuildDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjPrincipal)||"-"),1)]}),_:1}),i(l,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjContacts)||"-"),1)]}),_:1}),i(l,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.baseProjContactsCall)||"-"),1)]}),_:1}),i(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:2},{default:t(()=>{var a;return[d(n(((a=e.detailData)==null?void 0:a.systemPosition)||"-"),1)]}),_:1}),i(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",span:2},{default:t(()=>{var a,s;return[d(n(((s=(a=e.templateTypeListData)==null?void 0:a.find(c=>{var b;return c.id===((b=e.detailData)==null?void 0:b.templateType)}))==null?void 0:s.name)||"-"),1)]}),_:1})]),_:1})}}});export{M as default}; diff --git a/lishui2/web/dist/assets/basicInfo.53bbd88b.js b/lishui2/web/dist/assets/basicInfo.8120e417.js similarity index 98% rename from lishui2/web/dist/assets/basicInfo.53bbd88b.js rename to lishui2/web/dist/assets/basicInfo.8120e417.js index 272e798..349a9d1 100644 --- a/lishui2/web/dist/assets/basicInfo.53bbd88b.js +++ b/lishui2/web/dist/assets/basicInfo.8120e417.js @@ -1 +1 @@ -var U=(e,c,g)=>new Promise((I,O)=>{var P=r=>{try{w(g.next(r))}catch(k){O(k)}},E=r=>{try{w(g.throw(r))}catch(k){O(k)}},w=r=>r.done?I(r.value):Promise.resolve(r.value).then(P,E);w((g=g.apply(e,c)).next())});import{d as q,D as G,b as z,r as R,L as K,c as A,e as u,I as D,i as a,h as t,j as n,t as d,u as N,f as b,F as C,k as y,g as V,J as p}from"./index.51e934d4.js";import{_ as F}from"./index.25c56c35.js";import{t as Q}from"./indicatorTemplate.c9e7aed6.js";const X={style:{"word-break":"break-all"}},Z={style:{"word-break":"break-all"}},_={style:{"word-break":"break-all"}},ee=q({name:"basicInfo"}),de=Object.assign(ee,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e){const c=e,{statusOptions:g,cloudTypeOptions:I,fourSystem:O,businessTerritory:P,projectTypeOptions:E}=G.dictStore.globalDicts||{},w=z([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4F9D\u636E\u9879",slot:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u9644\u4EF6",slot:"file"}]),r=z([{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"}]),k=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],M=R([]),H=R(),Y=R(),W=()=>U(this,null,function*(){const T=yield Q();Y.value=T.data});return K(()=>c.detailData,T=>{var x,l,m;T&&(W(),M.value=(m=(l=(x=c.detailData)==null?void 0:x.baseProjBasis)==null?void 0:l.split("\uFF1B"))==null?void 0:m.map((B,S)=>{var L,h,j,i,s;const v=`[${(L=c.detailData)==null?void 0:L.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(i=(j=(h=c.dictionaryList)==null?void 0:h.filter(o=>o.type==="PROJECT_BASIS"))==null?void 0:j.find(o=>o.value===B))==null?void 0:i.label,fileList:(s=c.detailData)!=null&&s.baseProjBasisFile?JSON.parse(v)[S]:[],value:B}}))}),(T,x)=>{const l=A("el-descriptions-item"),m=A("table-list"),B=A("el-descriptions");return u(),D(B,{column:2,border:""},{default:a(()=>{var S,v,L,h,j;return[t(l,{label:"\u662F\u5426\u6D89\u5BC6"},{default:a(()=>[n(d(e.detailData.baseProjIsConfidentiality==="02"?"\u662F":"\u5426"),1)]),_:1}),t(l,{label:"\u9879\u76EEID"},{default:a(()=>[n(d(e.detailData.projectCode||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[n(d(e.detailData.projectName||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:a(()=>{var i,s;return[n(d(((i=e.detailData)==null?void 0:i.projectType)&&N(E)[(s=e.detailData)==null?void 0:s.projectType]),1)]}),_:1}),t(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:a(()=>{var i,s;return[n(d(((s=(i=e.detailData)==null?void 0:i.baseConstructionType)==null?void 0:s.split("\uFF1B").map(o=>{var f,$;return($=(f=e.dictionaryList)==null?void 0:f.filter(J=>J.type==="CONTENT_TYPE").find(J=>J.value===o))==null?void 0:$.label}).join("\u3001"))||"-"),1)]}),_:1}),((S=e.detailData)==null?void 0:S.baseProjIsConfidentiality)!=="02"?(u(),b(C,{key:0},[t(l,{label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA"},{default:a(()=>[n(d(e.detailData.isFirst?"\u662F":"\u5426"),1)]),_:1}),t(l,{label:"\u662F\u5426\u4E00\u5730\u521B\u65B0\u5168\u7701\u5171\u4EAB\u9879\u76EE"},{default:a(()=>[n(d(e.detailData.isInnovateWholeProvinceShare?"\u662F":"\u5426"),1)]),_:1})],64)):y("",!0),t(l,{label:"\u884C\u653F\u533A\u5212\u7F16\u7801"},{default:a(()=>[n(d(e.detailData.areaCode||"-"),1)]),_:1}),t(l,{label:"\u884C\u653F\u533A\u5212\u540D\u79F0"},{default:a(()=>[n(d(e.detailData.area||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:a(()=>[n(d(e.detailData.responsibleMan||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:a(()=>[n(d(e.detailData.responsibleManMobile||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:a(()=>[n(d(e.detailData.contactName||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:a(()=>[n(d(e.detailData.contactPhone||"-"),1)]),_:1}),t(l,{label:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D"},{default:a(()=>[n(d(e.detailData.higherSuperOrg||"-"),1)]),_:1}),t(l,{label:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:a(()=>[n(d(e.detailData.higherSuperOrgCode||"-"),1)]),_:1}),t(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8\u5355\u4F4D"},{default:a(()=>[n(d(e.detailData.superOrg||"-"),1)]),_:1}),t(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:a(()=>[n(d(e.detailData.superOrgCode||"-"),1)]),_:1}),t(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:a(()=>[n(d(e.detailData.superOrgCreditCode||"-"),1)]),_:1}),t(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\uFF1A"},{default:a(()=>[n(d(e.detailData.buildOrgName||"-"),1)]),_:1}),t(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:a(()=>[n(d(e.detailData.buildOrgCode||"-"),1)]),_:1}),t(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:a(()=>[n(d(e.detailData.orgCreditCode||"-"),1)]),_:1}),t(l,{label:"\u4E3B\u7BA1\u5355\u4F4D"},{default:a(()=>[n(d(e.detailData.superOrg||"-"),1)]),_:1}),t(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:a(()=>[n(d(e.detailData.baseProvManDeprtType===1?"\u7701\u7EA7":e.detailData.baseProvManDeprtType===2?"\u975E\u7701\u7EA7":"-"),1)]),_:1}),t(l,{label:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D"},{default:a(()=>[n(d(e.detailData.higherSuperOrg||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u72B6\u6001"},{default:a(()=>{var i;return[n(d(((i=N(g)[e.detailData.status])==null?void 0:i.name)||"-"),1)]}),_:1}),t(l,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:a(()=>[n(d(e.detailData.projectYear||"-"),1)]),_:1}),((v=e.detailData)==null?void 0:v.baseProjIsConfidentiality)!=="02"?(u(),b(C,{key:1},[t(l,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650"},{default:a(()=>[n(d(e.detailData.beginTime)+"~"+d(e.detailData.endTime),1)]),_:1}),t(l,{label:"\u5EFA\u8BBE\u5C42\u7EA7"},{default:a(()=>{var i,s;return[n(d(((s=(i=e.dictionaryList)==null?void 0:i.filter(o=>o.type==="BUILD_LEVEL").find(o=>{var f;return o.value===((f=e.detailData)==null?void 0:f.buildLevel)}))==null?void 0:s.label)||"-"),1)]}),_:1}),t(l,{label:"\u8D2F\u901A\u5C42\u7EA7"},{default:a(()=>{var i,s;return[n(d(((s=(i=e.dictionaryList)==null?void 0:i.filter(o=>o.type==="BUILD_LEVEL").find(o=>{var f;return o.value===((f=e.detailData)==null?void 0:f.lowestLevel)}))==null?void 0:s.label)||"-"),1)]}),_:1}),t(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:"2"},{default:a(()=>[V("span",X,d(e.detailData.systemPosition||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u7B80\u4ECB",span:"2"},{default:a(()=>[V("span",Z,d(e.detailData.projectIntroduction||"-"),1)]),_:1}),e.detailData.buildBasis&&((L=JSON.parse(e.detailData.buildBasis))==null?void 0:L.length)?(u(),D(l,{key:0,label:"\u7ACB\u9879\u4F9D\u636E",span:"2"},{default:a(()=>[t(m,{column:w,data:e.detailData.buildBasis&&JSON.parse(e.detailData.buildBasis),pagination:!1,"empty-temp":!1,style:{width:"98%"}},{title:a(({scope:i})=>[n(d(i.row.title),1)]),fileName:a(({scope:i})=>[n(d(i.row.fileName),1)]),file:a(({scope:i})=>[(u(!0),b(C,null,p(i.row.fileList,(s,o)=>(u(),b("p",{key:o,class:"mb-4"},[t(F,{"file-name":s.originalFileName,"file-id":s.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1},8,["column","data"])]),_:1})):(u(),D(l,{key:1,label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:a(()=>[t(m,{ref_key:"tableListRef",ref:H,pagination:!1,style:{width:"100%"},column:w,data:M.value},{title:a(({scope:i})=>[n(d(i.row.title),1)]),fileName:a(({scope:i})=>[n(d(i.row.fileList[0].originalFileName),1)]),file:a(({scope:i})=>[(u(!0),b(C,null,p(i.row.fileList,(s,o)=>(u(),b("p",{key:o,class:"mb-4"},[t(F,{"file-name":s.originalFileName,"file-id":s.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["column","data"])]),_:1})),t(l,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",span:"2"},{default:a(()=>[V("span",_,d(e.detailData.baseBasisEstablish||"-"),1)]),_:1}),t(l,{label:"\u53D1\u6539\u7F16\u7801"},{default:a(()=>[n(d(e.detailData.developCode||"-"),1)]),_:1}),t(l,{label:"\u8D22\u653F\u7F16\u7801"},{default:a(()=>[n(d(e.detailData.financialCode||"-"),1)]),_:1}),t(l,{label:"\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE"},{default:a(()=>[n(d(e.detailData.isDigitalReform?"\u662F":"\u5426"),1)]),_:1}),t(l,{label:"\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF"},{default:a(()=>{var i;return[n(d(((i=e.detailData.bizDomain)==null?void 0:i.split(",").map(s=>N(P)[s]).join("\uFF0C"))||"-"),1)]}),_:1}),t(l,{label:"\u662F\u5426\u4E0A\u4E91"},{default:a(()=>[n(d(e.detailData.isCloud?"\u662F":"\u5426"),1)]),_:1}),e.detailData.isCloud?(u(),D(l,{key:2,label:"\u4E91\u7C7B\u578B"},{default:a(()=>[n(d(e.detailData.cloudType&&e.detailData.cloudType.split(",").map(i=>N(I)[i]).join("\u3001")||"-"),1)]),_:1})):y("",!0),t(l,{label:"\u56DB\u5927\u4F53\u7CFB"},{default:a(()=>[n(d(N(O)[e.detailData.fourSystems]),1)]),_:1}),t(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B"},{default:a(()=>{var i,s;return[n(d(((s=(i=Y.value)==null?void 0:i.find(o=>o.id===e.detailData.templateType))==null?void 0:s.name)||"-"),1)]}),_:1}),t(l,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865\u9879\u76EE",span:2},{default:a(()=>[n(d(e.detailData.isTemporaryAugment?"\u662F":"\u5426"),1)]),_:1}),t(l,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",span:2},{default:a(()=>{var i;return[t(m,{column:r,data:((i=e.detailData)==null?void 0:i.baseHistorProjs)||[],pagination:!1,"empty-temp":!1,style:{width:"98%"}},null,8,["column","data"])]}),_:1}),t(l,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:a(()=>{var i,s;return[t(m,{ref:"tableList2",pagination:!1,style:{width:"100%"},column:k,data:((i=e.detailData)==null?void 0:i.beseExpectedResults)&&JSON.parse((s=e.detailData)==null?void 0:s.beseExpectedResults),"empty-temp":!1},null,8,["data"])]}),_:1}),((h=e.detailData)==null?void 0:h.projectApplicationForm)&&((j=JSON.parse(e.detailData.projectApplicationForm))==null?void 0:j.length)?(u(),D(l,{key:3,label:"\u9879\u76EE\u7533\u62A5\u4E66"},{default:a(()=>[(u(!0),b(C,null,p(e.detailData.projectApplicationForm&&JSON.parse(e.detailData.projectApplicationForm),(i,s)=>(u(),b("p",{key:s,class:"mb-4"},[t(F,{"file-name":i.originalFileName,"file-id":i.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):y("",!0),e.detailData.pretrialFileId?(u(),D(l,{key:4,label:"\u9884\u5BA1\u7533\u8BF7\u5355",span:"2"},{default:a(()=>[t(F,{"file-name":e.detailData.pretrialFileName,"file-id":e.detailData.pretrialFileId,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]),_:1})):y("",!0),y("",!0),e.detailData.constructFileId?(u(),D(l,{key:6,label:"\u5EFA\u8BBE\u65B9\u6848\u5BA1\u67E5\u610F\u89C1\u6587\u4EF6",span:"2"},{default:a(()=>[t(F,{"file-name":e.detailData.constructFileName,"file-id":e.detailData.constructFileId,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]),_:1})):y("",!0)],64)):y("",!0)]}),_:1})}}});export{de as default}; +var U=(e,c,g)=>new Promise((I,O)=>{var P=r=>{try{w(g.next(r))}catch(k){O(k)}},E=r=>{try{w(g.throw(r))}catch(k){O(k)}},w=r=>r.done?I(r.value):Promise.resolve(r.value).then(P,E);w((g=g.apply(e,c)).next())});import{d as q,D as G,b as z,r as R,L as K,c as A,e as u,I as D,i as a,h as t,j as n,t as d,u as N,f as b,F as C,k as y,g as V,J as p}from"./index.07ccce2b.js";import{_ as F}from"./index.0d7a0f2a.js";import{t as Q}from"./indicatorTemplate.a943f5d1.js";const X={style:{"word-break":"break-all"}},Z={style:{"word-break":"break-all"}},_={style:{"word-break":"break-all"}},ee=q({name:"basicInfo"}),de=Object.assign(ee,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e){const c=e,{statusOptions:g,cloudTypeOptions:I,fourSystem:O,businessTerritory:P,projectTypeOptions:E}=G.dictStore.globalDicts||{},w=z([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4F9D\u636E\u9879",slot:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u9644\u4EF6",slot:"file"}]),r=z([{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"}]),k=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],M=R([]),H=R(),Y=R(),W=()=>U(this,null,function*(){const T=yield Q();Y.value=T.data});return K(()=>c.detailData,T=>{var x,l,m;T&&(W(),M.value=(m=(l=(x=c.detailData)==null?void 0:x.baseProjBasis)==null?void 0:l.split("\uFF1B"))==null?void 0:m.map((B,S)=>{var L,h,j,i,s;const v=`[${(L=c.detailData)==null?void 0:L.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(i=(j=(h=c.dictionaryList)==null?void 0:h.filter(o=>o.type==="PROJECT_BASIS"))==null?void 0:j.find(o=>o.value===B))==null?void 0:i.label,fileList:(s=c.detailData)!=null&&s.baseProjBasisFile?JSON.parse(v)[S]:[],value:B}}))}),(T,x)=>{const l=A("el-descriptions-item"),m=A("table-list"),B=A("el-descriptions");return u(),D(B,{column:2,border:""},{default:a(()=>{var S,v,L,h,j;return[t(l,{label:"\u662F\u5426\u6D89\u5BC6"},{default:a(()=>[n(d(e.detailData.baseProjIsConfidentiality==="02"?"\u662F":"\u5426"),1)]),_:1}),t(l,{label:"\u9879\u76EEID"},{default:a(()=>[n(d(e.detailData.projectCode||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[n(d(e.detailData.projectName||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:a(()=>{var i,s;return[n(d(((i=e.detailData)==null?void 0:i.projectType)&&N(E)[(s=e.detailData)==null?void 0:s.projectType]),1)]}),_:1}),t(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:a(()=>{var i,s;return[n(d(((s=(i=e.detailData)==null?void 0:i.baseConstructionType)==null?void 0:s.split("\uFF1B").map(o=>{var f,$;return($=(f=e.dictionaryList)==null?void 0:f.filter(J=>J.type==="CONTENT_TYPE").find(J=>J.value===o))==null?void 0:$.label}).join("\u3001"))||"-"),1)]}),_:1}),((S=e.detailData)==null?void 0:S.baseProjIsConfidentiality)!=="02"?(u(),b(C,{key:0},[t(l,{label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA"},{default:a(()=>[n(d(e.detailData.isFirst?"\u662F":"\u5426"),1)]),_:1}),t(l,{label:"\u662F\u5426\u4E00\u5730\u521B\u65B0\u5168\u7701\u5171\u4EAB\u9879\u76EE"},{default:a(()=>[n(d(e.detailData.isInnovateWholeProvinceShare?"\u662F":"\u5426"),1)]),_:1})],64)):y("",!0),t(l,{label:"\u884C\u653F\u533A\u5212\u7F16\u7801"},{default:a(()=>[n(d(e.detailData.areaCode||"-"),1)]),_:1}),t(l,{label:"\u884C\u653F\u533A\u5212\u540D\u79F0"},{default:a(()=>[n(d(e.detailData.area||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:a(()=>[n(d(e.detailData.responsibleMan||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:a(()=>[n(d(e.detailData.responsibleManMobile||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:a(()=>[n(d(e.detailData.contactName||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:a(()=>[n(d(e.detailData.contactPhone||"-"),1)]),_:1}),t(l,{label:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D"},{default:a(()=>[n(d(e.detailData.higherSuperOrg||"-"),1)]),_:1}),t(l,{label:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:a(()=>[n(d(e.detailData.higherSuperOrgCode||"-"),1)]),_:1}),t(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8\u5355\u4F4D"},{default:a(()=>[n(d(e.detailData.superOrg||"-"),1)]),_:1}),t(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:a(()=>[n(d(e.detailData.superOrgCode||"-"),1)]),_:1}),t(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:a(()=>[n(d(e.detailData.superOrgCreditCode||"-"),1)]),_:1}),t(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\uFF1A"},{default:a(()=>[n(d(e.detailData.buildOrgName||"-"),1)]),_:1}),t(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:a(()=>[n(d(e.detailData.buildOrgCode||"-"),1)]),_:1}),t(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:a(()=>[n(d(e.detailData.orgCreditCode||"-"),1)]),_:1}),t(l,{label:"\u4E3B\u7BA1\u5355\u4F4D"},{default:a(()=>[n(d(e.detailData.superOrg||"-"),1)]),_:1}),t(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:a(()=>[n(d(e.detailData.baseProvManDeprtType===1?"\u7701\u7EA7":e.detailData.baseProvManDeprtType===2?"\u975E\u7701\u7EA7":"-"),1)]),_:1}),t(l,{label:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D"},{default:a(()=>[n(d(e.detailData.higherSuperOrg||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u72B6\u6001"},{default:a(()=>{var i;return[n(d(((i=N(g)[e.detailData.status])==null?void 0:i.name)||"-"),1)]}),_:1}),t(l,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:a(()=>[n(d(e.detailData.projectYear||"-"),1)]),_:1}),((v=e.detailData)==null?void 0:v.baseProjIsConfidentiality)!=="02"?(u(),b(C,{key:1},[t(l,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650"},{default:a(()=>[n(d(e.detailData.beginTime)+"~"+d(e.detailData.endTime),1)]),_:1}),t(l,{label:"\u5EFA\u8BBE\u5C42\u7EA7"},{default:a(()=>{var i,s;return[n(d(((s=(i=e.dictionaryList)==null?void 0:i.filter(o=>o.type==="BUILD_LEVEL").find(o=>{var f;return o.value===((f=e.detailData)==null?void 0:f.buildLevel)}))==null?void 0:s.label)||"-"),1)]}),_:1}),t(l,{label:"\u8D2F\u901A\u5C42\u7EA7"},{default:a(()=>{var i,s;return[n(d(((s=(i=e.dictionaryList)==null?void 0:i.filter(o=>o.type==="BUILD_LEVEL").find(o=>{var f;return o.value===((f=e.detailData)==null?void 0:f.lowestLevel)}))==null?void 0:s.label)||"-"),1)]}),_:1}),t(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:"2"},{default:a(()=>[V("span",X,d(e.detailData.systemPosition||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u7B80\u4ECB",span:"2"},{default:a(()=>[V("span",Z,d(e.detailData.projectIntroduction||"-"),1)]),_:1}),e.detailData.buildBasis&&((L=JSON.parse(e.detailData.buildBasis))==null?void 0:L.length)?(u(),D(l,{key:0,label:"\u7ACB\u9879\u4F9D\u636E",span:"2"},{default:a(()=>[t(m,{column:w,data:e.detailData.buildBasis&&JSON.parse(e.detailData.buildBasis),pagination:!1,"empty-temp":!1,style:{width:"98%"}},{title:a(({scope:i})=>[n(d(i.row.title),1)]),fileName:a(({scope:i})=>[n(d(i.row.fileName),1)]),file:a(({scope:i})=>[(u(!0),b(C,null,p(i.row.fileList,(s,o)=>(u(),b("p",{key:o,class:"mb-4"},[t(F,{"file-name":s.originalFileName,"file-id":s.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1},8,["column","data"])]),_:1})):(u(),D(l,{key:1,label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:a(()=>[t(m,{ref_key:"tableListRef",ref:H,pagination:!1,style:{width:"100%"},column:w,data:M.value},{title:a(({scope:i})=>[n(d(i.row.title),1)]),fileName:a(({scope:i})=>[n(d(i.row.fileList[0].originalFileName),1)]),file:a(({scope:i})=>[(u(!0),b(C,null,p(i.row.fileList,(s,o)=>(u(),b("p",{key:o,class:"mb-4"},[t(F,{"file-name":s.originalFileName,"file-id":s.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["column","data"])]),_:1})),t(l,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",span:"2"},{default:a(()=>[V("span",_,d(e.detailData.baseBasisEstablish||"-"),1)]),_:1}),t(l,{label:"\u53D1\u6539\u7F16\u7801"},{default:a(()=>[n(d(e.detailData.developCode||"-"),1)]),_:1}),t(l,{label:"\u8D22\u653F\u7F16\u7801"},{default:a(()=>[n(d(e.detailData.financialCode||"-"),1)]),_:1}),t(l,{label:"\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE"},{default:a(()=>[n(d(e.detailData.isDigitalReform?"\u662F":"\u5426"),1)]),_:1}),t(l,{label:"\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF"},{default:a(()=>{var i;return[n(d(((i=e.detailData.bizDomain)==null?void 0:i.split(",").map(s=>N(P)[s]).join("\uFF0C"))||"-"),1)]}),_:1}),t(l,{label:"\u662F\u5426\u4E0A\u4E91"},{default:a(()=>[n(d(e.detailData.isCloud?"\u662F":"\u5426"),1)]),_:1}),e.detailData.isCloud?(u(),D(l,{key:2,label:"\u4E91\u7C7B\u578B"},{default:a(()=>[n(d(e.detailData.cloudType&&e.detailData.cloudType.split(",").map(i=>N(I)[i]).join("\u3001")||"-"),1)]),_:1})):y("",!0),t(l,{label:"\u56DB\u5927\u4F53\u7CFB"},{default:a(()=>[n(d(N(O)[e.detailData.fourSystems]),1)]),_:1}),t(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B"},{default:a(()=>{var i,s;return[n(d(((s=(i=Y.value)==null?void 0:i.find(o=>o.id===e.detailData.templateType))==null?void 0:s.name)||"-"),1)]}),_:1}),t(l,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865\u9879\u76EE",span:2},{default:a(()=>[n(d(e.detailData.isTemporaryAugment?"\u662F":"\u5426"),1)]),_:1}),t(l,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",span:2},{default:a(()=>{var i;return[t(m,{column:r,data:((i=e.detailData)==null?void 0:i.baseHistorProjs)||[],pagination:!1,"empty-temp":!1,style:{width:"98%"}},null,8,["column","data"])]}),_:1}),t(l,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:a(()=>{var i,s;return[t(m,{ref:"tableList2",pagination:!1,style:{width:"100%"},column:k,data:((i=e.detailData)==null?void 0:i.beseExpectedResults)&&JSON.parse((s=e.detailData)==null?void 0:s.beseExpectedResults),"empty-temp":!1},null,8,["data"])]}),_:1}),((h=e.detailData)==null?void 0:h.projectApplicationForm)&&((j=JSON.parse(e.detailData.projectApplicationForm))==null?void 0:j.length)?(u(),D(l,{key:3,label:"\u9879\u76EE\u7533\u62A5\u4E66"},{default:a(()=>[(u(!0),b(C,null,p(e.detailData.projectApplicationForm&&JSON.parse(e.detailData.projectApplicationForm),(i,s)=>(u(),b("p",{key:s,class:"mb-4"},[t(F,{"file-name":i.originalFileName,"file-id":i.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):y("",!0),e.detailData.pretrialFileId?(u(),D(l,{key:4,label:"\u9884\u5BA1\u7533\u8BF7\u5355",span:"2"},{default:a(()=>[t(F,{"file-name":e.detailData.pretrialFileName,"file-id":e.detailData.pretrialFileId,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]),_:1})):y("",!0),y("",!0),e.detailData.constructFileId?(u(),D(l,{key:6,label:"\u5EFA\u8BBE\u65B9\u6848\u5BA1\u67E5\u610F\u89C1\u6587\u4EF6",span:"2"},{default:a(()=>[t(F,{"file-name":e.detailData.constructFileName,"file-id":e.detailData.constructFileId,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]),_:1})):y("",!0)],64)):y("",!0)]}),_:1})}}});export{de as default}; diff --git a/lishui2/web/dist/assets/basicInfo.e71545d9.js b/lishui2/web/dist/assets/basicInfo.b5508419.js similarity index 98% rename from lishui2/web/dist/assets/basicInfo.e71545d9.js rename to lishui2/web/dist/assets/basicInfo.b5508419.js index 7d63291..4ea4735 100644 --- a/lishui2/web/dist/assets/basicInfo.e71545d9.js +++ b/lishui2/web/dist/assets/basicInfo.b5508419.js @@ -1 +1 @@ -var ve=Object.defineProperty,ce=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable;var Q=(m,p,n)=>p in m?ve(m,p,{enumerable:!0,configurable:!0,writable:!0,value:n}):m[p]=n,H=(m,p)=>{for(var n in p||(p={}))_e.call(p,n)&&Q(m,n,p[n]);if(J)for(var n of J(p))Ce.call(p,n)&&Q(m,n,p[n]);return m},Y=(m,p)=>ce(m,Pe(p));var x=(m,p,n)=>new Promise((q,U)=>{var I=P=>{try{e(n.next(P))}catch(D){U(D)}},g=P=>{try{e(n.throw(P))}catch(D){U(D)}},e=P=>P.done?q(P.value):Promise.resolve(P.value).then(I,g);e((n=n.apply(m,p)).next())});import{d as ye,D as K,G as ge,r as _,O as De,b as O,o as Ve,H as je,L as A,c as b,e as c,f as j,h as l,i as o,g as ke,I as y,F as k,J as w,k as W,u as Ue,j as N,t as X,a1 as Te}from"./index.51e934d4.js";import{_ as Be}from"./index.9c7375b8.js";import Me from"./userDialog.56eaab29.js";import xe from"./lineOrgDialog.f133f4b1.js";import{a as we}from"./indicatorTemplate.c9e7aed6.js";import"./unitManage.1da62722.js";import"./index.2907f0cd.js";const Ne={class:"flex items-center"},qe=ye({name:"projectCollectionEnterBasicInfo"}),he=Object.assign(qe,{props:{detail:{type:Object},dictionaryList:{type:Array,default:()=>[]}},emits:["getBasicInfoData"],setup(m,{expose:p,emit:n}){const{projectOpeOptions:q}=K.dictStore.globalDicts||{},U=m,I=ge(K.userStore).userInfo||{},g=_(),e=_({baseProjIsConfidentiality:"01",push:!0}),P=(r,a,v)=>{a||v(),e.value.baseProjPrincipal===e.value.baseProjContacts&&e.value.baseProjPrincipalCall===e.value.baseProjContactsCall?v("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):v()},D=De(()=>e.value.baseProjIsConfidentiality==="02"?{baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6\u9879\u76EE"}],baseProjName:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0",trigger:"blur"}]}:{push:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5F52\u96C6\u7701\u91CC",type:Boolean}],baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6\u9879\u76EE"}],baseProjName:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0"}],baseProjType:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B"}],baseArea:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u533A\u5212"}],baseConstructionType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5185\u5BB9\u7C7B\u522B"}],baseProjSetProg:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u72B6\u6001"}],baseProvManDeprtType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"}],baseProvManDeprt:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"}],baseManDeprt:[{required:!0,message:"\u8BF7\u9009\u62E9\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"}],baseManDepartUsci:[{required:!0,message:"\u8BF7\u586B\u5199\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"}],baseBuildDeprt:[{required:!0,message:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5355\u4F4D"}],baseBuildDepartUsci:[{required:!0,message:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"}],baseProjPrincipal:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"},{validator:P}],baseProjPrincipalCall:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"}],baseProjContacts:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA"},{validator:P}],baseProjContactsCall:[{required:!0,message:"\u8BF7\u9009\u62E9\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"}],systemPosition:[{required:!0,message:"\u8BF7\u586B\u5199\u7CFB\u7EDF\u5B9A\u4F4D"}],templateType:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B"}]}),S=_({}),Z=(r,a)=>x(this,null,function*(){const v=yield Te(a||I.value.empPosUnitCode);S.value[r]=!!v.data.unifiedSocialCreditCode,e.value[r]=v.data.unifiedSocialCreditCode||e.value[r]}),ee=_([]),s=O({field:void 0,unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),$=r=>{s.fieldName=r,s.unitVisible=!0,s.title="\u9009\u62E9\u5355\u4F4D",s.type="UNIT",s.showCheckbox=!0,s.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},s.params={onlyUnit:!0},s.data=e.value[`${r}Ding`]?[{key:e.value[`${r}Ding`],title:e.value[r]}]:[],console.log(s.data)},ae=()=>{s.unitVisible=!1},le=r=>{e.value[s.fieldName+"Ding"]=(r==null?void 0:r[0].key)||void 0,e.value[s.fieldName]=(r==null?void 0:r[0].title)||void 0,(s.fieldName==="baseManDeprt"||s.fieldName==="baseBuildDeprt")&&Z(s.fieldName==="baseManDeprt"?"baseManDepartUsci":"baseBuildDepartUsci",e.value[s.fieldName+"Ding"])},T=O({visible:!1,params:{}}),E=_(),F=_(),B=(r,a)=>{T.visible=!0,E.value=r,F.value=a},te=r=>{e.value[E.value]=r.name,e.value[F.value]=r.phoneNo},oe=(r,a)=>{e.value.baseProvManDeprtDing="",e.value.baseProvManDeprt=""},C=O({visible:!1,data:void 0}),re=()=>{C.visible=!0,C.data={businessStripCode:e.value.baseProvManDeprtDing}},se=r=>{e.value.baseProvManDeprtDing=r.businessStripCode,e.value.baseProvManDeprt=r.businessStripName,C.visible=!1},ne=n,h=_(),ue=()=>x(this,null,function*(){var a;const r=yield we({pageNumber:1,pageSize:1e4});h.value=((a=r==null?void 0:r.data)==null?void 0:a.records)||[]});return p({formRef:g,formData:e}),Ve(()=>x(this,null,function*(){ue();const r=yield je({regionCode:331100,regionLevel:2});ee.value=r.data})),A(()=>U.detail,r=>{var a,v,M;r&&(e.value=Y(H({},r.baseinfo),{baseProjIsConfidentiality:"01",baseProvManDeprtType:((a=r.baseinfo)==null?void 0:a.baseProvManDeprtType)+""||"",baseConstructionType:((M=(v=r.baseinfo)==null?void 0:v.baseConstructionType)==null?void 0:M.split("\uFF1B"))||[]}))}),A(()=>e.value.baseProjIsConfidentiality,r=>{g.value.clearValidate()}),A(()=>e.value,r=>{ne("getBasicInfoData",e.value)},{deep:!0}),(r,a)=>{const v=b("el-switch"),M=b("QuestionFilled"),ie=b("el-icon"),de=b("el-tooltip"),u=b("el-form-item"),i=b("el-col"),R=b("el-option"),G=b("el-select"),f=b("el-input"),pe=b("el-checkbox"),me=b("el-checkbox-group"),L=b("el-radio"),z=b("el-radio-group"),be=b("el-row"),fe=b("el-form");return c(),j(k,null,[l(fe,{ref_key:"formRef",ref:g,model:e.value,rules:D.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:o(()=>[l(be,{gutter:40},{default:o(()=>[l(i,{span:24},{default:o(()=>[l(u,{prop:"push",label:"\u9879\u76EE\u662F\u5426\u5F52\u96C6\u7701\u91CC",class:"flex-form-item"},{default:o(()=>[l(v,{modelValue:e.value.push,"onUpdate:modelValue":a[0]||(a[0]=t=>e.value.push=t),class:"mr-8"},null,8,["modelValue"]),l(de,{class:"box-item",content:"\u9009\u62E9\u662F\u7684\u60C5\u51B5\u4E0B\uFF0C\u4F1A\u5C06\u9879\u76EE\u4FE1\u606F\u63A8\u9001\u81F3\u7701\u91CC\u8FDB\u884C\u5F52\u96C6\uFF1B\u9009\u62E9\u5426\u7684\u60C5\u51B5\u4E0B\uFF0C\u4E0D\u4F1A\u5C06\u9879\u76EE\u4FE1\u606F\u63A8\u81F3\u7701\u91CC\u3002",placement:"top"},{default:o(()=>[ke("div",Ne,[l(ie,{class:"cursor-pointer"},{default:o(()=>[l(M)]),_:1})])]),_:1})]),_:1})]),_:1}),W("",!0),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName"},{default:o(()=>[l(f,{modelValue:e.value.baseProjName,"onUpdate:modelValue":a[2]||(a[2]=t=>e.value.baseProjName=t),maxlength:"50",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u7C7B\u578B",prop:"baseProjType"},{default:o(()=>[l(G,{modelValue:e.value.baseProjType,"onUpdate:modelValue":a[3]||(a[3]=t=>e.value.baseProjType=t),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:o(()=>[(c(!0),j(k,null,w(Ue(q),(t,d)=>(c(),y(R,{key:d,label:t,value:d},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),W("",!0),l(i,{span:8},{default:o(()=>[l(u,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:o(()=>[l(me,{modelValue:e.value.baseConstructionType,"onUpdate:modelValue":a[5]||(a[5]=t=>e.value.baseConstructionType=t)},{default:o(()=>{var t;return[(c(!0),j(k,null,w((t=m.dictionaryList)==null?void 0:t.filter(d=>d.type==="CONTENT_TYPE"),(d,V)=>(c(),y(pe,{key:V,label:d.value},{default:o(()=>[N(X(d.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u72B6\u6001",prop:"baseProjSetProg"},{default:o(()=>[l(G,{modelValue:e.value.baseProjSetProg,"onUpdate:modelValue":a[6]||(a[6]=t=>e.value.baseProjSetProg=t),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:o(()=>{var t;return[(c(!0),j(k,null,w((t=m.dictionaryList)==null?void 0:t.filter(d=>d.type==="PROJECT_STATUS"),(d,V)=>(c(),y(R,{key:V,label:d.label,value:d.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:o(()=>[l(z,{modelValue:e.value.baseProvManDeprtType,"onUpdate:modelValue":a[7]||(a[7]=t=>e.value.baseProvManDeprtType=t),onChange:oe},{default:o(()=>[l(L,{label:"1"},{default:o(()=>[N("\u7701\u7EA7")]),_:1}),l(L,{label:"2"},{default:o(()=>[N("\u975E\u7701\u7EA7")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"baseProvManDeprt"},{default:o(()=>[e.value.baseProvManDeprtType==="2"?(c(),y(f,{key:0,modelValue:e.value.baseProvManDeprt,"onUpdate:modelValue":a[8]||(a[8]=t=>e.value.baseProvManDeprt=t),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[9]||(a[9]=t=>$("baseProvManDeprt"))},null,8,["modelValue"])):(c(),y(f,{key:1,modelValue:e.value.baseProvManDeprt,"onUpdate:modelValue":a[10]||(a[10]=t=>e.value.baseProvManDeprt=t),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:re},null,8,["modelValue"]))]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"baseManDeprt"},{default:o(()=>[l(f,{modelValue:e.value.baseManDeprt,"onUpdate:modelValue":a[11]||(a[11]=t=>e.value.baseManDeprt=t),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[12]||(a[12]=t=>$("baseManDeprt"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:"baseManDepartUsci"},{default:o(()=>[l(f,{modelValue:e.value.baseManDepartUsci,"onUpdate:modelValue":a[13]||(a[13]=t=>e.value.baseManDepartUsci=t),placeholder:"\u8BF7\u586B\u5199",disabled:S.value.baseManDepartUsci},null,8,["modelValue","disabled"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"baseBuildDeprt"},{default:o(()=>[l(f,{modelValue:e.value.baseBuildDeprt,"onUpdate:modelValue":a[14]||(a[14]=t=>e.value.baseBuildDeprt=t),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[15]||(a[15]=t=>$("baseBuildDeprt"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"baseBuildDepartUsci"},{default:o(()=>[l(f,{modelValue:e.value.baseBuildDepartUsci,"onUpdate:modelValue":a[16]||(a[16]=t=>e.value.baseBuildDepartUsci=t),placeholder:"\u8BF7\u586B\u5199",disabled:S.value.baseBuildDepartUsci},null,8,["modelValue","disabled"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"baseProjPrincipal"},{default:o(()=>[l(f,{modelValue:e.value.baseProjPrincipal,"onUpdate:modelValue":a[17]||(a[17]=t=>e.value.baseProjPrincipal=t),readonly:"",placeholder:"\u8BF7\u9009\u62E9\uFF0C\u6E29\u99A8\u63D0\u793A\uFF1A\u9879\u76EE\u8D1F\u8D23\u4EBA\u8BF7\u586B\u5199\u9886\u5BFC\u4FE1\u606F",onClick:a[18]||(a[18]=t=>B("baseProjPrincipal","baseProjPrincipalCall"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801",prop:"baseProjPrincipalCall"},{default:o(()=>[l(f,{modelValue:e.value.baseProjPrincipalCall,"onUpdate:modelValue":a[19]||(a[19]=t=>e.value.baseProjPrincipalCall=t),readonly:"",placeholder:"\u8BF7\u9009\u62E9",onClick:a[20]||(a[20]=t=>B("baseProjPrincipal","baseProjPrincipalCall"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"baseProjContacts"},{default:o(()=>[l(f,{modelValue:e.value.baseProjContacts,"onUpdate:modelValue":a[21]||(a[21]=t=>e.value.baseProjContacts=t),readonly:"",placeholder:"\u8BF7\u9009\u62E9",onClick:a[22]||(a[22]=t=>B("baseProjContacts","baseProjContactsCall"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801",prop:"baseProjContactsCall"},{default:o(()=>[l(f,{modelValue:e.value.baseProjContactsCall,"onUpdate:modelValue":a[23]||(a[23]=t=>e.value.baseProjContactsCall=t),readonly:"",placeholder:"\u8BF7\u9009\u62E9",onClick:a[24]||(a[24]=t=>B("baseProjContacts","baseProjContactsCall"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:24},{default:o(()=>[l(u,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",prop:"systemPosition"},{default:o(()=>[l(f,{modelValue:e.value.systemPosition,"onUpdate:modelValue":a[25]||(a[25]=t=>e.value.systemPosition=t),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:2e3},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:24},{default:o(()=>[l(u,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:o(()=>[l(z,{modelValue:e.value.templateType,"onUpdate:modelValue":a[26]||(a[26]=t=>e.value.templateType=t)},{default:o(()=>[(c(!0),j(k,null,w(h.value,(t,d)=>(c(),y(L,{key:d,label:t.id},{default:o(()=>[N(X(t.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"]),l(Be,{visible:s.unitVisible,"show-checkbox":!1,"default-data":s.data,title:s.title,type:s.type,"default-props":s.defaultProps,params:s.params,onClose:ae,onGetSelectUnit:le},null,8,["visible","default-data","title","type","default-props","params"]),l(Me,{visible:T.visible,params:T.params,onClose:a[27]||(a[27]=t=>T.visible=!1),onGetUserData:te},null,8,["visible","params"]),l(xe,{visible:C.visible,data:C.data,onClose:a[28]||(a[28]=t=>C.visible=!1),onGetBaseProvManDeprt:se},null,8,["visible","data"])],64)}}});export{he as default}; +var ve=Object.defineProperty,ce=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable;var Q=(m,p,n)=>p in m?ve(m,p,{enumerable:!0,configurable:!0,writable:!0,value:n}):m[p]=n,H=(m,p)=>{for(var n in p||(p={}))_e.call(p,n)&&Q(m,n,p[n]);if(J)for(var n of J(p))Ce.call(p,n)&&Q(m,n,p[n]);return m},Y=(m,p)=>ce(m,Pe(p));var x=(m,p,n)=>new Promise((q,U)=>{var I=P=>{try{e(n.next(P))}catch(D){U(D)}},g=P=>{try{e(n.throw(P))}catch(D){U(D)}},e=P=>P.done?q(P.value):Promise.resolve(P.value).then(I,g);e((n=n.apply(m,p)).next())});import{d as ye,D as K,G as ge,r as _,O as De,b as O,o as Ve,H as je,L as A,c as b,e as c,f as j,h as l,i as o,g as ke,I as y,F as k,J as w,k as W,u as Ue,j as N,t as X,a1 as Te}from"./index.07ccce2b.js";import{_ as Be}from"./index.7d081cd9.js";import Me from"./userDialog.cc713d99.js";import xe from"./lineOrgDialog.c5c76c37.js";import{a as we}from"./indicatorTemplate.a943f5d1.js";import"./unitManage.8b8bec34.js";import"./index.afd31e12.js";const Ne={class:"flex items-center"},qe=ye({name:"projectCollectionEnterBasicInfo"}),he=Object.assign(qe,{props:{detail:{type:Object},dictionaryList:{type:Array,default:()=>[]}},emits:["getBasicInfoData"],setup(m,{expose:p,emit:n}){const{projectOpeOptions:q}=K.dictStore.globalDicts||{},U=m,I=ge(K.userStore).userInfo||{},g=_(),e=_({baseProjIsConfidentiality:"01",push:!0}),P=(r,a,v)=>{a||v(),e.value.baseProjPrincipal===e.value.baseProjContacts&&e.value.baseProjPrincipalCall===e.value.baseProjContactsCall?v("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):v()},D=De(()=>e.value.baseProjIsConfidentiality==="02"?{baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6\u9879\u76EE"}],baseProjName:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0",trigger:"blur"}]}:{push:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u5F52\u96C6\u7701\u91CC",type:Boolean}],baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6\u9879\u76EE"}],baseProjName:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0"}],baseProjType:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B"}],baseArea:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u533A\u5212"}],baseConstructionType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5185\u5BB9\u7C7B\u522B"}],baseProjSetProg:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u72B6\u6001"}],baseProvManDeprtType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"}],baseProvManDeprt:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"}],baseManDeprt:[{required:!0,message:"\u8BF7\u9009\u62E9\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"}],baseManDepartUsci:[{required:!0,message:"\u8BF7\u586B\u5199\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"}],baseBuildDeprt:[{required:!0,message:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5355\u4F4D"}],baseBuildDepartUsci:[{required:!0,message:"\u8BF7\u586B\u5199\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"}],baseProjPrincipal:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"},{validator:P}],baseProjPrincipalCall:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA"}],baseProjContacts:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA"},{validator:P}],baseProjContactsCall:[{required:!0,message:"\u8BF7\u9009\u62E9\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"}],systemPosition:[{required:!0,message:"\u8BF7\u586B\u5199\u7CFB\u7EDF\u5B9A\u4F4D"}],templateType:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B"}]}),S=_({}),Z=(r,a)=>x(this,null,function*(){const v=yield Te(a||I.value.empPosUnitCode);S.value[r]=!!v.data.unifiedSocialCreditCode,e.value[r]=v.data.unifiedSocialCreditCode||e.value[r]}),ee=_([]),s=O({field:void 0,unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),$=r=>{s.fieldName=r,s.unitVisible=!0,s.title="\u9009\u62E9\u5355\u4F4D",s.type="UNIT",s.showCheckbox=!0,s.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},s.params={onlyUnit:!0},s.data=e.value[`${r}Ding`]?[{key:e.value[`${r}Ding`],title:e.value[r]}]:[],console.log(s.data)},ae=()=>{s.unitVisible=!1},le=r=>{e.value[s.fieldName+"Ding"]=(r==null?void 0:r[0].key)||void 0,e.value[s.fieldName]=(r==null?void 0:r[0].title)||void 0,(s.fieldName==="baseManDeprt"||s.fieldName==="baseBuildDeprt")&&Z(s.fieldName==="baseManDeprt"?"baseManDepartUsci":"baseBuildDepartUsci",e.value[s.fieldName+"Ding"])},T=O({visible:!1,params:{}}),E=_(),F=_(),B=(r,a)=>{T.visible=!0,E.value=r,F.value=a},te=r=>{e.value[E.value]=r.name,e.value[F.value]=r.phoneNo},oe=(r,a)=>{e.value.baseProvManDeprtDing="",e.value.baseProvManDeprt=""},C=O({visible:!1,data:void 0}),re=()=>{C.visible=!0,C.data={businessStripCode:e.value.baseProvManDeprtDing}},se=r=>{e.value.baseProvManDeprtDing=r.businessStripCode,e.value.baseProvManDeprt=r.businessStripName,C.visible=!1},ne=n,h=_(),ue=()=>x(this,null,function*(){var a;const r=yield we({pageNumber:1,pageSize:1e4});h.value=((a=r==null?void 0:r.data)==null?void 0:a.records)||[]});return p({formRef:g,formData:e}),Ve(()=>x(this,null,function*(){ue();const r=yield je({regionCode:331100,regionLevel:2});ee.value=r.data})),A(()=>U.detail,r=>{var a,v,M;r&&(e.value=Y(H({},r.baseinfo),{baseProjIsConfidentiality:"01",baseProvManDeprtType:((a=r.baseinfo)==null?void 0:a.baseProvManDeprtType)+""||"",baseConstructionType:((M=(v=r.baseinfo)==null?void 0:v.baseConstructionType)==null?void 0:M.split("\uFF1B"))||[]}))}),A(()=>e.value.baseProjIsConfidentiality,r=>{g.value.clearValidate()}),A(()=>e.value,r=>{ne("getBasicInfoData",e.value)},{deep:!0}),(r,a)=>{const v=b("el-switch"),M=b("QuestionFilled"),ie=b("el-icon"),de=b("el-tooltip"),u=b("el-form-item"),i=b("el-col"),R=b("el-option"),G=b("el-select"),f=b("el-input"),pe=b("el-checkbox"),me=b("el-checkbox-group"),L=b("el-radio"),z=b("el-radio-group"),be=b("el-row"),fe=b("el-form");return c(),j(k,null,[l(fe,{ref_key:"formRef",ref:g,model:e.value,rules:D.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:o(()=>[l(be,{gutter:40},{default:o(()=>[l(i,{span:24},{default:o(()=>[l(u,{prop:"push",label:"\u9879\u76EE\u662F\u5426\u5F52\u96C6\u7701\u91CC",class:"flex-form-item"},{default:o(()=>[l(v,{modelValue:e.value.push,"onUpdate:modelValue":a[0]||(a[0]=t=>e.value.push=t),class:"mr-8"},null,8,["modelValue"]),l(de,{class:"box-item",content:"\u9009\u62E9\u662F\u7684\u60C5\u51B5\u4E0B\uFF0C\u4F1A\u5C06\u9879\u76EE\u4FE1\u606F\u63A8\u9001\u81F3\u7701\u91CC\u8FDB\u884C\u5F52\u96C6\uFF1B\u9009\u62E9\u5426\u7684\u60C5\u51B5\u4E0B\uFF0C\u4E0D\u4F1A\u5C06\u9879\u76EE\u4FE1\u606F\u63A8\u81F3\u7701\u91CC\u3002",placement:"top"},{default:o(()=>[ke("div",Ne,[l(ie,{class:"cursor-pointer"},{default:o(()=>[l(M)]),_:1})])]),_:1})]),_:1})]),_:1}),W("",!0),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName"},{default:o(()=>[l(f,{modelValue:e.value.baseProjName,"onUpdate:modelValue":a[2]||(a[2]=t=>e.value.baseProjName=t),maxlength:"50",placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u7C7B\u578B",prop:"baseProjType"},{default:o(()=>[l(G,{modelValue:e.value.baseProjType,"onUpdate:modelValue":a[3]||(a[3]=t=>e.value.baseProjType=t),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:o(()=>[(c(!0),j(k,null,w(Ue(q),(t,d)=>(c(),y(R,{key:d,label:t,value:d},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),W("",!0),l(i,{span:8},{default:o(()=>[l(u,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:o(()=>[l(me,{modelValue:e.value.baseConstructionType,"onUpdate:modelValue":a[5]||(a[5]=t=>e.value.baseConstructionType=t)},{default:o(()=>{var t;return[(c(!0),j(k,null,w((t=m.dictionaryList)==null?void 0:t.filter(d=>d.type==="CONTENT_TYPE"),(d,V)=>(c(),y(pe,{key:V,label:d.value},{default:o(()=>[N(X(d.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u72B6\u6001",prop:"baseProjSetProg"},{default:o(()=>[l(G,{modelValue:e.value.baseProjSetProg,"onUpdate:modelValue":a[6]||(a[6]=t=>e.value.baseProjSetProg=t),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:o(()=>{var t;return[(c(!0),j(k,null,w((t=m.dictionaryList)==null?void 0:t.filter(d=>d.type==="PROJECT_STATUS"),(d,V)=>(c(),y(R,{key:V,label:d.label,value:d.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:o(()=>[l(z,{modelValue:e.value.baseProvManDeprtType,"onUpdate:modelValue":a[7]||(a[7]=t=>e.value.baseProvManDeprtType=t),onChange:oe},{default:o(()=>[l(L,{label:"1"},{default:o(()=>[N("\u7701\u7EA7")]),_:1}),l(L,{label:"2"},{default:o(()=>[N("\u975E\u7701\u7EA7")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"baseProvManDeprt"},{default:o(()=>[e.value.baseProvManDeprtType==="2"?(c(),y(f,{key:0,modelValue:e.value.baseProvManDeprt,"onUpdate:modelValue":a[8]||(a[8]=t=>e.value.baseProvManDeprt=t),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[9]||(a[9]=t=>$("baseProvManDeprt"))},null,8,["modelValue"])):(c(),y(f,{key:1,modelValue:e.value.baseProvManDeprt,"onUpdate:modelValue":a[10]||(a[10]=t=>e.value.baseProvManDeprt=t),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:re},null,8,["modelValue"]))]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"baseManDeprt"},{default:o(()=>[l(f,{modelValue:e.value.baseManDeprt,"onUpdate:modelValue":a[11]||(a[11]=t=>e.value.baseManDeprt=t),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[12]||(a[12]=t=>$("baseManDeprt"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:"baseManDepartUsci"},{default:o(()=>[l(f,{modelValue:e.value.baseManDepartUsci,"onUpdate:modelValue":a[13]||(a[13]=t=>e.value.baseManDepartUsci=t),placeholder:"\u8BF7\u586B\u5199",disabled:S.value.baseManDepartUsci},null,8,["modelValue","disabled"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"baseBuildDeprt"},{default:o(()=>[l(f,{modelValue:e.value.baseBuildDeprt,"onUpdate:modelValue":a[14]||(a[14]=t=>e.value.baseBuildDeprt=t),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[15]||(a[15]=t=>$("baseBuildDeprt"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"baseBuildDepartUsci"},{default:o(()=>[l(f,{modelValue:e.value.baseBuildDepartUsci,"onUpdate:modelValue":a[16]||(a[16]=t=>e.value.baseBuildDepartUsci=t),placeholder:"\u8BF7\u586B\u5199",disabled:S.value.baseBuildDepartUsci},null,8,["modelValue","disabled"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"baseProjPrincipal"},{default:o(()=>[l(f,{modelValue:e.value.baseProjPrincipal,"onUpdate:modelValue":a[17]||(a[17]=t=>e.value.baseProjPrincipal=t),readonly:"",placeholder:"\u8BF7\u9009\u62E9\uFF0C\u6E29\u99A8\u63D0\u793A\uFF1A\u9879\u76EE\u8D1F\u8D23\u4EBA\u8BF7\u586B\u5199\u9886\u5BFC\u4FE1\u606F",onClick:a[18]||(a[18]=t=>B("baseProjPrincipal","baseProjPrincipalCall"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801",prop:"baseProjPrincipalCall"},{default:o(()=>[l(f,{modelValue:e.value.baseProjPrincipalCall,"onUpdate:modelValue":a[19]||(a[19]=t=>e.value.baseProjPrincipalCall=t),readonly:"",placeholder:"\u8BF7\u9009\u62E9",onClick:a[20]||(a[20]=t=>B("baseProjPrincipal","baseProjPrincipalCall"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"baseProjContacts"},{default:o(()=>[l(f,{modelValue:e.value.baseProjContacts,"onUpdate:modelValue":a[21]||(a[21]=t=>e.value.baseProjContacts=t),readonly:"",placeholder:"\u8BF7\u9009\u62E9",onClick:a[22]||(a[22]=t=>B("baseProjContacts","baseProjContactsCall"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:8},{default:o(()=>[l(u,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801",prop:"baseProjContactsCall"},{default:o(()=>[l(f,{modelValue:e.value.baseProjContactsCall,"onUpdate:modelValue":a[23]||(a[23]=t=>e.value.baseProjContactsCall=t),readonly:"",placeholder:"\u8BF7\u9009\u62E9",onClick:a[24]||(a[24]=t=>B("baseProjContacts","baseProjContactsCall"))},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:24},{default:o(()=>[l(u,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",prop:"systemPosition"},{default:o(()=>[l(f,{modelValue:e.value.systemPosition,"onUpdate:modelValue":a[25]||(a[25]=t=>e.value.systemPosition=t),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:2e3},null,8,["modelValue"])]),_:1})]),_:1}),l(i,{span:24},{default:o(()=>[l(u,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:o(()=>[l(z,{modelValue:e.value.templateType,"onUpdate:modelValue":a[26]||(a[26]=t=>e.value.templateType=t)},{default:o(()=>[(c(!0),j(k,null,w(h.value,(t,d)=>(c(),y(L,{key:d,label:t.id},{default:o(()=>[N(X(t.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"]),l(Be,{visible:s.unitVisible,"show-checkbox":!1,"default-data":s.data,title:s.title,type:s.type,"default-props":s.defaultProps,params:s.params,onClose:ae,onGetSelectUnit:le},null,8,["visible","default-data","title","type","default-props","params"]),l(Me,{visible:T.visible,params:T.params,onClose:a[27]||(a[27]=t=>T.visible=!1),onGetUserData:te},null,8,["visible","params"]),l(xe,{visible:C.visible,data:C.data,onClose:a[28]||(a[28]=t=>C.visible=!1),onGetBaseProvManDeprt:se},null,8,["visible","data"])],64)}}});export{he as default}; diff --git a/lishui2/web/dist/assets/basicInfo.9d069e6d.js b/lishui2/web/dist/assets/basicInfo.d6b1f825.js similarity index 98% rename from lishui2/web/dist/assets/basicInfo.9d069e6d.js rename to lishui2/web/dist/assets/basicInfo.d6b1f825.js index 5ab26da..5239944 100644 --- a/lishui2/web/dist/assets/basicInfo.9d069e6d.js +++ b/lishui2/web/dist/assets/basicInfo.d6b1f825.js @@ -1 +1 @@ -var al=Object.defineProperty;var Oe=Object.getOwnPropertySymbols;var tl=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable;var Se=(p,V,c)=>V in p?al(p,V,{enumerable:!0,configurable:!0,writable:!0,value:c}):p[V]=c,Te=(p,V)=>{for(var c in V||(V={}))tl.call(V,c)&&Se(p,c,V[c]);if(Oe)for(var c of Oe(V))ol.call(V,c)&&Se(p,c,V[c]);return p};var J=(p,V,c)=>new Promise((E,K)=>{var ae=O=>{try{R(c.next(O))}catch(l){K(l)}},te=O=>{try{R(c.throw(O))}catch(l){K(l)}},R=O=>O.done?E(O.value):Promise.resolve(O.value).then(ae,te);R((c=c.apply(p,V)).next())});import{d as rl,D as se,z as ul,G as sl,r as j,b as G,o as il,L as ie,c as C,e as d,f as D,h as a,i as t,j as b,F as k,J as B,I as f,t as q,u as T,k as U,g as w,Y as Ne,N as nl,a1 as dl}from"./index.51e934d4.js";import{h as pl,i as ml,f as bl,c as Le,b as fl,r as gl}from"./uploadAction.20ffefc6.js";import{c as vl}from"./index.2907f0cd.js";import{_ as cl}from"./index.9c7375b8.js";import yl from"./userDialog.56eaab29.js";import Cl from"./relatedProjectDialog.449a6e4d.js";import Vl from"./projectContentDialog.687b55e6.js";import{a as Pl}from"./indicatorTemplate.c9e7aed6.js";import"./unitManage.1da62722.js";import"./renewalProjectCapitalDeclare.cc76da3a.js";const hl=w("div",null,[w("a",null,"\u4E0A\u4F20")],-1),_l={key:1,class:"text-info cursor-not-allowed"},jl={class:"text-right w-full mb-8"},Dl=["onClick"],kl={class:"text-right w-full mb-8"},wl=["onClick"],Ol=["onClick"],Sl=["onClick"],Tl={class:"text-right w-full mt-8"},Nl={class:"flex"},Ll={class:"dialog-footer"},Ul=rl({name:"basicInfo"}),zl=Object.assign(Ul,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData"],setup(p,{expose:V,emit:c}){const E=p,{fourSystem:K,businessTerritory:ae}=se.dictStore.globalDicts||{},te=ul(),R=se.dictStore.uploadUrl,O=sl(se.userStore).userInfo||{},l=j({baseProjIsConfidentiality:"01",buildOrgName:O.value.empPosUnitName,beseExpectedResults:[]}),ne=j(),de=(e,o,i)=>{if(o==="")return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"));if(/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/.test(o))i();else return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))},pe=(e,o,i)=>{o||i(),l.value.responsibleMan===l.value.contactName&&l.value.responsibleManMobile===l.value.contactPhone?i("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):i()},me=(e,o,i)=>{o||i(),/^\d+(\.\d{1,6})?$/.test(o)?o*1>=1e8?i("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):i():i("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},Ue={baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6",trigger:"change"}],projectName:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",trigger:"blur"}],baseConstructionType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5185\u5BB9\u7C7B\u522B",trigger:"change"}],projectType:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B",trigger:"change"}],isFirst:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u9996\u6B21\u65B0\u5EFA",trigger:"change"}],isInnovateWholeProvinceShare:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u4E00\u5730\u521B\u65B0\u5168\u7701\u5171\u4EAB\u9879\u76EE",trigger:"change"}],isTemporaryAugment:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u4E34\u65F6\u589E\u8865",trigger:"change"}],responsibleMan:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA",trigger:"blur"},{validator:pe}],responsibleManMobile:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:de,trigger:"blur"}],contactName:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA",trigger:"blur"},{validator:pe}],contactPhone:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:de,trigger:"blur"}],buildOrgName:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5355\u4F4D",trigger:"blur"}],orgCreditCode:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",trigger:"blur"}],superOrg:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:",trigger:"change"}],superOrgCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:",trigger:"change"}],superOrgCreditCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:"}],baseProvManDeprtType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B:",trigger:"change"}],higherSuperOrg:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",trigger:"change"}],higherSuperOrgCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",trigger:"change"}],buildDuration:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",trigger:"change"}],fourSystems:[{required:!0,message:"\u8BF7\u9009\u62E9\u56DB\u5927\u4F53\u7CFB",trigger:"change"}],templateType:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",trigger:"change"}],isDigitalReform:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE",trigger:"change"}],bizDomain:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF",trigger:"change"}],buildLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u5C42\u7EA7",trigger:"change"}],lowestLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D2F\u901A\u5C42\u7EA7",trigger:"change"}],baseProjBasis:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ACB\u9879\u4F9D\u636E",trigger:"change"}],baseBasisEstablish:[{required:!0,message:"\u8BF7\u8F93\u5165\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E"}],developCode:[{required:!0,message:"\u8BF7\u586B\u5199\u53D1\u6539\u7F16\u7801",trigger:"blur"}],financialCode:[{required:!0,message:"\u8BF7\u586B\u5199\u8D22\u653F\u7F16\u7801",trigger:"blur"}],isCloud:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E0A\u4E91",trigger:"change"}],cloudType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E91\u7C7B\u578B",trigger:"change"}],systemPosition:[{required:!0,message:"\u8BF7\u8F93\u5165\u7CFB\u7EDF\u5B9A\u4F4D",trigger:"blur"}],projectIntroduction:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u7B80\u4ECB",trigger:"blur"}],baseHistorProjs:[{required:!0,message:"\u8BF7\u81F3\u5C11\u5173\u8054\u4E00\u4E2A\u5386\u5E74\u9879\u76EE"}],beseExpectedResults:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548"}],projectYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6"}],declareAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:me,trigger:"blur"}],annualPlanAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",trigger:"blur"},{validator:me,trigger:"blur"}]},$=j([{id:1,title:"\u56FD\u5BB6\u90E8\u59D4\u53CA\u7701\u5E02\u4E0B\u8FBE\u4EFB\u52A1\u3001\u76F8\u5173\u6587\u4EF6\u660E\u786E\u5EFA\u8BBE\u65F6\u95F4",fileName:"",fileList:[]},{id:2,title:"\u672C\u7EA7\u53CA\u4E0A\u7EA7\u9886\u5BFC\u6279\u793A",fileName:"",fileList:[]},{id:3,title:"\u91CD\u5927\u4EFB\u52A1",fileName:"",fileList:[]},{id:4,title:"\u91CD\u5927\u5171\u6027\u95EE\u9898",fileName:"",fileList:[]},{id:5,title:"\u91CD\u5927\u51B3\u7B56",fileName:"",fileList:[]},{id:6,title:"\u666E\u60E0\u6027\u60E0\u4F01\u5229\u6C11",fileName:"",fileList:[]},{id:7,title:"\u5176\u4ED6",fileName:"",fileList:[]}]),xe=[{type:"selection"},{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u6587\u4EF6\uFF08\u652F\u6301pdf\u3001word\uFF09",slot:"action",width:300}],Q=j(),Ie=e=>{l.value.baseProjBasis=e.map(o=>o)},Be=e=>{ne.value.validate(o=>{e(o)})},$e=e=>{var i,y,s,n,g,x,H;l.value={baseProjIsConfidentiality:e.baseProjIsConfidentiality||"01",projectName:e.projectName,projectType:e.projectType,isFirst:e.isFirst,baseConstructionType:((i=e==null?void 0:e.baseConstructionType)==null?void 0:i.split("\uFF1B"))||void 0,isInnovateWholeProvinceShare:e.isInnovateWholeProvinceShare,isTemporaryAugment:e.isTemporaryAugment,responsibleMan:e.responsibleMan,responsibleManMobile:e.responsibleManMobile,contactName:e.contactName,contactPhone:e.contactPhone,buildOrgName:e.buildOrgName,orgCreditCode:e.orgCreditCode,superOrgCode:e.superOrgCode,superOrg:e.superOrg,superOrgCreditCode:e.superOrgCreditCode||"",baseProvManDeprtType:(e==null?void 0:e.baseProvManDeprtType)+""||"",higherSuperOrgCode:e.higherSuperOrgCode,higherSuperOrg:e.higherSuperOrg,buildDuration:e.beginTime&&e.endTime?[e.beginTime,e.endTime]:[],fourSystems:e.fourSystems,templateType:e.templateType,isDigitalReform:e.isDigitalReform,bizDomain:e.bizDomain&&e.isDigitalReform===1?e.bizDomain.split(","):void 0,buildLevel:e.buildLevel,lowestLevel:e.lowestLevel,buildBasis:void 0,baseProjBasis:((s=(y=e==null?void 0:e.baseProjBasis)==null?void 0:y.split("\uFF1B"))==null?void 0:s.map((N,P)=>{var I,h,S;const M=`[${(I=e.baseProjBasisFile)==null?void 0:I.replace(/}];/g,"}],")}]`;return{title:(S=(h=$.value)==null?void 0:h.find(le=>le.value===N))==null?void 0:S.title,fileList:e!=null&&e.baseProjBasisFile?gl(JSON.parse(M)[P]):[],value:N}}))||[],baseBasisEstablish:e.baseBasisEstablish||"",developCode:e.developCode,financialCode:e.financialCode,isCloud:e.isCloud,cloudType:e.cloudType&&e.cloudType.split(",")||[],systemPosition:e.systemPosition,projectIntroduction:e.projectIntroduction,baseHistorProjs:((n=e==null?void 0:e.baseHistorProjId)==null?void 0:n.split("\uFF1B").map((N,P)=>({baseProjId:N,baseProjName:e==null?void 0:e.baseHistorProjName.split("\uFF1B")[P],baseProjSetYear:e==null?void 0:e.baseHistorProjYear.split("\uFF1B")[P]})))||[],beseExpectedResults:(e==null?void 0:e.beseExpectedResults)&&JSON.parse(e==null?void 0:e.beseExpectedResults)||[],projectYear:e.projectYear?e.projectYear+"":null,declareAmount:e.declareAmount,annualPlanAmount:e.annualPlanAmount};const o=l.value.baseProjBasis?JSON.parse(JSON.stringify(l.value.baseProjBasis)):[];if((x=(g=e==null?void 0:e.baseProjBasis)==null?void 0:g.split("\uFF1B"))!=null&&x.length){const N=(H=e==null?void 0:e.baseProjBasis)==null?void 0:H.split("\uFF1B");$.value&&$.value.forEach(P=>{var M,I;N.includes(P.value)&&(P.fileList=(M=o.find(h=>h.value===P.value))==null?void 0:M.fileList,P.fileName=(I=o.find(h=>h.value===P.value))==null?void 0:I.fileName,Q.value.toggleRowSelect(P,!0))})}},be=c,Me=e=>{be("changeIsFirst",e)},v=G({unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),qe=()=>{v.unitVisible=!0,v.title="\u4E3B\u7BA1\u5355\u4F4D",v.type="UNIT",v.showCheckbox=!0,v.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},v.params={onlyUnit:!0},v.data=l.value.superOrgCode?[{key:l.value.superOrgCode,title:l.value.superOrg}]:[]},Ee=()=>{v.unitVisible=!1},Re=e=>{v.title==="\u4E3B\u7BA1\u5355\u4F4D"?(l.value.superOrgCode=(e==null?void 0:e[0].key)||void 0,l.value.superOrg=(e==null?void 0:e[0].title)||void 0,ge("superOrgCreditCode",e==null?void 0:e[0].key)):(l.value.higherSuperOrgCode=(e==null?void 0:e[0].key)||void 0,l.value.higherSuperOrg=(e==null?void 0:e[0].title)||void 0)},Ye=()=>{v.title="\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",v.type="UNIT",v.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},v.unitVisible=!0,v.data=l.value.higherSuperOrgCode?[{key:l.value.higherSuperOrgCode,title:l.value.higherSuperOrg}]:[]},Y=j(!1),A=G({businessStripName:void 0}),Ae=()=>J(this,null,function*(){X(),Y.value=!0,yield nl(),Q.value.setRadio(l.value.higherSuperOrgCode||"")}),Fe=[{type:"radio",key:"businessStripCode",width:"60"},{label:"\u5355\u4F4D\u540D\u79F0",key:"businessStripName",prop:"businessStripName",minWidth:"150",showOverflowTooltip:!0},{label:"\u5355\u4F4D\u7F16\u7801",key:"businessStripCode",prop:"businessStripCode",minWidth:"150",showOverflowTooltip:!0}],fe=j(),X=()=>J(this,null,function*(){const e=yield vl(Te({},A));fe.value=e.data}),ze=()=>{A.businessStripName=void 0,X()},oe=j(),He=e=>{oe.value=e},We=()=>{Y.value=!1,l.value.higherSuperOrgCode=oe.value.businessStripCode,l.value.higherSuperOrg=oe.value.businessStripName},re=j({}),ge=(e,o)=>J(this,null,function*(){const i=yield dl(o||O.value.empPosUnitCode);re.value[e]=!!i.data.unifiedSocialCreditCode,l.value[e]=i.data.unifiedSocialCreditCode||l.value[e]}),Z=G({visible:!1,params:{}}),ve=j(),ce=j(),ee=(e,o)=>{Z.visible=!0,ve.value=e,ce.value=o},Je=e=>{l.value[ve.value]=e.name,l.value[ce.value]=e.phoneNo},Ge=(e,o)=>{l.value.higherSuperOrgCode="",l.value.higherSuperOrg=""},ye=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],F=G({visible:!1}),Ce=()=>{F.visible=!0,F.data=l.value.baseHistorProjs},Ke=e=>{l.value.baseHistorProjs=e.map(o=>({baseProjName:o.projectName,baseProjSetYear:o.projectYear,baseProjId:o.id}))},Ve=e=>{l.value.baseHistorProjs.splice(e,1)},Qe=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],z=G({visible:!1,data:void 0}),ue=j(),Pe=(e,o)=>{z.data=e,z.visible=!0,ue.value=o},Xe=e=>{ue.value===void 0?l.value.beseExpectedResults.push(e):l.value.beseExpectedResults[ue.value]=e},Ze=e=>{l.value.beseExpectedResults.splice(e,1)},he=j(),el=()=>J(this,null,function*(){var o;const e=yield Pl({pageNumber:1,pageSize:1e4});he.value=((o=e==null?void 0:e.data)==null?void 0:o.records)||[]});return il(()=>{el(),ge("orgCreditCode")}),ie(()=>E.declareAmount,e=>{e>=1e3&&(l.value.isDigitalReform=1)}),V({validForm:Be,formData:l,setFormData:$e}),ie(()=>E.dictionaryList,e=>{var o;e&&($.value=[],(o=E.dictionaryList)==null||o.filter(i=>i.type==="PROJECT_BASIS").forEach(i=>{$.value.push({title:i.label,fileName:"",fileList:[],value:i.value})}))}),ie(()=>l.value,e=>{be("getBasicInfoData",l.value)},{deep:!0}),(e,o)=>{const i=C("el-radio"),y=C("el-radio-group"),s=C("el-form-item"),n=C("el-col"),g=C("el-input"),x=C("el-checkbox"),H=C("el-checkbox-group"),N=C("el-date-picker"),P=C("el-option"),M=C("el-select"),I=C("el-upload"),h=C("table-list"),S=C("el-button"),le=C("el-input-number"),_e=C("el-row"),je=C("el-form"),ll=C("el-dialog");return d(),D(k,null,[a(je,{ref_key:"formRef",ref:ne,model:l.value,rules:Ue,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:t(()=>[a(_e,{gutter:40},{default:t(()=>{var L,De,ke,we;return[a(n,{span:24},{default:t(()=>[a(s,{label:"\u662F\u5426\u6D89\u5BC6",prop:"baseProjIsConfidentiality"},{default:t(()=>[a(y,{modelValue:l.value.baseProjIsConfidentiality,"onUpdate:modelValue":o[0]||(o[0]=r=>l.value.baseProjIsConfidentiality=r)},{default:t(()=>[a(i,{label:"01"},{default:t(()=>[b("\u5426")]),_:1}),a(i,{label:"02"},{default:t(()=>[b("\u662F")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:t(()=>[a(g,{modelValue:l.value.projectName,"onUpdate:modelValue":o[1]||(o[1]=r=>l.value.projectName=r),maxlength:"50",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u7C7B\u578B",prop:"projectType"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.projectType,"onUpdate:modelValue":o[2]||(o[2]=u=>l.value.projectType=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[a(i,{label:"01"},{default:t(()=>[b("\u9996\u6B21\u5EFA\u8BBE")]),_:1}),a(i,{label:"02"},{default:t(()=>[b("\u8FED\u4EE3\u5347\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:t(()=>[a(H,{modelValue:l.value.baseConstructionType,"onUpdate:modelValue":o[3]||(o[3]=r=>l.value.baseConstructionType=r)},{default:t(()=>{var r;return[(d(!0),D(k,null,B((r=p.dictionaryList)==null?void 0:r.filter(u=>u.type==="CONTENT_TYPE"),(u,m)=>(d(),f(x,{key:m,label:u.value},{default:t(()=>[b(q(u.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),D(k,{key:0},[a(n,{span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA",prop:"isFirst"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.isFirst,"onUpdate:modelValue":o[4]||(o[4]=u=>l.value.isFirst=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status),onChange:Me},{default:t(()=>[a(i,{label:1},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u4E00\u5730\u521B\u65B0\u5168\u7701\u5171\u4EAB\u9879\u76EE","label-width":"auto",prop:"isInnovateWholeProvinceShare"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.isInnovateWholeProvinceShare,"onUpdate:modelValue":o[5]||(o[5]=u=>l.value.isInnovateWholeProvinceShare=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[a(i,{label:!0},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:!1},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),T(te).name!="planEdit"?(d(),f(n,{key:0,span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865",prop:"isTemporaryAugment"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.isTemporaryAugment,"onUpdate:modelValue":o[6]||(o[6]=u=>l.value.isTemporaryAugment=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[a(i,{label:1},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})):U("",!0)],64)):U("",!0),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"responsibleMan"},{default:t(()=>[a(g,{modelValue:l.value.responsibleMan,"onUpdate:modelValue":o[7]||(o[7]=r=>l.value.responsibleMan=r),maxlength:"50",readonly:"",placeholder:"\u8BF7\u9009\u62E9\uFF0C\u6E29\u99A8\u63D0\u793A\uFF1A\u9879\u76EE\u8D1F\u8D23\u4EBA\u8BF7\u586B\u5199\u9886\u5BFC\u4FE1\u606F",onClick:o[8]||(o[8]=r=>ee("responsibleMan","responsibleManMobile"))},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",prop:"responsibleManMobile"},{default:t(()=>[a(g,{modelValue:l.value.responsibleManMobile,"onUpdate:modelValue":o[9]||(o[9]=r=>l.value.responsibleManMobile=r),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:o[10]||(o[10]=r=>ee("responsibleMan","responsibleManMobile"))},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"contactName"},{default:t(()=>[a(g,{modelValue:l.value.contactName,"onUpdate:modelValue":o[11]||(o[11]=r=>l.value.contactName=r),maxlength:"50",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:o[12]||(o[12]=r=>ee("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",prop:"contactPhone"},{default:t(()=>[a(g,{modelValue:l.value.contactPhone,"onUpdate:modelValue":o[13]||(o[13]=r=>l.value.contactPhone=r),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:o[14]||(o[14]=r=>ee("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),f(n,{key:1,span:12},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",prop:"buildDuration"},{default:t(()=>[a(N,{modelValue:l.value.buildDuration,"onUpdate:modelValue":o[15]||(o[15]=r=>l.value.buildDuration=r),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1})):U("",!0),a(n,{span:12},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"buildOrgName"},{default:t(()=>[a(g,{modelValue:l.value.buildOrgName,"onUpdate:modelValue":o[16]||(o[16]=r=>l.value.buildOrgName=r),placeholder:"\u8BF7\u8F93\u5165",disabled:!0},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"orgCreditCode"},{default:t(()=>[a(g,{modelValue:l.value.orgCreditCode,"onUpdate:modelValue":o[17]||(o[17]=r=>l.value.orgCreditCode=r),maxlength:"18",placeholder:"\u8BF7\u8F93\u5165",disabled:re.value.orgCreditCode},null,8,["modelValue","disabled"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.baseProvManDeprtType,"onUpdate:modelValue":o[18]||(o[18]=u=>l.value.baseProvManDeprtType=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status),onChange:Ge},{default:t(()=>[a(i,{label:"1"},{default:t(()=>[b("\u7701\u7EA7")]),_:1}),a(i,{label:"2"},{default:t(()=>[b("\u975E\u7701\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"higherSuperOrg"},{default:t(()=>{var r;return[e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)?(d(),f(g,{key:0,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":o[19]||(o[19]=u=>l.value.higherSuperOrg=u),disabled:""},null,8,["modelValue"])):l.value.baseProvManDeprtType==="1"?(d(),f(g,{key:1,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":o[20]||(o[20]=u=>l.value.higherSuperOrg=u),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Ae},null,8,["modelValue"])):(d(),f(g,{key:2,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":o[21]||(o[21]=u=>l.value.higherSuperOrg=u),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Ye},null,8,["modelValue"]))]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"superOrg"},{default:t(()=>{var r,u;return[e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)?(d(),f(g,{key:0,modelValue:l.value.superOrg,"onUpdate:modelValue":o[22]||(o[22]=m=>l.value.superOrg=m),disabled:""},null,8,["modelValue"])):(d(),f(g,{key:1,modelValue:l.value.superOrg,"onUpdate:modelValue":o[23]||(o[23]=m=>l.value.superOrg=m),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((u=p.detailData)==null?void 0:u.status),onClick:qe},null,8,["modelValue","disabled"]))]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:"superOrgCreditCode"},{default:t(()=>{var r;return[a(g,{modelValue:l.value.superOrgCreditCode,"onUpdate:modelValue":o[24]||(o[24]=u=>l.value.superOrgCreditCode=u),placeholder:"\u8BF7\u586B\u5199",disabled:re.value.superOrgCreditCode||e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),D(k,{key:2},[a(n,{span:24},{default:t(()=>[a(s,{label:"\u56DB\u5927\u4F53\u7CFB",prop:"fourSystems"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.fourSystems,"onUpdate:modelValue":o[25]||(o[25]=u=>l.value.fourSystems=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[(d(!0),D(k,null,B(T(K),(u,m)=>(d(),f(i,{key:m,label:m*1},{default:t(()=>[b(q(u),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.templateType,"onUpdate:modelValue":o[26]||(o[26]=u=>l.value.templateType=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[(d(!0),D(k,null,B(he.value,(u,m)=>(d(),f(i,{key:m,label:u.id},{default:t(()=>[b(q(u.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE",prop:"isDigitalReform"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.isDigitalReform,"onUpdate:modelValue":o[27]||(o[27]=u=>l.value.isDigitalReform=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[a(i,{label:1},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[l.value.isDigitalReform===1?(d(),f(s,{key:0,label:"\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF",prop:"bizDomain"},{default:t(()=>{var r;return[a(M,{modelValue:l.value.bizDomain,"onUpdate:modelValue":o[28]||(o[28]=u=>l.value.bizDomain=u),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",multiple:"",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[(d(!0),D(k,null,B(T(ae),(u,m)=>(d(),f(P,{key:m,label:u,value:m},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})):U("",!0)]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"buildLevel"},{default:t(()=>[a(y,{modelValue:l.value.buildLevel,"onUpdate:modelValue":o[29]||(o[29]=r=>l.value.buildLevel=r)},{default:t(()=>{var r;return[(d(!0),D(k,null,B((r=p.dictionaryList)==null?void 0:r.filter(u=>u.type==="BUILD_LEVEL"),(u,m)=>(d(),f(i,{key:m,label:u.value},{default:t(()=>[b(q(u.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),((De=(L=l.value)==null?void 0:L.baseConstructionType)==null?void 0:De.includes("03"))&&!((we=(ke=l.value)==null?void 0:ke.baseConstructionType)!=null&&we.includes("01"))?U("",!0):(d(),f(n,{key:0,span:24},{default:t(()=>{var r,u;return[(u=(r=l.value)==null?void 0:r.baseConstructionType)!=null&&u.includes("01")?(d(),f(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7",prop:"lowestLevel"},{default:t(()=>[a(y,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":o[30]||(o[30]=m=>l.value.lowestLevel=m)},{default:t(()=>{var m;return[(d(!0),D(k,null,B((m=p.dictionaryList)==null?void 0:m.filter(_=>_.type==="BUILD_LEVEL"),(_,W)=>(d(),f(i,{key:W,label:_.value},{default:t(()=>[b(q(_.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),f(s,{key:1,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:t(()=>[a(y,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":o[31]||(o[31]=m=>l.value.lowestLevel=m)},{default:t(()=>{var m;return[(d(!0),D(k,null,B((m=p.dictionaryList)==null?void 0:m.filter(_=>_.type==="BUILD_LEVEL"),(_,W)=>(d(),f(i,{key:W,label:_.value},{default:t(()=>[b(q(_.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1}))]}),_:1})),a(n,{span:24},{default:t(()=>[a(s,{label:"\u7ACB\u9879\u4F9D\u636E\u6750\u6599",prop:"baseProjBasis"},{default:t(()=>[a(h,{ref_key:"tableListRef",ref:Q,pagination:!1,style:{width:"100%"},column:xe,data:$.value,onSelectionChange:Ie},{fileName:t(({scope:r})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(u=>u.value).includes(r.row.value)?(d(),f(s,{key:0},{default:t(()=>{var u,m,_;return[a(g,{value:(_=(m=(u=l.value.baseProjBasis[l.value.baseProjBasis.findIndex(W=>W.value===r.row.value)])==null?void 0:u.fileList)==null?void 0:m[0])==null?void 0:_.name,placeholder:"\u8BF7\u8F93\u5165",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(d(),f(g,{key:1,disabled:!0}))]),action:t(({scope:r})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(u=>u.value).includes(r.row.value)?(d(),f(s,{key:0,class:"basicUploadItem",rules:{required:!0,message:"\u8BF7\u4E0A\u4F20"},prop:`baseProjBasis[${l.value.baseProjBasis.findIndex(u=>u.value===r.row.value)}].fileList`},{default:t(()=>[a(I,{ref:"materialUploadRef","file-list":l.value.baseProjBasis[l.value.baseProjBasis.findIndex(u=>u.value===r.row.value)].fileList,"onUpdate:fileList":u=>l.value.baseProjBasis[l.value.baseProjBasis.findIndex(m=>m.value===r.row.value)].fileList=u,class:"flex items-center flex-col w-full",action:T(R),"on-success":u=>T(pl)(u,l.value.baseProjBasis[l.value.baseProjBasis.findIndex(m=>m.value===r.row.value)].fileList,!0),"on-error":T(ml),"before-upload":u=>T(bl)(u,{types:T(Le)}),limit:1,accept:T(Le).map(u=>`.${u}`).join(","),"on-preview":T(fl)},{trigger:t(()=>[hl]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(d(),D("span",_l,"\u4E0A\u4F20"))]),_:1},8,["data"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",prop:"baseBasisEstablish"},{default:t(()=>[a(g,{modelValue:l.value.baseBasisEstablish,"onUpdate:modelValue":o[32]||(o[32]=r=>l.value.baseBasisEstablish=r),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[(p.declareAmount>=1e3,d(),f(s,{key:1,label:"\u53D1\u6539\u7F16\u7801"},{default:t(()=>{var r;return[a(g,{modelValue:l.value.developCode,"onUpdate:modelValue":o[34]||(o[34]=u=>l.value.developCode=u),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},null,8,["modelValue","disabled"])]}),_:1}))]),_:1}),a(n,{span:12},{default:t(()=>[(p.declareAmount>=1e3,d(),f(s,{key:1,label:"\u8D22\u653F\u7F16\u7801"},{default:t(()=>{var r;return[a(g,{modelValue:l.value.financialCode,"onUpdate:modelValue":o[36]||(o[36]=u=>l.value.financialCode=u),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},null,8,["modelValue","disabled"])]}),_:1}))]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u662F\u5426\u4E0A\u4E91",prop:"isCloud"},{default:t(()=>[a(y,{modelValue:l.value.isCloud,"onUpdate:modelValue":o[37]||(o[37]=r=>l.value.isCloud=r)},{default:t(()=>[a(i,{label:1},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.isCloud===1?(d(),f(n,{key:1,span:24},{default:t(()=>[a(s,{label:"\u4E91\u7C7B\u578B",prop:"cloudType"},{default:t(()=>[a(H,{modelValue:l.value.cloudType,"onUpdate:modelValue":o[38]||(o[38]=r=>l.value.cloudType=r)},{default:t(()=>[a(x,{label:"1"},{default:t(()=>[b("\u653F\u52A1\u4E91\uFF08\u975E\u4FE1\u521B\uFF09")]),_:1}),a(x,{label:"2"},{default:t(()=>[b("\u653F\u52A1\u4E91\uFF08\u4FE1\u521B\uFF09")]),_:1}),a(x,{label:"3"},{default:t(()=>[b("\u5176\u4ED6")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):U("",!0),a(n,{span:24},{default:t(()=>[a(s,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",prop:"systemPosition"},{default:t(()=>[a(g,{modelValue:l.value.systemPosition,"onUpdate:modelValue":o[39]||(o[39]=r=>l.value.systemPosition=r),rows:4,type:"textarea",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",maxlength:"2000"},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u9879\u76EE\u7B80\u4ECB",prop:"projectIntroduction"},{default:t(()=>[a(g,{modelValue:l.value.projectIntroduction,"onUpdate:modelValue":o[40]||(o[40]=r=>l.value.projectIntroduction=r),rows:4,type:"textarea",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",maxlength:"2000"},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[l.value.projectType!=="01"?(d(),f(s,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:t(()=>[w("p",jl,[a(S,{type:"primary",onClick:Ce},{default:t(()=>[b("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),a(h,{pagination:!1,style:{width:"100%"},column:ye,data:l.value.baseHistorProjs,"empty-temp":!1},{action:t(({scope:r})=>[w("a",{class:"text-danger",onClick:u=>Ve(r.$index)},"\u5220\u9664",8,Dl)]),_:1},8,["data"])]),_:1})):(d(),f(s,{key:1,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0"},{default:t(()=>[w("p",kl,[a(S,{type:"primary",onClick:Ce},{default:t(()=>[b("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),a(h,{pagination:!1,style:{width:"100%"},column:ye,data:l.value.baseHistorProjs,"empty-temp":!1},{action:t(({scope:r})=>[w("a",{class:"text-danger",onClick:u=>Ve(r.$index)},"\u5220\u9664",8,wl)]),_:1},8,["data"])]),_:1}))]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",prop:"beseExpectedResults"},{default:t(()=>[a(h,{pagination:!1,style:{width:"100%"},column:Qe,data:l.value.beseExpectedResults,"empty-temp":!1},{action:t(({scope:r})=>[w("a",{onClick:u=>Pe(r.row,r.$index)},"\u7F16\u8F91",8,Ol),w("a",{class:"text-danger",onClick:u=>Ze(r.$index)},"\u5220\u9664",8,Sl)]),_:1},8,["data"]),w("p",Tl,[a(S,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:o[41]||(o[41]=()=>Pe())},{default:t(()=>[b("\u6DFB\u52A0")]),_:1})])]),_:1})]),_:1})],64)):U("",!0),l.value.baseProjIsConfidentiality==="02"?(d(),D(k,{key:3},[a(n,{span:12},{default:t(()=>[a(s,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:t(()=>{var r;return[a(N,{modelValue:l.value.projectYear,"onUpdate:modelValue":o[42]||(o[42]=u=>l.value.projectYear=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:t(()=>[a(le,{modelValue:l.value.declareAmount,"onUpdate:modelValue":o[43]||(o[43]=r=>l.value.declareAmount=r),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:o[44]||(o[44]=Ne(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",prop:"annualPlanAmount"},{default:t(()=>[a(le,{modelValue:l.value.annualPlanAmount,"onUpdate:modelValue":o[45]||(o[45]=r=>l.value.annualPlanAmount=r),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:o[46]||(o[46]=Ne(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})],64)):U("",!0)]}),_:1})]),_:1},8,["model"]),a(cl,{visible:v.unitVisible,"show-checkbox":!1,"default-data":v.data,title:v.title,type:v.type,"default-props":v.defaultProps,params:v.params,onClose:Ee,onGetSelectUnit:Re},null,8,["visible","default-data","title","type","default-props","params"]),a(ll,{"model-value":Y.value,title:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",width:"60%",onClose:o[49]||(o[49]=L=>Y.value=!1)},{footer:t(()=>[w("span",Ll,[a(S,{onClick:o[48]||(o[48]=L=>Y.value=!1)},{default:t(()=>[b("\u5173\u95ED")]),_:1}),a(S,{type:"primary",onClick:We},{default:t(()=>[b(" \u63D0\u4EA4 ")]),_:1})])]),default:t(()=>[a(je,{model:A,size:"small","label-suffix":":"},{default:t(()=>[a(_e,{gutter:16,class:"mb-16"},{default:t(()=>[a(n,{span:8},{default:t(()=>[a(s,{label:"\u5355\u4F4D\u540D\u79F0"},{default:t(()=>[a(g,{modelValue:A.businessStripName,"onUpdate:modelValue":o[47]||(o[47]=L=>A.businessStripName=L),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:16},{default:t(()=>[a(s,{class:"btn"},{default:t(()=>[w("div",Nl,[a(S,{type:"primary",onClick:X},{default:t(()=>[b("\u67E5\u8BE2")]),_:1}),a(S,{onClick:ze},{default:t(()=>[b("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(h,{ref_key:"tableListRef",ref:Q,column:Fe,data:fe.value,pagination:!1,style:{height:"600px",overflow:"auto"},onGetTableData:X,onRadioChange:He},null,8,["data"])]),_:1},8,["model-value"]),a(yl,{visible:Z.visible,params:Z.params,onClose:o[50]||(o[50]=L=>Z.visible=!1),onGetUserData:Je},null,8,["visible","params"]),a(Cl,{visible:F.visible,data:F.data,onGetProjectList:Ke,onClose:o[51]||(o[51]=L=>F.visible=!1)},null,8,["visible","data"]),a(Vl,{visible:z.visible,data:z.data,onSetContent:Xe,onClose:o[52]||(o[52]=L=>z.visible=!1)},null,8,["visible","data"])],64)}}});export{zl as default}; +var al=Object.defineProperty;var Oe=Object.getOwnPropertySymbols;var tl=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable;var Se=(p,V,c)=>V in p?al(p,V,{enumerable:!0,configurable:!0,writable:!0,value:c}):p[V]=c,Te=(p,V)=>{for(var c in V||(V={}))tl.call(V,c)&&Se(p,c,V[c]);if(Oe)for(var c of Oe(V))ol.call(V,c)&&Se(p,c,V[c]);return p};var J=(p,V,c)=>new Promise((E,K)=>{var ae=O=>{try{R(c.next(O))}catch(l){K(l)}},te=O=>{try{R(c.throw(O))}catch(l){K(l)}},R=O=>O.done?E(O.value):Promise.resolve(O.value).then(ae,te);R((c=c.apply(p,V)).next())});import{d as rl,D as se,z as ul,G as sl,r as j,b as G,o as il,L as ie,c as C,e as d,f as D,h as a,i as t,j as b,F as k,J as B,I as f,t as q,u as T,k as U,g as w,Y as Ne,N as nl,a1 as dl}from"./index.07ccce2b.js";import{h as pl,i as ml,f as bl,c as Le,b as fl,r as gl}from"./uploadAction.6462630e.js";import{c as vl}from"./index.afd31e12.js";import{_ as cl}from"./index.7d081cd9.js";import yl from"./userDialog.cc713d99.js";import Cl from"./relatedProjectDialog.23d5d3da.js";import Vl from"./projectContentDialog.955130ed.js";import{a as Pl}from"./indicatorTemplate.a943f5d1.js";import"./unitManage.8b8bec34.js";import"./renewalProjectCapitalDeclare.c1f77844.js";const hl=w("div",null,[w("a",null,"\u4E0A\u4F20")],-1),_l={key:1,class:"text-info cursor-not-allowed"},jl={class:"text-right w-full mb-8"},Dl=["onClick"],kl={class:"text-right w-full mb-8"},wl=["onClick"],Ol=["onClick"],Sl=["onClick"],Tl={class:"text-right w-full mt-8"},Nl={class:"flex"},Ll={class:"dialog-footer"},Ul=rl({name:"basicInfo"}),zl=Object.assign(Ul,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData"],setup(p,{expose:V,emit:c}){const E=p,{fourSystem:K,businessTerritory:ae}=se.dictStore.globalDicts||{},te=ul(),R=se.dictStore.uploadUrl,O=sl(se.userStore).userInfo||{},l=j({baseProjIsConfidentiality:"01",buildOrgName:O.value.empPosUnitName,beseExpectedResults:[]}),ne=j(),de=(e,o,i)=>{if(o==="")return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"));if(/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/.test(o))i();else return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))},pe=(e,o,i)=>{o||i(),l.value.responsibleMan===l.value.contactName&&l.value.responsibleManMobile===l.value.contactPhone?i("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):i()},me=(e,o,i)=>{o||i(),/^\d+(\.\d{1,6})?$/.test(o)?o*1>=1e8?i("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):i():i("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},Ue={baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6",trigger:"change"}],projectName:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",trigger:"blur"}],baseConstructionType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5185\u5BB9\u7C7B\u522B",trigger:"change"}],projectType:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B",trigger:"change"}],isFirst:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u9996\u6B21\u65B0\u5EFA",trigger:"change"}],isInnovateWholeProvinceShare:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u4E00\u5730\u521B\u65B0\u5168\u7701\u5171\u4EAB\u9879\u76EE",trigger:"change"}],isTemporaryAugment:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u4E34\u65F6\u589E\u8865",trigger:"change"}],responsibleMan:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA",trigger:"blur"},{validator:pe}],responsibleManMobile:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:de,trigger:"blur"}],contactName:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA",trigger:"blur"},{validator:pe}],contactPhone:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:de,trigger:"blur"}],buildOrgName:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5355\u4F4D",trigger:"blur"}],orgCreditCode:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",trigger:"blur"}],superOrg:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:",trigger:"change"}],superOrgCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:",trigger:"change"}],superOrgCreditCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:"}],baseProvManDeprtType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B:",trigger:"change"}],higherSuperOrg:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",trigger:"change"}],higherSuperOrgCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",trigger:"change"}],buildDuration:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",trigger:"change"}],fourSystems:[{required:!0,message:"\u8BF7\u9009\u62E9\u56DB\u5927\u4F53\u7CFB",trigger:"change"}],templateType:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",trigger:"change"}],isDigitalReform:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE",trigger:"change"}],bizDomain:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF",trigger:"change"}],buildLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u5C42\u7EA7",trigger:"change"}],lowestLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D2F\u901A\u5C42\u7EA7",trigger:"change"}],baseProjBasis:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ACB\u9879\u4F9D\u636E",trigger:"change"}],baseBasisEstablish:[{required:!0,message:"\u8BF7\u8F93\u5165\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E"}],developCode:[{required:!0,message:"\u8BF7\u586B\u5199\u53D1\u6539\u7F16\u7801",trigger:"blur"}],financialCode:[{required:!0,message:"\u8BF7\u586B\u5199\u8D22\u653F\u7F16\u7801",trigger:"blur"}],isCloud:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E0A\u4E91",trigger:"change"}],cloudType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E91\u7C7B\u578B",trigger:"change"}],systemPosition:[{required:!0,message:"\u8BF7\u8F93\u5165\u7CFB\u7EDF\u5B9A\u4F4D",trigger:"blur"}],projectIntroduction:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u7B80\u4ECB",trigger:"blur"}],baseHistorProjs:[{required:!0,message:"\u8BF7\u81F3\u5C11\u5173\u8054\u4E00\u4E2A\u5386\u5E74\u9879\u76EE"}],beseExpectedResults:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548"}],projectYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6"}],declareAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:me,trigger:"blur"}],annualPlanAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",trigger:"blur"},{validator:me,trigger:"blur"}]},$=j([{id:1,title:"\u56FD\u5BB6\u90E8\u59D4\u53CA\u7701\u5E02\u4E0B\u8FBE\u4EFB\u52A1\u3001\u76F8\u5173\u6587\u4EF6\u660E\u786E\u5EFA\u8BBE\u65F6\u95F4",fileName:"",fileList:[]},{id:2,title:"\u672C\u7EA7\u53CA\u4E0A\u7EA7\u9886\u5BFC\u6279\u793A",fileName:"",fileList:[]},{id:3,title:"\u91CD\u5927\u4EFB\u52A1",fileName:"",fileList:[]},{id:4,title:"\u91CD\u5927\u5171\u6027\u95EE\u9898",fileName:"",fileList:[]},{id:5,title:"\u91CD\u5927\u51B3\u7B56",fileName:"",fileList:[]},{id:6,title:"\u666E\u60E0\u6027\u60E0\u4F01\u5229\u6C11",fileName:"",fileList:[]},{id:7,title:"\u5176\u4ED6",fileName:"",fileList:[]}]),xe=[{type:"selection"},{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u6587\u4EF6\uFF08\u652F\u6301pdf\u3001word\uFF09",slot:"action",width:300}],Q=j(),Ie=e=>{l.value.baseProjBasis=e.map(o=>o)},Be=e=>{ne.value.validate(o=>{e(o)})},$e=e=>{var i,y,s,n,g,x,H;l.value={baseProjIsConfidentiality:e.baseProjIsConfidentiality||"01",projectName:e.projectName,projectType:e.projectType,isFirst:e.isFirst,baseConstructionType:((i=e==null?void 0:e.baseConstructionType)==null?void 0:i.split("\uFF1B"))||void 0,isInnovateWholeProvinceShare:e.isInnovateWholeProvinceShare,isTemporaryAugment:e.isTemporaryAugment,responsibleMan:e.responsibleMan,responsibleManMobile:e.responsibleManMobile,contactName:e.contactName,contactPhone:e.contactPhone,buildOrgName:e.buildOrgName,orgCreditCode:e.orgCreditCode,superOrgCode:e.superOrgCode,superOrg:e.superOrg,superOrgCreditCode:e.superOrgCreditCode||"",baseProvManDeprtType:(e==null?void 0:e.baseProvManDeprtType)+""||"",higherSuperOrgCode:e.higherSuperOrgCode,higherSuperOrg:e.higherSuperOrg,buildDuration:e.beginTime&&e.endTime?[e.beginTime,e.endTime]:[],fourSystems:e.fourSystems,templateType:e.templateType,isDigitalReform:e.isDigitalReform,bizDomain:e.bizDomain&&e.isDigitalReform===1?e.bizDomain.split(","):void 0,buildLevel:e.buildLevel,lowestLevel:e.lowestLevel,buildBasis:void 0,baseProjBasis:((s=(y=e==null?void 0:e.baseProjBasis)==null?void 0:y.split("\uFF1B"))==null?void 0:s.map((N,P)=>{var I,h,S;const M=`[${(I=e.baseProjBasisFile)==null?void 0:I.replace(/}];/g,"}],")}]`;return{title:(S=(h=$.value)==null?void 0:h.find(le=>le.value===N))==null?void 0:S.title,fileList:e!=null&&e.baseProjBasisFile?gl(JSON.parse(M)[P]):[],value:N}}))||[],baseBasisEstablish:e.baseBasisEstablish||"",developCode:e.developCode,financialCode:e.financialCode,isCloud:e.isCloud,cloudType:e.cloudType&&e.cloudType.split(",")||[],systemPosition:e.systemPosition,projectIntroduction:e.projectIntroduction,baseHistorProjs:((n=e==null?void 0:e.baseHistorProjId)==null?void 0:n.split("\uFF1B").map((N,P)=>({baseProjId:N,baseProjName:e==null?void 0:e.baseHistorProjName.split("\uFF1B")[P],baseProjSetYear:e==null?void 0:e.baseHistorProjYear.split("\uFF1B")[P]})))||[],beseExpectedResults:(e==null?void 0:e.beseExpectedResults)&&JSON.parse(e==null?void 0:e.beseExpectedResults)||[],projectYear:e.projectYear?e.projectYear+"":null,declareAmount:e.declareAmount,annualPlanAmount:e.annualPlanAmount};const o=l.value.baseProjBasis?JSON.parse(JSON.stringify(l.value.baseProjBasis)):[];if((x=(g=e==null?void 0:e.baseProjBasis)==null?void 0:g.split("\uFF1B"))!=null&&x.length){const N=(H=e==null?void 0:e.baseProjBasis)==null?void 0:H.split("\uFF1B");$.value&&$.value.forEach(P=>{var M,I;N.includes(P.value)&&(P.fileList=(M=o.find(h=>h.value===P.value))==null?void 0:M.fileList,P.fileName=(I=o.find(h=>h.value===P.value))==null?void 0:I.fileName,Q.value.toggleRowSelect(P,!0))})}},be=c,Me=e=>{be("changeIsFirst",e)},v=G({unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),qe=()=>{v.unitVisible=!0,v.title="\u4E3B\u7BA1\u5355\u4F4D",v.type="UNIT",v.showCheckbox=!0,v.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},v.params={onlyUnit:!0},v.data=l.value.superOrgCode?[{key:l.value.superOrgCode,title:l.value.superOrg}]:[]},Ee=()=>{v.unitVisible=!1},Re=e=>{v.title==="\u4E3B\u7BA1\u5355\u4F4D"?(l.value.superOrgCode=(e==null?void 0:e[0].key)||void 0,l.value.superOrg=(e==null?void 0:e[0].title)||void 0,ge("superOrgCreditCode",e==null?void 0:e[0].key)):(l.value.higherSuperOrgCode=(e==null?void 0:e[0].key)||void 0,l.value.higherSuperOrg=(e==null?void 0:e[0].title)||void 0)},Ye=()=>{v.title="\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",v.type="UNIT",v.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},v.unitVisible=!0,v.data=l.value.higherSuperOrgCode?[{key:l.value.higherSuperOrgCode,title:l.value.higherSuperOrg}]:[]},Y=j(!1),A=G({businessStripName:void 0}),Ae=()=>J(this,null,function*(){X(),Y.value=!0,yield nl(),Q.value.setRadio(l.value.higherSuperOrgCode||"")}),Fe=[{type:"radio",key:"businessStripCode",width:"60"},{label:"\u5355\u4F4D\u540D\u79F0",key:"businessStripName",prop:"businessStripName",minWidth:"150",showOverflowTooltip:!0},{label:"\u5355\u4F4D\u7F16\u7801",key:"businessStripCode",prop:"businessStripCode",minWidth:"150",showOverflowTooltip:!0}],fe=j(),X=()=>J(this,null,function*(){const e=yield vl(Te({},A));fe.value=e.data}),ze=()=>{A.businessStripName=void 0,X()},oe=j(),He=e=>{oe.value=e},We=()=>{Y.value=!1,l.value.higherSuperOrgCode=oe.value.businessStripCode,l.value.higherSuperOrg=oe.value.businessStripName},re=j({}),ge=(e,o)=>J(this,null,function*(){const i=yield dl(o||O.value.empPosUnitCode);re.value[e]=!!i.data.unifiedSocialCreditCode,l.value[e]=i.data.unifiedSocialCreditCode||l.value[e]}),Z=G({visible:!1,params:{}}),ve=j(),ce=j(),ee=(e,o)=>{Z.visible=!0,ve.value=e,ce.value=o},Je=e=>{l.value[ve.value]=e.name,l.value[ce.value]=e.phoneNo},Ge=(e,o)=>{l.value.higherSuperOrgCode="",l.value.higherSuperOrg=""},ye=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],F=G({visible:!1}),Ce=()=>{F.visible=!0,F.data=l.value.baseHistorProjs},Ke=e=>{l.value.baseHistorProjs=e.map(o=>({baseProjName:o.projectName,baseProjSetYear:o.projectYear,baseProjId:o.id}))},Ve=e=>{l.value.baseHistorProjs.splice(e,1)},Qe=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],z=G({visible:!1,data:void 0}),ue=j(),Pe=(e,o)=>{z.data=e,z.visible=!0,ue.value=o},Xe=e=>{ue.value===void 0?l.value.beseExpectedResults.push(e):l.value.beseExpectedResults[ue.value]=e},Ze=e=>{l.value.beseExpectedResults.splice(e,1)},he=j(),el=()=>J(this,null,function*(){var o;const e=yield Pl({pageNumber:1,pageSize:1e4});he.value=((o=e==null?void 0:e.data)==null?void 0:o.records)||[]});return il(()=>{el(),ge("orgCreditCode")}),ie(()=>E.declareAmount,e=>{e>=1e3&&(l.value.isDigitalReform=1)}),V({validForm:Be,formData:l,setFormData:$e}),ie(()=>E.dictionaryList,e=>{var o;e&&($.value=[],(o=E.dictionaryList)==null||o.filter(i=>i.type==="PROJECT_BASIS").forEach(i=>{$.value.push({title:i.label,fileName:"",fileList:[],value:i.value})}))}),ie(()=>l.value,e=>{be("getBasicInfoData",l.value)},{deep:!0}),(e,o)=>{const i=C("el-radio"),y=C("el-radio-group"),s=C("el-form-item"),n=C("el-col"),g=C("el-input"),x=C("el-checkbox"),H=C("el-checkbox-group"),N=C("el-date-picker"),P=C("el-option"),M=C("el-select"),I=C("el-upload"),h=C("table-list"),S=C("el-button"),le=C("el-input-number"),_e=C("el-row"),je=C("el-form"),ll=C("el-dialog");return d(),D(k,null,[a(je,{ref_key:"formRef",ref:ne,model:l.value,rules:Ue,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:t(()=>[a(_e,{gutter:40},{default:t(()=>{var L,De,ke,we;return[a(n,{span:24},{default:t(()=>[a(s,{label:"\u662F\u5426\u6D89\u5BC6",prop:"baseProjIsConfidentiality"},{default:t(()=>[a(y,{modelValue:l.value.baseProjIsConfidentiality,"onUpdate:modelValue":o[0]||(o[0]=r=>l.value.baseProjIsConfidentiality=r)},{default:t(()=>[a(i,{label:"01"},{default:t(()=>[b("\u5426")]),_:1}),a(i,{label:"02"},{default:t(()=>[b("\u662F")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:t(()=>[a(g,{modelValue:l.value.projectName,"onUpdate:modelValue":o[1]||(o[1]=r=>l.value.projectName=r),maxlength:"50",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u7C7B\u578B",prop:"projectType"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.projectType,"onUpdate:modelValue":o[2]||(o[2]=u=>l.value.projectType=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[a(i,{label:"01"},{default:t(()=>[b("\u9996\u6B21\u5EFA\u8BBE")]),_:1}),a(i,{label:"02"},{default:t(()=>[b("\u8FED\u4EE3\u5347\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:t(()=>[a(H,{modelValue:l.value.baseConstructionType,"onUpdate:modelValue":o[3]||(o[3]=r=>l.value.baseConstructionType=r)},{default:t(()=>{var r;return[(d(!0),D(k,null,B((r=p.dictionaryList)==null?void 0:r.filter(u=>u.type==="CONTENT_TYPE"),(u,m)=>(d(),f(x,{key:m,label:u.value},{default:t(()=>[b(q(u.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),D(k,{key:0},[a(n,{span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA",prop:"isFirst"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.isFirst,"onUpdate:modelValue":o[4]||(o[4]=u=>l.value.isFirst=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status),onChange:Me},{default:t(()=>[a(i,{label:1},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u4E00\u5730\u521B\u65B0\u5168\u7701\u5171\u4EAB\u9879\u76EE","label-width":"auto",prop:"isInnovateWholeProvinceShare"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.isInnovateWholeProvinceShare,"onUpdate:modelValue":o[5]||(o[5]=u=>l.value.isInnovateWholeProvinceShare=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[a(i,{label:!0},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:!1},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),T(te).name!="planEdit"?(d(),f(n,{key:0,span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865",prop:"isTemporaryAugment"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.isTemporaryAugment,"onUpdate:modelValue":o[6]||(o[6]=u=>l.value.isTemporaryAugment=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[a(i,{label:1},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})):U("",!0)],64)):U("",!0),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"responsibleMan"},{default:t(()=>[a(g,{modelValue:l.value.responsibleMan,"onUpdate:modelValue":o[7]||(o[7]=r=>l.value.responsibleMan=r),maxlength:"50",readonly:"",placeholder:"\u8BF7\u9009\u62E9\uFF0C\u6E29\u99A8\u63D0\u793A\uFF1A\u9879\u76EE\u8D1F\u8D23\u4EBA\u8BF7\u586B\u5199\u9886\u5BFC\u4FE1\u606F",onClick:o[8]||(o[8]=r=>ee("responsibleMan","responsibleManMobile"))},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",prop:"responsibleManMobile"},{default:t(()=>[a(g,{modelValue:l.value.responsibleManMobile,"onUpdate:modelValue":o[9]||(o[9]=r=>l.value.responsibleManMobile=r),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:o[10]||(o[10]=r=>ee("responsibleMan","responsibleManMobile"))},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"contactName"},{default:t(()=>[a(g,{modelValue:l.value.contactName,"onUpdate:modelValue":o[11]||(o[11]=r=>l.value.contactName=r),maxlength:"50",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:o[12]||(o[12]=r=>ee("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",prop:"contactPhone"},{default:t(()=>[a(g,{modelValue:l.value.contactPhone,"onUpdate:modelValue":o[13]||(o[13]=r=>l.value.contactPhone=r),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:o[14]||(o[14]=r=>ee("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),f(n,{key:1,span:12},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",prop:"buildDuration"},{default:t(()=>[a(N,{modelValue:l.value.buildDuration,"onUpdate:modelValue":o[15]||(o[15]=r=>l.value.buildDuration=r),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1})):U("",!0),a(n,{span:12},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"buildOrgName"},{default:t(()=>[a(g,{modelValue:l.value.buildOrgName,"onUpdate:modelValue":o[16]||(o[16]=r=>l.value.buildOrgName=r),placeholder:"\u8BF7\u8F93\u5165",disabled:!0},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"orgCreditCode"},{default:t(()=>[a(g,{modelValue:l.value.orgCreditCode,"onUpdate:modelValue":o[17]||(o[17]=r=>l.value.orgCreditCode=r),maxlength:"18",placeholder:"\u8BF7\u8F93\u5165",disabled:re.value.orgCreditCode},null,8,["modelValue","disabled"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.baseProvManDeprtType,"onUpdate:modelValue":o[18]||(o[18]=u=>l.value.baseProvManDeprtType=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status),onChange:Ge},{default:t(()=>[a(i,{label:"1"},{default:t(()=>[b("\u7701\u7EA7")]),_:1}),a(i,{label:"2"},{default:t(()=>[b("\u975E\u7701\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"higherSuperOrg"},{default:t(()=>{var r;return[e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)?(d(),f(g,{key:0,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":o[19]||(o[19]=u=>l.value.higherSuperOrg=u),disabled:""},null,8,["modelValue"])):l.value.baseProvManDeprtType==="1"?(d(),f(g,{key:1,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":o[20]||(o[20]=u=>l.value.higherSuperOrg=u),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Ae},null,8,["modelValue"])):(d(),f(g,{key:2,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":o[21]||(o[21]=u=>l.value.higherSuperOrg=u),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Ye},null,8,["modelValue"]))]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"superOrg"},{default:t(()=>{var r,u;return[e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)?(d(),f(g,{key:0,modelValue:l.value.superOrg,"onUpdate:modelValue":o[22]||(o[22]=m=>l.value.superOrg=m),disabled:""},null,8,["modelValue"])):(d(),f(g,{key:1,modelValue:l.value.superOrg,"onUpdate:modelValue":o[23]||(o[23]=m=>l.value.superOrg=m),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((u=p.detailData)==null?void 0:u.status),onClick:qe},null,8,["modelValue","disabled"]))]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:"superOrgCreditCode"},{default:t(()=>{var r;return[a(g,{modelValue:l.value.superOrgCreditCode,"onUpdate:modelValue":o[24]||(o[24]=u=>l.value.superOrgCreditCode=u),placeholder:"\u8BF7\u586B\u5199",disabled:re.value.superOrgCreditCode||e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),D(k,{key:2},[a(n,{span:24},{default:t(()=>[a(s,{label:"\u56DB\u5927\u4F53\u7CFB",prop:"fourSystems"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.fourSystems,"onUpdate:modelValue":o[25]||(o[25]=u=>l.value.fourSystems=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[(d(!0),D(k,null,B(T(K),(u,m)=>(d(),f(i,{key:m,label:m*1},{default:t(()=>[b(q(u),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.templateType,"onUpdate:modelValue":o[26]||(o[26]=u=>l.value.templateType=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[(d(!0),D(k,null,B(he.value,(u,m)=>(d(),f(i,{key:m,label:u.id},{default:t(()=>[b(q(u.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE",prop:"isDigitalReform"},{default:t(()=>{var r;return[a(y,{modelValue:l.value.isDigitalReform,"onUpdate:modelValue":o[27]||(o[27]=u=>l.value.isDigitalReform=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[a(i,{label:1},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[l.value.isDigitalReform===1?(d(),f(s,{key:0,label:"\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF",prop:"bizDomain"},{default:t(()=>{var r;return[a(M,{modelValue:l.value.bizDomain,"onUpdate:modelValue":o[28]||(o[28]=u=>l.value.bizDomain=u),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",multiple:"",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},{default:t(()=>[(d(!0),D(k,null,B(T(ae),(u,m)=>(d(),f(P,{key:m,label:u,value:m},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})):U("",!0)]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"buildLevel"},{default:t(()=>[a(y,{modelValue:l.value.buildLevel,"onUpdate:modelValue":o[29]||(o[29]=r=>l.value.buildLevel=r)},{default:t(()=>{var r;return[(d(!0),D(k,null,B((r=p.dictionaryList)==null?void 0:r.filter(u=>u.type==="BUILD_LEVEL"),(u,m)=>(d(),f(i,{key:m,label:u.value},{default:t(()=>[b(q(u.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),((De=(L=l.value)==null?void 0:L.baseConstructionType)==null?void 0:De.includes("03"))&&!((we=(ke=l.value)==null?void 0:ke.baseConstructionType)!=null&&we.includes("01"))?U("",!0):(d(),f(n,{key:0,span:24},{default:t(()=>{var r,u;return[(u=(r=l.value)==null?void 0:r.baseConstructionType)!=null&&u.includes("01")?(d(),f(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7",prop:"lowestLevel"},{default:t(()=>[a(y,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":o[30]||(o[30]=m=>l.value.lowestLevel=m)},{default:t(()=>{var m;return[(d(!0),D(k,null,B((m=p.dictionaryList)==null?void 0:m.filter(_=>_.type==="BUILD_LEVEL"),(_,W)=>(d(),f(i,{key:W,label:_.value},{default:t(()=>[b(q(_.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),f(s,{key:1,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:t(()=>[a(y,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":o[31]||(o[31]=m=>l.value.lowestLevel=m)},{default:t(()=>{var m;return[(d(!0),D(k,null,B((m=p.dictionaryList)==null?void 0:m.filter(_=>_.type==="BUILD_LEVEL"),(_,W)=>(d(),f(i,{key:W,label:_.value},{default:t(()=>[b(q(_.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1}))]}),_:1})),a(n,{span:24},{default:t(()=>[a(s,{label:"\u7ACB\u9879\u4F9D\u636E\u6750\u6599",prop:"baseProjBasis"},{default:t(()=>[a(h,{ref_key:"tableListRef",ref:Q,pagination:!1,style:{width:"100%"},column:xe,data:$.value,onSelectionChange:Ie},{fileName:t(({scope:r})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(u=>u.value).includes(r.row.value)?(d(),f(s,{key:0},{default:t(()=>{var u,m,_;return[a(g,{value:(_=(m=(u=l.value.baseProjBasis[l.value.baseProjBasis.findIndex(W=>W.value===r.row.value)])==null?void 0:u.fileList)==null?void 0:m[0])==null?void 0:_.name,placeholder:"\u8BF7\u8F93\u5165",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(d(),f(g,{key:1,disabled:!0}))]),action:t(({scope:r})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(u=>u.value).includes(r.row.value)?(d(),f(s,{key:0,class:"basicUploadItem",rules:{required:!0,message:"\u8BF7\u4E0A\u4F20"},prop:`baseProjBasis[${l.value.baseProjBasis.findIndex(u=>u.value===r.row.value)}].fileList`},{default:t(()=>[a(I,{ref:"materialUploadRef","file-list":l.value.baseProjBasis[l.value.baseProjBasis.findIndex(u=>u.value===r.row.value)].fileList,"onUpdate:fileList":u=>l.value.baseProjBasis[l.value.baseProjBasis.findIndex(m=>m.value===r.row.value)].fileList=u,class:"flex items-center flex-col w-full",action:T(R),"on-success":u=>T(pl)(u,l.value.baseProjBasis[l.value.baseProjBasis.findIndex(m=>m.value===r.row.value)].fileList,!0),"on-error":T(ml),"before-upload":u=>T(bl)(u,{types:T(Le)}),limit:1,accept:T(Le).map(u=>`.${u}`).join(","),"on-preview":T(fl)},{trigger:t(()=>[hl]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(d(),D("span",_l,"\u4E0A\u4F20"))]),_:1},8,["data"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",prop:"baseBasisEstablish"},{default:t(()=>[a(g,{modelValue:l.value.baseBasisEstablish,"onUpdate:modelValue":o[32]||(o[32]=r=>l.value.baseBasisEstablish=r),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[(p.declareAmount>=1e3,d(),f(s,{key:1,label:"\u53D1\u6539\u7F16\u7801"},{default:t(()=>{var r;return[a(g,{modelValue:l.value.developCode,"onUpdate:modelValue":o[34]||(o[34]=u=>l.value.developCode=u),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},null,8,["modelValue","disabled"])]}),_:1}))]),_:1}),a(n,{span:12},{default:t(()=>[(p.declareAmount>=1e3,d(),f(s,{key:1,label:"\u8D22\u653F\u7F16\u7801"},{default:t(()=>{var r;return[a(g,{modelValue:l.value.financialCode,"onUpdate:modelValue":o[36]||(o[36]=u=>l.value.financialCode=u),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status)},null,8,["modelValue","disabled"])]}),_:1}))]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u662F\u5426\u4E0A\u4E91",prop:"isCloud"},{default:t(()=>[a(y,{modelValue:l.value.isCloud,"onUpdate:modelValue":o[37]||(o[37]=r=>l.value.isCloud=r)},{default:t(()=>[a(i,{label:1},{default:t(()=>[b("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[b("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.isCloud===1?(d(),f(n,{key:1,span:24},{default:t(()=>[a(s,{label:"\u4E91\u7C7B\u578B",prop:"cloudType"},{default:t(()=>[a(H,{modelValue:l.value.cloudType,"onUpdate:modelValue":o[38]||(o[38]=r=>l.value.cloudType=r)},{default:t(()=>[a(x,{label:"1"},{default:t(()=>[b("\u653F\u52A1\u4E91\uFF08\u975E\u4FE1\u521B\uFF09")]),_:1}),a(x,{label:"2"},{default:t(()=>[b("\u653F\u52A1\u4E91\uFF08\u4FE1\u521B\uFF09")]),_:1}),a(x,{label:"3"},{default:t(()=>[b("\u5176\u4ED6")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):U("",!0),a(n,{span:24},{default:t(()=>[a(s,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",prop:"systemPosition"},{default:t(()=>[a(g,{modelValue:l.value.systemPosition,"onUpdate:modelValue":o[39]||(o[39]=r=>l.value.systemPosition=r),rows:4,type:"textarea",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",maxlength:"2000"},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u9879\u76EE\u7B80\u4ECB",prop:"projectIntroduction"},{default:t(()=>[a(g,{modelValue:l.value.projectIntroduction,"onUpdate:modelValue":o[40]||(o[40]=r=>l.value.projectIntroduction=r),rows:4,type:"textarea",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",maxlength:"2000"},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[l.value.projectType!=="01"?(d(),f(s,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:t(()=>[w("p",jl,[a(S,{type:"primary",onClick:Ce},{default:t(()=>[b("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),a(h,{pagination:!1,style:{width:"100%"},column:ye,data:l.value.baseHistorProjs,"empty-temp":!1},{action:t(({scope:r})=>[w("a",{class:"text-danger",onClick:u=>Ve(r.$index)},"\u5220\u9664",8,Dl)]),_:1},8,["data"])]),_:1})):(d(),f(s,{key:1,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0"},{default:t(()=>[w("p",kl,[a(S,{type:"primary",onClick:Ce},{default:t(()=>[b("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),a(h,{pagination:!1,style:{width:"100%"},column:ye,data:l.value.baseHistorProjs,"empty-temp":!1},{action:t(({scope:r})=>[w("a",{class:"text-danger",onClick:u=>Ve(r.$index)},"\u5220\u9664",8,wl)]),_:1},8,["data"])]),_:1}))]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",prop:"beseExpectedResults"},{default:t(()=>[a(h,{pagination:!1,style:{width:"100%"},column:Qe,data:l.value.beseExpectedResults,"empty-temp":!1},{action:t(({scope:r})=>[w("a",{onClick:u=>Pe(r.row,r.$index)},"\u7F16\u8F91",8,Ol),w("a",{class:"text-danger",onClick:u=>Ze(r.$index)},"\u5220\u9664",8,Sl)]),_:1},8,["data"]),w("p",Tl,[a(S,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:o[41]||(o[41]=()=>Pe())},{default:t(()=>[b("\u6DFB\u52A0")]),_:1})])]),_:1})]),_:1})],64)):U("",!0),l.value.baseProjIsConfidentiality==="02"?(d(),D(k,{key:3},[a(n,{span:12},{default:t(()=>[a(s,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:t(()=>{var r;return[a(N,{modelValue:l.value.projectYear,"onUpdate:modelValue":o[42]||(o[42]=u=>l.value.projectYear=u),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((r=p.detailData)==null?void 0:r.status),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[a(s,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:t(()=>[a(le,{modelValue:l.value.declareAmount,"onUpdate:modelValue":o[43]||(o[43]=r=>l.value.declareAmount=r),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:o[44]||(o[44]=Ne(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",prop:"annualPlanAmount"},{default:t(()=>[a(le,{modelValue:l.value.annualPlanAmount,"onUpdate:modelValue":o[45]||(o[45]=r=>l.value.annualPlanAmount=r),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:o[46]||(o[46]=Ne(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})],64)):U("",!0)]}),_:1})]),_:1},8,["model"]),a(cl,{visible:v.unitVisible,"show-checkbox":!1,"default-data":v.data,title:v.title,type:v.type,"default-props":v.defaultProps,params:v.params,onClose:Ee,onGetSelectUnit:Re},null,8,["visible","default-data","title","type","default-props","params"]),a(ll,{"model-value":Y.value,title:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",width:"60%",onClose:o[49]||(o[49]=L=>Y.value=!1)},{footer:t(()=>[w("span",Ll,[a(S,{onClick:o[48]||(o[48]=L=>Y.value=!1)},{default:t(()=>[b("\u5173\u95ED")]),_:1}),a(S,{type:"primary",onClick:We},{default:t(()=>[b(" \u63D0\u4EA4 ")]),_:1})])]),default:t(()=>[a(je,{model:A,size:"small","label-suffix":":"},{default:t(()=>[a(_e,{gutter:16,class:"mb-16"},{default:t(()=>[a(n,{span:8},{default:t(()=>[a(s,{label:"\u5355\u4F4D\u540D\u79F0"},{default:t(()=>[a(g,{modelValue:A.businessStripName,"onUpdate:modelValue":o[47]||(o[47]=L=>A.businessStripName=L),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(n,{span:16},{default:t(()=>[a(s,{class:"btn"},{default:t(()=>[w("div",Nl,[a(S,{type:"primary",onClick:X},{default:t(()=>[b("\u67E5\u8BE2")]),_:1}),a(S,{onClick:ze},{default:t(()=>[b("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(h,{ref_key:"tableListRef",ref:Q,column:Fe,data:fe.value,pagination:!1,style:{height:"600px",overflow:"auto"},onGetTableData:X,onRadioChange:He},null,8,["data"])]),_:1},8,["model-value"]),a(yl,{visible:Z.visible,params:Z.params,onClose:o[50]||(o[50]=L=>Z.visible=!1),onGetUserData:Je},null,8,["visible","params"]),a(Cl,{visible:F.visible,data:F.data,onGetProjectList:Ke,onClose:o[51]||(o[51]=L=>F.visible=!1)},null,8,["visible","data"]),a(Vl,{visible:z.visible,data:z.data,onSetContent:Xe,onClose:o[52]||(o[52]=L=>z.visible=!1)},null,8,["visible","data"])],64)}}});export{zl as default}; diff --git a/lishui2/web/dist/assets/basicInfo.de8c52ae.js b/lishui2/web/dist/assets/basicInfo.fa038a89.js similarity index 98% rename from lishui2/web/dist/assets/basicInfo.de8c52ae.js rename to lishui2/web/dist/assets/basicInfo.fa038a89.js index 8ab21f5..53f7e4e 100644 --- a/lishui2/web/dist/assets/basicInfo.de8c52ae.js +++ b/lishui2/web/dist/assets/basicInfo.fa038a89.js @@ -1 +1 @@ -var oe=Object.defineProperty,te=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var L=(g,s,i)=>s in g?oe(g,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):g[s]=i,z=(g,s)=>{for(var i in s||(s={}))ne.call(s,i)&&L(g,i,s[i]);if(E)for(var i of E(s))ue.call(s,i)&&L(g,i,s[i]);return g},j=(g,s)=>te(g,re(s));var R=(g,s,i)=>new Promise((N,U)=>{var F=c=>{try{k(i.next(c))}catch(I){U(I)}},a=c=>{try{k(i.throw(c))}catch(I){U(I)}},k=c=>c.done?N(c.value):Promise.resolve(c.value).then(F,a);k((i=i.apply(g,s)).next())});import{d as de,D as V,G as P,r as S,o as ie,H as se,c as m,e as f,I as y,i as t,h as e,f as b,J as h,u as x,F as C,k as Y,g as G,j as pe}from"./index.51e934d4.js";import{a as M,f as me}from"./uploadAction.20ffefc6.js";import{z as fe}from"./expertStore.d5f84abe.js";const ge=["onClick"],ce={class:"addGhostBtn mt-8 w-full"},_e=["src"],ve={key:1,class:"el-icon-plus avatar-uploader-icon"},be=G("div",{class:"limit-name ml-4"},"\u8BF7\u4E0A\u4F20\u84DD\u5E951\u5BF8\u514D\u51A0\u7167\u7247\uFF0C\u5C0F\u4E8E500Kb",-1),Ve=de({name:"basicInfo"}),we=Object.assign(Ve,{setup(g,{expose:s}){const i=V.dictStore.uploadUrl,N=P(V.userStore).userInfo,{nationList:U}=V.dictStore.globalDicts,{tagList:F}=P(V.dictStore),a=S({expertIntentionWorkRegions:[{}],avatarFile:{fileId:""}}),k=S(),c=(r,o,d)=>{if(o==="")return d(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"));if(/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/.test(o))d();else return d(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))},I=(r,o,d)=>{const n=/^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,u=/^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;n.test(o)||u.test(o)?d():d("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F")},A={phoneNo:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",trigger:"blur"},{validator:c,trigger:"blur"}],name:[{required:!0,message:"\u8BF7\u8F93\u5165\u59D3\u540D",trigger:"blur"}],gender:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B",trigger:"blur"}],hometown:[{required:!0,message:"\u8BF7\u9009\u62E9\u7C4D\u8D2F",trigger:"blur"}],nationality:[{required:!0,message:"\u8BF7\u9009\u62E9\u6C11\u65CF",trigger:"blur"}],political:[{required:!0,message:"\u8BF7\u9009\u62E9\u653F\u6CBB\u9762\u8C8C",trigger:"blur"}],idCard:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7",trigger:"blur"},{validator:I,tigger:"blur"}],birth:[{required:!0,message:"\u8BF7\u9009\u62E9\u51FA\u751F\u5E74\u6708",trigger:"blur"}],bankNo:[{required:!0,message:"\u8BF7\u8F93\u5165\u94F6\u884C\u5361\u53F7",trigger:"blur"}],bank:[{required:!1,message:"\u8BF7\u8F93\u5165\u5F00\u6237\u884C",trigger:"blur"}],email:[{required:!1,message:"\u8BF7\u8F93\u5165\u7535\u5B50\u90AE\u7BB1",trigger:"blur"},{pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u90AE\u7BB1",trigger:"blur"}],expertSource:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u4E13\u5BB6\u6765\u6E90"}],expertRegionInfo:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u4E13\u5BB6\u7EA7\u522B"}],expertIntentionWorkRegions:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u5C65\u804C\u610F\u5411"}],expertType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E13\u5BB6\u7C7B\u578B",trigger:"blur"}],avatarUrl:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u514D\u51A0\u7167"}]},H=r=>{k.value.validate(o=>{r(o)})},J=r=>R(this,null,function*(){var o,d,n,u,_,v;a.value=j(z({},r),{political:((o=r.political)==null?void 0:o[0])||void 0,expertSource:((d=r.expertSource)==null?void 0:d[0])||void 0,expertType:((n=r.expertType)==null?void 0:n[0])||void 0,expertRegionInfo:(u=r.expertRegionInfo.regionName)==null?void 0:u.split("@@").slice(1),expertIntentionWorkRegions:(_=r.expertIntentionWorkRegions)==null?void 0:_.map(D=>({unionCode:D.regionName.split("@@").slice(1)})),avatarUrl:((v=r==null?void 0:r.avatarFile)==null?void 0:v.fileId)&&(yield M(r.avatarFile.fileId)),avatarFile:(r==null?void 0:r.avatarFile)||{fileId:""}})}),q=S(),$=(r,o)=>{r==="add"?a.value.expertIntentionWorkRegions.push({id:new Date().getTime()}):a.value.expertIntentionWorkRegions.splice(o,1)},K=r=>{a.value.avatarFile.fileId=r.data.id,M(r.data.id).then(o=>{a.value.avatarUrl=o})},O=()=>R(this,null,function*(){const r=yield fe({phoneNo:a.value.phoneNo});a.value.isDingUser=r.data.isDingUser,r.data.isDingUser&&(a.value.name=r.data.name)});return s({validForm:H,formData:a,setFormData:J}),ie(()=>R(this,null,function*(){const r=yield se({regionCode:331100,regionLevel:2});q.value=[r.data]})),(r,o)=>{const d=m("el-input"),n=m("el-form-item"),u=m("el-col"),_=m("el-option"),v=m("el-select"),D=m("el-date-picker"),B=m("el-cascader"),X=m("Delete"),T=m("el-icon"),W=m("el-row"),Z=m("el-button"),Q=m("Camera"),ee=m("el-upload"),le=m("el-form");return f(),y(le,{ref_key:"formRef",ref:k,model:a.value,rules:A,"label-position":"right","label-width":"120px","label-suffix":":","scroll-to-error":"",class:"basicInfo"},{default:t(()=>[e(W,{gutter:8},{default:t(()=>[e(u,{span:8},{default:t(()=>[e(n,{label:"\u624B\u673A\u53F7",prop:"phoneNo"},{default:t(()=>[e(d,{modelValue:a.value.phoneNo,"onUpdate:modelValue":o[0]||(o[0]=l=>a.value.phoneNo=l),placeholder:"\u8BF7\u8F93\u5165",maxlength:11,disabled:!!r.$route.query.id||r.$route.name==="selfEditExpertInfo",onBlur:O},null,8,["modelValue","disabled"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u59D3\u540D",prop:"name"},{default:t(()=>[e(d,{modelValue:a.value.name,"onUpdate:modelValue":o[1]||(o[1]=l=>a.value.name=l),placeholder:"\u8BF7\u8F93\u5165",disabled:!!r.$route.query.id||r.$route.name==="selfEditExpertInfo"},null,8,["modelValue","disabled"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u6027\u522B",prop:"gender"},{default:t(()=>[e(v,{modelValue:a.value.gender,"onUpdate:modelValue":o[2]||(o[2]=l=>a.value.gender=l),class:"w-full",placeholder:"\u8BF7\u9009\u62E9"},{default:t(()=>[e(_,{value:"1",label:"\u7537"}),e(_,{value:"0",label:"\u5973"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u7C4D\u8D2F",prop:"hometown"},{default:t(()=>[e(d,{modelValue:a.value.hometown,"onUpdate:modelValue":o[3]||(o[3]=l=>a.value.hometown=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u6C11\u65CF",prop:"nationality"},{default:t(()=>[e(v,{modelValue:a.value.nationality,"onUpdate:modelValue":o[4]||(o[4]=l=>a.value.nationality=l),class:"m-2 w-full",placeholder:"\u8BF7\u9009\u62E9"},{default:t(()=>[(f(!0),b(C,null,h(x(U),l=>(f(),y(_,{key:l.id,label:l.info,value:l.info},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u653F\u6CBB\u9762\u8C8C",prop:"political"},{default:t(()=>[e(v,{modelValue:a.value.political,"onUpdate:modelValue":o[5]||(o[5]=l=>a.value.political=l),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"dictionaryCode"},{default:t(()=>[(f(!0),b(C,null,h(x(V).dictStore.politicalDict,(l,p)=>(f(),y(_,{key:p,label:l.dictionaryName,value:l},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u8EAB\u4EFD\u8BC1",prop:"idCard"},{default:t(()=>[e(d,{modelValue:a.value.idCard,"onUpdate:modelValue":o[6]||(o[6]=l=>a.value.idCard=l),placeholder:"\u8BF7\u8F93\u5165",maxlength:18},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u529E\u516C\u7535\u8BDD",prop:"officePhone"},{default:t(()=>[e(d,{modelValue:a.value.officePhone,"onUpdate:modelValue":o[7]||(o[7]=l=>a.value.officePhone=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u51FA\u751F\u5E74\u6708",prop:"birth"},{default:t(()=>[e(D,{modelValue:a.value.birth,"onUpdate:modelValue":o[8]||(o[8]=l=>a.value.birth=l),type:"month",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY-MM"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u94F6\u884C\u5361\u53F7",prop:"bankNo"},{default:t(()=>[e(d,{modelValue:a.value.bankNo,"onUpdate:modelValue":o[9]||(o[9]=l=>a.value.bankNo=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u5F00\u6237\u94F6\u884C",prop:"bank"},{default:t(()=>[e(d,{modelValue:a.value.bank,"onUpdate:modelValue":o[10]||(o[10]=l=>a.value.bank=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u7535\u5B50\u90AE\u7BB1",prop:"email"},{default:t(()=>[e(d,{modelValue:a.value.email,"onUpdate:modelValue":o[11]||(o[11]=l=>a.value.email=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),Y("",!0),e(u,{span:8},{default:t(()=>[e(n,{label:"\u4E13\u5BB6\u7EA7\u522B",prop:"expertRegionInfo"},{default:t(()=>{var l,p,w;return[e(B,{modelValue:a.value.expertRegionInfo,"onUpdate:modelValue":o[13]||(o[13]=ae=>a.value.expertRegionInfo=ae),options:q.value,props:{value:"unionCode",label:"name"},clearable:"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full",disabled:r.$route.name==="selfEditExpertInfo"||r.$route.query.id&&x(N).regionCode!==((w=(l=a.value)==null?void 0:l.expertRegionInfo)==null?void 0:w[((p=a.value.expertRegionInfo)==null?void 0:p.length)-1].split("##")[0])},null,8,["modelValue","options","disabled"])]}),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u4E13\u5BB6\u6765\u6E90"},{default:t(()=>[e(v,{modelValue:a.value.expertSource,"onUpdate:modelValue":o[14]||(o[14]=l=>a.value.expertSource=l),class:"w-full",placeholder:"\u8BF7\u9009\u62E9",clearable:"","value-key":"tagCode"},{default:t(()=>[(f(!0),b(C,null,h(x(V).dictStore.expertSourceDict,(l,p)=>(f(),y(_,{key:p,label:l.tagName,value:l},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u4E13\u5BB6\u7C7B\u578B",prop:"expertType"},{default:t(()=>[e(v,{modelValue:a.value.expertType,"onUpdate:modelValue":o[15]||(o[15]=l=>a.value.expertType=l),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"dictionaryCode"},{default:t(()=>[(f(!0),b(C,null,h(x(V).dictStore.expertTypeDict,(l,p)=>(f(),y(_,{key:p,label:l.dictionaryName,value:l},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u5C65\u804C\u610F\u5411",prop:"expertIntentionWorkRegions"},{default:t(()=>[(f(!0),b(C,null,h(a.value.expertIntentionWorkRegions,(l,p)=>(f(),y(W,{key:l.id,class:"intention-item w-full"},{default:t(()=>[e(u,{span:24},{default:t(()=>[e(B,{modelValue:a.value.expertIntentionWorkRegions[p].unionCode,"onUpdate:modelValue":w=>a.value.expertIntentionWorkRegions[p].unionCode=w,options:q.value,props:{value:"unionCode",label:"name"},clearable:"",style:{width:"100%"},class:"mb-4"},null,8,["modelValue","onUpdate:modelValue","options"]),p>0?(f(),b("span",{key:0,style:{position:"absolute",right:"-20px"},onClick:w=>$("del",p)},[e(T,null,{default:t(()=>[e(X,{color:"#D40000"})]),_:1})],8,ge)):Y("",!0)]),_:2},1024)]),_:2},1024))),128)),G("p",ce,[e(Z,{class:"w-full",type:"primary",plain:"",style:{margin:"0"},onClick:o[16]||(o[16]=l=>$("add"))},{default:t(()=>[pe(" + \u589E\u52A0\u5C65\u804C\u610F\u5411\u5730\u533A ")]),_:1})])]),_:1})]),_:1}),e(u,{span:24},{default:t(()=>[e(n,{class:"avatarForm",label:"\u4E00\u5BF8\u514D\u51A0\u7167",prop:"avatarUrl",style:{"margin-bottom":"32px"}},{default:t(()=>[e(ee,{class:"avatar-uploader",action:x(i),"show-file-list":!1,"on-success":K,"before-upload":l=>x(me)(l,{size:500,types:["image/png","image/jpeg"]}),accept:"image/png,image/jpeg"},{default:t(()=>[a.value.avatarUrl?(f(),b("img",{key:0,src:a.value.avatarUrl,class:"avatar"},null,8,_e)):(f(),b("i",ve,[e(T,null,{default:t(()=>[e(Q)]),_:1})]))]),_:1},8,["action","before-upload"]),be]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{we as default}; +var oe=Object.defineProperty,te=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var L=(g,s,i)=>s in g?oe(g,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):g[s]=i,z=(g,s)=>{for(var i in s||(s={}))ne.call(s,i)&&L(g,i,s[i]);if(E)for(var i of E(s))ue.call(s,i)&&L(g,i,s[i]);return g},j=(g,s)=>te(g,re(s));var R=(g,s,i)=>new Promise((N,U)=>{var F=c=>{try{k(i.next(c))}catch(I){U(I)}},a=c=>{try{k(i.throw(c))}catch(I){U(I)}},k=c=>c.done?N(c.value):Promise.resolve(c.value).then(F,a);k((i=i.apply(g,s)).next())});import{d as de,D as V,G as P,r as S,o as ie,H as se,c as m,e as f,I as y,i as t,h as e,f as b,J as h,u as x,F as C,k as Y,g as G,j as pe}from"./index.07ccce2b.js";import{a as M,f as me}from"./uploadAction.6462630e.js";import{z as fe}from"./expertStore.1fac67af.js";const ge=["onClick"],ce={class:"addGhostBtn mt-8 w-full"},_e=["src"],ve={key:1,class:"el-icon-plus avatar-uploader-icon"},be=G("div",{class:"limit-name ml-4"},"\u8BF7\u4E0A\u4F20\u84DD\u5E951\u5BF8\u514D\u51A0\u7167\u7247\uFF0C\u5C0F\u4E8E500Kb",-1),Ve=de({name:"basicInfo"}),we=Object.assign(Ve,{setup(g,{expose:s}){const i=V.dictStore.uploadUrl,N=P(V.userStore).userInfo,{nationList:U}=V.dictStore.globalDicts,{tagList:F}=P(V.dictStore),a=S({expertIntentionWorkRegions:[{}],avatarFile:{fileId:""}}),k=S(),c=(r,o,d)=>{if(o==="")return d(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"));if(/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/.test(o))d();else return d(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))},I=(r,o,d)=>{const n=/^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,u=/^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;n.test(o)||u.test(o)?d():d("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F")},A={phoneNo:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",trigger:"blur"},{validator:c,trigger:"blur"}],name:[{required:!0,message:"\u8BF7\u8F93\u5165\u59D3\u540D",trigger:"blur"}],gender:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B",trigger:"blur"}],hometown:[{required:!0,message:"\u8BF7\u9009\u62E9\u7C4D\u8D2F",trigger:"blur"}],nationality:[{required:!0,message:"\u8BF7\u9009\u62E9\u6C11\u65CF",trigger:"blur"}],political:[{required:!0,message:"\u8BF7\u9009\u62E9\u653F\u6CBB\u9762\u8C8C",trigger:"blur"}],idCard:[{required:!0,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8EAB\u4EFD\u8BC1\u53F7",trigger:"blur"},{validator:I,tigger:"blur"}],birth:[{required:!0,message:"\u8BF7\u9009\u62E9\u51FA\u751F\u5E74\u6708",trigger:"blur"}],bankNo:[{required:!0,message:"\u8BF7\u8F93\u5165\u94F6\u884C\u5361\u53F7",trigger:"blur"}],bank:[{required:!1,message:"\u8BF7\u8F93\u5165\u5F00\u6237\u884C",trigger:"blur"}],email:[{required:!1,message:"\u8BF7\u8F93\u5165\u7535\u5B50\u90AE\u7BB1",trigger:"blur"},{pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,message:"\u8BF7\u8F93\u5165\u6B63\u786E\u90AE\u7BB1",trigger:"blur"}],expertSource:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u4E13\u5BB6\u6765\u6E90"}],expertRegionInfo:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u4E13\u5BB6\u7EA7\u522B"}],expertIntentionWorkRegions:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u5C65\u804C\u610F\u5411"}],expertType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E13\u5BB6\u7C7B\u578B",trigger:"blur"}],avatarUrl:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u514D\u51A0\u7167"}]},H=r=>{k.value.validate(o=>{r(o)})},J=r=>R(this,null,function*(){var o,d,n,u,_,v;a.value=j(z({},r),{political:((o=r.political)==null?void 0:o[0])||void 0,expertSource:((d=r.expertSource)==null?void 0:d[0])||void 0,expertType:((n=r.expertType)==null?void 0:n[0])||void 0,expertRegionInfo:(u=r.expertRegionInfo.regionName)==null?void 0:u.split("@@").slice(1),expertIntentionWorkRegions:(_=r.expertIntentionWorkRegions)==null?void 0:_.map(D=>({unionCode:D.regionName.split("@@").slice(1)})),avatarUrl:((v=r==null?void 0:r.avatarFile)==null?void 0:v.fileId)&&(yield M(r.avatarFile.fileId)),avatarFile:(r==null?void 0:r.avatarFile)||{fileId:""}})}),q=S(),$=(r,o)=>{r==="add"?a.value.expertIntentionWorkRegions.push({id:new Date().getTime()}):a.value.expertIntentionWorkRegions.splice(o,1)},K=r=>{a.value.avatarFile.fileId=r.data.id,M(r.data.id).then(o=>{a.value.avatarUrl=o})},O=()=>R(this,null,function*(){const r=yield fe({phoneNo:a.value.phoneNo});a.value.isDingUser=r.data.isDingUser,r.data.isDingUser&&(a.value.name=r.data.name)});return s({validForm:H,formData:a,setFormData:J}),ie(()=>R(this,null,function*(){const r=yield se({regionCode:331100,regionLevel:2});q.value=[r.data]})),(r,o)=>{const d=m("el-input"),n=m("el-form-item"),u=m("el-col"),_=m("el-option"),v=m("el-select"),D=m("el-date-picker"),B=m("el-cascader"),X=m("Delete"),T=m("el-icon"),W=m("el-row"),Z=m("el-button"),Q=m("Camera"),ee=m("el-upload"),le=m("el-form");return f(),y(le,{ref_key:"formRef",ref:k,model:a.value,rules:A,"label-position":"right","label-width":"120px","label-suffix":":","scroll-to-error":"",class:"basicInfo"},{default:t(()=>[e(W,{gutter:8},{default:t(()=>[e(u,{span:8},{default:t(()=>[e(n,{label:"\u624B\u673A\u53F7",prop:"phoneNo"},{default:t(()=>[e(d,{modelValue:a.value.phoneNo,"onUpdate:modelValue":o[0]||(o[0]=l=>a.value.phoneNo=l),placeholder:"\u8BF7\u8F93\u5165",maxlength:11,disabled:!!r.$route.query.id||r.$route.name==="selfEditExpertInfo",onBlur:O},null,8,["modelValue","disabled"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u59D3\u540D",prop:"name"},{default:t(()=>[e(d,{modelValue:a.value.name,"onUpdate:modelValue":o[1]||(o[1]=l=>a.value.name=l),placeholder:"\u8BF7\u8F93\u5165",disabled:!!r.$route.query.id||r.$route.name==="selfEditExpertInfo"},null,8,["modelValue","disabled"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u6027\u522B",prop:"gender"},{default:t(()=>[e(v,{modelValue:a.value.gender,"onUpdate:modelValue":o[2]||(o[2]=l=>a.value.gender=l),class:"w-full",placeholder:"\u8BF7\u9009\u62E9"},{default:t(()=>[e(_,{value:"1",label:"\u7537"}),e(_,{value:"0",label:"\u5973"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u7C4D\u8D2F",prop:"hometown"},{default:t(()=>[e(d,{modelValue:a.value.hometown,"onUpdate:modelValue":o[3]||(o[3]=l=>a.value.hometown=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u6C11\u65CF",prop:"nationality"},{default:t(()=>[e(v,{modelValue:a.value.nationality,"onUpdate:modelValue":o[4]||(o[4]=l=>a.value.nationality=l),class:"m-2 w-full",placeholder:"\u8BF7\u9009\u62E9"},{default:t(()=>[(f(!0),b(C,null,h(x(U),l=>(f(),y(_,{key:l.id,label:l.info,value:l.info},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u653F\u6CBB\u9762\u8C8C",prop:"political"},{default:t(()=>[e(v,{modelValue:a.value.political,"onUpdate:modelValue":o[5]||(o[5]=l=>a.value.political=l),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"dictionaryCode"},{default:t(()=>[(f(!0),b(C,null,h(x(V).dictStore.politicalDict,(l,p)=>(f(),y(_,{key:p,label:l.dictionaryName,value:l},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u8EAB\u4EFD\u8BC1",prop:"idCard"},{default:t(()=>[e(d,{modelValue:a.value.idCard,"onUpdate:modelValue":o[6]||(o[6]=l=>a.value.idCard=l),placeholder:"\u8BF7\u8F93\u5165",maxlength:18},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u529E\u516C\u7535\u8BDD",prop:"officePhone"},{default:t(()=>[e(d,{modelValue:a.value.officePhone,"onUpdate:modelValue":o[7]||(o[7]=l=>a.value.officePhone=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u51FA\u751F\u5E74\u6708",prop:"birth"},{default:t(()=>[e(D,{modelValue:a.value.birth,"onUpdate:modelValue":o[8]||(o[8]=l=>a.value.birth=l),type:"month",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY-MM"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u94F6\u884C\u5361\u53F7",prop:"bankNo"},{default:t(()=>[e(d,{modelValue:a.value.bankNo,"onUpdate:modelValue":o[9]||(o[9]=l=>a.value.bankNo=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u5F00\u6237\u94F6\u884C",prop:"bank"},{default:t(()=>[e(d,{modelValue:a.value.bank,"onUpdate:modelValue":o[10]||(o[10]=l=>a.value.bank=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u7535\u5B50\u90AE\u7BB1",prop:"email"},{default:t(()=>[e(d,{modelValue:a.value.email,"onUpdate:modelValue":o[11]||(o[11]=l=>a.value.email=l),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),Y("",!0),e(u,{span:8},{default:t(()=>[e(n,{label:"\u4E13\u5BB6\u7EA7\u522B",prop:"expertRegionInfo"},{default:t(()=>{var l,p,w;return[e(B,{modelValue:a.value.expertRegionInfo,"onUpdate:modelValue":o[13]||(o[13]=ae=>a.value.expertRegionInfo=ae),options:q.value,props:{value:"unionCode",label:"name"},clearable:"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full",disabled:r.$route.name==="selfEditExpertInfo"||r.$route.query.id&&x(N).regionCode!==((w=(l=a.value)==null?void 0:l.expertRegionInfo)==null?void 0:w[((p=a.value.expertRegionInfo)==null?void 0:p.length)-1].split("##")[0])},null,8,["modelValue","options","disabled"])]}),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u4E13\u5BB6\u6765\u6E90"},{default:t(()=>[e(v,{modelValue:a.value.expertSource,"onUpdate:modelValue":o[14]||(o[14]=l=>a.value.expertSource=l),class:"w-full",placeholder:"\u8BF7\u9009\u62E9",clearable:"","value-key":"tagCode"},{default:t(()=>[(f(!0),b(C,null,h(x(V).dictStore.expertSourceDict,(l,p)=>(f(),y(_,{key:p,label:l.tagName,value:l},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u4E13\u5BB6\u7C7B\u578B",prop:"expertType"},{default:t(()=>[e(v,{modelValue:a.value.expertType,"onUpdate:modelValue":o[15]||(o[15]=l=>a.value.expertType=l),class:"w-full",placeholder:"\u8BF7\u9009\u62E9","value-key":"dictionaryCode"},{default:t(()=>[(f(!0),b(C,null,h(x(V).dictStore.expertTypeDict,(l,p)=>(f(),y(_,{key:p,label:l.dictionaryName,value:l},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:t(()=>[e(n,{label:"\u5C65\u804C\u610F\u5411",prop:"expertIntentionWorkRegions"},{default:t(()=>[(f(!0),b(C,null,h(a.value.expertIntentionWorkRegions,(l,p)=>(f(),y(W,{key:l.id,class:"intention-item w-full"},{default:t(()=>[e(u,{span:24},{default:t(()=>[e(B,{modelValue:a.value.expertIntentionWorkRegions[p].unionCode,"onUpdate:modelValue":w=>a.value.expertIntentionWorkRegions[p].unionCode=w,options:q.value,props:{value:"unionCode",label:"name"},clearable:"",style:{width:"100%"},class:"mb-4"},null,8,["modelValue","onUpdate:modelValue","options"]),p>0?(f(),b("span",{key:0,style:{position:"absolute",right:"-20px"},onClick:w=>$("del",p)},[e(T,null,{default:t(()=>[e(X,{color:"#D40000"})]),_:1})],8,ge)):Y("",!0)]),_:2},1024)]),_:2},1024))),128)),G("p",ce,[e(Z,{class:"w-full",type:"primary",plain:"",style:{margin:"0"},onClick:o[16]||(o[16]=l=>$("add"))},{default:t(()=>[pe(" + \u589E\u52A0\u5C65\u804C\u610F\u5411\u5730\u533A ")]),_:1})])]),_:1})]),_:1}),e(u,{span:24},{default:t(()=>[e(n,{class:"avatarForm",label:"\u4E00\u5BF8\u514D\u51A0\u7167",prop:"avatarUrl",style:{"margin-bottom":"32px"}},{default:t(()=>[e(ee,{class:"avatar-uploader",action:x(i),"show-file-list":!1,"on-success":K,"before-upload":l=>x(me)(l,{size:500,types:["image/png","image/jpeg"]}),accept:"image/png,image/jpeg"},{default:t(()=>[a.value.avatarUrl?(f(),b("img",{key:0,src:a.value.avatarUrl,class:"avatar"},null,8,_e)):(f(),b("i",ve,[e(T,null,{default:t(()=>[e(Q)]),_:1})]))]),_:1},8,["action","before-upload"]),be]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{we as default}; diff --git a/lishui2/web/dist/assets/biddingRegistration.7fef80dd.js b/lishui2/web/dist/assets/biddingRegistration.9f9a1967.js similarity index 92% rename from lishui2/web/dist/assets/biddingRegistration.7fef80dd.js rename to lishui2/web/dist/assets/biddingRegistration.9f9a1967.js index 532cf2e..135dbc2 100644 --- a/lishui2/web/dist/assets/biddingRegistration.7fef80dd.js +++ b/lishui2/web/dist/assets/biddingRegistration.9f9a1967.js @@ -1 +1 @@ -var k=(g,y,d)=>new Promise((N,f)=>{var _=r=>{try{e(d.next(r))}catch(p){f(p)}},h=r=>{try{e(d.throw(r))}catch(p){f(p)}},e=r=>r.done?N(r.value):Promise.resolve(r.value).then(_,h);e((d=d.apply(g,y)).next())});import{_ as D}from"./index.25c56c35.js";import{N as x}from"./index.34cf1449.js";import{d as E}from"./projectCollectionEnter.b04f24b4.js";import{d as J,r as S,o as L,c as O,e as o,f as u,J as b,I as F,i as t,h as l,j as s,t as i,F as m}from"./index.51e934d4.js";const j=J({name:"biddingRegistration"}),A=Object.assign(j,{props:{detailData:Object},setup(g){const y=g,d=S(),N=()=>k(this,null,function*(){var _;d.value=(_=y.detailData)==null?void 0:_.purchases}),f=S([]);return L(()=>k(this,null,function*(){f.value=(yield E()).data,N()})),(_,h)=>{var p;const e=O("el-descriptions-item"),r=O("el-descriptions");return(p=d.value)!=null&&p.length?(o(!0),u(m,{key:0},b(d.value,(a,v)=>(o(),F(r,{key:v,column:2,border:"",title:`\u6807\u6BB5${v+1}`,class:"mb-16"},{default:t(()=>[l(e,{label:"\u6807\u6BB5\u540D\u79F0"},{default:t(()=>[s(i(a.bidName||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546"},{default:t(()=>[s(i(a.supplier||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[s(i(a.supplierSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u4EBA"},{default:t(()=>[s(i(a.supplierContact||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u65B9\u5F0F"},{default:t(()=>[s(i(a.supplierContactInfo||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u65B9\u5F0F"},{default:t(()=>{var n,c;return[s(i(((c=(n=f.value)==null?void 0:n.filter(C=>C.type==="PURCHASE_METHOD").find(C=>C.value===a.purchaseMethod))==null?void 0:c.label)||"-"),1)]}),_:2},1024),l(e,{label:"\u6210\u4EA4\u91D1\u989D\uFF08\u4E07\u5143\uFF09"},{default:t(()=>[s(i(a.transactionAmount||"-"),1)]),_:2},1024),l(e,{label:"\u6210\u4EA4\u65F6\u95F4"},{default:t(()=>[s(i(a.transactionTime||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784"},{default:t(()=>[s(i(a.agency||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[s(i(a.purchaseSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7"},{default:t(()=>[s(i(a.budgetExecConfirmNo||"-"),1)]),_:2},1024),l(e,{label:"\u6295\u6807\u6587\u4EF6",span:2},{default:t(()=>[(o(!0),u(m,null,b(a.biddingDoc&&JSON.parse(a.biddingDoc),(n,c)=>(o(),u("p",{key:c,class:"mb-4"},[l(D,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),l(e,{label:"\u62DB\u6807\u6587\u4EF6",span:2},{default:t(()=>[(o(!0),u(m,null,b(a.bidDoc&&JSON.parse(a.bidDoc),(n,c)=>(o(),u("p",{key:c,class:"mb-4"},[l(D,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),l(e,{label:"\u4E2D\u6807\u901A\u77E5\u4E66",span:2},{default:t(()=>[(o(!0),u(m,null,b(a.acceptanceLetter&&JSON.parse(a.acceptanceLetter),(n,c)=>(o(),u("p",{key:c,class:"mb-4"},[l(D,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)):(o(),F(x,{key:1}))}}});export{A as default}; +var k=(g,y,d)=>new Promise((N,f)=>{var _=r=>{try{e(d.next(r))}catch(p){f(p)}},h=r=>{try{e(d.throw(r))}catch(p){f(p)}},e=r=>r.done?N(r.value):Promise.resolve(r.value).then(_,h);e((d=d.apply(g,y)).next())});import{_ as D}from"./index.0d7a0f2a.js";import{N as x}from"./index.ada5db1b.js";import{d as E}from"./projectCollectionEnter.0ef2b861.js";import{d as J,r as S,o as L,c as O,e as o,f as u,J as b,I as F,i as t,h as l,j as s,t as i,F as m}from"./index.07ccce2b.js";const j=J({name:"biddingRegistration"}),A=Object.assign(j,{props:{detailData:Object},setup(g){const y=g,d=S(),N=()=>k(this,null,function*(){var _;d.value=(_=y.detailData)==null?void 0:_.purchases}),f=S([]);return L(()=>k(this,null,function*(){f.value=(yield E()).data,N()})),(_,h)=>{var p;const e=O("el-descriptions-item"),r=O("el-descriptions");return(p=d.value)!=null&&p.length?(o(!0),u(m,{key:0},b(d.value,(a,v)=>(o(),F(r,{key:v,column:2,border:"",title:`\u6807\u6BB5${v+1}`,class:"mb-16"},{default:t(()=>[l(e,{label:"\u6807\u6BB5\u540D\u79F0"},{default:t(()=>[s(i(a.bidName||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546"},{default:t(()=>[s(i(a.supplier||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[s(i(a.supplierSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u4EBA"},{default:t(()=>[s(i(a.supplierContact||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u65B9\u5F0F"},{default:t(()=>[s(i(a.supplierContactInfo||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u65B9\u5F0F"},{default:t(()=>{var n,c;return[s(i(((c=(n=f.value)==null?void 0:n.filter(C=>C.type==="PURCHASE_METHOD").find(C=>C.value===a.purchaseMethod))==null?void 0:c.label)||"-"),1)]}),_:2},1024),l(e,{label:"\u6210\u4EA4\u91D1\u989D\uFF08\u4E07\u5143\uFF09"},{default:t(()=>[s(i(a.transactionAmount||"-"),1)]),_:2},1024),l(e,{label:"\u6210\u4EA4\u65F6\u95F4"},{default:t(()=>[s(i(a.transactionTime||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784"},{default:t(()=>[s(i(a.agency||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[s(i(a.purchaseSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7"},{default:t(()=>[s(i(a.budgetExecConfirmNo||"-"),1)]),_:2},1024),l(e,{label:"\u6295\u6807\u6587\u4EF6",span:2},{default:t(()=>[(o(!0),u(m,null,b(a.biddingDoc&&JSON.parse(a.biddingDoc),(n,c)=>(o(),u("p",{key:c,class:"mb-4"},[l(D,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),l(e,{label:"\u62DB\u6807\u6587\u4EF6",span:2},{default:t(()=>[(o(!0),u(m,null,b(a.bidDoc&&JSON.parse(a.bidDoc),(n,c)=>(o(),u("p",{key:c,class:"mb-4"},[l(D,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),l(e,{label:"\u4E2D\u6807\u901A\u77E5\u4E66",span:2},{default:t(()=>[(o(!0),u(m,null,b(a.acceptanceLetter&&JSON.parse(a.acceptanceLetter),(n,c)=>(o(),u("p",{key:c,class:"mb-4"},[l(D,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)):(o(),F(x,{key:1}))}}});export{A as default}; diff --git a/lishui2/web/dist/assets/budgetInfo.2f8691d8.js b/lishui2/web/dist/assets/budgetInfo.399eab4e.js similarity index 95% rename from lishui2/web/dist/assets/budgetInfo.2f8691d8.js rename to lishui2/web/dist/assets/budgetInfo.399eab4e.js index d4b87c3..276225b 100644 --- a/lishui2/web/dist/assets/budgetInfo.2f8691d8.js +++ b/lishui2/web/dist/assets/budgetInfo.399eab4e.js @@ -1 +1 @@ -import{d as B,D as C,r as c,L as U,c as a,e as d,I as _,i as o,h as t,Y as g,j as b,f as k,F as D,J as M,u as O}from"./index.51e934d4.js";const E=B({name:"projectCollectionEnterBudgetInfo"}),I=Object.assign(E,{props:{detail:{type:Object}},setup(v,{expose:V}){const{budgetSourceOptions:Y}=C.dictStore.globalDicts||{},A=v,m=c(),i=(u,e,n)=>{e||n(),/^\d+(\.\d{1,6})?$/.test(e)?e*1>=1e8?n("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):n():n("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},l=c({}),j={declareAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:i,trigger:"blur"}],approvalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u6279\u590D\u91D1\u989D",trigger:"blur"},{validator:i,trigger:"blur"}],budgetSource:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u6765\u6E90",trigger:"change"}],projectYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6",trigger:"blur"}]};return V({formRef:m,formData:l}),U(()=>A.detail,u=>{u&&(l.value={declareAmount:u.declareAmount,approvalAmount:u.approvalAmount,budgetSource:u.budgetSource,projectYear:`${u.projectYear}`})}),(u,e)=>{const n=a("el-input-number"),s=a("el-form-item"),p=a("el-col"),w=a("el-option"),x=a("el-select"),S=a("el-date-picker"),y=a("el-row"),q=a("el-form");return d(),_(q,{ref_key:"formRef",ref:m,model:l.value,rules:j,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:o(()=>[t(y,{gutter:40},{default:o(()=>[t(p,{span:6},{default:o(()=>[t(s,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:o(()=>[t(n,{modelValue:l.value.declareAmount,"onUpdate:modelValue":e[0]||(e[0]=r=>l.value.declareAmount=r),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[1]||(e[1]=g(()=>{},["prevent"]))},{suffix:o(()=>[b("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u6279\u590D\u91D1\u989D",prop:"approvalAmount"},{default:o(()=>[t(n,{modelValue:l.value.approvalAmount,"onUpdate:modelValue":e[2]||(e[2]=r=>l.value.approvalAmount=r),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[3]||(e[3]=g(()=>{},["prevent"]))},{suffix:o(()=>[b("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u9884\u7B97\u6765\u6E90",prop:"budgetSource"},{default:o(()=>[t(x,{modelValue:l.value.budgetSource,"onUpdate:modelValue":e[4]||(e[4]=r=>l.value.budgetSource=r),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:o(()=>[(d(!0),k(D,null,M(O(Y),(r,f)=>(d(),_(w,{key:f,label:r,value:f*1},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:o(()=>[t(S,{modelValue:l.value.projectYear,"onUpdate:modelValue":e[5]||(e[5]=r=>l.value.projectYear=r),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{I as default}; +import{d as B,D as C,r as c,L as U,c as a,e as d,I as _,i as o,h as t,Y as g,j as b,f as k,F as D,J as M,u as O}from"./index.07ccce2b.js";const E=B({name:"projectCollectionEnterBudgetInfo"}),I=Object.assign(E,{props:{detail:{type:Object}},setup(v,{expose:V}){const{budgetSourceOptions:Y}=C.dictStore.globalDicts||{},A=v,m=c(),i=(u,e,n)=>{e||n(),/^\d+(\.\d{1,6})?$/.test(e)?e*1>=1e8?n("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):n():n("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},l=c({}),j={declareAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:i,trigger:"blur"}],approvalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u6279\u590D\u91D1\u989D",trigger:"blur"},{validator:i,trigger:"blur"}],budgetSource:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u6765\u6E90",trigger:"change"}],projectYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6",trigger:"blur"}]};return V({formRef:m,formData:l}),U(()=>A.detail,u=>{u&&(l.value={declareAmount:u.declareAmount,approvalAmount:u.approvalAmount,budgetSource:u.budgetSource,projectYear:`${u.projectYear}`})}),(u,e)=>{const n=a("el-input-number"),s=a("el-form-item"),p=a("el-col"),w=a("el-option"),x=a("el-select"),S=a("el-date-picker"),y=a("el-row"),q=a("el-form");return d(),_(q,{ref_key:"formRef",ref:m,model:l.value,rules:j,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:o(()=>[t(y,{gutter:40},{default:o(()=>[t(p,{span:6},{default:o(()=>[t(s,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:o(()=>[t(n,{modelValue:l.value.declareAmount,"onUpdate:modelValue":e[0]||(e[0]=r=>l.value.declareAmount=r),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[1]||(e[1]=g(()=>{},["prevent"]))},{suffix:o(()=>[b("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u6279\u590D\u91D1\u989D",prop:"approvalAmount"},{default:o(()=>[t(n,{modelValue:l.value.approvalAmount,"onUpdate:modelValue":e[2]||(e[2]=r=>l.value.approvalAmount=r),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[3]||(e[3]=g(()=>{},["prevent"]))},{suffix:o(()=>[b("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u9884\u7B97\u6765\u6E90",prop:"budgetSource"},{default:o(()=>[t(x,{modelValue:l.value.budgetSource,"onUpdate:modelValue":e[4]||(e[4]=r=>l.value.budgetSource=r),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:o(()=>[(d(!0),k(D,null,M(O(Y),(r,f)=>(d(),_(w,{key:f,label:r,value:f*1},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:o(()=>[t(S,{modelValue:l.value.projectYear,"onUpdate:modelValue":e[5]||(e[5]=r=>l.value.projectYear=r),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{I as default}; diff --git a/lishui2/web/dist/assets/budgetInfo.f9c97895.js b/lishui2/web/dist/assets/budgetInfo.5116b210.js similarity index 95% rename from lishui2/web/dist/assets/budgetInfo.f9c97895.js rename to lishui2/web/dist/assets/budgetInfo.5116b210.js index d4b87c3..276225b 100644 --- a/lishui2/web/dist/assets/budgetInfo.f9c97895.js +++ b/lishui2/web/dist/assets/budgetInfo.5116b210.js @@ -1 +1 @@ -import{d as B,D as C,r as c,L as U,c as a,e as d,I as _,i as o,h as t,Y as g,j as b,f as k,F as D,J as M,u as O}from"./index.51e934d4.js";const E=B({name:"projectCollectionEnterBudgetInfo"}),I=Object.assign(E,{props:{detail:{type:Object}},setup(v,{expose:V}){const{budgetSourceOptions:Y}=C.dictStore.globalDicts||{},A=v,m=c(),i=(u,e,n)=>{e||n(),/^\d+(\.\d{1,6})?$/.test(e)?e*1>=1e8?n("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):n():n("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},l=c({}),j={declareAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:i,trigger:"blur"}],approvalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u6279\u590D\u91D1\u989D",trigger:"blur"},{validator:i,trigger:"blur"}],budgetSource:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u6765\u6E90",trigger:"change"}],projectYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6",trigger:"blur"}]};return V({formRef:m,formData:l}),U(()=>A.detail,u=>{u&&(l.value={declareAmount:u.declareAmount,approvalAmount:u.approvalAmount,budgetSource:u.budgetSource,projectYear:`${u.projectYear}`})}),(u,e)=>{const n=a("el-input-number"),s=a("el-form-item"),p=a("el-col"),w=a("el-option"),x=a("el-select"),S=a("el-date-picker"),y=a("el-row"),q=a("el-form");return d(),_(q,{ref_key:"formRef",ref:m,model:l.value,rules:j,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:o(()=>[t(y,{gutter:40},{default:o(()=>[t(p,{span:6},{default:o(()=>[t(s,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:o(()=>[t(n,{modelValue:l.value.declareAmount,"onUpdate:modelValue":e[0]||(e[0]=r=>l.value.declareAmount=r),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[1]||(e[1]=g(()=>{},["prevent"]))},{suffix:o(()=>[b("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u6279\u590D\u91D1\u989D",prop:"approvalAmount"},{default:o(()=>[t(n,{modelValue:l.value.approvalAmount,"onUpdate:modelValue":e[2]||(e[2]=r=>l.value.approvalAmount=r),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[3]||(e[3]=g(()=>{},["prevent"]))},{suffix:o(()=>[b("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u9884\u7B97\u6765\u6E90",prop:"budgetSource"},{default:o(()=>[t(x,{modelValue:l.value.budgetSource,"onUpdate:modelValue":e[4]||(e[4]=r=>l.value.budgetSource=r),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:o(()=>[(d(!0),k(D,null,M(O(Y),(r,f)=>(d(),_(w,{key:f,label:r,value:f*1},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:o(()=>[t(S,{modelValue:l.value.projectYear,"onUpdate:modelValue":e[5]||(e[5]=r=>l.value.projectYear=r),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{I as default}; +import{d as B,D as C,r as c,L as U,c as a,e as d,I as _,i as o,h as t,Y as g,j as b,f as k,F as D,J as M,u as O}from"./index.07ccce2b.js";const E=B({name:"projectCollectionEnterBudgetInfo"}),I=Object.assign(E,{props:{detail:{type:Object}},setup(v,{expose:V}){const{budgetSourceOptions:Y}=C.dictStore.globalDicts||{},A=v,m=c(),i=(u,e,n)=>{e||n(),/^\d+(\.\d{1,6})?$/.test(e)?e*1>=1e8?n("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):n():n("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},l=c({}),j={declareAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:i,trigger:"blur"}],approvalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u6279\u590D\u91D1\u989D",trigger:"blur"},{validator:i,trigger:"blur"}],budgetSource:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u6765\u6E90",trigger:"change"}],projectYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6",trigger:"blur"}]};return V({formRef:m,formData:l}),U(()=>A.detail,u=>{u&&(l.value={declareAmount:u.declareAmount,approvalAmount:u.approvalAmount,budgetSource:u.budgetSource,projectYear:`${u.projectYear}`})}),(u,e)=>{const n=a("el-input-number"),s=a("el-form-item"),p=a("el-col"),w=a("el-option"),x=a("el-select"),S=a("el-date-picker"),y=a("el-row"),q=a("el-form");return d(),_(q,{ref_key:"formRef",ref:m,model:l.value,rules:j,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:o(()=>[t(y,{gutter:40},{default:o(()=>[t(p,{span:6},{default:o(()=>[t(s,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:o(()=>[t(n,{modelValue:l.value.declareAmount,"onUpdate:modelValue":e[0]||(e[0]=r=>l.value.declareAmount=r),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[1]||(e[1]=g(()=>{},["prevent"]))},{suffix:o(()=>[b("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u6279\u590D\u91D1\u989D",prop:"approvalAmount"},{default:o(()=>[t(n,{modelValue:l.value.approvalAmount,"onUpdate:modelValue":e[2]||(e[2]=r=>l.value.approvalAmount=r),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[3]||(e[3]=g(()=>{},["prevent"]))},{suffix:o(()=>[b("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u9884\u7B97\u6765\u6E90",prop:"budgetSource"},{default:o(()=>[t(x,{modelValue:l.value.budgetSource,"onUpdate:modelValue":e[4]||(e[4]=r=>l.value.budgetSource=r),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:o(()=>[(d(!0),k(D,null,M(O(Y),(r,f)=>(d(),_(w,{key:f,label:r,value:f*1},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(p,{span:6},{default:o(()=>[t(s,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:o(()=>[t(S,{modelValue:l.value.projectYear,"onUpdate:modelValue":e[5]||(e[5]=r=>l.value.projectYear=r),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{I as default}; diff --git a/lishui2/web/dist/assets/businessInfo.fe8e818f.js b/lishui2/web/dist/assets/businessInfo.9314f260.js similarity index 88% rename from lishui2/web/dist/assets/businessInfo.fe8e818f.js rename to lishui2/web/dist/assets/businessInfo.9314f260.js index 2be8b12..93612cb 100644 --- a/lishui2/web/dist/assets/businessInfo.fe8e818f.js +++ b/lishui2/web/dist/assets/businessInfo.9314f260.js @@ -1 +1 @@ -import{d as s,b as n,c as o,e as l,I as c}from"./index.51e934d4.js";const r=s({name:"businessInfo"}),u=Object.assign(r,{props:{detailData:Object},setup(e){const a=n([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}]);return(i,m)=>{const t=o("table-list");return l(),c(t,{column:a,data:e.detailData.coreBusiness?JSON.parse(e.detailData.coreBusiness):[],pagination:!1,small:!0},null,8,["column","data"])}}});export{u as default}; +import{d as s,b as n,c as o,e as l,I as c}from"./index.07ccce2b.js";const r=s({name:"businessInfo"}),u=Object.assign(r,{props:{detailData:Object},setup(e){const a=n([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}]);return(i,m)=>{const t=o("table-list");return l(),c(t,{column:a,data:e.detailData.coreBusiness?JSON.parse(e.detailData.coreBusiness):[],pagination:!1,small:!0},null,8,["column","data"])}}});export{u as default}; diff --git a/lishui2/web/dist/assets/changeInfoDialog.6ff0e557.js b/lishui2/web/dist/assets/changeInfoDialog.24d33920.js similarity index 97% rename from lishui2/web/dist/assets/changeInfoDialog.6ff0e557.js rename to lishui2/web/dist/assets/changeInfoDialog.24d33920.js index bb76dfb..bc31c49 100644 --- a/lishui2/web/dist/assets/changeInfoDialog.6ff0e557.js +++ b/lishui2/web/dist/assets/changeInfoDialog.24d33920.js @@ -1 +1 @@ -var Z=Object.defineProperty,ee=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable;var W=(f,s,d)=>s in f?Z(f,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):f[s]=d,M=(f,s)=>{for(var d in s||(s={}))le.call(s,d)&&W(f,d,s[d]);if(z)for(var d of z(s))te.call(s,d)&&W(f,d,s[d]);return f},q=(f,s)=>ee(f,ae(s));var P=(f,s,d)=>new Promise((S,K)=>{var O=b=>{try{I(d.next(b))}catch(h){K(h)}},F=b=>{try{I(d.throw(b))}catch(h){K(h)}},I=b=>b.done?S(b.value):Promise.resolve(b.value).then(O,F);I((d=d.apply(f,s)).next())});import re from"./flowRecord.309a9314.js";import{d as oe,D as ie,b as G,r as H,L as ne,c as T,e as a,I as k,i as p,g as j,h as y,f as l,F as r,J as g,j as i,t as o,u as c,aG as de}from"./index.51e934d4.js";import{_ as A}from"./index.25c56c35.js";import Q from"./customModule.a58e9d22.js";import U from"./finalInfo.1e32e367.js";import"./index.34cf1449.js";import"./index.6280fe15.js";const se={style:{"max-height":"800px"},class:"overflow-y-auto"},ue=j("h2",{class:"mb-8 bold text-16"},"\u8C03\u6574\u7684\u4FE1\u606F",-1),fe={key:14},ye={key:14},we=j("h2",{class:"mb-8 bold text-16"},"\u6D41\u7A0B\u8BB0\u5F55",-1),me=oe({name:"flowRecordDialog"}),Ke=Object.assign(me,{props:{visible:{type:Boolean,default:!1,required:!0},flowData:{type:Array,default:void 0},id:{type:String,default:void 0}},emits:["close"],setup(f,{emit:s}){const{statusOptions:d,constructionLevel:S,cloudTypeOptions:K,fourSystem:O,businessTerritory:F}=ie.dictStore.globalDicts||{},I=f,b=s,h=[{label:"\u5B57\u6BB5",key:"fieldName",prop:"fieldName",width:180},{label:"\u8C03\u6574\u524D",key:"oldData",slot:"oldData"},{label:"\u8C03\u6574\u540E",key:"newData",slot:"newData"}],L=G([{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",key:"fileName",prop:"fileName"},{label:"\u9644\u4EF6",slot:"file"}]),V=G([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4E1A\u52A1\u7F16\u53F7",key:"oid",prop:"oid"},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}]),J=H(),C=H(),X=()=>P(this,null,function*(){const w=yield de(I.id);J.value=[],w.data.changes&&Object.keys(w.data.changes).forEach(m=>{J.value.push({fieldName:m,newData:w.data.changes[m].new,oldData:w.data.changes[m].old,fieldKey:w.data.changes[m].fieldKey})}),C.value={processProgressVo:q(M({},w.data.process.processProgressVo),{progressInfo:Y(w.data.process.processProgressVo.progressInfo)})}}),Y=w=>(w.forEach(m=>{if(m.children){const _=[],D=[];m.children.forEach(u=>{_.includes(u.nodeId)?(D.find(v=>v.nodeId===u.nodeId).list.push(u),D.find(v=>v.nodeId===u.nodeId).userIds.push(u.userId)):(_.push(u.nodeId),D.push({nodeId:u.nodeId,approvalMode:u.approvalMode,name:u.name,nodeType:u.nodeType,list:[M({},u)],userIds:[u.userId]}))}),m.children=D}else m.userIds=[m.userId]}),w),R=["isSuperOrg","isHigherSuperOrg","isFirst","isDigitalReform","isCloud","isTemporaryAugment","includeApplication"],$=["preliminaryPlanFile","supportingMaterialsFile","calculationTotalInvestmentFile","mainResponsibilitiesApplicantFile","projectApplicationForm","constructionPlanFile"];return ne(()=>I.visible,w=>P(this,null,function*(){w&&X()})),(w,m)=>{const _=T("table-list"),D=T("el-descriptions-item"),u=T("el-descriptions"),v=T("el-dialog");return a(),k(v,{"model-value":f.visible,title:"\u8C03\u6574\u4FE1\u606F\u53CA\u5BA1\u6838\u610F\u89C1",width:"90%","destroy-on-close":"",onClose:m[0]||(m[0]=x=>b("close"))},{default:p(()=>{var x,E;return[j("div",se,[ue,y(_,{ref:"tableListRef",column:h,data:J.value,pagination:!1,class:"mb-16"},{oldData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),k(_,{key:0,column:L,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.oldData)},{file:p(t=>[(a(!0),l(r,null,g(t.scope.row.fileList,(n,B)=>(a(),l("p",{key:B,class:"mb-4"},[y(A,{"file-name":n.originalFileName,"file-id":n.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(r,{key:1},[i(o(e.row.oldData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(r,{key:2},[i(o((N=c(d)[e.row.oldData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(r,{key:3},[i(o(e.row.oldData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(r,{key:4},[i(o(e.row.oldData==="01"?"\u9996\u6B21\u5EFA\u8BBE":e.row.oldData==="02"?"\u8FED\u4EE3\u5347\u7EA7":e.row.oldData==="03"?"\u7ED3\u8F6C\u5EFA\u8BBE":"-"),1)],64)):e.row.fieldKey==="buildLevel"?(a(),l(r,{key:5},[i(o(c(S)[e.row.oldData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(r,{key:6},[i(o(c(F)[e.row.oldData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(r,{key:7},[i(o(e.row.oldData.split(",").map(t=>c(K)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(r,{key:8},[i(o(c(O)[e.row.oldData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(r,{key:9},g(JSON.parse(e.row.oldData),(t,n)=>(a(),k(u,{key:n,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[i(o(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[i(o(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[i(o(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):$.includes(e.row.fieldKey)?(a(!0),l(r,{key:10},g(e.row.oldData&&JSON.parse(e.row.oldData),(t,n)=>(a(),l("p",{key:n,class:"mb-4"},[y(A,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),k(_,{key:11,column:V,data:e.row.oldData?JSON.parse(e.row.oldData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="safetyInputModular"?(a(!0),l(r,{key:12},g(e.row.oldData&&JSON.parse(e.row.oldData),(t,n)=>(a(),l("div",{key:n},[y(Q,{data:t,"module-num":n},null,8,["data","module-num"])]))),128)):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),k(U,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.oldData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",fe,o(e.row.oldData),1))]}),newData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),k(_,{key:0,column:L,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.newData)},{file:p(t=>[(a(!0),l(r,null,g(t.scope.row.fileList,(n,B)=>(a(),l("p",{key:B,class:"mb-4"},[y(A,{"file-name":n.originalFileName,"file-id":n.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(r,{key:1},[i(o(e.row.newData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(r,{key:2},[i(o((N=c(d)[e.row.newData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(r,{key:3},[i(o(e.row.newData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(r,{key:4},[i(o(e.row.newData==="01"?"\u9996\u6B21\u5EFA\u8BBE":e.row.newData==="02"?"\u8FED\u4EE3\u5347\u7EA7":e.row.newData==="03"?"\u7ED3\u8F6C\u5EFA\u8BBE":"-"),1)],64)):e.row.fieldKey==="buildLevel"?(a(),l(r,{key:5},[i(o(c(S)[e.row.newData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(r,{key:6},[i(o(c(F)[e.row.newData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(r,{key:7},[i(o(e.row.newData.split(",").map(t=>c(K)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(r,{key:8},[i(o(c(O)[e.row.newData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(r,{key:9},g(JSON.parse(e.row.newData),(t,n)=>(a(),k(u,{key:n,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[i(o(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[i(o(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[i(o(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):e.row.fieldKey==="safetyInputModular"?(a(!0),l(r,{key:10},g(e.row.newData&&JSON.parse(e.row.newData),(t,n)=>(a(),l("div",{key:n},[y(Q,{data:t,"module-num":n},null,8,["data","module-num"])]))),128)):$.includes(e.row.fieldKey)?(a(!0),l(r,{key:11},g(e.row.newData&&JSON.parse(e.row.newData),(t,n)=>(a(),l("p",{key:n,class:"mb-4"},[y(A,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),k(_,{key:12,column:V,data:e.row.newData?JSON.parse(e.row.newData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),k(U,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.newData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",ye,o(e.row.newData),1))]}),_:1},8,["data"]),we,y(re,{"flow-data":((E=(x=C.value)==null?void 0:x.processProgressVo)==null?void 0:E.progressInfo)||[]},null,8,["flow-data"])])]}),_:1},8,["model-value"])}}});export{Ke as default}; +var Z=Object.defineProperty,ee=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable;var W=(f,s,d)=>s in f?Z(f,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):f[s]=d,M=(f,s)=>{for(var d in s||(s={}))le.call(s,d)&&W(f,d,s[d]);if(z)for(var d of z(s))te.call(s,d)&&W(f,d,s[d]);return f},q=(f,s)=>ee(f,ae(s));var P=(f,s,d)=>new Promise((S,K)=>{var O=b=>{try{I(d.next(b))}catch(h){K(h)}},F=b=>{try{I(d.throw(b))}catch(h){K(h)}},I=b=>b.done?S(b.value):Promise.resolve(b.value).then(O,F);I((d=d.apply(f,s)).next())});import re from"./flowRecord.543a39a5.js";import{d as oe,D as ie,b as G,r as H,L as ne,c as T,e as a,I as k,i as p,g as j,h as y,f as l,F as r,J as g,j as i,t as o,u as c,aG as de}from"./index.07ccce2b.js";import{_ as A}from"./index.0d7a0f2a.js";import Q from"./customModule.5dcf4286.js";import U from"./finalInfo.f6341f13.js";import"./index.ada5db1b.js";import"./index.6280fe15.js";const se={style:{"max-height":"800px"},class:"overflow-y-auto"},ue=j("h2",{class:"mb-8 bold text-16"},"\u8C03\u6574\u7684\u4FE1\u606F",-1),fe={key:14},ye={key:14},we=j("h2",{class:"mb-8 bold text-16"},"\u6D41\u7A0B\u8BB0\u5F55",-1),me=oe({name:"flowRecordDialog"}),Ke=Object.assign(me,{props:{visible:{type:Boolean,default:!1,required:!0},flowData:{type:Array,default:void 0},id:{type:String,default:void 0}},emits:["close"],setup(f,{emit:s}){const{statusOptions:d,constructionLevel:S,cloudTypeOptions:K,fourSystem:O,businessTerritory:F}=ie.dictStore.globalDicts||{},I=f,b=s,h=[{label:"\u5B57\u6BB5",key:"fieldName",prop:"fieldName",width:180},{label:"\u8C03\u6574\u524D",key:"oldData",slot:"oldData"},{label:"\u8C03\u6574\u540E",key:"newData",slot:"newData"}],L=G([{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",key:"fileName",prop:"fileName"},{label:"\u9644\u4EF6",slot:"file"}]),V=G([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4E1A\u52A1\u7F16\u53F7",key:"oid",prop:"oid"},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}]),J=H(),C=H(),X=()=>P(this,null,function*(){const w=yield de(I.id);J.value=[],w.data.changes&&Object.keys(w.data.changes).forEach(m=>{J.value.push({fieldName:m,newData:w.data.changes[m].new,oldData:w.data.changes[m].old,fieldKey:w.data.changes[m].fieldKey})}),C.value={processProgressVo:q(M({},w.data.process.processProgressVo),{progressInfo:Y(w.data.process.processProgressVo.progressInfo)})}}),Y=w=>(w.forEach(m=>{if(m.children){const _=[],D=[];m.children.forEach(u=>{_.includes(u.nodeId)?(D.find(v=>v.nodeId===u.nodeId).list.push(u),D.find(v=>v.nodeId===u.nodeId).userIds.push(u.userId)):(_.push(u.nodeId),D.push({nodeId:u.nodeId,approvalMode:u.approvalMode,name:u.name,nodeType:u.nodeType,list:[M({},u)],userIds:[u.userId]}))}),m.children=D}else m.userIds=[m.userId]}),w),R=["isSuperOrg","isHigherSuperOrg","isFirst","isDigitalReform","isCloud","isTemporaryAugment","includeApplication"],$=["preliminaryPlanFile","supportingMaterialsFile","calculationTotalInvestmentFile","mainResponsibilitiesApplicantFile","projectApplicationForm","constructionPlanFile"];return ne(()=>I.visible,w=>P(this,null,function*(){w&&X()})),(w,m)=>{const _=T("table-list"),D=T("el-descriptions-item"),u=T("el-descriptions"),v=T("el-dialog");return a(),k(v,{"model-value":f.visible,title:"\u8C03\u6574\u4FE1\u606F\u53CA\u5BA1\u6838\u610F\u89C1",width:"90%","destroy-on-close":"",onClose:m[0]||(m[0]=x=>b("close"))},{default:p(()=>{var x,E;return[j("div",se,[ue,y(_,{ref:"tableListRef",column:h,data:J.value,pagination:!1,class:"mb-16"},{oldData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),k(_,{key:0,column:L,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.oldData)},{file:p(t=>[(a(!0),l(r,null,g(t.scope.row.fileList,(n,B)=>(a(),l("p",{key:B,class:"mb-4"},[y(A,{"file-name":n.originalFileName,"file-id":n.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(r,{key:1},[i(o(e.row.oldData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(r,{key:2},[i(o((N=c(d)[e.row.oldData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(r,{key:3},[i(o(e.row.oldData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(r,{key:4},[i(o(e.row.oldData==="01"?"\u9996\u6B21\u5EFA\u8BBE":e.row.oldData==="02"?"\u8FED\u4EE3\u5347\u7EA7":e.row.oldData==="03"?"\u7ED3\u8F6C\u5EFA\u8BBE":"-"),1)],64)):e.row.fieldKey==="buildLevel"?(a(),l(r,{key:5},[i(o(c(S)[e.row.oldData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(r,{key:6},[i(o(c(F)[e.row.oldData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(r,{key:7},[i(o(e.row.oldData.split(",").map(t=>c(K)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(r,{key:8},[i(o(c(O)[e.row.oldData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(r,{key:9},g(JSON.parse(e.row.oldData),(t,n)=>(a(),k(u,{key:n,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[i(o(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[i(o(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[i(o(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):$.includes(e.row.fieldKey)?(a(!0),l(r,{key:10},g(e.row.oldData&&JSON.parse(e.row.oldData),(t,n)=>(a(),l("p",{key:n,class:"mb-4"},[y(A,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),k(_,{key:11,column:V,data:e.row.oldData?JSON.parse(e.row.oldData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="safetyInputModular"?(a(!0),l(r,{key:12},g(e.row.oldData&&JSON.parse(e.row.oldData),(t,n)=>(a(),l("div",{key:n},[y(Q,{data:t,"module-num":n},null,8,["data","module-num"])]))),128)):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),k(U,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.oldData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",fe,o(e.row.oldData),1))]}),newData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),k(_,{key:0,column:L,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.newData)},{file:p(t=>[(a(!0),l(r,null,g(t.scope.row.fileList,(n,B)=>(a(),l("p",{key:B,class:"mb-4"},[y(A,{"file-name":n.originalFileName,"file-id":n.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(r,{key:1},[i(o(e.row.newData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(r,{key:2},[i(o((N=c(d)[e.row.newData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(r,{key:3},[i(o(e.row.newData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(r,{key:4},[i(o(e.row.newData==="01"?"\u9996\u6B21\u5EFA\u8BBE":e.row.newData==="02"?"\u8FED\u4EE3\u5347\u7EA7":e.row.newData==="03"?"\u7ED3\u8F6C\u5EFA\u8BBE":"-"),1)],64)):e.row.fieldKey==="buildLevel"?(a(),l(r,{key:5},[i(o(c(S)[e.row.newData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(r,{key:6},[i(o(c(F)[e.row.newData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(r,{key:7},[i(o(e.row.newData.split(",").map(t=>c(K)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(r,{key:8},[i(o(c(O)[e.row.newData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(r,{key:9},g(JSON.parse(e.row.newData),(t,n)=>(a(),k(u,{key:n,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[i(o(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[i(o(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[i(o(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):e.row.fieldKey==="safetyInputModular"?(a(!0),l(r,{key:10},g(e.row.newData&&JSON.parse(e.row.newData),(t,n)=>(a(),l("div",{key:n},[y(Q,{data:t,"module-num":n},null,8,["data","module-num"])]))),128)):$.includes(e.row.fieldKey)?(a(!0),l(r,{key:11},g(e.row.newData&&JSON.parse(e.row.newData),(t,n)=>(a(),l("p",{key:n,class:"mb-4"},[y(A,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),k(_,{key:12,column:V,data:e.row.newData?JSON.parse(e.row.newData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),k(U,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.newData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",ye,o(e.row.newData),1))]}),_:1},8,["data"]),we,y(re,{"flow-data":((E=(x=C.value)==null?void 0:x.processProgressVo)==null?void 0:E.progressInfo)||[]},null,8,["flow-data"])])]}),_:1},8,["model-value"])}}});export{Ke as default}; diff --git a/lishui2/web/dist/assets/checkList.8f0c3bae.js b/lishui2/web/dist/assets/checkList.07531a18.js similarity index 98% rename from lishui2/web/dist/assets/checkList.8f0c3bae.js rename to lishui2/web/dist/assets/checkList.07531a18.js index 35af69b..be15908 100644 --- a/lishui2/web/dist/assets/checkList.8f0c3bae.js +++ b/lishui2/web/dist/assets/checkList.07531a18.js @@ -1,4 +1,4 @@ -var V=Object.defineProperty,P=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var w=(e,l,t)=>l in e?V(e,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[l]=t,g=(e,l)=>{for(var t in l||(l={}))z.call(l,t)&&w(e,t,l[t]);if(y)for(var t of y(l))B.call(l,t)&&w(e,t,l[t]);return e},x=(e,l)=>P(e,L(l));var b=(e,l,t)=>new Promise((s,o)=>{var _=a=>{try{p(t.next(a))}catch(c){o(c)}},v=a=>{try{p(t.throw(a))}catch(c){o(c)}},p=a=>a.done?s(a.value):Promise.resolve(a.value).then(_,v);p((t=t.apply(e,l)).next())});import{d as D,r as A,L as H,c as n,e as M,I as U,i,h as r,j as F,g as R,aj as Y}from"./index.51e934d4.js";const q=e=>b(void 0,null,function*(){return` +var V=Object.defineProperty,P=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var w=(e,l,t)=>l in e?V(e,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[l]=t,g=(e,l)=>{for(var t in l||(l={}))z.call(l,t)&&w(e,t,l[t]);if(y)for(var t of y(l))B.call(l,t)&&w(e,t,l[t]);return e},x=(e,l)=>P(e,L(l));var b=(e,l,t)=>new Promise((s,o)=>{var _=a=>{try{p(t.next(a))}catch(c){o(c)}},v=a=>{try{p(t.throw(a))}catch(c){o(c)}},p=a=>a.done?s(a.value):Promise.resolve(a.value).then(_,v);p((t=t.apply(e,l)).next())});import{d as D,r as A,L as H,c as n,e as M,I as U,i,h as r,j as F,g as R,aj as Y}from"./index.07ccce2b.js";const q=e=>b(void 0,null,function*(){return`
diff --git a/lishui2/web/dist/assets/childFlow.f43b03d3.js b/lishui2/web/dist/assets/childFlow.0ad217fb.js similarity index 97% rename from lishui2/web/dist/assets/childFlow.f43b03d3.js rename to lishui2/web/dist/assets/childFlow.0ad217fb.js index b7c7040..22b1104 100644 --- a/lishui2/web/dist/assets/childFlow.f43b03d3.js +++ b/lishui2/web/dist/assets/childFlow.0ad217fb.js @@ -1 +1 @@ -import{d as j,ao as v,c as d,e as i,f as _,J as g,g as e,n as B,h as t,Y as I,t as h,F as w,I as O,i as n,j as p,u as P,k as L}from"./index.51e934d4.js";const S={key:0},T={class:"node flex flex-col justify-center items-center"},E=["onClick"],R={class:"tit"},U={class:"content"},z={key:1,class:"text-info"},J={class:"flex flex-col"},M=j({name:"childFlow"}),q=Object.assign(M,{props:{nodeData:Array},setup(s){const b=v("showApprovalDialog"),y=v("addNode"),D=v("removeNode"),f=c=>{y(c)},N=(c,u,r,k)=>{D(c,u,r,k)},x=({key:c,type:u,item:r})=>{b({key:c,type:u,item:r})};return(c,u)=>{const r=d("svg-icon"),k=d("el-tag"),$=d("Plus"),A=d("el-icon"),m=d("el-button"),F=d("el-popover");return i(!0),_(w,null,g(s.nodeData,(o,l)=>{var C;return i(),_("div",{key:l,class:"childFlow"},[o.branchs?L("",!0):(i(),_("div",S,[e("div",T,[e("div",{class:B(`box box_${o.type} px-24 py-16 bg-white rounded-4`),onClick:a=>x({key:l,type:o.type,item:s.nodeData})},[t(r,{name:"delIcon","svg-class":"delIcon",onClick:I(a=>N(l,s.nodeData),["stop"])},null,8,["onClick"]),e("p",R,h(o.name),1),e("div",U,[o.props&&((C=o.props.assignedUser)==null?void 0:C.length)?(i(!0),_(w,{key:0},g(o.props.assignedUser,(a,V)=>(i(),O(k,{key:V,type:"info",class:"mr-4"},{default:n(()=>[p(h(a.name),1)]),_:2},1024))),128)):(i(),_("span",z,h(o.placeholder||"\u8BF7\u9009\u62E9"),1))])],10,E),t(F,{placement:"right",width:100,trigger:"hover"},{reference:n(()=>[t(A,{class:"add_icon mt-20 mb-20 cursor-pointer"},{default:n(()=>[t($)]),_:1})]),default:n(()=>[e("div",J,[e("p",null,[t(m,{class:"mb-8 w-full",onClick:a=>f({key:l,type:"APPROVAL",item:s.nodeData})},{default:n(()=>[p(" \u5BA1\u6279\u4EBA ")]),_:2},1032,["onClick"])]),e("p",null,[t(m,{class:"ml-1 mb-8 w-full",onClick:a=>f({key:l,type:"SEAL",item:s.nodeData})},{default:n(()=>[p(" \u76D6\u7AE0\u4EBA ")]),_:2},1032,["onClick"])]),e("p",null,[t(m,{class:"ml-1 mb-8 w-full",onClick:a=>f({key:l,type:"CC",item:s.nodeData})},{default:n(()=>[p(" \u6284\u9001\u4EBA ")]),_:2},1032,["onClick"])]),e("p",null,[t(m,{class:"mb-8 w-full",onClick:a=>P(y)({key:l,type:"CONSTRCTION",item:s.nodeData})},{default:n(()=>[p(" \u5EFA\u8BBE\u5BA1\u6279\u4EBA ")]),_:2},1032,["onClick"])])])]),_:2},1024)])]))])}),128)}}});export{q as default}; +import{d as j,ao as v,c as d,e as i,f as _,J as g,g as e,n as B,h as t,Y as I,t as h,F as w,I as O,i as n,j as p,u as P,k as L}from"./index.07ccce2b.js";const S={key:0},T={class:"node flex flex-col justify-center items-center"},E=["onClick"],R={class:"tit"},U={class:"content"},z={key:1,class:"text-info"},J={class:"flex flex-col"},M=j({name:"childFlow"}),q=Object.assign(M,{props:{nodeData:Array},setup(s){const b=v("showApprovalDialog"),y=v("addNode"),D=v("removeNode"),f=c=>{y(c)},N=(c,u,r,k)=>{D(c,u,r,k)},x=({key:c,type:u,item:r})=>{b({key:c,type:u,item:r})};return(c,u)=>{const r=d("svg-icon"),k=d("el-tag"),$=d("Plus"),A=d("el-icon"),m=d("el-button"),F=d("el-popover");return i(!0),_(w,null,g(s.nodeData,(o,l)=>{var C;return i(),_("div",{key:l,class:"childFlow"},[o.branchs?L("",!0):(i(),_("div",S,[e("div",T,[e("div",{class:B(`box box_${o.type} px-24 py-16 bg-white rounded-4`),onClick:a=>x({key:l,type:o.type,item:s.nodeData})},[t(r,{name:"delIcon","svg-class":"delIcon",onClick:I(a=>N(l,s.nodeData),["stop"])},null,8,["onClick"]),e("p",R,h(o.name),1),e("div",U,[o.props&&((C=o.props.assignedUser)==null?void 0:C.length)?(i(!0),_(w,{key:0},g(o.props.assignedUser,(a,V)=>(i(),O(k,{key:V,type:"info",class:"mr-4"},{default:n(()=>[p(h(a.name),1)]),_:2},1024))),128)):(i(),_("span",z,h(o.placeholder||"\u8BF7\u9009\u62E9"),1))])],10,E),t(F,{placement:"right",width:100,trigger:"hover"},{reference:n(()=>[t(A,{class:"add_icon mt-20 mb-20 cursor-pointer"},{default:n(()=>[t($)]),_:1})]),default:n(()=>[e("div",J,[e("p",null,[t(m,{class:"mb-8 w-full",onClick:a=>f({key:l,type:"APPROVAL",item:s.nodeData})},{default:n(()=>[p(" \u5BA1\u6279\u4EBA ")]),_:2},1032,["onClick"])]),e("p",null,[t(m,{class:"ml-1 mb-8 w-full",onClick:a=>f({key:l,type:"SEAL",item:s.nodeData})},{default:n(()=>[p(" \u76D6\u7AE0\u4EBA ")]),_:2},1032,["onClick"])]),e("p",null,[t(m,{class:"ml-1 mb-8 w-full",onClick:a=>f({key:l,type:"CC",item:s.nodeData})},{default:n(()=>[p(" \u6284\u9001\u4EBA ")]),_:2},1032,["onClick"])]),e("p",null,[t(m,{class:"mb-8 w-full",onClick:a=>P(y)({key:l,type:"CONSTRCTION",item:s.nodeData})},{default:n(()=>[p(" \u5EFA\u8BBE\u5BA1\u6279\u4EBA ")]),_:2},1032,["onClick"])])])]),_:2},1024)])]))])}),128)}}});export{q as default}; diff --git a/lishui2/web/dist/assets/childFlow.be0d1cf1.js b/lishui2/web/dist/assets/childFlow.38306caa.js similarity index 98% rename from lishui2/web/dist/assets/childFlow.be0d1cf1.js rename to lishui2/web/dist/assets/childFlow.38306caa.js index 9dc901b..adbfaad 100644 --- a/lishui2/web/dist/assets/childFlow.be0d1cf1.js +++ b/lishui2/web/dist/assets/childFlow.38306caa.js @@ -1 +1 @@ -import{d as K,D as Q,ao as g,c as C,e as t,f as l,J as w,g as n,n as j,h as c,Y as U,t as u,F as m,I as D,i as s,j as h,k as f,u as x}from"./index.51e934d4.js";const X={key:0},Z={class:"node flex flex-col justify-center items-center"},L=["onClick"],ee={class:"tit"},oe={class:"content"},te={key:2,class:"text-info"},ne={class:"flex flex-col"},le={class:"conNode"},se={key:0,class:"topLine"},ce=["onClick"],ae={class:"conOut flex justify-between"},de={class:"node flex flex-col justify-center items-center"},ie=n("p",{class:"line"},null,-1),re=["onClick"],_e={class:"tit"},pe={key:0},ue={key:1},he={key:2,class:"content"},ye=n("a",null,"\u7B5B\u9009\u6570\u636E",-1),Ce=[ye],fe={key:3,class:"content"},ke=n("span",{class:"text-info"},"\u5E76\u884C\u4EFB\u52A1\uFF08\u540C\u65F6\u8FDB\u884C\uFF09",-1),Ne=[ke];const ve=n("p",{class:"spec_line"},null,-1),ge={key:1,class:"bot_line"},me={key:0,class:"flex justify-center items-center"},Te={class:"flex flex-col"},we=K({name:"childFlow"}),be=Object.assign(we,{props:{nodeData:Array},setup(d){const{filedConditionsOptions:O}=Q.dictStore.globalDicts||{},G=g("showApprovalDialog"),M=g("showConditionDialog"),F=g("showConcurrentDialog"),P=g("addNode"),W=g("removeNode"),z=g("addCondition"),k=i=>{P(i)},E=(i,a,p,b)=>{W(i,a,p,b)},J=(i,a)=>{z(i,a)},I=({key:i,type:a,item:p})=>{a==="SUB"&&G({key:i,type:a,item:p}),a==="CONDITION"&&M({key:i,type:a,item:p}),a==="CONCURRENT"&&F({key:i,type:a,item:p})};return(i,a)=>{const p=C("svg-icon"),b=C("el-tag"),R=C("Plus"),S=C("el-icon"),N=C("el-button"),$=C("el-popover"),Y=C("child-flow",!0);return t(!0),l(m,null,w(d.nodeData,(o,r)=>{var B;return t(),l("div",{key:r,class:"childFlow"},[o.branchs?(t(),l(m,{key:1},[n("div",le,[o.branchs?(t(),l("p",se,[n("span",{class:"text-primary cursor-pointer bg-white text-center text-12",onClick:e=>J(o.branchs,o.type)},u(o.type==="CONDITIONS"?"\u6DFB\u52A0\u6761\u4EF6":"\u6DFB\u52A0\u5206\u652F"),9,ce)])):f("",!0),n("div",ae,[(t(!0),l(m,null,w(o.branchs,(e,T)=>{var V;return t(),l("div",{key:T,class:"model conModel mr-8"},[n("div",de,[ie,n("div",{class:j(`box box_${e.type} px-24 py-16 bg-white rounded-4`),onClick:v=>I({key:T,type:e.type,item:e})},[c(p,{name:"delIcon","svg-class":"delIcon",onClick:U(v=>E(T,o,r,d.nodeData),["stop"])},null,8,["onClick"]),e.props&&((V=e.props.groups)==null?void 0:V.length)?(t(!0),l(m,{key:0},w(e.props.groups,(v,A)=>(t(),l("div",{key:A},[n("div",_e,[(t(!0),l(m,null,w(v.conditions,(_,q)=>(t(),l("p",{key:q},[n("span",null,u(_.title)+u(x(O).find(y=>_.id===y.value).judges[_.compare])+u(x(O).find(y=>_.id===y.value).type==="bool_condition"?`${_.value.join("\u3001")*1?"\u662F":"\u5426"}`:x(O).find(y=>_.id===y.value).type==="value_condition"?_.value.map(y=>x(O).find(H=>_.id===H.value).options[y]).join("\u3001"):_.value.join("\u3001")),1)]))),128))]),A