diff --git a/lishui2/web/dist/assets/accessory.9e27b32e.js b/lishui2/web/dist/assets/accessory.9fd38db9.js similarity index 74% rename from lishui2/web/dist/assets/accessory.9e27b32e.js rename to lishui2/web/dist/assets/accessory.9fd38db9.js index ab58696..b6d765a 100644 --- a/lishui2/web/dist/assets/accessory.9e27b32e.js +++ b/lishui2/web/dist/assets/accessory.9fd38db9.js @@ -1 +1 @@ -import{_ as S,d as k,D as O,r as A,e as p,f as N,I as j,l,k as o,j as t,h as v,t as F,m as y,i as c}from"./index.11dc4694.js";import{h as b,f as h,c as n,b as w,e as D,r}from"./uploadAction.c865409e.js";const $={class:"el-upload__tip"};const U={class:"el-upload__tip"},B={class:"el-upload__tip"},M={class:"el-upload__tip"},I={class:"el-upload__tip"},J=k({name:"accessory"}),L=Object.assign(J,{props:{detailData:{type:Object,default:()=>({})},projectType:{type:String,default:""},declareAmount:{type:Number}},setup(g,{expose:R}){const u=O.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(s=>{i(s)})},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,s)=>{const f=p("el-button"),m=p("el-upload"),d=p("el-form-item"),_=p("el-col"),T=p("el-row"),C=p("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":s[0]||(s[0]=e=>a.value.preliminaryPlanFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(b)(e,a.value.preliminaryPlanFile,!0),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),"on-preview":t(w)},{tip:l(()=>[v("div",$," \u652F\u6301"+F(t(D))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[y("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1}),c("v-if",!0),c("v-if",!0),c("v-if",!0),(g.projectType,c("v-if",!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":s[5]||(s[5]=e=>a.value.baseResearchReportFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(b)(e,a.value.baseResearchReportFile,!0),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),"on-preview":t(w)},{tip:l(()=>[v("div",U," \u652F\u6301"+F(t(D))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[y("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})):c("v-if",!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":s[6]||(s[6]=e=>a.value.constructionPlanFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(b)(e,a.value.constructionPlanFile,!0),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),"on-preview":t(w)},{tip:l(()=>[v("div",B," \u652F\u6301"+F(t(D))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[y("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})):c("v-if",!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":s[7]||(s[7]=e=>a.value.baseProjOtherFile=e),class:"upload-demo",action:t(u),multiple:"","on-success":e=>t(b)(e,a.value.baseProjOtherFile),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),limit:10,"on-preview":t(w)},{tip:l(()=>[v("div",M," \u652F\u6301"+F(t(D))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{plain:"",type:"primary"},{default:l(()=>[y("\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":s[8]||(s[8]=e=>a.value.mainAccusationDoc=e),class:"upload-demo",action:t(u),multiple:"","on-success":e=>t(b)(e,a.value.mainAccusationDoc),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),limit:10,"on-preview":t(w)},{tip:l(()=>[v("div",I," \u652F\u6301"+F(t(D))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{plain:"",type:"primary"},{default:l(()=>[y("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})):c("v-if",!0)]),_:1})]}),_:1})]),_:1},8,["model"])}}}),G=S(L,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/accessory.vue"]]);export{G as default}; +import{_ as S,d as k,D as O,r as A,e as p,f as N,I as j,l,k as o,j as t,h as v,t as F,m as b,i as c}from"./index.096886c6.js";import{h as y,f as h,c as n,b as w,e as g,r}from"./uploadAction.03c39815.js";const $={class:"el-upload__tip"};const U={class:"el-upload__tip"},B={class:"el-upload__tip"},I={class:"el-upload__tip"},M={class:"el-upload__tip"},J=k({name:"accessory"}),L=Object.assign(J,{props:{detailData:{type:Object,default:()=>({})},projectType:{type:String,default:""},declareAmount:{type:Number}},setup(D,{expose:R}){const u=O.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(s=>{i(s)})},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,s)=>{const f=p("el-button"),m=p("el-upload"),d=p("el-form-item"),_=p("el-col"),T=p("el-row"),C=p("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":s[0]||(s[0]=e=>a.value.preliminaryPlanFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(y)(e,a.value.preliminaryPlanFile,!0),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),"on-preview":t(w)},{tip:l(()=>[v("div",$," \u652F\u6301"+F(t(g))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[b("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1}),c("v-if",!0),c("v-if",!0),c("v-if",!0),(D.projectType,c("v-if",!0)),D.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":s[5]||(s[5]=e=>a.value.baseResearchReportFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(y)(e,a.value.baseResearchReportFile,!0),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),"on-preview":t(w)},{tip:l(()=>[v("div",U," \u652F\u6301"+F(t(g))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[b("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})):c("v-if",!0),i.$route.name==="declarePlan"||[10012,10013,10016].includes((P=D.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":s[6]||(s[6]=e=>a.value.constructionPlanFile=e),class:"w-full",action:t(u),limit:1,"on-success":e=>t(y)(e,a.value.constructionPlanFile,!0),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),"on-preview":t(w)},{tip:l(()=>[v("div",B," \u652F\u6301"+F(t(g))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{type:"primary",plain:""},{default:l(()=>[b("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1})):c("v-if",!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":s[7]||(s[7]=e=>a.value.baseProjOtherFile=e),class:"upload-demo",action:t(u),multiple:"","on-success":e=>t(y)(e,a.value.baseProjOtherFile),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),limit:10,"on-preview":t(w)},{tip:l(()=>[v("div",I," \u652F\u6301"+F(t(g))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{plain:"",type:"primary"},{default:l(()=>[b("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})]),_:1}),o(_,{span:12},{default:l(()=>[D.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":s[8]||(s[8]=e=>a.value.mainAccusationDoc=e),class:"upload-demo",action:t(u),multiple:"","on-success":e=>t(y)(e,a.value.mainAccusationDoc),"before-upload":e=>t(h)(e,{types:t(n)}),accept:t(n).map(e=>`.${e}`).join(","),limit:10,"on-preview":t(w)},{tip:l(()=>[v("div",M," \u652F\u6301"+F(t(g))+"\u6587\u4EF6 ",1)]),default:l(()=>[o(f,{plain:"",type:"primary"},{default:l(()=>[b("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","accept","on-preview"])]),_:1})):c("v-if",!0)]),_:1})]}),_:1})]),_:1},8,["model"])}}}),G=S(L,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/accessory.vue"]]);export{G as default}; diff --git a/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.31a0a036.js b/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.31a0a036.js new file mode 100644 index 0000000..da27f5b --- /dev/null +++ b/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.31a0a036.js @@ -0,0 +1 @@ +var I=(b,$,n)=>new Promise((a,u)=>{var g=o=>{try{c(n.next(o))}catch(f){u(f)}},k=o=>{try{c(n.throw(o))}catch(f){u(f)}},c=o=>o.done?a(o.value):Promise.resolve(o.value).then(g,k);c((n=n.apply(b,$)).next())});import{_ as q,d as B,r as w,L as J,e as s,f as m,I as p,l as t,k as r,m as N,i as _,Y as M,h as P}from"./index.096886c6.js";const j=["onClick"],D=B({name:"actualPerformanceIndicatorsDialog"}),R=Object.assign(D,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","setContent"],setup(b,{emit:$}){const n=b,a=w({perIndicator:[]}),u=w(),g={perIndicator:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u5B9E\u9645\u6210\u6548\u6307\u6807"}]},k=[{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=()=>{a.value.perIndicator.push({})},o=d=>{a.value.perIndicator.splice(d,1)},f=d=>I(this,null,function*(){!d||(yield d.validate(l=>I(this,null,function*(){if(l){const v=JSON.parse(JSON.stringify(a.value.perIndicator));x("setContent",v),x("close",!0)}})))}),V=w(!0),x=$;return J(()=>n.visible,d=>I(this,null,function*(){var l;d&&n.data?(V.value=!n.data,a.value.perIndicator=[JSON.parse(JSON.stringify(n.data))]):(V.value=!0,(l=u.value)==null||l.resetFields(),a.value={perIndicator:[]})})),(d,l)=>{const v=s("el-button"),h=s("el-input"),y=s("el-form-item"),C=s("el-input-number"),U=s("table-list"),O=s("el-form"),S=s("el-dialog");return m(),p(S,{"model-value":b.visible,title:"\u6DFB\u52A0",size:840,onClose:l[3]||(l[3]=e=>x("close"))},{footer:t(()=>[r(v,{type:"primary",onClick:l[1]||(l[1]=e=>f(u.value))},{default:t(()=>[N("\u63D0\u4EA4")]),_:1}),r(v,{onClick:l[2]||(l[2]=e=>x("close"))},{default:t(()=>[N("\u53D6\u6D88")]),_:1})]),default:t(()=>[r(O,{ref_key:"formRef",ref:u,"label-suffix":":",model:a.value,rules:g,"label-width":"160"},{default:t(()=>[V.value?(m(),p(v,{key:0,type:"primary",plain:"",icon:"Plus",class:"w-full mb-8",onClick:c},{default:t(()=>[N("\u6DFB\u52A0 ")]),_:1})):_("v-if",!0),r(U,{pagination:!1,column:k,"empty-temp":!1,data:a.value.perIndicator},{businessName:t(({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:t(()=>[r(h,{modelValue:a.value.perIndicator[e.$index].businessName,"onUpdate:modelValue":i=>a.value.perIndicator[e.$index].businessName=i,placeholder:"\u8BF7\u8F93\u5165",maxlength:"50"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("v-if",!0)]),name:t(({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:t(()=>[r(h,{modelValue:a.value.perIndicator[e.$index].name,"onUpdate:modelValue":i=>a.value.perIndicator[e.$index].name=i,placeholder:"\u8BF7\u8F93\u5165",maxlength:"50"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("v-if",!0)]),nums:t(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].nums`,"label-width":"0",style:{"margin-bottom":"0"}},{default:t(()=>[r(C,{modelValue:a.value.perIndicator[e.$index].nums,"onUpdate:modelValue":i=>a.value.perIndicator[e.$index].nums=i,controls:!1,class:"flex-1 mr-8",placeholder:"\u8BF7\u8F93\u5165",onMousewheel:l[0]||(l[0]=M(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("v-if",!0)]),unit:t(({scope:e})=>[e.$index>=0?(m(),p(y,{key:0,prop:`perIndicator[${e.$index}].unit`,"label-width":"0",style:{"margin-bottom":"0"}},{default:t(()=>[r(h,{modelValue:a.value.perIndicator[e.$index].unit,"onUpdate:modelValue":i=>a.value.perIndicator[e.$index].unit=i,placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("v-if",!0)]),action:t(({scope:e})=>[P("a",{class:"text-danger cursor-pointer",onClick:i=>o(e.$index)},"\u79FB\u9664",8,j)]),_:1},8,["data"])]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),F=q(R,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/initialInspectionRecord/uploadInitMaterials/components/actualPerformanceIndicatorsDialog.vue"]]);export{F as default}; diff --git a/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.930aa2cb.js b/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.930aa2cb.js deleted file mode 100644 index 805846e..0000000 --- a/lishui2/web/dist/assets/actualPerformanceIndicatorsDialog.930aa2cb.js +++ /dev/null @@ -1 +0,0 @@ -var I=(b,$,n)=>new Promise((t,u)=>{var g=o=>{try{c(n.next(o))}catch(f){u(f)}},k=o=>{try{c(n.throw(o))}catch(f){u(f)}},c=o=>o.done?t(o.value):Promise.resolve(o.value).then(g,k);c((n=n.apply(b,$)).next())});import{_ as J,d as M,r as w,L as P,e as s,f as m,I as p,l as a,k as r,m as N,i as _,Y as S,h as j}from"./index.11dc4694.js";const q=["onClick"],B=M({name:"actualPerformanceIndicatorsDialog"}),R=Object.assign(B,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","setContent"],setup(b,{emit:$}){const n=b,t=w({perIndicator:[]}),u=w(),g={perIndicator:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u5B9E\u9645\u6210\u6548\u6307\u6807"}]},k=[{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=>I(this,null,function*(){!d||(yield d.validate(l=>I(this,null,function*(){if(l){const v=JSON.parse(JSON.stringify(t.value.perIndicator));x("setContent",v),x("close",!0)}})))}),V=w(!0),x=$;return P(()=>n.visible,d=>I(this,null,function*(){var l;d&&n.data?(V.value=!n.data,t.value.perIndicator=[JSON.parse(JSON.stringify(n.data))]):(V.value=!0,(l=u.value)==null||l.resetFields(),t.value={perIndicator:[]})})),(d,l)=>{const v=s("el-button"),h=s("el-input"),y=s("el-form-item"),C=s("el-input-number"),U=s("table-list"),O=s("el-form"),D=s("el-dialog");return m(),p(D,{"model-value":b.visible,title:"\u6DFB\u52A0",size:840,onClose:l[3]||(l[3]=e=>x("close"))},{footer:a(()=>[r(v,{type:"primary",onClick:l[1]||(l[1]=e=>f(u.value))},{default:a(()=>[N("\u63D0\u4EA4")]),_:1}),r(v,{onClick:l[2]||(l[2]=e=>x("close"))},{default:a(()=>[N("\u53D6\u6D88")]),_:1})]),default:a(()=>[r(O,{ref_key:"formRef",ref:u,"label-suffix":":",model:t.value,rules:g,"label-width":"160"},{default:a(()=>[V.value?(m(),p(v,{key:0,type:"primary",plain:"",icon:"Plus",class:"w-full mb-8",onClick:c},{default:a(()=>[N("\u6DFB\u52A0 ")]),_:1})):_("v-if",!0),r(U,{pagination:!1,column:k,"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(()=>[r(h,{modelValue:t.value.perIndicator[e.$index].businessName,"onUpdate:modelValue":i=>t.value.perIndicator[e.$index].businessName=i,placeholder:"\u8BF7\u8F93\u5165",maxlength:"50"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("v-if",!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(()=>[r(h,{modelValue:t.value.perIndicator[e.$index].name,"onUpdate:modelValue":i=>t.value.perIndicator[e.$index].name=i,placeholder:"\u8BF7\u8F93\u5165",maxlength:"50"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("v-if",!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(()=>[r(C,{modelValue:t.value.perIndicator[e.$index].nums,"onUpdate:modelValue":i=>t.value.perIndicator[e.$index].nums=i,controls:!1,class:"flex-1 mr-8",placeholder:"\u8BF7\u8F93\u5165",onMousewheel:l[0]||(l[0]=S(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("v-if",!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(()=>[r(h,{modelValue:t.value.perIndicator[e.$index].unit,"onUpdate:modelValue":i=>t.value.perIndicator[e.$index].unit=i,placeholder:"\u8BF7\u8F93\u5165",maxlength:"10"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])):_("v-if",!0)]),action:a(({scope:e})=>[j("a",{class:"text-danger cursor-pointer",onClick:i=>o(e.$index)},"\u79FB\u9664",8,q)]),_:1},8,["data"])]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),F=J(R,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/initialInspectionRecord/uploadInitMaterials/components/actualPerformanceIndicatorsDialog.vue"]]);export{F as default}; diff --git a/lishui2/web/dist/assets/addExpertDialog.bdeec516.js b/lishui2/web/dist/assets/addExpertDialog.97b368c3.js similarity index 70% rename from lishui2/web/dist/assets/addExpertDialog.bdeec516.js rename to lishui2/web/dist/assets/addExpertDialog.97b368c3.js index 91a4854..3892b66 100644 --- a/lishui2/web/dist/assets/addExpertDialog.bdeec516.js +++ b/lishui2/web/dist/assets/addExpertDialog.97b368c3.js @@ -1 +1 @@ -var $=Object.defineProperty,q=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var L=(r,n,l)=>n in r?$(r,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[n]=l,k=(r,n)=>{for(var l in n||(n={}))F.call(n,l)&&L(r,l,n[l]);if(T)for(var l of T(n))G.call(n,l)&&L(r,l,n[l]);return r},E=(r,n)=>q(r,A(n));var C=(r,n,l)=>new Promise((_,v)=>{var o=d=>{try{x(l.next(d))}catch(p){v(p)}},g=d=>{try{x(l.throw(d))}catch(p){v(p)}},x=d=>d.done?_(d.value):Promise.resolve(d.value).then(o,g);x((l=l.apply(r,n)).next())});import{_ as H,d as K,b as Q,r as h,L as W,H as X,D as Y,e as f,f as Z,I as ee,l as a,k as t,m as w,h as U,t as te,p as ae}from"./index.11dc4694.js";import{c as le}from"./expertStore.0737db4f.js";const oe={class:"search mb-16"},ne=K({name:"driverDialog"}),se=Object.assign(ne,{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(),x=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 le(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}));x.value=s.data.total,p.value=s.data.records||[];const c=JSON.parse(JSON.stringify(y.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)})}),j=()=>{N()},z=()=>{o.expertRegionInfo=void 0,o.expertName=void 0,o.company=void 0,g.value.pageParams.pageNumber=1,g.value.pageParams.pageSize=10,N()},y=h([]),B=u=>{const e=u.map(i=>i.userId);p.value.forEach(i=>{e.includes(i.userId)?y.value.push(i):y.value=y.value.filter(s=>s.userId!==i.userId)})},M=()=>{const u={},e=y.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)},D=h([]);return W(()=>_.visible,u=>C(this,null,function*(){var e;if(u){(e=_.data)!=null&&e.length&&(y.value=_.data.map(s=>s));const i=yield X({regionCode:331100,regionLevel:2});D.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"),O=f("el-form"),P=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:M},{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",oe,[t(O,{"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:D.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:j},{default:a(()=>[w("\u67E5\u8BE2")]),_:1}),t(b,{onClick:z},{default:a(()=>[w("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),t(P,{ref_key:"tableListRef",ref:g,column:d,data:p.value,total:x.value,"row-key":"userId",onSelectionChange:B,onGetTableData:N},{expertRegionInfo:a(({scope:m})=>{var V,S;return[U("span",null,te(((S=(V=m.row)==null?void 0:V.expertRegionInfo)==null?void 0:S.regionName)||"-"),1)]}),_:1},8,["data","total"])]),_:1},8,["model-value"])}}}),pe=H(se,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/reviewMeeting/addMeeting/components/addExpertDialog.vue"]]);export{pe as default}; +var J=Object.defineProperty,q=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var L=(r,n,l)=>n in r?J(r,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[n]=l,k=(r,n)=>{for(var l in n||(n={}))F.call(n,l)&&L(r,l,n[l]);if(T)for(var l of T(n))G.call(n,l)&&L(r,l,n[l]);return r},E=(r,n)=>q(r,A(n));var C=(r,n,l)=>new Promise((_,v)=>{var o=d=>{try{x(l.next(d))}catch(p){v(p)}},g=d=>{try{x(l.throw(d))}catch(p){v(p)}},x=d=>d.done?_(d.value):Promise.resolve(d.value).then(o,g);x((l=l.apply(r,n)).next())});import{_ as H,d as W,b as K,r as h,L as Q,H as X,D as Y,e as f,f as Z,I as ee,l as a,k as t,m as w,h as U,t as te,p as ae}from"./index.096886c6.js";import{c as le}from"./expertStore.09c67807.js";const oe={class:"search mb-16"},ne=W({name:"driverDialog"}),se=Object.assign(ne,{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=K({expertRegionLevel:void 0,expertName:void 0,company:void 0}),g=h(),x=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 le(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}));x.value=s.data.total,p.value=s.data.records||[];const c=JSON.parse(JSON.stringify(y.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()},y=h([]),O=u=>{const e=u.map(i=>i.userId);p.value.forEach(i=>{e.includes(i.userId)?y.value.push(i):y.value=y.value.filter(s=>s.userId!==i.userId)})},j=()=>{const u={},e=y.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 Q(()=>_.visible,u=>C(this,null,function*(){var e;if(u){(e=_.data)!=null&&e.length&&(y.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"),M=f("el-form"),P=f("table-list"),$=f("el-dialog");return Z(),ee($,{"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",oe,[t(M,{"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(P,{ref_key:"tableListRef",ref:g,column:d,data:p.value,total:x.value,"row-key":"userId",onSelectionChange:O,onGetTableData:N},{expertRegionInfo:a(({scope:m})=>{var D,S;return[U("span",null,te(((S=(D=m.row)==null?void 0:D.expertRegionInfo)==null?void 0:S.regionName)||"-"),1)]}),_:1},8,["data","total"])]),_:1},8,["model-value"])}}}),pe=H(se,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/expertManage/reviewMeeting/addMeeting/components/addExpertDialog.vue"]]);export{pe as default}; diff --git a/lishui2/web/dist/assets/addProjectDialog.23a94b87.js b/lishui2/web/dist/assets/addProjectDialog.23a94b87.js new file mode 100644 index 0000000..480b838 --- /dev/null +++ b/lishui2/web/dist/assets/addProjectDialog.23a94b87.js @@ -0,0 +1 @@ +var A=Object.defineProperty,L=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var N=(o,t,e)=>t in o?A(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,_=(o,t)=>{for(var e in t||(t={}))I.call(t,e)&&N(o,e,t[e]);if(D)for(var e of D(t))M.call(t,e)&&N(o,e,t[e]);return o},O=(o,t)=>L(o,P(t));var h=(o,t,e)=>new Promise((d,p)=>{var f=l=>{try{y(e.next(l))}catch(u){p(u)}},v=l=>{try{y(e.throw(l))}catch(u){p(u)}},y=l=>l.done?d(l.value):Promise.resolve(l.value).then(f,v);y((e=e.apply(o,t)).next())});import{_ as B,d as R,D as W,r as j,b as z,L as E,e as w,f as J,I as V,l as b,k as T,m as k,t as Y,j as $,N as q}from"./index.096886c6.js";import{v as G,g as U}from"./reviewMeeting.e9ae3114.js";const F=R({name:"driverDialog"}),H=Object.assign(F,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0},meetingType:{type:String,default:"1"}},emits:["close","getProjectData"],setup(o,{emit:t}){const{projectTypeOptions:e}=W.dictStore.globalDicts||{},d=o,p=t,f=j(),v=j(0),y=z([{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"}]),l=j([]),u=(...s)=>h(this,[...s],function*(r=(i=>(i=f.value)==null?void 0:i.pageParams)()){var g;let a;d.meetingType==="6"?(a=yield G(_({},r)),v.value=((g=a.data)==null?void 0:g.length)||0,l.value=a.data.map(n=>O(_({},n),{id:n.projectId,buildOrg:n.buildOrgName,declaredAmount:n.declareAmount}))||[]):(a=yield U(_({meetingType:d.meetingType},r)),v.value=a.data.total,l.value=a.data.records||[]),yield q();const m=JSON.parse(JSON.stringify(c.value))||[];m!=null&&m.length&&l.value&&l.value.forEach(n=>{m.map(x=>x.id*1).includes(n.id)&&f.value.toggleRowSelect(n,!0)})}),c=j([]),S=r=>{const i=r.map(s=>s.id);l.value.forEach(s=>{i.includes(s.id)?c.value.push(s):c.value=c.value.filter(a=>a.id!==s.id)})},C=()=>{const r={},i=c.value.reduce((s,a)=>(r[a.id]||(r[a.id]=s.push(a)),s),[]);p("getProjectData",i)};return E(()=>d.visible,r=>h(this,null,function*(){var i;r&&((i=d.data)!=null&&i.length?c.value=d.data.map(s=>s):c.value=[],u())})),(r,i)=>{const s=w("table-list"),a=w("el-button"),m=w("el-dialog");return J(),V(m,{"model-value":o.visible,title:"\u6DFB\u52A0\u9879\u76EE",width:"840px","destroy-on-close":"",onClose:i[1]||(i[1]=g=>p("close"))},{footer:b(()=>[T(a,{type:"primary",size:"small",onClick:C},{default:b(()=>[k(" \u786E\u5B9A ")]),_:1}),T(a,{size:"small",onClick:i[0]||(i[0]=g=>p("close"))},{default:b(()=>[k(" \u5173\u95ED ")]),_:1})]),default:b(()=>[T(s,{ref_key:"tableListRef",ref:f,column:y,data:l.value,total:v.value,"row-key":"id",pagination:d.meetingType!=="6",onSelectionChange:S,onGetTableData:u},{projectTypeName:b(({scope:g})=>{var n;return[k(Y($(e)[(n=g.row)==null?void 0:n.projectType]),1)]}),_:1},8,["column","data","total","pagination"])]),_:1},8,["model-value"])}}}),ee=B(H,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/expertManage/reviewMeeting/addMeeting/components/addProjectDialog.vue"]]);export{ee as default}; diff --git a/lishui2/web/dist/assets/addProjectDialog.4c34f631.js b/lishui2/web/dist/assets/addProjectDialog.4c34f631.js deleted file mode 100644 index a535f9d..0000000 --- a/lishui2/web/dist/assets/addProjectDialog.4c34f631.js +++ /dev/null @@ -1 +0,0 @@ -var A=Object.defineProperty,P=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var N=(o,t,e)=>t in o?A(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,_=(o,t)=>{for(var e in t||(t={}))M.call(t,e)&&N(o,e,t[e]);if(D)for(var e of D(t))I.call(t,e)&&N(o,e,t[e]);return o},O=(o,t)=>P(o,L(t));var h=(o,t,e)=>new Promise((d,p)=>{var g=l=>{try{y(e.next(l))}catch(u){p(u)}},v=l=>{try{y(e.throw(l))}catch(u){p(u)}},y=l=>l.done?d(l.value):Promise.resolve(l.value).then(g,v);y((e=e.apply(o,t)).next())});import{_ as B,d as J,D as R,r as j,b as z,L as E,e as w,f as V,I as W,l as b,k as T,m as k,t as Y,j as $,N as q}from"./index.11dc4694.js";import{v as G,g as K}from"./reviewMeeting.73a1a7a7.js";const U=J({name:"driverDialog"}),F=Object.assign(U,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0},meetingType:{type:String,default:"1"}},emits:["close","getProjectData"],setup(o,{emit:t}){const{projectTypeOptions:e}=R.dictStore.globalDicts||{},d=o,p=t,g=j(),v=j(0),y=z([{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"}]),l=j([]),u=(...r)=>h(this,[...r],function*(s=(i=>(i=g.value)==null?void 0:i.pageParams)()){var f;let a;d.meetingType==="6"?(a=yield G(_({},s)),v.value=((f=a.data)==null?void 0:f.length)||0,l.value=a.data.map(n=>O(_({},n),{id:n.projectId,buildOrg:n.buildOrgName,declaredAmount:n.declareAmount}))||[]):(a=yield K(_({meetingType:d.meetingType},s)),v.value=a.data.total,l.value=a.data.records||[]),yield q();const m=JSON.parse(JSON.stringify(c.value))||[];m!=null&&m.length&&l.value&&l.value.forEach(n=>{m.map(S=>S.id*1).includes(n.id)&&g.value.toggleRowSelect(n,!0)})}),c=j([]),x=s=>{const i=s.map(r=>r.id);l.value.forEach(r=>{i.includes(r.id)?c.value.push(r):c.value=c.value.filter(a=>a.id!==r.id)})},C=()=>{const s={},i=c.value.reduce((r,a)=>(s[a.id]||(s[a.id]=r.push(a)),r),[]);p("getProjectData",i)};return E(()=>d.visible,s=>h(this,null,function*(){var i;s&&((i=d.data)!=null&&i.length?c.value=d.data.map(r=>r):c.value=[],u())})),(s,i)=>{const r=w("table-list"),a=w("el-button"),m=w("el-dialog");return V(),W(m,{"model-value":o.visible,title:"\u6DFB\u52A0\u9879\u76EE",width:"840px","destroy-on-close":"",onClose:i[1]||(i[1]=f=>p("close"))},{footer:b(()=>[T(a,{type:"primary",size:"small",onClick:C},{default:b(()=>[k(" \u786E\u5B9A ")]),_:1}),T(a,{size:"small",onClick:i[0]||(i[0]=f=>p("close"))},{default:b(()=>[k(" \u5173\u95ED ")]),_:1})]),default:b(()=>[T(r,{ref_key:"tableListRef",ref:g,column:y,data:l.value,total:v.value,"row-key":"id",pagination:d.meetingType!=="6",onSelectionChange:x,onGetTableData:u},{projectTypeName:b(({scope:f})=>{var n;return[k(Y($(e)[(n=f.row)==null?void 0:n.projectType]),1)]}),_:1},8,["column","data","total","pagination"])]),_:1},8,["model-value"])}}}),ee=B(F,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/reviewMeeting/addMeeting/components/addProjectDialog.vue"]]);export{ee as default}; diff --git a/lishui2/web/dist/assets/addUserDialog.62ab5c51.js b/lishui2/web/dist/assets/addUserDialog.62ab5c51.js new file mode 100644 index 0000000..1637220 --- /dev/null +++ b/lishui2/web/dist/assets/addUserDialog.62ab5c51.js @@ -0,0 +1 @@ +var L=Object.defineProperty,M=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var U=(o,l,e)=>l in o?L(o,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[l]=e,C=(o,l)=>{for(var e in l||(l={}))j.call(l,e)&&U(o,e,l[e]);if(D)for(var e of D(l))G.call(l,e)&&U(o,e,l[e]);return o},x=(o,l)=>M(o,P(l));var S=(o,l,e)=>new Promise((g,u)=>{var c=n=>{try{v(e.next(n))}catch(b){u(b)}},y=n=>{try{v(e.throw(n))}catch(b){u(b)}},v=n=>n.done?g(n.value):Promise.resolve(n.value).then(c,y);v((e=e.apply(o,l)).next())});import{_ as A,d as J,b as $,r as N,G as q,D as F,L as W,e as m,f as H,I as K,l as s,k as t,m as k,h as Q,a2 as X}from"./index.096886c6.js";const Y={class:"search mb-16"},Z=J({name:"addUserDialog"}),ee=Object.assign(Z,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0}},emits:["close","getUserData"],setup(o,{emit:l}){const e=o,g=l,u=$({name:void 0,phoneNo:void 0}),c=N(),y=N(0),v=[{type:"selection",reserveSelection:!0,width:"55"},{label:"\u59D3\u540D",key:"name",prop:"name"},{label:"\u6240\u5C5E\u5355\u4F4D\uFF08\u4E3B\u804C\uFF09",key:"orgName",prop:"orgName",showOverflowTooltip:!0,width:250},{label:"\u6240\u5C5E\u533A\u57DF",key:"regionName",prop:"regionName",width:"150"},{label:"\u8054\u7CFB\u65B9\u5F0F",key:"phoneNo",prop:"phoneNo",width:"150"}],n=N([]),b=q(F.userStore).userInfo||{},I=(...r)=>S(this,[...r],function*(i=(a=>(a=c.value)==null?void 0:a.pageParams)()){const d=yield X(x(C(C({},i),u),{regionId:b.value.regionCode,roleCode:"MEETING_SUPERVISTOR"}));y.value=d.data.total,n.value=d.data.records||[];const p=JSON.parse(JSON.stringify(_.value));p!=null&&p.length&&n.value&&n.value.forEach(f=>{p.map(w=>w.userId*1).includes(f.userId)&&c.value.toggleRowSelect(f,!0)})}),T=()=>{I()},R=()=>{u.name=void 0,u.phoneNo=void 0,c.value.pageParams.pageNumber=1,c.value.pageParams.pageSize=10,I()},_=N([]),E=i=>{const a=i.map(r=>r.userId);n.value.forEach(r=>{a.includes(r.userId)?_.value.push(r):_.value=_.value.filter(d=>d.userId!==r.userId)})},O=()=>{const i={},a=_.value.reduce((r,d)=>(i[d.userId]||(i[d.userId]=r.push(d)),r),[]);g("getUserData",a)};return W(()=>e.visible,i=>S(this,null,function*(){var a;i&&(_.value=(a=e.data)!=null&&a.length?e.data.map(r=>r):[],I())})),(i,a)=>{const r=m("el-input"),d=m("el-form-item"),p=m("el-col"),f=m("el-button"),V=m("el-row"),w=m("el-form"),z=m("table-list"),B=m("el-dialog");return H(),K(B,{"model-value":o.visible,title:"\u9009\u62E9\u4EBA\u5458",width:"840px","destroy-on-close":"",onClose:a[3]||(a[3]=h=>g("close"))},{footer:s(()=>[t(f,{type:"primary",size:"small",onClick:O},{default:s(()=>[k(" \u786E\u5B9A ")]),_:1}),t(f,{size:"small",onClick:a[2]||(a[2]=h=>g("close"))},{default:s(()=>[k(" \u5173\u95ED ")]),_:1})]),default:s(()=>[Q("div",Y,[t(w,{"label-suffix":":",model:u,size:"small"},{default:s(()=>[t(V,{gutter:16,class:"mb-16"},{default:s(()=>[t(p,{span:8},{default:s(()=>[t(d,{label:"\u6284\u9001\u4EBA\u59D3\u540D"},{default:s(()=>[t(r,{modelValue:u.name,"onUpdate:modelValue":a[0]||(a[0]=h=>u.name=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{label:"\u6284\u9001\u4EBA\u8054\u7CFB\u65B9\u5F0F"},{default:s(()=>[t(r,{modelValue:u.phoneNo,"onUpdate:modelValue":a[1]||(a[1]=h=>u.phoneNo=h),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(p,{span:8},{default:s(()=>[t(d,{class:"btn"},{default:s(()=>[t(f,{type:"primary",onClick:T},{default:s(()=>[k("\u67E5\u8BE2")]),_:1}),t(f,{onClick:R},{default:s(()=>[k("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),t(z,{ref_key:"tableListRef",ref:c,column:v,data:n.value,total:y.value,"row-key":"userId",onSelectionChange:E,onGetTableData:I},null,8,["data","total"])]),_:1},8,["model-value"])}}}),te=A(ee,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/expertManage/reviewMeeting/addMeeting/components/addUserDialog.vue"]]);export{te as default}; diff --git a/lishui2/web/dist/assets/addUserDialog.91466dde.js b/lishui2/web/dist/assets/addUserDialog.91466dde.js deleted file mode 100644 index eb1baa6..0000000 --- a/lishui2/web/dist/assets/addUserDialog.91466dde.js +++ /dev/null @@ -1 +0,0 @@ -var j=Object.defineProperty,z=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var U=(o,l,e)=>l in o?j(o,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[l]=e,C=(o,l)=>{for(var e in l||(l={}))L.call(l,e)&&U(o,e,l[e]);if(S)for(var e of S(l))G.call(l,e)&&U(o,e,l[e]);return o},x=(o,l)=>z(o,B(l));var D=(o,l,e)=>new Promise((g,u)=>{var p=n=>{try{v(e.next(n))}catch(b){u(b)}},y=n=>{try{v(e.throw(n))}catch(b){u(b)}},v=n=>n.done?g(n.value):Promise.resolve(n.value).then(p,y);v((e=e.apply(o,l)).next())});import{_ as J,d as A,b as $,r as I,G as q,D as F,L as K,e as m,f as H,I as Q,l as s,k as t,m as k,h as W,a2 as X}from"./index.11dc4694.js";const Y={class:"search mb-16"},Z=A({name:"addUserDialog"}),ee=Object.assign(Z,{props:{visible:{type:Boolean,default:!1,required:!0},data:{type:Array,default:void 0}},emits:["close","getUserData"],setup(o,{emit:l}){const e=o,g=l,u=$({name:void 0,phoneNo:void 0}),p=I(),y=I(0),v=[{type:"selection",reserveSelection:!0,width:"55"},{label:"\u59D3\u540D",key:"name",prop:"name"},{label:"\u6240\u5C5E\u5355\u4F4D\uFF08\u4E3B\u804C\uFF09",key:"orgName",prop:"orgName",showOverflowTooltip:!0,width:250},{label:"\u6240\u5C5E\u533A\u57DF",key:"regionName",prop:"regionName",width:"150"},{label:"\u8054\u7CFB\u65B9\u5F0F",key:"phoneNo",prop:"phoneNo",width:"150"}],n=I([]),b=q(F.userStore).userInfo||{},N=(...r)=>D(this,[...r],function*(i=(a=>(a=p.value)==null?void 0:a.pageParams)()){const d=yield X(x(C(C({},i),u),{regionId:b.value.regionCode,roleCode:"MEETING_SUPERVISTOR"}));y.value=d.data.total,n.value=d.data.records||[];const c=JSON.parse(JSON.stringify(_.value));c!=null&&c.length&&n.value&&n.value.forEach(f=>{c.map(w=>w.userId*1).includes(f.userId)&&p.value.toggleRowSelect(f,!0)})}),T=()=>{N()},R=()=>{u.name=void 0,u.phoneNo=void 0,p.value.pageParams.pageNumber=1,p.value.pageParams.pageSize=10,N()},_=I([]),E=i=>{const a=i.map(r=>r.userId);n.value.forEach(r=>{a.includes(r.userId)?_.value.push(r):_.value=_.value.filter(d=>d.userId!==r.userId)})},M=()=>{const i={},a=_.value.reduce((r,d)=>(i[d.userId]||(i[d.userId]=r.push(d)),r),[]);g("getUserData",a)};return K(()=>e.visible,i=>D(this,null,function*(){var a;i&&(_.value=(a=e.data)!=null&&a.length?e.data.map(r=>r):[],N())})),(i,a)=>{const r=m("el-input"),d=m("el-form-item"),c=m("el-col"),f=m("el-button"),V=m("el-row"),w=m("el-form"),O=m("table-list"),P=m("el-dialog");return H(),Q(P,{"model-value":o.visible,title:"\u9009\u62E9\u4EBA\u5458",width:"840px","destroy-on-close":"",onClose:a[3]||(a[3]=h=>g("close"))},{footer:s(()=>[t(f,{type:"primary",size:"small",onClick:M},{default:s(()=>[k(" \u786E\u5B9A ")]),_:1}),t(f,{size:"small",onClick:a[2]||(a[2]=h=>g("close"))},{default:s(()=>[k(" \u5173\u95ED ")]),_:1})]),default:s(()=>[W("div",Y,[t(w,{"label-suffix":":",model:u,size:"small"},{default:s(()=>[t(V,{gutter:16,class:"mb-16"},{default:s(()=>[t(c,{span:8},{default:s(()=>[t(d,{label:"\u6284\u9001\u4EBA\u59D3\u540D"},{default:s(()=>[t(r,{modelValue:u.name,"onUpdate:modelValue":a[0]||(a[0]=h=>u.name=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(c,{span:8},{default:s(()=>[t(d,{label:"\u6284\u9001\u4EBA\u8054\u7CFB\u65B9\u5F0F"},{default:s(()=>[t(r,{modelValue:u.phoneNo,"onUpdate:modelValue":a[1]||(a[1]=h=>u.phoneNo=h),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(c,{span:8},{default:s(()=>[t(d,{class:"btn"},{default:s(()=>[t(f,{type:"primary",onClick:T},{default:s(()=>[k("\u67E5\u8BE2")]),_:1}),t(f,{onClick:R},{default:s(()=>[k("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),t(O,{ref_key:"tableListRef",ref:p,column:v,data:n.value,total:y.value,"row-key":"userId",onSelectionChange:E,onGetTableData:N},null,8,["data","total"])]),_:1},8,["model-value"])}}}),te=J(ee,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/reviewMeeting/addMeeting/components/addUserDialog.vue"]]);export{te as default}; diff --git a/lishui2/web/dist/assets/annualPaymentPlan.286f3cd2.js b/lishui2/web/dist/assets/annualPaymentPlan.fa1ba913.js similarity index 94% rename from lishui2/web/dist/assets/annualPaymentPlan.286f3cd2.js rename to lishui2/web/dist/assets/annualPaymentPlan.fa1ba913.js index aaacf76..4176769 100644 --- a/lishui2/web/dist/assets/annualPaymentPlan.286f3cd2.js +++ b/lishui2/web/dist/assets/annualPaymentPlan.fa1ba913.js @@ -1 +1 @@ -import{_,d as b,r as v,e as d,f as V,I as w,l as a,k as e,Y as i}from"./index.11dc4694.js";const F=b({name:"annualPaymentPlan"}),O=Object.assign(F,{setup(G,{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")},P={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=d("el-input-number"),m=d("el-form-item"),s=d("el-col"),g=d("el-row"),A=d("el-form");return V(),w(A,{ref_key:"formRef",ref:p,model:l.value,rules:P,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:a(()=>[e(g,{gutter:40},{default:a(()=>[e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),c=_(O,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/annualPaymentPlan.vue"]]);export{c as default}; +import{_,d as b,r as v,e as d,f as V,I as w,l as a,k as e,Y as i}from"./index.096886c6.js";const F=b({name:"annualPaymentPlan"}),O=Object.assign(F,{setup(G,{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")},P={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=d("el-input-number"),m=d("el-form-item"),s=d("el-col"),g=d("el-row"),A=d("el-form");return V(),w(A,{ref_key:"formRef",ref:p,model:l.value,rules:P,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:a(()=>[e(g,{gutter:40},{default:a(()=>[e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{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]=i(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),B=_(O,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/annualPaymentPlan.vue"]]);export{B as default}; diff --git a/lishui2/web/dist/assets/annualPlanStore.eb2b9f49.js b/lishui2/web/dist/assets/annualPlanStore.bedc2475.js similarity index 88% rename from lishui2/web/dist/assets/annualPlanStore.eb2b9f49.js rename to lishui2/web/dist/assets/annualPlanStore.bedc2475.js index e432f78..f74315c 100644 --- a/lishui2/web/dist/assets/annualPlanStore.eb2b9f49.js +++ b/lishui2/web/dist/assets/annualPlanStore.bedc2475.js @@ -1 +1 @@ -import{z as n}from"./index.11dc4694.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{z as n}from"./index.096886c6.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.ee2c426d.js b/lishui2/web/dist/assets/appBasicInfo.0a34eaab.js similarity index 81% rename from lishui2/web/dist/assets/appBasicInfo.ee2c426d.js rename to lishui2/web/dist/assets/appBasicInfo.0a34eaab.js index de48d84..33a9a5b 100644 --- a/lishui2/web/dist/assets/appBasicInfo.ee2c426d.js +++ b/lishui2/web/dist/assets/appBasicInfo.0a34eaab.js @@ -1 +1 @@ -var me=Object.defineProperty,fe=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var $=(c,m,d)=>m in c?me(c,m,{enumerable:!0,configurable:!0,writable:!0,value:d}):c[m]=d,G=(c,m)=>{for(var d in m||(m={}))ce.call(m,d)&&$(c,d,m[d]);if(J)for(var d of J(m))be.call(m,d)&&$(c,d,m[d]);return c},H=(c,m)=>fe(c,ve(m));var z=(c,m,d)=>new Promise((R,B)=>{var I=k=>{try{T(d.next(k))}catch(w){B(w)}},D=k=>{try{T(d.throw(k))}catch(w){B(w)}},T=k=>k.done?R(k.value):Promise.resolve(k.value).then(I,D);T((d=d.apply(c,m)).next())});import{_ as _e,d as Ve,D as M,G as ge,r as F,L as ke,e as _,f as u,I as r,l,k as a,m as v,i as A,g as V,F as g,J as C,j as p,h as Q,t as P}from"./index.11dc4694.js";import{h as X,f as Y,c as q,b as Z,e as h}from"./uploadAction.c865409e.js";import{c as ye,j as Ae}from"./index.f58f6803.js";const Ce={class:"el-upload__tip"},Ne={class:"el-upload__tip"},xe=Ve({name:"appBasicInfo"}),Ue=Object.assign(xe,{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:B,businessField:I,publisher:D,useScope:T,digitalModifySystem:k,domainBrainAccountOptions:w}=M.dictStore.globalDicts||{},L=M.dictStore.uploadUrl,ee=ge(M.userStore).userInfo||{},U=c,t=F({experimentsFile:[]}),E=F(),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=>{E.value.validate(o=>{f(o)})},te=()=>{E.value.clearValidate()},j=F([]),oe=()=>z(this,null,function*(){const f=yield ye({areaCode:ee.value.regionCode});j.value=f.data}),O=F([]),ue=()=>z(this,null,function*(){const f=yield Ae();O.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 ke(()=>U.drawerVisible,f=>{f&&(t.value=H(G({},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"),S=_("el-radio-group"),i=_("el-form-item"),s=_("el-col"),N=_("el-option"),x=_("el-select"),y=_("el-input"),K=_("el-button"),W=_("el-upload"),ne=_("el-cascader"),de=_("el-row"),re=_("el-form");return u(),r(re,{ref_key:"formRef",ref:E,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("v-if",!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(S,{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(x,{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(j.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("v-if",!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(x,{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(O.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(W,{ref:"preliminaryPlanRef","file-list":t.value.experimentsFile,"onUpdate:fileList":o[8]||(o[8]=e=>t.value.experimentsFile=e),class:"upload-demo",action:p(L),multiple:"","on-success":e=>p(X)(e,t.value.experimentsFile,!0),"before-upload":e=>p(Y)(e,{types:p(q)}),accept:p(q).map(e=>`.${e}`).join(","),limit:1,"on-preview":p(Z)},{tip:l(()=>[Q("div",Ce," \u652F\u6301"+P(p(h))+"\u6587\u4EF6 ",1)]),default:l(()=>[a(K,{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("v-if",!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("v-if",!0),a(s,{span:12},{default:l(()=>[a(i,{label:"\u5E94\u7528\u7C7B\u578B",prop:"applicationType"},{default:l(()=>[a(x,{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(B),(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(S,{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(P(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(S,{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(S,{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("v-if",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u6570\u6539\u7CFB\u7EDF",prop:"isDigitalModification"},{default:l(()=>[a(S,{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(x,{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("v-if",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u4E1A\u52A1\u9886\u57DF",prop:"bizDomain"},{default:l(()=>[a(x,{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(x,{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(D),(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(S,{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(x,{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("v-if",!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(x,{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("v-if",!0)]),_:1}),a(s,{span:12},{default:l(()=>[a(i,{label:"\u662F\u5426\u4E1A\u52A1\u534F\u540C",prop:"isBizCooperate"},{default:l(()=>[a(S,{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("v-if",!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(W,{"file-list":t.value.applicationEstimateFile,"onUpdate:fileList":o[26]||(o[26]=e=>t.value.applicationEstimateFile=e),class:"upload-demo",action:p(L),multiple:"","on-success":e=>p(X)(e,t.value.applicationEstimateFile,!1),"before-upload":e=>p(Y)(e,{types:p(q)}),accept:p(q).map(e=>`.${e}`).join(","),limit:10,"on-preview":p(Z)},{tip:l(()=>[Q("div",Ne," \u652F\u6301"+P(p(h))+"\u6587\u4EF6 ",1)]),default:l(()=>[a(K,{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"])}}}),Fe=_e(Ue,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/appBasicInfo.vue"]]);export{Fe 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,B)=>{var I=k=>{try{T(d.next(k))}catch(w){B(w)}},E=k=>{try{T(d.throw(k))}catch(w){B(w)}},T=k=>k.done?R(k.value):Promise.resolve(k.value).then(I,E);T((d=d.apply(c,m)).next())});import{_ as _e,d as Ve,D as M,G as ge,r as F,L as ke,e as _,f as u,I as r,l,k as a,m as v,i as A,g as V,F as g,J as C,j as p,h as Q,t as L}from"./index.096886c6.js";import{h as X,f as Y,c as q,b as Z,e as h}from"./uploadAction.03c39815.js";import{c as ye,j as Ae}from"./index.a82aa709.js";const Ce={class:"el-upload__tip"},Ne={class:"el-upload__tip"},Se=Ve({name:"appBasicInfo"}),Ue=Object.assign(Se,{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:B,businessField:I,publisher:E,useScope:T,digitalModifySystem:k,domainBrainAccountOptions:w}=M.dictStore.globalDicts||{},P=M.dictStore.uploadUrl,ee=ge(M.userStore).userInfo||{},U=c,t=F({experimentsFile:[]}),z=F(),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()},j=F([]),oe=()=>D(this,null,function*(){const f=yield ye({areaCode:ee.value.regionCode});j.value=f.data}),O=F([]),ue=()=>D(this,null,function*(){const f=yield Ae();O.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 ke(()=>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("v-if",!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(j.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("v-if",!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(O.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(q)}),accept:p(q).map(e=>`.${e}`).join(","),limit:1,"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})],64)):A("v-if",!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("v-if",!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(B),(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("v-if",!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("v-if",!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("v-if",!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("v-if",!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("v-if",!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(q)}),accept:p(q).map(e=>`.${e}`).join(","),limit:10,"on-preview":p(Z)},{tip:l(()=>[Q("div",Ne," \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"])}}}),Fe=_e(Ue,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/appBasicInfo.vue"]]);export{Fe as default}; diff --git a/lishui2/web/dist/assets/appResourceInfo.eae86de3.js b/lishui2/web/dist/assets/appResourceInfo.e910c871.js similarity index 83% rename from lishui2/web/dist/assets/appResourceInfo.eae86de3.js rename to lishui2/web/dist/assets/appResourceInfo.e910c871.js index e98a8b1..ad74670 100644 --- a/lishui2/web/dist/assets/appResourceInfo.eae86de3.js +++ b/lishui2/web/dist/assets/appResourceInfo.e910c871.js @@ -1 +1 @@ -import{_ as S,d as G,D as T,r as b,L as j,e as p,f as i,I as c,l as o,k as e,m as s,g,F as D,i as C,J as w,j as R,t as I}from"./index.11dc4694.js";const B=G({name:"appResourceInfo"}),O=Object.assign(B,{props:{data:{type:Object,default:null}},setup(x,{expose:y}){const{netEnvOptions:N}=T.dictStore.globalDicts||{},t=x,l=b({}),_=b(),U={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"}]},q=v=>{_.value.validate(a=>{v(a)})},k=()=>{_.value.clearValidate()};return j(()=>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}),y({validForm:q,formData:l,clearValidate:k}),(v,a)=>{const m=p("el-radio"),f=p("el-radio-group"),n=p("el-form-item"),d=p("el-col"),r=p("el-input"),F=p("el-row"),E=p("el-form");return i(),c(E,{ref_key:"formRef",ref:_,model:l.value,rules:U,"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(r,{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(r,{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(r,{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(r,{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("v-if",!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(I(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(r,{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("v-if",!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(r,{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("v-if",!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(r,{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("v-if",!0)]),_:1})]),_:1})]),_:1},8,["model"])}}}),L=S(O,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/appResourceInfo.vue"]]);export{L as default}; +import{_ as E,d as G,D as T,r as b,L as R,e as r,f as i,I as c,l as o,k as e,m as s,g,F as D,i as C,J as j,j as w,t as I}from"./index.096886c6.js";const B=G({name:"appResourceInfo"}),O=Object.assign(B,{props:{data:{type:Object,default:null}},setup(x,{expose:y}){const{netEnvOptions:N}=T.dictStore.globalDicts||{},t=x,l=b({}),_=b(),U={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"}]},q=v=>{_.value.validate(a=>{v(a)})},k=()=>{_.value.clearValidate()};return R(()=>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}),y({validForm:q,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"),S=r("el-form");return i(),c(S,{ref_key:"formRef",ref:_,model:l.value,rules:U,"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("v-if",!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,j(w(N),(u,V)=>(i(),c(m,{key:V,label:V*1},{default:o(()=>[s(I(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("v-if",!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("v-if",!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("v-if",!0)]),_:1})]),_:1})]),_:1},8,["model"])}}}),A=E(O,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/appResourceInfo.vue"]]);export{A as default}; diff --git a/lishui2/web/dist/assets/appSafeInfo.481bc724.js b/lishui2/web/dist/assets/appSafeInfo.0903e496.js similarity index 66% rename from lishui2/web/dist/assets/appSafeInfo.481bc724.js rename to lishui2/web/dist/assets/appSafeInfo.0903e496.js index 4dd3572..f12f26d 100644 --- a/lishui2/web/dist/assets/appSafeInfo.481bc724.js +++ b/lishui2/web/dist/assets/appSafeInfo.0903e496.js @@ -1 +1 @@ -import{_ as B,d as C,D as F,r as b,L,e as r,f as d,I as v,l as e,k as a,g as y,F as V,J as w,j as G,m as p,t as S}from"./index.11dc4694.js";const N=C({name:"appSafeInfo"}),J=Object.assign(N,{props:{data:{type:Object,default:null}},setup(I,{expose:x}){const{insuranceLevel:g}=F.dictStore.globalDicts||{},n=I,l=b({}),c=b(),D={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"}]},j=_=>{c.value.validate(o=>{_(o)})},k=()=>{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:j,formData:l,clearValidate:k}),(_,o)=>{const u=r("el-radio"),f=r("el-radio-group"),m=r("el-form-item"),i=r("el-col"),U=r("el-row"),q=r("el-form");return d(),v(q,{ref_key:"formRef",ref:c,model:l.value,rules:D,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:e(()=>[a(U,{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(()=>[(d(!0),y(V,null,w(G(g),(t,s)=>(d(),v(u,{key:s,label:s*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(()=>[(d(!0),y(V,null,w(G(g),(t,s)=>(d(),v(u,{key:s,label:s*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"])}}}),O=B(J,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/appSafeInfo.vue"]]);export{O as default}; +import{_ as B,d as C,D as F,r as b,L,e as r,f as d,I as v,l as e,k as a,g as y,F as S,J as V,j as G,m as p,t as w}from"./index.096886c6.js";const N=C({name:"appSafeInfo"}),O=Object.assign(N,{props:{data:{type:Object,default:null}},setup(I,{expose:x}){const{insuranceLevel:g}=F.dictStore.globalDicts||{},n=I,l=b({}),c=b(),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"}]},j=_=>{c.value.validate(o=>{_(o)})},D=()=>{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:j,formData:l,clearValidate:D}),(_,o)=>{const u=r("el-radio"),f=r("el-radio-group"),m=r("el-form-item"),i=r("el-col"),U=r("el-row"),q=r("el-form");return d(),v(q,{ref_key:"formRef",ref:c,model:l.value,rules:k,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:e(()=>[a(U,{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(()=>[(d(!0),y(S,null,V(G(g),(t,s)=>(d(),v(u,{key:s,label:s*1},{default:e(()=>[p(w(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(()=>[(d(!0),y(S,null,V(G(g),(t,s)=>(d(),v(u,{key:s,label:s*1},{default:e(()=>[p(w(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"])}}}),A=B(O,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/appSafeInfo.vue"]]);export{A as default}; diff --git a/lishui2/web/dist/assets/applicationEvaluate.358509aa.js b/lishui2/web/dist/assets/applicationEvaluate.b4e86809.js similarity index 82% rename from lishui2/web/dist/assets/applicationEvaluate.358509aa.js rename to lishui2/web/dist/assets/applicationEvaluate.b4e86809.js index 5ced176..171acf4 100644 --- a/lishui2/web/dist/assets/applicationEvaluate.358509aa.js +++ b/lishui2/web/dist/assets/applicationEvaluate.b4e86809.js @@ -1 +1 @@ -import{z as p}from"./index.11dc4694.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{z as p}from"./index.096886c6.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.d77468a9.js b/lishui2/web/dist/assets/applicationInfo.072d5097.js similarity index 63% rename from lishui2/web/dist/assets/applicationInfo.d77468a9.js rename to lishui2/web/dist/assets/applicationInfo.072d5097.js index af1b4fd..98a2b36 100644 --- a/lishui2/web/dist/assets/applicationInfo.d77468a9.js +++ b/lishui2/web/dist/assets/applicationInfo.072d5097.js @@ -1 +1 @@ -var T=(f,q,b)=>new Promise((L,V)=>{var B=s=>{try{_(b.next(s))}catch(i){V(i)}},I=s=>{try{_(b.throw(s))}catch(i){V(i)}},_=s=>s.done?L(s.value):Promise.resolve(s.value).then(B,I);_((b=b.apply(f,q)).next())});import{_ as W,d as X,G as Y,D as K,u as Z,r as S,L as z,o as ee,e as d,f as t,I as p,l,k as n,h as R,m as H,g as v,F as N,J as k,i as x,j as O}from"./index.11dc4694.js";import{c as Q}from"./index.f58f6803.js";const ae={class:"text-right w-full mb-8"},le=["onClick"],te={class:"text-right w-full mb-8"},oe=["onClick"],ne=X({name:"projectCollectionEnterBasicInfo"}),ie=Object.assign(ne,{props:{detail:{type:Object},basicInfoData:{type:Object}},setup(f,{expose:q}){const b=Y(K.userStore).userInfo,L=Z(),V=f,{accountAppNameOption:B,domainBrainAccountOptions:I}=K.dictStore.globalDicts||{},_=S(),s=S(),i=S({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"}],M=()=>{i.value.applications.push({application:void 0})},F=o=>{i.value.applications.splice(o,1)},C=S([]);return q({formRef:_,formData:i}),z(()=>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}),ee(()=>T(this,null,function*(){if(!L.query.id){const o=yield Q({areaCode:b.value.regionCode});C.value=o.data}})),z(()=>V.detail,o=>T(this,null,function*(){var y,A;if(o){const m=yield Q({areaCode:b.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,P,U,g,h;return{application:(($=C.value)==null?void 0:$.find(D=>D.applicationCode===c))||{applicationCode:c,applicationName:((j=(w=o.apply)==null?void 0:w.baseProjSys)==null?void 0:j.split("\uFF1B")[u])||""},baseAccountAppName:((U=(P=o.apply)==null?void 0:P.baseAccountAppName)==null?void 0:U.split("\uFF1B")[u])||"",baseBrainName:((h=(g=o.apply)==null?void 0:g.baseBrainName)==null?void 0:h.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"),P=d("el-row"),U=d("el-form");return t(),p(U,{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(P,{gutter:40},{default:l(()=>[n(j,{span:24},{default:l(()=>{var g,h,D,J,G;return[((h=(g=f.basicInfoData)==null?void 0:g.baseConstructionType)==null?void 0:h.includes("01"))&&!(((D=f.basicInfoData)==null?void 0:D.baseProjType)==="01"&&(((J=f.basicInfoData)==null?void 0:J.baseProjSetProg)==="01"||((G=f.basicInfoData)==null?void 0:G.baseProjSetProg)==="02"))?(t(),p(u,{key:"applications1",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applications"},{default:l(()=>[R("p",ae,[n(A,{type:"primary",onClick:M},{default:l(()=>[H("\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),v(N,null,k(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("v-if",!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),v(N,null,k(O(B),(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("v-if",!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),v(N,null,k(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("v-if",!0)]),action:l(({scope:e})=>[R("a",{class:"text-danger",onClick:a=>F(e.$index)},"\u5220\u9664",8,le)]),_:1},8,["data"])]),_:1})):(t(),p(u,{key:"applications2",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:l(()=>[R("p",te,[n(A,{type:"primary",onClick:M},{default:l(()=>[H("\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),v(N,null,k(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("v-if",!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),v(N,null,k(O(B),(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("v-if",!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),v(N,null,k(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("v-if",!0)]),action:l(({scope:e})=>[R("a",{class:"text-danger",onClick:a=>F(e.$index)},"\u5220\u9664",8,oe)]),_:1},8,["data"])]),_:1}))]}),_:1})]),_:1})]),_:1},8,["model","rules"])}}}),re=W(ie,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/applicationInfo.vue"]]);export{re as default}; +var T=(f,q,b)=>new Promise((L,V)=>{var B=s=>{try{_(b.next(s))}catch(i){V(i)}},I=s=>{try{_(b.throw(s))}catch(i){V(i)}},_=s=>s.done?L(s.value):Promise.resolve(s.value).then(B,I);_((b=b.apply(f,q)).next())});import{_ as Q,d as X,G as Y,D as W,u as Z,r as R,L as z,o as ee,e as d,f as t,I as p,l,k as n,h as D,m as H,g as v,F as k,J as N,i as x,j as O}from"./index.096886c6.js";import{c as K}from"./index.a82aa709.js";const ae={class:"text-right w-full mb-8"},le=["onClick"],te={class:"text-right w-full mb-8"},oe=["onClick"],ne=X({name:"projectCollectionEnterBasicInfo"}),ie=Object.assign(ne,{props:{detail:{type:Object},basicInfoData:{type:Object}},setup(f,{expose:q}){const b=Y(W.userStore).userInfo,L=Z(),V=f,{accountAppNameOption:B,domainBrainAccountOptions:I}=W.dictStore.globalDicts||{},_=R(),s=R(),i=R({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})},M=o=>{i.value.applications.splice(o,1)},C=R([]);return q({formRef:_,formData:i}),z(()=>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}),ee(()=>T(this,null,function*(){if(!L.query.id){const o=yield K({areaCode:b.value.regionCode});C.value=o.data}})),z(()=>V.detail,o=>T(this,null,function*(){var y,A;if(o){const m=yield K({areaCode:b.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 $,g,j,U,P,w,h;return{application:(($=C.value)==null?void 0:$.find(S=>S.applicationCode===c))||{applicationCode:c,applicationName:((j=(g=o.apply)==null?void 0:g.baseProjSys)==null?void 0:j.split("\uFF1B")[u])||""},baseAccountAppName:((P=(U=o.apply)==null?void 0:U.baseAccountAppName)==null?void 0:P.split("\uFF1B")[u])||"",baseBrainName:((h=(w=o.apply)==null?void 0:w.baseBrainName)==null?void 0:h.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"),g=d("table-list"),j=d("el-col"),U=d("el-row"),P=d("el-form");return t(),p(P,{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 w,h,S,G,J;return[((h=(w=f.basicInfoData)==null?void 0:w.baseConstructionType)==null?void 0:h.includes("01"))&&!(((S=f.basicInfoData)==null?void 0:S.baseProjType)==="01"&&(((G=f.basicInfoData)==null?void 0:G.baseProjSetProg)==="01"||((J=f.basicInfoData)==null?void 0:J.baseProjSetProg)==="02"))?(t(),p(u,{key:"applications1",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applications"},{default:l(()=>[D("p",ae,[n(A,{type:"primary",onClick:F},{default:l(()=>[H("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1})]),n(g,{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),v(k,null,N(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("v-if",!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),v(k,null,N(O(B),(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("v-if",!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),v(k,null,N(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("v-if",!0)]),action:l(({scope:e})=>[D("a",{class:"text-danger",onClick:a=>M(e.$index)},"\u5220\u9664",8,le)]),_:1},8,["data"])]),_:1})):(t(),p(u,{key:"applications2",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:l(()=>[D("p",te,[n(A,{type:"primary",onClick:F},{default:l(()=>[H("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1})]),n(g,{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),v(k,null,N(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("v-if",!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),v(k,null,N(O(B),(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("v-if",!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),v(k,null,N(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("v-if",!0)]),action:l(({scope:e})=>[D("a",{class:"text-danger",onClick:a=>M(e.$index)},"\u5220\u9664",8,oe)]),_:1},8,["data"])]),_:1}))]}),_:1})]),_:1})]),_:1},8,["model","rules"])}}}),re=Q(ie,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/applicationInfo.vue"]]);export{re as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.5c5071b7.js b/lishui2/web/dist/assets/applicationInfo.5c5071b7.js new file mode 100644 index 0000000..4cd473d --- /dev/null +++ b/lishui2/web/dist/assets/applicationInfo.5c5071b7.js @@ -0,0 +1 @@ +var A=(i,l,e)=>new Promise((c,n)=>{var p=a=>{try{o(e.next(a))}catch(t){n(t)}},s=a=>{try{o(e.throw(a))}catch(t){n(t)}},o=a=>a.done?c(a.value):Promise.resolve(a.value).then(p,s);o((e=e.apply(i,l)).next())});import{_ as v,d as S,G as g,D as j,r as C,o as B,e as m,f as D,I as h,l as I,k}from"./index.096886c6.js";import{c as x}from"./index.a82aa709.js";const R=S({name:"basicInfo"}),w=Object.assign(R,{props:{detailData:{type:Object,default:()=>{}}},setup(i){const l=g(j.userStore).userInfo,e=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=C([]),p=C([]);return B(()=>A(this,null,function*(){var o,a,t;const s=yield x({areaCode:l.value.regionCode});p.value=s.data,n.value=((t=(a=(o=e==null?void 0:e.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:a.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,_,b,f,N,y;return{applicationCode:r,applicationName:((_=(u=e==null?void 0:e.detailData)==null?void 0:u.baseProjSys)==null?void 0:_.split("\uFF1B")[d])||"",baseAccountAppName:((f=(b=e==null?void 0:e.detailData)==null?void 0:b.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=e==null?void 0:e.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const a=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return D(),h(r,{column:2,border:""},{default:I(()=>[k(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[k(a,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),O=v(w,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/applicationInfo.vue"]]);export{O as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.d98e922b.js b/lishui2/web/dist/assets/applicationInfo.93e3adab.js similarity index 66% rename from lishui2/web/dist/assets/applicationInfo.d98e922b.js rename to lishui2/web/dist/assets/applicationInfo.93e3adab.js index 414e3d3..b2756f8 100644 --- a/lishui2/web/dist/assets/applicationInfo.d98e922b.js +++ b/lishui2/web/dist/assets/applicationInfo.93e3adab.js @@ -1 +1 @@ -var E=(s,J,v)=>new Promise((M,j)=>{var L=r=>{try{w(v.next(r))}catch(p){j(p)}},T=r=>{try{w(v.throw(r))}catch(p){j(p)}},w=r=>r.done?M(r.value):Promise.resolve(r.value).then(L,T);w((v=v.apply(s,J)).next())});import{_ as ee,d as ae,G as le,D as X,u as te,r as q,L as Y,o as oe,e as _,f as o,I as u,l,k as i,h as K,m as Z,g,F as P,J as U,i as D,j as F}from"./index.11dc4694.js";import{c as z}from"./index.f58f6803.js";const ne={class:"text-right w-full mb-8"},ie={key:0},pe=["onClick"],ue={class:"text-right w-full mb-8"},se=["onClick"],de=ae({name:"projectCollectionEnterBasicInfo"}),ce=Object.assign(de,{props:{detail:{type:Object},basicInfoData:{type:Object},isSupplemented:{type:Boolean,default:!1}},setup(s,{expose:J}){const v=le(X.userStore).userInfo,M=te(),j=s,{accountAppNameOption:L,domainBrainAccountOptions:T}=X.dictStore.globalDicts||{},w=q(),r=q(),p=q({applications:[]}),H=[{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 z({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 J({formRef:w,formData:p}),Y(()=>j.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}),oe(()=>E(this,null,function*(){if(!M.query.id){const t=yield z({areaCode:v.value.regionCode});N.value=t.data}})),Y(()=>j.detail,t=>E(this,null,function*(){var x,R,f,y;if(t){j.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(I=>I.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 z({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(I=>I.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,I;return[((k=(A=s.basicInfoData)==null?void 0:A.baseConstructionType)==null?void 0:k.includes("01"))&&!((($=s.basicInfoData)==null?void 0:$.baseProjType)==="01"&&(((V=s.basicInfoData)==null?void 0:V.baseProjSetProg)==="01"||((I=s.basicInfoData)==null?void 0:I.baseProjSetProg)==="02"))?(o(),u(c,{key:"applications1",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applications"},{default:l(()=>{var O;return[K("p",ne,[i(R,{type:"primary",disabled:!!((O=b.value)!=null&&O.length)&&s.isSupplemented,onClick:Q},{default:l(()=>[Z("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1},8,["disabled"])]),i(m,{pagination:!1,style:{width:"100%"},column:H,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":d=>p.value.applications[e.$index].application=d,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)&&s.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(N.value,(d,G)=>(o(),u(f,{key:G,label:d.applicationName,value:d},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("v-if",!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)&&s.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(F(L),(n,d)=>(o(),u(f,{key:d,label:n,value:n},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("v-if",!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)&&s.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(F(T),(n,d)=>(o(),u(f,{key:d,label:n,value:n},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("v-if",!0)]),action:l(({scope:e})=>{var a;return[((a=b.value)==null?void 0:a.length)&&s.isSupplemented?(o(),g("span",ie,"-")):(o(),g("a",{key:1,class:"text-danger",onClick:n=>W(e.$index)},"\u5220\u9664",8,pe))]}),_:1},8,["data"])]}),_:1})):(o(),u(c,{key:"applications2",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:l(()=>{var O;return[K("p",ue,[i(R,{type:"primary",disabled:!!((O=b.value)!=null&&O.length)&&s.isSupplemented,onClick:Q},{default:l(()=>[Z("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1},8,["disabled"])]),i(m,{pagination:!1,style:{width:"100%"},column:H,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":d=>p.value.applications[e.$index].application=d,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)&&s.isSupplemented},{default:l(()=>[(o(!0),g(P,null,U(N.value,(d,G)=>(o(),u(f,{key:G,label:d.applicationName,value:d},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("v-if",!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("v-if",!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("v-if",!0)]),action:l(({scope:e})=>[K("a",{class:"text-danger",onClick:a=>W(e.$index)},"\u5220\u9664",8,se)]),_:1},8,["data"])]}),_:1}))]}),_:1})]),_:1})]),_:1},8,["model","rules"])}}}),fe=ee(ce,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/applicationInfo.vue"]]);export{fe as default}; +var E=(s,G,v)=>new Promise((J,j)=>{var L=r=>{try{w(v.next(r))}catch(p){j(p)}},T=r=>{try{w(v.throw(r))}catch(p){j(p)}},w=r=>r.done?J(r.value):Promise.resolve(r.value).then(L,T);w((v=v.apply(s,G)).next())});import{_ as ee,d as ae,G as le,D as X,u as te,r as q,L as Y,o as oe,e as _,f as o,I as u,l,k as i,h as W,m as Z,g,F as U,J as P,i as D,j as F}from"./index.096886c6.js";import{c as z}from"./index.a82aa709.js";const ne={class:"text-right w-full mb-8"},ie={key:0},pe=["onClick"],ue={class:"text-right w-full mb-8"},se=["onClick"],de=ae({name:"projectCollectionEnterBasicInfo"}),ce=Object.assign(de,{props:{detail:{type:Object},basicInfoData:{type:Object},isSupplemented:{type:Boolean,default:!1}},setup(s,{expose:G}){const v=le(X.userStore).userInfo,J=te(),j=s,{accountAppNameOption:L,domainBrainAccountOptions:T}=X.dictStore.globalDicts||{},w=q(),r=q(),p=q({applications:[]}),H=[{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"}],K=()=>E(this,null,function*(){var t;if(!((t=N.value)!=null&&t.length)){const C=yield z({areaCode:v.value.regionCode});N.value=C.data}p.value.applications.push({application:void 0})}),Q=t=>{p.value.applications.splice(t,1)},N=q([]),b=q();return G({formRef:w,formData:p}),Y(()=>j.basicInfoData,t=>{var C;(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"}]},(C=w.value)==null||C.clearValidate()},{deep:!0,immediate:!0}),oe(()=>E(this,null,function*(){if(!J.query.id){const t=yield z({areaCode:v.value.regionCode});N.value=t.data}})),Y(()=>j.detail,t=>E(this,null,function*(){var C,R,f,y;if(t){j.isSupplemented&&(b.value=((R=(C=t.apply.baseProjSysCode)==null?void 0:C.split("\uFF1B"))==null?void 0:R.map((x,m)=>{var h,S,B,A,k,$,V;return{application:((h=N.value)==null?void 0:h.find(I=>I.applicationCode===x))||{applicationCode:x,applicationName:((B=(S=t.apply)==null?void 0:S.baseProjSys)==null?void 0:B.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 z({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((x,m)=>{var h,S,B,A,k,$,V;return{application:((h=N.value)==null?void 0:h.find(I=>I.applicationCode===x))||{applicationCode:x,applicationName:((B=(S=t.apply)==null?void 0:S.baseProjSys)==null?void 0:B.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,C)=>{const R=_("el-button"),f=_("el-option"),y=_("el-select"),c=_("el-form-item"),x=_("el-input"),m=_("table-list"),h=_("el-col"),S=_("el-row"),B=_("el-form");return o(),u(B,{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(S,{gutter:40},{default:l(()=>[i(h,{span:24},{default:l(()=>{var A,k,$,V,I;return[((k=(A=s.basicInfoData)==null?void 0:A.baseConstructionType)==null?void 0:k.includes("01"))&&!((($=s.basicInfoData)==null?void 0:$.baseProjType)==="01"&&(((V=s.basicInfoData)==null?void 0:V.baseProjSetProg)==="01"||((I=s.basicInfoData)==null?void 0:I.baseProjSetProg)==="02"))?(o(),u(c,{key:"applications1",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0",prop:"applications"},{default:l(()=>{var O;return[W("p",ne,[i(R,{type:"primary",disabled:!!((O=b.value)!=null&&O.length)&&s.isSupplemented,onClick:K},{default:l(()=>[Z("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1},8,["disabled"])]),i(m,{pagination:!1,style:{width:"100%"},column:H,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":d=>p.value.applications[e.$index].application=d,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)&&s.isSupplemented},{default:l(()=>[(o(!0),g(U,null,P(N.value,(d,M)=>(o(),u(f,{key:M,label:d.applicationName,value:d},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("v-if",!0)]),applicationCode:l(({scope:e})=>[i(c,null,{default:l(()=>{var a;return[i(x,{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)&&s.isSupplemented},{default:l(()=>[(o(!0),g(U,null,P(F(L),(n,d)=>(o(),u(f,{key:d,label:n,value:n},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("v-if",!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)&&s.isSupplemented},{default:l(()=>[(o(!0),g(U,null,P(F(T),(n,d)=>(o(),u(f,{key:d,label:n,value:n},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("v-if",!0)]),action:l(({scope:e})=>{var a;return[((a=b.value)==null?void 0:a.length)&&s.isSupplemented?(o(),g("span",ie,"-")):(o(),g("a",{key:1,class:"text-danger",onClick:n=>Q(e.$index)},"\u5220\u9664",8,pe))]}),_:1},8,["data"])]}),_:1})):(o(),u(c,{key:"applications2",label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:l(()=>{var O;return[W("p",ue,[i(R,{type:"primary",disabled:!!((O=b.value)!=null&&O.length)&&s.isSupplemented,onClick:K},{default:l(()=>[Z("\u6DFB\u52A0\u5173\u8054\u5E94\u7528")]),_:1},8,["disabled"])]),i(m,{pagination:!1,style:{width:"100%"},column:H,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":d=>p.value.applications[e.$index].application=d,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)&&s.isSupplemented},{default:l(()=>[(o(!0),g(U,null,P(N.value,(d,M)=>(o(),u(f,{key:M,label:d.applicationName,value:d},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])]}),_:2},1032,["prop"])):D("v-if",!0)]),applicationCode:l(({scope:e})=>[i(c,null,{default:l(()=>{var a;return[i(x,{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(U,null,P(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("v-if",!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(U,null,P(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("v-if",!0)]),action:l(({scope:e})=>[W("a",{class:"text-danger",onClick:a=>Q(e.$index)},"\u5220\u9664",8,se)]),_:1},8,["data"])]}),_:1}))]}),_:1})]),_:1})]),_:1},8,["model","rules"])}}}),fe=ee(ce,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/applicationInfo.vue"]]);export{fe as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.a1d62051.js b/lishui2/web/dist/assets/applicationInfo.a1d62051.js new file mode 100644 index 0000000..f4ca5db --- /dev/null +++ b/lishui2/web/dist/assets/applicationInfo.a1d62051.js @@ -0,0 +1 @@ +var C=(l,i,e)=>new Promise((c,n)=>{var p=a=>{try{o(e.next(a))}catch(t){n(t)}},s=a=>{try{o(e.throw(a))}catch(t){n(t)}},o=a=>a.done?c(a.value):Promise.resolve(a.value).then(p,s);o((e=e.apply(l,i)).next())});import{_ as v,d as S,G as j,D as B,r as A,o as D,e as m,f as g,I as h,l as I,k}from"./index.096886c6.js";import{c as x}from"./index.a82aa709.js";const w=S({name:"basicInfo"}),R=Object.assign(w,{props:{detailData:{type:Object,default:()=>{}}},setup(l){const i=j(B.userStore).userInfo,e=l,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 D(()=>C(this,null,function*(){var o,a,t;const s=yield x({areaCode:i.value.regionCode});p.value=s.data,n.value=((t=(a=(o=e==null?void 0:e.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:a.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,_,b,f,N,y;return{applicationCode:r,applicationName:((_=(u=e==null?void 0:e.detailData)==null?void 0:u.baseProjSys)==null?void 0:_.split("\uFF1B")[d])||"",baseAccountAppName:((f=(b=e==null?void 0:e.detailData)==null?void 0:b.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=e==null?void 0:e.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const a=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return g(),h(r,{column:2,border:""},{default:I(()=>[k(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[k(a,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),G=v(R,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/detail/components/applicationInfo.vue"]]);export{G as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.a62cf848.js b/lishui2/web/dist/assets/applicationInfo.a62cf848.js deleted file mode 100644 index e46091a..0000000 --- a/lishui2/web/dist/assets/applicationInfo.a62cf848.js +++ /dev/null @@ -1 +0,0 @@ -var C=(l,i,e)=>new Promise((c,n)=>{var p=a=>{try{o(e.next(a))}catch(t){n(t)}},s=a=>{try{o(e.throw(a))}catch(t){n(t)}},o=a=>a.done?c(a.value):Promise.resolve(a.value).then(p,s);o((e=e.apply(l,i)).next())});import{_ as j,d as v,G as k,D as x,r as A,o as B,e as m,f as S,I as h,l as I,k as D}from"./index.11dc4694.js";import{c as w}from"./index.f58f6803.js";const g=v({name:"basicInfo"}),R=Object.assign(g,{props:{detailData:{type:Object,default:()=>{}}},setup(l){const i=k(x.userStore).userInfo,e=l,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 B(()=>C(this,null,function*(){var o,a,t;const s=yield w({areaCode:i.value.regionCode});p.value=s.data,n.value=((t=(a=(o=e==null?void 0:e.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:a.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,_,b,f,N,y;return{applicationCode:r,applicationName:((_=(u=e==null?void 0:e.detailData)==null?void 0:u.baseProjSys)==null?void 0:_.split("\uFF1B")[d])||"",baseAccountAppName:((f=(b=e==null?void 0:e.detailData)==null?void 0:b.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=e==null?void 0:e.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const a=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return S(),h(r,{column:2,border:""},{default:I(()=>[D(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[D(a,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),O=j(R,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/detail/components/applicationInfo.vue"]]);export{O as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.da213795.js b/lishui2/web/dist/assets/applicationInfo.da213795.js deleted file mode 100644 index a9aa481..0000000 --- a/lishui2/web/dist/assets/applicationInfo.da213795.js +++ /dev/null @@ -1 +0,0 @@ -var A=(i,l,e)=>new Promise((c,n)=>{var p=a=>{try{o(e.next(a))}catch(t){n(t)}},s=a=>{try{o(e.throw(a))}catch(t){n(t)}},o=a=>a.done?c(a.value):Promise.resolve(a.value).then(p,s);o((e=e.apply(i,l)).next())});import{_ as j,d as v,G as k,D as x,r as C,o as B,e as m,f as S,I as g,l as I,k as D}from"./index.11dc4694.js";import{c as h}from"./index.f58f6803.js";const w=v({name:"basicInfo"}),R=Object.assign(w,{props:{detailData:{type:Object,default:()=>{}}},setup(i){const l=k(x.userStore).userInfo,e=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=C([]),p=C([]);return B(()=>A(this,null,function*(){var o,a,t;const s=yield h({areaCode:l.value.regionCode});p.value=s.data,n.value=((t=(a=(o=e==null?void 0:e.detailData)==null?void 0:o.baseProjSysCode)==null?void 0:a.split("\uFF1B"))==null?void 0:t.map((r,d)=>{var u,_,b,f,N,y;return{applicationCode:r,applicationName:((_=(u=e==null?void 0:e.detailData)==null?void 0:u.baseProjSys)==null?void 0:_.split("\uFF1B")[d])||"",baseAccountAppName:((f=(b=e==null?void 0:e.detailData)==null?void 0:b.baseAccountAppName)==null?void 0:f.split("\uFF1B")[d])||"",baseBrainName:((y=(N=e==null?void 0:e.detailData)==null?void 0:N.baseBrainName)==null?void 0:y.split("\uFF1B")[d])||""}}))||[]})),(s,o)=>{const a=m("table-list"),t=m("el-descriptions-item"),r=m("el-descriptions");return S(),g(r,{column:2,border:""},{default:I(()=>[D(t,{label:"\u5173\u8054IRS\u5E94\u7528\u540D\u79F0"},{default:I(()=>[D(a,{pagination:!1,style:{width:"100%"},column:c,data:n.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),O=j(R,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/applicationInfo.vue"]]);export{O as default}; diff --git a/lishui2/web/dist/assets/applicationInfo.54a018e8.js b/lishui2/web/dist/assets/applicationInfo.dd976141.js similarity index 78% rename from lishui2/web/dist/assets/applicationInfo.54a018e8.js rename to lishui2/web/dist/assets/applicationInfo.dd976141.js index c421b7a..267a1b0 100644 --- a/lishui2/web/dist/assets/applicationInfo.54a018e8.js +++ b/lishui2/web/dist/assets/applicationInfo.dd976141.js @@ -1 +1 @@ -var te=Object.defineProperty,oe=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var O=(_,i,r)=>i in _?te(_,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):_[i]=r,G=(_,i)=>{for(var r in i||(i={}))re.call(i,r)&&O(_,r,i[r]);if(j)for(var r of j(i))ne.call(i,r)&&O(_,r,i[r]);return _},D=(_,i)=>oe(_,ue(i));var P=(_,i,r)=>new Promise((U,A)=>{var I=y=>{try{w(r.next(y))}catch(d){A(d)}},N=y=>{try{w(r.throw(y))}catch(d){A(d)}},w=y=>y.done?U(y.value):Promise.resolve(y.value).then(I,N);w((r=r.apply(_,i)).next())});import{_ as ie,d as de,D as z,G as pe,r as E,L as J,e as b,f as u,I as f,l as e,k as l,j as L,g as v,F as V,J as g,m as h,t as R,Y as ce,i as me,h as K,p as fe}from"./index.11dc4694.js";import{c as _e}from"./index.f58f6803.js";const ve=K("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),be=de({name:"appBasicInfo"}),Ve=Object.assign(be,{props:{data:{type:Object,default:null},drawerVisible:{type:Boolean,default:!1},isFirst:{type:Number,default:void 0},coreBusiness:{type:Array,default:()=>[]}},setup(_,{expose:i}){const{publisher:r,insuranceLevel:U,applicationType:A,accountAppNameOption:I,domainBrainAccountOptions:N}=z.dictStore.globalDicts||{},w=pe(z.userStore).userInfo||{},{proxy:y}=fe(),d=_,a=E({coreBusinessList:[{}]}),x=E(),Y={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"}]},H=m=>{x.value.validate(o=>{m(o)})},Q=()=>{x.value.clearValidate()},$=E([]),W=()=>P(this,null,function*(){const m=yield _e({areaCode:w.value.regionCode});$.value=m.data}),X=m=>{a.value.relatedExistsApplicationCode=m.applicationCode},Z=()=>{var m,o,B;if(((m=d.coreBusiness)==null?void 0:m.length)<=((o=a.value.coreBusinessList)==null?void 0:o.length)){y.$message.warning(`\u6700\u591A\u6DFB\u52A0${((B=d.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(()=>d.drawerVisible,m=>{var o;m&&(a.value=D(G({},d.data),{coreBusinessList:(o=d.data.coreBusinessList)!=null&&o.length?d.data.coreBusinessList:[{}]}),W())},{immediate:!0}),J(()=>d.data,m=>{var o;a.value=D(G({},d.data),{coreBusinessList:(o=d.data.coreBusinessList)!=null&&o.length?d.data.coreBusinessList:[{}]})},{immediate:!0,deep:!0}),i({validForm:H,formData:a,clearValidate:Q}),(m,o)=>{const B=b("el-option"),C=b("el-select"),n=b("el-form-item"),p=b("el-col"),k=b("el-input"),q=b("el-radio"),S=b("el-radio-group"),le=b("el-input-number"),F=b("el-row"),M=b("el-button"),ae=b("el-form");return u(),f(ae,{ref_key:"formRef",ref:x,model:a.value,rules:Y,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:e(()=>[l(F,{gutter:20},{default:e(()=>[d.isFirst===0&&L(w).regionCode==="331123"||L(w).regionCode!=="331123"?(u(),v(V,{key:0},[l(p,{span:12},{default:e(()=>[l(n,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528",prop:"relatedExistsApplication"},{default:e(()=>[l(C,{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:e(()=>[(u(!0),v(V,null,g($.value,(s,t)=>(u(),f(B,{key:t,label:s.applicationName,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),ve]),_:1})]),_:1}),l(p,{span:12},{default:e(()=>[l(n,{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"relatedExistsApplicationCode"},{default:e(()=>[l(k,{modelValue:a.value.relatedExistsApplicationCode,"onUpdate:modelValue":o[1]||(o[1]=s=>a.value.relatedExistsApplicationCode=s),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})],64)):(u(),f(p,{key:1,span:12},{default:e(()=>[l(n,{label:"\u5E94\u7528\u540D\u79F0",prop:"applicationName"},{default:e(()=>[l(k,{modelValue:a.value.applicationName,"onUpdate:modelValue":o[2]||(o[2]=s=>a.value.applicationName=s),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1})),l(p,{span:12},{default:e(()=>[l(n,{label:"\u5E94\u7528\u7C7B\u578B",prop:"applicationType"},{default:e(()=>[l(C,{modelValue:a.value.applicationType,"onUpdate:modelValue":o[3]||(o[3]=s=>a.value.applicationType=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:e(()=>[(u(!0),v(V,null,g(L(A),(s,t)=>(u(),f(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:12},{default:e(()=>[l(n,{label:"\u53D1\u5E03\u7AEF",prop:"publishSide"},{default:e(()=>[l(C,{modelValue:a.value.publishSide,"onUpdate:modelValue":o[4]||(o[4]=s=>a.value.publishSide=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:e(()=>[(u(!0),v(V,null,g(L(r),(s,t)=>(u(),f(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:24},{default:e(()=>[l(n,{label:"\u5E94\u7528\u7B80\u4ECB",prop:"applicationSummary"},{default:e(()=>[l(k,{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}),l(p,{span:12},{default:e(()=>[l(n,{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0"},{default:e(()=>[l(C,{modelValue:a.value.accountAppName,"onUpdate:modelValue":o[6]||(o[6]=s=>a.value.accountAppName=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:""},{default:e(()=>[(u(!0),v(V,null,g(L(I),(s,t)=>(u(),f(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:12},{default:e(()=>[l(n,{label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"},{default:e(()=>[l(C,{modelValue:a.value.domainBrainAccount,"onUpdate:modelValue":o[7]||(o[7]=s=>a.value.domainBrainAccount=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:e(()=>[(u(!0),v(V,null,g(L(N),(s,t)=>(u(),f(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:24},{default:e(()=>[l(n,{label:"\u7B49\u4FDD\u7EA7\u522B",prop:"secrecyGrade"},{default:e(()=>[l(S,{modelValue:a.value.secrecyGrade,"onUpdate:modelValue":o[8]||(o[8]=s=>a.value.secrecyGrade=s)},{default:e(()=>[(u(!0),v(V,null,g(L(U),(s,t)=>(u(),f(q,{key:t,label:t*1},{default:e(()=>[h(R(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:24},{default:e(()=>[a.value.secrecyGrade>=3?(u(),f(n,{key:"passwordGradeFormitem1",label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B",prop:"passwordGrade"},{default:e(()=>[l(S,{modelValue:a.value.passwordGrade,"onUpdate:modelValue":o[9]||(o[9]=s=>a.value.passwordGrade=s)},{default:e(()=>[(u(!0),v(V,null,g(L(U),(s,t)=>(u(),f(q,{key:t,label:t*1},{default:e(()=>[h(R(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})):(u(),f(n,{key:"passwordGradeFormitem2",label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"},{default:e(()=>[l(S,{modelValue:a.value.passwordGrade,"onUpdate:modelValue":o[10]||(o[10]=s=>a.value.passwordGrade=s)},{default:e(()=>[(u(!0),v(V,null,g(L(U),(s,t)=>(u(),f(q,{key:t,label:t*1},{default:e(()=>[h(R(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}))]),_:1}),(u(!0),v(V,null,g(a.value.coreBusinessList,(s,t)=>{var T;return u(),v("div",{key:t,class:"py-24 pr-60 mb-16 relative",style:{background:"rgb(245, 248, 250)"}},[l(F,null,{default:e(()=>[l(p,{span:12},{default:e(()=>[l(n,{label:"\u6838\u5FC3\u4E1A\u52A1",prop:`coreBusinessList[${t}].coreBusiness`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:e(()=>[l(C,{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:e(()=>[(u(!0),v(V,null,g(d.coreBusiness,(c,se)=>(u(),f(B,{key:se,label:c.matterName,value:c.matterName},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),l(p,{span:12},{default:e(()=>[l(n,{label:"\u5206\u503C",prop:`coreBusinessList[${t}].score`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(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[11]||(o[11]=ce(()=>{},["prevent"]))},{suffix:e(()=>[h("\u5206")]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),l(p,{span:12},{default:e(()=>[l(n,{label:"\u4E1A\u52A1\u6307\u6807\u540D\u79F0",prop:`coreBusinessList[${t}].businessIndicatorName`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(k,{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),l(p,{span:12},{default:e(()=>[l(n,{label:"\u4E1A\u52A1\u6307\u6807\u63CF\u8FF0",prop:`coreBusinessList[${t}].businessIndicatorDescription`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(k,{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),l(p,{span:12},{default:e(()=>[l(n,{label:"\u6307\u6807\u8BBE\u8BA1\u4F9D\u636E",prop:`coreBusinessList[${t}].indexDesignBasis`,style:{"margin-bottom":"0"},rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(k,{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),l(p,{span:12},{default:e(()=>[l(n,{label:"\u6307\u6807\u8BA1\u7B97\u65B9\u6CD5",prop:`coreBusinessList[${t}].indexCalculationMethod`,style:{"margin-bottom":"0"},rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(k,{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),((T=a.value.coreBusinessList)==null?void 0:T.length)>1?(u(),f(M,{key:0,type:"danger",link:"",plain:"",class:"absolute top-10 right-8",onClick:c=>ee(t)},{default:e(()=>[h("\u5220\u9664")]),_:2},1032,["onClick"])):me("v-if",!0)])}),128)),K("p",null,[l(M,{type:"primary",size:"small",icon:"Plus",plain:"",class:"ml-80 block",onClick:Z},{default:e(()=>[h("\u6DFB\u52A0\u6838\u5FC3\u4E1A\u52A1")]),_:1})])]),_:1})]),_:1},8,["model"])}}}),Le=ie(Ve,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/applicationInfo.vue"]]);export{Le as default}; +var te=Object.defineProperty,oe=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var j=(_,i,r)=>i in _?te(_,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):_[i]=r,G=(_,i)=>{for(var r in i||(i={}))re.call(i,r)&&j(_,r,i[r]);if(O)for(var r of O(i))ne.call(i,r)&&j(_,r,i[r]);return _},D=(_,i)=>oe(_,ue(i));var z=(_,i,r)=>new Promise((U,A)=>{var I=y=>{try{k(r.next(y))}catch(d){A(d)}},N=y=>{try{k(r.throw(y))}catch(d){A(d)}},k=y=>y.done?U(y.value):Promise.resolve(y.value).then(I,N);k((r=r.apply(_,i)).next())});import{_ as ie,d as de,D as P,G as pe,r as E,L as J,e as b,f as u,I as f,l as e,k as l,j as L,g as v,F as V,J as g,m as h,t as R,Y as ce,i as me,h as W,p as fe}from"./index.096886c6.js";import{c as _e}from"./index.a82aa709.js";const ve=W("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),be=de({name:"appBasicInfo"}),Ve=Object.assign(be,{props:{data:{type:Object,default:null},drawerVisible:{type:Boolean,default:!1},isFirst:{type:Number,default:void 0},coreBusiness:{type:Array,default:()=>[]}},setup(_,{expose:i}){const{publisher:r,insuranceLevel:U,applicationType:A,accountAppNameOption:I,domainBrainAccountOptions:N}=P.dictStore.globalDicts||{},k=pe(P.userStore).userInfo||{},{proxy:y}=fe(),d=_,a=E({coreBusinessList:[{}]}),x=E(),Y={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"}]},H=m=>{x.value.validate(o=>{m(o)})},K=()=>{x.value.clearValidate()},$=E([]),Q=()=>z(this,null,function*(){const m=yield _e({areaCode:k.value.regionCode});$.value=m.data}),X=m=>{a.value.relatedExistsApplicationCode=m.applicationCode},Z=()=>{var m,o,B;if(((m=d.coreBusiness)==null?void 0:m.length)<=((o=a.value.coreBusinessList)==null?void 0:o.length)){y.$message.warning(`\u6700\u591A\u6DFB\u52A0${((B=d.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(()=>d.drawerVisible,m=>{var o;m&&(a.value=D(G({},d.data),{coreBusinessList:(o=d.data.coreBusinessList)!=null&&o.length?d.data.coreBusinessList:[{}]}),Q())},{immediate:!0}),J(()=>d.data,m=>{var o;a.value=D(G({},d.data),{coreBusinessList:(o=d.data.coreBusinessList)!=null&&o.length?d.data.coreBusinessList:[{}]})},{immediate:!0,deep:!0}),i({validForm:H,formData:a,clearValidate:K}),(m,o)=>{const B=b("el-option"),C=b("el-select"),n=b("el-form-item"),p=b("el-col"),w=b("el-input"),S=b("el-radio"),q=b("el-radio-group"),le=b("el-input-number"),F=b("el-row"),T=b("el-button"),ae=b("el-form");return u(),f(ae,{ref_key:"formRef",ref:x,model:a.value,rules:Y,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:e(()=>[l(F,{gutter:20},{default:e(()=>[d.isFirst===0&&L(k).regionCode==="331123"||L(k).regionCode!=="331123"?(u(),v(V,{key:0},[l(p,{span:12},{default:e(()=>[l(n,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528",prop:"relatedExistsApplication"},{default:e(()=>[l(C,{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:e(()=>[(u(!0),v(V,null,g($.value,(s,t)=>(u(),f(B,{key:t,label:s.applicationName,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),ve]),_:1})]),_:1}),l(p,{span:12},{default:e(()=>[l(n,{label:"IRS\u5E94\u7528\u7F16\u7801",prop:"relatedExistsApplicationCode"},{default:e(()=>[l(w,{modelValue:a.value.relatedExistsApplicationCode,"onUpdate:modelValue":o[1]||(o[1]=s=>a.value.relatedExistsApplicationCode=s),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})],64)):(u(),f(p,{key:1,span:12},{default:e(()=>[l(n,{label:"\u5E94\u7528\u540D\u79F0",prop:"applicationName"},{default:e(()=>[l(w,{modelValue:a.value.applicationName,"onUpdate:modelValue":o[2]||(o[2]=s=>a.value.applicationName=s),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1})),l(p,{span:12},{default:e(()=>[l(n,{label:"\u5E94\u7528\u7C7B\u578B",prop:"applicationType"},{default:e(()=>[l(C,{modelValue:a.value.applicationType,"onUpdate:modelValue":o[3]||(o[3]=s=>a.value.applicationType=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:e(()=>[(u(!0),v(V,null,g(L(A),(s,t)=>(u(),f(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:12},{default:e(()=>[l(n,{label:"\u53D1\u5E03\u7AEF",prop:"publishSide"},{default:e(()=>[l(C,{modelValue:a.value.publishSide,"onUpdate:modelValue":o[4]||(o[4]=s=>a.value.publishSide=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:e(()=>[(u(!0),v(V,null,g(L(r),(s,t)=>(u(),f(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:24},{default:e(()=>[l(n,{label:"\u5E94\u7528\u7B80\u4ECB",prop:"applicationSummary"},{default:e(()=>[l(w,{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}),l(p,{span:12},{default:e(()=>[l(n,{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0"},{default:e(()=>[l(C,{modelValue:a.value.accountAppName,"onUpdate:modelValue":o[6]||(o[6]=s=>a.value.accountAppName=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:""},{default:e(()=>[(u(!0),v(V,null,g(L(I),(s,t)=>(u(),f(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:12},{default:e(()=>[l(n,{label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"},{default:e(()=>[l(C,{modelValue:a.value.domainBrainAccount,"onUpdate:modelValue":o[7]||(o[7]=s=>a.value.domainBrainAccount=s),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:e(()=>[(u(!0),v(V,null,g(L(N),(s,t)=>(u(),f(B,{key:t,label:s,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:24},{default:e(()=>[l(n,{label:"\u7B49\u4FDD\u7EA7\u522B",prop:"secrecyGrade"},{default:e(()=>[l(q,{modelValue:a.value.secrecyGrade,"onUpdate:modelValue":o[8]||(o[8]=s=>a.value.secrecyGrade=s)},{default:e(()=>[(u(!0),v(V,null,g(L(U),(s,t)=>(u(),f(S,{key:t,label:t*1},{default:e(()=>[h(R(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(p,{span:24},{default:e(()=>[a.value.secrecyGrade>=3?(u(),f(n,{key:"passwordGradeFormitem1",label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B",prop:"passwordGrade"},{default:e(()=>[l(q,{modelValue:a.value.passwordGrade,"onUpdate:modelValue":o[9]||(o[9]=s=>a.value.passwordGrade=s)},{default:e(()=>[(u(!0),v(V,null,g(L(U),(s,t)=>(u(),f(S,{key:t,label:t*1},{default:e(()=>[h(R(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})):(u(),f(n,{key:"passwordGradeFormitem2",label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"},{default:e(()=>[l(q,{modelValue:a.value.passwordGrade,"onUpdate:modelValue":o[10]||(o[10]=s=>a.value.passwordGrade=s)},{default:e(()=>[(u(!0),v(V,null,g(L(U),(s,t)=>(u(),f(S,{key:t,label:t*1},{default:e(()=>[h(R(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}))]),_:1}),(u(!0),v(V,null,g(a.value.coreBusinessList,(s,t)=>{var M;return u(),v("div",{key:t,class:"py-24 pr-60 mb-16 relative",style:{background:"rgb(245, 248, 250)"}},[l(F,null,{default:e(()=>[l(p,{span:12},{default:e(()=>[l(n,{label:"\u6838\u5FC3\u4E1A\u52A1",prop:`coreBusinessList[${t}].coreBusiness`,rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:e(()=>[l(C,{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:e(()=>[(u(!0),v(V,null,g(d.coreBusiness,(c,se)=>(u(),f(B,{key:se,label:c.matterName,value:c.matterName},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),l(p,{span:12},{default:e(()=>[l(n,{label:"\u5206\u503C",prop:`coreBusinessList[${t}].score`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(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[11]||(o[11]=ce(()=>{},["prevent"]))},{suffix:e(()=>[h("\u5206")]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),l(p,{span:12},{default:e(()=>[l(n,{label:"\u4E1A\u52A1\u6307\u6807\u540D\u79F0",prop:`coreBusinessList[${t}].businessIndicatorName`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(w,{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),l(p,{span:12},{default:e(()=>[l(n,{label:"\u4E1A\u52A1\u6307\u6807\u63CF\u8FF0",prop:`coreBusinessList[${t}].businessIndicatorDescription`,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(w,{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),l(p,{span:12},{default:e(()=>[l(n,{label:"\u6307\u6807\u8BBE\u8BA1\u4F9D\u636E",prop:`coreBusinessList[${t}].indexDesignBasis`,style:{"margin-bottom":"0"},rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(w,{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),l(p,{span:12},{default:e(()=>[l(n,{label:"\u6307\u6807\u8BA1\u7B97\u65B9\u6CD5",prop:`coreBusinessList[${t}].indexCalculationMethod`,style:{"margin-bottom":"0"},rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},{default:e(()=>[l(w,{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),((M=a.value.coreBusinessList)==null?void 0:M.length)>1?(u(),f(T,{key:0,type:"danger",link:"",plain:"",class:"absolute top-10 right-8",onClick:c=>ee(t)},{default:e(()=>[h("\u5220\u9664")]),_:2},1032,["onClick"])):me("v-if",!0)])}),128)),W("p",null,[l(T,{type:"primary",size:"small",icon:"Plus",plain:"",class:"ml-80 block",onClick:Z},{default:e(()=>[h("\u6DFB\u52A0\u6838\u5FC3\u4E1A\u52A1")]),_:1})])]),_:1})]),_:1},8,["model"])}}}),Le=ie(Ve,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/applicationInfo.vue"]]);export{Le as default}; diff --git a/lishui2/web/dist/assets/applicationListDialog.13bd8817.js b/lishui2/web/dist/assets/applicationListDialog.13bd8817.js deleted file mode 100644 index 659d1b7..0000000 --- a/lishui2/web/dist/assets/applicationListDialog.13bd8817.js +++ /dev/null @@ -1 +0,0 @@ -var B=Object.defineProperty,J=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var V=(n,t,a)=>t in n?B(n,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[t]=a,N=(n,t)=>{for(var a in t||(t={}))z.call(t,a)&&V(n,a,t[a]);if(C)for(var a of C(t))$.call(t,a)&&V(n,a,t[a]);return n},j=(n,t)=>J(n,R(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{_ as q,d as F,D as G,b as K,r as D,L as W,e as f,f as H,I as Q,l as d,h as x,k as s,m as O,a3 as I}from"./index.11dc4694.js";import{a as X,b as Y}from"./evaluationPlan.1b9d08f3.js";const Z={class:"search mb-16"},ee={class:"dialog-footer"},ae=F({name:"applicationListDialog"}),te=Object.assign(ae,{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}=G.dictStore.globalDicts||{},_=n,v=t,r=K({projectName:void 0,buildOrg:void 0}),m=D(),y=D(0),u=[{type:"selection",reserveSelection:!0,width:"55"},{label:"\u5E94\u7528\u540D\u79F0",key:"relatedExistsApplication",prop:"relatedExistsApplication",showOverflowTooltip:!0,width:150,render:o=>I("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 I("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=D([]),w=(...l)=>k(this,[...l],function*(o=(e=>(e=m.value)==null?void 0:e.pageParams)()){const i=yield X(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(S=>S.id).includes(g.id)&&m.value.toggleRowSelect(g,!0)})}),L=()=>{m.value.pageParams.pageNumber=1,w()},T=()=>{r.projectName=void 0,r.buildOrg=void 0,m.value.pageParams.pageNumber=1,m.value.pageParams.pageSize=10,w()},b=D([]),E=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)})},P=()=>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 Y({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"),A=f("el-row"),S=f("el-form"),M=f("table-list"),U=f("el-dialog");return H(),Q(U,{"model-value":n.visible,title:"\u6DFB\u52A0\u5E94\u7528",width:"70%","destroy-on-close":"",onClose:e[3]||(e[3]=h=>v("close"))},{footer:d(()=>[x("span",ee,[s(g,{onClick:e[2]||(e[2]=h=>v("close"))},{default:d(()=>[O("\u5173\u95ED")]),_:1}),s(g,{type:"primary",onClick:P},{default:d(()=>[O(" \u786E\u5B9A ")]),_:1})])]),default:d(()=>[x("div",Z,[s(S,{"label-suffix":":",model:r,size:"small"},{default:d(()=>[s(A,{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:L},{default:d(()=>[O("\u67E5\u8BE2")]),_:1}),s(g,{onClick:T},{default:d(()=>[O("\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:E,onGetTableData:w},null,8,["data","total"])]),_:1},8,["model-value"])}}}),se=q(te,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/evaluationPlan/components/applicationListDialog.vue"]]);export{se as default}; diff --git a/lishui2/web/dist/assets/applicationListDialog.f029166e.js b/lishui2/web/dist/assets/applicationListDialog.f029166e.js new file mode 100644 index 0000000..3af7a0d --- /dev/null +++ b/lishui2/web/dist/assets/applicationListDialog.f029166e.js @@ -0,0 +1 @@ +var M=Object.defineProperty,R=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var V=(n,t,a)=>t in n?M(n,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[t]=a,k=(n,t)=>{for(var a in t||(t={}))J.call(t,a)&&V(n,a,t[a]);if(C)for(var a of C(t))W.call(t,a)&&V(n,a,t[a]);return n},j=(n,t)=>R(n,z(t));var w=(n,t,a)=>new Promise((_,v)=>{var r=u=>{try{h(a.next(u))}catch(c){v(c)}},m=u=>{try{h(a.throw(u))}catch(c){v(c)}},h=u=>u.done?_(u.value):Promise.resolve(u.value).then(r,m);h((a=a.apply(n,t)).next())});import{_ as $,d as q,D as F,b as G,r as D,L as H,e as f,f as K,I as Q,l as d,h as x,k as s,m as S,a3 as I}from"./index.096886c6.js";import{a as X,b as Y}from"./evaluationPlan.d084443a.js";const Z={class:"search mb-16"},ee={class:"dialog-footer"},ae=q({name:"applicationListDialog"}),te=Object.assign(ae,{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=D(),h=D(0),u=[{type:"selection",reserveSelection:!0,width:"55"},{label:"\u5E94\u7528\u540D\u79F0",key:"relatedExistsApplication",prop:"relatedExistsApplication",showOverflowTooltip:!0,width:150,render:o=>I("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 I("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=D([]),N=(...l)=>w(this,[...l],function*(o=(e=>(e=m.value)==null?void 0:e.pageParams)()){const i=yield X(k(k(k({},o),r),_.params));h.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(O=>O.id).includes(g.id)&&m.value.toggleRowSelect(g,!0)})}),L=()=>{m.value.pageParams.pageNumber=1,N()},T=()=>{r.projectName=void 0,r.buildOrg=void 0,m.value.pageParams.pageNumber=1,m.value.pageParams.pageSize=10,N()},b=D([]),E=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)})},P=()=>w(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 Y({applicationIds:l,appraisalId:_.params.appraisalId}),v("getAppData",e)});return H(()=>_.visible,o=>w(this,null,function*(){var e;o&&((e=_.data)!=null&&e.length&&(b.value=_.data.map(l=>j(k({},l),{id:l.appId}))),N())})),(o,e)=>{const l=f("el-input"),i=f("el-form-item"),p=f("el-col"),g=f("el-button"),A=f("el-row"),O=f("el-form"),U=f("table-list"),B=f("el-dialog");return K(),Q(B,{"model-value":n.visible,title:"\u6DFB\u52A0\u5E94\u7528",width:"70%","destroy-on-close":"",onClose:e[3]||(e[3]=y=>v("close"))},{footer:d(()=>[x("span",ee,[s(g,{onClick:e[2]||(e[2]=y=>v("close"))},{default:d(()=>[S("\u5173\u95ED")]),_:1}),s(g,{type:"primary",onClick:P},{default:d(()=>[S(" \u786E\u5B9A ")]),_:1})])]),default:d(()=>[x("div",Z,[s(O,{"label-suffix":":",model:r,size:"small"},{default:d(()=>[s(A,{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]=y=>r.applicationName=y),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]=y=>r.buildUnitName=y),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:L},{default:d(()=>[S("\u67E5\u8BE2")]),_:1}),s(g,{onClick:T},{default:d(()=>[S("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),s(U,{ref_key:"tableListRef",ref:m,column:u,data:c.value,total:h.value,"row-key":"id",onSelectionChange:E,onGetTableData:N},null,8,["data","total"])]),_:1},8,["model-value"])}}}),se=$(te,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/performanceEvaluation/evaluationPlan/components/applicationListDialog.vue"]]);export{se as default}; diff --git a/lishui2/web/dist/assets/applications.76c897cd.js b/lishui2/web/dist/assets/applications.76c897cd.js deleted file mode 100644 index fd38600..0000000 --- a/lishui2/web/dist/assets/applications.76c897cd.js +++ /dev/null @@ -1 +0,0 @@ -var Q=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var F=(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)&&F(n,e,a[e]);if(E)for(var e of E(a))ee.call(a,e)&&F(n,e,a[e]);return n},P=(n,a)=>X(n,Y(a));var k=(n,a,e)=>new Promise((A,p)=>{var x=u=>{try{h(e.next(u))}catch(r){p(r)}},g=u=>{try{h(e.throw(u))}catch(r){p(r)}},h=u=>u.done?A(u.value):Promise.resolve(u.value).then(x,g);h((e=e.apply(n,a)).next())});import{_ as ae,d as le,u as te,r as s,e as c,f as S,g as oe,k as i,l as o,m as v,I as ie,h as I,i as $,F as ne,a3 as pe,N as j,T as se,p as ce}from"./index.11dc4694.js";import"./appBasicInfo.ee2c426d.js";import"./appSafeInfo.481bc724.js";import"./appResourceInfo.eae86de3.js";import re from"./applicationInfo.54a018e8.js";import"./uploadAction.c865409e.js";import"./index.f58f6803.js";const ue=["onClick"],de=["onClick"];const fe={class:"applyBottomBtn flexCenter marginTop"},_e=le({name:"applications"}),me=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=te(),{proxy:A}=ce(),p=s({applicationList:[]}),x=s(),g={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 pe("span",l.applicationName||((t=l.relatedExistsApplication)==null?void 0:t.applicationName)||"")}},{label:"\u64CD\u4F5C",slot:"action"}],u=l=>{A.$messageBox.confirm("\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u9879\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>{p.value.applicationList.splice(l,1)})},r=s(!1),ve=s(["1","2","3"]),w=s({}),he=s(),xe=s(),we=s(),d=s(),C=s(!1),V=s(),M=(l,t)=>k(this,null,function*(){C.value=!0,V.value=l,w.value=t,r.value=!0,yield j(),d.value.clearValidate()}),T=()=>k(this,null,function*(){C.value=!1,w.value={},r.value=!0,yield j(),d.value.clearValidate()}),R=()=>{se.confirm("\u786E\u5B9A\u8981\u5173\u95ED\u5E94\u7528\u7F16\u8F91\u9875\u9762\u5417\uFF1F").then(()=>{B()}).catch(()=>{})},B=()=>{d.value.formData={},d.value.clearValidate(),r.value=!1},N=()=>{C.value?p.value.applicationList[V.value]=y({},d.value.formData):p.value.applicationList.push(y({},d.value.formData)),B()},U=()=>{const l=[];l.push(new Promise((t,m)=>{d.value.validForm(f=>{f&&t()})})),Promise.all([...l]).then(()=>{N()})},q=l=>{x.value.validate(t=>{l(t)})},W=l=>{var m;const t=e.query.isDraft?"applicationList":"projectApplications";p.value={includeApplication:l.includeApplication,applicationList:(m=l[t])!=null&&m.length?l[t].map(f=>P(y({},f),{relatedExistsApplication:f.relatedExistsApplication?{applicationCode:f.relatedExistsApplicationCode,applicationName:f.relatedExistsApplication}:void 0})):[]}},z=()=>{p.value.applicationList=[]};return a({validForm:q,formData:p,applicationData:w,setFormData:W}),(l,t)=>{const m=c("el-radio"),f=c("el-radio-group"),D=c("el-form-item"),L=c("el-col"),b=c("el-button"),J=c("table-list"),K=c("el-row"),O=c("el-form"),be=c("el-collapse-item"),ye=c("el-collapse"),G=c("el-drawer");return S(),oe(ne,null,[i(O,{ref_key:"formRef",ref:x,model:p.value,rules:g,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:o(()=>[i(K,{gutter:40},{default:o(()=>[i(L,{span:12},{default:o(()=>[i(D,{label:"\u662F\u5426\u5305\u542B\u5E94\u7528","label-width":"atuo",prop:"includeApplication"},{default:o(()=>[i(f,{modelValue:p.value.includeApplication,"onUpdate:modelValue":t[0]||(t[0]=_=>p.value.includeApplication=_),onChange:z},{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}),p.value.includeApplication===1?(S(),ie(L,{key:0,span:24},{default:o(()=>[i(D,{label:"\u5305\u542B\u7684\u5E94\u7528",prop:"applicationList"},{default:o(()=>[i(b,{type:"primary",plain:"",class:"w-full mb-10",icon:"Plus",onClick:T},{default:o(()=>[v("\u6DFB\u52A0\u5E94\u7528")]),_:1}),i(J,{class:"w-full",pagination:!1,data:p.value.applicationList,column:h},{action:o(({scope:_})=>[I("a",{onClick:H=>M(_.$index,_.row)},"\u7F16\u8F91",8,ue),I("a",{class:"text-red-400",onClick:H=>u(_.$index)},"\u5220\u9664",8,de)]),_:1},8,["data"])]),_:1})]),_:1})):$("v-if",!0)]),_:1})]),_:1},8,["model"]),i(G,{modelValue:r.value,"onUpdate:modelValue":t[2]||(t[2]=_=>r.value=_),title:"\u6DFB\u52A0\u5E94\u7528","before-close":R,size:1e3},{footer:o(()=>[I("div",fe,[i(b,{onClick:R},{default:o(()=>[v(" \u5173\u95ED ")]),_:1}),i(b,{type:"primary",plain:"",onClick:N},{default:o(()=>[v(" \u6682\u5B58 ")]),_:1}),i(b,{type:"primary",onClick:U},{default:o(()=>[v(" \u786E\u5B9A ")]),_:1})])]),default:o(()=>[$("v-if",!0),i(re,{ref_key:"applicationInfoRef",ref:d,data:w.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)}}}),Ee=ae(me,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/applications.vue"]]);export{Ee as default}; diff --git a/lishui2/web/dist/assets/applications.b3ad32d0.js b/lishui2/web/dist/assets/applications.b3ad32d0.js new file mode 100644 index 0000000..2fd9684 --- /dev/null +++ b/lishui2/web/dist/assets/applications.b3ad32d0.js @@ -0,0 +1 @@ +var Q=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var S=(n,a,e)=>a in n?Q(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e,g=(n,a)=>{for(var e in a||(a={}))Z.call(a,e)&&S(n,e,a[e]);if(E)for(var e of E(a))ee.call(a,e)&&S(n,e,a[e]);return n},F=(n,a)=>X(n,Y(a));var C=(n,a,e)=>new Promise((y,p)=>{var x=u=>{try{h(e.next(u))}catch(r){p(r)}},A=u=>{try{h(e.throw(u))}catch(r){p(r)}},h=u=>u.done?y(u.value):Promise.resolve(u.value).then(x,A);h((e=e.apply(n,a)).next())});import{_ as ae,d as le,u as te,r as s,e as c,f as $,g as oe,k as i,l as o,m as v,I as ie,h as I,i as P,F as ne,a3 as pe,N as j,T as se,p as ce}from"./index.096886c6.js";import"./appBasicInfo.0a34eaab.js";import"./appSafeInfo.0903e496.js";import"./appResourceInfo.e910c871.js";import re from"./applicationInfo.dd976141.js";import"./uploadAction.03c39815.js";import"./index.a82aa709.js";const ue=["onClick"],de=["onClick"];const fe={class:"applyBottomBtn flexCenter marginTop"},_e=le({name:"applications"}),me=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=te(),{proxy:y}=ce(),p=s({applicationList:[]}),x=s(),A={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 pe("span",l.applicationName||((t=l.relatedExistsApplication)==null?void 0:t.applicationName)||"")}},{label:"\u64CD\u4F5C",slot:"action"}],u=l=>{y.$messageBox.confirm("\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u9879\u5417?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>{p.value.applicationList.splice(l,1)})},r=s(!1),ve=s(["1","2","3"]),b=s({}),he=s(),xe=s(),be=s(),d=s(),k=s(!1),V=s(),M=(l,t)=>C(this,null,function*(){k.value=!0,V.value=l,b.value=t,r.value=!0,yield j(),d.value.clearValidate()}),T=()=>C(this,null,function*(){k.value=!1,b.value={},r.value=!0,yield j(),d.value.clearValidate()}),R=()=>{se.confirm("\u786E\u5B9A\u8981\u5173\u95ED\u5E94\u7528\u7F16\u8F91\u9875\u9762\u5417\uFF1F").then(()=>{B()}).catch(()=>{})},B=()=>{d.value.formData={},d.value.clearValidate(),r.value=!1},N=()=>{k.value?p.value.applicationList[V.value]=g({},d.value.formData):p.value.applicationList.push(g({},d.value.formData)),B()},U=()=>{const l=[];l.push(new Promise((t,m)=>{d.value.validForm(f=>{f&&t()})})),Promise.all([...l]).then(()=>{N()})},q=l=>{x.value.validate(t=>{l(t)})},W=l=>{var m;const t=e.query.isDraft?"applicationList":"projectApplications";p.value={includeApplication:l.includeApplication,applicationList:(m=l[t])!=null&&m.length?l[t].map(f=>F(g({},f),{relatedExistsApplication:f.relatedExistsApplication?{applicationCode:f.relatedExistsApplicationCode,applicationName:f.relatedExistsApplication}:void 0})):[]}},z=()=>{p.value.applicationList=[]};return a({validForm:q,formData:p,applicationData:b,setFormData:W}),(l,t)=>{const m=c("el-radio"),f=c("el-radio-group"),D=c("el-form-item"),L=c("el-col"),w=c("el-button"),O=c("table-list"),G=c("el-row"),H=c("el-form"),we=c("el-collapse-item"),ge=c("el-collapse"),J=c("el-drawer");return $(),oe(ne,null,[i(H,{ref_key:"formRef",ref:x,model:p.value,rules:A,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:o(()=>[i(G,{gutter:40},{default:o(()=>[i(L,{span:12},{default:o(()=>[i(D,{label:"\u662F\u5426\u5305\u542B\u5E94\u7528","label-width":"atuo",prop:"includeApplication"},{default:o(()=>[i(f,{modelValue:p.value.includeApplication,"onUpdate:modelValue":t[0]||(t[0]=_=>p.value.includeApplication=_),onChange:z},{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}),p.value.includeApplication===1?($(),ie(L,{key:0,span:24},{default:o(()=>[i(D,{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:p.value.applicationList,column:h},{action:o(({scope:_})=>[I("a",{onClick:K=>M(_.$index,_.row)},"\u7F16\u8F91",8,ue),I("a",{class:"text-red-400",onClick:K=>u(_.$index)},"\u5220\u9664",8,de)]),_:1},8,["data"])]),_:1})]),_:1})):P("v-if",!0)]),_:1})]),_:1},8,["model"]),i(J,{modelValue:r.value,"onUpdate:modelValue":t[2]||(t[2]=_=>r.value=_),title:"\u6DFB\u52A0\u5E94\u7528","before-close":R,size:1e3},{footer:o(()=>[I("div",fe,[i(w,{onClick:R},{default:o(()=>[v(" \u5173\u95ED ")]),_:1}),i(w,{type:"primary",plain:"",onClick:N},{default:o(()=>[v(" \u6682\u5B58 ")]),_:1}),i(w,{type:"primary",onClick:U},{default:o(()=>[v(" \u786E\u5B9A ")]),_:1})])]),default:o(()=>[P("v-if",!0),i(re,{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)}}}),Ee=ae(me,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/applications.vue"]]);export{Ee as default}; diff --git a/lishui2/web/dist/assets/applications.813f8602.js b/lishui2/web/dist/assets/applications.b4870abb.js similarity index 91% rename from lishui2/web/dist/assets/applications.813f8602.js rename to lishui2/web/dist/assets/applications.b4870abb.js index 69eda6e..f0dedc1 100644 --- a/lishui2/web/dist/assets/applications.813f8602.js +++ b/lishui2/web/dist/assets/applications.b4870abb.js @@ -1 +1 @@ -import{_ as g,d as S,r as B,D as A,e as c,f as n,I as r,l as i,g as m,F as u,J as v,h as V,t,k as o,i as e,m as s,j as k}from"./index.11dc4694.js";import"./index.3731dd96.js";const F={class:"collapse-title"},w=S({name:"applications"}),h=Object.assign(w,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(y){const _=B(["0"]),{insuranceLevel:b}=A.dictStore.globalDicts||{};return(j,f)=>{const l=c("el-descriptions-item"),C=c("el-descriptions"),D=c("el-collapse-item"),x=c("el-collapse");return n(),r(x,{modelValue:_.value,"onUpdate:modelValue":f[0]||(f[0]=a=>_.value=a)},{default:i(()=>[(n(!0),m(u,null,v(y.detailData.projectApplications,(a,N)=>(n(),r(D,{key:N,name:N},{title:i(()=>[V("div",F,t(a.applicationName||a.relatedExistsApplication),1)]),default:i(()=>[o(C,{column:2,border:"",class:"mb-16"},{default:i(()=>[e(' '),e(" {{ app.isFirst===1?'\u662F':app.isFirst===2?'\u5426':'-' }}"),e(" "),a.relatedExistsApplication?(n(),m(u,{key:0},[o(l,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528"},{default:i(()=>[s(t(a.relatedExistsApplication||"-"),1)]),_:2},1024),o(l,{label:"IRS\u5E94\u7528\u7F16\u7801"},{default:i(()=>[s(t(a.relatedExistsApplicationCode||"-"),1)]),_:2},1024)],64)):(n(),r(l,{key:1,label:"\u5E94\u7528\u540D\u79F0"},{default:i(()=>[s(t(a.applicationName||"-"),1)]),_:2},1024)),e("v-if",!0),o(l,{label:"\u5E94\u7528\u7C7B\u578B"},{default:i(()=>[s(t(a.applicationType||"-"),1)]),_:2},1024),e(' '),e(" {{ constructionLevel[app.buildLevel]||'-' }}"),e(" "),e(' '),e(" {{ app.isUniteBuild===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.isUniteBuild===1?'\u5168\u7701\u7EDF\u5EFA':app.isUniteBuild===2?'\u5168\u5E02\u7EDF\u5EFA':'-' }}"),e(" "),e(' '),e(" {{ app.isDigitalModification===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.digitalModification&&app.digitalModification.split(',').map(i=>digitalModifySystem[i]).join('\uFF0C') }}"),e(" "),e(' '),e(" {{ app.bizDomain }}"),e(" "),o(l,{label:"\u53D1\u5E03\u7AEF"},{default:i(()=>[s(t(a.publishSide),1)]),_:2},1024),e(' '),e(" {{ app.isAccountAppName===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.accountAppName||'-' }}"),e(" "),e(' '),e(" {{ app.domainBrainAccount ||'-' }}"),e(" "),e(' '),e(" {{ app.isBizCooperate===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.bizCooperateInfo||'-' }}"),e(" "),e(' '),e(" {{ app.usesRangeRemark.split(',').map(i=>useScopeOptions[i]).join('/')||'-' }}"),e(" "),o(l,{label:"\u5E94\u7528\u7B80\u4ECB"},{default:i(()=>[s(t(a.applicationSummary||"-"),1)]),_:2},1024),o(l,{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0"},{default:i(()=>[s(t(a.accountAppName||"-"),1)]),_:2},1024),o(l,{label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"},{default:i(()=>[s(t(a.domainBrainAccount||"-"),1)]),_:2},1024),e(' '),e(" {{ app.applicationRemark||'-' }}"),e(" "),e(' '),e('

'),e(' '),e("

"),e("
"),o(l,{label:"\u7B49\u4FDD\u7EA7\u522B"},{default:i(()=>[s(t(k(b)[a.secrecyGrade]||"-"),1)]),_:2},1024),o(l,{label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"},{default:i(()=>[s(t(k(b)[a.passwordGrade]||"-"),1)]),_:2},1024),e(' '),e(" {{ app.nationalItSpec===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.useGovCloud===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.cloudsType }}"),e(" "),e(' '),e(" {{ app.cloudsFoundationSpecifications }}"),e(" "),e(' '),e(" {{ app.cloudsNumber }}"),e(" "),e(' '),e(" {{ app.cloudsDescription||'-' }}"),e(" "),e(' '),e(" {{ netEnvOptions[app.netEnv]||'-' }}"),e(" "),e(' '),e(" {{ app.useCommonData===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.dataName||'-' }}"),e(" "),e(' '),e(" {{ app.useCommonComponent===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.commonComponents||'-' }}"),e(" "),e(' '),e(" {{ app.produceCommonComponent===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.produceCommonComponents||'-' }}"),e(" ")]),_:2},1024),(n(!0),m(u,null,v(a.coreBusinessList,(p,d)=>(n(),r(C,{key:d,border:"",column:2,class:"mb-16",title:`\u6838\u5FC3\u4E1A\u52A1${d+1}`},{default:i(()=>[o(l,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:i(()=>[s(t(p.coreBusiness||"-"),1)]),_:2},1024),o(l,{label:"\u5206\u503C"},{default:i(()=>[s(t(p.score||"0")+"\u5206 ",1)]),_:2},1024),o(l,{label:"\u4E1A\u52A1\u6307\u6807\u540D\u79F0"},{default:i(()=>[s(t(p.businessIndicatorName||"-"),1)]),_:2},1024),o(l,{label:"\u4E1A\u52A1\u6307\u6807\u63CF\u8FF0"},{default:i(()=>[s(t(p.businessIndicatorDescription||"-"),1)]),_:2},1024),o(l,{label:"\u6307\u6807\u8BBE\u8BA1\u4F9D\u636E"},{default:i(()=>[s(t(p.indexDesignBasis||"-"),1)]),_:2},1024),o(l,{label:"\u6307\u6807\u8BA1\u7B97\u65B9\u6CD5"},{default:i(()=>[s(t(p.indexCalculationMethod||"-"),1)]),_:2},1024)]),_:2},1032,["title"]))),128))]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])}}}),M=g(h,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/applications.vue"]]);export{M as default}; +import{_ as D,d as S,r as B,D as A,e as c,f as n,I as r,l as i,g as m,F as u,J as N,h as V,t,k as o,i as e,m as s,j as k}from"./index.096886c6.js";import"./index.e0e52f0f.js";const F={class:"collapse-title"},w=S({name:"applications"}),h=Object.assign(w,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(y){const _=B(["0"]),{insuranceLevel:b}=A.dictStore.globalDicts||{};return(E,f)=>{const l=c("el-descriptions-item"),C=c("el-descriptions"),g=c("el-collapse-item"),x=c("el-collapse");return n(),r(x,{modelValue:_.value,"onUpdate:modelValue":f[0]||(f[0]=a=>_.value=a)},{default:i(()=>[(n(!0),m(u,null,N(y.detailData.projectApplications,(a,v)=>(n(),r(g,{key:v,name:v},{title:i(()=>[V("div",F,t(a.applicationName||a.relatedExistsApplication),1)]),default:i(()=>[o(C,{column:2,border:"",class:"mb-16"},{default:i(()=>[e(' '),e(" {{ app.isFirst===1?'\u662F':app.isFirst===2?'\u5426':'-' }}"),e(" "),a.relatedExistsApplication?(n(),m(u,{key:0},[o(l,{label:"\u5173\u8054IRS\u5DF2\u6CE8\u518C\u5E94\u7528"},{default:i(()=>[s(t(a.relatedExistsApplication||"-"),1)]),_:2},1024),o(l,{label:"IRS\u5E94\u7528\u7F16\u7801"},{default:i(()=>[s(t(a.relatedExistsApplicationCode||"-"),1)]),_:2},1024)],64)):(n(),r(l,{key:1,label:"\u5E94\u7528\u540D\u79F0"},{default:i(()=>[s(t(a.applicationName||"-"),1)]),_:2},1024)),e("v-if",!0),o(l,{label:"\u5E94\u7528\u7C7B\u578B"},{default:i(()=>[s(t(a.applicationType||"-"),1)]),_:2},1024),e(' '),e(" {{ constructionLevel[app.buildLevel]||'-' }}"),e(" "),e(' '),e(" {{ app.isUniteBuild===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.isUniteBuild===1?'\u5168\u7701\u7EDF\u5EFA':app.isUniteBuild===2?'\u5168\u5E02\u7EDF\u5EFA':'-' }}"),e(" "),e(' '),e(" {{ app.isDigitalModification===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.digitalModification&&app.digitalModification.split(',').map(i=>digitalModifySystem[i]).join('\uFF0C') }}"),e(" "),e(' '),e(" {{ app.bizDomain }}"),e(" "),o(l,{label:"\u53D1\u5E03\u7AEF"},{default:i(()=>[s(t(a.publishSide),1)]),_:2},1024),e(' '),e(" {{ app.isAccountAppName===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.accountAppName||'-' }}"),e(" "),e(' '),e(" {{ app.domainBrainAccount ||'-' }}"),e(" "),e(' '),e(" {{ app.isBizCooperate===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.bizCooperateInfo||'-' }}"),e(" "),e(' '),e(" {{ app.usesRangeRemark.split(',').map(i=>useScopeOptions[i]).join('/')||'-' }}"),e(" "),o(l,{label:"\u5E94\u7528\u7B80\u4ECB"},{default:i(()=>[s(t(a.applicationSummary||"-"),1)]),_:2},1024),o(l,{label:"\u4E00\u672C\u8D26\u91CD\u5927\u5E94\u7528\u540D\u79F0"},{default:i(()=>[s(t(a.accountAppName||"-"),1)]),_:2},1024),o(l,{label:"\u9886\u57DF\u201C\u5927\u8111\u201D\u4E00\u672C\u8D26"},{default:i(()=>[s(t(a.domainBrainAccount||"-"),1)]),_:2},1024),e(' '),e(" {{ app.applicationRemark||'-' }}"),e(" "),e(' '),e('

'),e(' '),e("

"),e("
"),o(l,{label:"\u7B49\u4FDD\u7EA7\u522B"},{default:i(()=>[s(t(k(b)[a.secrecyGrade]||"-"),1)]),_:2},1024),o(l,{label:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B"},{default:i(()=>[s(t(k(b)[a.passwordGrade]||"-"),1)]),_:2},1024),e(' '),e(" {{ app.nationalItSpec===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.useGovCloud===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.cloudsType }}"),e(" "),e(' '),e(" {{ app.cloudsFoundationSpecifications }}"),e(" "),e(' '),e(" {{ app.cloudsNumber }}"),e(" "),e(' '),e(" {{ app.cloudsDescription||'-' }}"),e(" "),e(' '),e(" {{ netEnvOptions[app.netEnv]||'-' }}"),e(" "),e(' '),e(" {{ app.useCommonData===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.dataName||'-' }}"),e(" "),e(' '),e(" {{ app.useCommonComponent===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.commonComponents||'-' }}"),e(" "),e(' '),e(" {{ app.produceCommonComponent===1?'\u662F':'\u5426' }}"),e(" "),e(' '),e(" {{ app.produceCommonComponents||'-' }}"),e(" ")]),_:2},1024),(n(!0),m(u,null,N(a.coreBusinessList,(p,d)=>(n(),r(C,{key:d,border:"",column:2,class:"mb-16",title:`\u6838\u5FC3\u4E1A\u52A1${d+1}`},{default:i(()=>[o(l,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:i(()=>[s(t(p.coreBusiness||"-"),1)]),_:2},1024),o(l,{label:"\u5206\u503C"},{default:i(()=>[s(t(p.score||"0")+"\u5206 ",1)]),_:2},1024),o(l,{label:"\u4E1A\u52A1\u6307\u6807\u540D\u79F0"},{default:i(()=>[s(t(p.businessIndicatorName||"-"),1)]),_:2},1024),o(l,{label:"\u4E1A\u52A1\u6307\u6807\u63CF\u8FF0"},{default:i(()=>[s(t(p.businessIndicatorDescription||"-"),1)]),_:2},1024),o(l,{label:"\u6307\u6807\u8BBE\u8BA1\u4F9D\u636E"},{default:i(()=>[s(t(p.indexDesignBasis||"-"),1)]),_:2},1024),o(l,{label:"\u6307\u6807\u8BA1\u7B97\u65B9\u6CD5"},{default:i(()=>[s(t(p.indexCalculationMethod||"-"),1)]),_:2},1024)]),_:2},1032,["title"]))),128))]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])}}}),I=D(h,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/applications.vue"]]);export{I as default}; diff --git a/lishui2/web/dist/assets/applyDialog.3e4e350e.js b/lishui2/web/dist/assets/applyDialog.3e4e350e.js deleted file mode 100644 index 0b056ef..0000000 --- a/lishui2/web/dist/assets/applyDialog.3e4e350e.js +++ /dev/null @@ -1 +0,0 @@ -var N=Object.defineProperty,S=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var D=(s,l,a)=>l in s?N(s,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[l]=a,C=(s,l)=>{for(var a in l||(l={}))B.call(l,a)&&D(s,a,l[a]);if(V)for(var a of V(l))I.call(l,a)&&D(s,a,l[a]);return s},j=(s,l)=>S(s,q(l));var M=(s,l,a)=>new Promise((w,p)=>{var v=r=>{try{e(a.next(r))}catch(m){p(m)}},u=r=>{try{e(a.throw(r))}catch(m){p(m)}},e=r=>r.done?w(r.value):Promise.resolve(r.value).then(v,u);e((a=a.apply(s,l)).next())});import{_ as O,d as A,D as L,r as h,L as P,e as g,f as J,I as T,l as n,k as i,m as b,j as d,h as K,t as z,p as G}from"./index.11dc4694.js";import{h as H,f as Q,c as k,b as W,e as X,g as Y}from"./uploadAction.c865409e.js";import{d as Z}from"./delayApply.5df27165.js";const E={class:"el-upload__tip"},ee=A({name:"applyDialog"}),ae=Object.assign(ee,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(s,{emit:l}){const{proxy:a}=G(),w=L.dictStore.uploadUrl,p=s,v=l,u=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(),F=y=>M(this,null,function*(){!y||y.validate(t=>M(this,null,function*(){var _,c;if(t){u.value=!0;try{const f=j(C({},e.value),{supportingMaterials:((c=(_=e.value)==null?void 0:_.supportingMaterials)==null?void 0:c.length)&&JSON.stringify(Y(e.value.supportingMaterials))||void 0,projectId:p.data.id});yield Z(f),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),u.value=!1,v("close",!0)}catch(f){u.value=!1}}}))});return P(()=>p.visible,y=>M(this,null,function*(){y?console.log("props.data",p.data):e.value={higherLineSuperOrgReviewComments:[]}})),(y,t)=>{const _=g("el-input"),c=g("el-form-item"),f=g("el-button"),R=g("el-upload"),U=g("el-form"),$=g("el-dialog");return J(),T($,{"model-value":s.visible,title:"\u7533\u8BF7\u5EF6\u671F",width:"600px","destroy-on-close":"",onClose:t[6]||(t[6]=o=>v("close"))},{footer:n(()=>[i(f,{type:"primary",loading:u.value,onClick:t[4]||(t[4]=o=>F(m.value))},{default:n(()=>[b(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),i(f,{onClick:t[5]||(t[5]=o=>v("close"))},{default:n(()=>[b(" \u5173\u95ED ")]),_:1})]),default:n(()=>[i(U,{ref_key:"dialogFormRef",ref:m,model:e.value,rules:r,"label-width":"auto","status-icon":"",class:"mt-16"},{default:n(()=>[i(c,{label:"\u5EF6\u671F\u65F6\u957F",prop:"delayedMonth"},{default:n(()=>[i(_,{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:n(()=>[b("\u6708")]),_:1},8,["modelValue"])]),_:1}),i(c,{label:"\u5EF6\u671F\u7406\u7531",prop:"delayedReason"},{default:n(()=>[i(_,{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}),i(c,{label:"\u4F50\u8BC1\u6750\u6599:",prop:"supportingMaterials"},{default:n(()=>[i(R,{"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(H)(o,e.value.supportingMaterials,!0),"before-upload":o=>d(Q)(o,{types:d(k)}),accept:d(k).map(o=>`.${o}`).join(","),"on-preview":d(W)},{tip:n(()=>[K("div",E," \u652F\u6301"+z(d(X))+"\u6587\u4EF6 ",1)]),default:n(()=>[i(f,{type:"primary",plain:""},{default:n(()=>[b("\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"])}}}),ne=O(ae,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/delayApply/components/applyDialog.vue"]]);export{ne as default}; diff --git a/lishui2/web/dist/assets/applyDialog.804c926d.js b/lishui2/web/dist/assets/applyDialog.804c926d.js new file mode 100644 index 0000000..594f424 --- /dev/null +++ b/lishui2/web/dist/assets/applyDialog.804c926d.js @@ -0,0 +1 @@ +var $=Object.defineProperty,q=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var k=(s,l,a)=>l in s?$(s,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[l]=a,C=(s,l)=>{for(var a in l||(l={}))I.call(l,a)&&k(s,a,l[a]);if(V)for(var a of V(l))N.call(l,a)&&k(s,a,l[a]);return s},D=(s,l)=>q(s,B(l));var M=(s,l,a)=>new Promise((h,p)=>{var v=r=>{try{e(a.next(r))}catch(m){p(m)}},u=r=>{try{e(a.throw(r))}catch(m){p(m)}},e=r=>r.done?h(r.value):Promise.resolve(r.value).then(v,u);e((a=a.apply(s,l)).next())});import{_ as O,d as A,D as L,r as w,L as P,e as g,f as T,I as J,l as n,k as i,m as b,j as d,h as W,t as z,p as G}from"./index.096886c6.js";import{h as H,f as K,c as F,b as Q,e as X,g as Y}from"./uploadAction.03c39815.js";import{d as Z}from"./delayApply.98018341.js";const E={class:"el-upload__tip"},ee=A({name:"applyDialog"}),ae=Object.assign(ee,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(s,{emit:l}){const{proxy:a}=G(),h=L.dictStore.uploadUrl,p=s,v=l,u=w(!1),e=w({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=w(),R=y=>M(this,null,function*(){!y||y.validate(t=>M(this,null,function*(){var _,f;if(t){u.value=!0;try{const c=D(C({},e.value),{supportingMaterials:((f=(_=e.value)==null?void 0:_.supportingMaterials)==null?void 0:f.length)&&JSON.stringify(Y(e.value.supportingMaterials))||void 0,projectId:p.data.id});yield Z(c),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),u.value=!1,v("close",!0)}catch(c){u.value=!1}}}))});return P(()=>p.visible,y=>M(this,null,function*(){y?console.log("props.data",p.data):e.value={higherLineSuperOrgReviewComments:[]}})),(y,t)=>{const _=g("el-input"),f=g("el-form-item"),c=g("el-button"),j=g("el-upload"),S=g("el-form"),U=g("el-dialog");return T(),J(U,{"model-value":s.visible,title:"\u7533\u8BF7\u5EF6\u671F",width:"600px","destroy-on-close":"",onClose:t[6]||(t[6]=o=>v("close"))},{footer:n(()=>[i(c,{type:"primary",loading:u.value,onClick:t[4]||(t[4]=o=>R(m.value))},{default:n(()=>[b(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),i(c,{onClick:t[5]||(t[5]=o=>v("close"))},{default:n(()=>[b(" \u5173\u95ED ")]),_:1})]),default:n(()=>[i(S,{ref_key:"dialogFormRef",ref:m,model:e.value,rules:r,"label-width":"auto","status-icon":"",class:"mt-16"},{default:n(()=>[i(f,{label:"\u5EF6\u671F\u65F6\u957F",prop:"delayedMonth"},{default:n(()=>[i(_,{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:n(()=>[b("\u6708")]),_:1},8,["modelValue"])]),_:1}),i(f,{label:"\u5EF6\u671F\u7406\u7531",prop:"delayedReason"},{default:n(()=>[i(_,{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}),i(f,{label:"\u4F50\u8BC1\u6750\u6599:",prop:"supportingMaterials"},{default:n(()=>[i(j,{"file-list":e.value.supportingMaterials,"onUpdate:fileList":t[3]||(t[3]=o=>e.value.supportingMaterials=o),class:"w-full",action:d(h),limit:1,"on-success":o=>d(H)(o,e.value.supportingMaterials,!0),"before-upload":o=>d(K)(o,{types:d(F)}),accept:d(F).map(o=>`.${o}`).join(","),"on-preview":d(Q)},{tip:n(()=>[W("div",E," \u652F\u6301"+z(d(X))+"\u6587\u4EF6 ",1)]),default:n(()=>[i(c,{type:"primary",plain:""},{default:n(()=>[b("\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"])}}}),ne=O(ae,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/delayApply/components/applyDialog.vue"]]);export{ne as default}; diff --git a/lishui2/web/dist/assets/applyInfo.736d05cc.js b/lishui2/web/dist/assets/applyInfo.74ca238f.js similarity index 87% rename from lishui2/web/dist/assets/applyInfo.736d05cc.js rename to lishui2/web/dist/assets/applyInfo.74ca238f.js index e9187dd..f989e64 100644 --- a/lishui2/web/dist/assets/applyInfo.736d05cc.js +++ b/lishui2/web/dist/assets/applyInfo.74ca238f.js @@ -1 +1 @@ -import{_ as V,d as M,r as I,o as Y,e as A,f as o,I as O,l as n,k as i,m as u,t as b,g as f,i as T,F as g,J as L}from"./index.11dc4694.js";import{A as S}from"./index.3731dd96.js";const K={key:0},G={key:1},H={key:0},$={key:1},q={key:1},z={key:1},Q=M({name:"applyInfo"}),W=Object.assign(Q,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object,default:()=>{}},dictionaryList:Array},setup(a){const F=a,w=[{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}],B=I([]),U=I();return Y(()=>{var R,C,s;B.value=(s=(C=(R=F.detailData)==null?void 0:R.baseProjBasis)==null?void 0:C.split("\uFF1B"))==null?void 0:s.map((m,v)=>{var D,j,p,P,k;const N=`[${(D=F.detailData)==null?void 0:D.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(P=(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:P.label,fileList:(k=F.detailData)!=null&&k.baseProjBasisFile?JSON.parse(N)[v]:[],value:m}})}),(R,C)=>{const s=A("el-descriptions-item"),m=A("table-list"),v=A("el-descriptions");return o(),O(v,{column:2,border:""},{default:n(()=>{var N,D,j,p,P,k,y,E;return[i(s,{label:"\u53D1\u6539\u7F16\u7801"},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseDevelopCode)||"-"),1)]}),_:1}),i(s,{label:"\u8D22\u653F\u7F16\u7801"},{default:n(()=>{var e;return[u(b(((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,r;return[((e=a.detailData)==null?void 0:e.baseProjStartTime)&&((t=a.detailData)==null?void 0:t.baseProjEndTime)?(o(),f("span",K,b((d=(l=a.detailData)==null?void 0:l.baseProjStartTime)==null?void 0:d.split(" ")[0])+" ~ "+b((r=(c=a.detailData)==null?void 0:c.baseProjEndTime)==null?void 0:r.split(" ")[0]),1)):(o(),f("span",G,"-"))]}),_:1}),i(s,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseProjSetYear)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u603B\u6295\u8D44"},{default:n(()=>{var e;return[u(b(((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[u(b(((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[u(b(((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=(P=(p=a.basicInfoData)==null?void 0:p.baseConstructionType)==null?void 0:P.split("\uFF1B"))!=null&&k.includes("01"))?T("v-if",!0):(o(),O(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:n(()=>{var e,t;return[u(b(((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(),f("span",H,"\u7F3A\u5931")):(o(),O(m,{key:1,pagination:!1,style:{width:"100%"},column:w,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[u(b(((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(r=>r.type==="BUDGET_SOURCE").find(r=>r.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[u(b(((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:U,pagination:!1,style:{width:"100%"},column:x,data:B.value},{fileName:n(({scope:e})=>[u(b(e.row.fileList[0].originalFileName),1)]),action:n(({scope:e})=>[(o(!0),f(g,null,L(e.row.fileList,(t,l)=>(o(),f("p",{key:l,class:"mb-4"},[i(S,{"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[u(b(((e=a.detailData)==null?void 0:e.baseBasisEstablish)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u6982\u8FF0",span:2},{default:n(()=>{var e;return[u(b(((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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseProjApplyFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjApplyFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",$,"-"))]}),_:1}),((y=a.basicInfoData)==null?void 0:y.baseProjType)==="01"||((E=a.basicInfoData)==null?void 0:E.baseProjType)==="02"?(o(),O(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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseResearchReportFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseResearchReportFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",q,"-"))]}),_:1})):T("v-if",!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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseProjOtherFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjOtherFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",z,"-"))]}),_:1}),i(s,{label:"\u5907\u6CE8",span:2},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseProjRemark)||"-"),1)]}),_:1})]}),_:1})}}}),_=V(W,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/applyInfo.vue"]]);export{_ as default}; +import{_ as V,d as Y,r as I,o as M,e as A,f as o,I as O,l as n,k as i,m as u,t as b,g as f,i as T,F as g,J as L}from"./index.096886c6.js";import{A as S}from"./index.e0e52f0f.js";const G={key:0},H={key:1},K={key:0},W={key:1},$={key:1},q={key:1},z=Y({name:"applyInfo"}),Q=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object,default:()=>{}},dictionaryList:Array},setup(a){const F=a,w=[{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}],B=I([]),U=I();return M(()=>{var R,C,s;B.value=(s=(C=(R=F.detailData)==null?void 0:R.baseProjBasis)==null?void 0:C.split("\uFF1B"))==null?void 0:s.map((m,v)=>{var D,j,p,P,k;const N=`[${(D=F.detailData)==null?void 0:D.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(P=(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:P.label,fileList:(k=F.detailData)!=null&&k.baseProjBasisFile?JSON.parse(N)[v]:[],value:m}})}),(R,C)=>{const s=A("el-descriptions-item"),m=A("table-list"),v=A("el-descriptions");return o(),O(v,{column:2,border:""},{default:n(()=>{var N,D,j,p,P,k,y,E;return[i(s,{label:"\u53D1\u6539\u7F16\u7801"},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseDevelopCode)||"-"),1)]}),_:1}),i(s,{label:"\u8D22\u653F\u7F16\u7801"},{default:n(()=>{var e;return[u(b(((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,r;return[((e=a.detailData)==null?void 0:e.baseProjStartTime)&&((t=a.detailData)==null?void 0:t.baseProjEndTime)?(o(),f("span",G,b((d=(l=a.detailData)==null?void 0:l.baseProjStartTime)==null?void 0:d.split(" ")[0])+" ~ "+b((r=(c=a.detailData)==null?void 0:c.baseProjEndTime)==null?void 0:r.split(" ")[0]),1)):(o(),f("span",H,"-"))]}),_:1}),i(s,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseProjSetYear)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u603B\u6295\u8D44"},{default:n(()=>{var e;return[u(b(((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[u(b(((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[u(b(((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=(P=(p=a.basicInfoData)==null?void 0:p.baseConstructionType)==null?void 0:P.split("\uFF1B"))!=null&&k.includes("01"))?T("v-if",!0):(o(),O(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:n(()=>{var e,t;return[u(b(((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(),f("span",K,"\u7F3A\u5931")):(o(),O(m,{key:1,pagination:!1,style:{width:"100%"},column:w,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[u(b(((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(r=>r.type==="BUDGET_SOURCE").find(r=>r.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[u(b(((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:U,pagination:!1,style:{width:"100%"},column:x,data:B.value},{fileName:n(({scope:e})=>[u(b(e.row.fileList[0].originalFileName),1)]),action:n(({scope:e})=>[(o(!0),f(g,null,L(e.row.fileList,(t,l)=>(o(),f("p",{key:l,class:"mb-4"},[i(S,{"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[u(b(((e=a.detailData)==null?void 0:e.baseBasisEstablish)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u6982\u8FF0",span:2},{default:n(()=>{var e;return[u(b(((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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseProjApplyFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjApplyFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",W,"-"))]}),_:1}),((y=a.basicInfoData)==null?void 0:y.baseProjType)==="01"||((E=a.basicInfoData)==null?void 0:E.baseProjType)==="02"?(o(),O(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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseResearchReportFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseResearchReportFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",$,"-"))]}),_:1})):T("v-if",!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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseProjOtherFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjOtherFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",q,"-"))]}),_:1}),i(s,{label:"\u5907\u6CE8",span:2},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseProjRemark)||"-"),1)]}),_:1})]}),_:1})}}}),_=V(Q,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/applyInfo.vue"]]);export{_ as default}; diff --git a/lishui2/web/dist/assets/applyInfo.22f1ec95.js b/lishui2/web/dist/assets/applyInfo.ba95e8e6.js similarity index 83% rename from lishui2/web/dist/assets/applyInfo.22f1ec95.js rename to lishui2/web/dist/assets/applyInfo.ba95e8e6.js index 8ce47c7..d56bd1d 100644 --- a/lishui2/web/dist/assets/applyInfo.22f1ec95.js +++ b/lishui2/web/dist/assets/applyInfo.ba95e8e6.js @@ -1 +1 @@ -import{_ as V,d as Y,r as I,o as K,e as A,f as o,I as O,l as n,k as i,m as u,t as b,g as f,i as T,F as L,J as g}from"./index.11dc4694.js";import{A as S}from"./index.3731dd96.js";const M={key:0},G={key:1},H={key:0},$={key:1},q={key:1},z={key:1},Q=Y({name:"applyInfo"}),W=Object.assign(Q,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object,default:()=>{}},dictionaryList:Array},setup(a){const F=a,w=[{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}],B=I([]),U=I();return K(()=>{var C,R,s;B.value=(s=(R=(C=F.detailData)==null?void 0:C.baseProjBasis)==null?void 0:R.split("\uFF1B"))==null?void 0:s.map((m,v)=>{var D,j,p,P,k;const N=`[${(D=F.detailData)==null?void 0:D.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(P=(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:P.label,fileList:(k=F.detailData)!=null&&k.baseProjBasisFile?JSON.parse(N)[v]:[],value:m}})}),(C,R)=>{const s=A("el-descriptions-item"),m=A("table-list"),v=A("el-descriptions");return o(),O(v,{column:2,border:""},{default:n(()=>{var N,D,j,p,P,k,y,E;return[i(s,{label:"\u53D1\u6539\u7F16\u7801"},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseDevelopCode)||"-"),1)]}),_:1}),i(s,{label:"\u8D22\u653F\u7F16\u7801"},{default:n(()=>{var e;return[u(b(((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,r;return[((e=a.detailData)==null?void 0:e.baseProjStartTime)&&((t=a.detailData)==null?void 0:t.baseProjEndTime)?(o(),f("span",M,b((d=(l=a.detailData)==null?void 0:l.baseProjStartTime)==null?void 0:d.split(" ")[0])+" ~ "+b((r=(c=a.detailData)==null?void 0:c.baseProjEndTime)==null?void 0:r.split(" ")[0]),1)):(o(),f("span",G,"-"))]}),_:1}),i(s,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseProjSetYear)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u603B\u6295\u8D44"},{default:n(()=>{var e;return[u(b(((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[u(b(((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[u(b(((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=(P=(p=a.basicInfoData)==null?void 0:p.baseConstructionType)==null?void 0:P.split("\uFF1B"))!=null&&k.includes("01"))?T("v-if",!0):(o(),O(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:n(()=>{var e,t;return[u(b(((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(),f("span",H,"\u7F3A\u5931")):(o(),O(m,{key:1,pagination:!1,style:{width:"100%"},column:w,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[u(b(((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(r=>r.type==="BUDGET_SOURCE").find(r=>r.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[u(b(((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:U,pagination:!1,style:{width:"100%"},column:x,data:B.value},{fileName:n(({scope:e})=>[u(b(e.row.fileList[0].originalFileName),1)]),action:n(({scope:e})=>[(o(!0),f(L,null,g(e.row.fileList,(t,l)=>(o(),f("p",{key:l,class:"mb-4"},[i(S,{"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[u(b(((e=a.detailData)==null?void 0:e.baseBasisEstablish)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u7B80\u4ECB",span:2},{default:n(()=>{var e;return[u(b(((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),f(L,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjApplyFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjApplyFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",$,"-"))]}),_:1}),((y=a.basicInfoData)==null?void 0:y.baseProjType)==="01"||((E=a.basicInfoData)==null?void 0:E.baseProjType)==="02"?(o(),O(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),f(L,{key:0},g(((d=a.detailData)==null?void 0:d.baseResearchReportFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseResearchReportFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",q,"-"))]}),_:1})):T("v-if",!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),f(L,{key:0},g(((d=a.detailData)==null?void 0:d.baseProjOtherFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjOtherFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",z,"-"))]}),_:1}),i(s,{label:"\u5907\u6CE8",span:2},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseProjRemark)||"-"),1)]}),_:1})]}),_:1})}}}),_=V(W,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/detail/components/applyInfo.vue"]]);export{_ as default}; +import{_ as V,d as Y,r as I,o as G,e as A,f as o,I as O,l as n,k as i,m as u,t as b,g as f,i as T,F as g,J as L}from"./index.096886c6.js";import{A as S}from"./index.e0e52f0f.js";const H={key:0},K={key:1},M={key:0},W={key:1},$={key:1},q={key:1},z=Y({name:"applyInfo"}),Q=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object,default:()=>{}},dictionaryList:Array},setup(a){const F=a,w=[{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}],B=I([]),U=I();return G(()=>{var C,R,s;B.value=(s=(R=(C=F.detailData)==null?void 0:C.baseProjBasis)==null?void 0:R.split("\uFF1B"))==null?void 0:s.map((m,v)=>{var D,j,p,P,k;const N=`[${(D=F.detailData)==null?void 0:D.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(P=(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:P.label,fileList:(k=F.detailData)!=null&&k.baseProjBasisFile?JSON.parse(N)[v]:[],value:m}})}),(C,R)=>{const s=A("el-descriptions-item"),m=A("table-list"),v=A("el-descriptions");return o(),O(v,{column:2,border:""},{default:n(()=>{var N,D,j,p,P,k,y,E;return[i(s,{label:"\u53D1\u6539\u7F16\u7801"},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseDevelopCode)||"-"),1)]}),_:1}),i(s,{label:"\u8D22\u653F\u7F16\u7801"},{default:n(()=>{var e;return[u(b(((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,r;return[((e=a.detailData)==null?void 0:e.baseProjStartTime)&&((t=a.detailData)==null?void 0:t.baseProjEndTime)?(o(),f("span",H,b((d=(l=a.detailData)==null?void 0:l.baseProjStartTime)==null?void 0:d.split(" ")[0])+" ~ "+b((r=(c=a.detailData)==null?void 0:c.baseProjEndTime)==null?void 0:r.split(" ")[0]),1)):(o(),f("span",K,"-"))]}),_:1}),i(s,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseProjSetYear)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u603B\u6295\u8D44"},{default:n(()=>{var e;return[u(b(((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[u(b(((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[u(b(((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=(P=(p=a.basicInfoData)==null?void 0:p.baseConstructionType)==null?void 0:P.split("\uFF1B"))!=null&&k.includes("01"))?T("v-if",!0):(o(),O(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:n(()=>{var e,t;return[u(b(((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(),f("span",M,"\u7F3A\u5931")):(o(),O(m,{key:1,pagination:!1,style:{width:"100%"},column:w,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[u(b(((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(r=>r.type==="BUDGET_SOURCE").find(r=>r.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[u(b(((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:U,pagination:!1,style:{width:"100%"},column:x,data:B.value},{fileName:n(({scope:e})=>[u(b(e.row.fileList[0].originalFileName),1)]),action:n(({scope:e})=>[(o(!0),f(g,null,L(e.row.fileList,(t,l)=>(o(),f("p",{key:l,class:"mb-4"},[i(S,{"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[u(b(((e=a.detailData)==null?void 0:e.baseBasisEstablish)||"-"),1)]}),_:1}),i(s,{label:"\u9879\u76EE\u7B80\u4ECB",span:2},{default:n(()=>{var e;return[u(b(((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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseProjApplyFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjApplyFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",W,"-"))]}),_:1}),((y=a.basicInfoData)==null?void 0:y.baseProjType)==="01"||((E=a.basicInfoData)==null?void 0:E.baseProjType)==="02"?(o(),O(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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseResearchReportFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseResearchReportFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",$,"-"))]}),_:1})):T("v-if",!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),f(g,{key:0},L(((d=a.detailData)==null?void 0:d.baseProjOtherFile)&&JSON.parse((c=a.detailData)==null?void 0:c.baseProjOtherFile),(r,h)=>(o(),f("p",{key:h,class:"mb-4"},[i(S,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(o(),f("span",q,"-"))]}),_:1}),i(s,{label:"\u5907\u6CE8",span:2},{default:n(()=>{var e;return[u(b(((e=a.detailData)==null?void 0:e.baseProjRemark)||"-"),1)]}),_:1})]}),_:1})}}}),_=V(Q,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/detail/components/applyInfo.vue"]]);export{_ as default}; diff --git a/lishui2/web/dist/assets/approvalDialog.82377787.js b/lishui2/web/dist/assets/approvalDialog.82377787.js deleted file mode 100644 index 7243cf9..0000000 --- a/lishui2/web/dist/assets/approvalDialog.82377787.js +++ /dev/null @@ -1 +0,0 @@ -var H=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var P=(o,u,n)=>u in o?H(o,u,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[u]=n,B=(o,u)=>{for(var n in u||(u={}))Y.call(u,n)&&P(o,n,u[n]);if(S)for(var n of S(u))Z.call(u,n)&&P(o,n,u[n]);return o},I=(o,u)=>Q(o,X(u));var C=(o,u,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,u)).next())});import{_ as ee,d as le,G as ae,D as te,u as oe,r as $,b as ne,L as se,e as d,f as V,g as U,k as e,l as a,m as p,h,F as k,J as ue,I as de,t as re,i as N,j}from"./index.11dc4694.js";import{O as ie}from"./index.83c11d37.js";import"./unitManage.315d6884.js";const pe={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),fe=le({name:"approvalDialog"}),ce=Object.assign(fe,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object,orgCode:{type:String,default:""}},emits:["close","update:data"],setup(o,{emit:u}){const n=ae(te.userStore).userInfo||{},x=oe(),i=o,v=u,y=$(),l=$({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 c={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(m=>m),mode:l.value.mode||void 0}};v("update:data",c),v("close",!0)}})))}),_=ne({unitVisible:!1,showCheckbox:!0,data:void 0}),q=()=>{_.unitVisible=!1},A=(r,t)=>{l.value.assignedUser=r.map(c=>({id:c.key,name:c.title})),_.unitVisible=!1},L=()=>{_.unitVisible=!0,_.data=l.value.assignedUser.map(r=>({key:r.id,title:r.name}))},E=r=>{l.value.assignedUser.splice(r,1)};return se(()=>i.visible,r=>C(this,null,function*(){r?l.value=I(B({},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 c=d("el-input"),m=d("el-form-item"),g=d("el-col"),R=d("el-row"),F=d("Plus"),G=d("el-icon"),w=d("el-button"),W=d("el-tag"),T=d("el-radio"),J=d("el-radio-group"),_e=d("el-switch"),D=d("el-checkbox"),K=d("el-checkbox-group"),M=d("el-form"),z=d("el-dialog");return V(),U(k,null,[e(z,{"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(()=>[p(" \u63D0\u4EA4 ")]),_:1}),e(w,{onClick:t[8]||(t[8]=s=>v("close"))},{default:a(()=>[p(" \u5173\u95ED ")]),_:1})]),default:a(()=>[e(M,{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(m,{label:"\u8282\u70B9\u540D\u79F0",prop:"name"},{default:a(()=>[e(c,{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(m,{prop:"assignedUser",label:"\u8282\u70B9\u8D1F\u8D23\u4EBA"},{default:a(()=>[h("div",pe,[e(w,{type:"primary",onClick:L},{default:a(()=>[e(G,null,{default:a(()=>[e(F)]),_:1}),p("\u6DFB\u52A0\u4EBA\u5458")]),_:1}),h("p",null,[(V(!0),U(k,null,ue(l.value.assignedUser,(s,O)=>(V(),de(W,{key:O,class:"mr-8",closable:"",onClose:ve=>E(O)},{default:a(()=>[p(re(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(m,{label:"\u5BA1\u6838\u65B9\u5F0F",prop:"mode"},{default:a(()=>[e(J,{modelValue:l.value.mode,"onUpdate:modelValue":t[1]||(t[1]=s=>l.value.mode=s)},{default:a(()=>[e(T,{label:"OR"},{default:a(()=>[p("\u6216\u7B7E")]),_:1}),e(T,{label:"AND"},{default:a(()=>[p("\u4F1A\u7B7E")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),N("v-if",!0),l.value.isTimeoutRemind?(V(),U(k,{key:1},[e(g,{span:24},{default:a(()=>[e(m,{label:"\u63D0\u9192\u89C4\u5219",required:""},{default:a(()=>[p(" \u82E5\u6D41\u7A0B\u8FBE\u5230\u8BE5\u8282\u70B9 "),e(m,{prop:"overNum"},{default:a(()=>[e(c,{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}),p(" \u5C0F\u65F6\u540E\u672A\u5904\u7406,\u5219\u6BCF\u9694 "),e(m,{prop:"intervalNum"},{default:a(()=>[e(c,{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}),p(" \u5C0F\u65F6\u63D0\u9192\u4E00\u6B21 ")]),_:1})]),_:1}),e(g,{span:24},{default:a(()=>[e(m,{label:"\u63D0\u9192\u65B9\u5F0F",prop:"notifyWay"},{default:a(()=>[e(K,{modelValue:l.value.notifyWay,"onUpdate:modelValue":t[5]||(t[5]=s=>l.value.notifyWay=s)},{default:a(()=>[e(D,{label:1},{default:a(()=>[p("\u6D59\u653F\u9489\u5DE5\u4F5C\u901A\u77E5")]),_:1}),e(D,{label:2},{default:a(()=>[p("\u624B\u673A\u77ED\u4FE1")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(g,{span:24},{default:a(()=>[e(m,{label:"\u63D0\u9192\u5185\u5BB9",prop:"notifyContent"},{default:a(()=>[e(c,{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("v-if",!0)],64)):N("v-if",!0)]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"]),e(ie,{"is-person":"",params:{needMember:!0,organizationCode:j(x).query.orgCode||j(n).empPosUnitCode},visible:_.unitVisible,"show-checkbox":_.showCheckbox,"default-data":_.data,title:"\u4EBA\u5458",onClose:q,onGetSelectUnit:A},null,8,["params","visible","show-checkbox","default-data"])],64)}}}),Ce=ee(ce,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/unitSet/flowPathConfiguration/configEdit/components/approvalDialog.vue"]]);export{Ce as default}; diff --git a/lishui2/web/dist/assets/approvalDialog.d2fc5975.js b/lishui2/web/dist/assets/approvalDialog.9b1faf62.js similarity index 60% rename from lishui2/web/dist/assets/approvalDialog.d2fc5975.js rename to lishui2/web/dist/assets/approvalDialog.9b1faf62.js index 583a088..0926fc2 100644 --- a/lishui2/web/dist/assets/approvalDialog.d2fc5975.js +++ b/lishui2/web/dist/assets/approvalDialog.9b1faf62.js @@ -1 +1 @@ -var R=Object.defineProperty,T=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var x=(s,r,p)=>r in s?R(s,r,{enumerable:!0,configurable:!0,writable:!0,value:p}):s[r]=p,k=(s,r)=>{for(var p in r||(r={}))K.call(r,p)&&x(s,p,r[p]);if(j)for(var p of j(r))z.call(r,p)&&x(s,p,r[p]);return s},P=(s,r)=>T(s,J(r));var V=(s,r,p)=>new Promise((I,c)=>{var _=i=>{try{o(p.next(i))}catch(g){c(g)}},b=i=>{try{o(p.throw(i))}catch(g){c(g)}},o=i=>i.done?I(i.value):Promise.resolve(i.value).then(_,b);o((p=p.apply(s,r)).next())});import{_ as E,d as G,D as H,r as U,L as Q,e as n,f as W,I as X,l as e,k as a,m as f,j as d,h as B,t as q,p as Z}from"./index.11dc4694.js";import{h as A,i as $,f as S,c as D,b as M,e as N}from"./uploadAction.c865409e.js";import{b as h}from"./annualPlanStore.eb2b9f49.js";const ee={class:"el-upload__tip"},le={class:"el-upload__tip"},ae=G({name:"approvalDialog"}),oe=Object.assign(ae,{props:{visible:{type:Boolean,default:!1,required:!0},title:{type:String,default:"\u7ACB\u9879\u6279\u590D"},data:Object},emits:["close"],setup(s,{emit:r}){const{proxy:p}=Z(),I=H.dictStore.uploadUrl,c=s,_=r,b=U(),o=U({}),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"}]},g=y=>V(this,null,function*(){!y||(yield y.validate(t=>V(this,null,function*(){var v,u;if(t){const m=P(k({},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:((u=o.value.buildPlanFileId)==null?void 0:u.map(F=>F.response.data.id)[0])||void 0});yield h(m),p.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),_("close",!0)}})))});return Q(()=>c.visible,y=>V(this,null,function*(){y?console.log("props.data",c.data):b.value.resetFields()})),(y,t)=>{const v=n("el-input"),u=n("el-form-item"),m=n("el-col"),F=n("el-date-picker"),w=n("el-button"),C=n("el-upload"),Y=n("el-row"),L=n("el-form"),O=n("el-dialog");return W(),X(O,{"model-value":s.visible,title:s.title,width:"600px","destroy-on-close":"",onClose:t[8]||(t[8]=l=>_("close"))},{footer:e(()=>[a(w,{type:"primary",onClick:t[6]||(t[6]=l=>g(b.value))},{default:e(()=>[f(" \u63D0\u4EA4 ")]),_:1}),a(w,{onClick:t[7]||(t[7]=l=>_("close"))},{default:e(()=>[f(" \u5173\u95ED ")]),_:1})]),default:e(()=>[a(L,{ref_key:"formRef",ref:b,model:o.value,rules:i,"label-width":"140px","label-suffix":":"},{default:e(()=>[a(Y,null,{default:e(()=>[a(m,{span:24},{default:e(()=>[a(u,{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(u,{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(u,{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(u,{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(u,{label:"\u6279\u590D\u6587\u4EF6",prop:"approvedFileId"},{default:e(()=>[a(C,{"file-list":o.value.approvedFileId,"onUpdate:fileList":t[4]||(t[4]=l=>o.value.approvedFileId=l),class:"w-full",action:d(I),"on-success":l=>d(A)(l,o.value.approvedFileId,!0),"on-error":d($),"before-upload":l=>d(S)(l,{types:d(D)}),accept:d(D).map(l=>`.${l}`).join(","),multiple:"",limit:1,"on-preview":d(M)},{tip:e(()=>[B("div",ee,"\u652F\u6301"+q(d(N))+"\u6587\u4EF6",1)]),default:e(()=>[a(w,{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(u,{label:"\u5EFA\u8BBE\u65B9\u6848",prop:"buildPlanFileId"},{default:e(()=>[a(C,{"file-list":o.value.buildPlanFileId,"onUpdate:fileList":t[5]||(t[5]=l=>o.value.buildPlanFileId=l),class:"w-full",action:d(I),"on-success":l=>d(A)(l,o.value.buildPlanFileId,!0),"on-error":d($),"before-upload":l=>d(S)(l,{types:d(D)}),accept:d(D).map(l=>`.${l}`).join(","),multiple:"",limit:1,"on-preview":d(M)},{tip:e(()=>[B("div",le,"\u652F\u6301"+q(d(N))+"\u6587\u4EF6",1)]),default:e(()=>[a(w,{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"])}}}),se=E(oe,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/components/approvalDialog.vue"]]);export{se as default}; +var R=Object.defineProperty,T=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var k=(s,r,p)=>r in s?R(s,r,{enumerable:!0,configurable:!0,writable:!0,value:p}):s[r]=p,x=(s,r)=>{for(var p in r||(r={}))z.call(r,p)&&k(s,p,r[p]);if(j)for(var p of j(r))E.call(r,p)&&k(s,p,r[p]);return s},U=(s,r)=>T(s,W(r));var w=(s,r,p)=>new Promise((I,c)=>{var _=i=>{try{o(p.next(i))}catch(g){c(g)}},b=i=>{try{o(p.throw(i))}catch(g){c(g)}},o=i=>i.done?I(i.value):Promise.resolve(i.value).then(_,b);o((p=p.apply(s,r)).next())});import{_ as G,d as H,D as J,r as B,L as K,e as n,f as Q,I as X,l as e,k as a,m as f,j as d,h as P,t as q,p as Z}from"./index.096886c6.js";import{h as A,i as S,f as $,c as C,b as Y,e as L}from"./uploadAction.03c39815.js";import{b as h}from"./annualPlanStore.bedc2475.js";const ee={class:"el-upload__tip"},le={class:"el-upload__tip"},ae=H({name:"approvalDialog"}),oe=Object.assign(ae,{props:{visible:{type:Boolean,default:!1,required:!0},title:{type:String,default:"\u7ACB\u9879\u6279\u590D"},data:Object},emits:["close"],setup(s,{emit:r}){const{proxy:p}=Z(),I=J.dictStore.uploadUrl,c=s,_=r,b=B(),o=B({}),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"}]},g=y=>w(this,null,function*(){!y||(yield y.validate(t=>w(this,null,function*(){var v,u;if(t){const m=U(x({},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:((u=o.value.buildPlanFileId)==null?void 0:u.map(F=>F.response.data.id)[0])||void 0});yield h(m),p.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),_("close",!0)}})))});return K(()=>c.visible,y=>w(this,null,function*(){y?console.log("props.data",c.data):b.value.resetFields()})),(y,t)=>{const v=n("el-input"),u=n("el-form-item"),m=n("el-col"),F=n("el-date-picker"),V=n("el-button"),D=n("el-upload"),M=n("el-row"),N=n("el-form"),O=n("el-dialog");return Q(),X(O,{"model-value":s.visible,title:s.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=>g(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(N,{ref_key:"formRef",ref:b,model:o.value,rules:i,"label-width":"140px","label-suffix":":"},{default:e(()=>[a(M,null,{default:e(()=>[a(m,{span:24},{default:e(()=>[a(u,{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(u,{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(u,{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(u,{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(u,{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:d(I),"on-success":l=>d(A)(l,o.value.approvedFileId,!0),"on-error":d(S),"before-upload":l=>d($)(l,{types:d(C)}),accept:d(C).map(l=>`.${l}`).join(","),multiple:"",limit:1,"on-preview":d(Y)},{tip:e(()=>[P("div",ee,"\u652F\u6301"+q(d(L))+"\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(u,{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:d(I),"on-success":l=>d(A)(l,o.value.buildPlanFileId,!0),"on-error":d(S),"before-upload":l=>d($)(l,{types:d(C)}),accept:d(C).map(l=>`.${l}`).join(","),multiple:"",limit:1,"on-preview":d(Y)},{tip:e(()=>[P("div",le,"\u652F\u6301"+q(d(L))+"\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"])}}}),se=G(oe,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/components/approvalDialog.vue"]]);export{se as default}; diff --git a/lishui2/web/dist/assets/approvalDialog.e8f69fad.js b/lishui2/web/dist/assets/approvalDialog.e8f69fad.js new file mode 100644 index 0000000..f458158 --- /dev/null +++ b/lishui2/web/dist/assets/approvalDialog.e8f69fad.js @@ -0,0 +1 @@ +var H=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var Y=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var B=(o,u,n)=>u in o?H(o,u,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[u]=n,I=(o,u)=>{for(var n in u||(u={}))Y.call(u,n)&&B(o,n,u[n]);if(D)for(var n of D(u))Z.call(u,n)&&B(o,n,u[n]);return o},P=(o,u)=>Q(o,X(u));var C=(o,u,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,u)).next())});import{_ as ee,d as le,G as ae,D as te,u as oe,r as $,b as ne,L as se,e as d,f as V,g as k,k as e,l as a,m as p,h as N,F as U,J as ue,I as de,t as re,i as h,j as q}from"./index.096886c6.js";import{O as ie}from"./index.df40608b.js";import"./unitManage.e1672486.js";const pe={class:"flex flex-col items-start"},me=N("p",{class:"text-info"},"\u53D8\u91CF\uFF1A\u9879\u76EE\u540D\u79F0{projectName}\uFF0C\u6D41\u7A0B\u540D\u79F0{flowName}",-1),fe=le({name:"approvalDialog"}),ce=Object.assign(fe,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object,orgCode:{type:String,default:""}},emits:["close","update:data"],setup(o,{emit:u}){const n=ae(te.userStore).userInfo||{},x=oe(),i=o,v=u,y=$(),l=$({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 c={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(m=>m),mode:l.value.mode||void 0}};v("update:data",c),v("close",!0)}})))}),_=ne({unitVisible:!1,showCheckbox:!0,data:void 0}),A=()=>{_.unitVisible=!1},j=(r,t)=>{l.value.assignedUser=r.map(c=>({id:c.key,name:c.title})),_.unitVisible=!1},L=()=>{_.unitVisible=!0,_.data=l.value.assignedUser.map(r=>({key:r.id,title:r.name}))},W=r=>{l.value.assignedUser.splice(r,1)};return se(()=>i.visible,r=>C(this,null,function*(){r?l.value=P(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 c=d("el-input"),m=d("el-form-item"),g=d("el-col"),R=d("el-row"),E=d("Plus"),F=d("el-icon"),w=d("el-button"),G=d("el-tag"),T=d("el-radio"),z=d("el-radio-group"),_e=d("el-switch"),S=d("el-checkbox"),J=d("el-checkbox-group"),K=d("el-form"),M=d("el-dialog");return V(),k(U,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(()=>[p(" \u63D0\u4EA4 ")]),_:1}),e(w,{onClick:t[8]||(t[8]=s=>v("close"))},{default:a(()=>[p(" \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(m,{label:"\u8282\u70B9\u540D\u79F0",prop:"name"},{default:a(()=>[e(c,{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(m,{prop:"assignedUser",label:"\u8282\u70B9\u8D1F\u8D23\u4EBA"},{default:a(()=>[N("div",pe,[e(w,{type:"primary",onClick:L},{default:a(()=>[e(F,null,{default:a(()=>[e(E)]),_:1}),p("\u6DFB\u52A0\u4EBA\u5458")]),_:1}),N("p",null,[(V(!0),k(U,null,ue(l.value.assignedUser,(s,O)=>(V(),de(G,{key:O,class:"mr-8",closable:"",onClose:ve=>W(O)},{default:a(()=>[p(re(s.name),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1}),l.value.type!="CC"?(V(),k(U,{key:0},[e(g,{span:24},{default:a(()=>[e(m,{label:"\u5BA1\u6838\u65B9\u5F0F",prop:"mode"},{default:a(()=>[e(z,{modelValue:l.value.mode,"onUpdate:modelValue":t[1]||(t[1]=s=>l.value.mode=s)},{default:a(()=>[e(T,{label:"OR"},{default:a(()=>[p("\u6216\u7B7E")]),_:1}),e(T,{label:"AND"},{default:a(()=>[p("\u4F1A\u7B7E")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),h("v-if",!0),l.value.isTimeoutRemind?(V(),k(U,{key:1},[e(g,{span:24},{default:a(()=>[e(m,{label:"\u63D0\u9192\u89C4\u5219",required:""},{default:a(()=>[p(" \u82E5\u6D41\u7A0B\u8FBE\u5230\u8BE5\u8282\u70B9 "),e(m,{prop:"overNum"},{default:a(()=>[e(c,{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}),p(" \u5C0F\u65F6\u540E\u672A\u5904\u7406,\u5219\u6BCF\u9694 "),e(m,{prop:"intervalNum"},{default:a(()=>[e(c,{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}),p(" \u5C0F\u65F6\u63D0\u9192\u4E00\u6B21 ")]),_:1})]),_:1}),e(g,{span:24},{default:a(()=>[e(m,{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(()=>[p("\u6D59\u653F\u9489\u5DE5\u4F5C\u901A\u77E5")]),_:1}),e(S,{label:2},{default:a(()=>[p("\u624B\u673A\u77ED\u4FE1")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(g,{span:24},{default:a(()=>[e(m,{label:"\u63D0\u9192\u5185\u5BB9",prop:"notifyContent"},{default:a(()=>[e(c,{modelValue:l.value.notifyContent,"onUpdate:modelValue":t[6]||(t[6]=s=>l.value.notifyContent=s),type:"textarea"},null,8,["modelValue"]),me]),_:1})]),_:1})],64)):h("v-if",!0)],64)):h("v-if",!0)]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"]),e(ie,{"is-person":"",params:{needMember:!0,organizationCode:q(x).query.orgCode||q(n).empPosUnitCode},visible:_.unitVisible,"show-checkbox":_.showCheckbox,"default-data":_.data,title:"\u4EBA\u5458",onClose:A,onGetSelectUnit:j},null,8,["params","visible","show-checkbox","default-data"])],64)}}}),Ce=ee(ce,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/unitSet/flowPathConfiguration/configEdit/components/approvalDialog.vue"]]);export{Ce as default}; diff --git a/lishui2/web/dist/assets/approvalDialog.936c8df3.js b/lishui2/web/dist/assets/approvalDialog.ebae3708.js similarity index 60% rename from lishui2/web/dist/assets/approvalDialog.936c8df3.js rename to lishui2/web/dist/assets/approvalDialog.ebae3708.js index dee6f25..cc28e18 100644 --- a/lishui2/web/dist/assets/approvalDialog.936c8df3.js +++ b/lishui2/web/dist/assets/approvalDialog.ebae3708.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 M=(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)&&M(n,a,r[a]);if(F)for(var a of F(r))oe.call(r,a)&&M(n,a,r[a]);return n},S=(n,r)=>le(n,se(r));var O=(n,r,a)=>new Promise((b,A)=>{var e=y=>{try{E(a.next(y))}catch(g){A(g)}},N=y=>{try{E(a.throw(y))}catch(g){A(g)}},E=y=>y.done?b(y.value):Promise.resolve(y.value).then(e,N);E((a=a.apply(n,r)).next())});import{_ as re,d as ue,r as L,b as ne,L as de,e as d,f as c,g as h,k as s,l,m as p,I as T,h as B,F as G,J as $,t as U,i as D}from"./index.11dc4694.js";import{O as pe}from"./index.83c11d37.js";import{a as ie}from"./flowConfiguration.5e41a159.js";import"./unitManage.315d6884.js";const ge={class:"flex flex-col items-start"},fe=ue({name:"approvalDialog"}),me=Object.assign(fe,{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}),N={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:k.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)}})))}),y=()=>{e.value.assignedOrg=[],e.value.subProcess=void 0,e.value.type=void 0},g=ne({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})),x(u[0].key)},W=()=>{g.unitVisible=!1},K=u=>{e.value.assignedOrg.splice(u,1)},k=L([]),x=u=>O(this,null,function*(){const t=yield ie({pageNum:1,pageSize:1e3,orgCode:u});k.value=t.data.records.filter(f=>!f.isStop),t.data.records&&!t.data.records.length&&(k.value=[])}),w=L(!1),z=[{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 de(()=>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"&&x(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"),R=d("el-radio-group"),Q=d("Plus"),X=d("el-icon"),P=d("el-button"),Y=d("el-tag"),I=d("el-switch"),Z=d("el-form"),q=d("el-dialog"),ee=d("table-list");return c(),h(G,null,[s(q,{"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:N,"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(R,{modelValue:e.value.orgType,"onUpdate:modelValue":t[1]||(t[1]=o=>e.value.orgType=o),onChange:y},{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"?(c(),T(v,{key:0},{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{prop:"assignedOrg"},{default:l(()=>[B("div",ge,[s(P,{type:"primary",onClick:j},{default:l(()=>[s(X,null,{default:l(()=>[s(Q)]),_:1}),p("\u6DFB\u52A0\u5355\u4F4D")]),_:1}),B("p",null,[(c(!0),h(G,null,$(e.value.assignedOrg,(o,V)=>(c(),T(Y,{key:V,class:"mr-8",closable:"",onClose:_e=>K(V)},{default:l(()=>[p(U(o.orgName),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1})]),_:1})):D("v-if",!0),e.value.orgType==="TARGET_LABEL"&&e.value.assignedOrg.length||e.value.orgType&&e.value.orgType!=="TARGET_LABEL"?(c(),T(v,{key:1},{default:l(()=>[s(m,{span:24},{default:l(()=>[e.value.orgType==="TARGET_LABEL"?(c(),T(i,{key:0,label:"\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B",prop:"subProcess"},{default:l(()=>[s(R,{modelValue:e.value.subProcess,"onUpdate:modelValue":t[2]||(t[2]=o=>e.value.subProcess=o)},{default:l(()=>[(c(!0),h(G,null,$(k.value,(o,V)=>(c(),T(_,{key:V,label:o.processDefId||0},{default:l(()=>[p(U(o.processDefName)+U(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})):(c(),T(i,{key:1,prop:"type",label:"\u5355\u4F4D\u5185\u90E8\u6D41\u7A0B"},{default:l(()=>[s(R,{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})):D("v-if",!0),e.value.type!=="SEAL"?(c(),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(I,{modelValue:e.value.threeDaysAutoPass,"onUpdate:modelValue":t[4]||(t[4]=o=>e.value.threeDaysAutoPass=o)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):D("v-if",!0),u.$route.query.formName==="\u5EFA\u8BBE\u65B9\u6848\u5BA1\u6279\u6D41\u7A0B"?(c(),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(I,{modelValue:e.value.constructionSuggestions,"onUpdate:modelValue":t[5]||(t[5]=o=>e.value.constructionSuggestions=o)},null,8,["modelValue"]),B("a",{class:"ml-8 cursor-pointer",onClick:t[6]||(t[6]=o=>w.value=!0)},"\u67E5\u770B\u5B57\u6BB5")]),_:1})]),_:1})]),_:1})):D("v-if",!0)]),_:1},8,["model"])]),_:1},8,["model-value"]),s(q,{"model-value":w.value,title:"\u67E5\u770B\u5B57\u6BB5",width:"600px","destroy-on-close":"",onClose:t[10]||(t[10]=o=>w.value=!1)},{default:l(()=>[s(ee,{column:z,data:H.value,pagination:!1},null,8,["data"])]),_:1},8,["model-value"]),s(pe,{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)}}}),Ae=re(me,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/systemManage/flowConfiguration/configEdit/components/approvalDialog.vue"]]);export{Ae 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 $=(u,r,a)=>r in u?ae(u,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):u[r]=a,P=(u,r)=>{for(var a in r||(r={}))te.call(r,a)&&$(u,a,r[a]);if(F)for(var a of F(r))oe.call(r,a)&&$(u,a,r[a]);return u},S=(u,r)=>le(u,se(r));var O=(u,r,a)=>new Promise((b,A)=>{var e=y=>{try{E(a.next(y))}catch(g){A(g)}},D=y=>{try{E(a.throw(y))}catch(g){A(g)}},E=y=>y.done?b(y.value):Promise.resolve(y.value).then(e,D);E((a=a.apply(u,r)).next())});import{_ as re,d as ne,r as k,b as ue,L as de,e as d,f as c,g as h,k as s,l,m as p,I as T,h as B,F as G,J as M,t as U,i as N}from"./index.096886c6.js";import{O as pe}from"./index.df40608b.js";import{a as ie}from"./flowConfiguration.f4944ba7.js";import"./unitManage.e1672486.js";const ge={class:"flex flex-col items-start"},fe=ne({name:"approvalDialog"}),me=Object.assign(fe,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","update:data"],setup(u,{emit:r}){const a=u,b=r,A=k(),e=k({name:void 0,orgType:void 0,assignedOrg:[],subProcess:void 0,procDefId:void 0,threeDaysAutoPass:!1}),D={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=n=>O(this,null,function*(){!n||(yield n.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(P({},i),{type:L.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)}})))}),y=()=>{e.value.assignedOrg=[],e.value.subProcess=void 0,e.value.type=void 0},g=ue({unitVisible:!1,showCheckbox:!1,data:void 0}),W=()=>{g.unitVisible=!0,g.showCheckbox=!1,g.data=e.value.assignedOrg.map(n=>({key:n.orgCode,title:n.orgName}))},j=(n,t)=>{e.value.assignedOrg=n.map(f=>({orgCode:f.key,orgName:f.title})),I(n[0].key)},J=()=>{g.unitVisible=!1},z=n=>{e.value.assignedOrg.splice(n,1)},L=k([]),I=n=>O(this,null,function*(){const t=yield ie({pageNum:1,pageSize:1e3,orgCode:n});L.value=t.data.records.filter(f=>!f.isStop),t.data.records&&!t.data.records.length&&(L.value=[])}),R=k(!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=k([{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 de(()=>a.visible,n=>O(this,null,function*(){var t,f,i,m,v;n?(a.data&&a.data.props&&((t=a.data.props.assignedOrg)==null?void 0:t.length)&&a.data.props.assignedOrg[0].orgType==="TARGET_LABEL"&&I(a.data.props.assignedOrg[0].orgCode),e.value=S(P({},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()})),(n,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"),C=d("el-button"),Y=d("el-tag"),q=d("el-switch"),Z=d("el-form"),x=d("el-dialog"),ee=d("table-list");return c(),h(G,null,[s(x,{"model-value":u.visible,title:"\u5BA1\u6279\u8282\u70B9\u8BBE\u7F6E",width:"840px","destroy-on-close":"",onClose:t[9]||(t[9]=o=>b("close"))},{footer:l(()=>[s(C,{type:"primary",onClick:t[7]||(t[7]=o=>E(A.value))},{default:l(()=>[p(" \u63D0\u4EA4 ")]),_:1}),s(C,{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:D,"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:y},{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"?(c(),T(v,{key:0},{default:l(()=>[s(m,{span:24},{default:l(()=>[s(i,{prop:"assignedOrg"},{default:l(()=>[B("div",ge,[s(C,{type:"primary",onClick:W},{default:l(()=>[s(X,null,{default:l(()=>[s(Q)]),_:1}),p("\u6DFB\u52A0\u5355\u4F4D")]),_:1}),B("p",null,[(c(!0),h(G,null,M(e.value.assignedOrg,(o,V)=>(c(),T(Y,{key:V,class:"mr-8",closable:"",onClose:_e=>z(V)},{default:l(()=>[p(U(o.orgName),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1})]),_:1})):N("v-if",!0),e.value.orgType==="TARGET_LABEL"&&e.value.assignedOrg.length||e.value.orgType&&e.value.orgType!=="TARGET_LABEL"?(c(),T(v,{key:1},{default:l(()=>[s(m,{span:24},{default:l(()=>[e.value.orgType==="TARGET_LABEL"?(c(),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(()=>[(c(!0),h(G,null,M(L.value,(o,V)=>(c(),T(_,{key:V,label:o.processDefId||0},{default:l(()=>[p(U(o.processDefName)+U(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})):(c(),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("v-if",!0),e.value.type!=="SEAL"?(c(),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("v-if",!0),n.$route.query.formName==="\u5EFA\u8BBE\u65B9\u6848\u5BA1\u6279\u6D41\u7A0B"?(c(),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"]),B("a",{class:"ml-8 cursor-pointer",onClick:t[6]||(t[6]=o=>R.value=!0)},"\u67E5\u770B\u5B57\u6BB5")]),_:1})]),_:1})]),_:1})):N("v-if",!0)]),_:1},8,["model"])]),_:1},8,["model-value"]),s(x,{"model-value":R.value,title:"\u67E5\u770B\u5B57\u6BB5",width:"600px","destroy-on-close":"",onClose:t[10]||(t[10]=o=>R.value=!1)},{default:l(()=>[s(ee,{column:K,data:H.value,pagination:!1},null,8,["data"])]),_:1},8,["model-value"]),s(pe,{visible:g.unitVisible,"show-checkbox":g.showCheckbox,"default-data":g.data,params:{onlyUnit:!0},onClose:J,onGetSelectUnit:j},null,8,["visible","show-checkbox","default-data"])],64)}}}),Ae=re(me,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/systemManage/flowConfiguration/configEdit/components/approvalDialog.vue"]]);export{Ae as default}; diff --git a/lishui2/web/dist/assets/approvalInfo.3f4af312.js b/lishui2/web/dist/assets/approvalInfo.3f4af312.js new file mode 100644 index 0000000..b1e097a --- /dev/null +++ b/lishui2/web/dist/assets/approvalInfo.3f4af312.js @@ -0,0 +1 @@ +var _=(e,D,n)=>new Promise((p,c)=>{var b=a=>{try{d(n.next(a))}catch(s){c(s)}},m=a=>{try{d(n.throw(a))}catch(s){c(s)}},d=a=>a.done?p(a.value):Promise.resolve(a.value).then(b,m);d((n=n.apply(e,D)).next())});import{_ as C,d as w,r as k,e as u,f as y,g as f,k as l,l as i,m as v,t as r,h as x,i as j,F,J as B}from"./index.096886c6.js";import{A as g}from"./index.e0e52f0f.js";import{d as O}from"./projectStore.75f32f73.js";const S={class:"text-danger mr-4"},M=w({name:"approvalInfo"}),V=Object.assign(M,{props:{detailData:Object},setup(e){const D=e,n=k(!1),p=k([]),c=[{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"}],b=()=>_(this,null,function*(){const m=yield O(D.detailData.id);n.value=!0,p.value=m.data});return(m,d)=>{const a=u("el-descriptions-item"),s=u("el-descriptions"),A=u("table-list"),h=u("el-dialog");return y(),f(F,null,[l(s,{column:2,border:""},{default:i(()=>[l(a,{label:"\u5EFA\u8BAE\u6279\u590D\u603B\u6295\u8D44\uFF08\u4E07\u5143\uFF09"},{default:i(()=>[v(r(e.detailData.approvalAmount||"-"),1)]),_:1}),l(a,{label:"\u6279\u590D\u65F6\u95F4"},{default:i(()=>[v(r(e.detailData.approvalDate||"-"),1)]),_:1}),l(a,{label:"\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97\uFF08\u4E07\u5143\uFF09"},{default:i(()=>[v(r(e.detailData.approvalBudget||"-"),1)]),_:1}),l(a,{label:"\u6279\u590D\u5468\u671F"},{default:i(()=>[v(r(e.detailData.originBuildCycle||"-")+"\u4E2A\u6708 ",1),x("span",S,r(e.detailData.applyDelayMonths?`\u5EF6\u671F${e.detailData.applyDelayMonths}\u4E2A\u6708`:""),1),e.detailData.applyDelayMonths?(y(),f("a",{key:0,onClick:b},"\u8BE6\u60C5")):j("v-if",!0)]),_:1}),l(a,{label:"\u6279\u590D\u6587\u4EF6"},{default:i(()=>{var o,t;return[l(g,{"file-name":(o=e.detailData)==null?void 0:o.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:i(()=>{var o,t;return[l(g,{"file-name":(o=e.detailData)==null?void 0:o.approvedConstructionPlanFileName,"file-id":Number((t=e.detailData)==null?void 0:t.approvedConstructionPlanFile)},null,8,["file-name","file-id"])]}),_:1})]),_:1}),l(h,{"model-value":n.value,title:"\u5EF6\u671F\u4FE1\u606F",width:"60%",onClose:d[0]||(d[0]=o=>n.value=!1)},{default:i(()=>[l(A,{data:p.value,column:c,pagination:!1},{delayApplyFile:i(({scope:o})=>[(y(!0),f(F,null,B(o.row.delayApplyFile&&JSON.parse(o.row.delayApplyFile),(t,N)=>(y(),f("p",{key:N},[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)}}}),P=C(V,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/approvalInfo.vue"]]);export{P as default}; diff --git a/lishui2/web/dist/assets/approvalInfo.ceccbe02.js b/lishui2/web/dist/assets/approvalInfo.ceccbe02.js deleted file mode 100644 index 4650326..0000000 --- a/lishui2/web/dist/assets/approvalInfo.ceccbe02.js +++ /dev/null @@ -1 +0,0 @@ -var _=(e,D,n)=>new Promise((p,c)=>{var b=a=>{try{d(n.next(a))}catch(s){c(s)}},m=a=>{try{d(n.throw(a))}catch(s){c(s)}},d=a=>a.done?p(a.value):Promise.resolve(a.value).then(b,m);d((n=n.apply(e,D)).next())});import{_ as w,d as C,r as F,e as u,f as y,g as f,k as l,l as i,m as v,t as r,h as x,i as j,F as k,J as B}from"./index.11dc4694.js";import{A as g}from"./index.3731dd96.js";import{d as M}from"./projectStore.913d3819.js";const O={class:"text-danger mr-4"},S=C({name:"approvalInfo"}),V=Object.assign(S,{props:{detailData:Object},setup(e){const D=e,n=F(!1),p=F([]),c=[{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"}],b=()=>_(this,null,function*(){const m=yield M(D.detailData.id);n.value=!0,p.value=m.data});return(m,d)=>{const a=u("el-descriptions-item"),s=u("el-descriptions"),A=u("table-list"),N=u("el-dialog");return y(),f(k,null,[l(s,{column:2,border:""},{default:i(()=>[l(a,{label:"\u5EFA\u8BAE\u6279\u590D\u603B\u6295\u8D44\uFF08\u4E07\u5143\uFF09"},{default:i(()=>[v(r(e.detailData.approvalAmount||"-"),1)]),_:1}),l(a,{label:"\u6279\u590D\u65F6\u95F4"},{default:i(()=>[v(r(e.detailData.approvalDate||"-"),1)]),_:1}),l(a,{label:"\u5EFA\u8BAE\u6279\u590D\u5E74\u5EA6\u9884\u7B97\uFF08\u4E07\u5143\uFF09"},{default:i(()=>[v(r(e.detailData.approvalBudget||"-"),1)]),_:1}),l(a,{label:"\u6279\u590D\u5468\u671F"},{default:i(()=>[v(r(e.detailData.originBuildCycle||"-")+"\u4E2A\u6708 ",1),x("span",O,r(e.detailData.applyDelayMonths?`\u5EF6\u671F${e.detailData.applyDelayMonths}\u4E2A\u6708`:""),1),e.detailData.applyDelayMonths?(y(),f("a",{key:0,onClick:b},"\u8BE6\u60C5")):j("v-if",!0)]),_:1}),l(a,{label:"\u6279\u590D\u6587\u4EF6"},{default:i(()=>{var o,t;return[l(g,{"file-name":(o=e.detailData)==null?void 0:o.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:i(()=>{var o,t;return[l(g,{"file-name":(o=e.detailData)==null?void 0:o.approvedConstructionPlanFileName,"file-id":Number((t=e.detailData)==null?void 0:t.approvedConstructionPlanFile)},null,8,["file-name","file-id"])]}),_:1})]),_:1}),l(N,{"model-value":n.value,title:"\u5EF6\u671F\u4FE1\u606F",width:"60%",onClose:d[0]||(d[0]=o=>n.value=!1)},{default:i(()=>[l(A,{data:p.value,column:c,pagination:!1},{delayApplyFile:i(({scope:o})=>[(y(!0),f(k,null,B(o.row.delayApplyFile&&JSON.parse(o.row.delayApplyFile),(t,h)=>(y(),f("p",{key:h},[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)}}}),L=w(V,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/approvalInfo.vue"]]);export{L as default}; diff --git a/lishui2/web/dist/assets/auditDialog.0e0af3f6.js b/lishui2/web/dist/assets/auditDialog.babf1bea.js similarity index 52% rename from lishui2/web/dist/assets/auditDialog.0e0af3f6.js rename to lishui2/web/dist/assets/auditDialog.babf1bea.js index cb1d472..8f791a9 100644 --- a/lishui2/web/dist/assets/auditDialog.0e0af3f6.js +++ b/lishui2/web/dist/assets/auditDialog.babf1bea.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 D=(l,i,n)=>i in l?G(l,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[i]=n,q=(l,i)=>{for(var n in i||(i={}))Z.call(i,n)&&D(l,n,i[n]);if(T)for(var n of T(i))ee.call(i,n)&&D(l,n,i[n]);return l},$=(l,i)=>Q(l,X(i));var C=(l,i,n)=>new Promise((w,v)=>{var h=p=>{try{c(n.next(p))}catch(t){v(t)}},u=p=>{try{c(n.throw(p))}catch(t){v(t)}},c=p=>p.done?w(p.value):Promise.resolve(p.value).then(h,u);c((n=n.apply(l,i)).next())});import{_ as te,d as oe,u as ae,A as le,D as N,r as P,L as se,e as d,f as x,I as ne,l as e,h as b,k as o,m as f,g as k,i as j,F as ie,Y as U,j as r,t as R,ao as re,ai as ue,p as pe}from"./index.11dc4694.js";import{h as M,i as L,f as O,c as F,b as E,e as J,g as de}from"./uploadAction.c865409e.js";const ce={key:0,class:"infoTip flex items-center mb-16"},me=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),fe={key:1,class:"infoTip flex items-center mb-16"},ve=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),_e={class:"el-upload__tip"},ge={class:"el-upload__tip"},ye={class:"flex justify-center"},be=oe({name:"auditDialog"}),we=Object.assign(be,{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},defalutComment:{type:String,default:""}},emits:["close","reload"],setup(l,{emit:i}){const n=ae(),w=le(),{proxy:v}=pe(),h=N.dictStore.uploadUrl,u=l,c=i,p=P(),t=P({attachments:[],comment:u.defalutComment}),K={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"}]},W=_=>C(this,null,function*(){!_||(yield _.validate(s=>C(this,null,function*(){if(s){const S={instanceId:n.query.instanceId,projectId:n.query.projectId,projectCode:u.projectCode,taskId:u.taskId,action:u.action,auditInfo:{text:t.value.comment,attachments:t.value.attachments.map(I=>({fileId:I.response.data.id,fileName:I.response.data.originalFileName}))}};u.constructionSuggestions&&u.action==="PASS"&&(yield re({projectCode:u.projectCode,instanceId:n.query.instanceId,proposeTotalInvest:t.value.proposeTotalInvest,proposeAnnualBudget:t.value.proposeAnnualBudget,proposeAttachFiles:t.value.proposeAttachFiles&&JSON.stringify(de(t.value.proposeAttachFiles))}));const m=yield ue(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:$(q({},n.query),{taskId:m.data})}),c("close",!0),c("reload",m.data),yield N.countStore.setCountStore())}})))});return se(()=>u.visible,_=>C(this,null,function*(){_?t.value.comment=u.defalutComment||"":(p.value.resetFields(),t.value={})})),(_,s)=>{const S=d("Warning"),m=d("el-icon"),I=d("el-input"),g=d("el-form-item"),y=d("el-col"),V=d("el-input-number"),A=d("el-button"),B=d("el-upload"),H=d("el-row"),Y=d("el-form"),z=d("el-dialog");return x(),ne(z,{"model-value":l.visible,title:l.title,width:"600px","destroy-on-close":"",onClose:s[9]||(s[9]=a=>c("close"))},{footer:e(()=>[b("div",ye,[o(A,{class:"ml-22",type:"primary",onClick:s[7]||(s[7]=a=>W(p.value))},{default:e(()=>[f(" \u63D0\u4EA4 ")]),_:1}),o(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",ce,[o(m,{class:"mr-8"},{default:e(()=>[o(S)]),_:1}),me])):j("v-if",!0),l.title==="\u9000\u56DE"?(x(),k("div",fe,[o(m,{class:"mr-8"},{default:e(()=>[o(S)]),_:1}),ve])):j("v-if",!0),o(Y,{ref_key:"formRef",ref:p,model:t.value,rules:K,"label-width":"auto","label-suffix":":"},{default:e(()=>[o(H,null,{default:e(()=>[o(y,{span:24},{default:e(()=>[o(g,{label:`${l.title}\u610F\u89C1`,prop:"comment"},{default:e(()=>[o(I,{modelValue:t.value.comment,"onUpdate:modelValue":s[0]||(s[0]=a=>t.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(ie,{key:0},[o(y,{span:24},{default:e(()=>[o(g,{label:"\u5EFA\u8BAE\u603B\u6295\u8D44",prop:"proposeTotalInvest"},{default:e(()=>[o(V,{modelValue:t.value.proposeTotalInvest,"onUpdate:modelValue":s[1]||(s[1]=a=>t.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}),o(y,{span:24},{default:e(()=>[o(g,{label:"\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97",prop:"proposeAnnualBudget"},{default:e(()=>[o(V,{modelValue:t.value.proposeAnnualBudget,"onUpdate:modelValue":s[3]||(s[3]=a=>t.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}),o(y,{span:24},{default:e(()=>[o(g,{label:"\u8BC4\u5BA1\u610F\u89C1\u9644\u4EF6",prop:"proposeAttachFiles"},{default:e(()=>[o(B,{"file-list":t.value.proposeAttachFiles,"onUpdate:fileList":s[5]||(s[5]=a=>t.value.proposeAttachFiles=a),class:"w-full",action:r(h),"on-success":a=>r(M)(a,t.value.proposeAttachFiles),"on-error":r(L),"before-upload":a=>r(O)(a,{types:r(F)}),accept:r(F).map(a=>`.${a}`).join(","),multiple:"",limit:10,"on-preview":r(E)},{tip:e(()=>[b("div",_e,"\u652F\u6301"+R(r(J))+"\u6587\u4EF6",1)]),default:e(()=>[o(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)):j("v-if",!0),o(y,{span:24},{default:e(()=>[o(g,{label:`${l.constructionSuggestions&&l.action==="PASS"?"\u5176\u4ED6\u9644\u4EF6":"\u9644\u4EF6"}`,prop:"files"},{default:e(()=>[o(B,{"file-list":t.value.attachments,"onUpdate:fileList":s[6]||(s[6]=a=>t.value.attachments=a),class:"w-full",action:r(h),"on-success":a=>r(M)(a,t.value.attachments),"on-error":r(L),"before-upload":a=>r(O)(a,{types:r(F)}),accept:r(F).map(a=>`.${a}`).join(","),multiple:"",limit:10,"on-preview":r(E)},{tip:e(()=>[b("div",ge,"\u652F\u6301"+R(r(J))+"\u6587\u4EF6",1)]),default:e(()=>[o(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"])}}}),Ae=te(we,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/toDoCenter/components/auditDialog.vue"]]);export{Ae 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,D=(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},$=(l,i)=>Q(l,X(i));var C=(l,i,n)=>new Promise((h,v)=>{var w=p=>{try{c(n.next(p))}catch(t){v(t)}},u=p=>{try{c(n.throw(p))}catch(t){v(t)}},c=p=>p.done?h(p.value):Promise.resolve(p.value).then(w,u);c((n=n.apply(l,i)).next())});import{_ as te,d as oe,u as ae,A as le,D as U,r as N,L as se,e as d,f as F,I as ne,l as e,h as b,k as o,m as f,g as x,i as V,F as ie,Y as P,j as r,t as R,ao as re,ai as ue,p as pe}from"./index.096886c6.js";import{h as M,i as L,f as O,c as k,b as W,e as E,g as de}from"./uploadAction.03c39815.js";const ce={key:0,class:"infoTip flex items-center mb-16"},me=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),fe={key:1,class:"infoTip flex items-center mb-16"},ve=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),ge={class:"el-upload__tip"},_e={class:"el-upload__tip"},ye={class:"flex justify-center"},be=oe({name:"auditDialog"}),he=Object.assign(be,{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},defalutComment:{type:String,default:""}},emits:["close","reload"],setup(l,{emit:i}){const n=ae(),h=le(),{proxy:v}=pe(),w=U.dictStore.uploadUrl,u=l,c=i,p=N(),t=N({attachments:[],comment:u.defalutComment}),H={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"}]},J=g=>C(this,null,function*(){!g||(yield g.validate(s=>C(this,null,function*(){if(s){const S={instanceId:n.query.instanceId,projectId:n.query.projectId,projectCode:u.projectCode,taskId:u.taskId,action:u.action,auditInfo:{text:t.value.comment,attachments:t.value.attachments.map(I=>({fileId:I.response.data.id,fileName:I.response.data.originalFileName}))}};u.constructionSuggestions&&u.action==="PASS"&&(yield re({projectCode:u.projectCode,instanceId:n.query.instanceId,proposeTotalInvest:t.value.proposeTotalInvest,proposeAnnualBudget:t.value.proposeAnnualBudget,proposeAttachFiles:t.value.proposeAttachFiles&&JSON.stringify(de(t.value.proposeAttachFiles))}));const m=yield ue(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"),h.push({name:"waitMeToHandle"})):(v.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),m.data&&h.push({query:$(D({},n.query),{taskId:m.data})}),c("close",!0),c("reload",m.data),yield U.countStore.setCountStore())}})))});return se(()=>u.visible,g=>C(this,null,function*(){g?t.value.comment=u.defalutComment||"":(p.value.resetFields(),t.value={})})),(g,s)=>{const S=d("Warning"),m=d("el-icon"),I=d("el-input"),_=d("el-form-item"),y=d("el-col"),j=d("el-input-number"),A=d("el-button"),B=d("el-upload"),K=d("el-row"),Y=d("el-form"),z=d("el-dialog");return F(),ne(z,{"model-value":l.visible,title:l.title,width:"600px","destroy-on-close":"",onClose:s[9]||(s[9]=a=>c("close"))},{footer:e(()=>[b("div",ye,[o(A,{class:"ml-22",type:"primary",onClick:s[7]||(s[7]=a=>J(p.value))},{default:e(()=>[f(" \u63D0\u4EA4 ")]),_:1}),o(A,{onClick:s[8]||(s[8]=a=>c("close"))},{default:e(()=>[f(" \u5173\u95ED ")]),_:1})])]),default:e(()=>[l.title==="\u9A73\u56DE"&&!l.isPerformance?(F(),x("div",ce,[o(m,{class:"mr-8"},{default:e(()=>[o(S)]),_:1}),me])):V("v-if",!0),l.title==="\u9000\u56DE"?(F(),x("div",fe,[o(m,{class:"mr-8"},{default:e(()=>[o(S)]),_:1}),ve])):V("v-if",!0),o(Y,{ref_key:"formRef",ref:p,model:t.value,rules:H,"label-width":"auto","label-suffix":":"},{default:e(()=>[o(K,null,{default:e(()=>[o(y,{span:24},{default:e(()=>[o(_,{label:`${l.title}\u610F\u89C1`,prop:"comment"},{default:e(()=>[o(I,{modelValue:t.value.comment,"onUpdate:modelValue":s[0]||(s[0]=a=>t.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"?(F(),x(ie,{key:0},[o(y,{span:24},{default:e(()=>[o(_,{label:"\u5EFA\u8BAE\u603B\u6295\u8D44",prop:"proposeTotalInvest"},{default:e(()=>[o(j,{modelValue:t.value.proposeTotalInvest,"onUpdate:modelValue":s[1]||(s[1]=a=>t.value.proposeTotalInvest=a),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:s[2]||(s[2]=P(()=>{},["prevent"]))},{suffix:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),o(y,{span:24},{default:e(()=>[o(_,{label:"\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97",prop:"proposeAnnualBudget"},{default:e(()=>[o(j,{modelValue:t.value.proposeAnnualBudget,"onUpdate:modelValue":s[3]||(s[3]=a=>t.value.proposeAnnualBudget=a),class:"input-amount",placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:s[4]||(s[4]=P(()=>{},["prevent"]))},{suffix:e(()=>[f("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),o(y,{span:24},{default:e(()=>[o(_,{label:"\u8BC4\u5BA1\u610F\u89C1\u9644\u4EF6",prop:"proposeAttachFiles"},{default:e(()=>[o(B,{"file-list":t.value.proposeAttachFiles,"onUpdate:fileList":s[5]||(s[5]=a=>t.value.proposeAttachFiles=a),class:"w-full",action:r(w),"on-success":a=>r(M)(a,t.value.proposeAttachFiles),"on-error":r(L),"before-upload":a=>r(O)(a,{types:r(k)}),accept:r(k).map(a=>`.${a}`).join(","),multiple:"",limit:10,"on-preview":r(W)},{tip:e(()=>[b("div",ge,"\u652F\u6301"+R(r(E))+"\u6587\u4EF6",1)]),default:e(()=>[o(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("v-if",!0),o(y,{span:24},{default:e(()=>[o(_,{label:`${l.constructionSuggestions&&l.action==="PASS"?"\u5176\u4ED6\u9644\u4EF6":"\u9644\u4EF6"}`,prop:"files"},{default:e(()=>[o(B,{"file-list":t.value.attachments,"onUpdate:fileList":s[6]||(s[6]=a=>t.value.attachments=a),class:"w-full",action:r(w),"on-success":a=>r(M)(a,t.value.attachments),"on-error":r(L),"before-upload":a=>r(O)(a,{types:r(k)}),accept:r(k).map(a=>`.${a}`).join(","),multiple:"",limit:10,"on-preview":r(W)},{tip:e(()=>[b("div",_e,"\u652F\u6301"+R(r(E))+"\u6587\u4EF6",1)]),default:e(()=>[o(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"])}}}),Ae=te(he,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/toDoCenter/components/auditDialog.vue"]]);export{Ae as default}; diff --git a/lishui2/web/dist/assets/auth.24645a74.js b/lishui2/web/dist/assets/auth.2832984f.js similarity index 83% rename from lishui2/web/dist/assets/auth.24645a74.js rename to lishui2/web/dist/assets/auth.2832984f.js index 7d1016f..4ad470c 100644 --- a/lishui2/web/dist/assets/auth.24645a74.js +++ b/lishui2/web/dist/assets/auth.2832984f.js @@ -1 +1 @@ -import{z as i}from"./index.11dc4694.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{z as i}from"./index.096886c6.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.019f480a.js b/lishui2/web/dist/assets/basicInfo.292dc2e1.js similarity index 81% rename from lishui2/web/dist/assets/basicInfo.019f480a.js rename to lishui2/web/dist/assets/basicInfo.292dc2e1.js index 9396f4b..bea6cc6 100644 --- a/lishui2/web/dist/assets/basicInfo.019f480a.js +++ b/lishui2/web/dist/assets/basicInfo.292dc2e1.js @@ -1 +1 @@ -var ve=Object.defineProperty,ce=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,ye=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(z)for(var n of z(p))ye.call(p,n)&&Q(m,n,p[n]);return m},K=(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{_ as Ce,d as ge,D as Y,G as De,r as _,O as Ve,b as $,o as je,H as ke,L as A,e as b,f as c,g as j,k as l,l as o,h as Ue,I as C,F as k,J as w,i as W,j as Te,m as N,t as X,a1 as Me}from"./index.11dc4694.js";import{O as Be}from"./index.83c11d37.js";import xe from"./userDialog.3837d700.js";import we from"./lineOrgDialog.b37dec7e.js";import{a as Ne}from"./indicatorTemplate.96eacb73.js";import"./unitManage.315d6884.js";import"./index.f58f6803.js";const qe={class:"flex items-center"},Ie=ge({name:"projectCollectionEnterBasicInfo"}),Se=Object.assign(Ie,{props:{detail:{type:Object},dictionaryList:{type:Array,default:()=>[]}},emits:["getBasicInfoData"],setup(m,{expose:p,emit:n}){const{projectOpeOptions:q}=Y.dictStore.globalDicts||{},U=m,I=De(Y.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=Ve(()=>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 Me(a||I.value.empPosUnitCode);S.value[r]=!!v.data.unifiedSocialCreditCode,e.value[r]=v.data.unifiedSocialCreditCode||e.value[r]}),ee=_([]),s=$({field:void 0,unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),L=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=$({visible:!1,params:{}}),E=_(),F=_(),M=(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=""},y=$({visible:!1,data:void 0}),re=()=>{y.visible=!0,y.data={businessStripCode:e.value.baseProvManDeprtDing}},se=r=>{e.value.baseProvManDeprtDing=r.businessStripCode,e.value.baseProvManDeprt=r.businessStripName,y.visible=!1},ne=n,h=_(),ue=()=>x(this,null,function*(){var a;const r=yield Ne({pageNumber:1,pageSize:1e4});h.value=((a=r==null?void 0:r.data)==null?void 0:a.records)||[]});return p({formRef:g,formData:e}),je(()=>x(this,null,function*(){ue();const r=yield ke({regionCode:331100,regionLevel:2});ee.value=r.data})),A(()=>U.detail,r=>{var a,v,B;r&&(e.value=K(H({},r.baseinfo),{baseProjIsConfidentiality:"01",baseProvManDeprtType:((a=r.baseinfo)==null?void 0:a.baseProvManDeprtType)+""||"",baseConstructionType:((B=(v=r.baseinfo)==null?void 0:v.baseConstructionType)==null?void 0:B.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"),B=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"),O=b("el-radio"),J=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(()=>[Ue("div",qe,[l(ie,{class:"cursor-pointer"},{default:o(()=>[l(B)]),_:1})])]),_:1})]),_:1})]),_:1}),W("v-if",!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(Te(q),(t,d)=>(c(),C(R,{key:d,label:t,value:d},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),W("v-if",!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(),C(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(),C(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(J,{modelValue:e.value.baseProvManDeprtType,"onUpdate:modelValue":a[7]||(a[7]=t=>e.value.baseProvManDeprtType=t),onChange:oe},{default:o(()=>[l(O,{label:"1"},{default:o(()=>[N("\u7701\u7EA7")]),_:1}),l(O,{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(),C(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=>L("baseProvManDeprt"))},null,8,["modelValue"])):(c(),C(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=>L("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=>L("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=>M("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=>M("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=>M("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=>M("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(J,{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(),C(O,{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(xe,{visible:T.visible,params:T.params,onClose:a[27]||(a[27]=t=>T.visible=!1),onGetUserData:te},null,8,["visible","params"]),l(we,{visible:y.visible,data:y.data,onClose:a[28]||(a[28]=t=>y.visible=!1),onGetBaseProvManDeprt:se},null,8,["visible","data"])],64)}}}),Ge=Ce(Se,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/basicInfo.vue"]]);export{Ge as default}; +var ve=Object.defineProperty,ce=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var _e=Object.prototype.hasOwnProperty,ge=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))ge.call(p,n)&&Q(m,n,p[n]);return m},W=(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)}},y=P=>{try{e(n.throw(P))}catch(D){U(D)}},e=P=>P.done?q(P.value):Promise.resolve(P.value).then(I,y);e((n=n.apply(m,p)).next())});import{_ as Ce,d as ye,D as Y,G as De,r as _,O as Ve,b as $,o as je,H as ke,L as A,e as b,f as c,g as j,k as l,l as o,h as Ue,I as C,F as k,J as w,i as K,j as Te,m as N,t as X,a1 as Be}from"./index.096886c6.js";import{O as Me}from"./index.df40608b.js";import xe from"./userDialog.474d5aae.js";import we from"./lineOrgDialog.b773fab1.js";import{a as Ne}from"./indicatorTemplate.fe106224.js";import"./unitManage.e1672486.js";import"./index.a82aa709.js";const qe={class:"flex items-center"},Ie=ye({name:"projectCollectionEnterBasicInfo"}),Se=Object.assign(Ie,{props:{detail:{type:Object},dictionaryList:{type:Array,default:()=>[]}},emits:["getBasicInfoData"],setup(m,{expose:p,emit:n}){const{projectOpeOptions:q}=Y.dictStore.globalDicts||{},U=m,I=De(Y.userStore).userInfo||{},y=_(),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=Ve(()=>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 Be(a||I.value.empPosUnitCode);S.value[r]=!!v.data.unifiedSocialCreditCode,e.value[r]=v.data.unifiedSocialCreditCode||e.value[r]}),ee=_([]),s=$({field:void 0,unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),L=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=$({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=""},g=$({visible:!1,data:void 0}),re=()=>{g.visible=!0,g.data={businessStripCode:e.value.baseProvManDeprtDing}},se=r=>{e.value.baseProvManDeprtDing=r.businessStripCode,e.value.baseProvManDeprt=r.businessStripName,g.visible=!1},ne=n,h=_(),ue=()=>x(this,null,function*(){var a;const r=yield Ne({pageNumber:1,pageSize:1e4});h.value=((a=r==null?void 0:r.data)==null?void 0:a.records)||[]});return p({formRef:y,formData:e}),je(()=>x(this,null,function*(){ue();const r=yield ke({regionCode:331100,regionLevel:2});ee.value=r.data})),A(()=>U.detail,r=>{var a,v,M;r&&(e.value=W(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=>{y.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"),O=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:y,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(()=>[Ue("div",qe,[l(ie,{class:"cursor-pointer"},{default:o(()=>[l(M)]),_:1})])]),_:1})]),_:1})]),_:1}),K("v-if",!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(Te(q),(t,d)=>(c(),C(R,{key:d,label:t,value:d},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),K("v-if",!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(),C(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(),C(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(O,{label:"1"},{default:o(()=>[N("\u7701\u7EA7")]),_:1}),l(O,{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(),C(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=>L("baseProvManDeprt"))},null,8,["modelValue"])):(c(),C(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=>L("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=>L("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(),C(O,{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(Me,{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(xe,{visible:T.visible,params:T.params,onClose:a[27]||(a[27]=t=>T.visible=!1),onGetUserData:te},null,8,["visible","params"]),l(we,{visible:g.visible,data:g.data,onClose:a[28]||(a[28]=t=>g.visible=!1),onGetBaseProvManDeprt:se},null,8,["visible","data"])],64)}}}),Ge=Ce(Se,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/basicInfo.vue"]]);export{Ge as default}; diff --git a/lishui2/web/dist/assets/basicInfo.ee5a56a5.js b/lishui2/web/dist/assets/basicInfo.4c6a1f8d.js similarity index 81% rename from lishui2/web/dist/assets/basicInfo.ee5a56a5.js rename to lishui2/web/dist/assets/basicInfo.4c6a1f8d.js index f0f5231..b04d77c 100644 --- a/lishui2/web/dist/assets/basicInfo.ee5a56a5.js +++ b/lishui2/web/dist/assets/basicInfo.4c6a1f8d.js @@ -1 +1 @@ -var z=(e,b,g)=>new Promise((I,F)=>{var P=r=>{try{w(g.next(r))}catch(j){F(j)}},p=r=>{try{w(g.throw(r))}catch(j){F(j)}},w=r=>r.done?I(r.value):Promise.resolve(r.value).then(P,p);w((g=g.apply(e,b)).next())});import{_ as $,d as q,D as G,b as H,r as A,L as Q,e as J,f as u,I as D,l as a,k as t,m as n,t as d,j as N,g as c,F as v,i as y,h as R,J as M}from"./index.11dc4694.js";import{A as C}from"./index.3731dd96.js";import{t as X}from"./indicatorTemplate.96eacb73.js";const Z={style:{"word-break":"break-all"}},_={style:{"word-break":"break-all"}},ee={style:{"word-break":"break-all"}},ae=q({name:"basicInfo"}),le=Object.assign(ae,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e){const b=e,{statusOptions:g,cloudTypeOptions:I,fourSystem:F,businessTerritory:P,projectTypeOptions:p}=G.dictStore.globalDicts||{},w=H([{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=H([{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"}],V=A([]),K=A(),Y=A(),W=()=>z(this,null,function*(){const O=yield X();Y.value=O.data});return Q(()=>b.detailData,O=>{var x,l,m;O&&(W(),V.value=(m=(l=(x=b.detailData)==null?void 0:x.baseProjBasis)==null?void 0:l.split("\uFF1B"))==null?void 0:m.map((B,T)=>{var k,L,h,i,s;const S=`[${(k=b.detailData)==null?void 0:k.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(i=(h=(L=b.dictionaryList)==null?void 0:L.filter(o=>o.type==="PROJECT_BASIS"))==null?void 0:h.find(o=>o.value===B))==null?void 0:i.label,fileList:(s=b.detailData)!=null&&s.baseProjBasisFile?JSON.parse(S)[T]:[],value:B}}))}),(O,x)=>{const l=J("el-descriptions-item"),m=J("table-list"),B=J("el-descriptions");return u(),D(B,{column:2,border:""},{default:a(()=>{var T,S,k,L,h;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(p)[(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,U;return(U=(f=e.dictionaryList)==null?void 0:f.filter(E=>E.type==="CONTENT_TYPE").find(E=>E.value===o))==null?void 0:U.label}).join("\u3001"))||"-"),1)]}),_:1}),((T=e.detailData)==null?void 0:T.baseProjIsConfidentiality)!=="02"?(u(),c(v,{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("v-if",!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}),((S=e.detailData)==null?void 0:S.baseProjIsConfidentiality)!=="02"?(u(),c(v,{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(()=>[R("span",Z,d(e.detailData.systemPosition||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u7B80\u4ECB",span:"2"},{default:a(()=>[R("span",_,d(e.detailData.projectIntroduction||"-"),1)]),_:1}),e.detailData.buildBasis&&((k=JSON.parse(e.detailData.buildBasis))==null?void 0:k.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),c(v,null,M(i.row.fileList,(s,o)=>(u(),c("p",{key:o,class:"mb-4"},[t(C,{"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:K,pagination:!1,style:{width:"100%"},column:w,data:V.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),c(v,null,M(i.row.fileList,(s,o)=>(u(),c("p",{key:o,class:"mb-4"},[t(C,{"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(()=>[R("span",ee,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("v-if",!0),t(l,{label:"\u56DB\u5927\u4F53\u7CFB"},{default:a(()=>[n(d(N(F)[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:j,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}),((L=e.detailData)==null?void 0:L.projectApplicationForm)&&((h=JSON.parse(e.detailData.projectApplicationForm))==null?void 0:h.length)?(u(),D(l,{key:3,label:"\u9879\u76EE\u7533\u62A5\u4E66"},{default:a(()=>[(u(!0),c(v,null,M(e.detailData.projectApplicationForm&&JSON.parse(e.detailData.projectApplicationForm),(i,s)=>(u(),c("p",{key:s,class:"mb-4"},[t(C,{"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("v-if",!0),e.detailData.pretrialFileId?(u(),D(l,{key:4,label:"\u9884\u5BA1\u7533\u8BF7\u5355",span:"2"},{default:a(()=>[t(C,{"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("v-if",!0),y("v-if",!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(C,{"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("v-if",!0)],64)):y("v-if",!0)]}),_:1})}}}),se=$(le,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/basicInfo.vue"]]);export{se as default}; +var W=(e,b,g)=>new Promise((I,F)=>{var P=r=>{try{w(g.next(r))}catch(k){F(k)}},p=r=>{try{w(g.throw(r))}catch(k){F(k)}},w=r=>r.done?I(r.value):Promise.resolve(r.value).then(P,p);w((g=g.apply(e,b)).next())});import{_ as q,d as G,D as K,b as z,r as A,L as Q,e as J,f as u,I as D,l as a,k as t,m as n,t as d,j as N,g as c,F as v,i as y,h as R,J as V}from"./index.096886c6.js";import{A as C}from"./index.e0e52f0f.js";import{t as X}from"./indicatorTemplate.fe106224.js";const Z={style:{"word-break":"break-all"}},_={style:{"word-break":"break-all"}},ee={style:{"word-break":"break-all"}},ae=G({name:"basicInfo"}),le=Object.assign(ae,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e){const b=e,{statusOptions:g,cloudTypeOptions:I,fourSystem:F,businessTerritory:P,projectTypeOptions:p}=K.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=A([]),H=A(),Y=A(),$=()=>W(this,null,function*(){const O=yield X();Y.value=O.data});return Q(()=>b.detailData,O=>{var E,l,m;O&&($(),M.value=(m=(l=(E=b.detailData)==null?void 0:E.baseProjBasis)==null?void 0:l.split("\uFF1B"))==null?void 0:m.map((B,S)=>{var j,L,h,i,s;const T=`[${(j=b.detailData)==null?void 0:j.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(i=(h=(L=b.dictionaryList)==null?void 0:L.filter(o=>o.type==="PROJECT_BASIS"))==null?void 0:h.find(o=>o.value===B))==null?void 0:i.label,fileList:(s=b.detailData)!=null&&s.baseProjBasisFile?JSON.parse(T)[S]:[],value:B}}))}),(O,E)=>{const l=J("el-descriptions-item"),m=J("table-list"),B=J("el-descriptions");return u(),D(B,{column:2,border:""},{default:a(()=>{var S,T,j,L,h;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(p)[(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,U;return(U=(f=e.dictionaryList)==null?void 0:f.filter(x=>x.type==="CONTENT_TYPE").find(x=>x.value===o))==null?void 0:U.label}).join("\u3001"))||"-"),1)]}),_:1}),((S=e.detailData)==null?void 0:S.baseProjIsConfidentiality)!=="02"?(u(),c(v,{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("v-if",!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}),((T=e.detailData)==null?void 0:T.baseProjIsConfidentiality)!=="02"?(u(),c(v,{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(()=>[R("span",Z,d(e.detailData.systemPosition||"-"),1)]),_:1}),t(l,{label:"\u9879\u76EE\u7B80\u4ECB",span:"2"},{default:a(()=>[R("span",_,d(e.detailData.projectIntroduction||"-"),1)]),_:1}),e.detailData.buildBasis&&((j=JSON.parse(e.detailData.buildBasis))==null?void 0:j.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),c(v,null,V(i.row.fileList,(s,o)=>(u(),c("p",{key:o,class:"mb-4"},[t(C,{"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),c(v,null,V(i.row.fileList,(s,o)=>(u(),c("p",{key:o,class:"mb-4"},[t(C,{"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(()=>[R("span",ee,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("v-if",!0),t(l,{label:"\u56DB\u5927\u4F53\u7CFB"},{default:a(()=>[n(d(N(F)[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}),((L=e.detailData)==null?void 0:L.projectApplicationForm)&&((h=JSON.parse(e.detailData.projectApplicationForm))==null?void 0:h.length)?(u(),D(l,{key:3,label:"\u9879\u76EE\u7533\u62A5\u4E66"},{default:a(()=>[(u(!0),c(v,null,V(e.detailData.projectApplicationForm&&JSON.parse(e.detailData.projectApplicationForm),(i,s)=>(u(),c("p",{key:s,class:"mb-4"},[t(C,{"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("v-if",!0),e.detailData.pretrialFileId?(u(),D(l,{key:4,label:"\u9884\u5BA1\u7533\u8BF7\u5355",span:"2"},{default:a(()=>[t(C,{"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("v-if",!0),y("v-if",!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(C,{"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("v-if",!0)],64)):y("v-if",!0)]}),_:1})}}}),se=q(le,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/basicInfo.vue"]]);export{se as default}; diff --git a/lishui2/web/dist/assets/basicInfo.6d75797c.js b/lishui2/web/dist/assets/basicInfo.6d75797c.js new file mode 100644 index 0000000..439456c --- /dev/null +++ b/lishui2/web/dist/assets/basicInfo.6d75797c.js @@ -0,0 +1 @@ +import{_ as y,d as p,D as P,e as u,f as j,I as T,l as t,i as o,k as i,m as s,t as n,j as C}from"./index.096886c6.js";const v=p({name:"basicInfo"}),S=Object.assign(v,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(e){const{projectTypeOptions:D}=P.dictStore.globalDicts||{};return(g,I)=>{const l=u("el-descriptions-item"),m=u("el-descriptions");return j(),T(m,{column:2,border:""},{default:t(()=>[o(' '),o(" {{ dictionaryList?.filter(i => i.type === 'CLASSIFIED').find(i=>i.value===detailData?.baseProjIsConfidentiality)?.label ||'-' }}"),o(" "),i(l,{label:"\u9879\u76EE\u662F\u5426\u5F52\u96C6\u7701\u91CC",span:"2"},{default:t(()=>{var a;return[s(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[s(n(((a=e.detailData)==null?void 0:a.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var a,d;return[s(n(((a=e.detailData)==null?void 0:a.baseProjType)&&C(D)[(d=e.detailData)==null?void 0:d.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var a,d;return[s(n(((d=(a=e.detailData)==null?void 0:a.baseConstructionType)==null?void 0:d.split("\uFF1B").map(r=>{var c,f;return(f=(c=e.dictionaryList)==null?void 0:c.filter(b=>b.type==="CONTENT_TYPE").find(b=>b.value===r))==null?void 0:f.label}).join("\u3001"))||"-"),1)]}),_:1}),o(' '),o(" {{ dictionaryList?.filter(i => i.type === 'PROJECT_STATUS').find(i=>i.value===detailData?.baseProjSetProg)?.label ||'-' }}"),o(" "),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>{var a,d;return[s(n(((a=e.detailData)==null?void 0:a.baseProvManDeprtType)===1?"\u7701\u7EA7":((d=e.detailData)==null?void 0:d.baseProvManDeprtType)===2?"\u975E\u7701\u7EA7":"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[s(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[s(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[s(n(((a=e.detailData)==null?void 0:a.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var a;return[s(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[s(n(((a=e.detailData)==null?void 0:a.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var a;return[s(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[s(n(((a=e.detailData)==null?void 0:a.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var a;return[s(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[s(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[s(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,d;return[s(n(((d=(a=e.templateTypeListData)==null?void 0:a.find(r=>{var c;return r.id===((c=e.detailData)==null?void 0:c.templateType)}))==null?void 0:d.name)||"-"),1)]}),_:1})]),_:1})}}}),M=y(S,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/basicInfo.vue"]]);export{M as default}; diff --git a/lishui2/web/dist/assets/basicInfo.dc9f5133.js b/lishui2/web/dist/assets/basicInfo.73b1fb74.js similarity index 91% rename from lishui2/web/dist/assets/basicInfo.dc9f5133.js rename to lishui2/web/dist/assets/basicInfo.73b1fb74.js index 38c7881..19c3419 100644 --- a/lishui2/web/dist/assets/basicInfo.dc9f5133.js +++ b/lishui2/web/dist/assets/basicInfo.73b1fb74.js @@ -1 +1 @@ -var ve=Object.defineProperty,fe=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var H=(n,b,i)=>b in n?ve(n,b,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[b]=i,K=(n,b)=>{for(var i in b||(b={}))ce.call(b,i)&&H(n,i,b[i]);if(z)for(var i of z(b))ye.call(b,i)&&H(n,i,b[i]);return n},Y=(n,b)=>fe(n,Pe(b));var x=(n,b,i)=>new Promise((_,M)=>{var I=C=>{try{e(i.next(C))}catch(k){M(k)}},S=C=>{try{e(i.throw(C))}catch(k){M(k)}},e=C=>C.done?_(C.value):Promise.resolve(C.value).then(I,S);e((i=i.apply(n,b)).next())});import{_ as Ce,d as De,D as Q,G as ge,r as D,O as Ve,b as A,o as W,H as je,L as E,e as y,f,g as T,k as t,l as s,I as g,F as U,J as B,i as X,j as Te,m as q,t as Z,a1 as Ue}from"./index.11dc4694.js";import{O as Me}from"./index.83c11d37.js";import Se from"./userDialog.3837d700.js";import ke from"./lineOrgDialog.b37dec7e.js";import{a as Be}from"./indicatorTemplate.96eacb73.js";import"./unitManage.315d6884.js";import"./index.f58f6803.js";const Ne=De({name:"projectCollectionEnterBasicInfo"}),we=Object.assign(Ne,{props:{detail:{type:Object},dictionaryList:{type:Array,default:()=>[]},isSupplemented:{type:Boolean,default:!1}},emits:["getBasicInfoData"],setup(n,{expose:b,emit:i}){const{projectConTypeOptions:_}=Q.dictStore.globalDicts||{},M=n,I=ge(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=Ve(()=>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"}]}),L=D({}),h=(r,a)=>x(this,null,function*(){const P=yield Ue(a||I.value.empPosUnitCode);L.value[r]=!!P.data.unifiedSocialCreditCode,e.value[r]=P.data.unifiedSocialCreditCode||e.value[r]}),ee=D([]),u=A({field:void 0,unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),O=r=>{u.fieldName=r,u.unitVisible=!0,u.title="\u9009\u62E9\u5355\u4F4D",u.type="UNIT",u.showCheckbox=!0,u.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},u.params={onlyUnit:!0},u.data=e.value[`${r}Ding`]?[{key:e.value[`${r}Ding`],title:e.value[r]}]:[],console.log(u.data)},ae=()=>{u.unitVisible=!1},le=r=>{e.value[u.fieldName+"Ding"]=(r==null?void 0:r[0].key)||void 0,e.value[u.fieldName]=(r==null?void 0:r[0].title)||void 0,(u.fieldName==="baseManDeprt"||u.fieldName==="baseBuildDeprt")&&h(u.fieldName==="baseManDeprt"?"baseManDepartUsci":"baseBuildDepartUsci",e.value[u.fieldName+"Ding"])},N=A({visible:!1,params:{}}),R=D(),F=D(),w=(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},ne=i,v=D(),G=D(),ue=()=>x(this,null,function*(){var a;const r=yield Be({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(()=>x(this,null,function*(){ue();const r=yield je({regionCode:331100,regionLevel:2});ee.value=r.data})),E(()=>M.detail,r=>{var a,P,j;r&&(M.isSupplemented&&(v.value=r.baseinfo),e.value=Y(K({},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=>{ne("getBasicInfoData",e.value)},{deep:!0}),W(()=>{e.value.baseProjIsConfidentiality="01"}),(r,a)=>{const P=y("el-option"),j=y("el-select"),d=y("el-form-item"),p=y("el-col"),c=y("el-input"),ie=y("el-checkbox"),de=y("el-checkbox-group"),$=y("el-radio"),J=y("el-radio-group"),pe=y("el-row"),be=y("el-form");return f(),T(U,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(()=>[n.isSupplemented?X("v-if",!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(U,null,B((l=n.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(c,{modelValue:e.value.baseProjName,"onUpdate:modelValue":a[1]||(a[1]=l=>e.value.baseProjName=l),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:n.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:n.isSupplemented},{default:s(()=>[(f(!0),T(U,null,B(Te(_),(l,o)=>(f(),g(P,{key:o,label:l,value:o},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1})]),_:1}),X("v-if",!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)&&n.isSupplemented},{default:s(()=>{var o;return[(f(!0),T(U,null,B((o=n.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:n.isSupplemented},{default:s(()=>{var l;return[(f(!0),T(U,null,B((l=n.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(J,{modelValue:e.value.baseProvManDeprtType,"onUpdate:modelValue":a[6]||(a[6]=o=>e.value.baseProvManDeprtType=o),disabled:((l=v.value)==null?void 0:l.baseProvManDeprtType)&&n.isSupplemented,onChange:oe},{default:s(()=>[t($,{label:"1"},{default:s(()=>[q("\u7701\u7EA7")]),_:1}),t($,{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(c,{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)&&n.isSupplemented,onClick:a[8]||(a[8]=m=>O("baseProvManDeprt"))},null,8,["modelValue","disabled"])):(f(),g(c,{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)&&n.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(c,{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)&&n.isSupplemented,onClick:a[11]||(a[11]=o=>O("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(c,{modelValue:e.value.baseManDepartUsci,"onUpdate:modelValue":a[12]||(a[12]=o=>e.value.baseManDepartUsci=o),placeholder:"\u8BF7\u586B\u5199",disabled:L.value.baseManDepartUsci||((l=v.value)==null?void 0:l.baseManDepartUsci)&&n.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(c,{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)&&n.isSupplemented,onClick:a[14]||(a[14]=o=>O("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(c,{modelValue:e.value.baseBuildDepartUsci,"onUpdate:modelValue":a[15]||(a[15]=o=>e.value.baseBuildDepartUsci=o),placeholder:"\u8BF7\u586B\u5199",disabled:L.value.baseBuildDepartUsci||((l=v.value)==null?void 0:l.baseBuildDepartUsci)&&n.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(c,{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)&&n.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=>w("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(c,{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)&&n.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[19]||(a[19]=o=>w("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(c,{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)&&n.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[21]||(a[21]=o=>w("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(c,{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)&&n.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[23]||(a[23]=o=>w("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(c,{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)&&n.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(J,{modelValue:e.value.templateType,"onUpdate:modelValue":a[25]||(a[25]=o=>e.value.templateType=o),disabled:((l=v.value)==null?void 0:l.templateType)&&n.isSupplemented},{default:s(()=>[(f(!0),T(U,null,B(G.value,(o,m)=>(f(),g($,{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:u.unitVisible,"show-checkbox":!1,"default-data":u.data,title:u.title,type:u.type,"default-props":u.defaultProps,params:u.params,onClose:ae,onGetSelectUnit:le},null,8,["visible","default-data","title","type","default-props","params"]),t(Se,{visible:N.visible,params:N.params,onClose:a[26]||(a[26]=l=>N.visible=!1),onGetUserData:te},null,8,["visible","params"]),t(ke,{visible:V.visible,data:V.data,onClose:a[27]||(a[27]=l=>V.visible=!1),onGetBaseProvManDeprt:re},null,8,["visible","data"])],64)}}}),Ee=Ce(we,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/basicInfo.vue"]]);export{Ee as default}; +var ve=Object.defineProperty,fe=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var H=(n,b,i)=>b in n?ve(n,b,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[b]=i,W=(n,b)=>{for(var i in b||(b={}))ce.call(b,i)&&H(n,i,b[i]);if(J)for(var i of J(b))ye.call(b,i)&&H(n,i,b[i]);return n},Y=(n,b)=>fe(n,Pe(b));var x=(n,b,i)=>new Promise((_,M)=>{var I=C=>{try{e(i.next(C))}catch(k){M(k)}},S=C=>{try{e(i.throw(C))}catch(k){M(k)}},e=C=>C.done?_(C.value):Promise.resolve(C.value).then(I,S);e((i=i.apply(n,b)).next())});import{_ as Ce,d as De,D as K,G as ge,r as D,O as Ve,b as A,o as Q,H as je,L as E,e as y,f,g as T,k as t,l as s,I as g,F as U,J as B,i as X,j as Te,m as q,t as Z,a1 as Ue}from"./index.096886c6.js";import{O as Me}from"./index.df40608b.js";import Se from"./userDialog.474d5aae.js";import ke from"./lineOrgDialog.b773fab1.js";import{a as Be}from"./indicatorTemplate.fe106224.js";import"./unitManage.e1672486.js";import"./index.a82aa709.js";const Ne=De({name:"projectCollectionEnterBasicInfo"}),we=Object.assign(Ne,{props:{detail:{type:Object},dictionaryList:{type:Array,default:()=>[]},isSupplemented:{type:Boolean,default:!1}},emits:["getBasicInfoData"],setup(n,{expose:b,emit:i}){const{projectConTypeOptions:_}=K.dictStore.globalDicts||{},M=n,I=ge(K.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=Ve(()=>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"}]}),L=D({}),h=(r,a)=>x(this,null,function*(){const P=yield Ue(a||I.value.empPosUnitCode);L.value[r]=!!P.data.unifiedSocialCreditCode,e.value[r]=P.data.unifiedSocialCreditCode||e.value[r]}),ee=D([]),u=A({field:void 0,unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),O=r=>{u.fieldName=r,u.unitVisible=!0,u.title="\u9009\u62E9\u5355\u4F4D",u.type="UNIT",u.showCheckbox=!0,u.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},u.params={onlyUnit:!0},u.data=e.value[`${r}Ding`]?[{key:e.value[`${r}Ding`],title:e.value[r]}]:[],console.log(u.data)},ae=()=>{u.unitVisible=!1},le=r=>{e.value[u.fieldName+"Ding"]=(r==null?void 0:r[0].key)||void 0,e.value[u.fieldName]=(r==null?void 0:r[0].title)||void 0,(u.fieldName==="baseManDeprt"||u.fieldName==="baseBuildDeprt")&&h(u.fieldName==="baseManDeprt"?"baseManDepartUsci":"baseBuildDepartUsci",e.value[u.fieldName+"Ding"])},N=A({visible:!1,params:{}}),R=D(),F=D(),w=(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},ne=i,v=D(),G=D(),ue=()=>x(this,null,function*(){var a;const r=yield Be({pageNumber:1,pageSize:1e4});G.value=((a=r==null?void 0:r.data)==null?void 0:a.records)||[]});return b({formRef:S,formData:e}),Q(()=>x(this,null,function*(){ue();const r=yield je({regionCode:331100,regionLevel:2});ee.value=r.data})),E(()=>M.detail,r=>{var a,P,j;r&&(M.isSupplemented&&(v.value=r.baseinfo),e.value=Y(W({},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=>{ne("getBasicInfoData",e.value)},{deep:!0}),Q(()=>{e.value.baseProjIsConfidentiality="01"}),(r,a)=>{const P=y("el-option"),j=y("el-select"),d=y("el-form-item"),p=y("el-col"),c=y("el-input"),ie=y("el-checkbox"),de=y("el-checkbox-group"),$=y("el-radio"),z=y("el-radio-group"),pe=y("el-row"),be=y("el-form");return f(),T(U,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(()=>[n.isSupplemented?X("v-if",!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(U,null,B((l=n.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(c,{modelValue:e.value.baseProjName,"onUpdate:modelValue":a[1]||(a[1]=l=>e.value.baseProjName=l),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:n.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:n.isSupplemented},{default:s(()=>[(f(!0),T(U,null,B(Te(_),(l,o)=>(f(),g(P,{key:o,label:l,value:o},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1})]),_:1}),X("v-if",!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)&&n.isSupplemented},{default:s(()=>{var o;return[(f(!0),T(U,null,B((o=n.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:n.isSupplemented},{default:s(()=>{var l;return[(f(!0),T(U,null,B((l=n.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)&&n.isSupplemented,onChange:oe},{default:s(()=>[t($,{label:"1"},{default:s(()=>[q("\u7701\u7EA7")]),_:1}),t($,{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(c,{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)&&n.isSupplemented,onClick:a[8]||(a[8]=m=>O("baseProvManDeprt"))},null,8,["modelValue","disabled"])):(f(),g(c,{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)&&n.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(c,{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)&&n.isSupplemented,onClick:a[11]||(a[11]=o=>O("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(c,{modelValue:e.value.baseManDepartUsci,"onUpdate:modelValue":a[12]||(a[12]=o=>e.value.baseManDepartUsci=o),placeholder:"\u8BF7\u586B\u5199",disabled:L.value.baseManDepartUsci||((l=v.value)==null?void 0:l.baseManDepartUsci)&&n.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(c,{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)&&n.isSupplemented,onClick:a[14]||(a[14]=o=>O("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(c,{modelValue:e.value.baseBuildDepartUsci,"onUpdate:modelValue":a[15]||(a[15]=o=>e.value.baseBuildDepartUsci=o),placeholder:"\u8BF7\u586B\u5199",disabled:L.value.baseBuildDepartUsci||((l=v.value)==null?void 0:l.baseBuildDepartUsci)&&n.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(c,{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)&&n.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=>w("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(c,{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)&&n.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[19]||(a[19]=o=>w("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(c,{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)&&n.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[21]||(a[21]=o=>w("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(c,{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)&&n.isSupplemented,placeholder:"\u8BF7\u9009\u62E9",onClick:a[23]||(a[23]=o=>w("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(c,{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)&&n.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)&&n.isSupplemented},{default:s(()=>[(f(!0),T(U,null,B(G.value,(o,m)=>(f(),g($,{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:u.unitVisible,"show-checkbox":!1,"default-data":u.data,title:u.title,type:u.type,"default-props":u.defaultProps,params:u.params,onClose:ae,onGetSelectUnit:le},null,8,["visible","default-data","title","type","default-props","params"]),t(Se,{visible:N.visible,params:N.params,onClose:a[26]||(a[26]=l=>N.visible=!1),onGetUserData:te},null,8,["visible","params"]),t(ke,{visible:V.visible,data:V.data,onClose:a[27]||(a[27]=l=>V.visible=!1),onGetBaseProvManDeprt:re},null,8,["visible","data"])],64)}}}),Ee=Ce(we,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/basicInfo.vue"]]);export{Ee as default}; diff --git a/lishui2/web/dist/assets/basicInfo.78bf8c8f.js b/lishui2/web/dist/assets/basicInfo.78bf8c8f.js deleted file mode 100644 index 1939f7f..0000000 --- a/lishui2/web/dist/assets/basicInfo.78bf8c8f.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as y,d as p,D as P,e as D,f as j,I as T,l as t,i as o,k as i,m as s,t as n,j as C}from"./index.11dc4694.js";const v=p({name:"basicInfo"}),I=Object.assign(v,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(a){const{projectTypeOptions:u}=P.dictStore.globalDicts||{};return(L,M)=>{const l=D("el-descriptions-item"),m=D("el-descriptions");return j(),T(m,{column:2,border:""},{default:t(()=>[o(' '),o(" {{ dictionaryList?.filter(i => i.type === 'CLASSIFIED').find(i=>i.value===detailData?.baseProjIsConfidentiality)?.label ||'-' }}"),o(" "),i(l,{label:"\u9879\u76EE\u662F\u5426\u5F52\u96C6\u7701\u91CC",span:"2"},{default:t(()=>{var e;return[s(n((e=a.detailData)!=null&&e.push?"\u662F":"\u5426"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u540D\u79F0",span:"2"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var e,d;return[s(n(((e=a.detailData)==null?void 0:e.baseProjType)&&C(u)[(d=a.detailData)==null?void 0:d.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var e,d;return[s(n(((d=(e=a.detailData)==null?void 0:e.baseConstructionType)==null?void 0:d.split("\uFF1B").map(r=>{var c,f;return(f=(c=a.dictionaryList)==null?void 0:c.filter(b=>b.type==="CONTENT_TYPE").find(b=>b.value===r))==null?void 0:f.label}).join("\u3001"))||"-"),1)]}),_:1}),o(' '),o(" {{ dictionaryList?.filter(i => i.type === 'PROJECT_STATUS').find(i=>i.value===detailData?.baseProjSetProg)?.label ||'-' }}"),o(" "),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>{var e,d;return[s(n(((e=a.detailData)==null?void 0:e.baseProvManDeprtType)===1?"\u7701\u7EA7":((d=a.detailData)==null?void 0:d.baseProvManDeprtType)===2?"\u975E\u7701\u7EA7":"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProvManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseBuildDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjPrincipal)||"-"),1)]}),_:1}),i(l,{label:"\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjContacts)||"-"),1)]}),_:1}),i(l,{label:"\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.baseProjContactsCall)||"-"),1)]}),_:1}),i(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:2},{default:t(()=>{var e;return[s(n(((e=a.detailData)==null?void 0:e.systemPosition)||"-"),1)]}),_:1}),i(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",span:2},{default:t(()=>{var e,d;return[s(n(((d=(e=a.templateTypeListData)==null?void 0:e.find(r=>{var c;return r.id===((c=a.detailData)==null?void 0:c.templateType)}))==null?void 0:d.name)||"-"),1)]}),_:1})]),_:1})}}}),S=y(I,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/basicInfo.vue"]]);export{S as default}; diff --git a/lishui2/web/dist/assets/basicInfo.864970ad.js b/lishui2/web/dist/assets/basicInfo.864970ad.js new file mode 100644 index 0000000..4662b84 --- /dev/null +++ b/lishui2/web/dist/assets/basicInfo.864970ad.js @@ -0,0 +1 @@ +import{_ as y,d as P,D as j,e as u,f as T,I as p,l as t,i as b,k as i,m as n,t as d,j as C}from"./index.096886c6.js";const v=P({name:"basicInfo"}),S=Object.assign(v,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(e){const{projectTypeOptions:D}=j.dictStore.globalDicts||{};return(I,L)=>{const l=u("el-descriptions-item"),m=u("el-descriptions");return T(),p(m,{column:2,border:""},{default:t(()=>[b(' '),b(" {{ dictionaryList?.filter(i => i.type === 'CLASSIFIED').find(i=>i.value===detailData?.baseProjIsConfidentiality)?.label ||'-' }}"),b(" "),i(l,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>{var a;return[n(d(((a=e.detailData)==null?void 0:a.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var a,s;return[n(d(((a=e.detailData)==null?void 0:a.baseProjType)&&C(D)[(s=e.detailData)==null?void 0:s.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var a,s;return[n(d(((s=(a=e.detailData)==null?void 0:a.baseConstructionType)==null?void 0:s.split("\uFF1B").map(c=>{var o,f;return(f=(o=e.dictionaryList)==null?void 0:o.filter(r=>r.type==="CONTENT_TYPE").find(r=>r.value===c))==null?void 0:f.label}).join("\u3001"))||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u72B6\u6001"},{default:t(()=>{var a,s;return[n(d(((s=(a=e.dictionaryList)==null?void 0:a.filter(c=>c.type==="PROJECT_STATUS").find(c=>{var o;return c.value===((o=e.detailData)==null?void 0:o.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[n(d(((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[n(d(((a=e.detailData)==null?void 0:a.baseProvManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[n(d(((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[n(d(((a=e.detailData)==null?void 0:a.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var a;return[n(d(((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[n(d(((a=e.detailData)==null?void 0:a.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var a;return[n(d(((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[n(d(((a=e.detailData)==null?void 0:a.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var a;return[n(d(((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[n(d(((a=e.detailData)==null?void 0:a.baseProjContactsCall)||"-"),1)]}),_:1}),i(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:2},{default:t(()=>{var a;return[n(d(((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[n(d(((s=(a=e.templateTypeListData)==null?void 0:a.find(c=>{var o;return c.id===((o=e.detailData)==null?void 0:o.templateType)}))==null?void 0:s.name)||"-"),1)]}),_:1})]),_:1})}}}),N=y(S,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/detail/components/basicInfo.vue"]]);export{N as default}; diff --git a/lishui2/web/dist/assets/basicInfo.955757c1.js b/lishui2/web/dist/assets/basicInfo.955757c1.js deleted file mode 100644 index 340faa5..0000000 --- a/lishui2/web/dist/assets/basicInfo.955757c1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as y,d as P,D as j,e as D,f as T,I as C,l as t,i as b,k as i,m as n,t as s,j as p}from"./index.11dc4694.js";const v=P({name:"basicInfo"}),I=Object.assign(v,{props:{detailData:{type:Object,default:()=>{}},dictionaryList:Array,templateTypeListData:Array},setup(e){const{projectTypeOptions:u}=j.dictStore.globalDicts||{};return(L,N)=>{const l=D("el-descriptions-item"),m=D("el-descriptions");return T(),C(m,{column:2,border:""},{default:t(()=>[b(' '),b(" {{ dictionaryList?.filter(i => i.type === 'CLASSIFIED').find(i=>i.value===detailData?.baseProjIsConfidentiality)?.label ||'-' }}"),b(" "),i(l,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>{var a;return[n(s(((a=e.detailData)==null?void 0:a.baseProjName)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var a,d;return[n(s(((a=e.detailData)==null?void 0:a.baseProjType)&&p(u)[(d=e.detailData)==null?void 0:d.baseProjType]||"-"),1)]}),_:1}),i(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var a,d;return[n(s(((d=(a=e.detailData)==null?void 0:a.baseConstructionType)==null?void 0:d.split("\uFF1B").map(c=>{var o,f;return(f=(o=e.dictionaryList)==null?void 0:o.filter(r=>r.type==="CONTENT_TYPE").find(r=>r.value===c))==null?void 0:f.label}).join("\u3001"))||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u72B6\u6001"},{default:t(()=>{var a,d;return[n(s(((d=(a=e.dictionaryList)==null?void 0:a.filter(c=>c.type==="PROJECT_STATUS").find(c=>{var o;return c.value===((o=e.detailData)==null?void 0:o.baseProjSetProg)}))==null?void 0:d.label)||"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>{var a,d;return[n(s(((a=e.detailData)==null?void 0:a.baseProvManDeprtType)===1?"\u7701\u7EA7":((d=e.detailData)==null?void 0:d.baseProvManDeprtType)===2?"\u975E\u7701\u7EA7":"-"),1)]}),_:1}),i(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[n(s(((a=e.detailData)==null?void 0:a.baseProvManDeprt)||"-"),1)]}),_:1}),i(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>{var a;return[n(s(((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[n(s(((a=e.detailData)==null?void 0:a.baseManDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:t(()=>{var a;return[n(s(((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[n(s(((a=e.detailData)==null?void 0:a.baseBuildDepartUsci)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>{var a;return[n(s(((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[n(s(((a=e.detailData)==null?void 0:a.baseProjPrincipalCall)||"-"),1)]}),_:1}),i(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>{var a;return[n(s(((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[n(s(((a=e.detailData)==null?void 0:a.baseProjContactsCall)||"-"),1)]}),_:1}),i(l,{label:"\u7CFB\u7EDF\u5B9A\u4F4D",span:2},{default:t(()=>{var a;return[n(s(((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,d;return[n(s(((d=(a=e.templateTypeListData)==null?void 0:a.find(c=>{var o;return c.id===((o=e.detailData)==null?void 0:o.templateType)}))==null?void 0:d.name)||"-"),1)]}),_:1})]),_:1})}}}),x=y(I,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/detail/components/basicInfo.vue"]]);export{x as default}; diff --git a/lishui2/web/dist/assets/basicInfo.13581a3f.js b/lishui2/web/dist/assets/basicInfo.b8bcab3d.js similarity index 78% rename from lishui2/web/dist/assets/basicInfo.13581a3f.js rename to lishui2/web/dist/assets/basicInfo.b8bcab3d.js index b160d3b..bbc1b4d 100644 --- a/lishui2/web/dist/assets/basicInfo.13581a3f.js +++ b/lishui2/web/dist/assets/basicInfo.b8bcab3d.js @@ -1 +1 @@ -var oe=Object.defineProperty,te=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var L=(c,s,i)=>s in c?oe(c,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[s]=i,j=(c,s)=>{for(var i in s||(s={}))ne.call(s,i)&&L(c,i,s[i]);if(W)for(var i of W(s))ue.call(s,i)&&L(c,i,s[i]);return c},z=(c,s)=>te(c,re(s));var N=(c,s,i)=>new Promise((R,U)=>{var F=g=>{try{k(i.next(g))}catch(I){U(I)}},a=g=>{try{k(i.throw(g))}catch(I){U(I)}},k=g=>g.done?R(g.value):Promise.resolve(g.value).then(F,a);k((i=i.apply(c,s)).next())});import{d as de,D as V,G as M,r as S,o as ie,H as se,e as m,f,I as y,l as t,k as e,g as b,J as h,j as x,F as C,i as P,h as G,m as pe,_ as me}from"./index.11dc4694.js";import{a as Y,f as fe}from"./uploadAction.c865409e.js";import{z as ce}from"./expertStore.0737db4f.js";const ge=["onClick"],_e={class:"addGhostBtn mt-8 w-full"},ve=["src"],be={key:1,class:"el-icon-plus avatar-uploader-icon"},Ve=G("div",{class:"limit-name ml-4"},"\u8BF7\u4E0A\u4F20\u84DD\u5E951\u5BF8\u514D\u51A0\u7167\u7247\uFF0C\u5C0F\u4E8E500Kb",-1),xe=de({name:"basicInfo"}),ke=Object.assign(xe,{setup(c,{expose:s}){const i=V.dictStore.uploadUrl,R=M(V.userStore).userInfo,{nationList:U}=V.dictStore.globalDicts,{tagList:F}=M(V.dictStore),a=S({expertIntentionWorkRegions:[{}],avatarFile:{fileId:""}}),k=S(),g=(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")},J={phoneNo:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",trigger:"blur"},{validator:g,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"}]},K=r=>{k.value.validate(o=>{r(o)})},O=r=>N(this,null,function*(){var o,d,n,u,_,v;a.value=z(j({},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(q=>({unionCode:q.regionName.split("@@").slice(1)})),avatarUrl:((v=r==null?void 0:r.avatarFile)==null?void 0:v.fileId)&&(yield Y(r.avatarFile.fileId)),avatarFile:(r==null?void 0:r.avatarFile)||{fileId:""}})}),D=S(),$=(r,o)=>{r==="add"?a.value.expertIntentionWorkRegions.push({id:new Date().getTime()}):a.value.expertIntentionWorkRegions.splice(o,1)},A=r=>{a.value.avatarFile.fileId=r.data.id,Y(r.data.id).then(o=>{a.value.avatarUrl=o})},H=()=>N(this,null,function*(){const r=yield ce({phoneNo:a.value.phoneNo});a.value.isDingUser=r.data.isDingUser,r.data.isDingUser&&(a.value.name=r.data.name)});return s({validForm:K,formData:a,setFormData:O}),ie(()=>N(this,null,function*(){const r=yield se({regionCode:331100,regionLevel:2});D.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"),q=m("el-date-picker"),B=m("el-cascader"),X=m("Delete"),E=m("el-icon"),T=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:J,"label-position":"right","label-width":"120px","label-suffix":":","scroll-to-error":"",class:"basicInfo"},{default:t(()=>[e(T,{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:H},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(q,{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}),P("v-if",!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:D.value,props:{value:"unionCode",label:"name"},clearable:"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full",disabled:r.$route.name==="selfEditExpertInfo"||r.$route.query.id&&x(R).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(T,{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:D.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(E,null,{default:t(()=>[e(X,{color:"#D40000"})]),_:1})],8,ge)):P("v-if",!0)]),_:2},1024)]),_:2},1024))),128)),G("p",_e,[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":A,"before-upload":l=>x(fe)(l,{size:500,types:["png","jpeg","jpg"]}),accept:".png,.jpeg,.jpg"},{default:t(()=>[a.value.avatarUrl?(f(),b("img",{key:0,src:a.value.avatarUrl,class:"avatar"},null,8,ve)):(f(),b("i",be,[e(E,null,{default:t(()=>[e(Q)]),_:1})]))]),_:1},8,["action","before-upload"]),Ve]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),Ce=me(ke,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertStore/addOrEditExpert/components/basicInfo.vue"]]);export{Ce as default}; +var oe=Object.defineProperty,te=Object.defineProperties;var re=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var L=(c,s,i)=>s in c?oe(c,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[s]=i,j=(c,s)=>{for(var i in s||(s={}))ne.call(s,i)&&L(c,i,s[i]);if(W)for(var i of W(s))ue.call(s,i)&&L(c,i,s[i]);return c},z=(c,s)=>te(c,re(s));var R=(c,s,i)=>new Promise((N,U)=>{var F=g=>{try{k(i.next(g))}catch(I){U(I)}},a=g=>{try{k(i.throw(g))}catch(I){U(I)}},k=g=>g.done?N(g.value):Promise.resolve(g.value).then(F,a);k((i=i.apply(c,s)).next())});import{d as de,D as V,G as M,r as D,o as ie,H as se,e as m,f,I as y,l as t,k as e,g as b,J as w,j as x,F as C,i as P,h as G,m as pe,_ as me}from"./index.096886c6.js";import{a as Y,f as fe}from"./uploadAction.03c39815.js";import{z as ce}from"./expertStore.09c67807.js";const ge=["onClick"],_e={class:"addGhostBtn mt-8 w-full"},ve=["src"],be={key:1,class:"el-icon-plus avatar-uploader-icon"},Ve=G("div",{class:"limit-name ml-4"},"\u8BF7\u4E0A\u4F20\u84DD\u5E951\u5BF8\u514D\u51A0\u7167\u7247\uFF0C\u5C0F\u4E8E500Kb",-1),xe=de({name:"basicInfo"}),ke=Object.assign(xe,{setup(c,{expose:s}){const i=V.dictStore.uploadUrl,N=M(V.userStore).userInfo,{nationList:U}=V.dictStore.globalDicts,{tagList:F}=M(V.dictStore),a=D({expertIntentionWorkRegions:[{}],avatarFile:{fileId:""}}),k=D(),g=(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")},O={phoneNo:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",trigger:"blur"},{validator:g,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"}]},A=r=>{k.value.validate(o=>{r(o)})},H=r=>R(this,null,function*(){var o,d,n,u,_,v;a.value=z(j({},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(S=>({unionCode:S.regionName.split("@@").slice(1)})),avatarUrl:((v=r==null?void 0:r.avatarFile)==null?void 0:v.fileId)&&(yield Y(r.avatarFile.fileId)),avatarFile:(r==null?void 0:r.avatarFile)||{fileId:""}})}),q=D(),$=(r,o)=>{r==="add"?a.value.expertIntentionWorkRegions.push({id:new Date().getTime()}):a.value.expertIntentionWorkRegions.splice(o,1)},J=r=>{a.value.avatarFile.fileId=r.data.id,Y(r.data.id).then(o=>{a.value.avatarUrl=o})},K=()=>R(this,null,function*(){const r=yield ce({phoneNo:a.value.phoneNo});a.value.isDingUser=r.data.isDingUser,r.data.isDingUser&&(a.value.name=r.data.name)});return s({validForm:A,formData:a,setFormData:H}),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"),S=m("el-date-picker"),B=m("el-cascader"),X=m("Delete"),E=m("el-icon"),T=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:O,"label-position":"right","label-width":"120px","label-suffix":":","scroll-to-error":"",class:"basicInfo"},{default:t(()=>[e(T,{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:K},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,w(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,w(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(S,{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}),P("v-if",!0),e(u,{span:8},{default:t(()=>[e(n,{label:"\u4E13\u5BB6\u7EA7\u522B",prop:"expertRegionInfo"},{default:t(()=>{var l,p,h;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!==((h=(l=a.value)==null?void 0:l.expertRegionInfo)==null?void 0:h[((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,w(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,w(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,w(a.value.expertIntentionWorkRegions,(l,p)=>(f(),y(T,{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":h=>a.value.expertIntentionWorkRegions[p].unionCode=h,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:h=>$("del",p)},[e(E,null,{default:t(()=>[e(X,{color:"#D40000"})]),_:1})],8,ge)):P("v-if",!0)]),_:2},1024)]),_:2},1024))),128)),G("p",_e,[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":J,"before-upload":l=>x(fe)(l,{size:500,types:["png","jpeg","jpg"]}),accept:".png,.jpeg,.jpg"},{default:t(()=>[a.value.avatarUrl?(f(),b("img",{key:0,src:a.value.avatarUrl,class:"avatar"},null,8,ve)):(f(),b("i",be,[e(E,null,{default:t(()=>[e(Q)]),_:1})]))]),_:1},8,["action","before-upload"]),Ve]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),Ce=me(ke,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/expertManage/expertStore/addOrEditExpert/components/basicInfo.vue"]]);export{Ce as default}; diff --git a/lishui2/web/dist/assets/basicInfo.fdc1daf6.js b/lishui2/web/dist/assets/basicInfo.cf1bf959.js similarity index 98% rename from lishui2/web/dist/assets/basicInfo.fdc1daf6.js rename to lishui2/web/dist/assets/basicInfo.cf1bf959.js index 4196e76..6cc29f3 100644 --- a/lishui2/web/dist/assets/basicInfo.fdc1daf6.js +++ b/lishui2/web/dist/assets/basicInfo.cf1bf959.js @@ -1 +1 @@ -var al=Object.defineProperty;var Oe=Object.getOwnPropertySymbols;var tl=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable;var Se=(p,V,y)=>V in p?al(p,V,{enumerable:!0,configurable:!0,writable:!0,value:y}):p[V]=y,Te=(p,V)=>{for(var y in V||(V={}))tl.call(V,y)&&Se(p,y,V[y]);if(Oe)for(var y of Oe(V))ol.call(V,y)&&Se(p,y,V[y]);return p};var J=(p,V,y)=>new Promise((R,K)=>{var ae=O=>{try{E(y.next(O))}catch(l){K(l)}},te=O=>{try{E(y.throw(O))}catch(l){K(l)}},E=O=>O.done?R(O.value):Promise.resolve(O.value).then(ae,te);E((y=y.apply(p,V)).next())});import{_ as rl,d as ul,D as se,u as sl,G as il,r as j,b as G,o as nl,L as ie,e as C,f as d,g as D,k as a,l as t,m,F as k,J as B,I as b,t as q,j as T,i as U,h as w,Y as Ne,N as dl,a1 as pl}from"./index.11dc4694.js";import{h as ml,i as fl,f as bl,c as Le,b as gl,r as vl}from"./uploadAction.c865409e.js";import{e as cl}from"./index.f58f6803.js";import{O as yl}from"./index.83c11d37.js";import Cl from"./userDialog.3837d700.js";import Vl from"./relatedProjectDialog.b99677b1.js";import Pl from"./projectContentDialog.ee0a030b.js";import{a as hl}from"./indicatorTemplate.96eacb73.js";import"./unitManage.315d6884.js";import"./renewalProjectCapitalDeclare.17ea4eca.js";const _l=w("div",null,[w("a",null,"\u4E0A\u4F20")],-1),jl={key:1,class:"text-info cursor-not-allowed"},Dl={class:"text-right w-full mb-8"},kl=["onClick"],wl={class:"text-right w-full mb-8"},Ol=["onClick"],Sl=["onClick"],Tl=["onClick"],Nl={class:"text-right w-full mt-8"},Ll={class:"flex"},Ul={class:"dialog-footer"},xl=ul({name:"basicInfo"}),Il=Object.assign(xl,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData"],setup(p,{expose:V,emit:y}){const R=p,{fourSystem:K,businessTerritory:ae}=se.dictStore.globalDicts||{},te=sl(),E=se.dictStore.uploadUrl,O=il(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"}]},M=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)})},Me=e=>{var i,c,s,n,g,x,z;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=(c=e==null?void 0:e.baseProjBasis)==null?void 0:c.split("\uFF1B"))==null?void 0:s.map((N,P)=>{var I,h,S;const $=`[${(I=e.baseProjBasisFile)==null?void 0:I.replace(/}];/g,"}],")}]`;return{title:(S=(h=M.value)==null?void 0:h.find(le=>le.value===N))==null?void 0:S.title,fileList:e!=null&&e.baseProjBasisFile?vl(JSON.parse($)[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=(z=e==null?void 0:e.baseProjBasis)==null?void 0:z.split("\uFF1B");M.value&&M.value.forEach(P=>{var $,I;N.includes(P.value)&&(P.fileList=($=o.find(h=>h.value===P.value))==null?void 0:$.fileList,P.fileName=(I=o.find(h=>h.value===P.value))==null?void 0:I.fileName,Q.value.toggleRowSelect(P,!0))})}},fe=y,$e=e=>{fe("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}]:[]},Re=()=>{v.unitVisible=!1},Ee=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 dl(),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}],be=j(),X=()=>J(this,null,function*(){const e=yield cl(Te({},A));be.value=e.data}),He=()=>{A.businessStripName=void 0,X()},oe=j(),ze=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*(){var c,s;const i=yield pl(o||O.value.empPosUnitCode);re.value[e]=!!((c=i.data)!=null&&c.unifiedSocialCreditCode),l.value[e]=((s=i.data)==null?void 0:s.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"}],H=G({visible:!1,data:void 0}),ue=j(),Pe=(e,o)=>{H.data=e,H.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 hl({pageNumber:1,pageSize:1e4});he.value=((o=e==null?void 0:e.data)==null?void 0:o.records)||[]});return nl(()=>{el(),ge("orgCreditCode")}),ie(()=>R.declareAmount,e=>{e>=1e3&&(l.value.isDigitalReform=1)}),V({validForm:Be,formData:l,setFormData:Me}),ie(()=>R.dictionaryList,e=>{var o;e&&(M.value=[],(o=R.dictionaryList)==null||o.filter(i=>i.type==="PROJECT_BASIS").forEach(i=>{M.value.push({title:i.label,fileName:"",fileList:[],value:i.value})}))}),ie(()=>l.value,e=>{fe("getBasicInfoData",l.value)},{deep:!0}),(e,o)=>{const i=C("el-radio"),c=C("el-radio-group"),s=C("el-form-item"),n=C("el-col"),g=C("el-input"),x=C("el-checkbox"),z=C("el-checkbox-group"),N=C("el-date-picker"),P=C("el-option"),$=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(c,{modelValue:l.value.baseProjIsConfidentiality,"onUpdate:modelValue":o[0]||(o[0]=r=>l.value.baseProjIsConfidentiality=r)},{default:t(()=>[a(i,{label:"01"},{default:t(()=>[m("\u5426")]),_:1}),a(i,{label:"02"},{default:t(()=>[m("\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(c,{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(()=>[m("\u9996\u6B21\u5EFA\u8BBE")]),_:1}),a(i,{label:"02"},{default:t(()=>[m("\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(z,{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,f)=>(d(),b(x,{key:f,label:u.value},{default:t(()=>[m(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(c,{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:$e},{default:t(()=>[a(i,{label:1},{default:t(()=>[m("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[m("\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(c,{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(()=>[m("\u662F")]),_:1}),a(i,{label:!1},{default:t(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),T(te).name!="planEdit"?(d(),b(n,{key:0,span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865",prop:"isTemporaryAugment"},{default:t(()=>{var r;return[a(c,{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(()=>[m("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})):U("v-if",!0)],64)):U("v-if",!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(),b(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("v-if",!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(c,{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(()=>[m("\u7701\u7EA7")]),_:1}),a(i,{label:"2"},{default:t(()=>[m("\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(),b(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(),b(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(),b(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(),b(g,{key:0,modelValue:l.value.superOrg,"onUpdate:modelValue":o[22]||(o[22]=f=>l.value.superOrg=f),disabled:""},null,8,["modelValue"])):(d(),b(g,{key:1,modelValue:l.value.superOrg,"onUpdate:modelValue":o[23]||(o[23]=f=>l.value.superOrg=f),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(c,{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,f)=>(d(),b(i,{key:f,label:f*1},{default:t(()=>[m(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(()=>[a(c,{modelValue:l.value.templateType,"onUpdate:modelValue":o[26]||(o[26]=r=>l.value.templateType=r)},{default:t(()=>[(d(!0),D(k,null,B(he.value,(r,u)=>(d(),b(i,{key:u,label:r.id},{default:t(()=>[m(q(r.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_: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(c,{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(()=>[m("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[l.value.isDigitalReform===1?(d(),b(s,{key:0,label:"\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF",prop:"bizDomain"},{default:t(()=>{var r;return[a($,{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,f)=>(d(),b(P,{key:f,label:u,value:f},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})):U("v-if",!0)]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"buildLevel"},{default:t(()=>[a(c,{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,f)=>(d(),b(i,{key:f,label:u.value},{default:t(()=>[m(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("v-if",!0):(d(),b(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(),b(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7",prop:"lowestLevel"},{default:t(()=>[a(c,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":o[30]||(o[30]=f=>l.value.lowestLevel=f)},{default:t(()=>{var f;return[(d(!0),D(k,null,B((f=p.dictionaryList)==null?void 0:f.filter(_=>_.type==="BUILD_LEVEL"),(_,W)=>(d(),b(i,{key:W,label:_.value},{default:t(()=>[m(q(_.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),b(s,{key:1,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:t(()=>[a(c,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":o[31]||(o[31]=f=>l.value.lowestLevel=f)},{default:t(()=>{var f;return[(d(!0),D(k,null,B((f=p.dictionaryList)==null?void 0:f.filter(_=>_.type==="BUILD_LEVEL"),(_,W)=>(d(),b(i,{key:W,label:_.value},{default:t(()=>[m(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:M.value,onSelectionChange:Ie},{fileName:t(({scope:r})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(u=>u.value).includes(r.row.value)?(d(),b(s,{key:0},{default:t(()=>{var u,f,_;return[a(g,{value:(_=(f=(u=l.value.baseProjBasis[l.value.baseProjBasis.findIndex(W=>W.value===r.row.value)])==null?void 0:u.fileList)==null?void 0:f[0])==null?void 0:_.name,placeholder:"\u8BF7\u8F93\u5165",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(d(),b(g,{key:1,disabled:!0}))]),action:t(({scope:r})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(u=>u.value).includes(r.row.value)?(d(),b(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(f=>f.value===r.row.value)].fileList=u,class:"flex items-center flex-col w-full",action:T(E),"on-success":u=>T(ml)(u,l.value.baseProjBasis[l.value.baseProjBasis.findIndex(f=>f.value===r.row.value)].fileList,!0),"on-error":T(fl),"before-upload":u=>T(bl)(u,{types:T(Le)}),limit:1,accept:T(Le).map(u=>`.${u}`).join(","),"on-preview":T(gl)},{trigger:t(()=>[_l]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(d(),D("span",jl,"\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(),b(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(),b(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(c,{modelValue:l.value.isCloud,"onUpdate:modelValue":o[37]||(o[37]=r=>l.value.isCloud=r)},{default:t(()=>[a(i,{label:1},{default:t(()=>[m("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.isCloud===1?(d(),b(n,{key:1,span:24},{default:t(()=>[a(s,{label:"\u4E91\u7C7B\u578B",prop:"cloudType"},{default:t(()=>[a(z,{modelValue:l.value.cloudType,"onUpdate:modelValue":o[38]||(o[38]=r=>l.value.cloudType=r)},{default:t(()=>[a(x,{label:"1"},{default:t(()=>[m("\u653F\u52A1\u4E91\uFF08\u975E\u4FE1\u521B\uFF09")]),_:1}),a(x,{label:"2"},{default:t(()=>[m("\u653F\u52A1\u4E91\uFF08\u4FE1\u521B\uFF09")]),_:1}),a(x,{label:"3"},{default:t(()=>[m("\u5176\u4ED6")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):U("v-if",!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(),b(s,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:t(()=>[w("p",Dl,[a(S,{type:"primary",onClick:Ce},{default:t(()=>[m("\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,kl)]),_:1},8,["data"])]),_:1})):(d(),b(s,{key:1,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0"},{default:t(()=>[w("p",wl,[a(S,{type:"primary",onClick:Ce},{default:t(()=>[m("\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,Ol)]),_: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,Sl),w("a",{class:"text-danger",onClick:u=>Ze(r.$index)},"\u5220\u9664",8,Tl)]),_:1},8,["data"]),w("p",Nl,[a(S,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:o[41]||(o[41]=()=>Pe())},{default:t(()=>[m("\u6DFB\u52A0")]),_:1})])]),_:1})]),_:1})],64)):U("v-if",!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("v-if",!0)]}),_:1})]),_:1},8,["model"]),a(yl,{visible:v.unitVisible,"show-checkbox":!1,"default-data":v.data,title:v.title,type:v.type,"default-props":v.defaultProps,params:v.params,onClose:Re,onGetSelectUnit:Ee},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",Ul,[a(S,{onClick:o[48]||(o[48]=L=>Y.value=!1)},{default:t(()=>[m("\u5173\u95ED")]),_:1}),a(S,{type:"primary",onClick:We},{default:t(()=>[m(" \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",Ll,[a(S,{type:"primary",onClick:X},{default:t(()=>[m("\u67E5\u8BE2")]),_:1}),a(S,{onClick:He},{default:t(()=>[m("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(h,{ref_key:"tableListRef",ref:Q,column:Fe,data:be.value,pagination:!1,style:{height:"600px",overflow:"auto"},onGetTableData:X,onRadioChange:ze},null,8,["data"])]),_:1},8,["model-value"]),a(Cl,{visible:Z.visible,params:Z.params,onClose:o[50]||(o[50]=L=>Z.visible=!1),onGetUserData:Je},null,8,["visible","params"]),a(Vl,{visible:F.visible,data:F.data,onGetProjectList:Ke,onClose:o[51]||(o[51]=L=>F.visible=!1)},null,8,["visible","data"]),a(Pl,{visible:H.visible,data:H.data,onSetContent:Xe,onClose:o[52]||(o[52]=L=>H.visible=!1)},null,8,["visible","data"])],64)}}}),Wl=rl(Il,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/basicInfo.vue"]]);export{Wl as default}; +var al=Object.defineProperty;var Oe=Object.getOwnPropertySymbols;var tl=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable;var Se=(p,V,y)=>V in p?al(p,V,{enumerable:!0,configurable:!0,writable:!0,value:y}):p[V]=y,Te=(p,V)=>{for(var y in V||(V={}))tl.call(V,y)&&Se(p,y,V[y]);if(Oe)for(var y of Oe(V))ol.call(V,y)&&Se(p,y,V[y]);return p};var J=(p,V,y)=>new Promise((R,K)=>{var ae=O=>{try{E(y.next(O))}catch(l){K(l)}},te=O=>{try{E(y.throw(O))}catch(l){K(l)}},E=O=>O.done?R(O.value):Promise.resolve(O.value).then(ae,te);E((y=y.apply(p,V)).next())});import{_ as rl,d as ul,D as se,u as sl,G as il,r as j,b as G,o as nl,L as ie,e as C,f as d,g as D,k as a,l as t,m,F as k,J as B,I as b,t as q,j as T,i as U,h as w,Y as Ne,N as dl,a1 as pl}from"./index.096886c6.js";import{h as ml,i as fl,f as bl,c as Le,b as gl,r as vl}from"./uploadAction.03c39815.js";import{e as cl}from"./index.a82aa709.js";import{O as yl}from"./index.df40608b.js";import Cl from"./userDialog.474d5aae.js";import Vl from"./relatedProjectDialog.f3b4dce1.js";import Pl from"./projectContentDialog.68153f76.js";import{a as hl}from"./indicatorTemplate.fe106224.js";import"./unitManage.e1672486.js";import"./renewalProjectCapitalDeclare.91f47fa0.js";const _l=w("div",null,[w("a",null,"\u4E0A\u4F20")],-1),jl={key:1,class:"text-info cursor-not-allowed"},Dl={class:"text-right w-full mb-8"},kl=["onClick"],wl={class:"text-right w-full mb-8"},Ol=["onClick"],Sl=["onClick"],Tl=["onClick"],Nl={class:"text-right w-full mt-8"},Ll={class:"flex"},Ul={class:"dialog-footer"},xl=ul({name:"basicInfo"}),Il=Object.assign(xl,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData"],setup(p,{expose:V,emit:y}){const R=p,{fourSystem:K,businessTerritory:ae}=se.dictStore.globalDicts||{},te=sl(),E=se.dictStore.uploadUrl,O=il(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"}]},M=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)})},Me=e=>{var i,c,s,n,g,x,z;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=(c=e==null?void 0:e.baseProjBasis)==null?void 0:c.split("\uFF1B"))==null?void 0:s.map((N,P)=>{var I,h,S;const $=`[${(I=e.baseProjBasisFile)==null?void 0:I.replace(/}];/g,"}],")}]`;return{title:(S=(h=M.value)==null?void 0:h.find(le=>le.value===N))==null?void 0:S.title,fileList:e!=null&&e.baseProjBasisFile?vl(JSON.parse($)[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=(z=e==null?void 0:e.baseProjBasis)==null?void 0:z.split("\uFF1B");M.value&&M.value.forEach(P=>{var $,I;N.includes(P.value)&&(P.fileList=($=o.find(h=>h.value===P.value))==null?void 0:$.fileList,P.fileName=(I=o.find(h=>h.value===P.value))==null?void 0:I.fileName,Q.value.toggleRowSelect(P,!0))})}},fe=y,$e=e=>{fe("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}]:[]},Re=()=>{v.unitVisible=!1},Ee=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 dl(),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}],be=j(),X=()=>J(this,null,function*(){const e=yield cl(Te({},A));be.value=e.data}),He=()=>{A.businessStripName=void 0,X()},oe=j(),ze=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*(){var c,s;const i=yield pl(o||O.value.empPosUnitCode);re.value[e]=!!((c=i.data)!=null&&c.unifiedSocialCreditCode),l.value[e]=((s=i.data)==null?void 0:s.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"}],H=G({visible:!1,data:void 0}),ue=j(),Pe=(e,o)=>{H.data=e,H.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 hl({pageNumber:1,pageSize:1e4});he.value=((o=e==null?void 0:e.data)==null?void 0:o.records)||[]});return nl(()=>{el(),ge("orgCreditCode")}),ie(()=>R.declareAmount,e=>{e>=1e3&&(l.value.isDigitalReform=1)}),V({validForm:Be,formData:l,setFormData:Me}),ie(()=>R.dictionaryList,e=>{var o;e&&(M.value=[],(o=R.dictionaryList)==null||o.filter(i=>i.type==="PROJECT_BASIS").forEach(i=>{M.value.push({title:i.label,fileName:"",fileList:[],value:i.value})}))}),ie(()=>l.value,e=>{fe("getBasicInfoData",l.value)},{deep:!0}),(e,o)=>{const i=C("el-radio"),c=C("el-radio-group"),s=C("el-form-item"),n=C("el-col"),g=C("el-input"),x=C("el-checkbox"),z=C("el-checkbox-group"),N=C("el-date-picker"),P=C("el-option"),$=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(c,{modelValue:l.value.baseProjIsConfidentiality,"onUpdate:modelValue":o[0]||(o[0]=r=>l.value.baseProjIsConfidentiality=r)},{default:t(()=>[a(i,{label:"01"},{default:t(()=>[m("\u5426")]),_:1}),a(i,{label:"02"},{default:t(()=>[m("\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(c,{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(()=>[m("\u9996\u6B21\u5EFA\u8BBE")]),_:1}),a(i,{label:"02"},{default:t(()=>[m("\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(z,{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,f)=>(d(),b(x,{key:f,label:u.value},{default:t(()=>[m(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(c,{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:$e},{default:t(()=>[a(i,{label:1},{default:t(()=>[m("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[m("\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(c,{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(()=>[m("\u662F")]),_:1}),a(i,{label:!1},{default:t(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),T(te).name!="planEdit"?(d(),b(n,{key:0,span:12},{default:t(()=>[a(s,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865",prop:"isTemporaryAugment"},{default:t(()=>{var r;return[a(c,{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(()=>[m("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})):U("v-if",!0)],64)):U("v-if",!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(),b(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("v-if",!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(c,{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(()=>[m("\u7701\u7EA7")]),_:1}),a(i,{label:"2"},{default:t(()=>[m("\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(),b(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(),b(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(),b(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(),b(g,{key:0,modelValue:l.value.superOrg,"onUpdate:modelValue":o[22]||(o[22]=f=>l.value.superOrg=f),disabled:""},null,8,["modelValue"])):(d(),b(g,{key:1,modelValue:l.value.superOrg,"onUpdate:modelValue":o[23]||(o[23]=f=>l.value.superOrg=f),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(c,{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,f)=>(d(),b(i,{key:f,label:f*1},{default:t(()=>[m(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(()=>[a(c,{modelValue:l.value.templateType,"onUpdate:modelValue":o[26]||(o[26]=r=>l.value.templateType=r)},{default:t(()=>[(d(!0),D(k,null,B(he.value,(r,u)=>(d(),b(i,{key:u,label:r.id},{default:t(()=>[m(q(r.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_: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(c,{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(()=>[m("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),a(n,{span:12},{default:t(()=>[l.value.isDigitalReform===1?(d(),b(s,{key:0,label:"\u7EFC\u5408\u4E1A\u52A1\u9886\u57DF",prop:"bizDomain"},{default:t(()=>{var r;return[a($,{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,f)=>(d(),b(P,{key:f,label:u,value:f},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})):U("v-if",!0)]),_:1}),a(n,{span:24},{default:t(()=>[a(s,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"buildLevel"},{default:t(()=>[a(c,{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,f)=>(d(),b(i,{key:f,label:u.value},{default:t(()=>[m(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("v-if",!0):(d(),b(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(),b(s,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7",prop:"lowestLevel"},{default:t(()=>[a(c,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":o[30]||(o[30]=f=>l.value.lowestLevel=f)},{default:t(()=>{var f;return[(d(!0),D(k,null,B((f=p.dictionaryList)==null?void 0:f.filter(_=>_.type==="BUILD_LEVEL"),(_,W)=>(d(),b(i,{key:W,label:_.value},{default:t(()=>[m(q(_.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),b(s,{key:1,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:t(()=>[a(c,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":o[31]||(o[31]=f=>l.value.lowestLevel=f)},{default:t(()=>{var f;return[(d(!0),D(k,null,B((f=p.dictionaryList)==null?void 0:f.filter(_=>_.type==="BUILD_LEVEL"),(_,W)=>(d(),b(i,{key:W,label:_.value},{default:t(()=>[m(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:M.value,onSelectionChange:Ie},{fileName:t(({scope:r})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(u=>u.value).includes(r.row.value)?(d(),b(s,{key:0},{default:t(()=>{var u,f,_;return[a(g,{value:(_=(f=(u=l.value.baseProjBasis[l.value.baseProjBasis.findIndex(W=>W.value===r.row.value)])==null?void 0:u.fileList)==null?void 0:f[0])==null?void 0:_.name,placeholder:"\u8BF7\u8F93\u5165",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(d(),b(g,{key:1,disabled:!0}))]),action:t(({scope:r})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(u=>u.value).includes(r.row.value)?(d(),b(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(f=>f.value===r.row.value)].fileList=u,class:"flex items-center flex-col w-full",action:T(E),"on-success":u=>T(ml)(u,l.value.baseProjBasis[l.value.baseProjBasis.findIndex(f=>f.value===r.row.value)].fileList,!0),"on-error":T(fl),"before-upload":u=>T(bl)(u,{types:T(Le)}),limit:1,accept:T(Le).map(u=>`.${u}`).join(","),"on-preview":T(gl)},{trigger:t(()=>[_l]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(d(),D("span",jl,"\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(),b(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(),b(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(c,{modelValue:l.value.isCloud,"onUpdate:modelValue":o[37]||(o[37]=r=>l.value.isCloud=r)},{default:t(()=>[a(i,{label:1},{default:t(()=>[m("\u662F")]),_:1}),a(i,{label:0},{default:t(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.isCloud===1?(d(),b(n,{key:1,span:24},{default:t(()=>[a(s,{label:"\u4E91\u7C7B\u578B",prop:"cloudType"},{default:t(()=>[a(z,{modelValue:l.value.cloudType,"onUpdate:modelValue":o[38]||(o[38]=r=>l.value.cloudType=r)},{default:t(()=>[a(x,{label:"1"},{default:t(()=>[m("\u653F\u52A1\u4E91\uFF08\u975E\u4FE1\u521B\uFF09")]),_:1}),a(x,{label:"2"},{default:t(()=>[m("\u653F\u52A1\u4E91\uFF08\u4FE1\u521B\uFF09")]),_:1}),a(x,{label:"3"},{default:t(()=>[m("\u5176\u4ED6")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):U("v-if",!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(),b(s,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:t(()=>[w("p",Dl,[a(S,{type:"primary",onClick:Ce},{default:t(()=>[m("\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,kl)]),_:1},8,["data"])]),_:1})):(d(),b(s,{key:1,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0"},{default:t(()=>[w("p",wl,[a(S,{type:"primary",onClick:Ce},{default:t(()=>[m("\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,Ol)]),_: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,Sl),w("a",{class:"text-danger",onClick:u=>Ze(r.$index)},"\u5220\u9664",8,Tl)]),_:1},8,["data"]),w("p",Nl,[a(S,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:o[41]||(o[41]=()=>Pe())},{default:t(()=>[m("\u6DFB\u52A0")]),_:1})])]),_:1})]),_:1})],64)):U("v-if",!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("v-if",!0)]}),_:1})]),_:1},8,["model"]),a(yl,{visible:v.unitVisible,"show-checkbox":!1,"default-data":v.data,title:v.title,type:v.type,"default-props":v.defaultProps,params:v.params,onClose:Re,onGetSelectUnit:Ee},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",Ul,[a(S,{onClick:o[48]||(o[48]=L=>Y.value=!1)},{default:t(()=>[m("\u5173\u95ED")]),_:1}),a(S,{type:"primary",onClick:We},{default:t(()=>[m(" \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",Ll,[a(S,{type:"primary",onClick:X},{default:t(()=>[m("\u67E5\u8BE2")]),_:1}),a(S,{onClick:He},{default:t(()=>[m("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(h,{ref_key:"tableListRef",ref:Q,column:Fe,data:be.value,pagination:!1,style:{height:"600px",overflow:"auto"},onGetTableData:X,onRadioChange:ze},null,8,["data"])]),_:1},8,["model-value"]),a(Cl,{visible:Z.visible,params:Z.params,onClose:o[50]||(o[50]=L=>Z.visible=!1),onGetUserData:Je},null,8,["visible","params"]),a(Vl,{visible:F.visible,data:F.data,onGetProjectList:Ke,onClose:o[51]||(o[51]=L=>F.visible=!1)},null,8,["visible","data"]),a(Pl,{visible:H.visible,data:H.data,onSetContent:Xe,onClose:o[52]||(o[52]=L=>H.visible=!1)},null,8,["visible","data"])],64)}}}),Wl=rl(Il,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/basicInfo.vue"]]);export{Wl as default}; diff --git a/lishui2/web/dist/assets/biddingRegistration.b6ece74c.js b/lishui2/web/dist/assets/biddingRegistration.b6ece74c.js new file mode 100644 index 0000000..fc22351 --- /dev/null +++ b/lishui2/web/dist/assets/biddingRegistration.b6ece74c.js @@ -0,0 +1 @@ +var C=(m,y,c)=>new Promise((k,f)=>{var _=r=>{try{e(c.next(r))}catch(p){f(p)}},S=r=>{try{e(c.throw(r))}catch(p){f(p)}},e=r=>r.done?k(r.value):Promise.resolve(r.value).then(_,S);e((c=c.apply(m,y)).next())});import{_ as x,d as F,r as h,o as A,e as j,f as i,g as u,J as b,I as O,l as t,k as l,m as s,t as o,F as g}from"./index.096886c6.js";import{A as D}from"./index.e0e52f0f.js";import{N as B}from"./index.9e3741ad.js";import{d as E}from"./projectCollectionEnter.32852675.js";const J=F({name:"biddingRegistration"}),L=Object.assign(J,{props:{detailData:Object},setup(m){const y=m,c=h(),k=()=>C(this,null,function*(){var _;c.value=(_=y.detailData)==null?void 0:_.purchases}),f=h([]);return A(()=>C(this,null,function*(){f.value=(yield E()).data,k()})),(_,S)=>{var p;const e=j("el-descriptions-item"),r=j("el-descriptions");return(p=c.value)!=null&&p.length?(i(!0),u(g,{key:0},b(c.value,(a,v)=>(i(),O(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(o(a.bidName||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546"},{default:t(()=>[s(o(a.supplier||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[s(o(a.supplierSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u4EBA"},{default:t(()=>[s(o(a.supplierContact||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u65B9\u5F0F"},{default:t(()=>[s(o(a.supplierContactInfo||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u65B9\u5F0F"},{default:t(()=>{var n,d;return[s(o(((d=(n=f.value)==null?void 0:n.filter(N=>N.type==="PURCHASE_METHOD").find(N=>N.value===a.purchaseMethod))==null?void 0:d.label)||"-"),1)]}),_:2},1024),l(e,{label:"\u6210\u4EA4\u91D1\u989D\uFF08\u4E07\u5143\uFF09"},{default:t(()=>[s(o(a.transactionAmount||"-"),1)]),_:2},1024),l(e,{label:"\u6210\u4EA4\u65F6\u95F4"},{default:t(()=>[s(o(a.transactionTime||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784"},{default:t(()=>[s(o(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(o(a.purchaseSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7"},{default:t(()=>[s(o(a.budgetExecConfirmNo||"-"),1)]),_:2},1024),l(e,{label:"\u6295\u6807\u6587\u4EF6",span:2},{default:t(()=>[(i(!0),u(g,null,b(a.biddingDoc&&JSON.parse(a.biddingDoc),(n,d)=>(i(),u("p",{key:d,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(()=>[(i(!0),u(g,null,b(a.bidDoc&&JSON.parse(a.bidDoc),(n,d)=>(i(),u("p",{key:d,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(()=>[(i(!0),u(g,null,b(a.acceptanceLetter&&JSON.parse(a.acceptanceLetter),(n,d)=>(i(),u("p",{key:d,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)):(i(),O(B,{key:1}))}}}),H=x(L,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/biddingRegistration.vue"]]);export{H as default}; diff --git a/lishui2/web/dist/assets/biddingRegistration.e4b23de9.js b/lishui2/web/dist/assets/biddingRegistration.e4b23de9.js deleted file mode 100644 index 0752e59..0000000 --- a/lishui2/web/dist/assets/biddingRegistration.e4b23de9.js +++ /dev/null @@ -1 +0,0 @@ -var k=(g,y,c)=>new Promise((N,f)=>{var _=s=>{try{e(c.next(s))}catch(p){f(p)}},v=s=>{try{e(c.throw(s))}catch(p){f(p)}},e=s=>s.done?N(s.value):Promise.resolve(s.value).then(_,v);e((c=c.apply(g,y)).next())});import{_ as O,d as F,r as h,o as J,e as j,f as i,g as u,J as b,I as x,l as t,k as l,m as o,t as r,F as m}from"./index.11dc4694.js";import{A as C}from"./index.3731dd96.js";import{N as M}from"./index.90958342.js";import{d as A}from"./projectCollectionEnter.7f6e2b1f.js";const B=F({name:"biddingRegistration"}),E=Object.assign(B,{props:{detailData:Object},setup(g){const y=g,c=h(),N=()=>k(this,null,function*(){var _;c.value=(_=y.detailData)==null?void 0:_.purchases}),f=h([]);return J(()=>k(this,null,function*(){f.value=(yield A()).data,N()})),(_,v)=>{var p;const e=j("el-descriptions-item"),s=j("el-descriptions");return(p=c.value)!=null&&p.length?(i(!0),u(m,{key:0},b(c.value,(a,S)=>(i(),x(s,{key:S,column:2,border:"",title:`\u6807\u6BB5${S+1}`,class:"mb-16"},{default:t(()=>[l(e,{label:"\u6807\u6BB5\u540D\u79F0"},{default:t(()=>[o(r(a.bidName||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546"},{default:t(()=>[o(r(a.supplier||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[o(r(a.supplierSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u4EBA"},{default:t(()=>[o(r(a.supplierContact||"-"),1)]),_:2},1024),l(e,{label:"\u4F9B\u5E94\u5546\u8054\u7CFB\u65B9\u5F0F"},{default:t(()=>[o(r(a.supplierContactInfo||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u65B9\u5F0F"},{default:t(()=>{var n,d;return[o(r(((d=(n=f.value)==null?void 0:n.filter(D=>D.type==="PURCHASE_METHOD").find(D=>D.value===a.purchaseMethod))==null?void 0:d.label)||"-"),1)]}),_:2},1024),l(e,{label:"\u6210\u4EA4\u91D1\u989D\uFF08\u4E07\u5143\uFF09"},{default:t(()=>[o(r(a.transactionAmount||"-"),1)]),_:2},1024),l(e,{label:"\u6210\u4EA4\u65F6\u95F4"},{default:t(()=>[o(r(a.transactionTime||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784"},{default:t(()=>[o(r(a.agency||"-"),1)]),_:2},1024),l(e,{label:"\u91C7\u8D2D\u4EE3\u7406\u673A\u6784\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[o(r(a.purchaseSocialCreditCode||"-"),1)]),_:2},1024),l(e,{label:"\u9884\u7B97\u6267\u884C\u786E\u8BA4\u4E66\u7F16\u53F7"},{default:t(()=>[o(r(a.budgetExecConfirmNo||"-"),1)]),_:2},1024),l(e,{label:"\u6295\u6807\u6587\u4EF6",span:2},{default:t(()=>[(i(!0),u(m,null,b(a.biddingDoc&&JSON.parse(a.biddingDoc),(n,d)=>(i(),u("p",{key:d,class:"mb-4"},[l(C,{"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(()=>[(i(!0),u(m,null,b(a.bidDoc&&JSON.parse(a.bidDoc),(n,d)=>(i(),u("p",{key:d,class:"mb-4"},[l(C,{"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(()=>[(i(!0),u(m,null,b(a.acceptanceLetter&&JSON.parse(a.acceptanceLetter),(n,d)=>(i(),u("p",{key:d,class:"mb-4"},[l(C,{"file-name":n.originalFileName,"file-id":n.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)):(i(),x(M,{key:1}))}}}),H=O(E,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/biddingRegistration.vue"]]);export{H as default}; diff --git a/lishui2/web/dist/assets/budgetInfo.50110c59.js b/lishui2/web/dist/assets/budgetInfo.382af292.js similarity index 69% rename from lishui2/web/dist/assets/budgetInfo.50110c59.js rename to lishui2/web/dist/assets/budgetInfo.382af292.js index 6d1c9ad..5bc20df 100644 --- a/lishui2/web/dist/assets/budgetInfo.50110c59.js +++ b/lishui2/web/dist/assets/budgetInfo.382af292.js @@ -1 +1 @@ -import{_ as k,d as D,D as U,r as f,L as q,e as a,f as d,I as _,l as o,k as t,Y as g,m as b,g as B,F as I,J as M,j as E}from"./index.11dc4694.js";const N=D({name:"projectCollectionEnterBudgetInfo"}),O=Object.assign(N,{props:{detail:{type:Object}},setup(v,{expose:V}){const{budgetSourceOptions:Y}=U.dictStore.globalDicts||{},j=v,m=f(),c=(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=f({}),A={declareAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:c,trigger:"blur"}],approvalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u6279\u590D\u91D1\u989D",trigger:"blur"},{validator:c,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}),q(()=>j.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"),x=a("el-option"),w=a("el-select"),S=a("el-date-picker"),y=a("el-row"),C=a("el-form");return d(),_(C,{ref_key:"formRef",ref:m,model:l.value,rules:A,"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(w,{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),B(I,null,M(E(Y),(r,i)=>(d(),_(x,{key:i,label:r,value:i*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"])}}}),J=k(O,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/budgetInfo.vue"]]);export{J as default}; +import{_ as C,d as U,D as q,r as f,L as B,e as a,f as d,I as _,l as o,k as t,Y as g,m as b,g as I,F as D,J as E,j as M}from"./index.096886c6.js";const O=U({name:"projectCollectionEnterBudgetInfo"}),F=Object.assign(O,{props:{detail:{type:Object}},setup(v,{expose:V}){const{budgetSourceOptions:Y}=q.dictStore.globalDicts||{},j=v,m=f(),c=(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=f({}),A={declareAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:c,trigger:"blur"}],approvalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u6279\u590D\u91D1\u989D",trigger:"blur"},{validator:c,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}),B(()=>j.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"),x=a("el-option"),S=a("el-select"),w=a("el-date-picker"),k=a("el-row"),y=a("el-form");return d(),_(y,{ref_key:"formRef",ref:m,model:l.value,rules:A,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:o(()=>[t(k,{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(S,{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),I(D,null,E(M(Y),(r,i)=>(d(),_(x,{key:i,label:r,value:i*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(w,{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"])}}}),N=C(F,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/budgetInfo.vue"]]);export{N as default}; diff --git a/lishui2/web/dist/assets/budgetInfo.96d76da9.js b/lishui2/web/dist/assets/budgetInfo.3b24d75f.js similarity index 69% rename from lishui2/web/dist/assets/budgetInfo.96d76da9.js rename to lishui2/web/dist/assets/budgetInfo.3b24d75f.js index 5159579..9c94bd1 100644 --- a/lishui2/web/dist/assets/budgetInfo.96d76da9.js +++ b/lishui2/web/dist/assets/budgetInfo.3b24d75f.js @@ -1 +1 @@ -import{_ as D,d as M,D as U,r as f,L as q,e as a,f as d,I as _,l as o,k as t,Y as g,m as b,g as B,F as C,J as I,j as E}from"./index.11dc4694.js";const N=M({name:"projectCollectionEnterBudgetInfo"}),O=Object.assign(N,{props:{detail:{type:Object}},setup(v,{expose:V}){const{budgetSourceOptions:Y}=U.dictStore.globalDicts||{},j=v,m=f(),c=(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=f({}),A={declareAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:c,trigger:"blur"}],approvalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u6279\u590D\u91D1\u989D",trigger:"blur"},{validator:c,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}),q(()=>j.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"),x=a("el-option"),w=a("el-select"),S=a("el-date-picker"),y=a("el-row"),k=a("el-form");return d(),_(k,{ref_key:"formRef",ref:m,model:l.value,rules:A,"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(w,{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),B(C,null,I(E(Y),(r,i)=>(d(),_(x,{key:i,label:r,value:i*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"])}}}),R=D(O,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/budgetInfo.vue"]]);export{R as default}; +import{_ as U,d as q,D as B,r as f,L as C,e as a,f as d,I as _,l as o,k as t,Y as g,m as b,g as I,F as M,J as D,j as E}from"./index.096886c6.js";const O=q({name:"projectCollectionEnterBudgetInfo"}),R=Object.assign(O,{props:{detail:{type:Object}},setup(v,{expose:V}){const{budgetSourceOptions:Y}=B.dictStore.globalDicts||{},j=v,m=f(),c=(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=f({}),A={declareAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:c,trigger:"blur"}],approvalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u6279\u590D\u91D1\u989D",trigger:"blur"},{validator:c,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}),C(()=>j.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"),x=a("el-option"),S=a("el-select"),w=a("el-date-picker"),k=a("el-row"),y=a("el-form");return d(),_(y,{ref_key:"formRef",ref:m,model:l.value,rules:A,"label-position":"top","label-suffix":":","scroll-to-error":""},{default:o(()=>[t(k,{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(S,{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),I(M,null,D(E(Y),(r,i)=>(d(),_(x,{key:i,label:r,value:i*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(w,{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"])}}}),L=U(R,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/budgetInfo.vue"]]);export{L as default}; diff --git a/lishui2/web/dist/assets/businessInfo.067f424c.js b/lishui2/web/dist/assets/businessInfo.067f424c.js deleted file mode 100644 index aae0ae0..0000000 --- a/lishui2/web/dist/assets/businessInfo.067f424c.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,d as o,b as n,e as c,f as r,I as l}from"./index.11dc4694.js";const i=o({name:"businessInfo"}),p=Object.assign(i,{props:{detailData:Object},setup(e){const t=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(m,u)=>{const a=c("table-list");return r(),l(a,{column:t,data:e.detailData.coreBusiness?JSON.parse(e.detailData.coreBusiness):[],pagination:!1,small:!0},null,8,["column","data"])}}}),f=s(p,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/businessInfo.vue"]]);export{f as default}; diff --git a/lishui2/web/dist/assets/businessInfo.cd7c1f83.js b/lishui2/web/dist/assets/businessInfo.cd7c1f83.js new file mode 100644 index 0000000..f988a6a --- /dev/null +++ b/lishui2/web/dist/assets/businessInfo.cd7c1f83.js @@ -0,0 +1 @@ +import{_ as s,d as o,b as n,e as r,f as c,I as l}from"./index.096886c6.js";const i=o({name:"businessInfo"}),p=Object.assign(i,{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(m,u)=>{const t=r("table-list");return c(),l(t,{column:a,data:e.detailData.coreBusiness?JSON.parse(e.detailData.coreBusiness):[],pagination:!1,small:!0},null,8,["column","data"])}}}),d=s(p,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/businessInfo.vue"]]);export{d as default}; diff --git a/lishui2/web/dist/assets/changeInfoDialog.51fd3d95.js b/lishui2/web/dist/assets/changeInfoDialog.40988be4.js similarity index 84% rename from lishui2/web/dist/assets/changeInfoDialog.51fd3d95.js rename to lishui2/web/dist/assets/changeInfoDialog.40988be4.js index f97b161..bfb0b0e 100644 --- a/lishui2/web/dist/assets/changeInfoDialog.51fd3d95.js +++ b/lishui2/web/dist/assets/changeInfoDialog.40988be4.js @@ -1 +1 @@ -var Z=Object.defineProperty,ee=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable;var q=(f,s,d)=>s in f?Z(f,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):f[s]=d,j=(f,s)=>{for(var d in s||(s={}))le.call(s,d)&&q(f,d,s[d]);if(W)for(var d of W(s))te.call(s,d)&&q(f,d,s[d]);return f},H=(f,s)=>ee(f,ae(s));var P=(f,s,d)=>new Promise((S,h)=>{var O=k=>{try{I(d.next(k))}catch(K){h(K)}},F=k=>{try{I(d.throw(k))}catch(K){h(K)}},I=k=>k.done?S(k.value):Promise.resolve(k.value).then(O,F);I((d=d.apply(f,s)).next())});import{_ as oe,d as re,D as ne,b as U,r as $,L as ie,e as A,f as a,I as b,l as p,h as B,k as y,g as l,F as o,J as _,m as n,t as r,j as c,aI as de}from"./index.11dc4694.js";import se from"./flowRecord.3ddea846.js";import{A as T}from"./index.3731dd96.js";import G from"./customModule.2cba4219.js";import Q from"./finalInfo.a5b3be7d.js";import"./index.90958342.js";import"./index.682be1ab.js";const ue={style:{"max-height":"800px"},class:"overflow-y-auto"},fe=B("h2",{class:"mb-8 bold text-16"},"\u8C03\u6574\u7684\u4FE1\u606F",-1),ye={key:14},we={key:14},me=B("h2",{class:"mb-8 bold text-16"},"\u6D41\u7A0B\u8BB0\u5F55",-1),pe=re({name:"flowRecordDialog"}),De=Object.assign(pe,{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:h,fourSystem:O,businessTerritory:F}=ne.dictStore.globalDicts||{},I=f,k=s,K=[{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"}],C=U([{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",key:"fileName",prop:"fileName"},{label:"\u9644\u4EF6",slot:"file"}]),L=U([{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"}]),x=$(),V=$(),X=()=>P(this,null,function*(){const w=yield de(I.id);x.value=[],w.data.changes&&Object.keys(w.data.changes).forEach(m=>{x.value.push({fieldName:m,newData:w.data.changes[m].new,oldData:w.data.changes[m].old,fieldKey:w.data.changes[m].fieldKey})}),V.value={processProgressVo:H(j({},w.data.process.processProgressVo),{progressInfo:Y(w.data.process.processProgressVo.progressInfo)})}}),Y=w=>(w.forEach(m=>{if(m.children){const g=[],D=[];m.children.forEach(u=>{g.includes(u.nodeId)?(D.find(v=>v.nodeId===u.nodeId).list.push(u),D.find(v=>v.nodeId===u.nodeId).userIds.push(u.userId)):(g.push(u.nodeId),D.push({nodeId:u.nodeId,approvalMode:u.approvalMode,name:u.name,nodeType:u.nodeType,list:[j({},u)],userIds:[u.userId]}))}),m.children=D}else m.userIds=[m.userId]}),w),R=["isSuperOrg","isHigherSuperOrg","isFirst","isDigitalReform","isCloud","isTemporaryAugment","includeApplication"],E=["preliminaryPlanFile","supportingMaterialsFile","calculationTotalInvestmentFile","mainResponsibilitiesApplicantFile","projectApplicationForm","constructionPlanFile"];return ie(()=>I.visible,w=>P(this,null,function*(){w&&X()})),(w,m)=>{const g=A("table-list"),D=A("el-descriptions-item"),u=A("el-descriptions"),v=A("el-dialog");return a(),b(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]=J=>k("close"))},{default:p(()=>{var J,z;return[B("div",ue,[fe,y(g,{ref:"tableListRef",column:K,data:x.value,pagination:!1,class:"mb-16"},{oldData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),b(g,{key:0,column:C,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.oldData)},{file:p(t=>[(a(!0),l(o,null,_(t.scope.row.fileList,(i,M)=>(a(),l("p",{key:M,class:"mb-4"},[y(T,{"file-name":i.originalFileName,"file-id":i.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(o,{key:1},[n(r(e.row.oldData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(o,{key:2},[n(r((N=c(d)[e.row.oldData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(o,{key:3},[n(r(e.row.oldData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(o,{key:4},[n(r(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(o,{key:5},[n(r(c(S)[e.row.oldData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(o,{key:6},[n(r(c(F)[e.row.oldData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(o,{key:7},[n(r(e.row.oldData.split(",").map(t=>c(h)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(o,{key:8},[n(r(c(O)[e.row.oldData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(o,{key:9},_(JSON.parse(e.row.oldData),(t,i)=>(a(),b(u,{key:i,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[n(r(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[n(r(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[n(r(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):E.includes(e.row.fieldKey)?(a(!0),l(o,{key:10},_(e.row.oldData&&JSON.parse(e.row.oldData),(t,i)=>(a(),l("p",{key:i,class:"mb-4"},[y(T,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),b(g,{key:11,column:L,data:e.row.oldData?JSON.parse(e.row.oldData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="safetyInputModular"?(a(!0),l(o,{key:12},_(e.row.oldData&&JSON.parse(e.row.oldData),(t,i)=>(a(),l("div",{key:i},[y(G,{data:t,"module-num":i},null,8,["data","module-num"])]))),128)):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),b(Q,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.oldData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",ye,r(e.row.oldData),1))]}),newData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),b(g,{key:0,column:C,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.newData)},{file:p(t=>[(a(!0),l(o,null,_(t.scope.row.fileList,(i,M)=>(a(),l("p",{key:M,class:"mb-4"},[y(T,{"file-name":i.originalFileName,"file-id":i.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(o,{key:1},[n(r(e.row.newData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(o,{key:2},[n(r((N=c(d)[e.row.newData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(o,{key:3},[n(r(e.row.newData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(o,{key:4},[n(r(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(o,{key:5},[n(r(c(S)[e.row.newData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(o,{key:6},[n(r(c(F)[e.row.newData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(o,{key:7},[n(r(e.row.newData.split(",").map(t=>c(h)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(o,{key:8},[n(r(c(O)[e.row.newData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(o,{key:9},_(JSON.parse(e.row.newData),(t,i)=>(a(),b(u,{key:i,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[n(r(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[n(r(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[n(r(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):e.row.fieldKey==="safetyInputModular"?(a(!0),l(o,{key:10},_(e.row.newData&&JSON.parse(e.row.newData),(t,i)=>(a(),l("div",{key:i},[y(G,{data:t,"module-num":i},null,8,["data","module-num"])]))),128)):E.includes(e.row.fieldKey)?(a(!0),l(o,{key:11},_(e.row.newData&&JSON.parse(e.row.newData),(t,i)=>(a(),l("p",{key:i,class:"mb-4"},[y(T,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),b(g,{key:12,column:L,data:e.row.newData?JSON.parse(e.row.newData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),b(Q,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.newData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",we,r(e.row.newData),1))]}),_:1},8,["data"]),me,y(se,{"flow-data":((z=(J=V.value)==null?void 0:J.processProgressVo)==null?void 0:z.progressInfo)||[]},null,8,["flow-data"])])]}),_:1},8,["model-value"])}}}),ve=oe(De,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/toDoCenter/handleDuringExamine/components/changeInfoDialog.vue"]]);export{ve 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 q=(f,s,d)=>s in f?Z(f,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):f[s]=d,j=(f,s)=>{for(var d in s||(s={}))le.call(s,d)&&q(f,d,s[d]);if(z)for(var d of z(s))te.call(s,d)&&q(f,d,s[d]);return f},H=(f,s)=>ee(f,ae(s));var B=(f,s,d)=>new Promise((S,h)=>{var O=k=>{try{I(d.next(k))}catch(K){h(K)}},F=k=>{try{I(d.throw(k))}catch(K){h(K)}},I=k=>k.done?S(k.value):Promise.resolve(k.value).then(O,F);I((d=d.apply(f,s)).next())});import{_ as oe,d as re,D as ne,b as U,r as $,L as ie,e as A,f as a,I as b,l as p,h as C,k as y,g as l,F as o,J as _,m as n,t as r,j as c,aI as de}from"./index.096886c6.js";import se from"./flowRecord.5f93c8d0.js";import{A as T}from"./index.e0e52f0f.js";import G from"./customModule.87ebf86e.js";import Q from"./finalInfo.c7177429.js";import"./index.9e3741ad.js";import"./index.2cfb8ed3.js";const ue={style:{"max-height":"800px"},class:"overflow-y-auto"},fe=C("h2",{class:"mb-8 bold text-16"},"\u8C03\u6574\u7684\u4FE1\u606F",-1),ye={key:14},we={key:14},me=C("h2",{class:"mb-8 bold text-16"},"\u6D41\u7A0B\u8BB0\u5F55",-1),pe=re({name:"flowRecordDialog"}),De=Object.assign(pe,{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:h,fourSystem:O,businessTerritory:F}=ne.dictStore.globalDicts||{},I=f,k=s,K=[{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"}],P=U([{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",key:"fileName",prop:"fileName"},{label:"\u9644\u4EF6",slot:"file"}]),L=U([{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"}]),x=$(),V=$(),X=()=>B(this,null,function*(){const w=yield de(I.id);x.value=[],w.data.changes&&Object.keys(w.data.changes).forEach(m=>{x.value.push({fieldName:m,newData:w.data.changes[m].new,oldData:w.data.changes[m].old,fieldKey:w.data.changes[m].fieldKey})}),V.value={processProgressVo:H(j({},w.data.process.processProgressVo),{progressInfo:Y(w.data.process.processProgressVo.progressInfo)})}}),Y=w=>(w.forEach(m=>{if(m.children){const g=[],D=[];m.children.forEach(u=>{g.includes(u.nodeId)?(D.find(v=>v.nodeId===u.nodeId).list.push(u),D.find(v=>v.nodeId===u.nodeId).userIds.push(u.userId)):(g.push(u.nodeId),D.push({nodeId:u.nodeId,approvalMode:u.approvalMode,name:u.name,nodeType:u.nodeType,list:[j({},u)],userIds:[u.userId]}))}),m.children=D}else m.userIds=[m.userId]}),w),R=["isSuperOrg","isHigherSuperOrg","isFirst","isDigitalReform","isCloud","isTemporaryAugment","includeApplication"],E=["preliminaryPlanFile","supportingMaterialsFile","calculationTotalInvestmentFile","mainResponsibilitiesApplicantFile","projectApplicationForm","constructionPlanFile"];return ie(()=>I.visible,w=>B(this,null,function*(){w&&X()})),(w,m)=>{const g=A("table-list"),D=A("el-descriptions-item"),u=A("el-descriptions"),v=A("el-dialog");return a(),b(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]=J=>k("close"))},{default:p(()=>{var J,W;return[C("div",ue,[fe,y(g,{ref:"tableListRef",column:K,data:x.value,pagination:!1,class:"mb-16"},{oldData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),b(g,{key:0,column:P,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.oldData)},{file:p(t=>[(a(!0),l(o,null,_(t.scope.row.fileList,(i,M)=>(a(),l("p",{key:M,class:"mb-4"},[y(T,{"file-name":i.originalFileName,"file-id":i.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(o,{key:1},[n(r(e.row.oldData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(o,{key:2},[n(r((N=c(d)[e.row.oldData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(o,{key:3},[n(r(e.row.oldData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(o,{key:4},[n(r(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(o,{key:5},[n(r(c(S)[e.row.oldData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(o,{key:6},[n(r(c(F)[e.row.oldData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(o,{key:7},[n(r(e.row.oldData.split(",").map(t=>c(h)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(o,{key:8},[n(r(c(O)[e.row.oldData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(o,{key:9},_(JSON.parse(e.row.oldData),(t,i)=>(a(),b(u,{key:i,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[n(r(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[n(r(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[n(r(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):E.includes(e.row.fieldKey)?(a(!0),l(o,{key:10},_(e.row.oldData&&JSON.parse(e.row.oldData),(t,i)=>(a(),l("p",{key:i,class:"mb-4"},[y(T,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),b(g,{key:11,column:L,data:e.row.oldData?JSON.parse(e.row.oldData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="safetyInputModular"?(a(!0),l(o,{key:12},_(e.row.oldData&&JSON.parse(e.row.oldData),(t,i)=>(a(),l("div",{key:i},[y(G,{data:t,"module-num":i},null,8,["data","module-num"])]))),128)):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),b(Q,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.oldData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",ye,r(e.row.oldData),1))]}),newData:p(({scope:e})=>{var N;return[e.row.fieldKey==="buildBasis"?(a(),b(g,{key:0,column:P,pagination:!1,"empty-temp":!1,data:JSON.parse(e.row.newData)},{file:p(t=>[(a(!0),l(o,null,_(t.scope.row.fileList,(i,M)=>(a(),l("p",{key:M,class:"mb-4"},[y(T,{"file-name":i.originalFileName,"file-id":i.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:2},1032,["column","data"])):e.row.fieldKey==="isInnovateWholeProvinceShare"?(a(),l(o,{key:1},[n(r(e.row.newData==="true"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="status"?(a(),l(o,{key:2},[n(r((N=c(d)[e.row.newData])==null?void 0:N.name),1)],64)):R.includes(e.row.fieldKey)?(a(),l(o,{key:3},[n(r(e.row.newData==="1"?"\u662F":"\u5426"),1)],64)):e.row.fieldKey==="projectType"?(a(),l(o,{key:4},[n(r(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(o,{key:5},[n(r(c(S)[e.row.newData]),1)],64)):e.row.fieldKey==="bizDomain"?(a(),l(o,{key:6},[n(r(c(F)[e.row.newData]),1)],64)):e.row.fieldKey==="cloudType"?(a(),l(o,{key:7},[n(r(e.row.newData.split(",").map(t=>c(h)[t]).join("\u3001")||"-"),1)],64)):e.row.fieldKey==="fourSystems"?(a(),l(o,{key:8},[n(r(c(O)[e.row.newData]),1)],64)):e.row.fieldKey==="safetyInputDescribe"?(a(!0),l(o,{key:9},_(JSON.parse(e.row.newData),(t,i)=>(a(),b(u,{key:i,column:1,border:"",class:"mb-16"},{default:p(()=>[y(D,{label:"\u6295\u5165\u9879"},{default:p(()=>[n(r(t.safetyInputTitle||"-"),1)]),_:2},1024),y(D,{label:"\u5185\u5BB9\u63CF\u8FF0\uFF1A"},{default:p(()=>[n(r(t.safetyInputDescribe||"-"),1)]),_:2},1024),y(D,{label:"\u91D1\u989D\uFF08\u4E07\u5143\uFF09\uFF1A"},{default:p(()=>[n(r(t.safetyInputAmount),1)]),_:2},1024)]),_:2},1024))),128)):e.row.fieldKey==="safetyInputModular"?(a(!0),l(o,{key:10},_(e.row.newData&&JSON.parse(e.row.newData),(t,i)=>(a(),l("div",{key:i},[y(G,{data:t,"module-num":i},null,8,["data","module-num"])]))),128)):E.includes(e.row.fieldKey)?(a(!0),l(o,{key:11},_(e.row.newData&&JSON.parse(e.row.newData),(t,i)=>(a(),l("p",{key:i,class:"mb-4"},[y(T,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128)):e.row.fieldKey==="coreBusiness"?(a(),b(g,{key:12,column:L,data:e.row.newData?JSON.parse(e.row.newData):[],pagination:!1,small:!0},null,8,["column","data"])):e.row.fieldKey==="finalAcceptanceMaterials"?(a(),b(Q,{key:13,"detail-data":{finalAcceptanceMaterials:e.row.newData},"is-show-app":!1},null,8,["detail-data"])):(a(),l("p",we,r(e.row.newData),1))]}),_:1},8,["data"]),me,y(se,{"flow-data":((W=(J=V.value)==null?void 0:J.processProgressVo)==null?void 0:W.progressInfo)||[]},null,8,["flow-data"])])]}),_:1},8,["model-value"])}}}),ve=oe(De,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/toDoCenter/handleDuringExamine/components/changeInfoDialog.vue"]]);export{ve as default}; diff --git a/lishui2/web/dist/assets/checkList.1a08879b.js b/lishui2/web/dist/assets/checkList.426ba2bb.js similarity index 73% rename from lishui2/web/dist/assets/checkList.1a08879b.js rename to lishui2/web/dist/assets/checkList.426ba2bb.js index 0f78be2..78f1a35 100644 --- a/lishui2/web/dist/assets/checkList.1a08879b.js +++ b/lishui2/web/dist/assets/checkList.426ba2bb.js @@ -1,4 +1,4 @@ -var P=Object.defineProperty,V=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var w=(e,l,t)=>l in e?P(e,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[l]=t,g=(e,l)=>{for(var t in l||(l={}))L.call(l,t)&&w(e,t,l[t]);if(y)for(var t of y(l))M.call(l,t)&&w(e,t,l[t]);return e},x=(e,l)=>V(e,D(l));var v=(e,l,t)=>new Promise((s,o)=>{var _=a=>{try{c(t.next(a))}catch(p){o(p)}},b=a=>{try{c(t.throw(a))}catch(p){o(p)}},c=a=>a.done?s(a.value):Promise.resolve(a.value).then(_,b);c((t=t.apply(e,l)).next())});import{_ as U,d as z,r as A,L as B,e as n,f as E,I as H,l as i,k as r,m as F,h as J,al as R}from"./index.11dc4694.js";const Y=e=>v(void 0,null,function*(){return` +var V=Object.defineProperty,L=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,U=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={}))D.call(l,t)&&w(e,t,l[t]);if(y)for(var t of y(l))U.call(l,t)&&w(e,t,l[t]);return e},x=(e,l)=>L(e,P(l));var v=(e,l,t)=>new Promise((s,o)=>{var _=a=>{try{c(t.next(a))}catch(p){o(p)}},b=a=>{try{c(t.throw(a))}catch(p){o(p)}},c=a=>a.done?s(a.value):Promise.resolve(a.value).then(_,b);c((t=t.apply(e,l)).next())});import{_ as z,d as B,r as A,L as E,e as n,f as H,I as M,l as i,k as r,m as F,h as R,al as Y}from"./index.096886c6.js";const q=e=>v(void 0,null,function*(){return` @@ -115,4 +115,4 @@ var P=Object.defineProperty,V=Object.defineProperties;var D=Object.getOwnPropert -`}),q=J("div",{class:"collapse-title"},"\u7EFC\u5408\u610F\u89C1",-1),I=z({name:"expertOpinion"}),K=Object.assign(I,{props:{data:{type:Object}},emits:["submitOpinion"],setup(e,{expose:l,emit:t}){const s=e,o=A({}),_=A(),b={reformAdvices:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A",type:"array"}]},c=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u6574\u6539\u5EFA\u8BAE",slot:"reformAdvice",key:"reformAdvice"}],a=()=>{o.value.reformAdvices.push({})},p=t;return l({getPdf:()=>v(this,null,function*(){const d=yield Y(x(g({},o.value),{advice:o.value.reformAdvices.map(u=>u.reformAdvice)})),m=yield R({content:d,fileName:`${o.value.projectName}\u7EE9\u6548\u6574\u6539\u6E05\u5355.pdf`}),f=x(g({},o.value),{advice:o.value.reformAdvices.map(u=>u.reformAdvice),reformAdvices:void 0});p("submitOpinion",m.data,`${o.value.projectName}\u7EE9\u6548\u6574\u6539\u6E05\u5355.pdf`,JSON.stringify(f))}),formRef:_}),B(()=>s.data,d=>v(this,null,function*(){var m;d&&(o.value=x(g({},d),{reformAdvices:((m=d.advice)==null?void 0:m.map(f=>({reformAdvice:f})))||[],advice:void 0}))}),{immediate:!0}),(d,m)=>{const f=n("el-button"),u=n("el-input"),k=n("table-list"),$=n("el-form-item"),j=n("el-col"),N=n("el-row"),T=n("el-collapse-item"),C=n("el-collapse"),O=n("el-form");return E(),H(O,{ref_key:"formRef",ref:_,model:o.value,rules:b,"label-suffix":":"},{default:i(()=>[r(C,null,{default:i(()=>[r(T,{name:"5"},{title:i(()=>[q]),default:i(()=>[r(N,null,{default:i(()=>[r(j,{span:24},{default:i(()=>[r(f,{type:"primary",icon:"Plus",plain:"",class:"w-full mb-8",onClick:a},{default:i(()=>[F("\u65B0\u589E\u5EFA\u8BAE")]),_:1}),r($,{prop:"reformAdvices"},{default:i(()=>[r(k,{data:o.value.reformAdvices,column:c,pagination:!1,"empty-temp":!1,class:"w-full"},{reformAdvice:i(({scope:h})=>[r(u,{modelValue:h.row.reformAdvice,"onUpdate:modelValue":S=>h.row.reformAdvice=S,placeholder:"\u8BF7\u586B\u5199",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"])]),_:1},8,["data"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),G=U(K,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/unitSelfEvaluation/scoreDetail/components/checkList.vue"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:G},Symbol.toStringTag,{value:"Module"}));export{G as C,Z as c,Y as g}; +`}),I=R("div",{class:"collapse-title"},"\u7EFC\u5408\u610F\u89C1",-1),J=B({name:"expertOpinion"}),W=Object.assign(J,{props:{data:{type:Object}},emits:["submitOpinion"],setup(e,{expose:l,emit:t}){const s=e,o=A({}),_=A(),b={reformAdvices:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A",type:"array"}]},c=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u6574\u6539\u5EFA\u8BAE",slot:"reformAdvice",key:"reformAdvice"}],a=()=>{o.value.reformAdvices.push({})},p=t;return l({getPdf:()=>v(this,null,function*(){const d=yield q(x(g({},o.value),{advice:o.value.reformAdvices.map(u=>u.reformAdvice)})),m=yield Y({content:d,fileName:`${o.value.projectName}\u7EE9\u6548\u6574\u6539\u6E05\u5355.pdf`}),f=x(g({},o.value),{advice:o.value.reformAdvices.map(u=>u.reformAdvice),reformAdvices:void 0});p("submitOpinion",m.data,`${o.value.projectName}\u7EE9\u6548\u6574\u6539\u6E05\u5355.pdf`,JSON.stringify(f))}),formRef:_}),E(()=>s.data,d=>v(this,null,function*(){var m;d&&(o.value=x(g({},d),{reformAdvices:((m=d.advice)==null?void 0:m.map(f=>({reformAdvice:f})))||[],advice:void 0}))}),{immediate:!0}),(d,m)=>{const f=n("el-button"),u=n("el-input"),k=n("table-list"),$=n("el-form-item"),S=n("el-col"),T=n("el-row"),j=n("el-collapse-item"),C=n("el-collapse"),N=n("el-form");return H(),M(N,{ref_key:"formRef",ref:_,model:o.value,rules:b,"label-suffix":":"},{default:i(()=>[r(C,null,{default:i(()=>[r(j,{name:"5"},{title:i(()=>[I]),default:i(()=>[r(T,null,{default:i(()=>[r(S,{span:24},{default:i(()=>[r(f,{type:"primary",icon:"Plus",plain:"",class:"w-full mb-8",onClick:a},{default:i(()=>[F("\u65B0\u589E\u5EFA\u8BAE")]),_:1}),r($,{prop:"reformAdvices"},{default:i(()=>[r(k,{data:o.value.reformAdvices,column:c,pagination:!1,"empty-temp":!1,class:"w-full"},{reformAdvice:i(({scope:h})=>[r(u,{modelValue:h.row.reformAdvice,"onUpdate:modelValue":O=>h.row.reformAdvice=O,placeholder:"\u8BF7\u586B\u5199",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"])]),_:1},8,["data"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),G=z(W,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/performanceEvaluation/unitSelfEvaluation/scoreDetail/components/checkList.vue"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:G},Symbol.toStringTag,{value:"Module"}));export{G as C,Z as c,q as g}; diff --git a/lishui2/web/dist/assets/childFlow.09303043.js b/lishui2/web/dist/assets/childFlow.6feab069.js similarity index 76% rename from lishui2/web/dist/assets/childFlow.09303043.js rename to lishui2/web/dist/assets/childFlow.6feab069.js index 88eff47..cbae56f 100644 --- a/lishui2/web/dist/assets/childFlow.09303043.js +++ b/lishui2/web/dist/assets/childFlow.6feab069.js @@ -1 +1 @@ -import{_ as H,d as Q,D as X,aq as g,e as C,f as t,g as l,J as w,i as p,h as n,n as j,k as c,Y as U,t as f,F as m,I as D,l as s,m as h,j as x}from"./index.11dc4694.js";const Z={key:0},L={class:"node flex flex-col justify-center items-center"},ee=["onClick"],oe={class:"tit"},te={class:"content"},ne={key:2,class:"text-info"},le={class:"flex flex-col"},se={class:"conNode"},ce={key:0,class:"topLine"},ae=["onClick"],ie={class:"conOut flex justify-between"},de={class:"node flex flex-col justify-center items-center"},re=n("p",{class:"line"},null,-1),_e=["onClick"],pe={class:"tit"},ue={key:0},fe={key:1},he={key:2,class:"content"},ye=n("a",null,"\u7B5B\u9009\u6570\u636E",-1),Ce=[ye],ke={key:3,class:"content"},ve=n("span",{class:"text-info"},"\u5E76\u884C\u4EFB\u52A1\uFF08\u540C\u65F6\u8FDB\u884C\uFF09",-1),Ne=[ve];const ge=n("p",{class:"spec_line"},null,-1),me={key:1,class:"bot_line"},Te={key:0,class:"flex justify-center items-center"},we={class:"flex flex-col"},Oe=Q({name:"childFlow"}),be=Object.assign(Oe,{props:{nodeData:Array},setup(i){const{filedConditionsOptions:O}=X.dictStore.globalDicts||{},G=g("showApprovalDialog"),M=g("showConditionDialog"),F=g("showConcurrentDialog"),P=g("addNode"),J=g("removeNode"),W=g("addCondition"),k=d=>{P(d)},E=(d,a,u,b)=>{J(d,a,u,b)},q=(d,a)=>{W(d,a)},I=({key:d,type:a,item:u})=>{a==="SUB"&&G({key:d,type:a,item:u}),a==="CONDITION"&&M({key:d,type:a,item:u}),a==="CONCURRENT"&&F({key:d,type:a,item:u})};return(d,a)=>{const u=C("svg-icon"),b=C("el-tag"),R=C("Plus"),S=C("el-icon"),v=C("el-button"),$=C("el-popover"),z=C("child-flow",!0);return t(!0),l(m,null,w(i.nodeData,(o,r)=>{var B;return t(),l("div",{key:r,class:"childFlow"},[p(" \u5BA1\u6279\u8282\u70B9"),o.branchs?(t(),l(m,{key:1},[p(" \u6761\u4EF6\u8282\u70B9"),n("div",se,[o.branchs?(t(),l("p",ce,[n("span",{class:"text-primary cursor-pointer bg-white text-center text-12",onClick:e=>q(o.branchs,o.type)},f(o.type==="CONDITIONS"?"\u6DFB\u52A0\u6761\u4EF6":"\u6DFB\u52A0\u5206\u652F"),9,ae)])):p("v-if",!0),n("div",ie,[(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,[re,n("div",{class:j(`box box_${e.type} px-24 py-16 bg-white rounded-4`),onClick:N=>I({key:T,type:e.type,item:e})},[c(u,{name:"delIcon","svg-class":"delIcon",onClick:U(N=>E(T,o,r,i.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,(N,A)=>(t(),l("div",{key:A},[n("div",pe,[(t(!0),l(m,null,w(N.conditions,(_,K)=>(t(),l("p",{key:K},[n("span",null,f(_.title)+f(x(O).find(y=>_.id===y.value).judges[_.compare])+f(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(Y=>_.id===Y.value).options[y]).join("\u3001"):_.value.join("\u3001")),1)]))),128))]),A[c(S,{class:"add_icon mt-20 mb-20 cursor-pointer"},{default:s(()=>[c(R)]),_:1})]),default:s(()=>[n("div",we,[n("p",null,[c(v,{class:"mb-8 w-full",onClick:e=>k({key:r,type:"SUB",item:i.nodeData})},{default:s(()=>[h(" \u5355\u4F4D ")]),_:2},1032,["onClick"])]),n("p",null,[c(v,{class:"ml-1 w-full mb-8",onClick:e=>k({key:r,type:"CONDITIONS",item:i.nodeData})},{default:s(()=>[h(" \u6570\u636E\u7B5B\u9009 ")]),_:2},1032,["onClick"])]),n("p",null,[c(v,{class:"ml-1 w-full",onClick:e=>k({key:r,type:"CONCURRENTS",item:i.nodeData})},{default:s(()=>[h(" \u5E76\u884C\u5206\u652F ")]),_:2},1032,["onClick"])])])]),_:2},1024)])):p("v-if",!0)],64)):(t(),l("div",Z,[n("div",L,[n("div",{class:j(`box box_${o.type} px-24 py-16 bg-white rounded-4`),onClick:e=>I({key:r,type:o.type,item:i.nodeData})},[c(u,{name:"delIcon","svg-class":"delIcon",onClick:U(e=>E(r,i.nodeData),["stop"])},null,8,["onClick"]),n("p",oe,f(o.name),1),n("div",te,[o.props&&((B=o.props.assignedOrg)==null?void 0:B.length)?(t(!0),l(m,{key:0},w(o.props.assignedOrg,(e,T)=>(t(),D(b,{key:T,type:"info"},{default:s(()=>[h(f(e.orgType==="TARGET_LABEL"?e.orgName:e.orgType==="TARGET_MANAGEMENT"?"\u4E3B\u7BA1\u5355\u4F4D":e.orgType==="TARGET_OWNER"?"\u53D1\u8D77\u5355\u4F4D":"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D"),1)]),_:2},1024))),128)):o.props&&o.props.orgType&&o.props.orgType!=="TARGET_LABEL"?(t(),D(b,{key:1,type:"info"},{default:s(()=>[h(f(o.props.orgType==="TARGET_MANAGEMENT"?"\u4E3B\u7BA1\u5355\u4F4D":o.props.orgType==="TARGET_OWNER"?"\u53D1\u8D77\u5355\u4F4D":"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D"),1)]),_:2},1024)):(t(),l("span",ne,"\u8BF7\u9009\u62E9\u5BA1\u6279\u5355\u4F4D"))])],10,ee),o.type!=="CONDITIONS"&&o.type!="CONCURRENTS"?(t(),D($,{key:0,placement:"right",width:100,trigger:"hover"},{reference:s(()=>[c(S,{class:"add_icon mt-20 mb-20 cursor-pointer"},{default:s(()=>[c(R)]),_:1})]),default:s(()=>[n("div",le,[n("p",null,[c(v,{class:"mb-8 w-full",onClick:e=>k({key:r,type:"SUB",item:i.nodeData})},{default:s(()=>[h(" \u5355\u4F4D ")]),_:2},1032,["onClick"])]),n("p",null,[c(v,{class:"ml-1 w-full mb-8",onClick:e=>k({key:r,type:"CONDITIONS",item:i.nodeData})},{default:s(()=>[h(" \u6570\u636E\u7B5B\u9009 ")]),_:2},1032,["onClick"])]),n("p",null,[c(v,{class:"ml-1 w-full",onClick:e=>k({key:r,type:"CONCURRENTS",item:i.nodeData})},{default:s(()=>[h(" \u5E76\u884C\u5206\u652F ")]),_:2},1032,["onClick"])])])]),_:2},1024)):p("v-if",!0)])]))])}),128)}}}),xe=H(be,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/systemManage/flowConfiguration/configEdit/components/childFlow.vue"]]);export{xe as default}; +import{_ as K,d as Q,D as X,aq as g,e as C,f as t,g as l,J as w,i as p,h as n,n as j,k as c,Y as U,t as f,F as m,I as x,l as s,m as h,j as D}from"./index.096886c6.js";const Z={key:0},L={class:"node flex flex-col justify-center items-center"},ee=["onClick"],oe={class:"tit"},te={class:"content"},ne={key:2,class:"text-info"},le={class:"flex flex-col"},se={class:"conNode"},ce={key:0,class:"topLine"},ae=["onClick"],ie={class:"conOut flex justify-between"},de={class:"node flex flex-col justify-center items-center"},re=n("p",{class:"line"},null,-1),_e=["onClick"],pe={class:"tit"},ue={key:0},fe={key:1},he={key:2,class:"content"},ye=n("a",null,"\u7B5B\u9009\u6570\u636E",-1),Ce=[ye],ke={key:3,class:"content"},ve=n("span",{class:"text-info"},"\u5E76\u884C\u4EFB\u52A1\uFF08\u540C\u65F6\u8FDB\u884C\uFF09",-1),Ne=[ve];const ge=n("p",{class:"spec_line"},null,-1),me={key:1,class:"bot_line"},Te={key:0,class:"flex justify-center items-center"},we={class:"flex flex-col"},Oe=Q({name:"childFlow"}),be=Object.assign(Oe,{props:{nodeData:Array},setup(i){const{filedConditionsOptions:O}=X.dictStore.globalDicts||{},G=g("showApprovalDialog"),F=g("showConditionDialog"),M=g("showConcurrentDialog"),P=g("addNode"),W=g("removeNode"),q=g("addCondition"),k=d=>{P(d)},E=(d,a,u,b)=>{W(d,a,u,b)},z=(d,a)=>{q(d,a)},I=({key:d,type:a,item:u})=>{a==="SUB"&&G({key:d,type:a,item:u}),a==="CONDITION"&&F({key:d,type:a,item:u}),a==="CONCURRENT"&&M({key:d,type:a,item:u})};return(d,a)=>{const u=C("svg-icon"),b=C("el-tag"),R=C("Plus"),S=C("el-icon"),v=C("el-button"),$=C("el-popover"),J=C("child-flow",!0);return t(!0),l(m,null,w(i.nodeData,(o,r)=>{var B;return t(),l("div",{key:r,class:"childFlow"},[p(" \u5BA1\u6279\u8282\u70B9"),o.branchs?(t(),l(m,{key:1},[p(" \u6761\u4EF6\u8282\u70B9"),n("div",se,[o.branchs?(t(),l("p",ce,[n("span",{class:"text-primary cursor-pointer bg-white text-center text-12",onClick:e=>z(o.branchs,o.type)},f(o.type==="CONDITIONS"?"\u6DFB\u52A0\u6761\u4EF6":"\u6DFB\u52A0\u5206\u652F"),9,ae)])):p("v-if",!0),n("div",ie,[(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,[re,n("div",{class:j(`box box_${e.type} px-24 py-16 bg-white rounded-4`),onClick:N=>I({key:T,type:e.type,item:e})},[c(u,{name:"delIcon","svg-class":"delIcon",onClick:U(N=>E(T,o,r,i.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,(N,A)=>(t(),l("div",{key:A},[n("div",pe,[(t(!0),l(m,null,w(N.conditions,(_,Y)=>(t(),l("p",{key:Y},[n("span",null,f(_.title)+f(D(O).find(y=>_.id===y.value).judges[_.compare])+f(D(O).find(y=>_.id===y.value).type==="bool_condition"?`${_.value.join("\u3001")*1?"\u662F":"\u5426"}`:D(O).find(y=>_.id===y.value).type==="value_condition"?_.value.map(y=>D(O).find(H=>_.id===H.value).options[y]).join("\u3001"):_.value.join("\u3001")),1)]))),128))]),A[c(S,{class:"add_icon mt-20 mb-20 cursor-pointer"},{default:s(()=>[c(R)]),_:1})]),default:s(()=>[n("div",we,[n("p",null,[c(v,{class:"mb-8 w-full",onClick:e=>k({key:r,type:"SUB",item:i.nodeData})},{default:s(()=>[h(" \u5355\u4F4D ")]),_:2},1032,["onClick"])]),n("p",null,[c(v,{class:"ml-1 w-full mb-8",onClick:e=>k({key:r,type:"CONDITIONS",item:i.nodeData})},{default:s(()=>[h(" \u6570\u636E\u7B5B\u9009 ")]),_:2},1032,["onClick"])]),n("p",null,[c(v,{class:"ml-1 w-full",onClick:e=>k({key:r,type:"CONCURRENTS",item:i.nodeData})},{default:s(()=>[h(" \u5E76\u884C\u5206\u652F ")]),_:2},1032,["onClick"])])])]),_:2},1024)])):p("v-if",!0)],64)):(t(),l("div",Z,[n("div",L,[n("div",{class:j(`box box_${o.type} px-24 py-16 bg-white rounded-4`),onClick:e=>I({key:r,type:o.type,item:i.nodeData})},[c(u,{name:"delIcon","svg-class":"delIcon",onClick:U(e=>E(r,i.nodeData),["stop"])},null,8,["onClick"]),n("p",oe,f(o.name),1),n("div",te,[o.props&&((B=o.props.assignedOrg)==null?void 0:B.length)?(t(!0),l(m,{key:0},w(o.props.assignedOrg,(e,T)=>(t(),x(b,{key:T,type:"info"},{default:s(()=>[h(f(e.orgType==="TARGET_LABEL"?e.orgName:e.orgType==="TARGET_MANAGEMENT"?"\u4E3B\u7BA1\u5355\u4F4D":e.orgType==="TARGET_OWNER"?"\u53D1\u8D77\u5355\u4F4D":"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D"),1)]),_:2},1024))),128)):o.props&&o.props.orgType&&o.props.orgType!=="TARGET_LABEL"?(t(),x(b,{key:1,type:"info"},{default:s(()=>[h(f(o.props.orgType==="TARGET_MANAGEMENT"?"\u4E3B\u7BA1\u5355\u4F4D":o.props.orgType==="TARGET_OWNER"?"\u53D1\u8D77\u5355\u4F4D":"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D"),1)]),_:2},1024)):(t(),l("span",ne,"\u8BF7\u9009\u62E9\u5BA1\u6279\u5355\u4F4D"))])],10,ee),o.type!=="CONDITIONS"&&o.type!="CONCURRENTS"?(t(),x($,{key:0,placement:"right",width:100,trigger:"hover"},{reference:s(()=>[c(S,{class:"add_icon mt-20 mb-20 cursor-pointer"},{default:s(()=>[c(R)]),_:1})]),default:s(()=>[n("div",le,[n("p",null,[c(v,{class:"mb-8 w-full",onClick:e=>k({key:r,type:"SUB",item:i.nodeData})},{default:s(()=>[h(" \u5355\u4F4D ")]),_:2},1032,["onClick"])]),n("p",null,[c(v,{class:"ml-1 w-full mb-8",onClick:e=>k({key:r,type:"CONDITIONS",item:i.nodeData})},{default:s(()=>[h(" \u6570\u636E\u7B5B\u9009 ")]),_:2},1032,["onClick"])]),n("p",null,[c(v,{class:"ml-1 w-full",onClick:e=>k({key:r,type:"CONCURRENTS",item:i.nodeData})},{default:s(()=>[h(" \u5E76\u884C\u5206\u652F ")]),_:2},1032,["onClick"])])])]),_:2},1024)):p("v-if",!0)])]))])}),128)}}}),De=K(be,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/systemManage/flowConfiguration/configEdit/components/childFlow.vue"]]);export{De as default}; diff --git a/lishui2/web/dist/assets/childFlow.c73ee441.js b/lishui2/web/dist/assets/childFlow.c73ee441.js deleted file mode 100644 index a0b3b81..0000000 --- a/lishui2/web/dist/assets/childFlow.c73ee441.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as V,d as B,aq as h,e as i,f as d,g as _,J as g,i as w,h as e,n as I,k as t,Y as O,t as k,F as D,I as S,l as n,m as p,j as E}from"./index.11dc4694.js";const L={key:0},T={class:"node flex flex-col justify-center items-center"},U=["onClick"],J={class:"tit"},M={class:"content"},R={key:1,class:"text-info"},q={class:"flex flex-col"},z=B({name:"childFlow"}),K=Object.assign(z,{props:{nodeData:Array},setup(s){const b=h("showApprovalDialog"),y=h("addNode"),N=h("removeNode"),f=c=>{y(c)},x=(c,u,r,v)=>{N(c,u,r,v)},F=({key:c,type:u,item:r})=>{b({key:c,type:u,item:r})};return(c,u)=>{const r=i("svg-icon"),v=i("el-tag"),$=i("Plus"),j=i("el-icon"),m=i("el-button"),A=i("el-popover");return d(!0),_(D,null,g(s.nodeData,(o,l)=>{var C;return d(),_("div",{key:l,class:"childFlow"},[w(" \u5BA1\u6279\u8282\u70B9"),o.branchs?w("v-if",!0):(d(),_("div",L,[e("div",T,[e("div",{class:I(`box box_${o.type} px-24 py-16 bg-white rounded-4`),onClick:a=>F({key:l,type:o.type,item:s.nodeData})},[t(r,{name:"delIcon","svg-class":"delIcon",onClick:O(a=>x(l,s.nodeData),["stop"])},null,8,["onClick"]),e("p",J,k(o.name),1),e("div",M,[o.props&&((C=o.props.assignedUser)==null?void 0:C.length)?(d(!0),_(D,{key:0},g(o.props.assignedUser,(a,P)=>(d(),S(v,{key:P,type:"info",class:"mr-4"},{default:n(()=>[p(k(a.name),1)]),_:2},1024))),128)):(d(),_("span",R,k(o.placeholder||"\u8BF7\u9009\u62E9"),1))])],10,U),t(A,{placement:"right",width:100,trigger:"hover"},{reference:n(()=>[t(j,{class:"add_icon mt-20 mb-20 cursor-pointer"},{default:n(()=>[t($)]),_:1})]),default:n(()=>[e("div",q,[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=>E(y)({key:l,type:"CONSTRCTION",item:s.nodeData})},{default:n(()=>[p(" \u5EFA\u8BBE\u5BA1\u6279\u4EBA ")]),_:2},1032,["onClick"])])])]),_:2},1024)])]))])}),128)}}}),G=V(K,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/unitSet/flowPathConfiguration/configEdit/components/childFlow.vue"]]);export{G as default}; diff --git a/lishui2/web/dist/assets/childFlow.d6367fa5.js b/lishui2/web/dist/assets/childFlow.d6367fa5.js new file mode 100644 index 0000000..7c86e2e --- /dev/null +++ b/lishui2/web/dist/assets/childFlow.d6367fa5.js @@ -0,0 +1 @@ +import{_ as S,d as V,aq as h,e as i,f as d,g as _,J as C,i as w,h as e,n as B,k as t,Y as I,t as k,F as b,I as O,l as n,m as p,j as E}from"./index.096886c6.js";const L={key:0},T={class:"node flex flex-col justify-center items-center"},U=["onClick"],R={class:"tit"},q={class:"content"},z={key:1,class:"text-info"},J={class:"flex flex-col"},M=V({name:"childFlow"}),W=Object.assign(M,{props:{nodeData:Array},setup(s){const D=h("showApprovalDialog"),y=h("addNode"),N=h("removeNode"),f=c=>{y(c)},x=(c,u,r,v)=>{N(c,u,r,v)},F=({key:c,type:u,item:r})=>{D({key:c,type:u,item:r})};return(c,u)=>{const r=i("svg-icon"),v=i("el-tag"),$=i("Plus"),A=i("el-icon"),m=i("el-button"),j=i("el-popover");return d(!0),_(b,null,C(s.nodeData,(o,l)=>{var g;return d(),_("div",{key:l,class:"childFlow"},[w(" \u5BA1\u6279\u8282\u70B9"),o.branchs?w("v-if",!0):(d(),_("div",L,[e("div",T,[e("div",{class:B(`box box_${o.type} px-24 py-16 bg-white rounded-4`),onClick:a=>F({key:l,type:o.type,item:s.nodeData})},[t(r,{name:"delIcon","svg-class":"delIcon",onClick:I(a=>x(l,s.nodeData),["stop"])},null,8,["onClick"]),e("p",R,k(o.name),1),e("div",q,[o.props&&((g=o.props.assignedUser)==null?void 0:g.length)?(d(!0),_(b,{key:0},C(o.props.assignedUser,(a,P)=>(d(),O(v,{key:P,type:"info",class:"mr-4"},{default:n(()=>[p(k(a.name),1)]),_:2},1024))),128)):(d(),_("span",z,k(o.placeholder||"\u8BF7\u9009\u62E9"),1))])],10,U),t(j,{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=>E(y)({key:l,type:"CONSTRCTION",item:s.nodeData})},{default:n(()=>[p(" \u5EFA\u8BBE\u5BA1\u6279\u4EBA ")]),_:2},1032,["onClick"])])])]),_:2},1024)])]))])}),128)}}}),G=S(W,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/unitSet/flowPathConfiguration/configEdit/components/childFlow.vue"]]);export{G as default}; diff --git a/lishui2/web/dist/assets/concurrentDialog.1d6163a5.js b/lishui2/web/dist/assets/concurrentDialog.1d6163a5.js new file mode 100644 index 0000000..cbfc913 --- /dev/null +++ b/lishui2/web/dist/assets/concurrentDialog.1d6163a5.js @@ -0,0 +1 @@ +var c=(i,f,o)=>new Promise((r,u)=>{var l=t=>{try{d(o.next(t))}catch(e){u(e)}},p=t=>{try{d(o.throw(t))}catch(e){u(e)}},d=t=>t.done?r(t.value):Promise.resolve(t.value).then(l,p);d((o=o.apply(i,f)).next())});import{_ as V,d as j,r as g,L as B,e as n,f as D,I,l as a,k as s,m as b}from"./index.096886c6.js";const $=j({name:"concurrentDialog"}),q=Object.assign($,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","update:data"],setup(i,{emit:f}){const o=i,r=f,u=g(),l=g({name:void 0}),p={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u652F\u540D\u79F0",trigger:"blur"}]},d=t=>c(this,null,function*(){!t||(yield t.validate(e=>c(this,null,function*(){if(e){const _={name:l.value.name,id:o.data.id||"",parentId:o.data.parentId||""};r("update:data",_),r("close",!0)}})))});return B(()=>o.visible,t=>c(this,null,function*(){t?l.value={name:o.data.name}:u.value.resetFields()})),(t,e)=>{const _=n("el-input"),y=n("el-form-item"),k=n("el-col"),w=n("el-row"),x=n("el-form"),v=n("el-button"),C=n("el-dialog");return D(),I(C,{"model-value":i.visible,title:"\u5E76\u884C\u5206\u652F\u8282\u70B9\u8BBE\u7F6E",width:"840px","destroy-on-close":"",onClose:e[3]||(e[3]=m=>r("close"))},{footer:a(()=>[s(v,{type:"primary",onClick:e[1]||(e[1]=m=>d(u.value))},{default:a(()=>[b(" \u63D0\u4EA4 ")]),_:1}),s(v,{onClick:e[2]||(e[2]=m=>r("close"))},{default:a(()=>[b(" \u5173\u95ED ")]),_:1})]),default:a(()=>[s(x,{ref_key:"formRef",ref:u,model:l.value,rules:p,"label-width":"115px","label-suffix":":"},{default:a(()=>[s(w,null,{default:a(()=>[s(k,{span:24},{default:a(()=>[s(y,{label:"\u5206\u652F\u540D\u79F0",prop:"name"},{default:a(()=>[s(_,{modelValue:l.value.name,"onUpdate:modelValue":e[0]||(e[0]=m=>l.value.name=m),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),R=V(q,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/systemManage/flowConfiguration/configEdit/components/concurrentDialog.vue"]]);export{R as default}; diff --git a/lishui2/web/dist/assets/concurrentDialog.72a17e4d.js b/lishui2/web/dist/assets/concurrentDialog.72a17e4d.js deleted file mode 100644 index edb8915..0000000 --- a/lishui2/web/dist/assets/concurrentDialog.72a17e4d.js +++ /dev/null @@ -1 +0,0 @@ -var c=(d,f,o)=>new Promise((r,u)=>{var a=t=>{try{i(o.next(t))}catch(e){u(e)}},p=t=>{try{i(o.throw(t))}catch(e){u(e)}},i=t=>t.done?r(t.value):Promise.resolve(t.value).then(a,p);i((o=o.apply(d,f)).next())});import{_ as D,d as V,r as g,L as j,e as n,f as B,I,l,k as s,m as b}from"./index.11dc4694.js";const N=V({name:"concurrentDialog"}),$=Object.assign(N,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","update:data"],setup(d,{emit:f}){const o=d,r=f,u=g(),a=g({name:void 0}),p={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u652F\u540D\u79F0",trigger:"blur"}]},i=t=>c(this,null,function*(){!t||(yield t.validate(e=>c(this,null,function*(){if(e){const _={name:a.value.name,id:o.data.id||"",parentId:o.data.parentId||""};r("update:data",_),r("close",!0)}})))});return j(()=>o.visible,t=>c(this,null,function*(){t?a.value={name:o.data.name}:u.value.resetFields()})),(t,e)=>{const _=n("el-input"),y=n("el-form-item"),w=n("el-col"),x=n("el-row"),C=n("el-form"),v=n("el-button"),k=n("el-dialog");return B(),I(k,{"model-value":d.visible,title:"\u5E76\u884C\u5206\u652F\u8282\u70B9\u8BBE\u7F6E",width:"840px","destroy-on-close":"",onClose:e[3]||(e[3]=m=>r("close"))},{footer:l(()=>[s(v,{type:"primary",onClick:e[1]||(e[1]=m=>i(u.value))},{default:l(()=>[b(" \u63D0\u4EA4 ")]),_:1}),s(v,{onClick:e[2]||(e[2]=m=>r("close"))},{default:l(()=>[b(" \u5173\u95ED ")]),_:1})]),default:l(()=>[s(C,{ref_key:"formRef",ref:u,model:a.value,rules:p,"label-width":"115px","label-suffix":":"},{default:l(()=>[s(x,null,{default:l(()=>[s(w,{span:24},{default:l(()=>[s(y,{label:"\u5206\u652F\u540D\u79F0",prop:"name"},{default:l(()=>[s(_,{modelValue:a.value.name,"onUpdate:modelValue":e[0]||(e[0]=m=>a.value.name=m),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),O=D($,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/systemManage/flowConfiguration/configEdit/components/concurrentDialog.vue"]]);export{O as default}; diff --git a/lishui2/web/dist/assets/conditionDialog.260533d4.js b/lishui2/web/dist/assets/conditionDialog.260533d4.js deleted file mode 100644 index 6aecd23..0000000 --- a/lishui2/web/dist/assets/conditionDialog.260533d4.js +++ /dev/null @@ -1 +0,0 @@ -var k=Object.defineProperty,x=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var J=(d,i,t)=>i in d?k(d,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[i]=t,L=(d,i)=>{for(var t in i||(i={}))oe.call(i,t)&&J(d,t,i[t]);if(E)for(var t of E(i))le.call(i,t)&&J(d,t,i[t]);return d},M=(d,i)=>x(d,ee(i));var P=(d,i,t)=>new Promise((U,C)=>{var j=b=>{try{N(t.next(b))}catch(O){C(O)}},o=b=>{try{N(t.throw(b))}catch(O){C(O)}},N=b=>b.done?U(b.value):Promise.resolve(b.value).then(j,o);N((t=t.apply(d,i)).next())});import{_ as te,d as ae,D as ue,r as S,L as ne,e as m,f as s,I as D,l as n,k as u,m as A,g as v,F as g,J as $,h as K,j as V,i as y,t as se}from"./index.11dc4694.js";const ie={class:"orBox"},re={class:"flexbetween"},de=["onClick"],ce={key:0,class:"mx-48 my-17 bg-warning text-white rounded-full w-24 h-24 flex items-center justify-center"},pe=ae({name:"conditionDialog"}),ve=Object.assign(pe,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","update:data"],setup(d,{emit:i}){const{filedConditionsOptions:t}=ue.dictStore.globalDicts||{},U=d,C=i,j=S(),o=S({groups:[]}),N={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F01\u4E1A\u540D\u79F0",trigger:"blur"}]},b=c=>P(this,null,function*(){if(!c){C("close",!0);return}yield c.validate(r=>P(this,null,function*(){if(r){const p=[];o.value.groups.length&&o.value.groups.forEach((B,T)=>{const F=B.conditions.map(f=>({id:f.id,title:t.find(w=>w.value===f.id).label,compare:f.compare,value:Array.of(f.value),valueType:t.find(w=>w.value===f.id).valueType}));p.push({groupType:"AND",conditions:F,cids:F.map(f=>f.id)})});const _={id:U.data.id,name:U.data.name,type:"CONDITION",props:{groups:p,groupsType:"OR"}};C("update:data",_),C("close",!0)}}))}),O=c=>{o.value.groups[c].conditions.push({})},G=(c,r)=>{o.value.groups[c].conditions.splice(r,1)},H=()=>{o.value.groups.push({conditions:[]})},Q=c=>{o.value.groups.splice(c,1)},W=(c,r)=>{o.value.groups[c].conditions[r].compare=void 0,o.value.groups[c].conditions[r].value=void 0};return ne(()=>U.visible,c=>P(this,null,function*(){c?o.value={groups:U.data.props.groups.map(r=>({conditions:r.conditions.map(p=>M(L({},p),{value:t.find(_=>_.value===p.id).type==="bool_condition"?p.value.join()*1:p.value.join()}))}))}:j.value.resetFields()})),(c,r)=>{const p=m("el-option"),_=m("el-select"),B=m("el-form-item"),T=m("el-col"),F=m("el-input"),f=m("Delete"),w=m("el-icon"),X=m("el-row"),R=m("Plus"),I=m("el-button"),Y=m("el-form"),Z=m("el-dialog");return s(),D(Z,{"model-value":d.visible,title:"\u7B5B\u9009\u6570\u636E",width:"840px","destroy-on-close":"",onClose:r[2]||(r[2]=q=>C("close"))},{footer:n(()=>[u(I,{type:"primary",onClick:r[0]||(r[0]=q=>b(j.value))},{default:n(()=>[A(" \u63D0\u4EA4 ")]),_:1}),u(I,{onClick:r[1]||(r[1]=q=>C("close"))},{default:n(()=>[A(" \u5173\u95ED ")]),_:1})]),default:n(()=>[u(Y,{ref_key:"formRef",ref:j,model:o.value,rules:N,"label-suffix":":",class:"form"},{default:n(()=>[(s(!0),v(g,null,$(o.value.groups,(q,l)=>(s(),v("div",{key:l},[K("div",ie,[(s(!0),v(g,null,$(q.conditions,(z,a)=>(s(),D(X,{key:a,gutter:8,class:"mb-8"},{default:n(()=>[u(T,{span:8},{default:n(()=>[u(B,{prop:`groups[${l}][conditions][${a}].id`,rules:{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u5B57\u6BB5"}},{default:n(()=>[u(_,{modelValue:o.value.groups[l].conditions[a].id,"onUpdate:modelValue":e=>o.value.groups[l].conditions[a].id=e,class:"w-full",onChange:e=>W(l,a)},{default:n(()=>[(s(!0),v(g,null,$(V(t),e=>(s(),D(p,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["prop"])]),_:2},1024),u(T,{span:6},{default:n(()=>[u(B,{prop:`groups[${l}][conditions][${a}].compare`,rules:{required:!0,message:"\u8BF7\u9009\u62E9\u5224\u65AD\u7B26"}},{default:n(()=>[u(_,{modelValue:o.value.groups[l].conditions[a].compare,"onUpdate:modelValue":e=>o.value.groups[l].conditions[a].compare=e},{default:n(()=>[o.value.groups[l].conditions[a].id?(s(!0),v(g,{key:0},$(V(t).find(e=>e.value===o.value.groups[l].conditions[a].id).judges,(e,h)=>(s(),D(p,{key:h,label:e,value:h},null,8,["label","value"]))),128)):y("v-if",!0)]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),u(T,{span:9},{default:n(()=>[u(B,{prop:`groups[${l}][conditions][${a}].value`,rules:{required:!0,message:"\u8BF7\u9009\u62E9\u6216\u8F93\u5165"}},{default:n(()=>[o.value.groups[l].conditions[a].id?V(t).find(e=>e.value===o.value.groups[l].conditions[a].id).type==="bool_condition"?(s(),v(g,{key:1},[y(" \u662F\u5426\u9009\u9879"),u(_,{modelValue:o.value.groups[l].conditions[a].value,"onUpdate:modelValue":e=>o.value.groups[l].conditions[a].value=e,class:"w-full"},{default:n(()=>[u(p,{label:"\u662F",value:1}),u(p,{label:"\u5426",value:0})]),_:2},1032,["modelValue","onUpdate:modelValue"])],2112)):V(t).find(e=>e.value===o.value.groups[l].conditions[a].id).type==="value_condition"?(s(),v(g,{key:2},[y(" \u591A\u9009"),u(_,{modelValue:o.value.groups[l].conditions[a].value,"onUpdate:modelValue":e=>o.value.groups[l].conditions[a].value=e,class:"w-full"},{default:n(()=>[(s(!0),v(g,null,$(V(t).find(e=>e.value===o.value.groups[l].conditions[a].id).options,(e,h)=>(s(),D(p,{key:h,label:e,value:h},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])],2112)):V(t).find(e=>e.value===o.value.groups[l].conditions[a].id).type==="single_condition"?(s(),v(g,{key:3},[y(" \u5355\u9009"),u(_,{modelValue:o.value.groups[l].conditions[a].value,"onUpdate:modelValue":e=>o.value.groups[l].conditions[a].value=e,class:"w-full"},{default:n(()=>[(s(!0),v(g,null,$(V(t).find(e=>e.value===o.value.groups[l].conditions[a].id).options,(e,h)=>(s(),D(p,{key:h,label:e,value:h},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])],2112)):V(t).find(e=>e.value===o.value.groups[l].conditions[a].id).type==="range_condition"?(s(),v(g,{key:4},[y(" \u91D1\u989D"),u(F,{modelValue:o.value.groups[l].conditions[a].value,"onUpdate:modelValue":e=>o.value.groups[l].conditions[a].value=e},{append:n(()=>[A(se(V(t).find(e=>e.value===o.value.groups[l].conditions[a].id).unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])],2112)):y("v-if",!0):(s(),D(_,{key:0,class:"w-full"}))]),_:2},1032,["prop"])]),_:2},1024),u(T,{span:1,class:"flex items-center text-danger delCol justify-end"},{default:n(()=>[u(w,{class:"cursor-pointer",onClick:e=>G(l,a)},{default:n(()=>[u(f)]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),K("div",re,[u(I,{size:"small",onClick:z=>O(l)},{default:n(()=>[u(w,{class:"mr-4"},{default:n(()=>[u(R)]),_:1}),A("\u4E14\u6761\u4EF6 ")]),_:2},1032,["onClick"]),q.length?y("v-if",!0):(s(),v("span",{key:0,class:"text-danger cursor-pointer",onClick:z=>Q(l)},[u(w,null,{default:n(()=>[u(f)]),_:1})],8,de))])]),l[u(w,{class:"mr-4"},{default:n(()=>[u(R)]),_:1}),A("\u6216\u6761\u4EF6 ")]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),fe=te(ve,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/systemManage/flowConfiguration/configEdit/components/conditionDialog.vue"]]);export{fe as default}; diff --git a/lishui2/web/dist/assets/conditionDialog.fa4c853d.js b/lishui2/web/dist/assets/conditionDialog.fa4c853d.js new file mode 100644 index 0000000..464621c --- /dev/null +++ b/lishui2/web/dist/assets/conditionDialog.fa4c853d.js @@ -0,0 +1 @@ +var k=Object.defineProperty,x=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var L=(d,i,a)=>i in d?k(d,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):d[i]=a,P=(d,i)=>{for(var a in i||(i={}))oe.call(i,a)&&L(d,a,i[a]);if(E)for(var a of E(i))le.call(i,a)&&L(d,a,i[a]);return d},J=(d,i)=>x(d,ee(i));var R=(d,i,a)=>new Promise(($,C)=>{var j=b=>{try{O(a.next(b))}catch(N){C(N)}},o=b=>{try{O(a.throw(b))}catch(N){C(N)}},O=b=>b.done?$(b.value):Promise.resolve(b.value).then(j,o);O((a=a.apply(d,i)).next())});import{_ as ae,d as te,D as ue,r as M,L as ne,e as m,f as s,I as U,l as n,k as u,m as A,g as v,F as g,J as D,h as W,j as V,i as y,t as se}from"./index.096886c6.js";const ie={class:"orBox"},re={class:"flexbetween"},de=["onClick"],ce={key:0,class:"mx-48 my-17 bg-warning text-white rounded-full w-24 h-24 flex items-center justify-center"},pe=te({name:"conditionDialog"}),ve=Object.assign(pe,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close","update:data"],setup(d,{emit:i}){const{filedConditionsOptions:a}=ue.dictStore.globalDicts||{},$=d,C=i,j=M(),o=M({groups:[]}),O={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F01\u4E1A\u540D\u79F0",trigger:"blur"}]},b=c=>R(this,null,function*(){if(!c){C("close",!0);return}yield c.validate(r=>R(this,null,function*(){if(r){const p=[];o.value.groups.length&&o.value.groups.forEach((B,T)=>{const F=B.conditions.map(f=>({id:f.id,title:a.find(h=>h.value===f.id).label,compare:f.compare,value:Array.of(f.value),valueType:a.find(h=>h.value===f.id).valueType}));p.push({groupType:"AND",conditions:F,cids:F.map(f=>f.id)})});const _={id:$.data.id,name:$.data.name,type:"CONDITION",props:{groups:p,groupsType:"OR"}};C("update:data",_),C("close",!0)}}))}),N=c=>{o.value.groups[c].conditions.push({})},G=(c,r)=>{o.value.groups[c].conditions.splice(r,1)},H=()=>{o.value.groups.push({conditions:[]})},K=c=>{o.value.groups.splice(c,1)},Q=(c,r)=>{o.value.groups[c].conditions[r].compare=void 0,o.value.groups[c].conditions[r].value=void 0};return ne(()=>$.visible,c=>R(this,null,function*(){c?o.value={groups:$.data.props.groups.map(r=>({conditions:r.conditions.map(p=>J(P({},p),{value:a.find(_=>_.value===p.id).type==="bool_condition"?p.value.join()*1:p.value.join()}))}))}:j.value.resetFields()})),(c,r)=>{const p=m("el-option"),_=m("el-select"),B=m("el-form-item"),T=m("el-col"),F=m("el-input"),f=m("Delete"),h=m("el-icon"),X=m("el-row"),S=m("Plus"),I=m("el-button"),Y=m("el-form"),Z=m("el-dialog");return s(),U(Z,{"model-value":d.visible,title:"\u7B5B\u9009\u6570\u636E",width:"840px","destroy-on-close":"",onClose:r[2]||(r[2]=q=>C("close"))},{footer:n(()=>[u(I,{type:"primary",onClick:r[0]||(r[0]=q=>b(j.value))},{default:n(()=>[A(" \u63D0\u4EA4 ")]),_:1}),u(I,{onClick:r[1]||(r[1]=q=>C("close"))},{default:n(()=>[A(" \u5173\u95ED ")]),_:1})]),default:n(()=>[u(Y,{ref_key:"formRef",ref:j,model:o.value,rules:O,"label-suffix":":",class:"form"},{default:n(()=>[(s(!0),v(g,null,D(o.value.groups,(q,l)=>(s(),v("div",{key:l},[W("div",ie,[(s(!0),v(g,null,D(q.conditions,(z,t)=>(s(),U(X,{key:t,gutter:8,class:"mb-8"},{default:n(()=>[u(T,{span:8},{default:n(()=>[u(B,{prop:`groups[${l}][conditions][${t}].id`,rules:{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u5B57\u6BB5"}},{default:n(()=>[u(_,{modelValue:o.value.groups[l].conditions[t].id,"onUpdate:modelValue":e=>o.value.groups[l].conditions[t].id=e,class:"w-full",onChange:e=>Q(l,t)},{default:n(()=>[(s(!0),v(g,null,D(V(a),e=>(s(),U(p,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["prop"])]),_:2},1024),u(T,{span:6},{default:n(()=>[u(B,{prop:`groups[${l}][conditions][${t}].compare`,rules:{required:!0,message:"\u8BF7\u9009\u62E9\u5224\u65AD\u7B26"}},{default:n(()=>[u(_,{modelValue:o.value.groups[l].conditions[t].compare,"onUpdate:modelValue":e=>o.value.groups[l].conditions[t].compare=e},{default:n(()=>[o.value.groups[l].conditions[t].id?(s(!0),v(g,{key:0},D(V(a).find(e=>e.value===o.value.groups[l].conditions[t].id).judges,(e,w)=>(s(),U(p,{key:w,label:e,value:w},null,8,["label","value"]))),128)):y("v-if",!0)]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024),u(T,{span:9},{default:n(()=>[u(B,{prop:`groups[${l}][conditions][${t}].value`,rules:{required:!0,message:"\u8BF7\u9009\u62E9\u6216\u8F93\u5165"}},{default:n(()=>[o.value.groups[l].conditions[t].id?V(a).find(e=>e.value===o.value.groups[l].conditions[t].id).type==="bool_condition"?(s(),v(g,{key:1},[y(" \u662F\u5426\u9009\u9879"),u(_,{modelValue:o.value.groups[l].conditions[t].value,"onUpdate:modelValue":e=>o.value.groups[l].conditions[t].value=e,class:"w-full"},{default:n(()=>[u(p,{label:"\u662F",value:1}),u(p,{label:"\u5426",value:0})]),_:2},1032,["modelValue","onUpdate:modelValue"])],2112)):V(a).find(e=>e.value===o.value.groups[l].conditions[t].id).type==="value_condition"?(s(),v(g,{key:2},[y(" \u591A\u9009"),u(_,{modelValue:o.value.groups[l].conditions[t].value,"onUpdate:modelValue":e=>o.value.groups[l].conditions[t].value=e,class:"w-full"},{default:n(()=>[(s(!0),v(g,null,D(V(a).find(e=>e.value===o.value.groups[l].conditions[t].id).options,(e,w)=>(s(),U(p,{key:w,label:e,value:w},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])],2112)):V(a).find(e=>e.value===o.value.groups[l].conditions[t].id).type==="single_condition"?(s(),v(g,{key:3},[y(" \u5355\u9009"),u(_,{modelValue:o.value.groups[l].conditions[t].value,"onUpdate:modelValue":e=>o.value.groups[l].conditions[t].value=e,class:"w-full"},{default:n(()=>[(s(!0),v(g,null,D(V(a).find(e=>e.value===o.value.groups[l].conditions[t].id).options,(e,w)=>(s(),U(p,{key:w,label:e,value:w},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])],2112)):V(a).find(e=>e.value===o.value.groups[l].conditions[t].id).type==="range_condition"?(s(),v(g,{key:4},[y(" \u91D1\u989D"),u(F,{modelValue:o.value.groups[l].conditions[t].value,"onUpdate:modelValue":e=>o.value.groups[l].conditions[t].value=e},{append:n(()=>[A(se(V(a).find(e=>e.value===o.value.groups[l].conditions[t].id).unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])],2112)):y("v-if",!0):(s(),U(_,{key:0,class:"w-full"}))]),_:2},1032,["prop"])]),_:2},1024),u(T,{span:1,class:"flex items-center text-danger delCol justify-end"},{default:n(()=>[u(h,{class:"cursor-pointer",onClick:e=>G(l,t)},{default:n(()=>[u(f)]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024))),128)),W("div",re,[u(I,{size:"small",onClick:z=>N(l)},{default:n(()=>[u(h,{class:"mr-4"},{default:n(()=>[u(S)]),_:1}),A("\u4E14\u6761\u4EF6 ")]),_:2},1032,["onClick"]),q.length?y("v-if",!0):(s(),v("span",{key:0,class:"text-danger cursor-pointer",onClick:z=>K(l)},[u(h,null,{default:n(()=>[u(f)]),_:1})],8,de))])]),l[u(h,{class:"mr-4"},{default:n(()=>[u(S)]),_:1}),A("\u6216\u6761\u4EF6 ")]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),fe=ae(ve,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/systemManage/flowConfiguration/configEdit/components/conditionDialog.vue"]]);export{fe as default}; diff --git a/lishui2/web/dist/assets/constructionPlan.6d0c4a22.js b/lishui2/web/dist/assets/constructionPlan.fbb92685.js similarity index 62% rename from lishui2/web/dist/assets/constructionPlan.6d0c4a22.js rename to lishui2/web/dist/assets/constructionPlan.fbb92685.js index ebad934..8b95c40 100644 --- a/lishui2/web/dist/assets/constructionPlan.6d0c4a22.js +++ b/lishui2/web/dist/assets/constructionPlan.fbb92685.js @@ -1 +1 @@ -import{_ as l,d as c,e as t,f as o,I as n,l as a,k as r,i as d}from"./index.11dc4694.js";import{A as f}from"./index.3731dd96.js";const m=c({name:"filesInfo"}),p=Object.assign(m,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(e){return(u,_)=>{const i=t("el-descriptions-item"),s=t("el-descriptions");return o(),n(s,{column:2,border:""},{default:a(()=>[e.detailData.constructionPlanFile?(o(),n(i,{key:0,label:"\u5EFA\u8BBE\u65B9\u6848"},{default:a(()=>[r(f,{"file-name":JSON.parse(e.detailData.constructionPlanFile).fileName,"file-id":JSON.parse(e.detailData.constructionPlanFile).fileId,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]),_:1})):d("v-if",!0)]),_:1})}}}),w=l(p,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/constructionPlan.vue"]]);export{w as default}; +import{_ as l,d as c,e as t,f as o,I as n,l as a,k as r,i as d}from"./index.096886c6.js";import{A as f}from"./index.e0e52f0f.js";const p=c({name:"filesInfo"}),m=Object.assign(p,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(e){return(u,_)=>{const i=t("el-descriptions-item"),s=t("el-descriptions");return o(),n(s,{column:2,border:""},{default:a(()=>[e.detailData.constructionPlanFile?(o(),n(i,{key:0,label:"\u5EFA\u8BBE\u65B9\u6848"},{default:a(()=>[r(f,{"file-name":JSON.parse(e.detailData.constructionPlanFile).fileName,"file-id":JSON.parse(e.detailData.constructionPlanFile).fileId,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]),_:1})):d("v-if",!0)]),_:1})}}}),k=l(m,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/constructionPlan.vue"]]);export{k as default}; diff --git a/lishui2/web/dist/assets/contractInfo.531985fb.js b/lishui2/web/dist/assets/contractInfo.531985fb.js new file mode 100644 index 0000000..882ba1f --- /dev/null +++ b/lishui2/web/dist/assets/contractInfo.531985fb.js @@ -0,0 +1 @@ +var N=(m,d,o)=>new Promise((f,c)=>{var u=n=>{try{e(o.next(n))}catch(i){c(i)}},k=n=>{try{e(o.throw(n))}catch(i){c(i)}},e=n=>n.done?f(n.value):Promise.resolve(n.value).then(u,k);e((o=o.apply(m,d)).next())});import{_ as C,d as I,r as S,o as T,e as _,f as p,g as b,J as v,I as j,l,k as a,m as s,t as r,i as y,F as x,a3 as B}from"./index.096886c6.js";import{A as P}from"./index.e0e52f0f.js";import{N as w}from"./index.9e3741ad.js";const F=I({name:"contractInfo"}),M=Object.assign(F,{props:{detailData:Object},setup(m){const d=m,o=S(),f=()=>N(this,null,function*(){o.value=d.detailData.contracts}),c=[{label:"\u4ED8\u6B3E\u7B14\u6570",type:"index",width:"80"},{label:"\u4ED8\u6B3E\u8BA1\u5212",key:"planAmount",prop:"planAmount"},{label:"\u4ED8\u6B3E\u6BD4\u4F8B\uFF08%\uFF09",key:"ratio",prop:"ratio"},{label:"\u4ED8\u6B3E\u91D1\u989D\uFF08\u4E07\u5143\uFF09",key:"paymentAmount",prop:"paymentAmount"},{label:"\u9884\u8BA1\u4ED8\u6B3E\u65F6\u95F4",key:"paymentTime",prop:"paymentTime"},{label:"\u5B9E\u9645\u652F\u4ED8\u91D1\u989D",key:"actualPaymentAmount",prop:"actualPaymentAmount",render:u=>B("span",u.actualPaymentAmount||"-")}];return T(()=>{f()}),(u,k)=>{var g;const e=_("el-descriptions-item"),n=_("table-list"),i=_("el-descriptions");return(g=o.value)!=null&&g.length?(p(!0),b(x,{key:0},v(o.value,(t,A)=>(p(),j(i,{key:A,column:2,border:"",class:"mb-16",title:`${m.detailData.purchases[A].bidName}-\u5408\u540C`},{default:l(()=>[a(e,{label:"\u5408\u540C\u540D\u79F0"},{default:l(()=>[s(r(t.name||"-"),1)]),_:2},1024),a(e,{label:"\u5408\u540C\u603B\u91D1\u989D"},{default:l(()=>[s(r(t.totalAmount||"-")+"\u4E07\u5143 ",1)]),_:2},1024),a(e,{label:"\u4F9B\u5E94\u5546\u6536\u6B3E\u5F00\u6237\u884C"},{default:l(()=>[s(r(t.supplierBank||"-"),1)]),_:2},1024),y(' '),y(" {{ contract.supplierAccount }}"),y(" "),a(e,{label:"\u8D28\u4FDD\u671F"},{default:l(()=>[s(r(t.warrantyPeriod||"-")+"\u5E74 ",1)]),_:2},1024),a(e,{label:"\u8D28\u4FDD\u91D1"},{default:l(()=>[s(r(t.retentionMoney||"-")+"\u4E07\u5143 ",1)]),_:2},1024),a(e,{label:"\u5408\u540C\u7B7E\u8BA2\u5B8C\u6210\u65F6\u95F4"},{default:l(()=>[s(r(t.contractTime||"-"),1)]),_:2},1024),a(e,{label:"\u4EA4\u8D27\u65E5\u671F"},{default:l(()=>[s(r(t.deliveryTime||"-"),1)]),_:2},1024),a(e,{label:"\u5408\u540C\u9644\u4EF6",span:2},{default:l(()=>[(p(!0),b(x,null,v(t.attachment&&JSON.parse(t.attachment),(h,D)=>(p(),b("p",{key:D,class:"mb-4"},[a(P,{"file-name":h.originalFileName,"file-id":h.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),a(e,{label:"\u4ED8\u6B3E\u8BA1\u5212",span:2},{default:l(()=>[a(n,{ref_for:!0,ref:"tableListRef",column:c,data:t.payments,pagination:!1,"empty-temp":!1},null,8,["data"])]),_:2},1024)]),_:2},1032,["title"]))),128)):(p(),j(w,{key:1}))}}}),E=C(M,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/contractInfo.vue"]]);export{E as default}; diff --git a/lishui2/web/dist/assets/contractInfo.ed73834f.js b/lishui2/web/dist/assets/contractInfo.ed73834f.js deleted file mode 100644 index d6be163..0000000 --- a/lishui2/web/dist/assets/contractInfo.ed73834f.js +++ /dev/null @@ -1 +0,0 @@ -var N=(m,d,o)=>new Promise((f,c)=>{var u=n=>{try{e(o.next(n))}catch(i){c(i)}},k=n=>{try{e(o.throw(n))}catch(i){c(i)}},e=n=>n.done?f(n.value):Promise.resolve(n.value).then(u,k);e((o=o.apply(m,d)).next())});import{_ as C,d as I,r as P,o as T,e as _,f as p,g as y,J as D,I as j,l,k as t,m as s,t as r,i as b,F as v,a3 as w}from"./index.11dc4694.js";import{A as B}from"./index.3731dd96.js";import{N as M}from"./index.90958342.js";const S=I({name:"contractInfo"}),F=Object.assign(S,{props:{detailData:Object},setup(m){const d=m,o=P(),f=()=>N(this,null,function*(){o.value=d.detailData.contracts}),c=[{label:"\u4ED8\u6B3E\u7B14\u6570",type:"index",width:"80"},{label:"\u4ED8\u6B3E\u8BA1\u5212",key:"planAmount",prop:"planAmount"},{label:"\u4ED8\u6B3E\u6BD4\u4F8B\uFF08%\uFF09",key:"ratio",prop:"ratio"},{label:"\u4ED8\u6B3E\u91D1\u989D\uFF08\u4E07\u5143\uFF09",key:"paymentAmount",prop:"paymentAmount"},{label:"\u9884\u8BA1\u4ED8\u6B3E\u65F6\u95F4",key:"paymentTime",prop:"paymentTime"},{label:"\u5B9E\u9645\u652F\u4ED8\u91D1\u989D",key:"actualPaymentAmount",prop:"actualPaymentAmount",render:u=>w("span",u.actualPaymentAmount||"-")}];return T(()=>{f()}),(u,k)=>{var A;const e=_("el-descriptions-item"),n=_("table-list"),i=_("el-descriptions");return(A=o.value)!=null&&A.length?(p(!0),y(v,{key:0},D(o.value,(a,g)=>(p(),j(i,{key:g,column:2,border:"",class:"mb-16",title:`${m.detailData.purchases[g].bidName}-\u5408\u540C`},{default:l(()=>[t(e,{label:"\u5408\u540C\u540D\u79F0"},{default:l(()=>[s(r(a.name||"-"),1)]),_:2},1024),t(e,{label:"\u5408\u540C\u603B\u91D1\u989D"},{default:l(()=>[s(r(a.totalAmount||"-")+"\u4E07\u5143 ",1)]),_:2},1024),t(e,{label:"\u4F9B\u5E94\u5546\u6536\u6B3E\u5F00\u6237\u884C"},{default:l(()=>[s(r(a.supplierBank||"-"),1)]),_:2},1024),b(' '),b(" {{ contract.supplierAccount }}"),b(" "),t(e,{label:"\u8D28\u4FDD\u671F"},{default:l(()=>[s(r(a.warrantyPeriod||"-")+"\u5E74 ",1)]),_:2},1024),t(e,{label:"\u8D28\u4FDD\u91D1"},{default:l(()=>[s(r(a.retentionMoney||"-")+"\u4E07\u5143 ",1)]),_:2},1024),t(e,{label:"\u5408\u540C\u7B7E\u8BA2\u5B8C\u6210\u65F6\u95F4"},{default:l(()=>[s(r(a.contractTime||"-"),1)]),_:2},1024),t(e,{label:"\u4EA4\u8D27\u65E5\u671F"},{default:l(()=>[s(r(a.deliveryTime||"-"),1)]),_:2},1024),t(e,{label:"\u5408\u540C\u9644\u4EF6",span:2},{default:l(()=>[(p(!0),y(v,null,D(a.attachment&&JSON.parse(a.attachment),(h,x)=>(p(),y("p",{key:x,class:"mb-4"},[t(B,{"file-name":h.originalFileName,"file-id":h.id},null,8,["file-name","file-id"])]))),128))]),_:2},1024),t(e,{label:"\u4ED8\u6B3E\u8BA1\u5212",span:2},{default:l(()=>[t(n,{ref_for:!0,ref:"tableListRef",column:c,data:a.payments,pagination:!1,"empty-temp":!1},null,8,["data"])]),_:2},1024)]),_:2},1032,["title"]))),128)):(p(),j(M,{key:1}))}}}),E=C(F,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/contractInfo.vue"]]);export{E as default}; diff --git a/lishui2/web/dist/assets/contractRecord.342fd9ca.js b/lishui2/web/dist/assets/contractRecord.7583a3b7.js similarity index 87% rename from lishui2/web/dist/assets/contractRecord.342fd9ca.js rename to lishui2/web/dist/assets/contractRecord.7583a3b7.js index 1ce707d..6854e9e 100644 --- a/lishui2/web/dist/assets/contractRecord.342fd9ca.js +++ b/lishui2/web/dist/assets/contractRecord.7583a3b7.js @@ -1 +1 @@ -import{z as c}from"./index.11dc4694.js";const a={1:"/api/v1/declared/construction/contract/project-list",2:"/api/v1/declared/construction/contract/project-list-perfect"},e=(t,o)=>c.get(a[t],{params:o}),n=t=>c.post("/api/v1/declared/construction/submit-contracts",t),r=t=>c.get(`/api/v1/declared/construction/contract/detail/${t}`),i=t=>c.post("/api/v1/declared/construction/supplement",t),p=t=>c.get(`/api/v1/declared/construction/contract/detail-by-code/${t}`);export{i as a,r as b,p as c,e as l,n as s}; +import{z as c}from"./index.096886c6.js";const a={1:"/api/v1/declared/construction/contract/project-list",2:"/api/v1/declared/construction/contract/project-list-perfect"},e=(t,o)=>c.get(a[t],{params:o}),n=t=>c.post("/api/v1/declared/construction/submit-contracts",t),r=t=>c.get(`/api/v1/declared/construction/contract/detail/${t}`),i=t=>c.post("/api/v1/declared/construction/supplement",t),p=t=>c.get(`/api/v1/declared/construction/contract/detail-by-code/${t}`);export{i as a,r as b,p as c,e as l,n as s}; diff --git a/lishui2/web/dist/assets/coreBusiness.4818b3e8.js b/lishui2/web/dist/assets/coreBusiness.179a81b0.js similarity index 50% rename from lishui2/web/dist/assets/coreBusiness.4818b3e8.js rename to lishui2/web/dist/assets/coreBusiness.179a81b0.js index a0bdc41..0154358 100644 --- a/lishui2/web/dist/assets/coreBusiness.4818b3e8.js +++ b/lishui2/web/dist/assets/coreBusiness.179a81b0.js @@ -1 +1 @@ -var q=Object.defineProperty,z=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var V=(t,a,e)=>a in t?q(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,F=(t,a)=>{for(var e in a||(a={}))$.call(a,e)&&V(t,e,a[e]);if(T)for(var e of T(a))A.call(a,e)&&V(t,e,a[e]);return t},O=(t,a)=>z(t,K(a));var U=(t,a,e)=>new Promise((B,l)=>{var y=n=>{try{p(e.next(n))}catch(f){l(f)}},R=n=>{try{p(e.throw(n))}catch(f){l(f)}},p=n=>n.done?B(n.value):Promise.resolve(n.value).then(y,R);p((e=e.apply(t,a)).next())});import{_ as H,d as Q,G as W,D as X,r as m,b as Y,e as i,f as Z,g as ee,k as s,l as o,m as b,h as se,F as ae,N as oe}from"./index.11dc4694.js";import{f as te}from"./index.f58f6803.js";const le={class:"flex"},ne=Q({name:"coreBusiness"}),re=Object.assign(ne,{props:{basicInfoData:{type:Object}},setup(t,{expose:a}){const e=t,B=W(X.userStore).userInfo||{},l=m({}),y=m(),R={coreBusiness:[{required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6838\u5FC3\u4E1A\u52A1"}]},p=r=>{y.value.validate(u=>{r(u)})},n=()=>{_.value=!0,I({pageNumber:1,pageSize:10},!0)},f=[{type:"index",label:"\u5E8F\u53F7",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],C=m(),N=m([]),j=m(0),E=[{type:"selection"},{label:"\u4E1A\u52A1\u540D\u79F0",prop:"matterName",key:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",prop:"orgName",key:"orgName"}],_=m(!1),I=(...h)=>U(this,[...h],function*(r=(c=>(c=C.value)==null?void 0:c.pageParams)(),u){var v,D;var d=[];(v=e==null?void 0:e.basicInfoData)!=null&&v.superOrgCode&&d.push(e.basicInfoData.superOrgCode),(D=B.value)!=null&&D.empPosUnitCode&&d.push(B.value.empPosUnitCode);const x=yield te(O(F({},r),{businessName:k.businessName,orgCode:d.join(",")}));N.value=x.data.data,j.value=x.data.total,yield oe(),u&&N.value&&N.value.forEach(g=>{(l.value.coreBusiness&&l.value.coreBusiness.map(w=>w.id)||[]).includes(g.id)?C.value.toggleRowSelect(g,!0):C.value.toggleRowSelect(g,!1)})}),G=()=>{I()},P=m(),J=r=>{P.value=r},k=Y({businessName:void 0}),L=()=>{k.businessName=""},M=()=>{l.value.coreBusiness=P.value,_.value=!1};return a({validForm:p,formData:l,setFormData:r=>{l.value={coreBusiness:r.coreBusiness?JSON.parse(r.coreBusiness):[]}}}),(r,u)=>{const c=i("el-button"),h=i("el-col"),d=i("table-list"),x=i("el-form-item"),v=i("el-row"),D=i("el-form"),g=i("el-input"),S=i("el-dialog");return Z(),ee(ae,null,[s(D,{ref_key:"formRef",ref:y,model:l.value,rules:R,"label-position":"right","label-width":"0","label-suffix":":","scroll-to-error":""},{default:o(()=>[s(v,{gutter:40},{default:o(()=>[s(h,{span:24,class:"mb-16"},{default:o(()=>[s(c,{type:"primary",class:"float-right",onClick:n},{default:o(()=>[b(" \u9009\u62E9\u6838\u5FC3\u4E1A\u52A1 ")]),_:1})]),_:1}),s(h,{span:24},{default:o(()=>[s(x,{prop:"coreBusiness"},{default:o(()=>[s(d,{pagination:!1,style:{width:"100%"},column:f,data:l.value.coreBusiness,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),s(S,{title:"\u9009\u62E9\u6838\u5FC3\u4E1A\u52A1","close-on-click-modal":!1,"before-close":()=>_.value=!1,"model-value":_.value,width:"700px"},{footer:o(()=>[s(c,{type:"primary",onClick:M},{default:o(()=>[b(" \u63D0\u4EA4 ")]),_:1}),s(c,{onClick:u[1]||(u[1]=w=>_.value=!1)},{default:o(()=>[b(" \u5173\u95ED ")]),_:1})]),default:o(()=>[s(v,{style:{"margin-bottom":"16px"},gutter:20},{default:o(()=>[s(h,{span:12},{default:o(()=>[s(g,{modelValue:k.businessName,"onUpdate:modelValue":u[0]||(u[0]=w=>k.businessName=w),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),s(h,{span:12},{default:o(()=>[se("div",le,[s(c,{type:"primary",onClick:G},{default:o(()=>[b("\u67E5\u8BE2")]),_:1}),s(c,{onClick:L},{default:o(()=>[b("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1}),s(d,{ref_key:"tableListRef",ref:C,column:E,data:N.value,total:j.value,onSelectionChange:J,onGetTableData:I},null,8,["data","total"])]),_:1},8,["before-close","model-value"])],64)}}}),de=H(re,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/coreBusiness.vue"]]);export{de as default}; +var J=Object.defineProperty,M=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var F=(t,a,e)=>a in t?J(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,O=(t,a)=>{for(var e in a||(a={}))$.call(a,e)&&F(t,e,a[e]);if(j)for(var e of j(a))A.call(a,e)&&F(t,e,a[e]);return t},P=(t,a)=>M(t,W(a));var U=(t,a,e)=>new Promise((B,l)=>{var C=n=>{try{p(e.next(n))}catch(f){l(f)}},R=n=>{try{p(e.throw(n))}catch(f){l(f)}},p=n=>n.done?B(n.value):Promise.resolve(n.value).then(C,R);p((e=e.apply(t,a)).next())});import{_ as H,d as K,G as Q,D as X,r as m,b as Y,e as i,f as Z,g as ee,k as s,l as o,m as b,h as se,F as ae,N as oe}from"./index.096886c6.js";import{f as te}from"./index.a82aa709.js";const le={class:"flex"},ne=K({name:"coreBusiness"}),re=Object.assign(ne,{props:{basicInfoData:{type:Object}},setup(t,{expose:a}){const e=t,B=Q(X.userStore).userInfo||{},l=m({}),C=m(),R={coreBusiness:[{required:!0,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6838\u5FC3\u4E1A\u52A1"}]},p=r=>{C.value.validate(u=>{r(u)})},n=()=>{_.value=!0,I({pageNumber:1,pageSize:10},!0)},f=[{type:"index",label:"\u5E8F\u53F7",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],y=m(),N=m([]),S=m(0),E=[{type:"selection"},{label:"\u4E1A\u52A1\u540D\u79F0",prop:"matterName",key:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",prop:"orgName",key:"orgName"}],_=m(!1),I=(...h)=>U(this,[...h],function*(r=(c=>(c=y.value)==null?void 0:c.pageParams)(),u){var v,D;var d=[];(v=e==null?void 0:e.basicInfoData)!=null&&v.superOrgCode&&d.push(e.basicInfoData.superOrgCode),(D=B.value)!=null&&D.empPosUnitCode&&d.push(B.value.empPosUnitCode);const x=yield te(P(O({},r),{businessName:k.businessName,orgCode:d.join(",")}));N.value=x.data.data,S.value=x.data.total,yield oe(),u&&N.value&&N.value.forEach(g=>{(l.value.coreBusiness&&l.value.coreBusiness.map(w=>w.id)||[]).includes(g.id)?y.value.toggleRowSelect(g,!0):y.value.toggleRowSelect(g,!1)})}),G=()=>{I()},T=m(),L=r=>{T.value=r},k=Y({businessName:void 0}),q=()=>{k.businessName=""},z=()=>{l.value.coreBusiness=T.value,_.value=!1};return a({validForm:p,formData:l,setFormData:r=>{l.value={coreBusiness:r.coreBusiness?JSON.parse(r.coreBusiness):[]}}}),(r,u)=>{const c=i("el-button"),h=i("el-col"),d=i("table-list"),x=i("el-form-item"),v=i("el-row"),D=i("el-form"),g=i("el-input"),V=i("el-dialog");return Z(),ee(ae,null,[s(D,{ref_key:"formRef",ref:C,model:l.value,rules:R,"label-position":"right","label-width":"0","label-suffix":":","scroll-to-error":""},{default:o(()=>[s(v,{gutter:40},{default:o(()=>[s(h,{span:24,class:"mb-16"},{default:o(()=>[s(c,{type:"primary",class:"float-right",onClick:n},{default:o(()=>[b(" \u9009\u62E9\u6838\u5FC3\u4E1A\u52A1 ")]),_:1})]),_:1}),s(h,{span:24},{default:o(()=>[s(x,{prop:"coreBusiness"},{default:o(()=>[s(d,{pagination:!1,style:{width:"100%"},column:f,data:l.value.coreBusiness,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),s(V,{title:"\u9009\u62E9\u6838\u5FC3\u4E1A\u52A1","close-on-click-modal":!1,"before-close":()=>_.value=!1,"model-value":_.value,width:"700px"},{footer:o(()=>[s(c,{type:"primary",onClick:z},{default:o(()=>[b(" \u63D0\u4EA4 ")]),_:1}),s(c,{onClick:u[1]||(u[1]=w=>_.value=!1)},{default:o(()=>[b(" \u5173\u95ED ")]),_:1})]),default:o(()=>[s(v,{style:{"margin-bottom":"16px"},gutter:20},{default:o(()=>[s(h,{span:12},{default:o(()=>[s(g,{modelValue:k.businessName,"onUpdate:modelValue":u[0]||(u[0]=w=>k.businessName=w),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),s(h,{span:12},{default:o(()=>[se("div",le,[s(c,{type:"primary",onClick:G},{default:o(()=>[b("\u67E5\u8BE2")]),_:1}),s(c,{onClick:q},{default:o(()=>[b("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1}),s(d,{ref_key:"tableListRef",ref:y,column:E,data:N.value,total:S.value,onSelectionChange:L,onGetTableData:I},null,8,["data","total"])]),_:1},8,["before-close","model-value"])],64)}}}),de=H(re,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/coreBusiness.vue"]]);export{de as default}; diff --git a/lishui2/web/dist/assets/coreBusiness.5dfd6d26.js b/lishui2/web/dist/assets/coreBusiness.5dfd6d26.js deleted file mode 100644 index 47783d0..0000000 --- a/lishui2/web/dist/assets/coreBusiness.5dfd6d26.js +++ /dev/null @@ -1 +0,0 @@ -var d=(r,c,e)=>new Promise((i,o)=>{var n=t=>{try{s(e.next(t))}catch(a){o(a)}},l=t=>{try{s(e.throw(t))}catch(a){o(a)}},s=t=>t.done?i(t.value):Promise.resolve(t.value).then(n,l);s((e=e.apply(r,c)).next())});import{_ as b,d as N,G as y,D as C,r as B,o as g,e as m,f as k,I as v,l as _,k as f}from"./index.11dc4694.js";const x=N({name:"coreBusiness"}),D=Object.assign(x,{props:{detailData:{type:Object,default:()=>{}}},setup(r){const c=y(C.userStore).userInfo,e=r,i=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],o=B([]);return g(()=>d(this,null,function*(){var n,l,s;o.value=((s=(l=(n=e==null?void 0:e.detailData)==null?void 0:n.baseCoreBusinessCode)==null?void 0:l.split("\uFF1B"))==null?void 0:s.map((t,a)=>{var p,u;return{oid:t,matterName:(u=(p=e==null?void 0:e.detailData)==null?void 0:p.baseCoreBusiness)==null?void 0:u.split("\uFF1B")[a],orgName:c.value.empPosUnitName}}))||[]})),(n,l)=>{const s=m("table-list"),t=m("el-descriptions-item"),a=m("el-descriptions");return k(),v(a,{column:2,border:""},{default:_(()=>[f(t,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:_(()=>[f(s,{pagination:!1,style:{width:"100%"},column:i,data:o.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),w=b(D,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/detail/components/coreBusiness.vue"]]);export{w as default}; diff --git a/lishui2/web/dist/assets/coreBusiness.7053e278.js b/lishui2/web/dist/assets/coreBusiness.7053e278.js new file mode 100644 index 0000000..c67cd98 --- /dev/null +++ b/lishui2/web/dist/assets/coreBusiness.7053e278.js @@ -0,0 +1 @@ +var q=Object.defineProperty,z=Object.defineProperties;var W=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var V=(o,s,e)=>s in o?q(o,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[s]=e,P=(o,s)=>{for(var e in s||(s={}))$.call(s,e)&&V(o,e,s[e]);if(T)for(var e of T(s))A.call(s,e)&&V(o,e,s[e]);return o},E=(o,s)=>z(o,W(s));var L=(o,s,e)=>new Promise((x,l)=>{var N=r=>{try{v(e.next(r))}catch(i){l(i)}},w=r=>{try{v(e.throw(r))}catch(i){l(i)}},v=r=>r.done?x(r.value):Promise.resolve(r.value).then(N,w);v((e=e.apply(o,s)).next())});import{_ as H,d as J,G as K,D as Q,r as b,b as X,L as Y,e as p,f as Z,g as ee,k as a,l as t,m as C,h as ae,F as se,N as te}from"./index.096886c6.js";import{f as oe}from"./index.a82aa709.js";const le={class:"flex"},ne=J({name:"coreBusiness"}),re=Object.assign(ne,{props:{detail:{type:Object},basicInfoData:{type:Object}},setup(o,{expose:s}){const e=o,x=K(Q.userStore).userInfo||{},l=b({}),N=b(),w={coreBusiness:[{required:!1,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6838\u5FC3\u4E1A\u52A1"}]},v=()=>{B.value=!0,I({pageNumber:1,pageSize:10},!0)},r=[{type:"index",label:"\u5E8F\u53F7",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],i=b(),D=b([]),R=b(0),M=[{type:"selection"},{label:"\u4E1A\u52A1\u540D\u79F0",prop:"matterName",key:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",prop:"orgName",key:"orgName"}],B=b(!1),I=(...f)=>L(this,[...f],function*(c=(n=>(n=i.value)==null?void 0:n.pageParams)(),u){var d,_;var m=[];(d=e==null?void 0:e.basicInfoData)!=null&&d.baseManDeprtDing&&m.push(e.basicInfoData.baseManDeprtDing),(_=e==null?void 0:e.basicInfoData)!=null&&_.baseBuildDeprtDing&&m.push(e.basicInfoData.baseBuildDeprtDing);const g=yield oe(E(P({},c),{businessName:k.businessName,orgCode:m.join(",")}));D.value=g.data.data,R.value=g.data.total,yield te(),u&&D.value&&D.value.forEach(y=>{(l.value.coreBusiness&&l.value.coreBusiness.map(h=>h.id*1)||[]).includes(y.id)?i.value.toggleRowSelect(y,!0):i.value.toggleRowSelect(y,!1)})}),O=()=>{I()},j=b(),U=c=>{j.value=c},k=X({businessName:void 0}),F=()=>{k.businessName=""},G=()=>{l.value.coreBusiness=j.value,B.value=!1};return s({formRef:N,formData:l}),Y(()=>e.detail,c=>{var u,n,f;c&&(l.value={coreBusiness:((f=(n=(u=c.apply)==null?void 0:u.baseCoreBusinessCode)==null?void 0:n.split("\uFF1B"))==null?void 0:f.map((m,g)=>{var d,_;return{id:m,matterName:(_=(d=c.apply)==null?void 0:d.baseCoreBusiness)==null?void 0:_.split("\uFF1B")[g],orgName:x.value.empPosUnitName}}))||[]})}),(c,u)=>{const n=p("el-button"),f=p("el-col"),m=p("table-list"),g=p("el-form-item"),d=p("el-row"),_=p("el-form"),y=p("el-input"),S=p("el-dialog");return Z(),ee(se,null,[a(_,{ref_key:"formRef",ref:N,model:l.value,rules:w,"label-position":"right","label-width":"0","label-suffix":":","scroll-to-error":""},{default:t(()=>[a(d,{gutter:40},{default:t(()=>[a(f,{span:24,class:"mb-16"},{default:t(()=>[a(n,{type:"primary",class:"float-right",onClick:v},{default:t(()=>[C(" \u9009\u62E9\u6838\u5FC3\u4E1A\u52A1 ")]),_:1})]),_:1}),a(f,{span:24},{default:t(()=>[a(g,null,{default:t(()=>[a(m,{pagination:!1,style:{width:"100%"},column:r,data:l.value.coreBusiness,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(S,{title:"\u9009\u62E9\u6838\u5FC3\u4E1A\u52A1","close-on-click-modal":!1,"before-close":()=>B.value=!1,"model-value":B.value,width:"700px"},{footer:t(()=>[a(n,{type:"primary",onClick:G},{default:t(()=>[C(" \u63D0\u4EA4 ")]),_:1}),a(n,{onClick:u[1]||(u[1]=h=>B.value=!1)},{default:t(()=>[C(" \u5173\u95ED ")]),_:1})]),default:t(()=>[a(d,{style:{"margin-bottom":"16px"},gutter:20},{default:t(()=>[a(f,{span:12},{default:t(()=>[a(y,{modelValue:k.businessName,"onUpdate:modelValue":u[0]||(u[0]=h=>k.businessName=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),a(f,{span:12},{default:t(()=>[ae("div",le,[a(n,{type:"primary",onClick:O},{default:t(()=>[C("\u67E5\u8BE2")]),_:1}),a(n,{onClick:F},{default:t(()=>[C("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1}),a(m,{ref_key:"tableListRef",ref:i,column:M,data:D.value,total:R.value,onSelectionChange:U,onGetTableData:I},null,8,["data","total"])]),_:1},8,["before-close","model-value"])],64)}}}),me=H(re,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/coreBusiness.vue"]]);export{me as default}; diff --git a/lishui2/web/dist/assets/coreBusiness.7837ba5f.js b/lishui2/web/dist/assets/coreBusiness.7837ba5f.js deleted file mode 100644 index 8b9f78f..0000000 --- a/lishui2/web/dist/assets/coreBusiness.7837ba5f.js +++ /dev/null @@ -1 +0,0 @@ -var u=(l,c,e)=>new Promise((i,o)=>{var n=t=>{try{a(e.next(t))}catch(s){o(s)}},r=t=>{try{a(e.throw(t))}catch(s){o(s)}},a=t=>t.done?i(t.value):Promise.resolve(t.value).then(n,r);a((e=e.apply(l,c)).next())});import{_ as b,d as N,G as y,D as g,r as B,o as C,e as m,f as k,I as v,l as _,k as f}from"./index.11dc4694.js";const x=N({name:"coreBusiness"}),D=Object.assign(x,{props:{detailData:{type:Object,default:()=>{}}},setup(l){const c=y(g.userStore).userInfo,e=l,i=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],o=B([]);return C(()=>u(this,null,function*(){var n,r,a;o.value=((a=(r=(n=e==null?void 0:e.detailData)==null?void 0:n.baseCoreBusinessCode)==null?void 0:r.split("\uFF1B"))==null?void 0:a.map((t,s)=>{var d,p;return{oid:t,matterName:(p=(d=e==null?void 0:e.detailData)==null?void 0:d.baseCoreBusiness)==null?void 0:p.split("\uFF1B")[s],orgName:c.value.empPosUnitName}}))||[]})),(n,r)=>{const a=m("table-list"),t=m("el-descriptions-item"),s=m("el-descriptions");return k(),v(s,{column:2,border:""},{default:_(()=>[f(t,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:_(()=>[f(a,{pagination:!1,style:{width:"100%"},column:i,data:o.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),w=b(D,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/coreBusiness.vue"]]);export{w as default}; diff --git a/lishui2/web/dist/assets/coreBusiness.7ab4d6f8.js b/lishui2/web/dist/assets/coreBusiness.7ab4d6f8.js new file mode 100644 index 0000000..9f510cc --- /dev/null +++ b/lishui2/web/dist/assets/coreBusiness.7ab4d6f8.js @@ -0,0 +1 @@ +var u=(r,i,e)=>new Promise((c,o)=>{var n=t=>{try{s(e.next(t))}catch(a){o(a)}},l=t=>{try{s(e.throw(t))}catch(a){o(a)}},s=t=>t.done?c(t.value):Promise.resolve(t.value).then(n,l);s((e=e.apply(r,i)).next())});import{_ as b,d as C,G as N,D as g,r as k,o as y,e as m,f as B,I as v,l as _,k as f}from"./index.096886c6.js";const h=C({name:"coreBusiness"}),x=Object.assign(h,{props:{detailData:{type:Object,default:()=>{}}},setup(r){const i=N(g.userStore).userInfo,e=r,c=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],o=k([]);return y(()=>u(this,null,function*(){var n,l,s;o.value=((s=(l=(n=e==null?void 0:e.detailData)==null?void 0:n.baseCoreBusinessCode)==null?void 0:l.split("\uFF1B"))==null?void 0:s.map((t,a)=>{var p,d;return{oid:t,matterName:(d=(p=e==null?void 0:e.detailData)==null?void 0:p.baseCoreBusiness)==null?void 0:d.split("\uFF1B")[a],orgName:i.value.empPosUnitName}}))||[]})),(n,l)=>{const s=m("table-list"),t=m("el-descriptions-item"),a=m("el-descriptions");return B(),v(a,{column:2,border:""},{default:_(()=>[f(t,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:_(()=>[f(s,{pagination:!1,style:{width:"100%"},column:c,data:o.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),w=b(x,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/detail/components/coreBusiness.vue"]]);export{w as default}; diff --git a/lishui2/web/dist/assets/coreBusiness.95a69949.js b/lishui2/web/dist/assets/coreBusiness.95a69949.js deleted file mode 100644 index eac7fa0..0000000 --- a/lishui2/web/dist/assets/coreBusiness.95a69949.js +++ /dev/null @@ -1 +0,0 @@ -var q=Object.defineProperty,z=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var V=(o,s,e)=>s in o?q(o,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[s]=e,S=(o,s)=>{for(var e in s||(s={}))K.call(s,e)&&V(o,e,s[e]);if(T)for(var e of T(s))$.call(s,e)&&V(o,e,s[e]);return o},M=(o,s)=>z(o,J(s));var E=(o,s,e)=>new Promise((x,l)=>{var C=r=>{try{v(e.next(r))}catch(i){l(i)}},w=r=>{try{v(e.throw(r))}catch(i){l(i)}},v=r=>r.done?x(r.value):Promise.resolve(r.value).then(C,w);v((e=e.apply(o,s)).next())});import{_ as A,d as H,G as Q,D as W,r as b,b as X,L as Y,e as f,f as Z,g as ee,k as a,l as t,m as N,h as ae,F as se,N as te}from"./index.11dc4694.js";import{f as oe}from"./index.f58f6803.js";const le={class:"flex"},ne=H({name:"coreBusiness"}),re=Object.assign(ne,{props:{detail:{type:Object},basicInfoData:{type:Object}},setup(o,{expose:s}){const e=o,x=Q(W.userStore).userInfo||{},l=b({}),C=b(),w={coreBusiness:[{required:!1,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6838\u5FC3\u4E1A\u52A1"}]},v=()=>{B.value=!0,I({pageNumber:1,pageSize:10},!0)},r=[{type:"index",label:"\u5E8F\u53F7",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],i=b(),D=b([]),R=b(0),L=[{type:"selection"},{label:"\u4E1A\u52A1\u540D\u79F0",prop:"matterName",key:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",prop:"orgName",key:"orgName"}],B=b(!1),I=(...p)=>E(this,[...p],function*(c=(n=>(n=i.value)==null?void 0:n.pageParams)(),u){var d,_;var m=[];(d=e==null?void 0:e.basicInfoData)!=null&&d.baseManDeprtDing&&m.push(e.basicInfoData.baseManDeprtDing),(_=e==null?void 0:e.basicInfoData)!=null&&_.baseBuildDeprtDing&&m.push(e.basicInfoData.baseBuildDeprtDing);const g=yield oe(M(S({},c),{businessName:k.businessName,orgCode:m.join(",")}));D.value=g.data.data,R.value=g.data.total,yield te(),u&&D.value&&D.value.forEach(y=>{(l.value.coreBusiness&&l.value.coreBusiness.map(h=>h.id*1)||[]).includes(y.id)?i.value.toggleRowSelect(y,!0):i.value.toggleRowSelect(y,!1)})}),O=()=>{I()},j=b(),U=c=>{j.value=c},k=X({businessName:void 0}),F=()=>{k.businessName=""},G=()=>{l.value.coreBusiness=j.value,B.value=!1};return s({formRef:C,formData:l}),Y(()=>e.detail,c=>{var u,n,p;c&&(l.value={coreBusiness:((p=(n=(u=c.apply)==null?void 0:u.baseCoreBusinessCode)==null?void 0:n.split("\uFF1B"))==null?void 0:p.map((m,g)=>{var d,_;return{id:m,matterName:(_=(d=c.apply)==null?void 0:d.baseCoreBusiness)==null?void 0:_.split("\uFF1B")[g],orgName:x.value.empPosUnitName}}))||[]})}),(c,u)=>{const n=f("el-button"),p=f("el-col"),m=f("table-list"),g=f("el-form-item"),d=f("el-row"),_=f("el-form"),y=f("el-input"),P=f("el-dialog");return Z(),ee(se,null,[a(_,{ref_key:"formRef",ref:C,model:l.value,rules:w,"label-position":"right","label-width":"0","label-suffix":":","scroll-to-error":""},{default:t(()=>[a(d,{gutter:40},{default:t(()=>[a(p,{span:24,class:"mb-16"},{default:t(()=>[a(n,{type:"primary",class:"float-right",onClick:v},{default:t(()=>[N(" \u9009\u62E9\u6838\u5FC3\u4E1A\u52A1 ")]),_:1})]),_:1}),a(p,{span:24},{default:t(()=>[a(g,null,{default:t(()=>[a(m,{pagination:!1,style:{width:"100%"},column:r,data:l.value.coreBusiness,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(P,{title:"\u9009\u62E9\u6838\u5FC3\u4E1A\u52A1","close-on-click-modal":!1,"before-close":()=>B.value=!1,"model-value":B.value,width:"700px"},{footer:t(()=>[a(n,{type:"primary",onClick:G},{default:t(()=>[N(" \u63D0\u4EA4 ")]),_:1}),a(n,{onClick:u[1]||(u[1]=h=>B.value=!1)},{default:t(()=>[N(" \u5173\u95ED ")]),_:1})]),default:t(()=>[a(d,{style:{"margin-bottom":"16px"},gutter:20},{default:t(()=>[a(p,{span:12},{default:t(()=>[a(y,{modelValue:k.businessName,"onUpdate:modelValue":u[0]||(u[0]=h=>k.businessName=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),a(p,{span:12},{default:t(()=>[ae("div",le,[a(n,{type:"primary",onClick:O},{default:t(()=>[N("\u67E5\u8BE2")]),_:1}),a(n,{onClick:F},{default:t(()=>[N("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1}),a(m,{ref_key:"tableListRef",ref:i,column:L,data:D.value,total:R.value,onSelectionChange:U,onGetTableData:I},null,8,["data","total"])]),_:1},8,["before-close","model-value"])],64)}}}),me=A(re,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/coreBusiness.vue"]]);export{me as default}; diff --git a/lishui2/web/dist/assets/coreBusiness.04ac328d.js b/lishui2/web/dist/assets/coreBusiness.c2a58625.js similarity index 65% rename from lishui2/web/dist/assets/coreBusiness.04ac328d.js rename to lishui2/web/dist/assets/coreBusiness.c2a58625.js index 4c12bbf..e6c7a5d 100644 --- a/lishui2/web/dist/assets/coreBusiness.04ac328d.js +++ b/lishui2/web/dist/assets/coreBusiness.c2a58625.js @@ -1 +1 @@ -var z=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;var P=(l,s,e)=>s in l?z(l,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[s]=e,E=(l,s)=>{for(var e in s||(s={}))$.call(s,e)&&P(l,e,s[e]);if(V)for(var e of V(s))A.call(s,e)&&P(l,e,s[e]);return l},L=(l,s)=>J(l,K(s));var M=(l,s,e)=>new Promise((x,o)=>{var D=u=>{try{B(e.next(u))}catch(m){o(m)}},w=u=>{try{B(e.throw(u))}catch(m){o(m)}},B=u=>u.done?x(u.value):Promise.resolve(u.value).then(D,w);B((e=e.apply(l,s)).next())});import{_ as H,d as Q,G as W,D as X,r as d,b as Y,L as Z,e as f,f as ee,g as ae,k as a,l as t,m as N,h as se,F as te,N as le}from"./index.11dc4694.js";import{f as oe}from"./index.f58f6803.js";const ne={class:"flex"},re=Q({name:"coreBusiness"}),ue=Object.assign(re,{props:{detail:{type:Object},basicInfoData:{type:Object},isSupplemented:{type:Boolean,default:!1}},setup(l,{expose:s}){const e=l,x=W(X.userStore).userInfo||{},o=d({}),D=d(),w={coreBusiness:[{required:!1,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6838\u5FC3\u4E1A\u52A1"}]},B=()=>{y.value=!0,I({pageNumber:1,pageSize:10},!0)},u=[{type:"index",label:"\u5E8F\u53F7",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],m=d(),k=d([]),j=d(0),O=[{type:"selection"},{label:"\u4E1A\u52A1\u540D\u79F0",prop:"matterName",key:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",prop:"orgName",key:"orgName"}],y=d(!1),I=(..._)=>M(this,[..._],function*(i=(n=>(n=m.value)==null?void 0:n.pageParams)(),c){var p,b;var r=[];(p=e==null?void 0:e.basicInfoData)!=null&&p.baseManDeprtDing&&r.push(e.basicInfoData.baseManDeprtDing),(b=e==null?void 0:e.basicInfoData)!=null&&b.baseBuildDeprtDing&&r.push(e.basicInfoData.baseBuildDeprtDing);const v=yield oe(L(E({},i),{businessName:h.businessName,orgCode:(r==null?void 0:r.join(","))||""}));k.value=v.data.data,j.value=v.data.total,yield le(),c&&k.value&&k.value.forEach(C=>{(o.value.coreBusiness&&o.value.coreBusiness.map(g=>g.id*1)||[]).includes(C.id)?m.value.toggleRowSelect(C,!0):m.value.toggleRowSelect(C,!1)})}),U=()=>{I()},R=d(),F=i=>{R.value=i},h=Y({businessName:void 0}),G=()=>{h.businessName=""},q=()=>{o.value.coreBusiness=R.value,y.value=!1},S=d();return s({formRef:D,formData:o}),Z(()=>e.detail,i=>{var c,n,_;i&&(e.isSupplemented&&(S.value=i.apply),o.value={coreBusiness:((_=(n=(c=i.apply)==null?void 0:c.baseCoreBusinessCode)==null?void 0:n.split("\uFF1B"))==null?void 0:_.map((r,v)=>{var p,b;return{id:r,matterName:(b=(p=i.apply)==null?void 0:p.baseCoreBusiness)==null?void 0:b.split("\uFF1B")[v],orgName:x.value.empPosUnitName}}))||[]})}),(i,c)=>{const n=f("el-button"),_=f("el-col"),r=f("table-list"),v=f("el-form-item"),p=f("el-row"),b=f("el-form"),C=f("el-input"),T=f("el-dialog");return ee(),ae(te,null,[a(b,{ref_key:"formRef",ref:D,model:o.value,rules:w,"label-position":"right","label-width":"0","label-suffix":":","scroll-to-error":""},{default:t(()=>[a(p,{gutter:40},{default:t(()=>[a(_,{span:24,class:"mb-16"},{default:t(()=>{var g;return[a(n,{type:"primary",class:"float-right",disabled:((g=S.value)==null?void 0:g.baseCoreBusinessCode)&&l.isSupplemented,onClick:B},{default:t(()=>[N(" \u9009\u62E9\u6838\u5FC3\u4E1A\u52A1 ")]),_:1},8,["disabled"])]}),_:1}),a(_,{span:24},{default:t(()=>[a(v,null,{default:t(()=>[a(r,{pagination:!1,style:{width:"100%"},column:u,data:o.value.coreBusiness,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(T,{title:"\u9009\u62E9\u6838\u5FC3\u4E1A\u52A1","close-on-click-modal":!1,"before-close":()=>y.value=!1,"model-value":y.value,width:"700px"},{footer:t(()=>[a(n,{type:"primary",onClick:q},{default:t(()=>[N(" \u63D0\u4EA4 ")]),_:1}),a(n,{onClick:c[1]||(c[1]=g=>y.value=!1)},{default:t(()=>[N(" \u5173\u95ED ")]),_:1})]),default:t(()=>[a(p,{style:{"margin-bottom":"16px"},gutter:20},{default:t(()=>[a(_,{span:12},{default:t(()=>[a(C,{modelValue:h.businessName,"onUpdate:modelValue":c[0]||(c[0]=g=>h.businessName=g),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),a(_,{span:12},{default:t(()=>[se("div",ne,[a(n,{type:"primary",onClick:U},{default:t(()=>[N("\u67E5\u8BE2")]),_:1}),a(n,{onClick:G},{default:t(()=>[N("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1}),a(r,{ref_key:"tableListRef",ref:m,column:O,data:k.value,total:j.value,onSelectionChange:F,onGetTableData:I},null,8,["data","total"])]),_:1},8,["before-close","model-value"])],64)}}}),pe=H(ue,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/coreBusiness.vue"]]);export{pe as default}; +var z=Object.defineProperty,W=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var E=(l,s,e)=>s in l?z(l,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[s]=e,L=(l,s)=>{for(var e in s||(s={}))A.call(s,e)&&E(l,e,s[e]);if(V)for(var e of V(s))H.call(s,e)&&E(l,e,s[e]);return l},O=(l,s)=>W(l,$(s));var P=(l,s,e)=>new Promise((x,o)=>{var D=u=>{try{B(e.next(u))}catch(m){o(m)}},w=u=>{try{B(e.throw(u))}catch(m){o(m)}},B=u=>u.done?x(u.value):Promise.resolve(u.value).then(D,w);B((e=e.apply(l,s)).next())});import{_ as J,d as K,G as Q,D as X,r as d,b as Y,L as Z,e as f,f as ee,g as ae,k as a,l as t,m as N,h as se,F as te,N as le}from"./index.096886c6.js";import{f as oe}from"./index.a82aa709.js";const ne={class:"flex"},re=K({name:"coreBusiness"}),ue=Object.assign(re,{props:{detail:{type:Object},basicInfoData:{type:Object},isSupplemented:{type:Boolean,default:!1}},setup(l,{expose:s}){const e=l,x=Q(X.userStore).userInfo||{},o=d({}),D=d(),w={coreBusiness:[{required:!1,message:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6838\u5FC3\u4E1A\u52A1"}]},B=()=>{y.value=!0,I({pageNumber:1,pageSize:10},!0)},u=[{type:"index",label:"\u5E8F\u53F7",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],m=d(),k=d([]),S=d(0),U=[{type:"selection"},{label:"\u4E1A\u52A1\u540D\u79F0",prop:"matterName",key:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",prop:"orgName",key:"orgName"}],y=d(!1),I=(..._)=>P(this,[..._],function*(i=(n=>(n=m.value)==null?void 0:n.pageParams)(),c){var p,b;var r=[];(p=e==null?void 0:e.basicInfoData)!=null&&p.baseManDeprtDing&&r.push(e.basicInfoData.baseManDeprtDing),(b=e==null?void 0:e.basicInfoData)!=null&&b.baseBuildDeprtDing&&r.push(e.basicInfoData.baseBuildDeprtDing);const v=yield oe(O(L({},i),{businessName:h.businessName,orgCode:(r==null?void 0:r.join(","))||""}));k.value=v.data.data,S.value=v.data.total,yield le(),c&&k.value&&k.value.forEach(C=>{(o.value.coreBusiness&&o.value.coreBusiness.map(g=>g.id*1)||[]).includes(C.id)?m.value.toggleRowSelect(C,!0):m.value.toggleRowSelect(C,!1)})}),F=()=>{I()},R=d(),G=i=>{R.value=i},h=Y({businessName:void 0}),M=()=>{h.businessName=""},q=()=>{o.value.coreBusiness=R.value,y.value=!1},j=d();return s({formRef:D,formData:o}),Z(()=>e.detail,i=>{var c,n,_;i&&(e.isSupplemented&&(j.value=i.apply),o.value={coreBusiness:((_=(n=(c=i.apply)==null?void 0:c.baseCoreBusinessCode)==null?void 0:n.split("\uFF1B"))==null?void 0:_.map((r,v)=>{var p,b;return{id:r,matterName:(b=(p=i.apply)==null?void 0:p.baseCoreBusiness)==null?void 0:b.split("\uFF1B")[v],orgName:x.value.empPosUnitName}}))||[]})}),(i,c)=>{const n=f("el-button"),_=f("el-col"),r=f("table-list"),v=f("el-form-item"),p=f("el-row"),b=f("el-form"),C=f("el-input"),T=f("el-dialog");return ee(),ae(te,null,[a(b,{ref_key:"formRef",ref:D,model:o.value,rules:w,"label-position":"right","label-width":"0","label-suffix":":","scroll-to-error":""},{default:t(()=>[a(p,{gutter:40},{default:t(()=>[a(_,{span:24,class:"mb-16"},{default:t(()=>{var g;return[a(n,{type:"primary",class:"float-right",disabled:((g=j.value)==null?void 0:g.baseCoreBusinessCode)&&l.isSupplemented,onClick:B},{default:t(()=>[N(" \u9009\u62E9\u6838\u5FC3\u4E1A\u52A1 ")]),_:1},8,["disabled"])]}),_:1}),a(_,{span:24},{default:t(()=>[a(v,null,{default:t(()=>[a(r,{pagination:!1,style:{width:"100%"},column:u,data:o.value.coreBusiness,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),a(T,{title:"\u9009\u62E9\u6838\u5FC3\u4E1A\u52A1","close-on-click-modal":!1,"before-close":()=>y.value=!1,"model-value":y.value,width:"700px"},{footer:t(()=>[a(n,{type:"primary",onClick:q},{default:t(()=>[N(" \u63D0\u4EA4 ")]),_:1}),a(n,{onClick:c[1]||(c[1]=g=>y.value=!1)},{default:t(()=>[N(" \u5173\u95ED ")]),_:1})]),default:t(()=>[a(p,{style:{"margin-bottom":"16px"},gutter:20},{default:t(()=>[a(_,{span:12},{default:t(()=>[a(C,{modelValue:h.businessName,"onUpdate:modelValue":c[0]||(c[0]=g=>h.businessName=g),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),a(_,{span:12},{default:t(()=>[se("div",ne,[a(n,{type:"primary",onClick:F},{default:t(()=>[N("\u67E5\u8BE2")]),_:1}),a(n,{onClick:M},{default:t(()=>[N("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1}),a(r,{ref_key:"tableListRef",ref:m,column:U,data:k.value,total:S.value,onSelectionChange:G,onGetTableData:I},null,8,["data","total"])]),_:1},8,["before-close","model-value"])],64)}}}),pe=J(ue,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/coreBusiness.vue"]]);export{pe as default}; diff --git a/lishui2/web/dist/assets/coreBusiness.f6403464.js b/lishui2/web/dist/assets/coreBusiness.f6403464.js new file mode 100644 index 0000000..b0352f3 --- /dev/null +++ b/lishui2/web/dist/assets/coreBusiness.f6403464.js @@ -0,0 +1 @@ +var u=(l,c,e)=>new Promise((i,o)=>{var n=t=>{try{a(e.next(t))}catch(s){o(s)}},r=t=>{try{a(e.throw(t))}catch(s){o(s)}},a=t=>t.done?i(t.value):Promise.resolve(t.value).then(n,r);a((e=e.apply(l,c)).next())});import{_ as b,d as g,G as N,D as k,r as y,o as B,e as d,f as C,I as v,l as _,k as f}from"./index.096886c6.js";const h=g({name:"coreBusiness"}),x=Object.assign(h,{props:{detailData:{type:Object,default:()=>{}}},setup(l){const c=N(k.userStore).userInfo,e=l,i=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u4E1A\u52A1\u540D\u79F0",key:"matterName",prop:"matterName"},{label:"\u6240\u5C5E\u5355\u4F4D",key:"orgName",prop:"orgName"}],o=y([]);return B(()=>u(this,null,function*(){var n,r,a;o.value=((a=(r=(n=e==null?void 0:e.detailData)==null?void 0:n.baseCoreBusinessCode)==null?void 0:r.split("\uFF1B"))==null?void 0:a.map((t,s)=>{var m,p;return{oid:t,matterName:(p=(m=e==null?void 0:e.detailData)==null?void 0:m.baseCoreBusiness)==null?void 0:p.split("\uFF1B")[s],orgName:c.value.empPosUnitName}}))||[]})),(n,r)=>{const a=d("table-list"),t=d("el-descriptions-item"),s=d("el-descriptions");return C(),v(s,{column:2,border:""},{default:_(()=>[f(t,{label:"\u6838\u5FC3\u4E1A\u52A1"},{default:_(()=>[f(a,{pagination:!1,style:{width:"100%"},column:i,data:o.value,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})}}}),w=b(x,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/coreBusiness.vue"]]);export{w as default}; diff --git a/lishui2/web/dist/assets/customModule.2cba4219.js b/lishui2/web/dist/assets/customModule.2cba4219.js deleted file mode 100644 index 75d1bdb..0000000 --- a/lishui2/web/dist/assets/customModule.2cba4219.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as k,d as v,e as l,f as t,I as o,l as p,g as s,F as c,J as m,h as u,t as _,i as n}from"./index.11dc4694.js";import{A as j}from"./index.3731dd96.js";const g={key:0,class:"mb-4"},w={key:1,class:"mb-4"},D={key:2,class:"mb-4"},N=v({name:"customModule"}),x=Object.assign(N,{props:{moduleNum:Number,data:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(r){return(B,C)=>{const d=l("el-descriptions-item"),f=l("el-descriptions");return t(),o(f,{column:2,border:""},{default:p(()=>{var a;return[(t(!0),s(c,null,m((a=r.data)==null?void 0:a.formList,(e,y)=>(t(),o(d,{key:y,label:e.name},{default:p(()=>[e.props.type==="\u5355\u9009"||e.props.type==="\u8F93\u5165"||e.props.type==="\u6570\u503C\u8F93\u5165"?(t(),s("p",g,[u("span",null,_(e.value),1)])):n("v-if",!0),e.props.type==="\u591A\u9009"?(t(),s("p",w,[u("span",null,_(e.value.join("\uFF0C")),1)])):n("v-if",!0),e.props.type==="\u6587\u4EF6\u4E0A\u4F20"?(t(),s("p",D,[(t(!0),s(c,null,m(e.value,(i,b)=>(t(),o(j,{key:b,"file-name":i.originalFileName,"file-id":i.id,"is-down-load":r.isDownLoadFile},null,8,["file-name","file-id","is-down-load"]))),128))])):n("v-if",!0)]),_:2},1032,["label"]))),128))]}),_:1})}}}),S=k(x,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/customModule.vue"]]);export{S as default}; diff --git a/lishui2/web/dist/assets/customModule.87ebf86e.js b/lishui2/web/dist/assets/customModule.87ebf86e.js new file mode 100644 index 0000000..80df7a9 --- /dev/null +++ b/lishui2/web/dist/assets/customModule.87ebf86e.js @@ -0,0 +1 @@ +import{_ as b,d as v,e as l,f as t,I as o,l as p,g as s,F as c,J as m,h as u,t as d,i as n}from"./index.096886c6.js";import{A as g}from"./index.e0e52f0f.js";const j={key:0,class:"mb-4"},w={key:1,class:"mb-4"},B={key:2,class:"mb-4"},C=v({name:"customModule"}),F=Object.assign(C,{props:{moduleNum:Number,data:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(r){return(N,x)=>{const _=l("el-descriptions-item"),f=l("el-descriptions");return t(),o(f,{column:2,border:""},{default:p(()=>{var a;return[(t(!0),s(c,null,m((a=r.data)==null?void 0:a.formList,(e,y)=>(t(),o(_,{key:y,label:e.name},{default:p(()=>[e.props.type==="\u5355\u9009"||e.props.type==="\u8F93\u5165"||e.props.type==="\u6570\u503C\u8F93\u5165"?(t(),s("p",j,[u("span",null,d(e.value),1)])):n("v-if",!0),e.props.type==="\u591A\u9009"?(t(),s("p",w,[u("span",null,d(e.value.join("\uFF0C")),1)])):n("v-if",!0),e.props.type==="\u6587\u4EF6\u4E0A\u4F20"?(t(),s("p",B,[(t(!0),s(c,null,m(e.value,(i,k)=>(t(),o(g,{key:k,"file-name":i.originalFileName,"file-id":i.id,"is-down-load":r.isDownLoadFile},null,8,["file-name","file-id","is-down-load"]))),128))])):n("v-if",!0)]),_:2},1032,["label"]))),128))]}),_:1})}}}),S=b(F,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/customModule.vue"]]);export{S as default}; diff --git a/lishui2/web/dist/assets/delayApply.5df27165.js b/lishui2/web/dist/assets/delayApply.98018341.js similarity index 72% rename from lishui2/web/dist/assets/delayApply.5df27165.js rename to lishui2/web/dist/assets/delayApply.98018341.js index 72b0ec4..e03569e 100644 --- a/lishui2/web/dist/assets/delayApply.5df27165.js +++ b/lishui2/web/dist/assets/delayApply.98018341.js @@ -1 +1 @@ -import{z as a}from"./index.11dc4694.js";const l=e=>a.get("/api/v1/declared/delayed/project-list",{params:e}),t=e=>a.post("/api/v1/declared/delayed/apply",e),p=e=>a.get(`/api/v1/declared/delayed/detail/${e}`);export{p as a,t as d,l}; +import{z as a}from"./index.096886c6.js";const l=e=>a.get("/api/v1/declared/delayed/project-list",{params:e}),t=e=>a.post("/api/v1/declared/delayed/apply",e),p=e=>a.get(`/api/v1/declared/delayed/detail/${e}`);export{p as a,t as d,l}; diff --git a/lishui2/web/dist/assets/delayApplyInfo.8422f1b5.js b/lishui2/web/dist/assets/delayApplyInfo.8422f1b5.js new file mode 100644 index 0000000..69367b4 --- /dev/null +++ b/lishui2/web/dist/assets/delayApplyInfo.8422f1b5.js @@ -0,0 +1 @@ +var m=(i,p,e)=>new Promise((c,t)=>{var _=a=>{try{o(e.next(a))}catch(s){t(s)}},l=a=>{try{o(e.throw(a))}catch(s){t(s)}},o=a=>a.done?c(a.value):Promise.resolve(a.value).then(_,l);o((e=e.apply(i,p)).next())});import{_ as v,d as A,r as b,o as k,e as u,f as d,I as D,l as n,k as r,m as f,t as y,g,F as j,J as x}from"./index.096886c6.js";import{A as F}from"./index.e0e52f0f.js";import{a as S}from"./delayApply.98018341.js";const I=A({name:"delayApplyInfo"}),N=Object.assign(I,{props:{detailData:Object},setup(i){const p=i,e=b({}),c=()=>m(this,null,function*(){const t=yield S(p.detailData.id);e.value=t.data});return k(()=>{c()}),(t,_)=>{const l=u("el-descriptions-item"),o=u("el-descriptions");return d(),D(o,{column:2,border:""},{default:n(()=>[r(l,{label:"\u5EF6\u671F\u65F6\u957F"},{default:n(()=>[f(y(e.value.delayTime||"-")+"\u6708 ",1)]),_:1}),r(l,{label:"\u5EF6\u671F\u7406\u7531"},{default:n(()=>[f(y(e.value.delayApplyReason||"-"),1)]),_:1}),r(l,{label:"\u4F50\u8BC1\u6750\u6599"},{default:n(()=>[(d(!0),g(j,null,x(e.value.delayApplyFile&&JSON.parse(e.value.delayApplyFile),(a,s)=>(d(),g("p",{key:s,class:"mb-4"},[r(F,{"file-name":a.originalFileName,"file-id":a.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})}}}),O=v(N,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/delayApplyInfo.vue"]]);export{O as default}; diff --git a/lishui2/web/dist/assets/delayApplyInfo.e3029fae.js b/lishui2/web/dist/assets/delayApplyInfo.e3029fae.js deleted file mode 100644 index a9ccddb..0000000 --- a/lishui2/web/dist/assets/delayApplyInfo.e3029fae.js +++ /dev/null @@ -1 +0,0 @@ -var _=(c,i,e)=>new Promise((p,t)=>{var m=a=>{try{o(e.next(a))}catch(s){t(s)}},l=a=>{try{o(e.throw(a))}catch(s){t(s)}},o=a=>a.done?p(a.value):Promise.resolve(a.value).then(m,l);o((e=e.apply(c,i)).next())});import{_ as g,d as v,r as A,o as b,e as u,f as d,I as j,l as n,k as r,m as f,t as y,g as D,F as k,J as x}from"./index.11dc4694.js";import{A as F}from"./index.3731dd96.js";import{a as N}from"./delayApply.5df27165.js";const w=v({name:"delayApplyInfo"}),I=Object.assign(w,{props:{detailData:Object},setup(c){const i=c,e=A({}),p=()=>_(this,null,function*(){const t=yield N(i.detailData.id);e.value=t.data});return b(()=>{p()}),(t,m)=>{const l=u("el-descriptions-item"),o=u("el-descriptions");return d(),j(o,{column:2,border:""},{default:n(()=>[r(l,{label:"\u5EF6\u671F\u65F6\u957F"},{default:n(()=>[f(y(e.value.delayTime||"-")+"\u6708 ",1)]),_:1}),r(l,{label:"\u5EF6\u671F\u7406\u7531"},{default:n(()=>[f(y(e.value.delayApplyReason||"-"),1)]),_:1}),r(l,{label:"\u4F50\u8BC1\u6750\u6599"},{default:n(()=>[(d(!0),D(k,null,x(e.value.delayApplyFile&&JSON.parse(e.value.delayApplyFile),(a,s)=>(d(),D("p",{key:s,class:"mb-4"},[r(F,{"file-name":a.originalFileName,"file-id":a.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1})}}}),J=g(I,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/delayApplyInfo.vue"]]);export{J as default}; diff --git a/lishui2/web/dist/assets/detailDialog.27e018f9.js b/lishui2/web/dist/assets/detailDialog.27e018f9.js new file mode 100644 index 0000000..70ef02d --- /dev/null +++ b/lishui2/web/dist/assets/detailDialog.27e018f9.js @@ -0,0 +1 @@ +var D=(y,k,o)=>new Promise((b,v)=>{var w=e=>{try{d(o.next(e))}catch(s){v(s)}},N=e=>{try{d(o.throw(e))}catch(s){v(s)}},d=e=>e.done?b(e.value):Promise.resolve(e.value).then(w,N);d((o=o.apply(y,k)).next())});import{_ as C,d as I,D as R,r as B,L as F,e as P,f as l,I as O,l as u,k as c,g as p,F as S,J as h,h as _,t as j,m as Q,j as J}from"./index.096886c6.js";import{A as x}from"./index.e0e52f0f.js";import{d as q}from"./securityPersonnelControl.ae12e384.js";const L=_("p",{class:"font-bold mb-8"},"\u5B89\u5168\u4EBA\u5458\u4FE1\u606F",-1),V=_("p",{class:"font-bold mb-8"},"\u4F9B\u5E94\u5546\u5B89\u5168\u8D44\u8D28",-1),A=_("p",{class:"font-bold mb-8"},"\u7B49\u7EA7\u8BE6\u60C5",-1),G=I({name:"detailDialog"}),E=Object.assign(G,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(y,{emit:k}){const{insuranceLevel:o}=R.dictStore.globalDicts||{},b=y,v=k,w=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u9879\u76EE\u5B89\u5168\u8D1F\u8D23\u4EBA",key:"username",prop:"username"},{label:"\u8054\u7CFB\u65B9\u5F0F",key:"contactInfo",prop:"contactInfo"},{label:"\u9879\u76EE\u4FDD\u9669\u534F\u8BAE",key:"investigationReport",slot:"investigationReport"}],N=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u5382\u5546\u4EBA\u5458\u59D3\u540D",key:"username",prop:"username"},{label:"\u8054\u7CFB\u65B9\u5F0F",key:"contactInfo",prop:"contactInfo"},{label:"\u4FDD\u5BC6\u534F\u8BAE",key:"safetyProtocol",slot:"safetyProtocol"}],d=[{label:"\u7C7B\u578B",key:"type",prop:"type"},{label:"\u7CFB\u7EDF\u83B7\u53D6\u7EA7\u522B",key:"level",slot:"level"}],e=B({});return F(()=>b.visible,s=>D(this,null,function*(){var f,i,g,n;if(s){const r=yield q(b.data.projectCode);e.value=r.data,e.value.grades=[{type:"\u7B49\u4FDD\u7EA7\u522B",level:(i=(f=r.data)==null?void 0:f.equalProtection)==null?void 0:i.secrecyGrade},{type:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B",level:(n=(g=r.data)==null?void 0:g.equalProtection)==null?void 0:n.passwordGrade}]}})),(s,f)=>{const i=P("table-list"),g=P("el-dialog");return l(),O(g,{"model-value":y.visible,title:"\u8BE6\u60C5",width:"700px","destroy-on-close":"",onClose:f[0]||(f[0]=n=>v("close"))},{default:u(()=>{var n,r;return[L,c(i,{pagination:!1,column:w,data:e.value.personSafetyInfo,"empty-temp":!1,class:"mb-24"},{investigationReport:u(({scope:a})=>[(l(!0),p(S,null,h(a.row.investigationReport&&JSON.parse(a.row.investigationReport),(t,m)=>(l(),p("p",{key:m,class:"mb-4"},[c(x,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"]),V,_("p",null,"\u4F9B\u5E94\u5546\u540D\u79F0\uFF1A"+j(((r=(n=e.value.supplierSafetyQualification)==null?void 0:n[0])==null?void 0:r.supplierName)||"-"),1),c(i,{pagination:!1,column:N,data:e.value.supplierSafetyQualification,"empty-temp":!1,class:"mb-24"},{safetyQualification:u(({scope:a})=>[(l(!0),p(S,null,h(a.row.safetyQualification&&JSON.parse(a.row.safetyQualification),(t,m)=>(l(),p("p",{key:m,class:"mb-4"},[c(x,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),safetyProtocol:u(({scope:a})=>[(l(!0),p(S,null,h(a.row.safetyProtocol&&JSON.parse(a.row.safetyProtocol),(t,m)=>(l(),p("p",{key:m,class:"mb-4"},[c(x,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"]),A,c(i,{pagination:!1,column:d,data:e.value.grades,"empty-temp":!1,class:"mb-24"},{level:u(({scope:a})=>[Q(j(J(o)[a.row.level]),1)]),_:1},8,["data"])]}),_:1},8,["model-value"])}}}),$=C(E,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectSafetyRiskMonitor/securityPersonnelControl/components/detailDialog.vue"]]);export{$ as default}; diff --git a/lishui2/web/dist/assets/detailDialog.ef9c557b.js b/lishui2/web/dist/assets/detailDialog.ef9c557b.js deleted file mode 100644 index 20215cb..0000000 --- a/lishui2/web/dist/assets/detailDialog.ef9c557b.js +++ /dev/null @@ -1 +0,0 @@ -var P=(y,k,o)=>new Promise((b,v)=>{var w=e=>{try{d(o.next(e))}catch(s){v(s)}},N=e=>{try{d(o.throw(e))}catch(s){v(s)}},d=e=>e.done?b(e.value):Promise.resolve(e.value).then(w,N);d((o=o.apply(y,k)).next())});import{_ as C,d as I,D as R,r as B,L as F,e as S,f as l,I as J,l as u,k as c,g as p,F as D,J as h,h as g,t as j,m as O,j as Q}from"./index.11dc4694.js";import{A as x}from"./index.3731dd96.js";import{d as q}from"./securityPersonnelControl.59feabab.js";const L=g("p",{class:"font-bold mb-8"},"\u5B89\u5168\u4EBA\u5458\u4FE1\u606F",-1),V=g("p",{class:"font-bold mb-8"},"\u4F9B\u5E94\u5546\u5B89\u5168\u8D44\u8D28",-1),A=g("p",{class:"font-bold mb-8"},"\u7B49\u7EA7\u8BE6\u60C5",-1),G=I({name:"detailDialog"}),M=Object.assign(G,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(y,{emit:k}){const{insuranceLevel:o}=R.dictStore.globalDicts||{},b=y,v=k,w=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u9879\u76EE\u5B89\u5168\u8D1F\u8D23\u4EBA",key:"username",prop:"username"},{label:"\u8054\u7CFB\u65B9\u5F0F",key:"contactInfo",prop:"contactInfo"},{label:"\u9879\u76EE\u4FDD\u9669\u534F\u8BAE",key:"investigationReport",slot:"investigationReport"}],N=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u5382\u5546\u4EBA\u5458\u59D3\u540D",key:"username",prop:"username"},{label:"\u8054\u7CFB\u65B9\u5F0F",key:"contactInfo",prop:"contactInfo"},{label:"\u4FDD\u5BC6\u534F\u8BAE",key:"safetyProtocol",slot:"safetyProtocol"}],d=[{label:"\u7C7B\u578B",key:"type",prop:"type"},{label:"\u7CFB\u7EDF\u83B7\u53D6\u7EA7\u522B",key:"level",slot:"level"}],e=B({});return F(()=>b.visible,s=>P(this,null,function*(){var m,i,_,n;if(s){const r=yield q(b.data.projectCode);e.value=r.data,e.value.grades=[{type:"\u7B49\u4FDD\u7EA7\u522B",level:(i=(m=r.data)==null?void 0:m.equalProtection)==null?void 0:i.secrecyGrade},{type:"\u5BC6\u7801\u6D4B\u8BC4\u7EA7\u522B",level:(n=(_=r.data)==null?void 0:_.equalProtection)==null?void 0:n.passwordGrade}]}})),(s,m)=>{const i=S("table-list"),_=S("el-dialog");return l(),J(_,{"model-value":y.visible,title:"\u8BE6\u60C5",width:"700px","destroy-on-close":"",onClose:m[0]||(m[0]=n=>v("close"))},{default:u(()=>{var n,r;return[L,c(i,{pagination:!1,column:w,data:e.value.personSafetyInfo,"empty-temp":!1,class:"mb-24"},{investigationReport:u(({scope:a})=>[(l(!0),p(D,null,h(a.row.investigationReport&&JSON.parse(a.row.investigationReport),(t,f)=>(l(),p("p",{key:f,class:"mb-4"},[c(x,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"]),V,g("p",null,"\u4F9B\u5E94\u5546\u540D\u79F0\uFF1A"+j(((r=(n=e.value.supplierSafetyQualification)==null?void 0:n[0])==null?void 0:r.supplierName)||"-"),1),c(i,{pagination:!1,column:N,data:e.value.supplierSafetyQualification,"empty-temp":!1,class:"mb-24"},{safetyQualification:u(({scope:a})=>[(l(!0),p(D,null,h(a.row.safetyQualification&&JSON.parse(a.row.safetyQualification),(t,f)=>(l(),p("p",{key:f,class:"mb-4"},[c(x,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),safetyProtocol:u(({scope:a})=>[(l(!0),p(D,null,h(a.row.safetyProtocol&&JSON.parse(a.row.safetyProtocol),(t,f)=>(l(),p("p",{key:f,class:"mb-4"},[c(x,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["data"]),A,c(i,{pagination:!1,column:d,data:e.value.grades,"empty-temp":!1,class:"mb-24"},{level:u(({scope:a})=>[O(j(Q(o)[a.row.level]),1)]),_:1},8,["data"])]}),_:1},8,["model-value"])}}}),$=C(M,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectSafetyRiskMonitor/securityPersonnelControl/components/detailDialog.vue"]]);export{$ as default}; diff --git a/lishui2/web/dist/assets/earlyWarningManage.28c9cb63.js b/lishui2/web/dist/assets/earlyWarningManage.63c22e7a.js similarity index 73% rename from lishui2/web/dist/assets/earlyWarningManage.28c9cb63.js rename to lishui2/web/dist/assets/earlyWarningManage.63c22e7a.js index f98500a..a348e7f 100644 --- a/lishui2/web/dist/assets/earlyWarningManage.28c9cb63.js +++ b/lishui2/web/dist/assets/earlyWarningManage.63c22e7a.js @@ -1 +1 @@ -import{z as a}from"./index.11dc4694.js";const t=s=>a.get(`/api/v1/sys/early-warning/detail/${s}`),i=s=>a.post("/api/v1/sys/early-warning/save",s),n=(s,r)=>a.get(`/api/v1/sys/early-warning/records/${s}`,{params:r});export{t as d,n as r,i as s}; +import{z as a}from"./index.096886c6.js";const t=s=>a.get(`/api/v1/sys/early-warning/detail/${s}`),i=s=>a.post("/api/v1/sys/early-warning/save",s),n=(s,r)=>a.get(`/api/v1/sys/early-warning/records/${s}`,{params:r});export{t as d,n as r,i as s}; diff --git a/lishui2/web/dist/assets/editPersonInfoDialog.b69d622c.js b/lishui2/web/dist/assets/editPersonInfoDialog.29b63757.js similarity index 52% rename from lishui2/web/dist/assets/editPersonInfoDialog.b69d622c.js rename to lishui2/web/dist/assets/editPersonInfoDialog.29b63757.js index 5ed41a5..546f17c 100644 --- a/lishui2/web/dist/assets/editPersonInfoDialog.b69d622c.js +++ b/lishui2/web/dist/assets/editPersonInfoDialog.29b63757.js @@ -1 +1 @@ -var q=Object.defineProperty,J=Object.defineProperties;var O=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var x=(a,t,e)=>t in a?q(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,V=(a,t)=>{for(var e in t||(t={}))M.call(t,e)&&x(a,e,t[e]);if(j)for(var e of j(t))T.call(t,e)&&x(a,e,t[e]);return a},w=(a,t)=>J(a,O(t));var h=(a,t,e)=>new Promise((k,v)=>{var b=r=>{try{i(e.next(r))}catch(R){v(R)}},g=r=>{try{i(e.throw(r))}catch(R){v(R)}},i=r=>r.done?k(r.value):Promise.resolve(r.value).then(b,g);i((e=e.apply(a,t)).next())});import{_ as E,d as K,D as z,r as C,L as A,e as y,f as D,I as G,l as n,k as p,m as F,g as I,F as H,J as Q,h as P,j as m,t as W,i as o,p as X}from"./index.11dc4694.js";import{h as Y,f as Z,c as U,b as ee,e as te,g as oe,r as ae}from"./uploadAction.c865409e.js";import{p as le,d as se}from"./securityPersonnelControl.59feabab.js";const ne={class:"flex-1"},ie={class:"el-upload__tip"},re=K({name:"editPersonInfoDialog"}),pe=Object.assign(re,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(a,{emit:t}){const{proxy:e}=X(),k=z.dictStore.uploadUrl,v=a,b=t,g=C(!1),i=C({infoList:[{investigationReport:[]}]}),r=C(),R=f=>h(this,null,function*(){!f||f.validate(l=>h(this,null,function*(){if(l)try{g.value=!0;const u=i.value.infoList.map(c=>{var _;return w(V({},c),{projectCode:v.data.projectCode,investigationReport:((_=c==null?void 0:c.investigationReport)==null?void 0:_.length)&&JSON.stringify(oe(c.investigationReport))||void 0})});yield le(u),e.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),g.value=!1,b("close",!0)}catch(u){g.value=!1}}))}),S=()=>h(this,null,function*(){var l;const f=yield se(v.data.projectCode);i.value.infoList=((l=f.data.personSafetyInfo)==null?void 0:l.map(u=>w(V({},u),{investigationReport:u.investigationReport?ae(JSON.parse(u.investigationReport)):[]})))||[{investigationReport:[]}]});return A(()=>v.visible,f=>h(this,null,function*(){f?S():i.value={infoList:[{investigationReport:[]}]}})),(f,l)=>{const u=y("el-input"),c=y("el-form-item"),_=y("el-button"),$=y("el-upload"),N=y("el-form"),B=y("el-dialog");return D(),G(B,{"model-value":a.visible,title:"\u586B\u5199\u5B89\u5168\u4EBA\u5458\u4FE1\u606F",width:"600px","destroy-on-close":"",onClose:l[2]||(l[2]=d=>b("close"))},{footer:n(()=>[p(_,{type:"primary",loading:g.value,onClick:l[0]||(l[0]=d=>R(r.value))},{default:n(()=>[F(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),p(_,{onClick:l[1]||(l[1]=d=>b("close"))},{default:n(()=>[F(" \u5173\u95ED ")]),_:1})]),default:n(()=>[p(N,{ref_key:"dialogFormRef",ref:r,model:i.value,"label-width":"auto","status-icon":"",class:"mt-16","label-suffix":"\uFF1A"},{default:n(()=>[(D(!0),I(H,null,Q(i.value.infoList,(d,L)=>(D(),I("div",{key:L,class:"flex items-start"},[P("div",ne,[p(c,{label:"\u9879\u76EE\u5B89\u5168\u8D1F\u8D23\u4EBA",prop:`infoList[${L}].username`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:n(()=>[p(u,{modelValue:d.username,"onUpdate:modelValue":s=>d.username=s,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),p(c,{label:"\u8054\u7CFB\u65B9\u5F0F",prop:`infoList[${L}].contactInfo`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:n(()=>[p(u,{modelValue:d.contactInfo,"onUpdate:modelValue":s=>d.contactInfo=s,placeholder:"\u8BF7\u586B\u5199",maxlength:11},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),p(c,{label:"\u9879\u76EE\u4FDD\u5BC6\u534F\u8BAE",prop:`infoList[${L}].investigationReport`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:n(()=>[p($,{"file-list":d.investigationReport,"onUpdate:fileList":s=>d.investigationReport=s,class:"w-full",action:m(k),limit:1,"on-success":s=>m(Y)(s,i.value.infoList[L].investigationReport,!0),"before-upload":s=>m(Z)(s,{types:m(U)}),accept:m(U).map(s=>`.${s}`).join(","),"on-preview":m(ee)},{tip:n(()=>[P("div",ie," \u652F\u6301"+W(m(te))+"\u6587\u4EF6 ",1)]),default:n(()=>[p(_,{type:"primary",plain:""},{default:n(()=>[F("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","accept","on-preview"])]),_:2},1032,["prop"])]),o(" \u5220\u9664"),o(" "),o(" \u589E\u52A0")]))),128))]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),me=E(pe,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectSafetyRiskMonitor/securityPersonnelControl/components/editPersonInfoDialog.vue"]]);export{me as default}; +var q=Object.defineProperty,O=Object.defineProperties;var J=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var T=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var I=(a,t,e)=>t in a?q(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,V=(a,t)=>{for(var e in t||(t={}))T.call(t,e)&&I(a,e,t[e]);if(D)for(var e of D(t))E.call(t,e)&&I(a,e,t[e]);return a},C=(a,t)=>O(a,J(t));var L=(a,t,e)=>new Promise((h,v)=>{var b=r=>{try{i(e.next(r))}catch(R){v(R)}},g=r=>{try{i(e.throw(r))}catch(R){v(R)}},i=r=>r.done?h(r.value):Promise.resolve(r.value).then(b,g);i((e=e.apply(a,t)).next())});import{_ as M,d as W,D as z,r as w,L as A,e as y,f as F,I as G,l as n,k as p,m as j,g as S,F as H,J as K,h as U,j as m,t as Q,i as o,p as X}from"./index.096886c6.js";import{h as Y,f as Z,c as x,b as ee,e as te,g as oe,r as ae}from"./uploadAction.03c39815.js";import{p as le,d as se}from"./securityPersonnelControl.ae12e384.js";const ne={class:"flex-1"},ie={class:"el-upload__tip"},re=W({name:"editPersonInfoDialog"}),pe=Object.assign(re,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(a,{emit:t}){const{proxy:e}=X(),h=z.dictStore.uploadUrl,v=a,b=t,g=w(!1),i=w({infoList:[{investigationReport:[]}]}),r=w(),R=f=>L(this,null,function*(){!f||f.validate(l=>L(this,null,function*(){if(l)try{g.value=!0;const u=i.value.infoList.map(c=>{var _;return C(V({},c),{projectCode:v.data.projectCode,investigationReport:((_=c==null?void 0:c.investigationReport)==null?void 0:_.length)&&JSON.stringify(oe(c.investigationReport))||void 0})});yield le(u),e.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),g.value=!1,b("close",!0)}catch(u){g.value=!1}}))}),P=()=>L(this,null,function*(){var l;const f=yield se(v.data.projectCode);i.value.infoList=((l=f.data.personSafetyInfo)==null?void 0:l.map(u=>C(V({},u),{investigationReport:u.investigationReport?ae(JSON.parse(u.investigationReport)):[]})))||[{investigationReport:[]}]});return A(()=>v.visible,f=>L(this,null,function*(){f?P():i.value={infoList:[{investigationReport:[]}]}})),(f,l)=>{const u=y("el-input"),c=y("el-form-item"),_=y("el-button"),$=y("el-upload"),N=y("el-form"),B=y("el-dialog");return F(),G(B,{"model-value":a.visible,title:"\u586B\u5199\u5B89\u5168\u4EBA\u5458\u4FE1\u606F",width:"600px","destroy-on-close":"",onClose:l[2]||(l[2]=d=>b("close"))},{footer:n(()=>[p(_,{type:"primary",loading:g.value,onClick:l[0]||(l[0]=d=>R(r.value))},{default:n(()=>[j(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),p(_,{onClick:l[1]||(l[1]=d=>b("close"))},{default:n(()=>[j(" \u5173\u95ED ")]),_:1})]),default:n(()=>[p(N,{ref_key:"dialogFormRef",ref:r,model:i.value,"label-width":"auto","status-icon":"",class:"mt-16","label-suffix":"\uFF1A"},{default:n(()=>[(F(!0),S(H,null,K(i.value.infoList,(d,k)=>(F(),S("div",{key:k,class:"flex items-start"},[U("div",ne,[p(c,{label:"\u9879\u76EE\u5B89\u5168\u8D1F\u8D23\u4EBA",prop:`infoList[${k}].username`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:n(()=>[p(u,{modelValue:d.username,"onUpdate:modelValue":s=>d.username=s,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),p(c,{label:"\u8054\u7CFB\u65B9\u5F0F",prop:`infoList[${k}].contactInfo`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:n(()=>[p(u,{modelValue:d.contactInfo,"onUpdate:modelValue":s=>d.contactInfo=s,placeholder:"\u8BF7\u586B\u5199",maxlength:11},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),p(c,{label:"\u9879\u76EE\u4FDD\u5BC6\u534F\u8BAE",prop:`infoList[${k}].investigationReport`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:n(()=>[p($,{"file-list":d.investigationReport,"onUpdate:fileList":s=>d.investigationReport=s,class:"w-full",action:m(h),limit:1,"on-success":s=>m(Y)(s,i.value.infoList[k].investigationReport,!0),"before-upload":s=>m(Z)(s,{types:m(x)}),accept:m(x).map(s=>`.${s}`).join(","),"on-preview":m(ee)},{tip:n(()=>[U("div",ie," \u652F\u6301"+Q(m(te))+"\u6587\u4EF6 ",1)]),default:n(()=>[p(_,{type:"primary",plain:""},{default:n(()=>[j("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","accept","on-preview"])]),_:2},1032,["prop"])]),o(" \u5220\u9664"),o(" "),o(" \u589E\u52A0")]))),128))]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),me=M(pe,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectSafetyRiskMonitor/securityPersonnelControl/components/editPersonInfoDialog.vue"]]);export{me as default}; diff --git a/lishui2/web/dist/assets/editSupplierDialog.d7a31887.js b/lishui2/web/dist/assets/editSupplierDialog.d7a31887.js new file mode 100644 index 0000000..cb12bb3 --- /dev/null +++ b/lishui2/web/dist/assets/editSupplierDialog.d7a31887.js @@ -0,0 +1 @@ +var R=Object.defineProperty,T=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var U=(o,l,a)=>l in o?R(o,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[l]=a,h=(o,l)=>{for(var a in l||(l={}))M.call(l,a)&&U(o,a,l[a]);if(F)for(var a of F(l))W.call(l,a)&&U(o,a,l[a]);return o},N=(o,l)=>T(o,E(l));var P=(o,l,a)=>new Promise((C,_)=>{var L=p=>{try{e(a.next(p))}catch(b){_(b)}},y=p=>{try{e(a.throw(p))}catch(b){_(b)}},e=p=>p.done?C(p.value):Promise.resolve(p.value).then(L,y);e((a=a.apply(o,l)).next())});import{_ as z,d as A,D as G,r as S,L as H,e as g,f as V,I as $,l as i,k as n,m as k,g as j,F as K,J as X,h as D,j as v,t as Y,i as Z,p as ee}from"./index.096886c6.js";import{h as ae,f as le,c as q,b as te,e as oe,g as se,r as ie}from"./uploadAction.03c39815.js";import{s as re,d as ne}from"./securityPersonnelControl.ae12e384.js";const ue={class:"flex-1"},pe={class:"el-upload__tip"},ce=A({name:"editSupplierDialog"}),fe=Object.assign(ce,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(o,{emit:l}){const{proxy:a}=ee(),C=G.dictStore.uploadUrl,_=o,L=l,y=S(!1),e=S({infoList:[{safetyProtocol:[]}]}),p=S(),b=r=>P(this,null,function*(){!r||r.validate(t=>P(this,null,function*(){if(t){y.value=!0;try{const c=e.value.infoList.map(s=>{var d;return N(h({},s),{supplierName:e.value.supplierName,projectCode:_.data.projectCode,safetyProtocol:((d=s==null?void 0:s.safetyProtocol)==null?void 0:d.length)&&JSON.stringify(se(s.safetyProtocol))||void 0})});yield re(c),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),y.value=!1,L("close",!0)}catch(c){y.value=!1}}}))}),B=()=>{var r;if(((r=e.value.infoList)==null?void 0:r.length)>=10){a.$message.warning("\u6700\u591A\u589E\u52A010\u4E2A\uFF01");return}e.value.infoList.push({safetyQualification:[]})},I=r=>{var t;(t=e.value.infoList)==null||t.splice(r,1)},x=()=>P(this,null,function*(){var t,c;const r=yield ne(_.data.projectCode);e.value.supplierName=(t=r.data.supplierSafetyQualification)==null?void 0:t[0].supplierName,e.value.infoList=((c=r.data.supplierSafetyQualification)==null?void 0:c.map(s=>N(h({},s),{safetyProtocol:s.safetyProtocol?ie(JSON.parse(s.safetyProtocol)):[]})))||[{}]});return H(()=>_.visible,r=>P(this,null,function*(){r?x():e.value={infoList:[{safetyProtocol:[]}]}})),(r,t)=>{const c=g("el-input"),s=g("el-form-item"),d=g("el-button"),O=g("el-upload"),J=g("el-form"),Q=g("el-dialog");return V(),$(Q,{"model-value":o.visible,title:"\u586B\u5199\u4F9B\u5E94\u5546\u5B89\u5168\u8D44\u8D28",width:"600px","destroy-on-close":"",onClose:t[3]||(t[3]=f=>L("close"))},{footer:i(()=>[n(d,{type:"primary",loading:y.value,onClick:t[1]||(t[1]=f=>b(p.value))},{default:i(()=>[k(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),n(d,{onClick:t[2]||(t[2]=f=>L("close"))},{default:i(()=>[k(" \u5173\u95ED ")]),_:1})]),default:i(()=>[n(J,{ref_key:"dialogFormRef",ref:p,model:e.value,"label-width":"auto","status-icon":"",class:"mt-16","label-suffix":"\uFF1A"},{default:i(()=>[n(s,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:i(()=>[n(c,{modelValue:e.value.supplierName,"onUpdate:modelValue":t[0]||(t[0]=f=>e.value.supplierName=f),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1}),(V(!0),j(K,null,X(e.value.infoList,(f,m)=>{var w;return V(),j("div",{key:m,class:"flex items-start"},[D("div",ue,[n(s,{label:"\u5382\u5546\u4EBA\u5458\u540D\u79F0",prop:`infoList[${m}].username`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:i(()=>[n(c,{modelValue:f.username,"onUpdate:modelValue":u=>f.username=u,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),n(s,{label:"\u8054\u7CFB\u65B9\u5F0F",prop:`infoList[${m}].contactInfo`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:i(()=>[n(c,{modelValue:f.contactInfo,"onUpdate:modelValue":u=>f.contactInfo=u,placeholder:"\u8BF7\u586B\u5199",maxlength:11},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),n(s,{label:"\u4FDD\u5BC6\u534F\u8BAE",prop:`infoList[${m}].safetyProtocol`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:i(()=>[n(O,{"file-list":e.value.infoList[m].safetyProtocol,"onUpdate:fileList":u=>e.value.infoList[m].safetyProtocol=u,class:"w-full",action:v(C),limit:1,"on-success":u=>v(ae)(u,e.value.infoList[m].safetyProtocol,!0),"before-upload":u=>v(le)(u,{types:v(q)}),accept:v(q).map(u=>`.${u}`).join(","),"on-preview":v(te)},{tip:i(()=>[D("div",pe," \u652F\u6301"+Y(v(oe))+"\u6587\u4EF6 ",1)]),default:i(()=>[n(d,{type:"primary",plain:""},{default:i(()=>[k("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","accept","on-preview"])]),_:2},1032,["prop"])]),((w=e.value.infoList)==null?void 0:w.length)>1?(V(),$(d,{key:0,icon:"Delete",type:"danger",plain:"",class:"ml-16",link:"",onClick:u=>I(m)},{default:i(()=>[k("\u5220\u9664")]),_:2},1032,["onClick"])):Z("v-if",!0)])}),128)),n(d,{icon:"Plus",type:"primary",plain:"",onClick:B},{default:i(()=>[k("\u589E\u52A0")]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),ye=z(fe,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectSafetyRiskMonitor/securityPersonnelControl/components/editSupplierDialog.vue"]]);export{ye as default}; diff --git a/lishui2/web/dist/assets/editSupplierDialog.e88b1c06.js b/lishui2/web/dist/assets/editSupplierDialog.e88b1c06.js deleted file mode 100644 index 444aa87..0000000 --- a/lishui2/web/dist/assets/editSupplierDialog.e88b1c06.js +++ /dev/null @@ -1 +0,0 @@ -var R=Object.defineProperty,M=Object.defineProperties;var T=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var j=(o,a,l)=>a in o?R(o,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):o[a]=l,h=(o,a)=>{for(var l in a||(a={}))E.call(a,l)&&j(o,l,a[l]);if(D)for(var l of D(a))K.call(a,l)&&j(o,l,a[l]);return o},N=(o,a)=>M(o,T(a));var b=(o,a,l)=>new Promise((C,_)=>{var L=p=>{try{e(l.next(p))}catch(P){_(P)}},y=p=>{try{e(l.throw(p))}catch(P){_(P)}},e=p=>p.done?C(p.value):Promise.resolve(p.value).then(L,y);e((l=l.apply(o,a)).next())});import{_ as z,d as A,D as G,r as w,L as H,e as g,f as k,I as F,l as i,k as n,m as V,g as U,F as W,J as X,h as $,j as v,t as Y,i as Z,p as ee}from"./index.11dc4694.js";import{h as le,f as ae,c as q,b as te,e as oe,g as se,r as ie}from"./uploadAction.c865409e.js";import{s as re,d as ne}from"./securityPersonnelControl.59feabab.js";const ue={class:"flex-1"},pe={class:"el-upload__tip"},ce=A({name:"editSupplierDialog"}),fe=Object.assign(ce,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(o,{emit:a}){const{proxy:l}=ee(),C=G.dictStore.uploadUrl,_=o,L=a,y=w(!1),e=w({infoList:[{safetyProtocol:[]}]}),p=w(),P=r=>b(this,null,function*(){!r||r.validate(t=>b(this,null,function*(){if(t){y.value=!0;try{const c=e.value.infoList.map(s=>{var d;return N(h({},s),{supplierName:e.value.supplierName,projectCode:_.data.projectCode,safetyProtocol:((d=s==null?void 0:s.safetyProtocol)==null?void 0:d.length)&&JSON.stringify(se(s.safetyProtocol))||void 0})});yield re(c),l.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),y.value=!1,L("close",!0)}catch(c){y.value=!1}}}))}),x=()=>{var r;if(((r=e.value.infoList)==null?void 0:r.length)>=10){l.$message.warning("\u6700\u591A\u589E\u52A010\u4E2A\uFF01");return}e.value.infoList.push({safetyQualification:[]})},B=r=>{var t;(t=e.value.infoList)==null||t.splice(r,1)},I=()=>b(this,null,function*(){var t,c;const r=yield ne(_.data.projectCode);e.value.supplierName=(t=r.data.supplierSafetyQualification)==null?void 0:t[0].supplierName,e.value.infoList=((c=r.data.supplierSafetyQualification)==null?void 0:c.map(s=>N(h({},s),{safetyProtocol:s.safetyProtocol?ie(JSON.parse(s.safetyProtocol)):[]})))||[{}]});return H(()=>_.visible,r=>b(this,null,function*(){r?I():e.value={infoList:[{safetyProtocol:[]}]}})),(r,t)=>{const c=g("el-input"),s=g("el-form-item"),d=g("el-button"),J=g("el-upload"),O=g("el-form"),Q=g("el-dialog");return k(),F(Q,{"model-value":o.visible,title:"\u586B\u5199\u4F9B\u5E94\u5546\u5B89\u5168\u8D44\u8D28",width:"600px","destroy-on-close":"",onClose:t[3]||(t[3]=f=>L("close"))},{footer:i(()=>[n(d,{type:"primary",loading:y.value,onClick:t[1]||(t[1]=f=>P(p.value))},{default:i(()=>[V(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),n(d,{onClick:t[2]||(t[2]=f=>L("close"))},{default:i(()=>[V(" \u5173\u95ED ")]),_:1})]),default:i(()=>[n(O,{ref_key:"dialogFormRef",ref:p,model:e.value,"label-width":"auto","status-icon":"",class:"mt-16","label-suffix":"\uFF1A"},{default:i(()=>[n(s,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplierName",rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:i(()=>[n(c,{modelValue:e.value.supplierName,"onUpdate:modelValue":t[0]||(t[0]=f=>e.value.supplierName=f),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1}),(k(!0),U(W,null,X(e.value.infoList,(f,m)=>{var S;return k(),U("div",{key:m,class:"flex items-start"},[$("div",ue,[n(s,{label:"\u5382\u5546\u4EBA\u5458\u540D\u79F0",prop:`infoList[${m}].username`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:i(()=>[n(c,{modelValue:f.username,"onUpdate:modelValue":u=>f.username=u,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),n(s,{label:"\u8054\u7CFB\u65B9\u5F0F",prop:`infoList[${m}].contactInfo`,rules:[{required:!0,message:"\u8BF7\u586B\u5199"}]},{default:i(()=>[n(c,{modelValue:f.contactInfo,"onUpdate:modelValue":u=>f.contactInfo=u,placeholder:"\u8BF7\u586B\u5199",maxlength:11},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),n(s,{label:"\u4FDD\u5BC6\u534F\u8BAE",prop:`infoList[${m}].safetyProtocol`,rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},{default:i(()=>[n(J,{"file-list":e.value.infoList[m].safetyProtocol,"onUpdate:fileList":u=>e.value.infoList[m].safetyProtocol=u,class:"w-full",action:v(C),limit:1,"on-success":u=>v(le)(u,e.value.infoList[m].safetyProtocol,!0),"before-upload":u=>v(ae)(u,{types:v(q)}),accept:v(q).map(u=>`.${u}`).join(","),"on-preview":v(te)},{tip:i(()=>[$("div",pe," \u652F\u6301"+Y(v(oe))+"\u6587\u4EF6 ",1)]),default:i(()=>[n(d,{type:"primary",plain:""},{default:i(()=>[V("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","accept","on-preview"])]),_:2},1032,["prop"])]),((S=e.value.infoList)==null?void 0:S.length)>1?(k(),F(d,{key:0,icon:"Delete",type:"danger",plain:"",class:"ml-16",link:"",onClick:u=>B(m)},{default:i(()=>[V("\u5220\u9664")]),_:2},1032,["onClick"])):Z("v-if",!0)])}),128)),n(d,{icon:"Plus",type:"primary",plain:"",onClick:x},{default:i(()=>[V("\u589E\u52A0")]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),ye=z(fe,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectSafetyRiskMonitor/securityPersonnelControl/components/editSupplierDialog.vue"]]);export{ye as default}; diff --git a/lishui2/web/dist/assets/eduInfo.f0e78afb.js b/lishui2/web/dist/assets/eduInfo.fd64880a.js similarity index 52% rename from lishui2/web/dist/assets/eduInfo.f0e78afb.js rename to lishui2/web/dist/assets/eduInfo.fd64880a.js index dedb4cd..e05118f 100644 --- a/lishui2/web/dist/assets/eduInfo.f0e78afb.js +++ b/lishui2/web/dist/assets/eduInfo.fd64880a.js @@ -1 +1 @@ -var H=Object.defineProperty,K=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var N=(u,i,r)=>i in u?H(u,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[i]=r,Y=(u,i)=>{for(var r in i||(i={}))G.call(i,r)&&N(u,r,i[r]);if(M)for(var r of M(i))Q.call(i,r)&&N(u,r,i[r]);return u},B=(u,i)=>K(u,$(i));var V=(u,i,r)=>new Promise((y,t)=>{var b=s=>{try{_(r.next(s))}catch(m){t(m)}},F=s=>{try{_(r.throw(s))}catch(m){t(m)}},_=s=>s.done?y(s.value):Promise.resolve(s.value).then(b,F);_((r=r.apply(u,i)).next())});import{d as W,D as x,r as w,o as X,H as Z,e as p,f as v,I as k,l,k as a,g as h,J as L,j as f,F as S,m as T,_ as ee,h as z,p as le}from"./index.11dc4694.js";import{h as E,b as A,f as q}from"./uploadAction.c865409e.js";const ae=z("div",{class:"el-upload__tip"}," \u652F\u6301\u6269\u5C55\u540D:.pdf.png .jpg ,\u6587\u4EF6\u5927\u5C0F\u4E0D\u8D85\u8FC71M ",-1),te=z("div",{class:"el-upload__tip"}," \u652F\u6301\u6269\u5C55\u540D:.pdf.png .jpg ,\u6587\u4EF6\u5927\u5C0F\u4E0D\u8D85\u8FC71M ",-1),oe=W({name:"eduInfo"}),re=Object.assign(oe,{setup(u,{expose:i}){const r=x.dictStore.uploadUrl,{proxy:y}=le(),t=w({}),b=w(),F={edu:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u5386",trigger:"blur"}],degree:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u4F4D",trigger:"blur"}]},_=n=>{b.value.validate(o=>{n(o)})},s=(n,o)=>{y.$message.warning("\u4EC5\u9650\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6")},m=n=>V(this,null,function*(){var o,g;t.value=B(Y({},n),{edu:((o=n.edu)==null?void 0:o[0])||void 0,degree:((g=n.degree)==null?void 0:g[0])||void 0,degreeCertificateFile:n.degreeCertificateFile&&n.degreeCertificateFile.map(d=>({name:d.fileName,response:{data:{id:d.fileId}},fileUrlById:d.url})),graduationCertificateFile:n.graduationCertificateFile&&n.graduationCertificateFile.map(d=>({name:d.fileName,response:{data:{id:d.fileId}},fileUrlById:d.url}))})}),J=w();return i({validForm:_,formData:t,setFormData:m}),X(()=>V(this,null,function*(){const n=yield Z({regionCode:331100,regionLevel:2});J.value=[n.data]})),(n,o)=>{const g=p("el-input"),d=p("el-form-item"),c=p("el-col"),O=p("el-date-picker"),U=p("el-option"),D=p("el-select"),I=p("el-button"),j=p("el-upload"),P=p("el-row"),R=p("el-form");return v(),k(R,{ref_key:"formRef",ref:b,model:t.value,rules:F,"label-position":"right","label-width":"100px","label-suffix":":","scroll-to-error":"",class:"eduInfo"},{default:l(()=>[a(P,{gutter:8},{default:l(()=>[a(c,{span:8},{default:l(()=>[a(d,{label:"\u6BD5\u4E1A\u5B66\u6821",prop:"school"},{default:l(()=>[a(g,{modelValue:t.value.school,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value.school=e),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(c,{span:8},{default:l(()=>[a(d,{label:"\u6BD5\u4E1A\u65F6\u95F4",prop:"graduatedAt"},{default:l(()=>[a(O,{modelValue:t.value.graduatedAt,"onUpdate:modelValue":o[1]||(o[1]=e=>t.value.graduatedAt=e),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1})]),_:1}),a(c,{span:8},{default:l(()=>[a(d,{label:"\u6240\u5B66\u4E13\u4E1A",prop:"academicTitle"},{default:l(()=>[a(g,{modelValue:t.value.academicTitle,"onUpdate:modelValue":o[2]||(o[2]=e=>t.value.academicTitle=e),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(c,{span:8},{default:l(()=>[a(d,{label:"\u5B66\u5386",prop:"edu"},{default:l(()=>[a(D,{modelValue:t.value.edu,"onUpdate:modelValue":o[3]||(o[3]=e=>t.value.edu=e),placeholder:"\u8BF7\u9009\u62E9\u5B66\u5386","value-key":"dictionaryCode",clearable:"",class:"w-full"},{default:l(()=>[(v(!0),h(S,null,L(f(x).dictStore.eduDict,(e,C)=>(v(),k(U,{key:C,label:e.dictionaryName,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(c,{span:8},{default:l(()=>[a(d,{label:"\u5B66\u4F4D",prop:"degree"},{default:l(()=>[a(D,{modelValue:t.value.degree,"onUpdate:modelValue":o[4]||(o[4]=e=>t.value.degree=e),placeholder:"\u8BF7\u9009\u62E9\u5B66\u4F4D","value-key":"dictionaryCode",class:"w-full"},{default:l(()=>[(v(!0),h(S,null,L(f(x).dictStore.degreeDict,(e,C)=>(v(),k(U,{key:C,label:e.dictionaryName,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(c,{span:24},{default:l(()=>[a(d,{label:"\u6BD5\u4E1A\u8BC1\u4E66",prop:"graduationCertificateFile"},{default:l(()=>[a(j,{"file-list":t.value.graduationCertificateFile,"onUpdate:fileList":o[5]||(o[5]=e=>t.value.graduationCertificateFile=e),class:"w-full",action:f(r),limit:1,"on-exceed":s,"on-success":e=>f(E)(e,t.value.graduationCertificateFile),"on-preview":f(A),accept:".pdf,.png,.jpeg","before-upload":e=>f(q)(e,{size:1024,types:["pdf","png","jpeg"]})},{tip:l(()=>[ae]),default:l(()=>[a(I,{type:"primary",plain:""},{default:l(()=>[T("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-preview","before-upload"])]),_:1})]),_:1}),a(c,{span:24},{default:l(()=>[a(d,{label:"\u5B66\u4F4D\u8BC1\u4E66",prop:"degreeCertificateFile"},{default:l(()=>[a(j,{"file-list":t.value.degreeCertificateFile,"onUpdate:fileList":o[6]||(o[6]=e=>t.value.degreeCertificateFile=e),class:"w-full",action:f(r),"on-exceed":s,limit:1,"on-success":e=>f(E)(e,t.value.degreeCertificateFile),"before-upload":e=>f(q)(e,{size:1024,types:["pdf","png","jpeg"]}),accept:".pdf,.png,.jpeg","on-preview":f(A)},{tip:l(()=>[te]),default:l(()=>[a(I,{type:"primary",plain:""},{default:l(()=>[T("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","on-preview"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),ue=ee(re,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertStore/addOrEditExpert/components/eduInfo.vue"]]);export{ue as default}; +var P=Object.defineProperty,W=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var Y=(u,d,r)=>d in u?P(u,d,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[d]=r,N=(u,d)=>{for(var r in d||(d={}))G.call(d,r)&&Y(u,r,d[r]);if(M)for(var r of M(d))K.call(d,r)&&Y(u,r,d[r]);return u},B=(u,d)=>W(u,$(d));var V=(u,d,r)=>new Promise((y,t)=>{var b=s=>{try{_(r.next(s))}catch(m){t(m)}},F=s=>{try{_(r.throw(s))}catch(m){t(m)}},_=s=>s.done?y(s.value):Promise.resolve(s.value).then(b,F);_((r=r.apply(u,d)).next())});import{d as Q,D as x,r as w,o as X,H as Z,e as p,f as v,I as k,l,k as a,g as S,J as h,j as f,F as L,m as T,_ as ee,h as z,p as le}from"./index.096886c6.js";import{h as E,b as A,f as q}from"./uploadAction.03c39815.js";const ae=z("div",{class:"el-upload__tip"}," \u652F\u6301\u6269\u5C55\u540D:.pdf.png .jpg ,\u6587\u4EF6\u5927\u5C0F\u4E0D\u8D85\u8FC71M ",-1),te=z("div",{class:"el-upload__tip"}," \u652F\u6301\u6269\u5C55\u540D:.pdf.png .jpg ,\u6587\u4EF6\u5927\u5C0F\u4E0D\u8D85\u8FC71M ",-1),oe=Q({name:"eduInfo"}),re=Object.assign(oe,{setup(u,{expose:d}){const r=x.dictStore.uploadUrl,{proxy:y}=le(),t=w({}),b=w(),F={edu:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u5386",trigger:"blur"}],degree:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B66\u4F4D",trigger:"blur"}]},_=n=>{b.value.validate(o=>{n(o)})},s=(n,o)=>{y.$message.warning("\u4EC5\u9650\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6")},m=n=>V(this,null,function*(){var o,g;t.value=B(N({},n),{edu:((o=n.edu)==null?void 0:o[0])||void 0,degree:((g=n.degree)==null?void 0:g[0])||void 0,degreeCertificateFile:n.degreeCertificateFile&&n.degreeCertificateFile.map(i=>({name:i.fileName,response:{data:{id:i.fileId}},fileUrlById:i.url})),graduationCertificateFile:n.graduationCertificateFile&&n.graduationCertificateFile.map(i=>({name:i.fileName,response:{data:{id:i.fileId}},fileUrlById:i.url}))})}),O=w();return d({validForm:_,formData:t,setFormData:m}),X(()=>V(this,null,function*(){const n=yield Z({regionCode:331100,regionLevel:2});O.value=[n.data]})),(n,o)=>{const g=p("el-input"),i=p("el-form-item"),c=p("el-col"),R=p("el-date-picker"),U=p("el-option"),I=p("el-select"),j=p("el-button"),D=p("el-upload"),H=p("el-row"),J=p("el-form");return v(),k(J,{ref_key:"formRef",ref:b,model:t.value,rules:F,"label-position":"right","label-width":"100px","label-suffix":":","scroll-to-error":"",class:"eduInfo"},{default:l(()=>[a(H,{gutter:8},{default:l(()=>[a(c,{span:8},{default:l(()=>[a(i,{label:"\u6BD5\u4E1A\u5B66\u6821",prop:"school"},{default:l(()=>[a(g,{modelValue:t.value.school,"onUpdate:modelValue":o[0]||(o[0]=e=>t.value.school=e),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(c,{span:8},{default:l(()=>[a(i,{label:"\u6BD5\u4E1A\u65F6\u95F4",prop:"graduatedAt"},{default:l(()=>[a(R,{modelValue:t.value.graduatedAt,"onUpdate:modelValue":o[1]||(o[1]=e=>t.value.graduatedAt=e),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1})]),_:1}),a(c,{span:8},{default:l(()=>[a(i,{label:"\u6240\u5B66\u4E13\u4E1A",prop:"academicTitle"},{default:l(()=>[a(g,{modelValue:t.value.academicTitle,"onUpdate:modelValue":o[2]||(o[2]=e=>t.value.academicTitle=e),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),a(c,{span:8},{default:l(()=>[a(i,{label:"\u5B66\u5386",prop:"edu"},{default:l(()=>[a(I,{modelValue:t.value.edu,"onUpdate:modelValue":o[3]||(o[3]=e=>t.value.edu=e),placeholder:"\u8BF7\u9009\u62E9\u5B66\u5386","value-key":"dictionaryCode",clearable:"",class:"w-full"},{default:l(()=>[(v(!0),S(L,null,h(f(x).dictStore.eduDict,(e,C)=>(v(),k(U,{key:C,label:e.dictionaryName,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(c,{span:8},{default:l(()=>[a(i,{label:"\u5B66\u4F4D",prop:"degree"},{default:l(()=>[a(I,{modelValue:t.value.degree,"onUpdate:modelValue":o[4]||(o[4]=e=>t.value.degree=e),placeholder:"\u8BF7\u9009\u62E9\u5B66\u4F4D","value-key":"dictionaryCode",class:"w-full"},{default:l(()=>[(v(!0),S(L,null,h(f(x).dictStore.degreeDict,(e,C)=>(v(),k(U,{key:C,label:e.dictionaryName,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),a(c,{span:24},{default:l(()=>[a(i,{label:"\u6BD5\u4E1A\u8BC1\u4E66",prop:"graduationCertificateFile"},{default:l(()=>[a(D,{"file-list":t.value.graduationCertificateFile,"onUpdate:fileList":o[5]||(o[5]=e=>t.value.graduationCertificateFile=e),class:"w-full",action:f(r),limit:1,"on-exceed":s,"on-success":e=>f(E)(e,t.value.graduationCertificateFile),"on-preview":f(A),accept:".pdf,.png,.jpeg","before-upload":e=>f(q)(e,{size:1024,types:["pdf","png","jpeg"]})},{tip:l(()=>[ae]),default:l(()=>[a(j,{type:"primary",plain:""},{default:l(()=>[T("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-preview","before-upload"])]),_:1})]),_:1}),a(c,{span:24},{default:l(()=>[a(i,{label:"\u5B66\u4F4D\u8BC1\u4E66",prop:"degreeCertificateFile"},{default:l(()=>[a(D,{"file-list":t.value.degreeCertificateFile,"onUpdate:fileList":o[6]||(o[6]=e=>t.value.degreeCertificateFile=e),class:"w-full",action:f(r),"on-exceed":s,limit:1,"on-success":e=>f(E)(e,t.value.degreeCertificateFile),"before-upload":e=>f(q)(e,{size:1024,types:["pdf","png","jpeg"]}),accept:".pdf,.png,.jpeg","on-preview":f(A)},{tip:l(()=>[te]),default:l(()=>[a(j,{type:"primary",plain:""},{default:l(()=>[T("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","before-upload","on-preview"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),ue=ee(re,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/expertManage/expertStore/addOrEditExpert/components/eduInfo.vue"]]);export{ue as default}; diff --git a/lishui2/web/dist/assets/empMaterials.f149f233.js b/lishui2/web/dist/assets/empMaterials.4731ab9b.js similarity index 90% rename from lishui2/web/dist/assets/empMaterials.f149f233.js rename to lishui2/web/dist/assets/empMaterials.4731ab9b.js index f7b1f90..c45e823 100644 --- a/lishui2/web/dist/assets/empMaterials.f149f233.js +++ b/lishui2/web/dist/assets/empMaterials.4731ab9b.js @@ -1 +1 @@ -var re=Object.defineProperty,pe=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var se=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable;var ie=(r,g,P)=>g in r?re(r,g,{enumerable:!0,configurable:!0,writable:!0,value:P}):r[g]=P,te=(r,g)=>{for(var P in g||(g={}))ce.call(g,P)&&ie(r,P,g[P]);if(se)for(var P of se(g))de.call(g,P)&&ie(r,P,g[P]);return r},oe=(r,g)=>pe(r,ue(g));import{_ as me,d as be,D as fe,r as q,b as Fe,L as G,e as E,f,g as _e,k as t,l as a,I as _,m as d,h as m,j as e,t as w,i as B,F as ve}from"./index.11dc4694.js";import{r as A,h as C,i as j,f as O,c as p,b as J,e as k}from"./uploadAction.c865409e.js";import ye from"./actualPerformanceIndicatorsDialog.930aa2cb.js";const ge=["onClick"],Pe=["onClick"],Se={class:"text-right w-full mt-8"},we=["onClick"],Ce=["onClick"],je={class:"text-right w-full mt-8"},Oe={class:"el-upload__tip"},ke={class:"el-upload__tip"},Ae={class:"el-upload__tip"},Ee={class:"el-upload__tip"},Ie={class:"el-upload__tip"},Le={class:"el-upload__tip"},Ue={class:"el-upload__tip"},Me={class:"el-upload__tip"},De={class:"el-upload__tip"},xe={class:"el-upload__tip"},he={class:"el-upload__tip"},$e={class:"el-upload__tip"},Ne={class:"el-upload__tip"},Be={class:"el-upload__tip"},Je=be({name:"empMaterials"}),Te=Object.assign(Je,{props:{detail:{type:Object},data:{type:Object},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""}},setup(r,{expose:g}){const P=r,S=fe.dictStore.uploadUrl,R=q(),s=q({feasibilityStudyReport:[],approvedFile:[],purchaseFile:[],acceptanceLetter:[],purchaseContract:[],acceptanceReport:[],changeApprovalDoc:[],baseBusinessMetrics:[]}),u=[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}],K=q({baseInitialOpinionFile:u,baseInforLevelFile:u,basePasswAssessFile:u,baseThirdAcceptFile:u,baseCheckFile:u,baseFinanlAuditFile:u,baseUserConsFile:u,baseEstaSummFile:u,baseOperatMaintenSummFile:u,baseFinalExpertOpinionFile:u,baseEngineerPostpoFile:u,baseEngineerAlterFile:u,baseChanFile:u,baseBusinessMetrics:[{required:!0,message:"\u8BF7\u6DFB\u52A0"}],baseLogAggregation:[{required:!0,message:"\u8BF7\u9009\u62E9"}]}),H=[{label:"\u6838\u5FC3\u4E1A\u52A1",prop:"businessName",key:"businessName"},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",prop:"name",key:"name"},{label:"\u6570\u503C",prop:"nums",key:"nums"},{label:"\u5355\u4F4D",prop:"unit",key:"unit"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],U=Fe({visible:!1,data:void 0}),z=q(),T=(o,n)=>{U.data=o,U.visible=!0,z.value=n},ne=o=>{z.value===void 0?s.value.baseBusinessMetrics=[...s.value.baseBusinessMetrics,...o]:s.value.baseBusinessMetrics[z.value]=o[0]},Q=o=>{s.value.baseBusinessMetrics.splice(o,1)};return g({formRef:R,formData:s}),G(()=>P.basicInfoData,o=>{o.baseProjIsConfidentiality==="02"||(o==null?void 0:o.baseProjSetProg)==="00"?K.value={}:K.value={baseInitialOpinionFile:u,baseInforLevelFile:u,basePasswAssessFile:u,baseThirdAcceptFile:u,baseCheckFile:u,baseFinanlAuditFile:u,baseUserConsFile:u,baseEstaSummFile:u,baseOperatMaintenSummFile:u,baseFinalExpertOpinionFile:u,baseEngineerPostpoFile:u,baseEngineerAlterFile:u,baseChanFile:u,baseBusinessMetrics:[{required:!0,message:"\u8BF7\u6DFB\u52A0"}],baseLogAggregation:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},R.value.clearValidate()},{deep:!0}),G(()=>P.detail,o=>{var n,I,M,c,v,D,b,F,V,Y,L,x,h,$,N;o&&(s.value=oe(te({},o.mimplement),{baseInitialOpinionFile:(n=o.mimplement)!=null&&n.baseInitialOpinionFile?A(JSON.parse(o.mimplement.baseInitialOpinionFile)):[],baseInforLevelFile:(I=o.mimplement)!=null&&I.baseInforLevelFile?A(JSON.parse(o.mimplement.baseInforLevelFile)):[],basePasswAssessFile:(M=o.mimplement)!=null&&M.basePasswAssessFile?A(JSON.parse(o.mimplement.basePasswAssessFile)):[],baseThirdAcceptFile:(c=o.mimplement)!=null&&c.baseThirdAcceptFile?A(JSON.parse(o.mimplement.baseThirdAcceptFile)):[],baseCheckFile:(v=o.mimplement)!=null&&v.baseCheckFile?A(JSON.parse(o.mimplement.baseCheckFile)):[],baseFinanlAuditFile:(D=o.mimplement)!=null&&D.baseFinanlAuditFile?A(JSON.parse(o.mimplement.baseFinanlAuditFile)):[],baseUserConsFile:(b=o.mimplement)!=null&&b.baseUserConsFile?A(JSON.parse(o.mimplement.baseUserConsFile)):[],baseEstaSummFile:(F=o.mimplement)!=null&&F.baseEstaSummFile?A(JSON.parse(o.mimplement.baseEstaSummFile)):[],baseOperatMaintenSummFile:(V=o.mimplement)!=null&&V.baseOperatMaintenSummFile?A(JSON.parse(o.mimplement.baseOperatMaintenSummFile)):[],baseFinalExpertOpinionFile:(Y=o.mimplement)!=null&&Y.baseFinalExpertOpinionFile?A(JSON.parse(o.mimplement.baseFinalExpertOpinionFile)):[],baseEngineerPostpoFile:(L=o.mimplement)!=null&&L.baseEngineerPostpoFile?A(JSON.parse(o.mimplement.baseEngineerPostpoFile)):[],baseEngineerAlterFile:(x=o.mimplement)!=null&&x.baseEngineerAlterFile?A(JSON.parse(o.mimplement.baseEngineerAlterFile)):[],baseChanFile:(h=o.mimplement)!=null&&h.baseChanFile?A(JSON.parse(o.mimplement.baseChanFile)):[],baseBusinessMetrics:(($=o.mimplement)==null?void 0:$.baseBusinessMetrics)&&JSON.parse((N=o.mimplement)==null?void 0:N.baseBusinessMetrics)||[]}))}),G(()=>P.data,o=>{},{immediate:!0,deep:!0}),(o,n)=>{const I=E("el-radio"),M=E("el-radio-group"),c=E("el-form-item"),v=E("el-col"),D=E("table-list"),b=E("el-button"),F=E("el-upload"),V=E("el-row"),Y=E("el-form");return f(),_e(ve,null,[t(Y,{ref_key:"formRef",ref:R,model:s.value,rules:K.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:a(()=>[t(V,{gutter:40},{default:a(()=>{var L,x,h,$,N,W,X,Z,ee;return[t(v,{span:24},{default:a(()=>[r.baseProjSetYear*1>=2024?(f(),_(c,{key:0,label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6","label-width":"170",prop:"baseLogAggregation"},{default:a(()=>[t(M,{modelValue:s.value.baseLogAggregation,"onUpdate:modelValue":n[0]||(n[0]=l=>s.value.baseLogAggregation=l)},{default:a(()=>[t(I,{label:"1"},{default:a(()=>[d("\u662F")]),_:1}),t(I,{label:"2"},{default:a(()=>[d("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(f(),_(c,{key:1,label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6","label-width":"170"},{default:a(()=>[t(M,{modelValue:s.value.baseLogAggregation,"onUpdate:modelValue":n[1]||(n[1]=l=>s.value.baseLogAggregation=l)},{default:a(()=>[t(I,{label:"1"},{default:a(()=>[d("\u662F")]),_:1}),t(I,{label:"2"},{default:a(()=>[d("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1}))]),_:1}),t(v,{span:24},{default:a(()=>[r.baseProjSetYear*1>=2024?(f(),_(c,{key:0,label:"\u5B9E\u9645\u6210\u6548\u6307\u6807","label-width":"170",prop:"baseBusinessMetrics"},{default:a(()=>[t(D,{pagination:!1,style:{width:"100%"},column:H,data:s.value.baseBusinessMetrics,"empty-temp":!1},{action:a(({scope:l})=>[m("a",{onClick:i=>T(l.row,l.$index)},"\u7F16\u8F91",8,ge),m("a",{class:"text-danger",onClick:i=>Q(l.$index)},"\u5220\u9664",8,Pe)]),_:1},8,["data"]),m("p",Se,[t(b,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:n[2]||(n[2]=()=>T())},{default:a(()=>[d("\u6DFB\u52A0")]),_:1})])]),_:1})):(f(),_(c,{key:1,label:"\u5B9E\u9645\u6210\u6548\u6307\u6807","label-width":"170"},{default:a(()=>[t(D,{pagination:!1,style:{width:"100%"},column:H,data:s.value.baseBusinessMetrics,"empty-temp":!1},{action:a(({scope:l})=>[m("a",{onClick:i=>T(l.row,l.$index)},"\u7F16\u8F91",8,we),m("a",{class:"text-danger",onClick:i=>Q(l.$index)},"\u5220\u9664",8,Ce)]),_:1},8,["data"]),m("p",je,[t(b,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:n[3]||(n[3]=()=>T())},{default:a(()=>[d("\u6DFB\u52A0")]),_:1})])]),_:1}))]),_:1}),["05","06","07","00"].includes((L=r.basicInfoData)==null?void 0:L.baseProjSetProg)&&((h=(x=r.basicInfoData)==null?void 0:x.baseConstructionType)==null?void 0:h.includes("01"))||!((N=($=r.basicInfoData)==null?void 0:$.baseConstructionType)!=null&&N.includes("01"))?(f(),_(v,{key:0,span:8},{default:a(()=>{var l,i,ae,le;return[((l=r.basicInfoData)==null?void 0:l.baseProjSetProg)==="07"&&((ae=(i=r.basicInfoData)==null?void 0:i.baseConstructionType)==null?void 0:ae.includes("01"))&&["03","04","05"].includes((le=r.approvalInfoData)==null?void 0:le.equalProtectionLevel)?(f(),_(c,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",prop:"baseInforLevelFile"},{default:a(()=>[t(F,{"file-list":s.value.baseInforLevelFile,"onUpdate:fileList":n[4]||(n[4]=y=>s.value.baseInforLevelFile=y),class:"w-full",action:e(S),"on-success":y=>e(C)(y,s.value.baseInforLevelFile),"on-error":e(j),"before-upload":y=>e(O)(y,{types:e(p)}),accept:e(p).map(y=>`.${y}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",Oe,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})):(f(),_(c,{key:1,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseInforLevelFile,"onUpdate:fileList":n[5]||(n[5]=y=>s.value.baseInforLevelFile=y),class:"w-full",action:e(S),"on-success":y=>e(C)(y,s.value.baseInforLevelFile),"on-error":e(j),"before-upload":y=>e(O)(y,{types:e(p)}),accept:e(p).map(y=>`.${y}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",ke,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1}))]}),_:1})):B("v-if",!0),!["01","02","03"].includes((W=r.basicInfoData)==null?void 0:W.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),_(v,{key:1,span:8},{default:a(()=>{var l;return[["01","02"].includes((l=r.approvalInfoData)==null?void 0:l.equalProtectionLevel)||r.baseProjSetYear*1<2023?(f(),_(c,{key:0,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.basePasswAssessFile,"onUpdate:fileList":n[6]||(n[6]=i=>s.value.basePasswAssessFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.basePasswAssessFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",Ae,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})):(f(),_(c,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",prop:"basePasswAssessFile"},{default:a(()=>[t(F,{"file-list":s.value.basePasswAssessFile,"onUpdate:fileList":n[7]||(n[7]=i=>s.value.basePasswAssessFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.basePasswAssessFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",Ee,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1}))]}),_:1})):B("v-if",!0),t(v,{span:8},{default:a(()=>[t(c,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseThirdAcceptFile,"onUpdate:fileList":n[8]||(n[8]=l=>s.value.baseThirdAcceptFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseThirdAcceptFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",Ie,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1}),!["01","02","03","04"].includes((X=r.basicInfoData)==null?void 0:X.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),_(v,{key:2,span:8},{default:a(()=>{var l;return[r.baseProjSetYear*1<2023||["05","06","07"].includes((l=r.basicInfoData)==null?void 0:l.baseProjSetProg)?(f(),_(c,{key:0,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseUserConsFile,"onUpdate:fileList":n[9]||(n[9]=i=>s.value.baseUserConsFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.baseUserConsFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:""},{tip:a(()=>[m("div",Le,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})):(f(),_(c,{key:1,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",prop:"baseUserConsFile"},{default:a(()=>[t(F,{"file-list":s.value.baseUserConsFile,"onUpdate:fileList":n[10]||(n[10]=i=>s.value.baseUserConsFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.baseUserConsFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:""},{tip:a(()=>[m("div",Ue,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1}))]}),_:1})):B("v-if",!0),t(v,{span:8},{default:a(()=>[t(c,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseEstaSummFile,"onUpdate:fileList":n[11]||(n[11]=l=>s.value.baseEstaSummFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseEstaSummFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",Me,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1}),!["01","02","03","04"].includes((Z=r.basicInfoData)==null?void 0:Z.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),_(v,{key:3,span:8},{default:a(()=>{var l;return[((l=r.basicInfoData)==null?void 0:l.baseProjSetProg)==="07"&&r.baseProjSetYear*1>=2023?(f(),_(c,{key:0,label:"\u8FD0\u7EF4\u603B\u7ED3\u62A5\u544A",prop:"baseOperatMaintenSummFile"},{default:a(()=>[t(F,{"file-list":s.value.baseOperatMaintenSummFile,"onUpdate:fileList":n[12]||(n[12]=i=>s.value.baseOperatMaintenSummFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.baseOperatMaintenSummFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:""},{tip:a(()=>[m("div",De,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})):(f(),_(c,{key:1,label:"\u8FD0\u7EF4\u603B\u7ED3\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseOperatMaintenSummFile,"onUpdate:fileList":n[13]||(n[13]=i=>s.value.baseOperatMaintenSummFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.baseOperatMaintenSummFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:""},{tip:a(()=>[m("div",xe,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1}))]}),_:1})):B("v-if",!0),((ee=r.basicInfoData)==null?void 0:ee.baseProjSetProg)==="07"?(f(),_(v,{key:4,span:8},{default:a(()=>[t(c,{label:"\u7EC8\u9A8C\u610F\u89C1",prop:"baseFinalExpertOpinionFile"},{default:a(()=>[t(F,{"file-list":s.value.baseFinalExpertOpinionFile,"onUpdate:fileList":n[14]||(n[14]=l=>s.value.baseFinalExpertOpinionFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseFinalExpertOpinionFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",he,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1})):B("v-if",!0),t(v,{span:8},{default:a(()=>[t(c,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868"},{default:a(()=>[t(F,{"file-list":s.value.baseEngineerPostpoFile,"onUpdate:fileList":n[15]||(n[15]=l=>s.value.baseEngineerPostpoFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseEngineerPostpoFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",$e,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1}),t(v,{span:8},{default:a(()=>[t(c,{label:"\u53D8\u66F4\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseEngineerAlterFile,"onUpdate:fileList":n[16]||(n[16]=l=>s.value.baseEngineerAlterFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseEngineerAlterFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",Ne,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1}),t(v,{span:8},{default:a(()=>[t(c,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6"},{default:a(()=>[t(F,{"file-list":s.value.baseChanFile,"onUpdate:fileList":n[17]||(n[17]=l=>s.value.baseChanFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseChanFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",Be,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1})]}),_:1})]),_:1},8,["model","rules"]),t(ye,{visible:U.visible,data:U.data,onSetContent:ne,onClose:n[18]||(n[18]=L=>U.visible=!1)},null,8,["visible","data"])],64)}}}),Ke=me(Te,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/empMaterials.vue"]]);export{Ke as default}; +var re=Object.defineProperty,pe=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var se=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable;var ie=(r,g,P)=>g in r?re(r,g,{enumerable:!0,configurable:!0,writable:!0,value:P}):r[g]=P,te=(r,g)=>{for(var P in g||(g={}))ce.call(g,P)&&ie(r,P,g[P]);if(se)for(var P of se(g))de.call(g,P)&&ie(r,P,g[P]);return r},oe=(r,g)=>pe(r,ue(g));import{_ as me,d as be,D as fe,r as q,b as Fe,L as G,e as E,f,g as _e,k as t,l as a,I as _,m as d,h as m,j as e,t as w,i as B,F as ve}from"./index.096886c6.js";import{r as A,h as C,i as j,f as O,c as p,b as J,e as k}from"./uploadAction.03c39815.js";import ye from"./actualPerformanceIndicatorsDialog.31a0a036.js";const ge=["onClick"],Pe=["onClick"],Se={class:"text-right w-full mt-8"},we=["onClick"],Ce=["onClick"],je={class:"text-right w-full mt-8"},Oe={class:"el-upload__tip"},ke={class:"el-upload__tip"},Ae={class:"el-upload__tip"},Ee={class:"el-upload__tip"},Ie={class:"el-upload__tip"},Le={class:"el-upload__tip"},Ue={class:"el-upload__tip"},Me={class:"el-upload__tip"},he={class:"el-upload__tip"},xe={class:"el-upload__tip"},De={class:"el-upload__tip"},$e={class:"el-upload__tip"},Ne={class:"el-upload__tip"},Be={class:"el-upload__tip"},Je=be({name:"empMaterials"}),Te=Object.assign(Je,{props:{detail:{type:Object},data:{type:Object},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""}},setup(r,{expose:g}){const P=r,S=fe.dictStore.uploadUrl,R=q(),s=q({feasibilityStudyReport:[],approvedFile:[],purchaseFile:[],acceptanceLetter:[],purchaseContract:[],acceptanceReport:[],changeApprovalDoc:[],baseBusinessMetrics:[]}),u=[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}],W=q({baseInitialOpinionFile:u,baseInforLevelFile:u,basePasswAssessFile:u,baseThirdAcceptFile:u,baseCheckFile:u,baseFinanlAuditFile:u,baseUserConsFile:u,baseEstaSummFile:u,baseOperatMaintenSummFile:u,baseFinalExpertOpinionFile:u,baseEngineerPostpoFile:u,baseEngineerAlterFile:u,baseChanFile:u,baseBusinessMetrics:[{required:!0,message:"\u8BF7\u6DFB\u52A0"}],baseLogAggregation:[{required:!0,message:"\u8BF7\u9009\u62E9"}]}),H=[{label:"\u6838\u5FC3\u4E1A\u52A1",prop:"businessName",key:"businessName"},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",prop:"name",key:"name"},{label:"\u6570\u503C",prop:"nums",key:"nums"},{label:"\u5355\u4F4D",prop:"unit",key:"unit"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],U=Fe({visible:!1,data:void 0}),z=q(),T=(o,n)=>{U.data=o,U.visible=!0,z.value=n},ne=o=>{z.value===void 0?s.value.baseBusinessMetrics=[...s.value.baseBusinessMetrics,...o]:s.value.baseBusinessMetrics[z.value]=o[0]},K=o=>{s.value.baseBusinessMetrics.splice(o,1)};return g({formRef:R,formData:s}),G(()=>P.basicInfoData,o=>{o.baseProjIsConfidentiality==="02"||(o==null?void 0:o.baseProjSetProg)==="00"?W.value={}:W.value={baseInitialOpinionFile:u,baseInforLevelFile:u,basePasswAssessFile:u,baseThirdAcceptFile:u,baseCheckFile:u,baseFinanlAuditFile:u,baseUserConsFile:u,baseEstaSummFile:u,baseOperatMaintenSummFile:u,baseFinalExpertOpinionFile:u,baseEngineerPostpoFile:u,baseEngineerAlterFile:u,baseChanFile:u,baseBusinessMetrics:[{required:!0,message:"\u8BF7\u6DFB\u52A0"}],baseLogAggregation:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},R.value.clearValidate()},{deep:!0}),G(()=>P.detail,o=>{var n,I,M,c,v,h,b,F,V,Y,L,x,D,$,N;o&&(s.value=oe(te({},o.mimplement),{baseInitialOpinionFile:(n=o.mimplement)!=null&&n.baseInitialOpinionFile?A(JSON.parse(o.mimplement.baseInitialOpinionFile)):[],baseInforLevelFile:(I=o.mimplement)!=null&&I.baseInforLevelFile?A(JSON.parse(o.mimplement.baseInforLevelFile)):[],basePasswAssessFile:(M=o.mimplement)!=null&&M.basePasswAssessFile?A(JSON.parse(o.mimplement.basePasswAssessFile)):[],baseThirdAcceptFile:(c=o.mimplement)!=null&&c.baseThirdAcceptFile?A(JSON.parse(o.mimplement.baseThirdAcceptFile)):[],baseCheckFile:(v=o.mimplement)!=null&&v.baseCheckFile?A(JSON.parse(o.mimplement.baseCheckFile)):[],baseFinanlAuditFile:(h=o.mimplement)!=null&&h.baseFinanlAuditFile?A(JSON.parse(o.mimplement.baseFinanlAuditFile)):[],baseUserConsFile:(b=o.mimplement)!=null&&b.baseUserConsFile?A(JSON.parse(o.mimplement.baseUserConsFile)):[],baseEstaSummFile:(F=o.mimplement)!=null&&F.baseEstaSummFile?A(JSON.parse(o.mimplement.baseEstaSummFile)):[],baseOperatMaintenSummFile:(V=o.mimplement)!=null&&V.baseOperatMaintenSummFile?A(JSON.parse(o.mimplement.baseOperatMaintenSummFile)):[],baseFinalExpertOpinionFile:(Y=o.mimplement)!=null&&Y.baseFinalExpertOpinionFile?A(JSON.parse(o.mimplement.baseFinalExpertOpinionFile)):[],baseEngineerPostpoFile:(L=o.mimplement)!=null&&L.baseEngineerPostpoFile?A(JSON.parse(o.mimplement.baseEngineerPostpoFile)):[],baseEngineerAlterFile:(x=o.mimplement)!=null&&x.baseEngineerAlterFile?A(JSON.parse(o.mimplement.baseEngineerAlterFile)):[],baseChanFile:(D=o.mimplement)!=null&&D.baseChanFile?A(JSON.parse(o.mimplement.baseChanFile)):[],baseBusinessMetrics:(($=o.mimplement)==null?void 0:$.baseBusinessMetrics)&&JSON.parse((N=o.mimplement)==null?void 0:N.baseBusinessMetrics)||[]}))}),G(()=>P.data,o=>{},{immediate:!0,deep:!0}),(o,n)=>{const I=E("el-radio"),M=E("el-radio-group"),c=E("el-form-item"),v=E("el-col"),h=E("table-list"),b=E("el-button"),F=E("el-upload"),V=E("el-row"),Y=E("el-form");return f(),_e(ve,null,[t(Y,{ref_key:"formRef",ref:R,model:s.value,rules:W.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:a(()=>[t(V,{gutter:40},{default:a(()=>{var L,x,D,$,N,Q,X,Z,ee;return[t(v,{span:24},{default:a(()=>[r.baseProjSetYear*1>=2024?(f(),_(c,{key:0,label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6","label-width":"170",prop:"baseLogAggregation"},{default:a(()=>[t(M,{modelValue:s.value.baseLogAggregation,"onUpdate:modelValue":n[0]||(n[0]=l=>s.value.baseLogAggregation=l)},{default:a(()=>[t(I,{label:"1"},{default:a(()=>[d("\u662F")]),_:1}),t(I,{label:"2"},{default:a(()=>[d("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(f(),_(c,{key:1,label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6","label-width":"170"},{default:a(()=>[t(M,{modelValue:s.value.baseLogAggregation,"onUpdate:modelValue":n[1]||(n[1]=l=>s.value.baseLogAggregation=l)},{default:a(()=>[t(I,{label:"1"},{default:a(()=>[d("\u662F")]),_:1}),t(I,{label:"2"},{default:a(()=>[d("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1}))]),_:1}),t(v,{span:24},{default:a(()=>[r.baseProjSetYear*1>=2024?(f(),_(c,{key:0,label:"\u5B9E\u9645\u6210\u6548\u6307\u6807","label-width":"170",prop:"baseBusinessMetrics"},{default:a(()=>[t(h,{pagination:!1,style:{width:"100%"},column:H,data:s.value.baseBusinessMetrics,"empty-temp":!1},{action:a(({scope:l})=>[m("a",{onClick:i=>T(l.row,l.$index)},"\u7F16\u8F91",8,ge),m("a",{class:"text-danger",onClick:i=>K(l.$index)},"\u5220\u9664",8,Pe)]),_:1},8,["data"]),m("p",Se,[t(b,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:n[2]||(n[2]=()=>T())},{default:a(()=>[d("\u6DFB\u52A0")]),_:1})])]),_:1})):(f(),_(c,{key:1,label:"\u5B9E\u9645\u6210\u6548\u6307\u6807","label-width":"170"},{default:a(()=>[t(h,{pagination:!1,style:{width:"100%"},column:H,data:s.value.baseBusinessMetrics,"empty-temp":!1},{action:a(({scope:l})=>[m("a",{onClick:i=>T(l.row,l.$index)},"\u7F16\u8F91",8,we),m("a",{class:"text-danger",onClick:i=>K(l.$index)},"\u5220\u9664",8,Ce)]),_:1},8,["data"]),m("p",je,[t(b,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:n[3]||(n[3]=()=>T())},{default:a(()=>[d("\u6DFB\u52A0")]),_:1})])]),_:1}))]),_:1}),["05","06","07","00"].includes((L=r.basicInfoData)==null?void 0:L.baseProjSetProg)&&((D=(x=r.basicInfoData)==null?void 0:x.baseConstructionType)==null?void 0:D.includes("01"))||!((N=($=r.basicInfoData)==null?void 0:$.baseConstructionType)!=null&&N.includes("01"))?(f(),_(v,{key:0,span:8},{default:a(()=>{var l,i,ae,le;return[((l=r.basicInfoData)==null?void 0:l.baseProjSetProg)==="07"&&((ae=(i=r.basicInfoData)==null?void 0:i.baseConstructionType)==null?void 0:ae.includes("01"))&&["03","04","05"].includes((le=r.approvalInfoData)==null?void 0:le.equalProtectionLevel)?(f(),_(c,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",prop:"baseInforLevelFile"},{default:a(()=>[t(F,{"file-list":s.value.baseInforLevelFile,"onUpdate:fileList":n[4]||(n[4]=y=>s.value.baseInforLevelFile=y),class:"w-full",action:e(S),"on-success":y=>e(C)(y,s.value.baseInforLevelFile),"on-error":e(j),"before-upload":y=>e(O)(y,{types:e(p)}),accept:e(p).map(y=>`.${y}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",Oe,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})):(f(),_(c,{key:1,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseInforLevelFile,"onUpdate:fileList":n[5]||(n[5]=y=>s.value.baseInforLevelFile=y),class:"w-full",action:e(S),"on-success":y=>e(C)(y,s.value.baseInforLevelFile),"on-error":e(j),"before-upload":y=>e(O)(y,{types:e(p)}),accept:e(p).map(y=>`.${y}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",ke,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1}))]}),_:1})):B("v-if",!0),!["01","02","03"].includes((Q=r.basicInfoData)==null?void 0:Q.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),_(v,{key:1,span:8},{default:a(()=>{var l;return[["01","02"].includes((l=r.approvalInfoData)==null?void 0:l.equalProtectionLevel)||r.baseProjSetYear*1<2023?(f(),_(c,{key:0,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.basePasswAssessFile,"onUpdate:fileList":n[6]||(n[6]=i=>s.value.basePasswAssessFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.basePasswAssessFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",Ae,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})):(f(),_(c,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",prop:"basePasswAssessFile"},{default:a(()=>[t(F,{"file-list":s.value.basePasswAssessFile,"onUpdate:fileList":n[7]||(n[7]=i=>s.value.basePasswAssessFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.basePasswAssessFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",Ee,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1}))]}),_:1})):B("v-if",!0),t(v,{span:8},{default:a(()=>[t(c,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseThirdAcceptFile,"onUpdate:fileList":n[8]||(n[8]=l=>s.value.baseThirdAcceptFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseThirdAcceptFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:"","on-preview":e(J)},{tip:a(()=>[m("div",Ie,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1}),!["01","02","03","04"].includes((X=r.basicInfoData)==null?void 0:X.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),_(v,{key:2,span:8},{default:a(()=>{var l;return[r.baseProjSetYear*1<2023||["05","06","07"].includes((l=r.basicInfoData)==null?void 0:l.baseProjSetProg)?(f(),_(c,{key:0,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseUserConsFile,"onUpdate:fileList":n[9]||(n[9]=i=>s.value.baseUserConsFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.baseUserConsFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:""},{tip:a(()=>[m("div",Le,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})):(f(),_(c,{key:1,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",prop:"baseUserConsFile"},{default:a(()=>[t(F,{"file-list":s.value.baseUserConsFile,"onUpdate:fileList":n[10]||(n[10]=i=>s.value.baseUserConsFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.baseUserConsFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:""},{tip:a(()=>[m("div",Ue,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1}))]}),_:1})):B("v-if",!0),t(v,{span:8},{default:a(()=>[t(c,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseEstaSummFile,"onUpdate:fileList":n[11]||(n[11]=l=>s.value.baseEstaSummFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseEstaSummFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",Me,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1}),!["01","02","03","04"].includes((Z=r.basicInfoData)==null?void 0:Z.baseProjSetProg)||r.baseProjSetYear*1<2023?(f(),_(v,{key:3,span:8},{default:a(()=>{var l;return[((l=r.basicInfoData)==null?void 0:l.baseProjSetProg)==="07"&&r.baseProjSetYear*1>=2023?(f(),_(c,{key:0,label:"\u8FD0\u7EF4\u603B\u7ED3\u62A5\u544A",prop:"baseOperatMaintenSummFile"},{default:a(()=>[t(F,{"file-list":s.value.baseOperatMaintenSummFile,"onUpdate:fileList":n[12]||(n[12]=i=>s.value.baseOperatMaintenSummFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.baseOperatMaintenSummFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:""},{tip:a(()=>[m("div",he,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})):(f(),_(c,{key:1,label:"\u8FD0\u7EF4\u603B\u7ED3\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseOperatMaintenSummFile,"onUpdate:fileList":n[13]||(n[13]=i=>s.value.baseOperatMaintenSummFile=i),class:"w-full",action:e(S),"on-success":i=>e(C)(i,s.value.baseOperatMaintenSummFile),"on-error":e(j),"before-upload":i=>e(O)(i,{types:e(p)}),accept:e(p).map(i=>`.${i}`).join(","),multiple:""},{tip:a(()=>[m("div",xe,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1}))]}),_:1})):B("v-if",!0),((ee=r.basicInfoData)==null?void 0:ee.baseProjSetProg)==="07"?(f(),_(v,{key:4,span:8},{default:a(()=>[t(c,{label:"\u7EC8\u9A8C\u610F\u89C1",prop:"baseFinalExpertOpinionFile"},{default:a(()=>[t(F,{"file-list":s.value.baseFinalExpertOpinionFile,"onUpdate:fileList":n[14]||(n[14]=l=>s.value.baseFinalExpertOpinionFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseFinalExpertOpinionFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",De,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1})):B("v-if",!0),t(v,{span:8},{default:a(()=>[t(c,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868"},{default:a(()=>[t(F,{"file-list":s.value.baseEngineerPostpoFile,"onUpdate:fileList":n[15]||(n[15]=l=>s.value.baseEngineerPostpoFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseEngineerPostpoFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",$e,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1}),t(v,{span:8},{default:a(()=>[t(c,{label:"\u53D8\u66F4\u62A5\u544A"},{default:a(()=>[t(F,{"file-list":s.value.baseEngineerAlterFile,"onUpdate:fileList":n[16]||(n[16]=l=>s.value.baseEngineerAlterFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseEngineerAlterFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",Ne,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1}),t(v,{span:8},{default:a(()=>[t(c,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6"},{default:a(()=>[t(F,{"file-list":s.value.baseChanFile,"onUpdate:fileList":n[17]||(n[17]=l=>s.value.baseChanFile=l),class:"w-full",action:e(S),"on-success":l=>e(C)(l,s.value.baseChanFile),"on-error":e(j),"before-upload":l=>e(O)(l,{types:e(p)}),accept:e(p).map(l=>`.${l}`).join(","),multiple:""},{tip:a(()=>[m("div",Be,"\u652F\u6301"+w(e(k))+"\u6587\u4EF6",1)]),default:a(()=>[t(b,{type:"primary",class:"mr-4",plain:""},{default:a(()=>[d("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept"])]),_:1})]),_:1})]}),_:1})]),_:1},8,["model","rules"]),t(ye,{visible:U.visible,data:U.data,onSetContent:ne,onClose:n[18]||(n[18]=L=>U.visible=!1)},null,8,["visible","data"])],64)}}}),We=me(Te,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/components/empMaterials.vue"]]);export{We as default}; diff --git a/lishui2/web/dist/assets/empMaterials.e9fc4356.js b/lishui2/web/dist/assets/empMaterials.aa5abf13.js similarity index 86% rename from lishui2/web/dist/assets/empMaterials.e9fc4356.js rename to lishui2/web/dist/assets/empMaterials.aa5abf13.js index d920f4c..c461436 100644 --- a/lishui2/web/dist/assets/empMaterials.e9fc4356.js +++ b/lishui2/web/dist/assets/empMaterials.aa5abf13.js @@ -1 +1 @@ -var te=Object.defineProperty,oe=Object.defineProperties;var ne=Object.getOwnPropertyDescriptors;var le=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable;var ae=(o,k,J)=>k in o?te(o,k,{enumerable:!0,configurable:!0,writable:!0,value:J}):o[k]=J,se=(o,k)=>{for(var J in k||(k={}))re.call(k,J)&&ae(o,J,k[J]);if(le)for(var J of le(k))pe.call(k,J)&&ae(o,J,k[J]);return o},ie=(o,k)=>oe(o,ne(k));import{_ as ue,d as be,D as de,r as q,L as G,e as R,f as S,I as y,l as i,k as r,j as l,h,t as w,m as g,i as D}from"./index.11dc4694.js";import{r as L,h as O,i as C,f as P,c as d,b as N,e as I}from"./uploadAction.c865409e.js";const ce={class:"el-upload__tip"},me={class:"el-upload__tip"},fe={class:"el-upload__tip"},ve={class:"el-upload__tip"},Fe={class:"el-upload__tip"},Se={class:"el-upload__tip"},ye={class:"el-upload__tip"},he={class:"el-upload__tip"},we={class:"el-upload__tip"},ge={class:"el-upload__tip"},Oe={class:"el-upload__tip"},Ce={class:"el-upload__tip"},Pe={class:"el-upload__tip"},Ne={class:"el-upload__tip"},Ie={class:"el-upload__tip"},je={class:"el-upload__tip"},Je={class:"el-upload__tip"},ke={class:"el-upload__tip"},Ae=be({name:"empMaterials"}),Le=Object.assign(Ae,{props:{detail:{type:Object},data:{type:Object},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""},isSupplemented:{type:Boolean,default:!1}},setup(o,{expose:k}){const J=o,F=de.dictStore.uploadUrl,K=q(),n=q({feasibilityStudyReport:[],approvedFile:[],purchaseFile:[],acceptanceLetter:[],purchaseContract:[],acceptanceReport:[],changeApprovalDoc:[]}),A=[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}],z=q(),t=q();return k({formRef:K,formData:n}),G(()=>J.basicInfoData,b=>{b.baseProjIsConfidentiality==="02"||(b==null?void 0:b.baseProjSetProg)==="00"?z.value={}:z.value={baseInitialOpinionFile:A,baseInforLevelFile:A,basePasswAssessFile:A,baseThirdAcceptFile:A,baseCheckFile:A,baseFinanlAuditFile:A,baseUserConsFile:A,baseEstaSummFile:A,baseSummReportFile:A,baseFinalExpertOpinionFile:A,baseEngineerPostpoFile:A,baseChangeFormFile:A,baseChanFile:A},K.value.clearValidate()},{deep:!0}),G(()=>J.detail,b=>{var u,m,f,v,j,M,B,x,$,T,_,Y,V;b&&(J.isSupplemented&&(t.value=b.cimplement||{}),n.value=ie(se({},b.cimplement),{baseInitialOpinionFile:(u=b.cimplement)!=null&&u.baseInitialOpinionFile?L(JSON.parse(b.cimplement.baseInitialOpinionFile)):[],baseInforLevelFile:(m=b.cimplement)!=null&&m.baseInforLevelFile?L(JSON.parse(b.cimplement.baseInforLevelFile)):[],basePasswAssessFile:(f=b.cimplement)!=null&&f.basePasswAssessFile?L(JSON.parse(b.cimplement.basePasswAssessFile)):[],baseThirdAcceptFile:(v=b.cimplement)!=null&&v.baseThirdAcceptFile?L(JSON.parse(b.cimplement.baseThirdAcceptFile)):[],baseCheckFile:(j=b.cimplement)!=null&&j.baseCheckFile?L(JSON.parse(b.cimplement.baseCheckFile)):[],baseFinanlAuditFile:(M=b.cimplement)!=null&&M.baseFinanlAuditFile?L(JSON.parse(b.cimplement.baseFinanlAuditFile)):[],baseUserConsFile:(B=b.cimplement)!=null&&B.baseUserConsFile?L(JSON.parse(b.cimplement.baseUserConsFile)):[],baseEstaSummFile:(x=b.cimplement)!=null&&x.baseEstaSummFile?L(JSON.parse(b.cimplement.baseEstaSummFile)):[],baseSummReportFile:($=b.cimplement)!=null&&$.baseSummReportFile?L(JSON.parse(b.cimplement.baseSummReportFile)):[],baseFinalExpertOpinionFile:(T=b.cimplement)!=null&&T.baseFinalExpertOpinionFile?L(JSON.parse(b.cimplement.baseFinalExpertOpinionFile)):[],baseEngineerPostpoFile:(_=b.cimplement)!=null&&_.baseEngineerPostpoFile?L(JSON.parse(b.cimplement.baseEngineerPostpoFile)):[],baseChangeFormFile:(Y=b.cimplement)!=null&&Y.baseChangeFormFile?L(JSON.parse(b.cimplement.baseChangeFormFile)):[],baseChanFile:(V=b.cimplement)!=null&&V.baseChanFile?L(JSON.parse(b.cimplement.baseChanFile)):[]}))}),G(()=>J.data,b=>{},{immediate:!0,deep:!0}),(b,u)=>{const m=R("el-button"),f=R("el-upload"),v=R("el-form-item"),j=R("el-col"),M=R("el-row"),B=R("el-form");return S(),y(B,{ref_key:"formRef",ref:K,model:n.value,rules:z.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:i(()=>[r(M,{gutter:40},{default:i(()=>{var x,$,T,_,Y,V,H,Q,W,X,Z,ee;return[r(j,{span:8},{default:i(()=>[r(v,{label:"\u521D\u9A8C\u610F\u89C1"},{default:i(()=>[r(f,{"file-list":n.value.baseInitialOpinionFile,"onUpdate:fileList":u[0]||(u[0]=a=>n.value.baseInitialOpinionFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseInitialOpinionFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseInitialOpinionFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseInitialOpinionFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ce,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseInitialOpinionFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseInitialOpinionFile))!=null&&s.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),["05","06","07","00"].includes((x=o.basicInfoData)==null?void 0:x.baseProjSetProg)&&((T=($=o.basicInfoData)==null?void 0:$.baseConstructionType)==null?void 0:T.includes("01"))||!((Y=(_=o.basicInfoData)==null?void 0:_.baseConstructionType)!=null&&Y.includes("01"))?(S(),y(j,{key:0,span:8},{default:i(()=>{var a,e,s,p;return[((a=o.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&((s=(e=o.basicInfoData)==null?void 0:e.baseConstructionType)==null?void 0:s.includes("01"))&&["03","04","05"].includes((p=o.approvalInfoData)==null?void 0:p.equalProtectionLevel)?(S(),y(v,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",prop:"baseInforLevelFile"},{default:i(()=>[r(f,{"file-list":n.value.baseInforLevelFile,"onUpdate:fileList":u[1]||(u[1]=c=>n.value.baseInforLevelFile=c),class:"w-full",action:l(F),"on-success":c=>l(O)(c,n.value.baseInforLevelFile),"on-error":l(C),"before-upload":c=>l(P)(c,{types:l(d)}),accept:l(d).map(c=>`.${c}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var c,U,E;return!(((c=t.value)==null?void 0:c.baseInforLevelFile)&&!!((E=JSON.parse((U=t.value)==null?void 0:U.baseInforLevelFile))!=null&&E.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",me,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var c,U,E;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((c=t.value)==null?void 0:c.baseInforLevelFile)&&((E=JSON.parse((U=t.value)==null?void 0:U.baseInforLevelFile))==null?void 0:E.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:1,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseInforLevelFile,"onUpdate:fileList":u[2]||(u[2]=c=>n.value.baseInforLevelFile=c),class:"w-full",action:l(F),"on-success":c=>l(O)(c,n.value.baseInforLevelFile),"on-error":l(C),"before-upload":c=>l(P)(c,{types:l(d)}),accept:l(d).map(c=>`.${c}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var c,U,E;return!(((c=t.value)==null?void 0:c.baseInforLevelFile)&&!!((E=JSON.parse((U=t.value)==null?void 0:U.baseInforLevelFile))!=null&&E.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",fe,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var c,U,E;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((c=t.value)==null?void 0:c.baseInforLevelFile)&&((E=JSON.parse((U=t.value)==null?void 0:U.baseInforLevelFile))==null?void 0:E.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),!["01","02","03"].includes((V=o.basicInfoData)==null?void 0:V.baseProjSetProg)||o.baseProjSetYear*1<2023?(S(),y(j,{key:1,span:8},{default:i(()=>{var a;return[["01","02"].includes((a=o.approvalInfoData)==null?void 0:a.equalProtectionLevel)||o.baseProjSetYear*1<2023?(S(),y(v,{key:0,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.basePasswAssessFile,"onUpdate:fileList":u[3]||(u[3]=e=>n.value.basePasswAssessFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.basePasswAssessFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.basePasswAssessFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.basePasswAssessFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ve,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.basePasswAssessFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.basePasswAssessFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",prop:"basePasswAssessFile"},{default:i(()=>[r(f,{"file-list":n.value.basePasswAssessFile,"onUpdate:fileList":u[4]||(u[4]=e=>n.value.basePasswAssessFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.basePasswAssessFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.basePasswAssessFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.basePasswAssessFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Fe,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.basePasswAssessFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.basePasswAssessFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),r(j,{span:8},{default:i(()=>[r(v,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseThirdAcceptFile,"onUpdate:fileList":u[5]||(u[5]=a=>n.value.baseThirdAcceptFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseThirdAcceptFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseThirdAcceptFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseThirdAcceptFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Se,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseThirdAcceptFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseThirdAcceptFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),["05","06","07","00"].includes((H=o.basicInfoData)==null?void 0:H.baseProjSetProg)||o.baseProjSetYear*1<2023?(S(),y(j,{key:2,span:8},{default:i(()=>{var a;return[((a=o.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&o.baseProjSetYear*1>=2023?(S(),y(v,{key:"baseCheckFile1",label:"\u5EFA\u8BBE\u6838\u67E5\u8868",prop:"baseCheckFile"},{default:i(()=>[r(f,{"file-list":n.value.baseCheckFile,"onUpdate:fileList":u[6]||(u[6]=e=>n.value.baseCheckFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseCheckFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseCheckFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseCheckFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ye,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseCheckFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseCheckFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:"baseCheckFile2",label:"\u5EFA\u8BBE\u6838\u67E5\u8868"},{default:i(()=>[r(f,{"file-list":n.value.baseCheckFile,"onUpdate:fileList":u[7]||(u[7]=e=>n.value.baseCheckFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseCheckFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseCheckFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseCheckFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",he,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseCheckFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseCheckFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),((Q=o.approvalInfoData)==null?void 0:Q.releaseYearMoney)>=2e3&&!["01","02","03","04"].includes((W=o.basicInfoData)==null?void 0:W.baseProjSetProg)?(S(),y(j,{key:3,span:8},{default:i(()=>[r(v,{label:"\u8D22\u52A1\u5BA1\u8BA1\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseFinanlAuditFile,"onUpdate:fileList":u[8]||(u[8]=a=>n.value.baseFinanlAuditFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseFinanlAuditFile),"on-error":l(C),":before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseFinanlAuditFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseFinanlAuditFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",we,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseFinanlAuditFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseFinanlAuditFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error",":before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})):D("v-if",!0),!["01","02","03","04"].includes((X=o.basicInfoData)==null?void 0:X.baseProjSetProg)||o.baseProjSetYear*1<2023?(S(),y(j,{key:4,span:8},{default:i(()=>{var a;return[o.baseProjSetYear*1<2023||["05","06","07"].includes((a=o.basicInfoData)==null?void 0:a.baseProjSetProg)?(S(),y(v,{key:0,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseUserConsFile,"onUpdate:fileList":u[9]||(u[9]=e=>n.value.baseUserConsFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseUserConsFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseUserConsFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseUserConsFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ge,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseUserConsFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseUserConsFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:1,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",prop:"baseUserConsFile"},{default:i(()=>[r(f,{"file-list":n.value.baseUserConsFile,"onUpdate:fileList":u[10]||(u[10]=e=>n.value.baseUserConsFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseUserConsFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseUserConsFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseUserConsFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Oe,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseUserConsFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseUserConsFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),r(j,{span:8},{default:i(()=>[r(v,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseEstaSummFile,"onUpdate:fileList":u[11]||(u[11]=a=>n.value.baseEstaSummFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseEstaSummFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseEstaSummFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseEstaSummFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Ce,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseEstaSummFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseEstaSummFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),!["01","02","03","04"].includes((Z=o.basicInfoData)==null?void 0:Z.baseProjSetProg)||o.baseProjSetYear*1<2023?(S(),y(j,{key:5,span:8},{default:i(()=>{var a;return[((a=o.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&o.baseProjSetYear*1>=2023?(S(),y(v,{key:0,label:"\u9879\u76EE\u603B\u7ED3\u62A5\u544A",prop:"baseSummReportFile"},{default:i(()=>[r(f,{"file-list":n.value.baseSummReportFile,"onUpdate:fileList":u[12]||(u[12]=e=>n.value.baseSummReportFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseSummReportFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseSummReportFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseSummReportFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Pe,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseSummReportFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseSummReportFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:1,label:"\u9879\u76EE\u603B\u7ED3\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseSummReportFile,"onUpdate:fileList":u[13]||(u[13]=e=>n.value.baseSummReportFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseSummReportFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseSummReportFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseSummReportFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Ne,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseSummReportFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseSummReportFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),((ee=o.basicInfoData)==null?void 0:ee.baseProjSetProg)==="07"?(S(),y(j,{key:6,span:8},{default:i(()=>[r(v,{label:"\u7EC8\u9A8C\u610F\u89C1",prop:"baseFinalExpertOpinionFile"},{default:i(()=>[r(f,{"file-list":n.value.baseFinalExpertOpinionFile,"onUpdate:fileList":u[14]||(u[14]=a=>n.value.baseFinalExpertOpinionFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseFinalExpertOpinionFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseFinalExpertOpinionFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseFinalExpertOpinionFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Ie,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseFinalExpertOpinionFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseFinalExpertOpinionFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})):D("v-if",!0),r(j,{span:8},{default:i(()=>[r(v,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868"},{default:i(()=>[r(f,{"file-list":n.value.baseEngineerPostpoFile,"onUpdate:fileList":u[15]||(u[15]=a=>n.value.baseEngineerPostpoFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseEngineerPostpoFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseEngineerPostpoFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseEngineerPostpoFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",je,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseEngineerPostpoFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseEngineerPostpoFile))!=null&&s.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),r(j,{span:8},{default:i(()=>[r(v,{label:"\u53D8\u66F4\u7533\u8BF7\u5355"},{default:i(()=>[r(f,{"file-list":n.value.baseChangeFormFile,"onUpdate:fileList":u[16]||(u[16]=a=>n.value.baseChangeFormFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseChangeFormFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseChangeFormFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseChangeFormFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Je,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseChangeFormFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseChangeFormFile))!=null&&s.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),r(j,{span:8},{default:i(()=>[r(v,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6"},{default:i(()=>[r(f,{"file-list":n.value.baseChanFile,"onUpdate:fileList":u[17]||(u[17]=a=>n.value.baseChanFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseChanFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseChanFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseChanFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ke,"\u652F\u6301"+w(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseChanFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseChanFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[g("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})]}),_:1})]),_:1},8,["model","rules"])}}}),Re=ue(Le,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/empMaterials.vue"]]);export{Re as default}; +var te=Object.defineProperty,oe=Object.defineProperties;var ne=Object.getOwnPropertyDescriptors;var le=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable;var ae=(o,k,J)=>k in o?te(o,k,{enumerable:!0,configurable:!0,writable:!0,value:J}):o[k]=J,se=(o,k)=>{for(var J in k||(k={}))re.call(k,J)&&ae(o,J,k[J]);if(le)for(var J of le(k))pe.call(k,J)&&ae(o,J,k[J]);return o},ie=(o,k)=>oe(o,ne(k));import{_ as ue,d as be,D as de,r as q,L as G,e as R,f as S,I as y,l as i,k as r,j as l,h,t as g,m as w,i as D}from"./index.096886c6.js";import{r as L,h as O,i as C,f as P,c as d,b as N,e as I}from"./uploadAction.03c39815.js";const ce={class:"el-upload__tip"},me={class:"el-upload__tip"},fe={class:"el-upload__tip"},ve={class:"el-upload__tip"},Fe={class:"el-upload__tip"},Se={class:"el-upload__tip"},ye={class:"el-upload__tip"},he={class:"el-upload__tip"},ge={class:"el-upload__tip"},we={class:"el-upload__tip"},Oe={class:"el-upload__tip"},Ce={class:"el-upload__tip"},Pe={class:"el-upload__tip"},Ne={class:"el-upload__tip"},Ie={class:"el-upload__tip"},je={class:"el-upload__tip"},Je={class:"el-upload__tip"},ke={class:"el-upload__tip"},Ae=be({name:"empMaterials"}),Le=Object.assign(Ae,{props:{detail:{type:Object},data:{type:Object},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""},isSupplemented:{type:Boolean,default:!1}},setup(o,{expose:k}){const J=o,F=de.dictStore.uploadUrl,W=q(),n=q({feasibilityStudyReport:[],approvedFile:[],purchaseFile:[],acceptanceLetter:[],purchaseContract:[],acceptanceReport:[],changeApprovalDoc:[]}),A=[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}],z=q(),t=q();return k({formRef:W,formData:n}),G(()=>J.basicInfoData,b=>{b.baseProjIsConfidentiality==="02"||(b==null?void 0:b.baseProjSetProg)==="00"?z.value={}:z.value={baseInitialOpinionFile:A,baseInforLevelFile:A,basePasswAssessFile:A,baseThirdAcceptFile:A,baseCheckFile:A,baseFinanlAuditFile:A,baseUserConsFile:A,baseEstaSummFile:A,baseSummReportFile:A,baseFinalExpertOpinionFile:A,baseEngineerPostpoFile:A,baseChangeFormFile:A,baseChanFile:A},W.value.clearValidate()},{deep:!0}),G(()=>J.detail,b=>{var u,m,f,v,j,B,M,x,$,T,_,Y,V;b&&(J.isSupplemented&&(t.value=b.cimplement||{}),n.value=ie(se({},b.cimplement),{baseInitialOpinionFile:(u=b.cimplement)!=null&&u.baseInitialOpinionFile?L(JSON.parse(b.cimplement.baseInitialOpinionFile)):[],baseInforLevelFile:(m=b.cimplement)!=null&&m.baseInforLevelFile?L(JSON.parse(b.cimplement.baseInforLevelFile)):[],basePasswAssessFile:(f=b.cimplement)!=null&&f.basePasswAssessFile?L(JSON.parse(b.cimplement.basePasswAssessFile)):[],baseThirdAcceptFile:(v=b.cimplement)!=null&&v.baseThirdAcceptFile?L(JSON.parse(b.cimplement.baseThirdAcceptFile)):[],baseCheckFile:(j=b.cimplement)!=null&&j.baseCheckFile?L(JSON.parse(b.cimplement.baseCheckFile)):[],baseFinanlAuditFile:(B=b.cimplement)!=null&&B.baseFinanlAuditFile?L(JSON.parse(b.cimplement.baseFinanlAuditFile)):[],baseUserConsFile:(M=b.cimplement)!=null&&M.baseUserConsFile?L(JSON.parse(b.cimplement.baseUserConsFile)):[],baseEstaSummFile:(x=b.cimplement)!=null&&x.baseEstaSummFile?L(JSON.parse(b.cimplement.baseEstaSummFile)):[],baseSummReportFile:($=b.cimplement)!=null&&$.baseSummReportFile?L(JSON.parse(b.cimplement.baseSummReportFile)):[],baseFinalExpertOpinionFile:(T=b.cimplement)!=null&&T.baseFinalExpertOpinionFile?L(JSON.parse(b.cimplement.baseFinalExpertOpinionFile)):[],baseEngineerPostpoFile:(_=b.cimplement)!=null&&_.baseEngineerPostpoFile?L(JSON.parse(b.cimplement.baseEngineerPostpoFile)):[],baseChangeFormFile:(Y=b.cimplement)!=null&&Y.baseChangeFormFile?L(JSON.parse(b.cimplement.baseChangeFormFile)):[],baseChanFile:(V=b.cimplement)!=null&&V.baseChanFile?L(JSON.parse(b.cimplement.baseChanFile)):[]}))}),G(()=>J.data,b=>{},{immediate:!0,deep:!0}),(b,u)=>{const m=R("el-button"),f=R("el-upload"),v=R("el-form-item"),j=R("el-col"),B=R("el-row"),M=R("el-form");return S(),y(M,{ref_key:"formRef",ref:W,model:n.value,rules:z.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:i(()=>[r(B,{gutter:40},{default:i(()=>{var x,$,T,_,Y,V,H,K,Q,X,Z,ee;return[r(j,{span:8},{default:i(()=>[r(v,{label:"\u521D\u9A8C\u610F\u89C1"},{default:i(()=>[r(f,{"file-list":n.value.baseInitialOpinionFile,"onUpdate:fileList":u[0]||(u[0]=a=>n.value.baseInitialOpinionFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseInitialOpinionFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseInitialOpinionFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseInitialOpinionFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ce,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseInitialOpinionFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseInitialOpinionFile))!=null&&s.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),["05","06","07","00"].includes((x=o.basicInfoData)==null?void 0:x.baseProjSetProg)&&((T=($=o.basicInfoData)==null?void 0:$.baseConstructionType)==null?void 0:T.includes("01"))||!((Y=(_=o.basicInfoData)==null?void 0:_.baseConstructionType)!=null&&Y.includes("01"))?(S(),y(j,{key:0,span:8},{default:i(()=>{var a,e,s,p;return[((a=o.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&((s=(e=o.basicInfoData)==null?void 0:e.baseConstructionType)==null?void 0:s.includes("01"))&&["03","04","05"].includes((p=o.approvalInfoData)==null?void 0:p.equalProtectionLevel)?(S(),y(v,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",prop:"baseInforLevelFile"},{default:i(()=>[r(f,{"file-list":n.value.baseInforLevelFile,"onUpdate:fileList":u[1]||(u[1]=c=>n.value.baseInforLevelFile=c),class:"w-full",action:l(F),"on-success":c=>l(O)(c,n.value.baseInforLevelFile),"on-error":l(C),"before-upload":c=>l(P)(c,{types:l(d)}),accept:l(d).map(c=>`.${c}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var c,U,E;return!(((c=t.value)==null?void 0:c.baseInforLevelFile)&&!!((E=JSON.parse((U=t.value)==null?void 0:U.baseInforLevelFile))!=null&&E.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",me,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var c,U,E;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((c=t.value)==null?void 0:c.baseInforLevelFile)&&((E=JSON.parse((U=t.value)==null?void 0:U.baseInforLevelFile))==null?void 0:E.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:1,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseInforLevelFile,"onUpdate:fileList":u[2]||(u[2]=c=>n.value.baseInforLevelFile=c),class:"w-full",action:l(F),"on-success":c=>l(O)(c,n.value.baseInforLevelFile),"on-error":l(C),"before-upload":c=>l(P)(c,{types:l(d)}),accept:l(d).map(c=>`.${c}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var c,U,E;return!(((c=t.value)==null?void 0:c.baseInforLevelFile)&&!!((E=JSON.parse((U=t.value)==null?void 0:U.baseInforLevelFile))!=null&&E.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",fe,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var c,U,E;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((c=t.value)==null?void 0:c.baseInforLevelFile)&&((E=JSON.parse((U=t.value)==null?void 0:U.baseInforLevelFile))==null?void 0:E.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),!["01","02","03"].includes((V=o.basicInfoData)==null?void 0:V.baseProjSetProg)||o.baseProjSetYear*1<2023?(S(),y(j,{key:1,span:8},{default:i(()=>{var a;return[["01","02"].includes((a=o.approvalInfoData)==null?void 0:a.equalProtectionLevel)||o.baseProjSetYear*1<2023?(S(),y(v,{key:0,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.basePasswAssessFile,"onUpdate:fileList":u[3]||(u[3]=e=>n.value.basePasswAssessFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.basePasswAssessFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.basePasswAssessFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.basePasswAssessFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ve,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.basePasswAssessFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.basePasswAssessFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",prop:"basePasswAssessFile"},{default:i(()=>[r(f,{"file-list":n.value.basePasswAssessFile,"onUpdate:fileList":u[4]||(u[4]=e=>n.value.basePasswAssessFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.basePasswAssessFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.basePasswAssessFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.basePasswAssessFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Fe,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.basePasswAssessFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.basePasswAssessFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),r(j,{span:8},{default:i(()=>[r(v,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseThirdAcceptFile,"onUpdate:fileList":u[5]||(u[5]=a=>n.value.baseThirdAcceptFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseThirdAcceptFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseThirdAcceptFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseThirdAcceptFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Se,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseThirdAcceptFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseThirdAcceptFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),["05","06","07","00"].includes((H=o.basicInfoData)==null?void 0:H.baseProjSetProg)||o.baseProjSetYear*1<2023?(S(),y(j,{key:2,span:8},{default:i(()=>{var a;return[((a=o.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&o.baseProjSetYear*1>=2023?(S(),y(v,{key:"baseCheckFile1",label:"\u5EFA\u8BBE\u6838\u67E5\u8868",prop:"baseCheckFile"},{default:i(()=>[r(f,{"file-list":n.value.baseCheckFile,"onUpdate:fileList":u[6]||(u[6]=e=>n.value.baseCheckFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseCheckFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseCheckFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseCheckFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ye,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseCheckFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseCheckFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:"baseCheckFile2",label:"\u5EFA\u8BBE\u6838\u67E5\u8868"},{default:i(()=>[r(f,{"file-list":n.value.baseCheckFile,"onUpdate:fileList":u[7]||(u[7]=e=>n.value.baseCheckFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseCheckFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseCheckFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseCheckFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",he,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseCheckFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseCheckFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),((K=o.approvalInfoData)==null?void 0:K.releaseYearMoney)>=2e3&&!["01","02","03","04"].includes((Q=o.basicInfoData)==null?void 0:Q.baseProjSetProg)?(S(),y(j,{key:3,span:8},{default:i(()=>[r(v,{label:"\u8D22\u52A1\u5BA1\u8BA1\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseFinanlAuditFile,"onUpdate:fileList":u[8]||(u[8]=a=>n.value.baseFinanlAuditFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseFinanlAuditFile),"on-error":l(C),":before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseFinanlAuditFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseFinanlAuditFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ge,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseFinanlAuditFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseFinanlAuditFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error",":before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})):D("v-if",!0),!["01","02","03","04"].includes((X=o.basicInfoData)==null?void 0:X.baseProjSetProg)||o.baseProjSetYear*1<2023?(S(),y(j,{key:4,span:8},{default:i(()=>{var a;return[o.baseProjSetYear*1<2023||["05","06","07"].includes((a=o.basicInfoData)==null?void 0:a.baseProjSetProg)?(S(),y(v,{key:0,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseUserConsFile,"onUpdate:fileList":u[9]||(u[9]=e=>n.value.baseUserConsFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseUserConsFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseUserConsFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseUserConsFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",we,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseUserConsFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseUserConsFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:1,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",prop:"baseUserConsFile"},{default:i(()=>[r(f,{"file-list":n.value.baseUserConsFile,"onUpdate:fileList":u[10]||(u[10]=e=>n.value.baseUserConsFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseUserConsFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseUserConsFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseUserConsFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Oe,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseUserConsFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseUserConsFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),r(j,{span:8},{default:i(()=>[r(v,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseEstaSummFile,"onUpdate:fileList":u[11]||(u[11]=a=>n.value.baseEstaSummFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseEstaSummFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseEstaSummFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseEstaSummFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Ce,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseEstaSummFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseEstaSummFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),!["01","02","03","04"].includes((Z=o.basicInfoData)==null?void 0:Z.baseProjSetProg)||o.baseProjSetYear*1<2023?(S(),y(j,{key:5,span:8},{default:i(()=>{var a;return[((a=o.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&o.baseProjSetYear*1>=2023?(S(),y(v,{key:0,label:"\u9879\u76EE\u603B\u7ED3\u62A5\u544A",prop:"baseSummReportFile"},{default:i(()=>[r(f,{"file-list":n.value.baseSummReportFile,"onUpdate:fileList":u[12]||(u[12]=e=>n.value.baseSummReportFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseSummReportFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseSummReportFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseSummReportFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Pe,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseSummReportFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseSummReportFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(S(),y(v,{key:1,label:"\u9879\u76EE\u603B\u7ED3\u62A5\u544A"},{default:i(()=>[r(f,{"file-list":n.value.baseSummReportFile,"onUpdate:fileList":u[13]||(u[13]=e=>n.value.baseSummReportFile=e),class:"w-full",action:l(F),"on-success":e=>l(O)(e,n.value.baseSummReportFile),"on-error":l(C),"before-upload":e=>l(P)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var e,s,p;return!(((e=t.value)==null?void 0:e.baseSummReportFile)&&!!((p=JSON.parse((s=t.value)==null?void 0:s.baseSummReportFile))!=null&&p.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Ne,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,p;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((e=t.value)==null?void 0:e.baseSummReportFile)&&((p=JSON.parse((s=t.value)==null?void 0:s.baseSummReportFile))==null?void 0:p.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):D("v-if",!0),((ee=o.basicInfoData)==null?void 0:ee.baseProjSetProg)==="07"?(S(),y(j,{key:6,span:8},{default:i(()=>[r(v,{label:"\u7EC8\u9A8C\u610F\u89C1",prop:"baseFinalExpertOpinionFile"},{default:i(()=>[r(f,{"file-list":n.value.baseFinalExpertOpinionFile,"onUpdate:fileList":u[14]||(u[14]=a=>n.value.baseFinalExpertOpinionFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseFinalExpertOpinionFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseFinalExpertOpinionFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseFinalExpertOpinionFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Ie,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseFinalExpertOpinionFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseFinalExpertOpinionFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})):D("v-if",!0),r(j,{span:8},{default:i(()=>[r(v,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868"},{default:i(()=>[r(f,{"file-list":n.value.baseEngineerPostpoFile,"onUpdate:fileList":u[15]||(u[15]=a=>n.value.baseEngineerPostpoFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseEngineerPostpoFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseEngineerPostpoFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseEngineerPostpoFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",je,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseEngineerPostpoFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseEngineerPostpoFile))!=null&&s.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),r(j,{span:8},{default:i(()=>[r(v,{label:"\u53D8\u66F4\u7533\u8BF7\u5355"},{default:i(()=>[r(f,{"file-list":n.value.baseChangeFormFile,"onUpdate:fileList":u[16]||(u[16]=a=>n.value.baseChangeFormFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseChangeFormFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseChangeFormFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseChangeFormFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",Je,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseChangeFormFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseChangeFormFile))!=null&&s.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),r(j,{span:8},{default:i(()=>[r(v,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6"},{default:i(()=>[r(f,{"file-list":n.value.baseChanFile,"onUpdate:fileList":u[17]||(u[17]=a=>n.value.baseChanFile=a),class:"w-full",action:l(F),"on-success":a=>l(O)(a,n.value.baseChanFile),"on-error":l(C),"before-upload":a=>l(P)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(N),"before-remove":()=>{var a,e,s;return!(((a=t.value)==null?void 0:a.baseChanFile)&&!!((s=JSON.parse((e=t.value)==null?void 0:e.baseChanFile))!=null&&s.length)&&o.isSupplemented)}},{tip:i(()=>[h("div",ke,"\u652F\u6301"+g(l(I))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[r(m,{type:"primary",class:"mr-4",plain:"",disabled:((a=t.value)==null?void 0:a.baseChanFile)&&((s=JSON.parse((e=t.value)==null?void 0:e.baseChanFile))==null?void 0:s.length)&&o.isSupplemented},{default:i(()=>[w("\u4E0A\u4F20\u6587\u4EF6")]),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})]}),_:1})]),_:1},8,["model","rules"])}}}),Re=ue(Le,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/projectCollectionEnter/components/empMaterials.vue"]]);export{Re as default}; diff --git a/lishui2/web/dist/assets/empMaterials.7dc23fba.js b/lishui2/web/dist/assets/empMaterials.bdab7a0e.js similarity index 62% rename from lishui2/web/dist/assets/empMaterials.7dc23fba.js rename to lishui2/web/dist/assets/empMaterials.bdab7a0e.js index 0e13fcb..7a97014 100644 --- a/lishui2/web/dist/assets/empMaterials.7dc23fba.js +++ b/lishui2/web/dist/assets/empMaterials.bdab7a0e.js @@ -1 +1 @@ -import{_ as p,d as v,e as g,f as a,I as F,l as m,k as c,m as M,t as x,g as t,F as u,J as f,i as y}from"./index.11dc4694.js";import{A as D}from"./index.3731dd96.js";const w={key:1},T={key:1},L={key:1},B={key:1},U={key:1},Y={key:1},V={key:1},K={key:1},R={key:1},q={key:1},z=v({name:"empMaterials"}),G=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""}},setup(e){const A=[{label:"\u6838\u5FC3\u4E1A\u52A1",prop:"businessName",key:"businessName"},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",prop:"name",key:"name"},{label:"\u6570\u503C",prop:"nums",key:"nums"},{label:"\u5355\u4F4D",prop:"unit",key:"unit"}];return(H,Q)=>{const o=g("el-descriptions-item"),C=g("table-list"),I=g("el-descriptions");return a(),F(I,{column:2,border:""},{default:m(()=>{var k,S,N,O,h,P,J,E,j;return[c(o,{label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6",span:2},{default:m(()=>[M(x(e.detailData.baseLogAggregation==="1"?"\u662F":"\u5426"),1)]),_:1}),c(o,{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",span:2},{default:m(()=>[c(C,{pagination:!1,style:{width:"100%"},column:A,data:e.detailData.baseBusinessMetrics&&JSON.parse(e.detailData.baseBusinessMetrics)||[],"empty-temp":!1},null,8,["data"])]),_:1}),["05","06","07","00"].includes((k=e.basicInfoData)==null?void 0:k.baseProjSetProg)&&((N=(S=e.basicInfoData)==null?void 0:S.baseConstructionType)==null?void 0:N.includes("01"))||!((h=(O=e.basicInfoData)==null?void 0:O.baseConstructionType)!=null&&h.includes("01"))?(a(),F(o,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseInforLevelFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseInforLevelFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseInforLevelFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseInforLevelFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",w,"-"))]}),_:1})):y("v-if",!0),!["01","02","03"].includes((P=e.basicInfoData)==null?void 0:P.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),F(o,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.basePasswAssessFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.basePasswAssessFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.basePasswAssessFile)&&JSON.parse((d=e.detailData)==null?void 0:d.basePasswAssessFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",T,"-"))]}),_:1})):y("v-if",!0),c(o,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseThirdAcceptFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseThirdAcceptFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseThirdAcceptFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseThirdAcceptFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",L,"-"))]}),_:1}),!["01","02","03","04"].includes((J=e.basicInfoData)==null?void 0:J.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),F(o,{key:2,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseUserConsFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseUserConsFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseUserConsFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseUserConsFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",B,"-"))]}),_:1})):y("v-if",!0),c(o,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEstaSummFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEstaSummFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseEstaSummFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEstaSummFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",U,"-"))]}),_:1}),!["01","02","03","04"].includes((E=e.basicInfoData)==null?void 0:E.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),F(o,{key:3,label:"\u8FD0\u7EF4\u603B\u7ED3\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseOperatMaintenSummFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseOperatMaintenSummFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseOperatMaintenSummFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseOperatMaintenSummFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",Y,"-"))]}),_:1})):y("v-if",!0),((j=e.basicInfoData)==null?void 0:j.baseProjSetProg)==="07"?(a(),F(o,{key:4,label:"\u7EC8\u9A8C\u610F\u89C1",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseFinalExpertOpinionFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseFinalExpertOpinionFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseFinalExpertOpinionFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseFinalExpertOpinionFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",V,"-"))]}),_:1})):y("v-if",!0),c(o,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEngineerPostpoFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEngineerPostpoFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseEngineerPostpoFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEngineerPostpoFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",K,"-"))]}),_:1}),c(o,{label:"\u53D8\u66F4\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEngineerAlterFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEngineerAlterFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseEngineerAlterFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEngineerAlterFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",R,"-"))]}),_:1}),c(o,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseChanFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseChanFile))==null?void 0:n.length)?(a(!0),t(u,{key:0},f(((s=e.detailData)==null?void 0:s.baseChanFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseChanFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(D,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",q,"-"))]}),_:1})]}),_:1})}}}),Z=p(G,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/empMaterials.vue"]]);export{Z as default}; +import{_ as I,d as v,e as g,f as a,I as D,l as m,k as c,m as M,t as x,g as t,F as o,J as f,i as y}from"./index.096886c6.js";import{A as F}from"./index.e0e52f0f.js";const T={key:1},w={key:1},L={key:1},B={key:1},U={key:1},Y={key:1},V={key:1},R={key:1},W={key:1},q={key:1},z=v({name:"empMaterials"}),G=Object.assign(z,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""}},setup(e){const A=[{label:"\u6838\u5FC3\u4E1A\u52A1",prop:"businessName",key:"businessName"},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",prop:"name",key:"name"},{label:"\u6570\u503C",prop:"nums",key:"nums"},{label:"\u5355\u4F4D",prop:"unit",key:"unit"}];return(H,K)=>{const u=g("el-descriptions-item"),p=g("table-list"),C=g("el-descriptions");return a(),D(C,{column:2,border:""},{default:m(()=>{var k,S,N,O,h,P,J,E,j;return[c(u,{label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6",span:2},{default:m(()=>[M(x(e.detailData.baseLogAggregation==="1"?"\u662F":"\u5426"),1)]),_:1}),c(u,{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",span:2},{default:m(()=>[c(p,{pagination:!1,style:{width:"100%"},column:A,data:e.detailData.baseBusinessMetrics&&JSON.parse(e.detailData.baseBusinessMetrics)||[],"empty-temp":!1},null,8,["data"])]),_:1}),["05","06","07","00"].includes((k=e.basicInfoData)==null?void 0:k.baseProjSetProg)&&((N=(S=e.basicInfoData)==null?void 0:S.baseConstructionType)==null?void 0:N.includes("01"))||!((h=(O=e.basicInfoData)==null?void 0:O.baseConstructionType)!=null&&h.includes("01"))?(a(),D(u,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseInforLevelFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseInforLevelFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseInforLevelFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseInforLevelFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",T,"-"))]}),_:1})):y("v-if",!0),!["01","02","03"].includes((P=e.basicInfoData)==null?void 0:P.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.basePasswAssessFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.basePasswAssessFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.basePasswAssessFile)&&JSON.parse((d=e.detailData)==null?void 0:d.basePasswAssessFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",w,"-"))]}),_:1})):y("v-if",!0),c(u,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseThirdAcceptFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseThirdAcceptFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseThirdAcceptFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseThirdAcceptFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",L,"-"))]}),_:1}),!["01","02","03","04"].includes((J=e.basicInfoData)==null?void 0:J.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:2,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseUserConsFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseUserConsFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseUserConsFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseUserConsFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",B,"-"))]}),_:1})):y("v-if",!0),c(u,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEstaSummFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEstaSummFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseEstaSummFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEstaSummFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",U,"-"))]}),_:1}),!["01","02","03","04"].includes((E=e.basicInfoData)==null?void 0:E.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:3,label:"\u8FD0\u7EF4\u603B\u7ED3\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseOperatMaintenSummFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseOperatMaintenSummFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseOperatMaintenSummFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseOperatMaintenSummFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",Y,"-"))]}),_:1})):y("v-if",!0),((j=e.basicInfoData)==null?void 0:j.baseProjSetProg)==="07"?(a(),D(u,{key:4,label:"\u7EC8\u9A8C\u610F\u89C1",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseFinalExpertOpinionFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseFinalExpertOpinionFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseFinalExpertOpinionFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseFinalExpertOpinionFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",V,"-"))]}),_:1})):y("v-if",!0),c(u,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEngineerPostpoFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEngineerPostpoFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseEngineerPostpoFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEngineerPostpoFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",R,"-"))]}),_:1}),c(u,{label:"\u53D8\u66F4\u62A5\u544A",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseEngineerAlterFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseEngineerAlterFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseEngineerAlterFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEngineerAlterFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",W,"-"))]}),_:1}),c(u,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6",span:2},{default:m(()=>{var i,l,n,s,d;return[((i=e.detailData)==null?void 0:i.baseChanFile)&&((n=JSON.parse((l=e.detailData)==null?void 0:l.baseChanFile))==null?void 0:n.length)?(a(!0),t(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseChanFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseChanFile),(r,b)=>(a(),t("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),t("span",q,"-"))]}),_:1})]}),_:1})}}}),Z=I(G,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/detail/components/empMaterials.vue"]]);export{Z as default}; diff --git a/lishui2/web/dist/assets/empMaterials.46c8e3f0.js b/lishui2/web/dist/assets/empMaterials.d7ae828c.js similarity index 78% rename from lishui2/web/dist/assets/empMaterials.46c8e3f0.js rename to lishui2/web/dist/assets/empMaterials.d7ae828c.js index 5b53f7f..80799ad 100644 --- a/lishui2/web/dist/assets/empMaterials.46c8e3f0.js +++ b/lishui2/web/dist/assets/empMaterials.d7ae828c.js @@ -1 +1 @@ -import{_ as x,d as w,e as A,f as a,I as D,l as m,k as c,g as i,F as o,J as f,i as k}from"./index.11dc4694.js";import{A as F}from"./index.3731dd96.js";const T={key:1},Y={key:1},L={key:1},M={key:1},U={key:1},R={key:1},B={key:1},V={key:1},K={key:1},q={key:1},z={key:1},G={key:1},H={key:1},Q=w({name:"empMaterials"}),W=Object.assign(Q,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""}},setup(e){return(X,Z)=>{const u=A("el-descriptions-item"),E=A("el-descriptions");return a(),D(E,{column:2,border:""},{default:m(()=>{var y,S,g,h,N,O,J,P,C,I,j,v;return[c(u,{label:"\u521D\u9A8C\u610F\u89C1",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseInitialOpinionFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseInitialOpinionFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseInitialOpinionFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseInitialOpinionFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",T,"-"))]}),_:1}),["05","06","07","00"].includes((y=e.basicInfoData)==null?void 0:y.baseProjSetProg)&&((g=(S=e.basicInfoData)==null?void 0:S.baseConstructionType)==null?void 0:g.includes("01"))||!((N=(h=e.basicInfoData)==null?void 0:h.baseConstructionType)!=null&&N.includes("01"))?(a(),D(u,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseInforLevelFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseInforLevelFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseInforLevelFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseInforLevelFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",Y,"-"))]}),_:1})):k("v-if",!0),!["01","02","03"].includes((O=e.basicInfoData)==null?void 0:O.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.basePasswAssessFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.basePasswAssessFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.basePasswAssessFile)&&JSON.parse((d=e.detailData)==null?void 0:d.basePasswAssessFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",L,"-"))]}),_:1})):k("v-if",!0),c(u,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseThirdAcceptFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseThirdAcceptFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseThirdAcceptFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseThirdAcceptFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",M,"-"))]}),_:1}),["05","06","07","00"].includes((J=e.basicInfoData)==null?void 0:J.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:2,label:"\u5EFA\u8BBE\u6838\u67E5\u8868",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseCheckFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseCheckFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseCheckFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseCheckFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",U,"-"))]}),_:1})):k("v-if",!0),((P=e.approvalInfoData)==null?void 0:P.releaseYearMoney)>=2e3&&!["01","02","03","04"].includes((C=e.basicInfoData)==null?void 0:C.baseProjSetProg)?(a(),D(u,{key:3,label:"\u8D22\u52A1\u5BA1\u8BA1\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseFinanlAuditFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseFinanlAuditFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseFinanlAuditFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseFinanlAuditFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",R,"-"))]}),_:1})):k("v-if",!0),!["01","02","03","04"].includes((I=e.basicInfoData)==null?void 0:I.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:4,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseUserConsFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseUserConsFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseUserConsFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseUserConsFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",B,"-"))]}),_:1})):k("v-if",!0),c(u,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseEstaSummFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseEstaSummFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseEstaSummFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEstaSummFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",V,"-"))]}),_:1}),!["01","02","03","04"].includes((j=e.basicInfoData)==null?void 0:j.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:5,label:"\u9879\u76EE\u603B\u7ED3\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseSummReportFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseSummReportFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseSummReportFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseSummReportFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",K,"-"))]}),_:1})):k("v-if",!0),((v=e.basicInfoData)==null?void 0:v.baseProjSetProg)==="07"?(a(),D(u,{key:6,label:"\u7EC8\u9A8C\u610F\u89C1",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseFinalExpertOpinionFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseFinalExpertOpinionFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseFinalExpertOpinionFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseFinalExpertOpinionFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",q,"-"))]}),_:1})):k("v-if",!0),c(u,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseEngineerPostpoFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseEngineerPostpoFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseEngineerPostpoFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEngineerPostpoFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",z,"-"))]}),_:1}),c(u,{label:"\u53D8\u66F4\u7533\u8BF7\u5355",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseChangeFormFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseChangeFormFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseChangeFormFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseChangeFormFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",G,"-"))]}),_:1}),c(u,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseChanFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseChanFile))==null?void 0:n.length)?(a(!0),i(o,{key:0},f(((s=e.detailData)==null?void 0:s.baseChanFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseChanFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",H,"-"))]}),_:1})]}),_:1})}}}),_=x(W,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectCollection/detail/components/empMaterials.vue"]]);export{_ as default}; +import{_ as x,d as T,e as A,f as a,I as D,l as m,k as c,g as i,F as f,J as o,i as k}from"./index.096886c6.js";import{A as F}from"./index.e0e52f0f.js";const Y={key:1},w={key:1},L={key:1},U={key:1},M={key:1},R={key:1},B={key:1},V={key:1},W={key:1},q={key:1},z={key:1},G={key:1},H={key:1},K=T({name:"empMaterials"}),Q=Object.assign(K,{props:{detailData:{type:Object,default:()=>{}},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""}},setup(e){return(X,Z)=>{const u=A("el-descriptions-item"),E=A("el-descriptions");return a(),D(E,{column:2,border:""},{default:m(()=>{var y,S,g,h,N,O,J,P,C,I,j,v;return[c(u,{label:"\u521D\u9A8C\u610F\u89C1",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseInitialOpinionFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseInitialOpinionFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseInitialOpinionFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseInitialOpinionFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",Y,"-"))]}),_:1}),["05","06","07","00"].includes((y=e.basicInfoData)==null?void 0:y.baseProjSetProg)&&((g=(S=e.basicInfoData)==null?void 0:S.baseConstructionType)==null?void 0:g.includes("01"))||!((N=(h=e.basicInfoData)==null?void 0:h.baseConstructionType)!=null&&N.includes("01"))?(a(),D(u,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseInforLevelFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseInforLevelFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseInforLevelFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseInforLevelFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",w,"-"))]}),_:1})):k("v-if",!0),!["01","02","03"].includes((O=e.basicInfoData)==null?void 0:O.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.basePasswAssessFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.basePasswAssessFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.basePasswAssessFile)&&JSON.parse((d=e.detailData)==null?void 0:d.basePasswAssessFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",L,"-"))]}),_:1})):k("v-if",!0),c(u,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseThirdAcceptFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseThirdAcceptFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseThirdAcceptFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseThirdAcceptFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",U,"-"))]}),_:1}),["05","06","07","00"].includes((J=e.basicInfoData)==null?void 0:J.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:2,label:"\u5EFA\u8BBE\u6838\u67E5\u8868",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseCheckFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseCheckFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseCheckFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseCheckFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",M,"-"))]}),_:1})):k("v-if",!0),((P=e.approvalInfoData)==null?void 0:P.releaseYearMoney)>=2e3&&!["01","02","03","04"].includes((C=e.basicInfoData)==null?void 0:C.baseProjSetProg)?(a(),D(u,{key:3,label:"\u8D22\u52A1\u5BA1\u8BA1\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseFinanlAuditFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseFinanlAuditFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseFinanlAuditFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseFinanlAuditFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",R,"-"))]}),_:1})):k("v-if",!0),!["01","02","03","04"].includes((I=e.basicInfoData)==null?void 0:I.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:4,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseUserConsFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseUserConsFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseUserConsFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseUserConsFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",B,"-"))]}),_:1})):k("v-if",!0),c(u,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseEstaSummFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseEstaSummFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseEstaSummFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEstaSummFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",V,"-"))]}),_:1}),!["01","02","03","04"].includes((j=e.basicInfoData)==null?void 0:j.baseProjSetProg)||e.baseProjSetYear*1<2023?(a(),D(u,{key:5,label:"\u9879\u76EE\u603B\u7ED3\u62A5\u544A",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseSummReportFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseSummReportFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseSummReportFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseSummReportFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",W,"-"))]}),_:1})):k("v-if",!0),((v=e.basicInfoData)==null?void 0:v.baseProjSetProg)==="07"?(a(),D(u,{key:6,label:"\u7EC8\u9A8C\u610F\u89C1",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseFinalExpertOpinionFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseFinalExpertOpinionFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseFinalExpertOpinionFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseFinalExpertOpinionFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",q,"-"))]}),_:1})):k("v-if",!0),c(u,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseEngineerPostpoFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseEngineerPostpoFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseEngineerPostpoFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseEngineerPostpoFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",z,"-"))]}),_:1}),c(u,{label:"\u53D8\u66F4\u7533\u8BF7\u5355",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseChangeFormFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseChangeFormFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseChangeFormFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseChangeFormFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",G,"-"))]}),_:1}),c(u,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6",span:2},{default:m(()=>{var l,t,n,s,d;return[((l=e.detailData)==null?void 0:l.baseChanFile)&&((n=JSON.parse((t=e.detailData)==null?void 0:t.baseChanFile))==null?void 0:n.length)?(a(!0),i(f,{key:0},o(((s=e.detailData)==null?void 0:s.baseChanFile)&&JSON.parse((d=e.detailData)==null?void 0:d.baseChanFile),(r,b)=>(a(),i("p",{key:b,class:"mb-4"},[c(F,{"file-name":r.originalFileName,"file-id":r.id},null,8,["file-name","file-id"])]))),128)):(a(),i("span",H,"-"))]}),_:1})]}),_:1})}}}),_=x(Q,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectCollection/detail/components/empMaterials.vue"]]);export{_ as default}; diff --git a/lishui2/web/dist/assets/engineeringInfo.2b6e342e.js b/lishui2/web/dist/assets/engineeringInfo.2b6e342e.js deleted file mode 100644 index 0e34219..0000000 --- a/lishui2/web/dist/assets/engineeringInfo.2b6e342e.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as l,d as c,e as r,f as d,I as p,l as e,k as a,m as o,t as i}from"./index.11dc4694.js";const _=c({name:"engineeringInfo"}),g=Object.assign(_,{props:{detailData:Object},setup(t){return(f,m)=>{const n=r("el-descriptions-item"),s=r("el-descriptions");return d(),p(s,{column:2,border:""},{default:e(()=>[a(n,{label:"\u7B2C\u4E00\u5B63\u5EA6"},{default:e(()=>[o(i(t.detailData.engineeringSpeedOne||"-"),1)]),_:1}),a(n,{label:"\u7B2C\u4E8C\u5B63\u5EA6"},{default:e(()=>[o(i(t.detailData.engineeringSpeedTwo||"-"),1)]),_:1}),a(n,{label:"\u7B2C\u4E09\u5B63\u5EA6"},{default:e(()=>[o(i(t.detailData.engineeringSpeedThree||"-"),1)]),_:1}),a(n,{label:"\u7B2C\u56DB\u5B63\u5EA6"},{default:e(()=>[o(i(t.detailData.engineeringSpeedFour||"-"),1)]),_:1})]),_:1})}}}),D=l(g,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/engineeringInfo.vue"]]);export{D as default}; diff --git a/lishui2/web/dist/assets/engineeringInfo.de1cf51c.js b/lishui2/web/dist/assets/engineeringInfo.de1cf51c.js new file mode 100644 index 0000000..a3bbad5 --- /dev/null +++ b/lishui2/web/dist/assets/engineeringInfo.de1cf51c.js @@ -0,0 +1 @@ +import{_ as l,d as c,e as r,f as d,I as p,l as e,k as a,m as o,t as i}from"./index.096886c6.js";const g=c({name:"engineeringInfo"}),_=Object.assign(g,{props:{detailData:Object},setup(n){return(f,u)=>{const t=r("el-descriptions-item"),s=r("el-descriptions");return d(),p(s,{column:2,border:""},{default:e(()=>[a(t,{label:"\u7B2C\u4E00\u5B63\u5EA6"},{default:e(()=>[o(i(n.detailData.engineeringSpeedOne||"-"),1)]),_:1}),a(t,{label:"\u7B2C\u4E8C\u5B63\u5EA6"},{default:e(()=>[o(i(n.detailData.engineeringSpeedTwo||"-"),1)]),_:1}),a(t,{label:"\u7B2C\u4E09\u5B63\u5EA6"},{default:e(()=>[o(i(n.detailData.engineeringSpeedThree||"-"),1)]),_:1}),a(t,{label:"\u7B2C\u56DB\u5B63\u5EA6"},{default:e(()=>[o(i(n.detailData.engineeringSpeedFour||"-"),1)]),_:1})]),_:1})}}}),S=l(_,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/engineeringInfo.vue"]]);export{S as default}; diff --git a/lishui2/web/dist/assets/enterpriseDialog.05cddcce.js b/lishui2/web/dist/assets/enterpriseDialog.84af471b.js similarity index 88% rename from lishui2/web/dist/assets/enterpriseDialog.05cddcce.js rename to lishui2/web/dist/assets/enterpriseDialog.84af471b.js index 03235e1..a21dd88 100644 --- a/lishui2/web/dist/assets/enterpriseDialog.05cddcce.js +++ b/lishui2/web/dist/assets/enterpriseDialog.84af471b.js @@ -1 +1 @@ -var c=(p,b,s)=>new Promise((i,m)=>{var f=l=>{try{g(s.next(l))}catch(v){m(v)}},P=l=>{try{g(s.throw(l))}catch(v){m(v)}},g=l=>l.done?i(l.value):Promise.resolve(l.value).then(f,P);g((s=s.apply(p,b)).next())});import{_ as h,d as j,r as V,L as B,e as u,f as y,I as $,l as a,k as e,m as C,g as O,F as z,J as A,p as F}from"./index.11dc4694.js";const N=j({name:"enterpriseDialog"}),Z=Object.assign(N,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(p,{emit:b}){const{proxy:s}=F(),i=p,m=b,f=V(),P=V([]),g=V([]),l=V({name:void 0,fax:void 0,email:void 0,address:void 0,region:void 0,contactPerson:void 0,contactPhone:void 0,legalPerson:void 0,legalPersonPhone:void 0,enterpriseType:void 0,operatorId:void 0,remark:void 0}),v={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F01\u4E1A\u540D\u79F0",trigger:"blur"}],fax:[{pattern:/^(\d{3,4}-)?\d{7,8}$/,message:"\u4F20\u771F\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],email:[{pattern:/^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,message:"\u90AE\u7BB1\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],legalPerson:[{required:!0,message:"\u8BF7\u8F93\u5165\u6CD5\u4EBA",trigger:"blur"}],contactPhone:[{pattern:/^1[3456789]\d{9}$/,message:"\u8054\u7CFB\u7535\u8BDD\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],legalPersonPhone:[{required:!0,pattern:/^1[3456789]\d{9}$/,message:"\u8054\u7CFB\u7535\u8BDD\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],region:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u533A\u57DF",trigger:"change"}],operatorId:[{required:!0,message:"\u8BF7\u9009\u62E9\u8FD0\u8425\u5546",trigger:"change"}]},I=_=>c(this,null,function*(){!_||(yield _.validate(o=>c(this,null,function*(){o&&(i.data&&i.data.id?s.$message.success("\u7F16\u8F91\u6210\u529F\uFF01"):s.$message.success("\u65B0\u589E\u6210\u529F\uFF01"),m("close",!0))})))});return B(()=>i.visible,_=>c(this,null,function*(){_||f.value.resetFields()})),(_,o)=>{const d=u("el-input"),n=u("el-form-item"),r=u("el-col"),k=u("el-row"),q=u("el-tree-select"),x=u("el-option"),w=u("el-select"),D=u("el-form"),U=u("el-button"),T=u("el-dialog");return y(),$(T,{"model-value":p.visible,title:`${p.data&&p.data.id?"\u7F16\u8F91":"\u65B0\u589E"}\u4F01\u4E1A`,width:"840px","destroy-on-close":"",onClose:o[14]||(o[14]=t=>m("close"))},{footer:a(()=>[e(U,{type:"primary",onClick:o[12]||(o[12]=t=>I(f.value))},{default:a(()=>[C(" \u63D0\u4EA4 ")]),_:1}),e(U,{onClick:o[13]||(o[13]=t=>m("close"))},{default:a(()=>[C(" \u5173\u95ED ")]),_:1})]),default:a(()=>[e(D,{ref_key:"formRef",ref:f,model:l.value,rules:v,"label-width":"115px","label-suffix":":"},{default:a(()=>[e(k,{gutter:30},{default:a(()=>[e(r,{span:12},{default:a(()=>[e(n,{label:"\u4F01\u4E1A\u540D\u79F0",prop:"name"},{default:a(()=>[e(d,{modelValue:l.value.name,"onUpdate:modelValue":o[0]||(o[0]=t=>l.value.name=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(k,{gutter:30},{default:a(()=>[e(r,{span:12},{default:a(()=>[e(n,{label:"\u4F20\u771F",prop:"fax"},{default:a(()=>[e(d,{modelValue:l.value.fax,"onUpdate:modelValue":o[1]||(o[1]=t=>l.value.fax=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u90AE\u7BB1",prop:"email"},{default:a(()=>[e(d,{modelValue:l.value.email,"onUpdate:modelValue":o[2]||(o[2]=t=>l.value.email=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u5730\u5740",prop:"address"},{default:a(()=>[e(d,{modelValue:l.value.address,"onUpdate:modelValue":o[3]||(o[3]=t=>l.value.address=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u6240\u5C5E\u533A\u57DF",prop:"region"},{default:a(()=>[e(q,{modelValue:l.value.region,"onUpdate:modelValue":o[4]||(o[4]=t=>l.value.region=t),data:g.value,filterable:"",props:{label:"name",value:"unionCode"},"check-strictly":"","render-after-expand":!1,class:"w-full"},null,8,["modelValue","data"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u8054\u7CFB\u4EBA",prop:"contactPerson"},{default:a(()=>[e(d,{modelValue:l.value.contactPerson,"onUpdate:modelValue":o[5]||(o[5]=t=>l.value.contactPerson=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"contactPhone"},{default:a(()=>[e(d,{modelValue:l.value.contactPhone,"onUpdate:modelValue":o[6]||(o[6]=t=>l.value.contactPhone=t),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u6CD5\u4EBA",prop:"legalPerson"},{default:a(()=>[e(d,{modelValue:l.value.legalPerson,"onUpdate:modelValue":o[7]||(o[7]=t=>l.value.legalPerson=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u6CD5\u4EBA\u8054\u7CFB\u7535\u8BDD",prop:"legalPersonPhone"},{default:a(()=>[e(d,{modelValue:l.value.legalPersonPhone,"onUpdate:modelValue":o[8]||(o[8]=t=>l.value.legalPersonPhone=t),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u4F01\u4E1A\u7C7B\u578B",prop:"enterpriseType"},{default:a(()=>[e(w,{modelValue:l.value.enterpriseType,"onUpdate:modelValue":o[9]||(o[9]=t=>l.value.enterpriseType=t),placeholder:"\u8BF7\u9009\u62E9",clearable:"",class:"w-full"},{default:a(()=>[e(x,{label:"\u7BA1\u7406\u5355\u4F4D",value:1}),e(x,{label:"\u4F01\u4E1A\u5355\u4F4D",value:2})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u8FD0\u8425\u5546",prop:"operatorId"},{default:a(()=>[e(w,{modelValue:l.value.operatorId,"onUpdate:modelValue":o[10]||(o[10]=t=>l.value.operatorId=t),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:a(()=>[(y(!0),O(z,null,A(P.value,t=>(y(),$(x,{key:t.id,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:24},{default:a(()=>[e(n,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[e(d,{modelValue:l.value.remark,"onUpdate:modelValue":o[11]||(o[11]=t=>l.value.remark=t),maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}}),M=h(Z,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/systemManage/flowConfiguration/enterpriseDialog.vue"]]);export{M as default}; +var c=(p,b,s)=>new Promise((i,m)=>{var f=l=>{try{g(s.next(l))}catch(v){m(v)}},P=l=>{try{g(s.throw(l))}catch(v){m(v)}},g=l=>l.done?i(l.value):Promise.resolve(l.value).then(f,P);g((s=s.apply(p,b)).next())});import{_ as B,d as O,r as V,L as j,e as u,f as y,I as $,l as a,k as e,m as C,g as z,F as A,J as D,p as F}from"./index.096886c6.js";const Z=O({name:"enterpriseDialog"}),L=Object.assign(Z,{props:{visible:{type:Boolean,default:!1,required:!0},data:Object},emits:["close"],setup(p,{emit:b}){const{proxy:s}=F(),i=p,m=b,f=V(),P=V([]),g=V([]),l=V({name:void 0,fax:void 0,email:void 0,address:void 0,region:void 0,contactPerson:void 0,contactPhone:void 0,legalPerson:void 0,legalPersonPhone:void 0,enterpriseType:void 0,operatorId:void 0,remark:void 0}),v={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F01\u4E1A\u540D\u79F0",trigger:"blur"}],fax:[{pattern:/^(\d{3,4}-)?\d{7,8}$/,message:"\u4F20\u771F\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],email:[{pattern:/^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,message:"\u90AE\u7BB1\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],legalPerson:[{required:!0,message:"\u8BF7\u8F93\u5165\u6CD5\u4EBA",trigger:"blur"}],contactPhone:[{pattern:/^1[3456789]\d{9}$/,message:"\u8054\u7CFB\u7535\u8BDD\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],legalPersonPhone:[{required:!0,pattern:/^1[3456789]\d{9}$/,message:"\u8054\u7CFB\u7535\u8BDD\u683C\u5F0F\u4E0D\u6B63\u786E",trigger:"blur"}],region:[{required:!0,message:"\u8BF7\u9009\u62E9\u6240\u5C5E\u533A\u57DF",trigger:"change"}],operatorId:[{required:!0,message:"\u8BF7\u9009\u62E9\u8FD0\u8425\u5546",trigger:"change"}]},I=_=>c(this,null,function*(){!_||(yield _.validate(o=>c(this,null,function*(){o&&(i.data&&i.data.id?s.$message.success("\u7F16\u8F91\u6210\u529F\uFF01"):s.$message.success("\u65B0\u589E\u6210\u529F\uFF01"),m("close",!0))})))});return j(()=>i.visible,_=>c(this,null,function*(){_||f.value.resetFields()})),(_,o)=>{const d=u("el-input"),n=u("el-form-item"),r=u("el-col"),k=u("el-row"),q=u("el-tree-select"),x=u("el-option"),w=u("el-select"),T=u("el-form"),U=u("el-button"),h=u("el-dialog");return y(),$(h,{"model-value":p.visible,title:`${p.data&&p.data.id?"\u7F16\u8F91":"\u65B0\u589E"}\u4F01\u4E1A`,width:"840px","destroy-on-close":"",onClose:o[14]||(o[14]=t=>m("close"))},{footer:a(()=>[e(U,{type:"primary",onClick:o[12]||(o[12]=t=>I(f.value))},{default:a(()=>[C(" \u63D0\u4EA4 ")]),_:1}),e(U,{onClick:o[13]||(o[13]=t=>m("close"))},{default:a(()=>[C(" \u5173\u95ED ")]),_:1})]),default:a(()=>[e(T,{ref_key:"formRef",ref:f,model:l.value,rules:v,"label-width":"115px","label-suffix":":"},{default:a(()=>[e(k,{gutter:30},{default:a(()=>[e(r,{span:12},{default:a(()=>[e(n,{label:"\u4F01\u4E1A\u540D\u79F0",prop:"name"},{default:a(()=>[e(d,{modelValue:l.value.name,"onUpdate:modelValue":o[0]||(o[0]=t=>l.value.name=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(k,{gutter:30},{default:a(()=>[e(r,{span:12},{default:a(()=>[e(n,{label:"\u4F20\u771F",prop:"fax"},{default:a(()=>[e(d,{modelValue:l.value.fax,"onUpdate:modelValue":o[1]||(o[1]=t=>l.value.fax=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u90AE\u7BB1",prop:"email"},{default:a(()=>[e(d,{modelValue:l.value.email,"onUpdate:modelValue":o[2]||(o[2]=t=>l.value.email=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u5730\u5740",prop:"address"},{default:a(()=>[e(d,{modelValue:l.value.address,"onUpdate:modelValue":o[3]||(o[3]=t=>l.value.address=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u6240\u5C5E\u533A\u57DF",prop:"region"},{default:a(()=>[e(q,{modelValue:l.value.region,"onUpdate:modelValue":o[4]||(o[4]=t=>l.value.region=t),data:g.value,filterable:"",props:{label:"name",value:"unionCode"},"check-strictly":"","render-after-expand":!1,class:"w-full"},null,8,["modelValue","data"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u8054\u7CFB\u4EBA",prop:"contactPerson"},{default:a(()=>[e(d,{modelValue:l.value.contactPerson,"onUpdate:modelValue":o[5]||(o[5]=t=>l.value.contactPerson=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"contactPhone"},{default:a(()=>[e(d,{modelValue:l.value.contactPhone,"onUpdate:modelValue":o[6]||(o[6]=t=>l.value.contactPhone=t),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u6CD5\u4EBA",prop:"legalPerson"},{default:a(()=>[e(d,{modelValue:l.value.legalPerson,"onUpdate:modelValue":o[7]||(o[7]=t=>l.value.legalPerson=t),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u6CD5\u4EBA\u8054\u7CFB\u7535\u8BDD",prop:"legalPersonPhone"},{default:a(()=>[e(d,{modelValue:l.value.legalPersonPhone,"onUpdate:modelValue":o[8]||(o[8]=t=>l.value.legalPersonPhone=t),maxlength:"11",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u4F01\u4E1A\u7C7B\u578B",prop:"enterpriseType"},{default:a(()=>[e(w,{modelValue:l.value.enterpriseType,"onUpdate:modelValue":o[9]||(o[9]=t=>l.value.enterpriseType=t),placeholder:"\u8BF7\u9009\u62E9",clearable:"",class:"w-full"},{default:a(()=>[e(x,{label:"\u7BA1\u7406\u5355\u4F4D",value:1}),e(x,{label:"\u4F01\u4E1A\u5355\u4F4D",value:2})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:a(()=>[e(n,{label:"\u8FD0\u8425\u5546",prop:"operatorId"},{default:a(()=>[e(w,{modelValue:l.value.operatorId,"onUpdate:modelValue":o[10]||(o[10]=t=>l.value.operatorId=t),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:a(()=>[(y(!0),z(A,null,D(P.value,t=>(y(),$(x,{key:t.id,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(r,{span:24},{default:a(()=>[e(n,{label:"\u5907\u6CE8",prop:"remark"},{default:a(()=>[e(d,{modelValue:l.value.remark,"onUpdate:modelValue":o[11]||(o[11]=t=>l.value.remark=t),maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])}}}),J=B(L,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/systemManage/flowConfiguration/enterpriseDialog.vue"]]);export{J as default}; diff --git a/lishui2/web/dist/assets/evaluateDialog.aca4d79e.js b/lishui2/web/dist/assets/evaluateDialog.aca4d79e.js deleted file mode 100644 index 1996694..0000000 --- a/lishui2/web/dist/assets/evaluateDialog.aca4d79e.js +++ /dev/null @@ -1 +0,0 @@ -var T=Object.defineProperty;var j=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable;var q=(t,s,u)=>s in t?T(t,s,{enumerable:!0,configurable:!0,writable:!0,value:u}):t[s]=u,w=(t,s)=>{for(var u in s||(s={}))A.call(s,u)&&q(t,u,s[u]);if(j)for(var u of j(s))J.call(s,u)&&q(t,u,s[u]);return t};var x=(t,s,u)=>new Promise((C,v)=>{var V=p=>{try{b(u.next(p))}catch(y){v(y)}},l=p=>{try{b(u.throw(p))}catch(y){v(y)}},b=p=>p.done?C(p.value):Promise.resolve(p.value).then(V,l);b((u=u.apply(t,s)).next())});import{_ as K,d as L,r as D,L as P,N as Y,e as c,f as d,I as r,a7 as z,l as e,h as k,k as o,m,Y as G,t as _,g as I,F as B,i as N,p as H}from"./index.11dc4694.js";import{j as Q,b as W}from"./expertStore.0737db4f.js";const X={class:"dialog-footer"},Z=L({name:"evaluateDialog"}),h=Object.assign(Z,{props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},isEdit:{type:Boolean,default:!0}},emits:["close"],setup(t,{expose:s,emit:u}){const{proxy:C}=H(),v=t,V=u,l=D({}),b=D(),p={score:[{required:!0,message:"\u8BF7\u8F93\u5165"}],attended:[{required:!0,message:"\u8BF7\u9009\u62E9"}],performance:[{required:!0,message:"\u8BF7\u9009\u62E9"}],advised:[{required:!0,message:"\u8BF7\u9009\u62E9"}],leaveEarly:[{required:!0,message:"\u8BF7\u9009\u62E9"}],brokeRule:[{required:!0,message:"\u8BF7\u9009\u62E9"}],brokeRuleContent:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},y=D(!1),M=g=>x(this,null,function*(){!g||(yield g.validate(a=>x(this,null,function*(){if(a){y.value=!0;try{const R=w({},l.value);yield Q(R),C.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),y.value=!1,V("close",!0)}catch(R){y.value=!1}}})))}),S=()=>x(this,null,function*(){const g=yield W(v.data.meetingExpertId);l.value=w({},g.data)});return P(()=>v.visible,g=>x(this,null,function*(){g&&(yield Y(),b.value.clearValidate(),l.value={meetingExpertId:v.data.meetingExpertId,meetingId:v.data.meetingId},v.isEdit||S())})),s({formRef:b}),(g,a)=>{const R=c("el-input-number"),i=c("el-form-item"),f=c("el-radio"),E=c("el-radio-group"),$=c("el-input"),F=c("el-form"),U=c("el-button"),O=c("el-dialog");return d(),r(O,{"model-value":t.visible,title:t.isEdit?"\u5C65\u804C\u8BC4\u4EF7":"\u67E5\u770B\u8BC4\u4EF7",onClose:a[10]||(a[10]=n=>V("close"))},z({default:e(()=>[o(F,{ref_key:"formRef",ref:b,model:l.value,rules:p,"label-suffix":"\uFF1A"},{default:e(()=>[t.isEdit?(d(),r(i,{key:0,label:"\u8BC4\u5206",prop:"score"},{default:e(()=>[o(R,{modelValue:l.value.score,"onUpdate:modelValue":a[0]||(a[0]=n=>l.value.score=n),placeholder:"\u8BF7\u5BF9\u8BE5\u4E13\u5BB6\u5728\u672C\u6B21\u4F1A\u8BAE\u7684\u8868\u73B0\u8FDB\u884C\u8BC4\u5206\uFF0C\u6700\u4F4E0\u5206\uFF0C\u6EE1\u520610\u5206",min:0,max:10,controls:!1,onMousewheel:a[1]||(a[1]=G(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})):(d(),r(i,{key:1,label:"\u8BC4\u5206"},{default:e(()=>[k("span",null,_(l.value.score),1)]),_:1})),t.isEdit?(d(),r(i,{key:2,label:"\u4E13\u5BB6\u662F\u5426\u53C2\u52A0",prop:"attended"},{default:e(()=>[o(E,{modelValue:l.value.attended,"onUpdate:modelValue":a[2]||(a[2]=n=>l.value.attended=n)},{default:e(()=>[o(f,{label:1},{default:e(()=>[m("\u51C6\u65F6\u53C2\u52A0")]),_:1}),o(f,{label:2},{default:e(()=>[m("\u8FDF\u5230")]),_:1}),o(f,{label:3},{default:e(()=>[m("\u7F3A\u5E2D")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:3,label:"\u4E13\u5BB6\u662F\u5426\u53C2\u52A0"},{default:e(()=>[k("span",null,_(l.value.attended===1?"\u51C6\u65F6\u53C2\u52A0":l.value.attended===2?"\u8FDF\u5230":"\u7F3A\u5E2D"),1)]),_:1})),l.value.attended!==3?(d(),I(B,{key:4},[t.isEdit?(d(),r(i,{key:0,label:"\u4E13\u5BB6\u53C2\u4E0E\u7A0B\u5EA6",prop:"performance"},{default:e(()=>[o(E,{modelValue:l.value.performance,"onUpdate:modelValue":a[3]||(a[3]=n=>l.value.performance=n)},{default:e(()=>[o(f,{label:1},{default:e(()=>[m("\u79EF\u6781")]),_:1}),o(f,{label:2},{default:e(()=>[m("\u6D88\u6781")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:1,label:"\u4E13\u5BB6\u53C2\u4E0E\u7A0B\u5EA6"},{default:e(()=>[k("span",null,_(l.value.performance===1?"\u79EF\u6781":l.value.performance===2?"\u6D88\u6781":"-"),1)]),_:1})),t.isEdit?(d(),r(i,{key:2,label:"\u4E13\u5BB6\u662F\u5426\u63D0\u51FA\u4E13\u4E1A\u5EFA\u8BAE",prop:"advised"},{default:e(()=>[o(E,{modelValue:l.value.advised,"onUpdate:modelValue":a[4]||(a[4]=n=>l.value.advised=n)},{default:e(()=>[o(f,{label:!0},{default:e(()=>[m("\u6709\u63D0\u51FA")]),_:1}),o(f,{label:!1},{default:e(()=>[m("\u672A\u63D0\u51FA")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:3,label:"\u4E13\u5BB6\u662F\u5426\u63D0\u51FA\u4E13\u4E1A\u5EFA\u8BAE"},{default:e(()=>[k("span",null,_(l.value.advised?"\u6709\u63D0\u51FA":"\u672A\u63D0\u51FA"),1)]),_:1})),t.isEdit?(d(),r(i,{key:4,label:" \u4E13\u5BB6\u662F\u5426\u65E9\u9000",prop:"leaveEarly"},{default:e(()=>[o(E,{modelValue:l.value.leaveEarly,"onUpdate:modelValue":a[5]||(a[5]=n=>l.value.leaveEarly=n)},{default:e(()=>[o(f,{label:!1},{default:e(()=>[m("\u672A\u65E9\u9000")]),_:1}),o(f,{label:!0},{default:e(()=>[m("\u65E9\u9000")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:5,label:"\u4E13\u5BB6\u662F\u5426\u65E9\u9000"},{default:e(()=>[k("span",null,_(l.value.leaveEarly?"\u65E9\u9000":"\u672A\u65E9\u9000"),1)]),_:1})),t.isEdit?(d(),r(i,{key:6,label:"\u4E13\u5BB6\u6709\u65E0\u8FDD\u89C4\u884C\u4E3A",prop:"brokeRule"},{default:e(()=>[o(E,{modelValue:l.value.brokeRule,"onUpdate:modelValue":a[6]||(a[6]=n=>l.value.brokeRule=n)},{default:e(()=>[o(f,{label:!1},{default:e(()=>[m("\u65E0")]),_:1}),o(f,{label:!0},{default:e(()=>[m("\u6709")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:7,label:"\u4E13\u5BB6\u6709\u65E0\u8FDD\u89C4\u884C\u4E3A"},{default:e(()=>[k("span",null,_(l.value.brokeRule?"\u6709":"\u65E0"),1)]),_:1})),l.value.brokeRule?(d(),I(B,{key:8},[t.isEdit?(d(),r(i,{key:0,label:"\u8FDD\u89C4\u884C\u4E3A",prop:"brokeRuleContent"},{default:e(()=>[o($,{modelValue:l.value.brokeRuleContent,"onUpdate:modelValue":a[7]||(a[7]=n=>l.value.brokeRuleContent=n),placeholder:"\u8BF7\u586B\u5199",type:"textarea",maxlength:200,"show-word-limit":""},null,8,["modelValue"])]),_:1})):(d(),r(i,{key:1,label:"\u8FDD\u89C4\u884C\u4E3A"},{default:e(()=>[k("span",null,_(l.value.brokeRuleContent),1)]),_:1}))],64)):N("v-if",!0)],64)):N("v-if",!0)]),_:1},8,["model"])]),_:2},[t.isEdit?{name:"footer",fn:e(()=>[k("span",X,[o(U,{type:"primary",loading:y.value,onClick:a[8]||(a[8]=n=>M(b.value))},{default:e(()=>[m("\u63D0\u4EA4")]),_:1},8,["loading"]),o(U,{onClick:a[9]||(a[9]=n=>V("close"))},{default:e(()=>[m("\u5173\u95ED")]),_:1})])]),key:"0"}:void 0]),1032,["model-value","title"])}}}),te=K(h,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertStore/deputyActivityRecord/components/evaluateDialog.vue"]]);export{te as default}; diff --git a/lishui2/web/dist/assets/evaluateDialog.ec003f9e.js b/lishui2/web/dist/assets/evaluateDialog.ec003f9e.js new file mode 100644 index 0000000..c60e91e --- /dev/null +++ b/lishui2/web/dist/assets/evaluateDialog.ec003f9e.js @@ -0,0 +1 @@ +var T=Object.defineProperty;var q=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var I=(t,s,o)=>s in t?T(t,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[s]=o,w=(t,s)=>{for(var o in s||(s={}))A.call(s,o)&&I(t,o,s[o]);if(q)for(var o of q(s))L.call(s,o)&&I(t,o,s[o]);return t};var x=(t,s,o)=>new Promise((C,v)=>{var V=p=>{try{b(o.next(p))}catch(k){v(k)}},l=p=>{try{b(o.throw(p))}catch(k){v(k)}},b=p=>p.done?C(p.value):Promise.resolve(p.value).then(V,l);b((o=o.apply(t,s)).next())});import{_ as W,d as Y,r as D,L as z,N as G,e as y,f as d,I as r,a7 as H,l as e,h as g,k as u,m,Y as J,t as _,g as j,F as B,i as N,p as K}from"./index.096886c6.js";import{j as P,b as Q}from"./expertStore.09c67807.js";const X={class:"dialog-footer"},Z=Y({name:"evaluateDialog"}),h=Object.assign(Z,{props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>{}},isEdit:{type:Boolean,default:!0}},emits:["close"],setup(t,{expose:s,emit:o}){const{proxy:C}=K(),v=t,V=o,l=D({}),b=D(),p={score:[{required:!0,message:"\u8BF7\u8F93\u5165"}],attended:[{required:!0,message:"\u8BF7\u9009\u62E9"}],performance:[{required:!0,message:"\u8BF7\u9009\u62E9"}],advised:[{required:!0,message:"\u8BF7\u9009\u62E9"}],leaveEarly:[{required:!0,message:"\u8BF7\u9009\u62E9"}],brokeRule:[{required:!0,message:"\u8BF7\u9009\u62E9"}],brokeRuleContent:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},k=D(!1),S=c=>x(this,null,function*(){!c||(yield c.validate(a=>x(this,null,function*(){if(a){k.value=!0;try{const R=w({},l.value);yield P(R),C.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),k.value=!1,V("close",!0)}catch(R){k.value=!1}}})))}),$=()=>x(this,null,function*(){const c=yield Q(v.data.meetingExpertId);l.value=w({},c.data)});return z(()=>v.visible,c=>x(this,null,function*(){c&&(yield G(),b.value.clearValidate(),l.value={meetingExpertId:v.data.meetingExpertId,meetingId:v.data.meetingId},v.isEdit||$())})),s({formRef:b}),(c,a)=>{const R=y("el-input-number"),i=y("el-form-item"),f=y("el-radio"),E=y("el-radio-group"),M=y("el-input"),F=y("el-form"),U=y("el-button"),O=y("el-dialog");return d(),r(O,{"model-value":t.visible,title:t.isEdit?"\u5C65\u804C\u8BC4\u4EF7":"\u67E5\u770B\u8BC4\u4EF7",onClose:a[10]||(a[10]=n=>V("close"))},H({default:e(()=>[u(F,{ref_key:"formRef",ref:b,model:l.value,rules:p,"label-suffix":"\uFF1A"},{default:e(()=>[t.isEdit?(d(),r(i,{key:0,label:"\u8BC4\u5206",prop:"score"},{default:e(()=>[u(R,{modelValue:l.value.score,"onUpdate:modelValue":a[0]||(a[0]=n=>l.value.score=n),placeholder:"\u8BF7\u5BF9\u8BE5\u4E13\u5BB6\u5728\u672C\u6B21\u4F1A\u8BAE\u7684\u8868\u73B0\u8FDB\u884C\u8BC4\u5206\uFF0C\u6700\u4F4E0\u5206\uFF0C\u6EE1\u520610\u5206",min:0,max:10,controls:!1,onMousewheel:a[1]||(a[1]=J(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})):(d(),r(i,{key:1,label:"\u8BC4\u5206"},{default:e(()=>[g("span",null,_(l.value.score),1)]),_:1})),t.isEdit?(d(),r(i,{key:2,label:"\u4E13\u5BB6\u662F\u5426\u53C2\u52A0",prop:"attended"},{default:e(()=>[u(E,{modelValue:l.value.attended,"onUpdate:modelValue":a[2]||(a[2]=n=>l.value.attended=n)},{default:e(()=>[u(f,{label:1},{default:e(()=>[m("\u51C6\u65F6\u53C2\u52A0")]),_:1}),u(f,{label:2},{default:e(()=>[m("\u8FDF\u5230")]),_:1}),u(f,{label:3},{default:e(()=>[m("\u7F3A\u5E2D")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:3,label:"\u4E13\u5BB6\u662F\u5426\u53C2\u52A0"},{default:e(()=>[g("span",null,_(l.value.attended===1?"\u51C6\u65F6\u53C2\u52A0":l.value.attended===2?"\u8FDF\u5230":"\u7F3A\u5E2D"),1)]),_:1})),l.value.attended!==3?(d(),j(B,{key:4},[t.isEdit?(d(),r(i,{key:0,label:"\u4E13\u5BB6\u53C2\u4E0E\u7A0B\u5EA6",prop:"performance"},{default:e(()=>[u(E,{modelValue:l.value.performance,"onUpdate:modelValue":a[3]||(a[3]=n=>l.value.performance=n)},{default:e(()=>[u(f,{label:1},{default:e(()=>[m("\u79EF\u6781")]),_:1}),u(f,{label:2},{default:e(()=>[m("\u6D88\u6781")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:1,label:"\u4E13\u5BB6\u53C2\u4E0E\u7A0B\u5EA6"},{default:e(()=>[g("span",null,_(l.value.performance===1?"\u79EF\u6781":l.value.performance===2?"\u6D88\u6781":"-"),1)]),_:1})),t.isEdit?(d(),r(i,{key:2,label:"\u4E13\u5BB6\u662F\u5426\u63D0\u51FA\u4E13\u4E1A\u5EFA\u8BAE",prop:"advised"},{default:e(()=>[u(E,{modelValue:l.value.advised,"onUpdate:modelValue":a[4]||(a[4]=n=>l.value.advised=n)},{default:e(()=>[u(f,{label:!0},{default:e(()=>[m("\u6709\u63D0\u51FA")]),_:1}),u(f,{label:!1},{default:e(()=>[m("\u672A\u63D0\u51FA")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:3,label:"\u4E13\u5BB6\u662F\u5426\u63D0\u51FA\u4E13\u4E1A\u5EFA\u8BAE"},{default:e(()=>[g("span",null,_(l.value.advised?"\u6709\u63D0\u51FA":"\u672A\u63D0\u51FA"),1)]),_:1})),t.isEdit?(d(),r(i,{key:4,label:" \u4E13\u5BB6\u662F\u5426\u65E9\u9000",prop:"leaveEarly"},{default:e(()=>[u(E,{modelValue:l.value.leaveEarly,"onUpdate:modelValue":a[5]||(a[5]=n=>l.value.leaveEarly=n)},{default:e(()=>[u(f,{label:!1},{default:e(()=>[m("\u672A\u65E9\u9000")]),_:1}),u(f,{label:!0},{default:e(()=>[m("\u65E9\u9000")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:5,label:"\u4E13\u5BB6\u662F\u5426\u65E9\u9000"},{default:e(()=>[g("span",null,_(l.value.leaveEarly?"\u65E9\u9000":"\u672A\u65E9\u9000"),1)]),_:1})),t.isEdit?(d(),r(i,{key:6,label:"\u4E13\u5BB6\u6709\u65E0\u8FDD\u89C4\u884C\u4E3A",prop:"brokeRule"},{default:e(()=>[u(E,{modelValue:l.value.brokeRule,"onUpdate:modelValue":a[6]||(a[6]=n=>l.value.brokeRule=n)},{default:e(()=>[u(f,{label:!1},{default:e(()=>[m("\u65E0")]),_:1}),u(f,{label:!0},{default:e(()=>[m("\u6709")]),_:1})]),_:1},8,["modelValue"])]),_:1})):(d(),r(i,{key:7,label:"\u4E13\u5BB6\u6709\u65E0\u8FDD\u89C4\u884C\u4E3A"},{default:e(()=>[g("span",null,_(l.value.brokeRule?"\u6709":"\u65E0"),1)]),_:1})),l.value.brokeRule?(d(),j(B,{key:8},[t.isEdit?(d(),r(i,{key:0,label:"\u8FDD\u89C4\u884C\u4E3A",prop:"brokeRuleContent"},{default:e(()=>[u(M,{modelValue:l.value.brokeRuleContent,"onUpdate:modelValue":a[7]||(a[7]=n=>l.value.brokeRuleContent=n),placeholder:"\u8BF7\u586B\u5199",type:"textarea",maxlength:200,"show-word-limit":""},null,8,["modelValue"])]),_:1})):(d(),r(i,{key:1,label:"\u8FDD\u89C4\u884C\u4E3A"},{default:e(()=>[g("span",null,_(l.value.brokeRuleContent),1)]),_:1}))],64)):N("v-if",!0)],64)):N("v-if",!0)]),_:1},8,["model"])]),_:2},[t.isEdit?{name:"footer",fn:e(()=>[g("span",X,[u(U,{type:"primary",loading:k.value,onClick:a[8]||(a[8]=n=>S(b.value))},{default:e(()=>[m("\u63D0\u4EA4")]),_:1},8,["loading"]),u(U,{onClick:a[9]||(a[9]=n=>V("close"))},{default:e(()=>[m("\u5173\u95ED")]),_:1})])]),key:"0"}:void 0]),1032,["model-value","title"])}}}),te=W(h,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/expertManage/expertStore/deputyActivityRecord/components/evaluateDialog.vue"]]);export{te as default}; diff --git a/lishui2/web/dist/assets/evaluationPlan.1b9d08f3.js b/lishui2/web/dist/assets/evaluationPlan.d084443a.js similarity index 94% rename from lishui2/web/dist/assets/evaluationPlan.1b9d08f3.js rename to lishui2/web/dist/assets/evaluationPlan.d084443a.js index 486f888..24bf844 100644 --- a/lishui2/web/dist/assets/evaluationPlan.1b9d08f3.js +++ b/lishui2/web/dist/assets/evaluationPlan.d084443a.js @@ -1 +1 @@ -import{z as p}from"./index.11dc4694.js";const r={1:"/api/v1/performance-appraisal/plan/list",2:"/api/v1/performance-appraisal/audit/submit-list"},t=(a,e)=>p.get(r[a],{params:e}),i=a=>p.get(`/api/v1/performance-appraisal/plan/detail/${a}`),l=a=>p.post("/api/v1/performance-appraisal/plan/edit",a),o=a=>p.post("/api/v1/performance-appraisal/plan/create",a),n=a=>p.post(`/api/v1/performance-appraisal/plan/delete/${a}`),c=(a,e)=>p.get(`/api/v1/performance-appraisal/plan/group/list/${a}`,{params:e}),f=a=>p.post("/api/v1/performance-appraisal/plan/group/save",a),m=a=>p.post(`/api/v1/performance-appraisal/plan/group/delete/${a}`),g=a=>p.get(`/api/v1/performance-appraisal/plan/group/detail/${a}`),v=a=>p.post("/api/v1/performance-appraisal/plan/addApplication",a),d=a=>p.get("/api/v1/performance-appraisal/plan/project-list",{params:a}),u=a=>p.get("/api/v1/performance-appraisal/plan/final-application-list",{params:a}),j=a=>p.get("/api/v1/performance-appraisal/plan/filter-projects",{params:a});export{u as a,v as b,o as c,i as d,l as e,j as f,n as g,g as h,c as i,m as j,f as k,t as l,d as p}; +import{z as p}from"./index.096886c6.js";const r={1:"/api/v1/performance-appraisal/plan/list",2:"/api/v1/performance-appraisal/audit/submit-list"},t=(a,e)=>p.get(r[a],{params:e}),i=a=>p.get(`/api/v1/performance-appraisal/plan/detail/${a}`),l=a=>p.post("/api/v1/performance-appraisal/plan/edit",a),o=a=>p.post("/api/v1/performance-appraisal/plan/create",a),n=a=>p.post(`/api/v1/performance-appraisal/plan/delete/${a}`),c=(a,e)=>p.get(`/api/v1/performance-appraisal/plan/group/list/${a}`,{params:e}),f=a=>p.post("/api/v1/performance-appraisal/plan/group/save",a),m=a=>p.post(`/api/v1/performance-appraisal/plan/group/delete/${a}`),g=a=>p.get(`/api/v1/performance-appraisal/plan/group/detail/${a}`),v=a=>p.post("/api/v1/performance-appraisal/plan/addApplication",a),d=a=>p.get("/api/v1/performance-appraisal/plan/project-list",{params:a}),u=a=>p.get("/api/v1/performance-appraisal/plan/final-application-list",{params:a}),j=a=>p.get("/api/v1/performance-appraisal/plan/filter-projects",{params:a});export{u as a,v as b,o as c,i as d,l as e,j as f,n as g,g as h,c as i,m as j,f as k,t as l,d as p}; diff --git a/lishui2/web/dist/assets/expertOpinion.afdb6100.js b/lishui2/web/dist/assets/expertOpinion.f90b75c4.js similarity index 90% rename from lishui2/web/dist/assets/expertOpinion.afdb6100.js rename to lishui2/web/dist/assets/expertOpinion.f90b75c4.js index 1d0b188..d2303b3 100644 --- a/lishui2/web/dist/assets/expertOpinion.afdb6100.js +++ b/lishui2/web/dist/assets/expertOpinion.f90b75c4.js @@ -1,4 +1,4 @@ -var R=Object.defineProperty;var V=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var N=(e,n,o)=>n in e?R(e,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[n]=o,j=(e,n)=>{for(var o in n||(n={}))E.call(n,o)&&N(e,o,n[o]);if(V)for(var o of V(n))q.call(n,o)&&N(e,o,n[o]);return e};var _=(e,n,o)=>new Promise((m,l)=>{var i=p=>{try{y(o.next(p))}catch(h){l(h)}},x=p=>{try{y(o.throw(p))}catch(h){l(h)}},y=p=>p.done?m(p.value):Promise.resolve(p.value).then(i,x);y((o=o.apply(e,n)).next())});import{C as z,_ as F,d as H,r as O,L as M,e as s,f as L,I as k,l as a,k as t,h as c,t as g,i as J,m as b,al as K}from"./index.11dc4694.js";const Y=e=>_(void 0,null,function*(){const n=yield z({fileId:e});return new Promise(o=>{var m=new FileReader;m.readAsDataURL(n),m.onload=function(l){o(l.target.result)}})}),G=e=>_(void 0,null,function*(){var l;const n=((l=e==null?void 0:e.signImgs)==null?void 0:l.map(i=>_(void 0,null,function*(){return yield Y(i.fileId)})))||void 0,o=n&&(yield Promise.all(n));return` +var R=Object.defineProperty;var V=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var N=(e,n,o)=>n in e?R(e,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[n]=o,j=(e,n)=>{for(var o in n||(n={}))E.call(n,o)&&N(e,o,n[o]);if(V)for(var o of V(n))q.call(n,o)&&N(e,o,n[o]);return e};var _=(e,n,o)=>new Promise((m,l)=>{var i=p=>{try{y(o.next(p))}catch(h){l(h)}},x=p=>{try{y(o.throw(p))}catch(h){l(h)}},y=p=>p.done?m(p.value):Promise.resolve(p.value).then(i,x);y((o=o.apply(e,n)).next())});import{C as z,_ as F,d as H,r as O,L as M,e as s,f as k,I as L,l as a,k as t,h as c,t as g,i as J,m as b,al as W}from"./index.096886c6.js";const Y=e=>_(void 0,null,function*(){const n=yield z({fileId:e});return new Promise(o=>{var m=new FileReader;m.readAsDataURL(n),m.onload=function(l){o(l.target.result)}})}),G=e=>_(void 0,null,function*(){var l;const n=((l=e==null?void 0:e.signImgs)==null?void 0:l.map(i=>_(void 0,null,function*(){return yield Y(i.fileId)})))||void 0,o=n&&(yield Promise.all(n));return` @@ -133,4 +133,4 @@ var R=Object.defineProperty;var V=Object.getOwnPropertySymbols;var E=Object.prot -`}),Q=c("div",{class:"collapse-title"},"\u4F1A\u8BAE\u4FE1\u606F",-1),W={class:"mb-16 text-14"},X=c("div",{class:"collapse-title"},"\u9879\u76EE\u6982\u51B5",-1),Z=c("div",{class:"collapse-title"},"\u5EFA\u8BBE\u5355\u4F4D\u81EA\u8BC4",-1),ee={class:"flex items-center mb-16 text-14"},le=c("div",{class:"collapse-title"},"\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u4EF7",-1),te={class:"flex items-center mb-16 text-14"},ae=c("div",{class:"collapse-title"},"\u4E13\u5BB6\u7EFC\u5408\u8BC4\u4EF7",-1),oe=H({name:"expertOpinion"}),ne=Object.assign(oe,{props:{data:{type:Object}},emits:["submitOpinion"],setup(e,{expose:n,emit:o}){const m=e,l=O({}),i=O(),x={evaluate:[{required:!0,message:"\u8BF7\u8F93\u5165"}],starLevel:[{required:!0,message:"\u8BF7\u9009\u62E9"}],reformAdvices:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A",type:"array"}]},y=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u6574\u6539\u5EFA\u8BAE",slot:"reformAdvice",key:"reformAdvice"}],p=()=>{l.value.reformAdvices.push({})},h=o;return n({getPdf:()=>_(this,null,function*(){const w=yield G(l.value),r=yield K({content:w,fileName:`${l.value.projectName}\u7EE9\u6548\u4E13\u5BB6\u610F\u89C1.pdf`}),u=j({},l.value);h("submitOpinion",r.data,`${l.value.projectName}\u7EE9\u6548\u4E13\u5BB6\u610F\u89C1.pdf`,JSON.stringify(u))}),formRef:i}),M(()=>m.data,w=>_(this,null,function*(){w&&(l.value=j({},w))}),{immediate:!0}),(w,r)=>{const u=s("el-collapse-item"),f=s("el-form-item"),v=s("el-col"),A=s("el-input"),T=s("el-row"),$=s("el-rate"),S=s("el-option"),I=s("el-select"),C=s("el-button"),P=s("table-list"),U=s("el-collapse"),B=s("el-form");return L(),k(B,{ref_key:"formRef",ref:i,model:l.value,rules:x,"label-suffix":":"},{default:a(()=>[t(U,null,{default:a(()=>[l.value.meetingInfo?(L(),k(u,{key:0,name:"1"},{title:a(()=>[Q]),default:a(()=>[c("div",W,g(l.value.meetingInfo),1)]),_:1})):J("v-if",!0),t(u,{name:"2"},{title:a(()=>[X]),default:a(()=>[t(T,null,{default:a(()=>[t(v,{span:24},{default:a(()=>[t(f,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[b(g(l.value.projectName),1)]),_:1})]),_:1}),t(v,{span:24},{default:a(()=>[t(f,{label:"\u9879\u76EE\u7C7B\u578B"},{default:a(()=>[b(g(l.value.projectTypeName),1)]),_:1})]),_:1}),t(v,{span:24},{default:a(()=>[t(f,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:a(()=>[b(g(l.value.buildOrgName),1)]),_:1})]),_:1}),t(v,{span:24},{default:a(()=>[t(f,{label:"\u5EFA\u8BBE\u60C5\u51B5",prop:"projectBasicSituation"},{default:a(()=>[t(A,{modelValue:l.value.projectBasicSituation,"onUpdate:modelValue":r[0]||(r[0]=d=>l.value.projectBasicSituation=d),type:"textarea",rows:4},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),t(u,{name:"3"},{title:a(()=>[Z]),default:a(()=>[c("p",ee,[b(" \u5F97\u5206"+g(l.value.selfAppraisalTotalScore)+"\uFF0C\u661F\u7EA7\u4E3A ",1),t($,{disabled:"","model-value":l.value.selfAppraisalTotalScore>=90?5:l.value.selfAppraisalTotalScore>=80?4:l.value.selfAppraisalTotalScore>=70?3:l.value.selfAppraisalTotalScore>=60?2:1},null,8,["model-value"])])]),_:1}),t(u,{name:"4"},{title:a(()=>[le]),default:a(()=>[c("p",te,[b(" \u5F97\u5206"+g(l.value.reAppraisalTotalScore)+"\uFF0C\u661F\u7EA7\u4E3A ",1),t($,{disabled:"","model-value":l.value.reAppraisalTotalScore>=90?5:l.value.reAppraisalTotalScore>=80?4:l.value.reAppraisalTotalScore>=70?3:l.value.reAppraisalTotalScore>=60?2:1},null,8,["model-value"])])]),_:1}),t(u,{name:"5"},{title:a(()=>[ae]),default:a(()=>[t(T,null,{default:a(()=>[t(v,{span:24},{default:a(()=>[t(f,{label:"\u4E13\u5BB6\u7EFC\u5408\u8BC4\u4EF7",prop:"evaluate"},{default:a(()=>[t(A,{modelValue:l.value.evaluate,"onUpdate:modelValue":r[1]||(r[1]=d=>l.value.evaluate=d),type:"textarea",rows:4,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),t(v,{span:24},{default:a(()=>[t(f,{label:"\u8BC4\u4EF7\u661F\u7EA7",prop:"starLevel"},{default:a(()=>[t(I,{modelValue:l.value.starLevel,"onUpdate:modelValue":r[2]||(r[2]=d=>l.value.starLevel=d)},{default:a(()=>[t(S,{label:"\u4E00",value:1}),t(S,{label:"\u4E8C",value:2}),t(S,{label:"\u4E09",value:3}),t(S,{label:"\u56DB",value:4}),t(S,{label:"\u4E94",value:5})]),_:1},8,["modelValue"]),t($,{"model-value":l.value.starLevel,disabled:""},null,8,["model-value"])]),_:1})]),_:1})]),_:1}),t(T,null,{default:a(()=>[t(v,{span:24},{default:a(()=>[t(C,{type:"primary",icon:"Plus",plain:"",class:"w-full mb-8",onClick:p},{default:a(()=>[b("\u65B0\u589E\u5EFA\u8BAE")]),_:1}),t(f,{prop:"reformAdvices",label:"\u4E13\u5BB6\u610F\u89C1"},{default:a(()=>[t(P,{data:l.value.reformAdvices,column:y,pagination:!1,"empty-temp":!1,class:"w-full"},{reformAdvice:a(({scope:d})=>[t(A,{modelValue:d.row.reformAdvice,"onUpdate:modelValue":D=>d.row.reformAdvice=D,placeholder:"\u8BF7\u586B\u5199",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"])]),_:1},8,["data"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),se=F(ne,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/unitSelfEvaluation/scoreDetail/components/expertOpinion.vue"]]),de=Object.freeze(Object.defineProperty({__proto__:null,default:se},Symbol.toStringTag,{value:"Module"}));export{se as E,de as e,G as g}; +`}),K=c("div",{class:"collapse-title"},"\u4F1A\u8BAE\u4FE1\u606F",-1),Q={class:"mb-16 text-14"},X=c("div",{class:"collapse-title"},"\u9879\u76EE\u6982\u51B5",-1),Z=c("div",{class:"collapse-title"},"\u5EFA\u8BBE\u5355\u4F4D\u81EA\u8BC4",-1),ee={class:"flex items-center mb-16 text-14"},le=c("div",{class:"collapse-title"},"\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u4EF7",-1),te={class:"flex items-center mb-16 text-14"},ae=c("div",{class:"collapse-title"},"\u4E13\u5BB6\u7EFC\u5408\u8BC4\u4EF7",-1),oe=H({name:"expertOpinion"}),ne=Object.assign(oe,{props:{data:{type:Object}},emits:["submitOpinion"],setup(e,{expose:n,emit:o}){const m=e,l=O({}),i=O(),x={evaluate:[{required:!0,message:"\u8BF7\u8F93\u5165"}],starLevel:[{required:!0,message:"\u8BF7\u9009\u62E9"}],reformAdvices:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A",type:"array"}]},y=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u6574\u6539\u5EFA\u8BAE",slot:"reformAdvice",key:"reformAdvice"}],p=()=>{l.value.reformAdvices.push({})},h=o;return n({getPdf:()=>_(this,null,function*(){const w=yield G(l.value),r=yield W({content:w,fileName:`${l.value.projectName}\u7EE9\u6548\u4E13\u5BB6\u610F\u89C1.pdf`}),u=j({},l.value);h("submitOpinion",r.data,`${l.value.projectName}\u7EE9\u6548\u4E13\u5BB6\u610F\u89C1.pdf`,JSON.stringify(u))}),formRef:i}),M(()=>m.data,w=>_(this,null,function*(){w&&(l.value=j({},w))}),{immediate:!0}),(w,r)=>{const u=s("el-collapse-item"),f=s("el-form-item"),v=s("el-col"),A=s("el-input"),T=s("el-row"),$=s("el-rate"),S=s("el-option"),I=s("el-select"),C=s("el-button"),U=s("table-list"),B=s("el-collapse"),P=s("el-form");return k(),L(P,{ref_key:"formRef",ref:i,model:l.value,rules:x,"label-suffix":":"},{default:a(()=>[t(B,null,{default:a(()=>[l.value.meetingInfo?(k(),L(u,{key:0,name:"1"},{title:a(()=>[K]),default:a(()=>[c("div",Q,g(l.value.meetingInfo),1)]),_:1})):J("v-if",!0),t(u,{name:"2"},{title:a(()=>[X]),default:a(()=>[t(T,null,{default:a(()=>[t(v,{span:24},{default:a(()=>[t(f,{label:"\u9879\u76EE\u540D\u79F0"},{default:a(()=>[b(g(l.value.projectName),1)]),_:1})]),_:1}),t(v,{span:24},{default:a(()=>[t(f,{label:"\u9879\u76EE\u7C7B\u578B"},{default:a(()=>[b(g(l.value.projectTypeName),1)]),_:1})]),_:1}),t(v,{span:24},{default:a(()=>[t(f,{label:"\u5EFA\u8BBE\u5355\u4F4D"},{default:a(()=>[b(g(l.value.buildOrgName),1)]),_:1})]),_:1}),t(v,{span:24},{default:a(()=>[t(f,{label:"\u5EFA\u8BBE\u60C5\u51B5",prop:"projectBasicSituation"},{default:a(()=>[t(A,{modelValue:l.value.projectBasicSituation,"onUpdate:modelValue":r[0]||(r[0]=d=>l.value.projectBasicSituation=d),type:"textarea",rows:4},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),t(u,{name:"3"},{title:a(()=>[Z]),default:a(()=>[c("p",ee,[b(" \u5F97\u5206"+g(l.value.selfAppraisalTotalScore)+"\uFF0C\u661F\u7EA7\u4E3A ",1),t($,{disabled:"","model-value":l.value.selfAppraisalTotalScore>=90?5:l.value.selfAppraisalTotalScore>=80?4:l.value.selfAppraisalTotalScore>=70?3:l.value.selfAppraisalTotalScore>=60?2:1},null,8,["model-value"])])]),_:1}),t(u,{name:"4"},{title:a(()=>[le]),default:a(()=>[c("p",te,[b(" \u5F97\u5206"+g(l.value.reAppraisalTotalScore)+"\uFF0C\u661F\u7EA7\u4E3A ",1),t($,{disabled:"","model-value":l.value.reAppraisalTotalScore>=90?5:l.value.reAppraisalTotalScore>=80?4:l.value.reAppraisalTotalScore>=70?3:l.value.reAppraisalTotalScore>=60?2:1},null,8,["model-value"])])]),_:1}),t(u,{name:"5"},{title:a(()=>[ae]),default:a(()=>[t(T,null,{default:a(()=>[t(v,{span:24},{default:a(()=>[t(f,{label:"\u4E13\u5BB6\u7EFC\u5408\u8BC4\u4EF7",prop:"evaluate"},{default:a(()=>[t(A,{modelValue:l.value.evaluate,"onUpdate:modelValue":r[1]||(r[1]=d=>l.value.evaluate=d),type:"textarea",rows:4,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),t(v,{span:24},{default:a(()=>[t(f,{label:"\u8BC4\u4EF7\u661F\u7EA7",prop:"starLevel"},{default:a(()=>[t(I,{modelValue:l.value.starLevel,"onUpdate:modelValue":r[2]||(r[2]=d=>l.value.starLevel=d)},{default:a(()=>[t(S,{label:"\u4E00",value:1}),t(S,{label:"\u4E8C",value:2}),t(S,{label:"\u4E09",value:3}),t(S,{label:"\u56DB",value:4}),t(S,{label:"\u4E94",value:5})]),_:1},8,["modelValue"]),t($,{"model-value":l.value.starLevel,disabled:""},null,8,["model-value"])]),_:1})]),_:1})]),_:1}),t(T,null,{default:a(()=>[t(v,{span:24},{default:a(()=>[t(C,{type:"primary",icon:"Plus",plain:"",class:"w-full mb-8",onClick:p},{default:a(()=>[b("\u65B0\u589E\u5EFA\u8BAE")]),_:1}),t(f,{prop:"reformAdvices",label:"\u4E13\u5BB6\u610F\u89C1"},{default:a(()=>[t(U,{data:l.value.reformAdvices,column:y,pagination:!1,"empty-temp":!1,class:"w-full"},{reformAdvice:a(({scope:d})=>[t(A,{modelValue:d.row.reformAdvice,"onUpdate:modelValue":D=>d.row.reformAdvice=D,placeholder:"\u8BF7\u586B\u5199",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"])]),_:1},8,["data"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),se=F(ne,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/performanceEvaluation/unitSelfEvaluation/scoreDetail/components/expertOpinion.vue"]]),de=Object.freeze(Object.defineProperty({__proto__:null,default:se},Symbol.toStringTag,{value:"Module"}));export{se as E,de as e,G as g}; diff --git a/lishui2/web/dist/assets/expertOtherInfo.90012339.js b/lishui2/web/dist/assets/expertOtherInfo.90012339.js new file mode 100644 index 0000000..c1cd9dc --- /dev/null +++ b/lishui2/web/dist/assets/expertOtherInfo.90012339.js @@ -0,0 +1 @@ +var I=Object.defineProperty,D=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var v=(a,o,e)=>o in a?I(a,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[o]=e,g=(a,o)=>{for(var e in o||(o={}))j.call(o,e)&&v(a,e,o[e]);if(x)for(var e of x(o))N.call(o,e)&&v(a,e,o[e]);return a},k=(a,o)=>D(a,F(o));var b=(a,o,e)=>new Promise((r,_)=>{var u=t=>{try{m(e.next(t))}catch(l){_(l)}},f=t=>{try{m(e.throw(t))}catch(l){_(l)}},m=t=>t.done?r(t.value):Promise.resolve(t.value).then(u,f);m((e=e.apply(a,o)).next())});import{d as R,G as S,D as U,r as w,o as B,e as s,f as E,I as M,l as p,k as n,j as c,_ as $}from"./index.096886c6.js";const G=R({name:"expertOtherInfo"}),L=Object.assign(G,{setup(a,{expose:o}){const{tagList:e}=S(U.dictStore),r=w({}),_=w(),u={};return o({validForm:t=>{_.value.validate(l=>{t(l)})},formData:r,setFormData:t=>{r.value=k(g({},t),{other:t.other&&t.other.map(l=>`${l.tagName}##${l.tagCode}`)})}}),B(()=>b(this,null,function*(){})),(t,l)=>{const C=s("el-tree-select"),i=s("el-form-item"),h=s("el-col"),O=s("el-input"),V=s("el-row"),y=s("el-form");return E(),M(y,{ref_key:"formRef",ref:_,model:r.value,rules:u,"label-position":"right","label-width":"120px","label-suffix":":","scroll-to-error":"",class:"expertOtherInfo"},{default:p(()=>[n(V,{gutter:8},{default:p(()=>[n(h,{span:24},{default:p(()=>[n(i,{label:"\u5176\u4ED6\u6807\u7B7E"},{default:p(()=>[n(C,{modelValue:r.value.other,"onUpdate:modelValue":l[0]||(l[0]=d=>r.value.other=d),placeholder:"\u8BF7\u9009\u62E9\u5176\u4ED6\u6807\u7B7E",data:c(e)&&c(e).length&&c(e).find(d=>d.tagCode==="other").children||[],props:{label:"tagName",value:"unionCode"},"node-key":"unionCode","collapse-tags":"",multiple:"","show-checkbox":"","check-on-click-node":""},null,8,["modelValue","data"])]),_:1})]),_:1}),n(h,{span:24},{default:p(()=>[n(i,{label:"\u5907\u6CE8"},{default:p(()=>[n(O,{modelValue:r.value.remark,"onUpdate:modelValue":l[1]||(l[1]=d=>r.value.remark=d),maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),q=$(L,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/expertManage/expertStore/addOrEditExpert/components/expertOtherInfo.vue"]]);export{q as default}; diff --git a/lishui2/web/dist/assets/expertOtherInfo.e90654d1.js b/lishui2/web/dist/assets/expertOtherInfo.e90654d1.js deleted file mode 100644 index 13fe3d7..0000000 --- a/lishui2/web/dist/assets/expertOtherInfo.e90654d1.js +++ /dev/null @@ -1 +0,0 @@ -var D=Object.defineProperty,I=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var v=(a,o,e)=>o in a?D(a,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[o]=e,g=(a,o)=>{for(var e in o||(o={}))F.call(o,e)&&v(a,e,o[e]);if(x)for(var e of x(o))N.call(o,e)&&v(a,e,o[e]);return a},k=(a,o)=>I(a,j(o));var b=(a,o,e)=>new Promise((r,p)=>{var d=t=>{try{m(e.next(t))}catch(l){p(l)}},f=t=>{try{m(e.throw(t))}catch(l){p(l)}},m=t=>t.done?r(t.value):Promise.resolve(t.value).then(d,f);m((e=e.apply(a,o)).next())});import{d as M,G as R,D as U,r as w,o as B,e as s,f as E,I as S,l as _,k as n,j as u,_ as $}from"./index.11dc4694.js";const G=M({name:"expertOtherInfo"}),J=Object.assign(G,{setup(a,{expose:o}){const{tagList:e}=R(U.dictStore),r=w({}),p=w(),d={};return o({validForm:t=>{p.value.validate(l=>{t(l)})},formData:r,setFormData:t=>{r.value=k(g({},t),{other:t.other&&t.other.map(l=>`${l.tagName}##${l.tagCode}`)})}}),B(()=>b(this,null,function*(){})),(t,l)=>{const y=s("el-tree-select"),i=s("el-form-item"),h=s("el-col"),C=s("el-input"),O=s("el-row"),V=s("el-form");return E(),S(V,{ref_key:"formRef",ref:p,model:r.value,rules:d,"label-position":"right","label-width":"120px","label-suffix":":","scroll-to-error":"",class:"expertOtherInfo"},{default:_(()=>[n(O,{gutter:8},{default:_(()=>[n(h,{span:24},{default:_(()=>[n(i,{label:"\u5176\u4ED6\u6807\u7B7E"},{default:_(()=>[n(y,{modelValue:r.value.other,"onUpdate:modelValue":l[0]||(l[0]=c=>r.value.other=c),placeholder:"\u8BF7\u9009\u62E9\u5176\u4ED6\u6807\u7B7E",data:u(e)&&u(e).length&&u(e).find(c=>c.tagCode==="other").children||[],props:{label:"tagName",value:"unionCode"},"node-key":"unionCode","collapse-tags":"",multiple:"","show-checkbox":"","check-on-click-node":""},null,8,["modelValue","data"])]),_:1})]),_:1}),n(h,{span:24},{default:_(()=>[n(i,{label:"\u5907\u6CE8"},{default:_(()=>[n(C,{modelValue:r.value.remark,"onUpdate:modelValue":l[1]||(l[1]=c=>r.value.remark=c),maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),P=$(J,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertStore/addOrEditExpert/components/expertOtherInfo.vue"]]);export{P as default}; diff --git a/lishui2/web/dist/assets/expertReview.880d02df.js b/lishui2/web/dist/assets/expertReview.7a74a1a3.js similarity index 86% rename from lishui2/web/dist/assets/expertReview.880d02df.js rename to lishui2/web/dist/assets/expertReview.7a74a1a3.js index 04144e8..42d6d74 100644 --- a/lishui2/web/dist/assets/expertReview.880d02df.js +++ b/lishui2/web/dist/assets/expertReview.7a74a1a3.js @@ -1 +1 @@ -import{z as t}from"./index.11dc4694.js";const i=e=>t.get("/api/v1/meeting/listReviewProject",{params:e}),o=e=>t.post("/api/v1/expertReview/save",e),p=({projectId:e,meetingId:s})=>t.get(`/api/v1/expertReview/listForGroupLeader/${e}/${s}`),v=e=>t.get("/api/v1/reviewTemplateSettings/templates",{params:e}),r=e=>t.get("/api/v1/meeting/expert/meetingListForLeave",{params:e}),n=e=>t.post("/api/v1/leave/save",e);export{p as a,i as b,n as l,r as m,o as s,v as t}; +import{z as t}from"./index.096886c6.js";const i=e=>t.get("/api/v1/meeting/listReviewProject",{params:e}),o=e=>t.post("/api/v1/expertReview/save",e),p=({projectId:e,meetingId:s})=>t.get(`/api/v1/expertReview/listForGroupLeader/${e}/${s}`),v=e=>t.get("/api/v1/reviewTemplateSettings/templates",{params:e}),r=e=>t.get("/api/v1/meeting/expert/meetingListForLeave",{params:e}),n=e=>t.post("/api/v1/leave/save",e);export{p as a,i as b,n as l,r as m,o as s,v as t}; diff --git a/lishui2/web/dist/assets/expertReviewInfo.7dc941b2.js b/lishui2/web/dist/assets/expertReviewInfo.7dc941b2.js new file mode 100644 index 0000000..6265093 --- /dev/null +++ b/lishui2/web/dist/assets/expertReviewInfo.7dc941b2.js @@ -0,0 +1 @@ +var E=Object.defineProperty,J=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var q=(a,o,e)=>o in a?E(a,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[o]=e,N=(a,o)=>{for(var e in o||(o={}))P.call(o,e)&&q(a,e,o[e]);if(F)for(var e of F(o))W.call(o,e)&&q(a,e,o[e]);return a},y=(a,o)=>J(a,L(o));var B=(a,o,e)=>new Promise((f,D)=>{var b=n=>{try{c(e.next(n))}catch(p){D(p)}},V=n=>{try{c(e.throw(n))}catch(p){D(p)}},c=n=>n.done?f(n.value):Promise.resolve(n.value).then(b,V);c((e=e.apply(a,o)).next())});import{_ as x,d as z,r as j,o as G,e as g,f as w,g as S,k as m,l as u,m as T,t as C,F as O,J as U,I as M}from"./index.096886c6.js";import{e as H}from"./projectStore.75f32f73.js";import h from"./memberOpinion.32f6c7ff.js";import{N as K}from"./index.9e3741ad.js";import{A as Q}from"./index.e0e52f0f.js";const X=z({name:"approvalInfo"}),Y=Object.assign(X,{props:{detailData:Object},setup(a){const o=a,e=j([]),f=j(),D=()=>B(this,null,function*(){var n,p;const c=yield H(o.detailData.projectCode);f.value=(p=(n=c.data)==null?void 0:n.reviews)==null?void 0:p.map(v=>{var R,I;return y(N({},v),{finalReview:[y(N({},v.finalReview),{reviewTemplateOptions:((I=(R=v.finalReview)==null?void 0:R.reviewTemplateOptions)==null?void 0:I.map(s=>{var l,t;const _=c.data.templates.find(i=>v.finalReview.templateId===i.templateId).templates;return y(N({},s),{title:(l=_.find(i=>i.serialNo===s.questionSerialNo))==null?void 0:l.title,optionsValue:(t=_.find(i=>i.serialNo===s.questionSerialNo))==null?void 0:t.options.filter(i=>s.optionSerialNo.includes(i.serialNo)).map(i=>i.option).join("\u3001")})}))||[]})],teamMemberReviews:v.teamMemberReviews.map(s=>{var _;return y(N({},s),{reviewTemplateOptions:((_=s==null?void 0:s.reviewTemplateOptions)==null?void 0:_.map(l=>{var i,k;const t=c.data.templates.find(r=>s.templateId===r.templateId).templates;return y(N({},l),{title:(i=t.find(r=>r.serialNo===l.questionSerialNo))==null?void 0:i.title,optionsValue:(k=t.find(r=>r.serialNo===l.questionSerialNo))==null?void 0:k.options.filter(r=>l.optionSerialNo.includes(r.serialNo)).map(r=>r.option).join("\u3001")})}))||[]})})})})}),b=j(new Array(4).fill("\u6700\u7EC8\u610F\u89C1")),V=["\u521D\u6B65\u65B9\u6848\u8BC4\u5BA1","\u90E8\u95E8\u8054\u5BA1","\u5EFA\u8BBE\u65B9\u6848\u8BC4\u5BA1","\u9A8C\u6536\u8BC4\u5BA1"];return G(()=>{D()}),(c,n)=>{const p=g("el-descriptions-item"),v=g("el-descriptions"),R=g("el-radio-button"),I=g("el-radio-group"),s=g("el-collapse-item"),_=g("el-collapse");return w(),S(O,null,[m(v,{column:2,border:"",class:"mb-16"},{default:u(()=>[m(p,{label:"\u5EFA\u8BAE\u603B\u6295\u8D44"},{default:u(()=>[T(C(a.detailData.proposeTotalInvest||"-")+"\u4E07\u5143 ",1)]),_:1}),m(p,{label:"\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97"},{default:u(()=>[T(C(a.detailData.proposeAnnualBudget||"-")+"\u4E07\u5143 ",1)]),_:1}),m(p,{label:"\u8BC4\u5BA1\u610F\u89C1\u9644\u4EF6",span:2},{default:u(()=>[(w(!0),S(O,null,U(a.detailData.proposeAttachFiles&&JSON.parse(a.detailData.proposeAttachFiles),(l,t)=>(w(),S("p",{key:t,class:"mb-4"},[m(Q,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1}),m(_,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=l=>e.value=l)},{default:u(()=>[(w(),S(O,null,U(V,(l,t)=>m(s,{key:t,name:l,title:l},{default:u(()=>{var i,k,r,A;return[m(I,{modelValue:b.value[t],"onUpdate:modelValue":d=>b.value[t]=d,class:"mb-16"},{default:u(()=>[m(R,{label:"\u6700\u7EC8\u610F\u89C1"},{default:u(()=>[T("\u6700\u7EC8\u610F\u89C1")]),_:1}),m(R,{label:"\u7EC4\u5458\u610F\u89C1"},{default:u(()=>[T("\u7EC4\u5458\u610F\u89C1")]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"]),((i=f.value)==null?void 0:i.find(d=>d.reviewType===t+1))&&b.value[t]==="\u6700\u7EC8\u610F\u89C1"?(w(),M(h,{key:0,"member-opinions":(k=f.value)==null?void 0:k.find(d=>d.reviewType===t+1).finalReview},null,8,["member-opinions"])):((r=f.value)==null?void 0:r.find(d=>d.reviewType===t+1))&&b.value[t]==="\u7EC4\u5458\u610F\u89C1"?(w(),M(h,{key:1,"member-opinions":(A=f.value)==null?void 0:A.find(d=>d.reviewType===t+1).teamMemberReviews},null,8,["member-opinions"])):(w(),M(K,{key:2}))]}),_:2},1032,["name","title"])),64))]),_:1},8,["modelValue"])],64)}}}),le=x(Y,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/expertReviewInfo.vue"]]);export{le as default}; diff --git a/lishui2/web/dist/assets/expertReviewInfo.cd30a64f.js b/lishui2/web/dist/assets/expertReviewInfo.cd30a64f.js deleted file mode 100644 index 8d942fc..0000000 --- a/lishui2/web/dist/assets/expertReviewInfo.cd30a64f.js +++ /dev/null @@ -1 +0,0 @@ -var J=Object.defineProperty,E=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var q=(a,o,e)=>o in a?J(a,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[o]=e,N=(a,o)=>{for(var e in o||(o={}))x.call(o,e)&&q(a,e,o[e]);if(F)for(var e of F(o))K.call(o,e)&&q(a,e,o[e]);return a},y=(a,o)=>E(a,P(o));var B=(a,o,e)=>new Promise((f,I)=>{var b=n=>{try{c(e.next(n))}catch(p){I(p)}},k=n=>{try{c(e.throw(n))}catch(p){I(p)}},c=n=>n.done?f(n.value):Promise.resolve(n.value).then(b,k);c((e=e.apply(a,o)).next())});import{_ as L,d as z,r as S,o as G,e as D,f as w,g as V,k as m,l as d,m as j,t as C,F as M,J as U,I as O}from"./index.11dc4694.js";import{e as H}from"./projectStore.913d3819.js";import h from"./memberOpinion.26bcc3e2.js";import{N as Q}from"./index.90958342.js";import{A as W}from"./index.3731dd96.js";const X=z({name:"approvalInfo"}),Y=Object.assign(X,{props:{detailData:Object},setup(a){const o=a,e=S([]),f=S(),I=()=>B(this,null,function*(){var n,p;const c=yield H(o.detailData.projectCode);f.value=(p=(n=c.data)==null?void 0:n.reviews)==null?void 0:p.map(v=>{var R,T;return y(N({},v),{finalReview:[y(N({},v.finalReview),{reviewTemplateOptions:((T=(R=v.finalReview)==null?void 0:R.reviewTemplateOptions)==null?void 0:T.map(s=>{var l,t;const _=c.data.templates.find(i=>v.finalReview.templateId===i.templateId).templates;return y(N({},s),{title:(l=_.find(i=>i.serialNo===s.questionSerialNo))==null?void 0:l.title,optionsValue:(t=_.find(i=>i.serialNo===s.questionSerialNo))==null?void 0:t.options.filter(i=>s.optionSerialNo.includes(i.serialNo)).map(i=>i.option).join("\u3001")})}))||[]})],teamMemberReviews:v.teamMemberReviews.map(s=>{var _;return y(N({},s),{reviewTemplateOptions:((_=s==null?void 0:s.reviewTemplateOptions)==null?void 0:_.map(l=>{var i,g;const t=c.data.templates.find(r=>s.templateId===r.templateId).templates;return y(N({},l),{title:(i=t.find(r=>r.serialNo===l.questionSerialNo))==null?void 0:i.title,optionsValue:(g=t.find(r=>r.serialNo===l.questionSerialNo))==null?void 0:g.options.filter(r=>l.optionSerialNo.includes(r.serialNo)).map(r=>r.option).join("\u3001")})}))||[]})})})})}),b=S(new Array(4).fill("\u6700\u7EC8\u610F\u89C1")),k=["\u521D\u6B65\u65B9\u6848\u8BC4\u5BA1","\u90E8\u95E8\u8054\u5BA1","\u5EFA\u8BBE\u65B9\u6848\u8BC4\u5BA1","\u9A8C\u6536\u8BC4\u5BA1"];return G(()=>{I()}),(c,n)=>{const p=D("el-descriptions-item"),v=D("el-descriptions"),R=D("el-radio-button"),T=D("el-radio-group"),s=D("el-collapse-item"),_=D("el-collapse");return w(),V(M,null,[m(v,{column:2,border:"",class:"mb-16"},{default:d(()=>[m(p,{label:"\u5EFA\u8BAE\u603B\u6295\u8D44"},{default:d(()=>[j(C(a.detailData.proposeTotalInvest||"-")+"\u4E07\u5143 ",1)]),_:1}),m(p,{label:"\u5EFA\u8BAE\u5E74\u5EA6\u9884\u7B97"},{default:d(()=>[j(C(a.detailData.proposeAnnualBudget||"-")+"\u4E07\u5143 ",1)]),_:1}),m(p,{label:"\u8BC4\u5BA1\u610F\u89C1\u9644\u4EF6",span:2},{default:d(()=>[(w(!0),V(M,null,U(a.detailData.proposeAttachFiles&&JSON.parse(a.detailData.proposeAttachFiles),(l,t)=>(w(),V("p",{key:t,class:"mb-4"},[m(W,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":!0},null,8,["file-name","file-id"])]))),128))]),_:1})]),_:1}),m(_,{modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=l=>e.value=l)},{default:d(()=>[(w(),V(M,null,U(k,(l,t)=>m(s,{key:t,name:l,title:l},{default:d(()=>{var i,g,r,A;return[m(T,{modelValue:b.value[t],"onUpdate:modelValue":u=>b.value[t]=u,class:"mb-16"},{default:d(()=>[m(R,{label:"\u6700\u7EC8\u610F\u89C1"},{default:d(()=>[j("\u6700\u7EC8\u610F\u89C1")]),_:1}),m(R,{label:"\u7EC4\u5458\u610F\u89C1"},{default:d(()=>[j("\u7EC4\u5458\u610F\u89C1")]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"]),((i=f.value)==null?void 0:i.find(u=>u.reviewType===t+1))&&b.value[t]==="\u6700\u7EC8\u610F\u89C1"?(w(),O(h,{key:0,"member-opinions":(g=f.value)==null?void 0:g.find(u=>u.reviewType===t+1).finalReview},null,8,["member-opinions"])):((r=f.value)==null?void 0:r.find(u=>u.reviewType===t+1))&&b.value[t]==="\u7EC4\u5458\u610F\u89C1"?(w(),O(h,{key:1,"member-opinions":(A=f.value)==null?void 0:A.find(u=>u.reviewType===t+1).teamMemberReviews},null,8,["member-opinions"])):(w(),O(Q,{key:2}))]}),_:2},1032,["name","title"])),64))]),_:1},8,["modelValue"])],64)}}}),le=L(Y,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/expertReviewInfo.vue"]]);export{le as default}; diff --git a/lishui2/web/dist/assets/expertStore.0737db4f.js b/lishui2/web/dist/assets/expertStore.09c67807.js similarity index 90% rename from lishui2/web/dist/assets/expertStore.0737db4f.js rename to lishui2/web/dist/assets/expertStore.09c67807.js index 41c3c7e..87974a9 100644 --- a/lishui2/web/dist/assets/expertStore.0737db4f.js +++ b/lishui2/web/dist/assets/expertStore.09c67807.js @@ -1 +1 @@ -import{z as e}from"./index.11dc4694.js";const p=t=>e.post("/api/v1/expert/expert-library/list",t),s=t=>e.post("/api/v1/expert/basic-info-submit",t),a=t=>e.post("/api/v1/expert/basic-info-modify",t),o=t=>e.post("/api/v1/meta/tag",t),r=t=>e.get("/api/v1/meeting/expert/meetingList",{params:t}),n=t=>e.post("/api/v1/expert/get-zzd-info",t),g=t=>e.post("/api/v1/expert/registration",t),c=t=>e.post("/api/v1/meeting/expert-judge/submit",t),d=t=>e.get(`/api/v1/meeting/expert-judge/detail/${t}`),x=t=>e.post(`/api/v1/expert/delivery/${t}`),m=t=>e.post("/api/v1/expert/modify-apply",t);export{a,d as b,p as c,x as d,s as e,o as f,r as g,c as j,m,g as r,n as z}; +import{z as e}from"./index.096886c6.js";const p=t=>e.post("/api/v1/expert/expert-library/list",t),s=t=>e.post("/api/v1/expert/basic-info-submit",t),a=t=>e.post("/api/v1/expert/basic-info-modify",t),o=t=>e.post("/api/v1/meta/tag",t),r=t=>e.get("/api/v1/meeting/expert/meetingList",{params:t}),n=t=>e.post("/api/v1/expert/get-zzd-info",t),g=t=>e.post("/api/v1/expert/registration",t),c=t=>e.post("/api/v1/meeting/expert-judge/submit",t),d=t=>e.get(`/api/v1/meeting/expert-judge/detail/${t}`),x=t=>e.post(`/api/v1/expert/delivery/${t}`),m=t=>e.post("/api/v1/expert/modify-apply",t);export{a,d as b,p as c,x as d,s as e,o as f,r as g,c as j,m,g as r,n as z}; diff --git a/lishui2/web/dist/assets/expertVerification.bbfa4c59.js b/lishui2/web/dist/assets/expertVerification.3269b2ae.js similarity index 72% rename from lishui2/web/dist/assets/expertVerification.bbfa4c59.js rename to lishui2/web/dist/assets/expertVerification.3269b2ae.js index ecb213b..e347c19 100644 --- a/lishui2/web/dist/assets/expertVerification.bbfa4c59.js +++ b/lishui2/web/dist/assets/expertVerification.3269b2ae.js @@ -1 +1 @@ -import{z as i}from"./index.11dc4694.js";const e=t=>i.get("/api/v1/verify/list",{params:t}),o=t=>i.post("/api/v1/verify/submit-verify",t),p=(t,s)=>i.get(`/api/v1/verify/project-list/${t}`,{params:s});export{p as g,e as l,o as s}; +import{z as i}from"./index.096886c6.js";const e=t=>i.get("/api/v1/verify/list",{params:t}),o=t=>i.post("/api/v1/verify/submit-verify",t),p=(t,s)=>i.get(`/api/v1/verify/project-list/${t}`,{params:s});export{p as g,e as l,o as s}; diff --git a/lishui2/web/dist/assets/expertVerify.e1f31d87.js b/lishui2/web/dist/assets/expertVerify.41cd6396.js similarity index 80% rename from lishui2/web/dist/assets/expertVerify.e1f31d87.js rename to lishui2/web/dist/assets/expertVerify.41cd6396.js index 1f9f762..72b6d75 100644 --- a/lishui2/web/dist/assets/expertVerify.e1f31d87.js +++ b/lishui2/web/dist/assets/expertVerify.41cd6396.js @@ -1 +1 @@ -import{z as e}from"./index.11dc4694.js";const p=t=>e.post("/api/v1/apply/meta/list",t),i=t=>e.post("/api/v1/apply/meta/result",t),s=t=>e.get(`/api/v1/apply/meta/detail/${t.applyId}`),l=t=>e.get("/api/v1/expert/admin/detail",{params:t}),o=t=>e.get("/api/v1/expert/modify/detail",{params:t});export{p as a,s as b,l as g,o as m,i as s}; +import{z as e}from"./index.096886c6.js";const p=t=>e.post("/api/v1/apply/meta/list",t),i=t=>e.post("/api/v1/apply/meta/result",t),s=t=>e.get(`/api/v1/apply/meta/detail/${t.applyId}`),l=t=>e.get("/api/v1/expert/admin/detail",{params:t}),o=t=>e.get("/api/v1/expert/modify/detail",{params:t});export{p as a,s as b,l as g,o as m,i as s}; diff --git a/lishui2/web/dist/assets/exportFieldDialog.2e161160.js b/lishui2/web/dist/assets/exportFieldDialog.f470979d.js similarity index 64% rename from lishui2/web/dist/assets/exportFieldDialog.2e161160.js rename to lishui2/web/dist/assets/exportFieldDialog.f470979d.js index 296c106..cc24115 100644 --- a/lishui2/web/dist/assets/exportFieldDialog.2e161160.js +++ b/lishui2/web/dist/assets/exportFieldDialog.f470979d.js @@ -1 +1 @@ -var v=(g,b,u)=>new Promise((p,d)=>{var s=t=>{try{n(u.next(t))}catch(m){d(m)}},c=t=>{try{n(u.throw(t))}catch(m){d(m)}},n=t=>t.done?p(t.value):Promise.resolve(t.value).then(s,c);n((u=u.apply(g,b)).next())});import{_ as P,d as V,r as f,L as T,e as r,f as x,I as k,l as o,k as i,m as _,g as B,F as M,J as L,t as R}from"./index.11dc4694.js";const E=V({name:"exportFieldDialog"}),G=Object.assign(E,{props:{visible:{type:Boolean,default:!1,required:!0}},emits:["close","exportProject"],setup(g,{emit:b}){const u=g,p=b,d=f(),s=f({}),c=f({id:"\u9879\u76EEID",projectName:"\u9879\u76EE\u540D\u79F0",areaCode:"\u884C\u653F\u533A\u5212\u7F16\u7801",area:"\u884C\u653F\u533A\u5212\u540D\u79F0",responsibleMan:"\u9879\u76EE\u8D1F\u8D23\u4EBA",responsibleManMobile:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",contactName:"\u9879\u76EE\u8054\u7CFB\u4EBA",contactPhone:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",higherSuperOrg:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D",higherSuperOrgCode:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID",superOrg:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8",superOrgCode:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8\u6D59\u653F\u9489ID",buildOrgName:"\u5EFA\u8BBE\u5355\u4F4D",buildOrgZheJiangGovDingId:"\u5EFA\u8BBE\u5355\u4F4D\u6D59\u653F\u9489ID",orgCreditCode:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",projectType:"\u9879\u76EE\u7C7B\u578B",isFirst:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA",relatedExistsApplication:"\u5173\u8054\u5E94\u7528",relatedExistsApplicationCode:"\u5173\u8054\u5E94\u7528IRS\u7F16\u7801",declareAmount:"\u7533\u62A5\u91D1\u989D",approvedTotalInvestmentIncrease:"\u6279\u590D\u91D1\u989D",budgetSource:"\u9884\u7B97\u6765\u6E90",projectYear:"\u9884\u7B97\u5E74\u5EA6",projectIntroduction:"\u9879\u76EE\u7B80\u4ECB",buildBasis:"\u7ACB\u9879\u4F9D\u636E",buildLevel:"\u5EFA\u8BBE\u5C42\u7EA7",developCode:"\u53D1\u6539\u7F16\u7801",financialCode:"\u8D22\u653F\u7F16\u7801",informationValidity:"\u4FE1\u606F\u662F\u5426\u6709\u6548",isDigitalReform:"\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE",bizDomain:"\u7EFC\u5408\u5E94\u7528\u9886\u57DF",isCloud:"\u662F\u5426\u4E0A\u4E91",cloudType:"\u4E91\u7C7B\u578B",fourSystems:"\u56DB\u5927\u4F53\u7CFB",isTemporaryAugment:"\u662F\u5426\u4E34\u65F6\u589E\u8865",protectionLevel:"\u7B49\u4FDD\u7EA7\u522B",isSecretComments:"\u662F\u5426\u5BC6\u8BC4",businessNumber:"\u4E1A\u52A1\u7F16\u53F7",businessName:"\u4E1A\u52A1\u540D\u79F0",orgName:"\u5355\u4F4D\u540D\u79F0",softwareDevelopmentAmount:"\u8F6F\u4EF6\u5F00\u53D1",cloudHardwarePurchaseAmount:"\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u8D2D\u7F6E",thirdPartyAmount:"\u7B2C\u4E09\u65B9\u670D\u52A1",safetyInputTitle:"\u6295\u5165\u9879",safetyInputDescribe:"\u5185\u5BB9\u63CF\u8FF0",safetyInputAmount:"\u91D1\u989D",annualPlanAmount:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",annualPlanHaveAmount:"\u81EA\u6709\u8D44\u91D1",declareGovOwnFinanceAmount:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",declareGovSuperiorFinanceAmount:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",declareBankLendingAmount:"\u94F6\u884C\u8D37\u6B3E",declareOtherAmount:"\u5176\u4ED6\u8D44\u91D1",engineeringSpeedOne:"\u7B2C\u4E00\u5B63\u5EA6",engineeringSpeedTwo:"\u7B2C\u4E8C\u5B63\u5EA6",engineeringSpeedThree:"\u7B2C\u4E09\u5B63\u5EA6",engineeringSpeedFour:"\u7B2C\u56DB\u5B63\u5EA6",preliminaryPlanFile:"\u521D\u6B65\u65B9\u6848",supportingMaterialsFile:"\u4F50\u8BC1\u6750\u6599",projectRemarks:"\u5907\u6CE8"}),n=f(!1),t=f(!1),m=l=>{s.value.exportFields=l?Object.keys(c.value):[],t.value=!1},F=l=>{const e=l.length;n.value=e===Object.entries(c.value).length,t.value=e>0&&ev(this,null,function*(){!l||(yield l.validate(e=>v(this,null,function*(){e&&p("exportProject",s.value.exportFields)})))});return T(()=>u.visible,l=>v(this,null,function*(){l?console.log(l):(d.value.resetFields(),n.value=!1,t.value=!1)})),(l,e)=>{const h=r("el-checkbox"),j=r("el-checkbox-group"),I=r("el-form-item"),O=r("el-col"),w=r("el-row"),S=r("el-form"),C=r("el-button"),N=r("el-dialog");return x(),k(N,{"model-value":g.visible,title:"\u5BFC\u51FA",width:"80%","destroy-on-close":"",onClose:e[4]||(e[4]=a=>p("close"))},{footer:o(()=>[i(C,{type:"primary",onClick:e[2]||(e[2]=a=>D(d.value))},{default:o(()=>[_(" \u63D0\u4EA4 ")]),_:1}),i(C,{onClick:e[3]||(e[3]=a=>p("close"))},{default:o(()=>[_(" \u5173\u95ED ")]),_:1})]),default:o(()=>[i(S,{ref_key:"formRef",ref:d,model:s.value,rules:A,"label-width":"120px","label-suffix":":"},{default:o(()=>[i(w,null,{default:o(()=>[i(O,{span:24},{default:o(()=>[i(I,{label:"\u5BFC\u51FA\u5B57\u6BB5",prop:"exportFields"},{default:o(()=>[i(h,{modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=a=>n.value=a),indeterminate:t.value,onChange:m},{default:o(()=>[_("\u5168\u9009")]),_:1},8,["modelValue","indeterminate"]),i(j,{modelValue:s.value.exportFields,"onUpdate:modelValue":e[1]||(e[1]=a=>s.value.exportFields=a),onChange:F},{default:o(()=>[(x(!0),B(M,null,L(c.value,(a,y)=>(x(),k(h,{key:y,label:y,style:{width:"180px"}},{default:o(()=>[_(R(a),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),$=P(G,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/components/exportFieldDialog.vue"]]);export{$ as default}; +var v=(g,b,u)=>new Promise((c,d)=>{var i=t=>{try{n(u.next(t))}catch(m){d(m)}},p=t=>{try{n(u.throw(t))}catch(m){d(m)}},n=t=>t.done?c(t.value):Promise.resolve(t.value).then(i,p);n((u=u.apply(g,b)).next())});import{_ as N,d as P,r as f,L as T,e as r,f as x,I as k,l as o,k as s,m as _,g as B,F as L,J as M,t as R}from"./index.096886c6.js";const E=P({name:"exportFieldDialog"}),G=Object.assign(E,{props:{visible:{type:Boolean,default:!1,required:!0}},emits:["close","exportProject"],setup(g,{emit:b}){const u=g,c=b,d=f(),i=f({}),p=f({id:"\u9879\u76EEID",projectName:"\u9879\u76EE\u540D\u79F0",areaCode:"\u884C\u653F\u533A\u5212\u7F16\u7801",area:"\u884C\u653F\u533A\u5212\u540D\u79F0",responsibleMan:"\u9879\u76EE\u8D1F\u8D23\u4EBA",responsibleManMobile:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",contactName:"\u9879\u76EE\u8054\u7CFB\u4EBA",contactPhone:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",higherSuperOrg:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D",higherSuperOrgCode:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID",superOrg:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8",superOrgCode:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8\u6D59\u653F\u9489ID",buildOrgName:"\u5EFA\u8BBE\u5355\u4F4D",buildOrgZheJiangGovDingId:"\u5EFA\u8BBE\u5355\u4F4D\u6D59\u653F\u9489ID",orgCreditCode:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",projectType:"\u9879\u76EE\u7C7B\u578B",isFirst:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA",relatedExistsApplication:"\u5173\u8054\u5E94\u7528",relatedExistsApplicationCode:"\u5173\u8054\u5E94\u7528IRS\u7F16\u7801",declareAmount:"\u7533\u62A5\u91D1\u989D",approvedTotalInvestmentIncrease:"\u6279\u590D\u91D1\u989D",budgetSource:"\u9884\u7B97\u6765\u6E90",projectYear:"\u9884\u7B97\u5E74\u5EA6",projectIntroduction:"\u9879\u76EE\u7B80\u4ECB",buildBasis:"\u7ACB\u9879\u4F9D\u636E",buildLevel:"\u5EFA\u8BBE\u5C42\u7EA7",developCode:"\u53D1\u6539\u7F16\u7801",financialCode:"\u8D22\u653F\u7F16\u7801",informationValidity:"\u4FE1\u606F\u662F\u5426\u6709\u6548",isDigitalReform:"\u662F\u5426\u6570\u5B57\u5316\u6539\u9769\u9879\u76EE",bizDomain:"\u7EFC\u5408\u5E94\u7528\u9886\u57DF",isCloud:"\u662F\u5426\u4E0A\u4E91",cloudType:"\u4E91\u7C7B\u578B",fourSystems:"\u56DB\u5927\u4F53\u7CFB",isTemporaryAugment:"\u662F\u5426\u4E34\u65F6\u589E\u8865",protectionLevel:"\u7B49\u4FDD\u7EA7\u522B",isSecretComments:"\u662F\u5426\u5BC6\u8BC4",businessNumber:"\u4E1A\u52A1\u7F16\u53F7",businessName:"\u4E1A\u52A1\u540D\u79F0",orgName:"\u5355\u4F4D\u540D\u79F0",softwareDevelopmentAmount:"\u8F6F\u4EF6\u5F00\u53D1",cloudHardwarePurchaseAmount:"\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u8D2D\u7F6E",thirdPartyAmount:"\u7B2C\u4E09\u65B9\u670D\u52A1",safetyInputTitle:"\u6295\u5165\u9879",safetyInputDescribe:"\u5185\u5BB9\u63CF\u8FF0",safetyInputAmount:"\u91D1\u989D",annualPlanAmount:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",annualPlanHaveAmount:"\u81EA\u6709\u8D44\u91D1",declareGovOwnFinanceAmount:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",declareGovSuperiorFinanceAmount:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",declareBankLendingAmount:"\u94F6\u884C\u8D37\u6B3E",declareOtherAmount:"\u5176\u4ED6\u8D44\u91D1",engineeringSpeedOne:"\u7B2C\u4E00\u5B63\u5EA6",engineeringSpeedTwo:"\u7B2C\u4E8C\u5B63\u5EA6",engineeringSpeedThree:"\u7B2C\u4E09\u5B63\u5EA6",engineeringSpeedFour:"\u7B2C\u56DB\u5B63\u5EA6",preliminaryPlanFile:"\u521D\u6B65\u65B9\u6848",supportingMaterialsFile:"\u4F50\u8BC1\u6750\u6599",projectRemarks:"\u5907\u6CE8"}),n=f(!1),t=f(!1),m=l=>{i.value.exportFields=l?Object.keys(p.value):[],t.value=!1},F=l=>{const e=l.length;n.value=e===Object.entries(p.value).length,t.value=e>0&&ev(this,null,function*(){!l||(yield l.validate(e=>v(this,null,function*(){e&&c("exportProject",i.value.exportFields)})))});return T(()=>u.visible,l=>v(this,null,function*(){l?console.log(l):(d.value.resetFields(),n.value=!1,t.value=!1)})),(l,e)=>{const h=r("el-checkbox"),O=r("el-checkbox-group"),S=r("el-form-item"),j=r("el-col"),D=r("el-row"),w=r("el-form"),C=r("el-button"),V=r("el-dialog");return x(),k(V,{"model-value":g.visible,title:"\u5BFC\u51FA",width:"80%","destroy-on-close":"",onClose:e[4]||(e[4]=a=>c("close"))},{footer:o(()=>[s(C,{type:"primary",onClick:e[2]||(e[2]=a=>I(d.value))},{default:o(()=>[_(" \u63D0\u4EA4 ")]),_:1}),s(C,{onClick:e[3]||(e[3]=a=>c("close"))},{default:o(()=>[_(" \u5173\u95ED ")]),_:1})]),default:o(()=>[s(w,{ref_key:"formRef",ref:d,model:i.value,rules:A,"label-width":"120px","label-suffix":":"},{default:o(()=>[s(D,null,{default:o(()=>[s(j,{span:24},{default:o(()=>[s(S,{label:"\u5BFC\u51FA\u5B57\u6BB5",prop:"exportFields"},{default:o(()=>[s(h,{modelValue:n.value,"onUpdate:modelValue":e[0]||(e[0]=a=>n.value=a),indeterminate:t.value,onChange:m},{default:o(()=>[_("\u5168\u9009")]),_:1},8,["modelValue","indeterminate"]),s(O,{modelValue:i.value.exportFields,"onUpdate:modelValue":e[1]||(e[1]=a=>i.value.exportFields=a),onChange:F},{default:o(()=>[(x(!0),B(L,null,M(p.value,(a,y)=>(x(),k(h,{key:y,label:y,style:{width:"180px"}},{default:o(()=>[_(R(a),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),q=N(G,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/components/exportFieldDialog.vue"]]);export{q as default}; diff --git a/lishui2/web/dist/assets/filesInfo.b6f27b63.js b/lishui2/web/dist/assets/filesInfo.549eaa38.js similarity index 83% rename from lishui2/web/dist/assets/filesInfo.b6f27b63.js rename to lishui2/web/dist/assets/filesInfo.549eaa38.js index 4c76a70..2a6fab5 100644 --- a/lishui2/web/dist/assets/filesInfo.b6f27b63.js +++ b/lishui2/web/dist/assets/filesInfo.549eaa38.js @@ -1 +1 @@ -import{_ as B,d as y,e as F,f as a,I as p,l as s,k as n,g as t,F as d,J as c,i as o,h as D,t as _}from"./index.11dc4694.js";import{A as m}from"./index.3731dd96.js";const b={class:"text-info text-12"},N={class:"text-info text-12"},g=y({name:"filesInfo"}),x=Object.assign(g,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(e){return(O,h)=>{const r=F("el-descriptions-item"),w=F("el-descriptions");return a(),p(w,{column:2,border:""},{default:s(()=>{var f,u,k;return[n(r,{label:"\u521D\u6B65\u65B9\u6848"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.preliminaryPlanFile&&JSON.parse(e.detailData.preliminaryPlanFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1}),o("v-if",!0),o("v-if",!0),o("v-if",!0),((f=e.detailData)==null||f.projectType,o("v-if",!0)),((u=e.detailData)==null?void 0:u.projectType)!=="03"?(a(),p(r,{key:4,label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.baseResearchReportFile&&JSON.parse(e.detailData.baseResearchReportFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"]),D("span",b,_(l.createOn||""),1)]))),128))]),_:1})):o("v-if",!0),e.detailData.constructionPlanFile&&((k=JSON.parse(e.detailData.constructionPlanFile))==null?void 0:k.length)?(a(),p(r,{key:5,label:"\u5EFA\u8BBE\u65B9\u6848"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.constructionPlanFile&&JSON.parse(e.detailData.constructionPlanFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"]),D("span",N,_(l.createOn||""),1)]))),128))]),_:1})):o("v-if",!0),n(r,{label:"\u5176\u4ED6\u9644\u4EF6"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.baseProjOtherFile&&JSON.parse(e.detailData.baseProjOtherFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1}),e.detailData.declareAmount>=1e3?(a(),p(r,{key:6,label:"\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23\u6587\u4EF6\uFF08\u5355\u4F4D\u4E09\u5B9A\u804C\u8D23\uFF09"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.mainAccusationDoc&&JSON.parse(e.detailData.mainAccusationDoc),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("v-if",!0)]}),_:1})}}}),A=B(x,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/filesInfo.vue"]]);export{A as default}; +import{_ as B,d as b,e as F,f as a,I as p,l as s,k as n,g as t,F as d,J as c,i as o,h as D,t as _}from"./index.096886c6.js";import{A as m}from"./index.e0e52f0f.js";const y={class:"text-info text-12"},N={class:"text-info text-12"},g=b({name:"filesInfo"}),x=Object.assign(g,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(e){return(O,h)=>{const r=F("el-descriptions-item"),w=F("el-descriptions");return a(),p(w,{column:2,border:""},{default:s(()=>{var f,u,k;return[n(r,{label:"\u521D\u6B65\u65B9\u6848"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.preliminaryPlanFile&&JSON.parse(e.detailData.preliminaryPlanFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1}),o("v-if",!0),o("v-if",!0),o("v-if",!0),((f=e.detailData)==null||f.projectType,o("v-if",!0)),((u=e.detailData)==null?void 0:u.projectType)!=="03"?(a(),p(r,{key:4,label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.baseResearchReportFile&&JSON.parse(e.detailData.baseResearchReportFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"]),D("span",y,_(l.createOn||""),1)]))),128))]),_:1})):o("v-if",!0),e.detailData.constructionPlanFile&&((k=JSON.parse(e.detailData.constructionPlanFile))==null?void 0:k.length)?(a(),p(r,{key:5,label:"\u5EFA\u8BBE\u65B9\u6848"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.constructionPlanFile&&JSON.parse(e.detailData.constructionPlanFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"]),D("span",N,_(l.createOn||""),1)]))),128))]),_:1})):o("v-if",!0),n(r,{label:"\u5176\u4ED6\u9644\u4EF6"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.baseProjOtherFile&&JSON.parse(e.detailData.baseProjOtherFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1}),e.detailData.declareAmount>=1e3?(a(),p(r,{key:6,label:"\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23\u6587\u4EF6\uFF08\u5355\u4F4D\u4E09\u5B9A\u804C\u8D23\uFF09"},{default:s(()=>[(a(!0),t(d,null,c(e.detailData.mainAccusationDoc&&JSON.parse(e.detailData.mainAccusationDoc),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(m,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("v-if",!0)]}),_:1})}}}),A=B(x,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/filesInfo.vue"]]);export{A as default}; diff --git a/lishui2/web/dist/assets/finalInfo.a5b3be7d.js b/lishui2/web/dist/assets/finalInfo.c7177429.js similarity index 83% rename from lishui2/web/dist/assets/finalInfo.a5b3be7d.js rename to lishui2/web/dist/assets/finalInfo.c7177429.js index 4990707..4f40325 100644 --- a/lishui2/web/dist/assets/finalInfo.a5b3be7d.js +++ b/lishui2/web/dist/assets/finalInfo.c7177429.js @@ -1 +1 @@ -var L=(C,V,p)=>new Promise((_,R)=>{var w=s=>{try{m(p.next(s))}catch(g){R(g)}},U=s=>{try{m(p.throw(s))}catch(g){R(g)}},m=s=>s.done?_(s.value):Promise.resolve(s.value).then(w,U);m((p=p.apply(C,V)).next())});import{_ as se,d as oe,r as y,o as ne,N as ce,e as b,f as d,I,l,h as r,k as t,g as k,F as N,J as P,m as n,t as c,i as T}from"./index.11dc4694.js";import{A as ie}from"./index.3731dd96.js";import{N as $}from"./index.90958342.js";import{i as F}from"./index.682be1ab.js";const re=r("div",{class:"collapse-title"},"\u5173\u8054\u7684\u5E94\u7528\u4FE1\u606F",-1),pe={class:"pb-24"},ue={class:"pl-24"},de={class:"font-semibold text-14 mb-16"},fe={class:"text-primary"},_e=r("p",{class:"font-semibold text-14"},"\u8D44\u6E90\u6982\u89C8",-1),me={class:"p-16"},be=r("p",{class:"mb-8"},"\u4E91\u8D44\u6E90\u4F7F\u7528\u60C5\u51B5",-1),ve=r("p",{class:"mb-8"},"\u6570\u636E\u4F7F\u7528\u60C5\u51B5",-1),he=r("p",{class:"mb-31"},null,-1),ge=r("p",{class:"mb-8"},"\u7EC4\u4EF6\u4F7F\u7528\u60C5\u51B5",-1),ye=r("p",{class:"mb-31"},null,-1),Ie=r("p",{class:"mb-8"},"\u4EA7\u751F\u6570\u636E",-1),Ae=r("p",{class:"mb-31"},null,-1),ke=r("p",{class:"mb-8"},"\u8BD5\u8FD0\u884C\u62A5\u544A",-1);const Ce=r("div",{class:"collapse-title"},"\u5B9E\u65BD\u4FE1\u606F",-1),Ve={class:"collapse-title"},Re=oe({name:"finalInfo"}),xe=Object.assign(Re,{props:{detailData:Object,isShowApp:{type:Boolean,default:!0}},setup(C){const V=["1","2","3","4","5","6","7"],p=C,_=y(),R=()=>L(this,null,function*(){var i,u,v,o;_.value={isCompletedLogCollection:(i=p.detailData)==null?void 0:i.isCompletedLogCollection,actualPerformanceIndicators:((u=p.detailData)==null?void 0:u.actualPerformanceIndicators)&&JSON.parse((v=p.detailData)==null?void 0:v.actualPerformanceIndicators)||[],finalAcceptanceMaterials:p.detailData.finalAcceptanceMaterials?JSON.parse(p.detailData.finalAcceptanceMaterials):void 0,finalIrsApps:(o=p.detailData)==null?void 0:o.finalIrsApps}}),w=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u6750\u6599\u540D\u79F0",key:"name",prop:"name"},{label:"\u662F\u5426\u6709\u6750\u6599",key:"isHave",slot:"isHave",width:100},{label:"\u9644\u4EF6/\u8BF4\u660E\uFF08\u652F\u6301\u6269\u5C55\u540D\uFF1A.doc .docx .pdf\uFF09",key:"files",slot:"files"}],U=[{label:"\u6838\u5FC3\u4E1A\u52A1",prop:"businessName",key:"businessName"},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",prop:"name",key:"name"},{label:"\u6570\u503C",prop:"nums",key:"nums"},{label:"\u5355\u4F4D",prop:"unit",key:"unit"}],m=y([{name:"\u5E94\u75281",status:"\u8FD0\u884C\u4E2D",memoryRate:11,cpuRate:33,cpRate:44},{name:"\u5E94\u75282",status:"\u8FD0\u884C\u4E2D",memoryRate:68,cpuRate:43,cpRate:30}]),s=y({});let g,B,S;const K=y(),W=y(),q=y(),M=(i,u,v)=>{const o=[u,"rgba(0, 0, 0, 0.1)"];return{legend:{show:!1},graphic:[{type:"text",left:"center",top:"48%",style:{text:`${i}%`,fill:"#333333",fontSize:16,fontWeight:"bold",fontFamily:"DINAlternate-Bold, DINAlternate"}},{type:"text",left:"center",bottom:"0",style:{text:`${v}`,fill:"#333333",fontSize:12}}],series:[{type:"pie",radius:["58%","75%"],center:["50%","50%"],avoidLabelOverlap:!1,data:[{value:i},{value:100-i}],itemStyle:{color:function(f){return o[f.dataIndex]}},labelLine:{show:!1}}]}},G=()=>{g||(g=F(K.value));const i=M(s.value.memoryRate,"#5ADE92","\u8FD1\u4E09\u4E2A\u6708\u5185\u5B58\u5E73\u5747\u4F7F\u7528\u7387");g.setOption(i)},Q=()=>{B||(B=F(W.value));const i=M(s.value.cpuRate,"#0967FD","\u8FD1\u4E09\u4E2A\u6708CPU\u5E73\u5747\u4F7F\u7528\u7387");B.setOption(i)},X=()=>{S||(S=F(q.value));const i=M(s.value.cpRate,"#ffae00","\u8FD1\u4E09\u4E2A\u6708\u78C1\u76D8\u5E73\u5747\u4F7F\u7528\u7387");S.setOption(i)},Y=()=>{G(),Q(),X()},O=y(0),Z=i=>{O.value=i,s.value=m.value[i],Y()},ee=i=>{console.log(i)};return ne(()=>L(this,null,function*(){var i;R(),m.value=((i=p==null?void 0:p.detailData.projectApplications)==null?void 0:i.map((u,v)=>({name:u.applicationName||u.relatedExistsApplication,status:"\u8FD0\u884C\u4E2D",finalIrsApps:_.value.finalIrsApps[v]})))||[],s.value=m.value[0],yield ce()})),(i,u)=>{const v=b("el-tab-pane"),o=b("el-descriptions-item"),f=b("el-descriptions"),h=b("el-col"),H=b("el-row"),ae=b("el-tabs"),j=b("el-collapse-item"),E=b("table-list"),le=b("el-collapse");return _.value?(d(),I(le,{key:0,modelValue:V,"onUpdate:modelValue":u[1]||(u[1]=x=>V=x),onChange:ee},{default:l(()=>{var x;return[C.isShowApp&&((x=m.value)==null?void 0:x.length)?(d(),I(j,{key:0,name:"1",class:"mb-16"},{title:l(()=>[re]),default:l(()=>[r("div",pe,[t(ae,{modelValue:O.value,"onUpdate:modelValue":u[0]||(u[0]=e=>O.value=e),"tab-position":"left",onTabChange:Z},{default:l(()=>[(d(!0),k(N,null,P(m.value,(e,a)=>(d(),I(v,{key:a,label:e.name,name:a},null,8,["label","name"]))),128)),r("div",ue,[r("p",de,[n("\u5E94\u7528\u72B6\u6001\uFF1A"),r("span",fe,c(s.value.status),1)]),_e,r("div",me,[t(H,{class:"mb-16"},{default:l(()=>[t(h,{span:12},{default:l(()=>[be,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4E91\u8D44\u6E90\u5B9E\u4F8B\u4F7F\u7528\u6570"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.cloudResourceUsage.instancesNum),1)]}),_:1}),t(o,{label:"\u4E91\u8D44\u6E90\u4EA7\u54C1"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1}),t(o,{label:"\u4E91\u8D44\u6E90\u5229\u7528\u7387"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.cloudResourceUsage.utilizationRate),1)]}),_:1})]),_:1})]),_:1})]),_:1}),t(H,{gutter:24},{default:l(()=>[t(h,{span:12,class:"mb-16"},{default:l(()=>[ve,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u6570\u636E\u5171\u4EAB\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedApplicationVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u5171\u4EAB\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedUsage),1)]}),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[he,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u534F\u540C\u63A5\u53E3\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.collaborativeInterfaceCallVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u5171\u4EAB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedInterfaceCallVolume),1)]}),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[ge,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u7EC4\u4EF6\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.applicationVolume),1)]}),_:1}),t(o,{label:"\u7EC4\u4EF6\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.callVolume),1)]}),_:1}),t(o,{label:"\u7EC4\u4EF6\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.useVolume),1)]}),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[ye,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u7EDF\u4E00\u7EC4\u4EF6\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.unifyCallolVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u7EC4\u4EF6"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1}),t(o,{label:"\u4F7F\u7528\u5F3A\u5236\u7C7B\u7EC4\u4EF6"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[Ie,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4EA7\u751F\u6570\u636E\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.volume),1)]}),_:1}),t(o,{label:"\u4EA7\u751F\u6570\u636E\u5171\u4EAB\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.sharedUseVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u63A5\u53E3\u88AB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.dataInterfaceCallsVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u6279\u91CF\u6570\u636E"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[Ae,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4EA7\u751F\u6570\u636E\u5171\u4EAB\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.sharedApplicationVolume),1)]}),_:1}),t(o,{label:"\u4EA7\u751F\u6570\u636E\u5BA1\u6279\u901A\u8FC7\u7387"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.approvalPassRate),1)]}),_:1}),t(o,{label:"\u534F\u540C\u63A5\u53E3\u88AB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.collaborativeInterfaceCallVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u5171\u4EAB\u63A5\u53E3"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1})]),_:1})]),_:1}),t(h,{span:12},{default:l(()=>[ke,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u8BD5\u8FD0\u884C\u62A5\u544A\u901A\u8FC7\u7387"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.operationReport.passRate),1)]}),_:1})]),_:1})]),_:1})]),_:1})]),T("v-if",!0)])]),_:1},8,["modelValue"])])]),_:1})):T("v-if",!0),t(j,{name:"7",class:"mb-16"},{title:l(()=>[Ce]),default:l(()=>{var e,a;return[(a=(e=_.value)==null?void 0:e.actualPerformanceIndicators)!=null&&a.length?(d(),I(f,{key:0,column:2,border:"",class:"mb-8"},{default:l(()=>[t(o,{label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6",span:2},{default:l(()=>[n(c(_.value.isCompletedLogCollection?"\u662F":"\u5426"),1)]),_:1}),t(o,{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",span:2},{default:l(()=>[t(E,{pagination:!1,style:{width:"100%"},column:U,data:_.value.actualPerformanceIndicators,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})):(d(),I($,{key:1}))]}),_:1}),(d(!0),k(N,null,P(_.value.finalAcceptanceMaterials,(e,a)=>(d(),I(j,{key:e.title,name:a+2+"",class:"mb-16"},{title:l(()=>[r("div",Ve,c(e.title),1)]),default:l(()=>[t(E,{ref_for:!0,ref:"tableListRef",column:w,data:e.data,pagination:!1,"empty-temp":!1},{isHave:l(({scope:A})=>[r("span",null,c(A.row.isHave?"\u662F":"\u5426"),1)]),files:l(({scope:A})=>[A.row.isHave?(d(!0),k(N,{key:0},P(A.row.files,(D,te)=>{var J,z;return d(),k("p",{key:te,class:"mb-4"},[t(ie,{"file-name":D.name,"file-id":(z=(J=D==null?void 0:D.response)==null?void 0:J.data)==null?void 0:z.id},null,8,["file-name","file-id"])])}),128)):(d(),k(N,{key:1},[n(c(A.row.reason),1)],64))]),_:2},1032,["data"])]),_:2},1032,["name"]))),128))]}),_:1})):(d(),I($,{key:1}))}}}),Se=se(xe,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/finalInfo.vue"]]);export{Se as default}; +var j=(C,V,p)=>new Promise((_,R)=>{var w=s=>{try{m(p.next(s))}catch(g){R(g)}},U=s=>{try{m(p.throw(s))}catch(g){R(g)}},m=s=>s.done?_(s.value):Promise.resolve(s.value).then(w,U);m((p=p.apply(C,V)).next())});import{_ as se,d as oe,r as y,o as ne,N as ce,e as b,f as d,I,l,h as r,k as t,g as k,F as D,J as P,m as n,t as c,i as T}from"./index.096886c6.js";import{A as ie}from"./index.e0e52f0f.js";import{N as W}from"./index.9e3741ad.js";import{i as F}from"./index.2cfb8ed3.js";const re=r("div",{class:"collapse-title"},"\u5173\u8054\u7684\u5E94\u7528\u4FE1\u606F",-1),pe={class:"pb-24"},ue={class:"pl-24"},de={class:"font-semibold text-14 mb-16"},fe={class:"text-primary"},_e=r("p",{class:"font-semibold text-14"},"\u8D44\u6E90\u6982\u89C8",-1),me={class:"p-16"},be=r("p",{class:"mb-8"},"\u4E91\u8D44\u6E90\u4F7F\u7528\u60C5\u51B5",-1),ve=r("p",{class:"mb-8"},"\u6570\u636E\u4F7F\u7528\u60C5\u51B5",-1),he=r("p",{class:"mb-31"},null,-1),ge=r("p",{class:"mb-8"},"\u7EC4\u4EF6\u4F7F\u7528\u60C5\u51B5",-1),ye=r("p",{class:"mb-31"},null,-1),Ie=r("p",{class:"mb-8"},"\u4EA7\u751F\u6570\u636E",-1),Ae=r("p",{class:"mb-31"},null,-1),ke=r("p",{class:"mb-8"},"\u8BD5\u8FD0\u884C\u62A5\u544A",-1);const Ce=r("div",{class:"collapse-title"},"\u5B9E\u65BD\u4FE1\u606F",-1),Ve={class:"collapse-title"},Re=oe({name:"finalInfo"}),xe=Object.assign(Re,{props:{detailData:Object,isShowApp:{type:Boolean,default:!0}},setup(C){const V=["1","2","3","4","5","6","7"],p=C,_=y(),R=()=>j(this,null,function*(){var i,u,v,o;_.value={isCompletedLogCollection:(i=p.detailData)==null?void 0:i.isCompletedLogCollection,actualPerformanceIndicators:((u=p.detailData)==null?void 0:u.actualPerformanceIndicators)&&JSON.parse((v=p.detailData)==null?void 0:v.actualPerformanceIndicators)||[],finalAcceptanceMaterials:p.detailData.finalAcceptanceMaterials?JSON.parse(p.detailData.finalAcceptanceMaterials):void 0,finalIrsApps:(o=p.detailData)==null?void 0:o.finalIrsApps}}),w=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u6750\u6599\u540D\u79F0",key:"name",prop:"name"},{label:"\u662F\u5426\u6709\u6750\u6599",key:"isHave",slot:"isHave",width:100},{label:"\u9644\u4EF6/\u8BF4\u660E\uFF08\u652F\u6301\u6269\u5C55\u540D\uFF1A.doc .docx .pdf\uFF09",key:"files",slot:"files"}],U=[{label:"\u6838\u5FC3\u4E1A\u52A1",prop:"businessName",key:"businessName"},{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",prop:"name",key:"name"},{label:"\u6570\u503C",prop:"nums",key:"nums"},{label:"\u5355\u4F4D",prop:"unit",key:"unit"}],m=y([{name:"\u5E94\u75281",status:"\u8FD0\u884C\u4E2D",memoryRate:11,cpuRate:33,cpRate:44},{name:"\u5E94\u75282",status:"\u8FD0\u884C\u4E2D",memoryRate:68,cpuRate:43,cpRate:30}]),s=y({});let g,B,S;const $=y(),q=y(),G=y(),O=(i,u,v)=>{const o=[u,"rgba(0, 0, 0, 0.1)"];return{legend:{show:!1},graphic:[{type:"text",left:"center",top:"48%",style:{text:`${i}%`,fill:"#333333",fontSize:16,fontWeight:"bold",fontFamily:"DINAlternate-Bold, DINAlternate"}},{type:"text",left:"center",bottom:"0",style:{text:`${v}`,fill:"#333333",fontSize:12}}],series:[{type:"pie",radius:["58%","75%"],center:["50%","50%"],avoidLabelOverlap:!1,data:[{value:i},{value:100-i}],itemStyle:{color:function(f){return o[f.dataIndex]}},labelLine:{show:!1}}]}},K=()=>{g||(g=F($.value));const i=O(s.value.memoryRate,"#5ADE92","\u8FD1\u4E09\u4E2A\u6708\u5185\u5B58\u5E73\u5747\u4F7F\u7528\u7387");g.setOption(i)},Q=()=>{B||(B=F(q.value));const i=O(s.value.cpuRate,"#0967FD","\u8FD1\u4E09\u4E2A\u6708CPU\u5E73\u5747\u4F7F\u7528\u7387");B.setOption(i)},X=()=>{S||(S=F(G.value));const i=O(s.value.cpRate,"#ffae00","\u8FD1\u4E09\u4E2A\u6708\u78C1\u76D8\u5E73\u5747\u4F7F\u7528\u7387");S.setOption(i)},Y=()=>{K(),Q(),X()},L=y(0),Z=i=>{L.value=i,s.value=m.value[i],Y()},ee=i=>{console.log(i)};return ne(()=>j(this,null,function*(){var i;R(),m.value=((i=p==null?void 0:p.detailData.projectApplications)==null?void 0:i.map((u,v)=>({name:u.applicationName||u.relatedExistsApplication,status:"\u8FD0\u884C\u4E2D",finalIrsApps:_.value.finalIrsApps[v]})))||[],s.value=m.value[0],yield ce()})),(i,u)=>{const v=b("el-tab-pane"),o=b("el-descriptions-item"),f=b("el-descriptions"),h=b("el-col"),H=b("el-row"),ae=b("el-tabs"),M=b("el-collapse-item"),E=b("table-list"),le=b("el-collapse");return _.value?(d(),I(le,{key:0,modelValue:V,"onUpdate:modelValue":u[1]||(u[1]=x=>V=x),onChange:ee},{default:l(()=>{var x;return[C.isShowApp&&((x=m.value)==null?void 0:x.length)?(d(),I(M,{key:0,name:"1",class:"mb-16"},{title:l(()=>[re]),default:l(()=>[r("div",pe,[t(ae,{modelValue:L.value,"onUpdate:modelValue":u[0]||(u[0]=e=>L.value=e),"tab-position":"left",onTabChange:Z},{default:l(()=>[(d(!0),k(D,null,P(m.value,(e,a)=>(d(),I(v,{key:a,label:e.name,name:a},null,8,["label","name"]))),128)),r("div",ue,[r("p",de,[n("\u5E94\u7528\u72B6\u6001\uFF1A"),r("span",fe,c(s.value.status),1)]),_e,r("div",me,[t(H,{class:"mb-16"},{default:l(()=>[t(h,{span:12},{default:l(()=>[be,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4E91\u8D44\u6E90\u5B9E\u4F8B\u4F7F\u7528\u6570"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.cloudResourceUsage.instancesNum),1)]}),_:1}),t(o,{label:"\u4E91\u8D44\u6E90\u4EA7\u54C1"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1}),t(o,{label:"\u4E91\u8D44\u6E90\u5229\u7528\u7387"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.cloudResourceUsage.utilizationRate),1)]}),_:1})]),_:1})]),_:1})]),_:1}),t(H,{gutter:24},{default:l(()=>[t(h,{span:12,class:"mb-16"},{default:l(()=>[ve,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u6570\u636E\u5171\u4EAB\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedApplicationVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u5171\u4EAB\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedUsage),1)]}),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[he,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u534F\u540C\u63A5\u53E3\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.collaborativeInterfaceCallVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u5171\u4EAB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedInterfaceCallVolume),1)]}),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[ge,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u7EC4\u4EF6\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.applicationVolume),1)]}),_:1}),t(o,{label:"\u7EC4\u4EF6\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.callVolume),1)]}),_:1}),t(o,{label:"\u7EC4\u4EF6\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.useVolume),1)]}),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[ye,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u7EDF\u4E00\u7EC4\u4EF6\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.unifyCallolVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u7EC4\u4EF6"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1}),t(o,{label:"\u4F7F\u7528\u5F3A\u5236\u7C7B\u7EC4\u4EF6"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[Ie,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4EA7\u751F\u6570\u636E\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.volume),1)]}),_:1}),t(o,{label:"\u4EA7\u751F\u6570\u636E\u5171\u4EAB\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.sharedUseVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u63A5\u53E3\u88AB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.dataInterfaceCallsVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u6279\u91CF\u6570\u636E"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1})]),_:1})]),_:1}),t(h,{span:12,class:"mb-16"},{default:l(()=>[Ae,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4EA7\u751F\u6570\u636E\u5171\u4EAB\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.sharedApplicationVolume),1)]}),_:1}),t(o,{label:"\u4EA7\u751F\u6570\u636E\u5BA1\u6279\u901A\u8FC7\u7387"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.approvalPassRate),1)]}),_:1}),t(o,{label:"\u534F\u540C\u63A5\u53E3\u88AB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.collaborativeInterfaceCallVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u5171\u4EAB\u63A5\u53E3"},{default:l(()=>[n(" \u6682\u65E0 ")]),_:1})]),_:1})]),_:1}),t(h,{span:12},{default:l(()=>[ke,t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u8BD5\u8FD0\u884C\u62A5\u544A\u901A\u8FC7\u7387"},{default:l(()=>{var e,a;return[n(c((a=(e=s.value)==null?void 0:e.finalIrsApps)==null?void 0:a.operationReport.passRate),1)]}),_:1})]),_:1})]),_:1})]),_:1})]),T("v-if",!0)])]),_:1},8,["modelValue"])])]),_:1})):T("v-if",!0),t(M,{name:"7",class:"mb-16"},{title:l(()=>[Ce]),default:l(()=>{var e,a;return[(a=(e=_.value)==null?void 0:e.actualPerformanceIndicators)!=null&&a.length?(d(),I(f,{key:0,column:2,border:"",class:"mb-8"},{default:l(()=>[t(o,{label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6",span:2},{default:l(()=>[n(c(_.value.isCompletedLogCollection?"\u662F":"\u5426"),1)]),_:1}),t(o,{label:"\u5B9E\u9645\u6210\u6548\u6307\u6807",span:2},{default:l(()=>[t(E,{pagination:!1,style:{width:"100%"},column:U,data:_.value.actualPerformanceIndicators,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})):(d(),I(W,{key:1}))]}),_:1}),(d(!0),k(D,null,P(_.value.finalAcceptanceMaterials,(e,a)=>(d(),I(M,{key:e.title,name:a+2+"",class:"mb-16"},{title:l(()=>[r("div",Ve,c(e.title),1)]),default:l(()=>[t(E,{ref_for:!0,ref:"tableListRef",column:w,data:e.data,pagination:!1,"empty-temp":!1},{isHave:l(({scope:A})=>[r("span",null,c(A.row.isHave?"\u662F":"\u5426"),1)]),files:l(({scope:A})=>[A.row.isHave?(d(!0),k(D,{key:0},P(A.row.files,(N,te)=>{var z,J;return d(),k("p",{key:te,class:"mb-4"},[t(ie,{"file-name":N.name,"file-id":(J=(z=N==null?void 0:N.response)==null?void 0:z.data)==null?void 0:J.id},null,8,["file-name","file-id"])])}),128)):(d(),k(D,{key:1},[n(c(A.row.reason),1)],64))]),_:2},1032,["data"])]),_:2},1032,["name"]))),128))]}),_:1})):(d(),I(W,{key:1}))}}}),Se=se(xe,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/finalInfo.vue"]]);export{Se as default}; diff --git a/lishui2/web/dist/assets/finalInspectionDeclare.67654f3e.js b/lishui2/web/dist/assets/finalInspectionDeclare.f52ca976.js similarity index 69% rename from lishui2/web/dist/assets/finalInspectionDeclare.67654f3e.js rename to lishui2/web/dist/assets/finalInspectionDeclare.f52ca976.js index 8bf554b..3f35dc2 100644 --- a/lishui2/web/dist/assets/finalInspectionDeclare.67654f3e.js +++ b/lishui2/web/dist/assets/finalInspectionDeclare.f52ca976.js @@ -1 +1 @@ -import{z as a}from"./index.11dc4694.js";const e=t=>a.get("/api/v1/declared/final-acc/project-list",{params:t}),i=(t,s)=>a.post(`/api/v1/declared/final-acc/${t===2?"re":""}start-process`,s);export{e as l,i as s}; +import{z as a}from"./index.096886c6.js";const e=t=>a.get("/api/v1/declared/final-acc/project-list",{params:t}),i=(t,s)=>a.post(`/api/v1/declared/final-acc/${t===2?"re":""}start-process`,s);export{e as l,i as s}; diff --git a/lishui2/web/dist/assets/financialCode.f23e3889.js b/lishui2/web/dist/assets/financialCode.99853919.js similarity index 50% rename from lishui2/web/dist/assets/financialCode.f23e3889.js rename to lishui2/web/dist/assets/financialCode.99853919.js index 3542d80..88ac4d7 100644 --- a/lishui2/web/dist/assets/financialCode.f23e3889.js +++ b/lishui2/web/dist/assets/financialCode.99853919.js @@ -1 +1 @@ -var b=Object.defineProperty,z=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var h=(t,e,o)=>e in t?b(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,v=(t,e)=>{for(var o in e||(e={}))j.call(e,o)&&h(t,o,e[o]);if(y)for(var o of y(e))B.call(e,o)&&h(t,o,e[o]);return t},w=(t,e)=>z(t,N(e));var p=(t,e,o)=>new Promise((m,r)=>{var f=n=>{try{s(o.next(n))}catch(a){r(a)}},_=n=>{try{s(o.throw(n))}catch(a){r(a)}},s=n=>n.done?m(n.value):Promise.resolve(n.value).then(f,_);s((o=o.apply(t,e)).next())});import{_ as $,d as q,u as M,r as x,o as R,e as u,f as U,I as D,l as c,k as d,i as F,m as I,h as A,p as E}from"./index.11dc4694.js";import{c as J,f as K}from"./unitManage.315d6884.js";const O=A("span",{class:"text-info ml-16"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u5370\u7AE0\u6388\u6743\u5E73\u53F0\uFF1Ahttps://zjyz.zjzwfw.gov.cn/main ",-1),P=q({name:"sealConfiguration"}),T=Object.assign(P,{props:{orgCode:{type:String,default:""}},setup(t){const e=M(),{proxy:o}=E(),m=t,r=x({}),f=x(),_=(a,l,i)=>{if(l==="")return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8D22\u653F\u7F16\u7801\uFF1A6\u4F4D\u7EAF\u6570\u5B57"));if(/^\d{6}$/.test(l))i();else return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8D22\u653F\u7F16\u7801\uFF1A6\u4F4D\u7EAF\u6570\u5B57"))},s={sealSn:[{required:!0,message:"\u8BF7\u8F93\u5165\u5370\u7AE0\u7F16\u7801"}],fiscalCode:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D22\u653F\u7F16\u7801"},{validator:_,trigger:"blur"}]},n=a=>p(this,null,function*(){!a||(yield a.validate(l=>p(this,null,function*(){l&&(yield K(w(v({},r.value),{organizationCode:m.orgCode||e.query.id})),o.$message.success("\u63D0\u4EA4\u6210\u529F"))})))});return R(()=>p(this,null,function*(){const a=yield J({organizationCode:m.orgCode||e.query.id});r.value=v({},a.data)})),(a,l)=>{const i=u("el-input"),g=u("el-form-item"),V=u("el-button"),k=u("el-form"),S=u("el-card");return U(),D(S,{shadow:"never"},{default:c(()=>[d(k,{ref_key:"formRef",ref:f,"label-position":"right",model:r.value,rules:s},{default:c(()=>[d(g,{label:"\u5370\u7AE0\u7F16\u7801",prop:"sealSn"},{default:c(()=>[d(i,{modelValue:r.value.sealSn,"onUpdate:modelValue":l[0]||(l[0]=C=>r.value.sealSn=C),style:{width:"200px"},placeholder:"\u8BF7\u8F93\u5165",maxlength:20},null,8,["modelValue"]),O]),_:1}),F("v-if",!0),d(g,null,{default:c(()=>[d(V,{type:"primary",onClick:l[2]||(l[2]=C=>n(f.value))},{default:c(()=>[I("\u63D0\u4EA4")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})}}}),Q=$(T,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/systemManage/unitManage/unitConfiguration/components/financialCode.vue"]]);export{Q as default}; +var b=Object.defineProperty,z=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var h=(t,e,o)=>e in t?b(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,v=(t,e)=>{for(var o in e||(e={}))N.call(e,o)&&h(t,o,e[o]);if(y)for(var o of y(e))$.call(e,o)&&h(t,o,e[o]);return t},w=(t,e)=>z(t,B(e));var p=(t,e,o)=>new Promise((m,r)=>{var f=n=>{try{s(o.next(n))}catch(a){r(a)}},_=n=>{try{s(o.throw(n))}catch(a){r(a)}},s=n=>n.done?m(n.value):Promise.resolve(n.value).then(f,_);s((o=o.apply(t,e)).next())});import{_ as j,d as q,u as M,r as x,o as R,e as u,f as U,I as F,l as d,k as c,i as I,m as A,h as E,p as O}from"./index.096886c6.js";import{c as T,f as W}from"./unitManage.e1672486.js";const D=E("span",{class:"text-info ml-16"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u5370\u7AE0\u6388\u6743\u5E73\u53F0\uFF1Ahttps://zjyz.zjzwfw.gov.cn/main ",-1),G=q({name:"sealConfiguration"}),H=Object.assign(G,{props:{orgCode:{type:String,default:""}},setup(t){const e=M(),{proxy:o}=O(),m=t,r=x({}),f=x(),_=(a,l,i)=>{if(l==="")return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8D22\u653F\u7F16\u7801\uFF1A6\u4F4D\u7EAF\u6570\u5B57"));if(/^\d{6}$/.test(l))i();else return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u8D22\u653F\u7F16\u7801\uFF1A6\u4F4D\u7EAF\u6570\u5B57"))},s={sealSn:[{required:!0,message:"\u8BF7\u8F93\u5165\u5370\u7AE0\u7F16\u7801"}],fiscalCode:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D22\u653F\u7F16\u7801"},{validator:_,trigger:"blur"}]},n=a=>p(this,null,function*(){!a||(yield a.validate(l=>p(this,null,function*(){l&&(yield W(w(v({},r.value),{organizationCode:m.orgCode||e.query.id})),o.$message.success("\u63D0\u4EA4\u6210\u529F"))})))});return R(()=>p(this,null,function*(){const a=yield T({organizationCode:m.orgCode||e.query.id});r.value=v({},a.data)})),(a,l)=>{const i=u("el-input"),g=u("el-form-item"),V=u("el-button"),k=u("el-form"),S=u("el-card");return U(),F(S,{shadow:"never"},{default:d(()=>[c(k,{ref_key:"formRef",ref:f,"label-position":"right",model:r.value,rules:s},{default:d(()=>[c(g,{label:"\u5370\u7AE0\u7F16\u7801",prop:"sealSn"},{default:d(()=>[c(i,{modelValue:r.value.sealSn,"onUpdate:modelValue":l[0]||(l[0]=C=>r.value.sealSn=C),style:{width:"200px"},placeholder:"\u8BF7\u8F93\u5165",maxlength:20},null,8,["modelValue"]),D]),_:1}),I("v-if",!0),c(g,null,{default:d(()=>[c(V,{type:"primary",onClick:l[2]||(l[2]=C=>n(f.value))},{default:d(()=>[A("\u63D0\u4EA4")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})}}}),P=j(H,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/systemManage/unitManage/unitConfiguration/components/financialCode.vue"]]);export{P as default}; diff --git a/lishui2/web/dist/assets/flowConfiguration.5e41a159.js b/lishui2/web/dist/assets/flowConfiguration.f4944ba7.js similarity index 90% rename from lishui2/web/dist/assets/flowConfiguration.5e41a159.js rename to lishui2/web/dist/assets/flowConfiguration.f4944ba7.js index 2cd2bc2..c5cc2aa 100644 --- a/lishui2/web/dist/assets/flowConfiguration.5e41a159.js +++ b/lishui2/web/dist/assets/flowConfiguration.f4944ba7.js @@ -1 +1 @@ -import{z as o}from"./index.11dc4694.js";const p=s=>o.get(`/api/v1/sys/procdef/detail/${s.formId}`),t=s=>o.get("/api/v1/organization/procdef/list",{params:s}),a=s=>o.get("/api/v1/sys/procdef/list",{params:s}),c=s=>o.put(`/api/v1/sys/procdef/${s.formId}/active/${s.state}`,s),r=s=>o.post("/api/v1/organization/procdef/save",s),i=s=>o.post("/api/v1/sys/procdef/save",s),n=s=>o.post(`/api/v1/sys/procdef/deploy/${s}`),f=s=>o.put(`/api/v1/organization/procdef/enable/${s.processDefId}`,s),d=s=>o.put(`/api/v1/organization/procdef/disable/${s.processDefId}`,s),v=s=>o.post(`/api/v1/organization/procdef/deploy/${s.processDefId}`,s);export{t as a,p as b,n as c,c as d,f as e,d as f,r as g,v as h,a as p,i as s}; +import{z as o}from"./index.096886c6.js";const p=s=>o.get(`/api/v1/sys/procdef/detail/${s.formId}`),t=s=>o.get("/api/v1/organization/procdef/list",{params:s}),a=s=>o.get("/api/v1/sys/procdef/list",{params:s}),c=s=>o.put(`/api/v1/sys/procdef/${s.formId}/active/${s.state}`,s),r=s=>o.post("/api/v1/organization/procdef/save",s),i=s=>o.post("/api/v1/sys/procdef/save",s),n=s=>o.post(`/api/v1/sys/procdef/deploy/${s}`),f=s=>o.put(`/api/v1/organization/procdef/enable/${s.processDefId}`,s),d=s=>o.put(`/api/v1/organization/procdef/disable/${s.processDefId}`,s),v=s=>o.post(`/api/v1/organization/procdef/deploy/${s.processDefId}`,s);export{t as a,p as b,n as c,c as d,f as e,d as f,r as g,v as h,a as p,i as s}; diff --git a/lishui2/web/dist/assets/flowList.9878d3c0.js b/lishui2/web/dist/assets/flowList.9878d3c0.js new file mode 100644 index 0000000..7970b4e --- /dev/null +++ b/lishui2/web/dist/assets/flowList.9878d3c0.js @@ -0,0 +1 @@ +var Z=Object.defineProperty,ee=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var B=(d,a,l)=>a in d?Z(d,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):d[a]=l,C=(d,a)=>{for(var l in a||(a={}))te.call(a,l)&&B(d,l,a[l]);if(T)for(var l of T(a))le.call(a,l)&&B(d,l,a[l]);return d},E=(d,a)=>ee(d,ae(a));var f=(d,a,l)=>new Promise((g,v)=>{var h=i=>{try{m(l.next(i))}catch(y){v(y)}},D=i=>{try{m(l.throw(i))}catch(y){v(y)}},m=i=>i.done?g(i.value):Promise.resolve(i.value).then(h,D);m((l=l.apply(d,a)).next())});import{_ as oe,d as se,A as ne,u as re,r as p,b as ie,a3 as I,o as de,e as c,f as S,g as U,k as s,l as n,h as b,m as w,t as V,F as q,J as ce,I as ue,X as pe,p as fe}from"./index.096886c6.js";import{a as me,e as _e,f as be,g as ge}from"./flowConfiguration.f4944ba7.js";import{d as ve,p as ye}from"./flowPathConfiguration.8a72a7e1.js";const we={class:"flexRight mb-16"},De=["onClick"],ke=["onClick"],Ce=["onClick"],Ee=["onClick"],he=se({name:"flowList"}),xe=Object.assign(he,{setup(d){const{proxy:a}=fe(),l=ne(),g=re(),v=p(),h=ie([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u6D41\u7A0B\u540D\u79F0",key:"processDefName",prop:"processDefName"},{label:"\u6D41\u7A0B\u7C7B\u578B",key:"type",width:"200",render:e=>I("span",e.type==="DEFAULT"?"\u9ED8\u8BA4\u6D41\u7A0B":e.type==="SEAL"?"\u76D6\u7AE0\u6D41\u7A0B":e.type==="JOINT_REVIEW"?"\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u6D41\u7A0B":"\u5176\u4ED6\u6D41\u7A0B")},{label:"\u72B6\u6001",key:"isStop",width:"80",render:e=>[I("span",{class:["dot mr-4",`${e.isStop?"bg-danger":"bg-success"}`]}),I("span",{class:e.isStop?"text-danger":"text-success"},e.isStop?"\u7981\u7528":"\u542F\u7528")]},{label:"\u521B\u5EFA\u65F6\u95F4",key:"created",prop:"created",width:"240"},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"300"}]),D=p([]),m=p(0),i=(...t)=>f(this,[...t],function*(e=v.value.pageParams){const u=yield me(E(C({},e),{orgCode:g.query.id}));m.value=u.data.total,D.value=u.data.records}),y=e=>{l.push({name:"unitConfigEdit",query:{processDefId:e.processDefId,orgCode:g.query.id}})},A=e=>{a.$messageBox.confirm("\u662F\u5426\u5220\u9664\u8BE5\u6D41\u7A0B?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>f(this,null,function*(){yield ve({processDefId:e.processDefId}),a.$message.success("\u5220\u9664\u6210\u529F\uFF01"),i()}))},O=e=>{const t=e.isStop?"\u542F\u7528":"\u7981\u7528";a.$messageBox.confirm(`\u662F\u5426${t}\u8BE5\u6D41\u7A0B?`,"\u63D0\u793A\uFF01",{type:"warning"}).then(()=>f(this,null,function*(){t==="\u542F\u7528"?yield _e({processDefId:e.processDefId}):yield be({processDefId:e.processDefId}),a.$message.success(`${t}\u6210\u529F\uFF01`),i()}))},k=p(!1),F=p(),$=e=>f(this,null,function*(){if(k.value=!0,F.value=e?"\u7F16\u8F91\u4FE1\u606F":"\u65B0\u589E\u6D41\u7A0B",e&&e.processDefId){const t=yield ye({processDefId:e.processDefId});o.value=E(C({},t.data),{isEnable:!t.data.isStop})}else o.value={isEnable:!0,type:"DEFAULT"}}),N=p(),M=p({DEFAULT:"\u9ED8\u8BA4\u6D41\u7A0B",SEAL:"\u76D6\u7AE0\u6D41\u7A0B",OTHER:"\u5176\u4ED6\u6D41\u7A0B",JOINT_REVIEW:"\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u6D41\u7A0B"}),J={processDefName:[{required:!0,message:"\u8BF7\u586B\u5199\u6D41\u7A0B\u540D\u79F0",trigger:"blur"}],type:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D41\u7A0B\u7C7B\u578B",trigger:"change"}]},o=p({}),j=e=>f(this,null,function*(){!e||(yield e.validate(t=>f(this,null,function*(){if(t){const u=E(C({},o.value),{process:o.value.process?JSON.parse(o.value.process):void 0,orgCode:g.query.id,isStop:!o.value.isEnable,isEnable:void 0});yield ge(u),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),i(),k.value=!1,o.value={}}})))}),L=()=>{k.value=!1};return de(()=>{i()}),(e,t)=>{const u=c("el-button"),W=c("table-list"),z=c("el-card"),P=c("el-input"),x=c("el-form-item"),R=c("el-col"),G=c("el-radio"),H=c("el-radio-group"),X=c("el-row"),K=c("el-switch"),Q=c("el-form"),Y=c("el-dialog");return S(),U(q,null,[s(z,{class:"box-card"},{default:n(()=>[b("div",we,[s(u,{type:"primary",icon:"Plus",size:"small",onClick:t[0]||(t[0]=()=>$())},{default:n(()=>[w(" \u589E\u52A0\u6D41\u7A0B ")]),_:1})]),s(W,{ref_key:"tableListRef",ref:v,column:h,data:D.value,total:m.value,onGetTableData:i},{action:n(({scope:r})=>[b("a",{onClick:_=>$(r.row)},"\u7F16\u8F91\u4FE1\u606F",8,De),b("a",{onClick:_=>y(r.row)},"\u7F16\u8F91\u6D41\u7A0B",8,ke),b("a",{onClick:_=>O(r.row)},V(r.row.isStop?"\u542F\u7528":"\u7981\u7528"),9,Ce),b("a",{class:"text-danger",onClick:_=>A(r.row)},"\u5220\u9664",8,Ee)]),_:1},8,["column","data","total"])]),_:1}),s(Y,{"model-value":k.value,title:F.value,width:"600px",onClose:L},{footer:n(()=>[s(u,{type:"primary",onClick:t[4]||(t[4]=r=>j(N.value))},{default:n(()=>[w(" \u63D0\u4EA4 ")]),_:1}),s(u,{onClick:L},{default:n(()=>[w(" \u5173\u95ED ")]),_:1})]),default:n(()=>[s(Q,{ref_key:"addFormRef",ref:N,model:o.value,rules:J,"label-width":"90px","label-suffix":":"},{default:n(()=>[s(X,null,{default:n(()=>[s(R,{span:24},{default:n(()=>[s(x,{label:"\u6D41\u7A0B\u540D\u79F0",prop:"processDefName"},{default:n(()=>[s(P,{modelValue:o.value.processDefName,"onUpdate:modelValue":t[1]||(t[1]=r=>o.value.processDefName=r),placeholder:"\u8BF7\u586B\u5199 "},null,8,["modelValue"])]),_:1})]),_:1}),s(R,{span:24},{default:n(()=>[s(x,{label:"\u6D41\u7A0B\u7C7B\u578B",prop:"type"},{default:n(()=>[s(H,{modelValue:o.value.type,"onUpdate:modelValue":t[2]||(t[2]=r=>o.value.type=r)},{default:n(()=>[(S(!0),U(q,null,ce(M.value,(r,_)=>(S(),ue(G,{key:_,label:_},{default:n(()=>[w(V(r),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),s(x,{label:"\u72B6\u6001",prop:"isEnable"},{default:n(()=>[s(K,{modelValue:o.value.isEnable,"onUpdate:modelValue":t[3]||(t[3]=r=>o.value.isEnable=r),style:{"--el-switch-on-color":"#4ecb74","--el-switch-off-color":"#ff3b30"}},null,8,["modelValue"]),w("\xA0 "),b("span",{style:pe({color:o.value.isEnable?"#4ECB74":"#FF3B30"})},V(o.value.isEnable?"\u5DF2\u542F\u7528":"\u5DF2\u7981\u7528"),5)]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])],64)}}}),$e=oe(xe,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/systemManage/unitManage/unitConfiguration/components/flowList.vue"]]);export{$e as default}; diff --git a/lishui2/web/dist/assets/flowList.f71b739f.js b/lishui2/web/dist/assets/flowList.f71b739f.js deleted file mode 100644 index d83e449..0000000 --- a/lishui2/web/dist/assets/flowList.f71b739f.js +++ /dev/null @@ -1 +0,0 @@ -var Z=Object.defineProperty,ee=Object.defineProperties;var ae=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var B=(d,a,o)=>a in d?Z(d,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):d[a]=o,C=(d,a)=>{for(var o in a||(a={}))te.call(a,o)&&B(d,o,a[o]);if(T)for(var o of T(a))oe.call(a,o)&&B(d,o,a[o]);return d},E=(d,a)=>ee(d,ae(a));var f=(d,a,o)=>new Promise((v,g)=>{var h=i=>{try{m(o.next(i))}catch(y){g(y)}},D=i=>{try{m(o.throw(i))}catch(y){g(y)}},m=i=>i.done?v(i.value):Promise.resolve(i.value).then(h,D);m((o=o.apply(d,a)).next())});import{_ as le,d as se,A as ne,u as re,r as p,b as ie,a3 as I,o as de,e as c,f as S,g as U,k as s,l as n,h as b,m as w,t as V,F as q,J as ce,I as ue,X as pe,p as fe}from"./index.11dc4694.js";import{a as me,e as _e,f as be,g as ve}from"./flowConfiguration.5e41a159.js";import{d as ge,p as ye}from"./flowPathConfiguration.a43b025e.js";const we={class:"flexRight mb-16"},De=["onClick"],ke=["onClick"],Ce=["onClick"],Ee=["onClick"],he=se({name:"flowList"}),xe=Object.assign(he,{setup(d){const{proxy:a}=fe(),o=ne(),v=re(),g=p(),h=ie([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u6D41\u7A0B\u540D\u79F0",key:"processDefName",prop:"processDefName"},{label:"\u6D41\u7A0B\u7C7B\u578B",key:"type",width:"200",render:e=>I("span",e.type==="DEFAULT"?"\u9ED8\u8BA4\u6D41\u7A0B":e.type==="SEAL"?"\u76D6\u7AE0\u6D41\u7A0B":e.type==="JOINT_REVIEW"?"\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u6D41\u7A0B":"\u5176\u4ED6\u6D41\u7A0B")},{label:"\u72B6\u6001",key:"isStop",width:"80",render:e=>[I("span",{class:["dot mr-4",`${e.isStop?"bg-danger":"bg-success"}`]}),I("span",{class:e.isStop?"text-danger":"text-success"},e.isStop?"\u7981\u7528":"\u542F\u7528")]},{label:"\u521B\u5EFA\u65F6\u95F4",key:"created",prop:"created",width:"240"},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"300"}]),D=p([]),m=p(0),i=(...t)=>f(this,[...t],function*(e=g.value.pageParams){const u=yield me(E(C({},e),{orgCode:v.query.id}));m.value=u.data.total,D.value=u.data.records}),y=e=>{o.push({name:"unitConfigEdit",query:{processDefId:e.processDefId,orgCode:v.query.id}})},A=e=>{a.$messageBox.confirm("\u662F\u5426\u5220\u9664\u8BE5\u6D41\u7A0B?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>f(this,null,function*(){yield ge({processDefId:e.processDefId}),a.$message.success("\u5220\u9664\u6210\u529F\uFF01"),i()}))},M=e=>{const t=e.isStop?"\u542F\u7528":"\u7981\u7528";a.$messageBox.confirm(`\u662F\u5426${t}\u8BE5\u6D41\u7A0B?`,"\u63D0\u793A\uFF01",{type:"warning"}).then(()=>f(this,null,function*(){t==="\u542F\u7528"?yield _e({processDefId:e.processDefId}):yield be({processDefId:e.processDefId}),a.$message.success(`${t}\u6210\u529F\uFF01`),i()}))},k=p(!1),F=p(),N=e=>f(this,null,function*(){if(k.value=!0,F.value=e?"\u7F16\u8F91\u4FE1\u606F":"\u65B0\u589E\u6D41\u7A0B",e&&e.processDefId){const t=yield ye({processDefId:e.processDefId});l.value=E(C({},t.data),{isEnable:!t.data.isStop})}else l.value={isEnable:!0,type:"DEFAULT"}}),$=p(),O=p({DEFAULT:"\u9ED8\u8BA4\u6D41\u7A0B",SEAL:"\u76D6\u7AE0\u6D41\u7A0B",OTHER:"\u5176\u4ED6\u6D41\u7A0B",JOINT_REVIEW:"\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u6D41\u7A0B"}),J={processDefName:[{required:!0,message:"\u8BF7\u586B\u5199\u6D41\u7A0B\u540D\u79F0",trigger:"blur"}],type:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D41\u7A0B\u7C7B\u578B",trigger:"change"}]},l=p({}),j=e=>f(this,null,function*(){!e||(yield e.validate(t=>f(this,null,function*(){if(t){const u=E(C({},l.value),{process:l.value.process?JSON.parse(l.value.process):void 0,orgCode:v.query.id,isStop:!l.value.isEnable,isEnable:void 0});yield ve(u),a.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),i(),k.value=!1,l.value={}}})))}),L=()=>{k.value=!1};return de(()=>{i()}),(e,t)=>{const u=c("el-button"),P=c("table-list"),z=c("el-card"),W=c("el-input"),x=c("el-form-item"),R=c("el-col"),G=c("el-radio"),H=c("el-radio-group"),K=c("el-row"),X=c("el-switch"),Q=c("el-form"),Y=c("el-dialog");return S(),U(q,null,[s(z,{class:"box-card"},{default:n(()=>[b("div",we,[s(u,{type:"primary",icon:"Plus",size:"small",onClick:t[0]||(t[0]=()=>N())},{default:n(()=>[w(" \u589E\u52A0\u6D41\u7A0B ")]),_:1})]),s(P,{ref_key:"tableListRef",ref:g,column:h,data:D.value,total:m.value,onGetTableData:i},{action:n(({scope:r})=>[b("a",{onClick:_=>N(r.row)},"\u7F16\u8F91\u4FE1\u606F",8,De),b("a",{onClick:_=>y(r.row)},"\u7F16\u8F91\u6D41\u7A0B",8,ke),b("a",{onClick:_=>M(r.row)},V(r.row.isStop?"\u542F\u7528":"\u7981\u7528"),9,Ce),b("a",{class:"text-danger",onClick:_=>A(r.row)},"\u5220\u9664",8,Ee)]),_:1},8,["column","data","total"])]),_:1}),s(Y,{"model-value":k.value,title:F.value,width:"600px",onClose:L},{footer:n(()=>[s(u,{type:"primary",onClick:t[4]||(t[4]=r=>j($.value))},{default:n(()=>[w(" \u63D0\u4EA4 ")]),_:1}),s(u,{onClick:L},{default:n(()=>[w(" \u5173\u95ED ")]),_:1})]),default:n(()=>[s(Q,{ref_key:"addFormRef",ref:$,model:l.value,rules:J,"label-width":"90px","label-suffix":":"},{default:n(()=>[s(K,null,{default:n(()=>[s(R,{span:24},{default:n(()=>[s(x,{label:"\u6D41\u7A0B\u540D\u79F0",prop:"processDefName"},{default:n(()=>[s(W,{modelValue:l.value.processDefName,"onUpdate:modelValue":t[1]||(t[1]=r=>l.value.processDefName=r),placeholder:"\u8BF7\u586B\u5199 "},null,8,["modelValue"])]),_:1})]),_:1}),s(R,{span:24},{default:n(()=>[s(x,{label:"\u6D41\u7A0B\u7C7B\u578B",prop:"type"},{default:n(()=>[s(H,{modelValue:l.value.type,"onUpdate:modelValue":t[2]||(t[2]=r=>l.value.type=r)},{default:n(()=>[(S(!0),U(q,null,ce(O.value,(r,_)=>(S(),ue(G,{key:_,label:_},{default:n(()=>[w(V(r),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),s(x,{label:"\u72B6\u6001",prop:"isEnable"},{default:n(()=>[s(X,{modelValue:l.value.isEnable,"onUpdate:modelValue":t[3]||(t[3]=r=>l.value.isEnable=r),style:{"--el-switch-on-color":"#4ecb74","--el-switch-off-color":"#ff3b30"}},null,8,["modelValue"]),w("\xA0 "),b("span",{style:pe({color:l.value.isEnable?"#4ECB74":"#FF3B30"})},V(l.value.isEnable?"\u5DF2\u542F\u7528":"\u5DF2\u7981\u7528"),5)]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value","title"])],64)}}}),Ne=le(xe,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/systemManage/unitManage/unitConfiguration/components/flowList.vue"]]);export{Ne as default}; diff --git a/lishui2/web/dist/assets/flowPathConfiguration.a43b025e.js b/lishui2/web/dist/assets/flowPathConfiguration.8a72a7e1.js similarity index 69% rename from lishui2/web/dist/assets/flowPathConfiguration.a43b025e.js rename to lishui2/web/dist/assets/flowPathConfiguration.8a72a7e1.js index b0422cb..a68c9b1 100644 --- a/lishui2/web/dist/assets/flowPathConfiguration.a43b025e.js +++ b/lishui2/web/dist/assets/flowPathConfiguration.8a72a7e1.js @@ -1 +1 @@ -import{z as o}from"./index.11dc4694.js";const t=e=>o.get(`/api/v1/organization/procdef/detail/${e.processDefId}`),r=e=>o.post(`/api/v1/organization/procdef/delete/${e.processDefId}`,e);export{r as d,t as p}; +import{z as o}from"./index.096886c6.js";const t=e=>o.get(`/api/v1/organization/procdef/detail/${e.processDefId}`),r=e=>o.post(`/api/v1/organization/procdef/delete/${e.processDefId}`,e);export{r as d,t as p}; diff --git a/lishui2/web/dist/assets/flowRecord.3ddea846.js b/lishui2/web/dist/assets/flowRecord.3ddea846.js deleted file mode 100644 index 25875fa..0000000 --- a/lishui2/web/dist/assets/flowRecord.3ddea846.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as U,d as J,e as p,f as e,I as i,l as _,g as l,F as f,J as m,h as o,k as v,t as a,m as C,i as u}from"./index.11dc4694.js";import{A as L}from"./index.3731dd96.js";import{N as P}from"./index.90958342.js";const K={class:"flex items-center"},$={class:"font-semibold"},q={class:"ml-40"},z={class:"mb-8"},G={class:"text-info"},Q={class:"flex items-center"},W={class:"font-semibold mr-8"},X={key:0},Y=["onClick"],Z={key:0,class:"sline"},ee={class:"flex items-center"},ne={class:"font-semibold"},oe={key:0,class:"text-info"},se={key:1,class:"text-info"},le={class:"ml-40"},te={class:"flex w-full"},ce={class:"text-info"},ie={key:0,class:"bg-gray-100 p-8 mt-8"},ae={class:"flex justify-between text-info"},re={key:0,class:"text-info",style:{"word-break":"break-all"}},de={key:1,class:"flex text-info"},ue=o("span",null,"\u9644\u4EF6\uFF1A",-1),_e={key:2,class:"bx-timeline"},fe={class:"flex overflow-x-auto mt-8 justify-between"},pe=o("p",{class:"top-line"},null,-1),me=J({name:"flowRecord"}),he=Object.assign(me,{props:{flowData:Array,isShowSline:{type:Boolean,default:!1}},setup(w){const k=t=>{var c;return(c=t.children)!=null&&c.length?g(t.children.slice(-1)[0]):t.withdrawFlag==="cancel-end"?"timelineIcon4":t.result?t.result==="process-end"||t.nodeType==="ROOT"||t.result==="PASS"?"timelineIcon1":"timelineIcon3":"timelineIcon2"},g=t=>{if(t.approvalMode==="OR"){const c=[];return t.list.forEach(d=>{c.push(k(d))}),c.includes("timelineIcon1")?"timelineIcon1":c.includes("timelineIcon3")?"timelineIcon3":c.includes("timelineIcon4")?"timelineIcon4":"timelineIcon2"}else if(t.approvalMode==="AND"){const c=[];return t.list.forEach(d=>{c.push(k(d))}),c.includes("timelineIcon3")?"timelineIcon3":c.includes("timelineIcon2")?"timelineIcon2":c.includes("timelineIcon4")?"timelineIcon4":"timelineIcon1"}else return"timelineIcon1"};return(t,c)=>{var D;const d=p("svg-icon"),H=p("ArrowDownBold"),N=p("el-icon"),j=p("ArrowUpBold"),T=p("el-timeline-item"),b=p("el-timeline"),M=p("flow-record",!0);return(D=w.flowData)!=null&&D.length?(e(),i(b,{key:0,class:"flowRecord"},{default:_(()=>[(e(!0),l(f,null,m(w.flowData,(n,V)=>(e(),i(T,{key:V},{dot:_(()=>[n.nodeType==="CC"?(e(),i(d,{key:0,name:"timelineIcon1"})):(e(),i(d,{key:1,name:k(n)},null,8,["name"]))]),default:_(()=>{var R,A,B,O,S;return[o("div",null,[n.nodeType==="ROOT"||n.nodeType==="CC"?(e(),l(f,{key:0},[o("div",K,[v(d,{name:"portraitIcon",class:"text-32 mr-8"}),o("p",$,a(n.nodeType==="ROOT"?"\u53D1\u8D77":"\u6284\u9001"),1)]),o("div",q,[o("p",z,a(((R=n==null?void 0:n.user)==null?void 0:R.userName)||"-")+"\uFF08"+a(((A=n==null?void 0:n.user)==null?void 0:A.orgName)||"-")+"\uFF09",1),o("p",G,a(n&&n.finishTime),1)])],64)):(e(),l(f,{key:1},[o("div",Q,[o("p",W,[C(a((B=n.parallelChildren)!=null&&B.length?"\u5E76\u884C\u5206\u652F":n.name),1),n.withdrawFlag==="cancel-end"?(e(),l("span",X,"\u88AB\u64A4\u56DE")):u("v-if",!0)]),o("a",{class:"flex items-center",onClick:r=>n.isHideChild=!n.isHideChild},[o("span",null,a(n.isHideChild?"\u5C55\u5F00":"\u6536\u8D77"),1),n.isHideChild?(e(),i(N,{key:0},{default:_(()=>[v(H)]),_:1})):(e(),i(N,{key:1},{default:_(()=>[v(j)]),_:1}))],8,Y)]),w.isShowSline?(e(),l("p",Z)):u("v-if",!0),((O=n.children)==null?void 0:O.length)&&!n.isHideChild?(e(),i(b,{key:1,class:"pt-26 childTimeLine"},{default:_(()=>[(e(!0),l(f,null,m(n.children,(r,I)=>(e(),i(T,{key:I},{dot:_(()=>[r.nodeType==="CC"?(e(),i(d,{key:0,name:"timelineIcon1"})):(e(),i(d,{key:1,name:g(r)},null,8,["name"]))]),default:_(()=>[o("div",ee,[v(d,{name:"portraitIcon",class:"text-32 mr-8"}),o("p",ne,[C(a(r.name)+" ",1),r.withdrawFlag==="cancel-end"?(e(),l("span",oe,"\uFF08\u88AB\u64A4\u56DE\uFF09")):u("v-if",!0),r.list.length>1?(e(),l("span",se,a(r.approvalMode==="OR"?"\uFF08\u6216\u7B7E\uFF09":r.approvalMode==="AND"?"\uFF08\u4F1A\u7B7E\uFF09":""),1)):u("v-if",!0)])]),o("div",le,[o("div",te,[(e(!0),l(f,null,m(r.list,(s,x)=>{var h,y;return e(),l("p",{key:x,class:"flex items-center mr-4"},[s.nodeType!=="CC"?(e(),i(d,{key:0,name:k(s),class:"mr-4"},null,8,["name"])):u("v-if",!0),o("span",null,a(((h=s==null?void 0:s.user)==null?void 0:h.userName)||""),1),o("span",ce,"\uFF08"+a(((y=s==null?void 0:s.user)==null?void 0:y.orgName)||"")+"\uFF09",1)])}),128))]),(e(!0),l(f,null,m(r.list,(s,x)=>{var h,y;return e(),l("div",{key:x},[s.auditInfo?(e(),l("div",ie,[o("div",ae,[o("p",null,a(((h=s==null?void 0:s.user)==null?void 0:h.userName)||""),1),o("p",null,a(s.finishTime),1)]),s.auditInfo?(e(),l("p",re,[C("\u610F\u89C1\uFF1A"),o("span",null,a(s.auditInfo.text),1)])):u("v-if",!0),s.auditInfo&&((y=s.auditInfo.attachments)==null?void 0:y.length)?(e(),l("div",de,[ue,o("div",null,[(e(!0),l(f,null,m(s.auditInfo.attachments,(F,E)=>(e(),l("p",{key:E,class:"mb-4"},[v(L,{"file-name":F.fileName,"file-id":F.fileId},null,8,["file-name","file-id"])]))),128))])])):u("v-if",!0)])):u("v-if",!0)])}),128))])]),_:2},1024))),128))]),_:2},1024)):((S=n.parallelChildren)==null?void 0:S.length)&&!n.isHideChild?(e(),l("div",_e,[o("div",fe,[pe,(e(!0),l(f,null,m(n.parallelChildren,(r,I)=>(e(),i(M,{key:I,"flow-data":[r],class:"pt-20 timeline","is-show-sline":!0},null,8,["flow-data"]))),128))])])):u("v-if",!0)],64))])]}),_:2},1024))),128))]),_:1})):(e(),i(P,{key:1}))}}}),we=U(he,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/toDoCenter/components/flowRecord.vue"]]);export{we as default}; diff --git a/lishui2/web/dist/assets/flowRecord.5f93c8d0.js b/lishui2/web/dist/assets/flowRecord.5f93c8d0.js new file mode 100644 index 0000000..c1459a0 --- /dev/null +++ b/lishui2/web/dist/assets/flowRecord.5f93c8d0.js @@ -0,0 +1 @@ +import{_ as U,d as L,e as p,f as e,I as i,l as _,g as l,F as f,J as m,h as o,k,t as a,m as g,i as u}from"./index.096886c6.js";import{A as J}from"./index.e0e52f0f.js";import{N as P}from"./index.9e3741ad.js";const W={class:"flex items-center"},$={class:"font-semibold"},q={class:"ml-40"},z={class:"mb-8"},G={class:"text-info"},K={class:"flex items-center"},Q={class:"font-semibold mr-8"},X={key:0},Y=["onClick"],Z={key:0,class:"sline"},ee={class:"flex items-center"},ne={class:"font-semibold"},oe={key:0,class:"text-info"},se={key:1,class:"text-info"},le={class:"ml-40"},te={class:"flex w-full"},ce={class:"text-info"},ie={key:0,class:"bg-gray-100 p-8 mt-8"},ae={class:"flex justify-between text-info"},re={key:0,class:"text-info",style:{"word-break":"break-all"}},de={key:1,class:"flex text-info"},ue=o("span",null,"\u9644\u4EF6\uFF1A",-1),_e={key:2,class:"bx-timeline"},fe={class:"flex overflow-x-auto mt-8 justify-between"},pe=o("p",{class:"top-line"},null,-1),me=L({name:"flowRecord"}),he=Object.assign(me,{props:{flowData:Array,isShowSline:{type:Boolean,default:!1}},setup(w){const v=t=>{var c;return(c=t.children)!=null&&c.length?C(t.children.slice(-1)[0]):t.withdrawFlag==="cancel-end"?"timelineIcon4":t.result?t.result==="process-end"||t.nodeType==="ROOT"||t.result==="PASS"?"timelineIcon1":"timelineIcon3":"timelineIcon2"},C=t=>{if(t.approvalMode==="OR"){const c=[];return t.list.forEach(d=>{c.push(v(d))}),c.includes("timelineIcon1")?"timelineIcon1":c.includes("timelineIcon3")?"timelineIcon3":c.includes("timelineIcon4")?"timelineIcon4":"timelineIcon2"}else if(t.approvalMode==="AND"){const c=[];return t.list.forEach(d=>{c.push(v(d))}),c.includes("timelineIcon3")?"timelineIcon3":c.includes("timelineIcon2")?"timelineIcon2":c.includes("timelineIcon4")?"timelineIcon4":"timelineIcon1"}else return"timelineIcon1"};return(t,c)=>{var R;const d=p("svg-icon"),H=p("ArrowDownBold"),N=p("el-icon"),j=p("ArrowUpBold"),T=p("el-timeline-item"),b=p("el-timeline"),M=p("flow-record",!0);return(R=w.flowData)!=null&&R.length?(e(),i(b,{key:0,class:"flowRecord"},{default:_(()=>[(e(!0),l(f,null,m(w.flowData,(n,V)=>(e(),i(T,{key:V},{dot:_(()=>[n.nodeType==="CC"?(e(),i(d,{key:0,name:"timelineIcon1"})):(e(),i(d,{key:1,name:v(n)},null,8,["name"]))]),default:_(()=>{var A,D,B,O,S;return[o("div",null,[n.nodeType==="ROOT"||n.nodeType==="CC"?(e(),l(f,{key:0},[o("div",W,[k(d,{name:"portraitIcon",class:"text-32 mr-8"}),o("p",$,a(n.nodeType==="ROOT"?"\u53D1\u8D77":"\u6284\u9001"),1)]),o("div",q,[o("p",z,a(((A=n==null?void 0:n.user)==null?void 0:A.userName)||"-")+"\uFF08"+a(((D=n==null?void 0:n.user)==null?void 0:D.orgName)||"-")+"\uFF09",1),o("p",G,a(n&&n.finishTime),1)])],64)):(e(),l(f,{key:1},[o("div",K,[o("p",Q,[g(a((B=n.parallelChildren)!=null&&B.length?"\u5E76\u884C\u5206\u652F":n.name),1),n.withdrawFlag==="cancel-end"?(e(),l("span",X,"\u88AB\u64A4\u56DE")):u("v-if",!0)]),o("a",{class:"flex items-center",onClick:r=>n.isHideChild=!n.isHideChild},[o("span",null,a(n.isHideChild?"\u5C55\u5F00":"\u6536\u8D77"),1),n.isHideChild?(e(),i(N,{key:0},{default:_(()=>[k(H)]),_:1})):(e(),i(N,{key:1},{default:_(()=>[k(j)]),_:1}))],8,Y)]),w.isShowSline?(e(),l("p",Z)):u("v-if",!0),((O=n.children)==null?void 0:O.length)&&!n.isHideChild?(e(),i(b,{key:1,class:"pt-26 childTimeLine"},{default:_(()=>[(e(!0),l(f,null,m(n.children,(r,I)=>(e(),i(T,{key:I},{dot:_(()=>[r.nodeType==="CC"?(e(),i(d,{key:0,name:"timelineIcon1"})):(e(),i(d,{key:1,name:C(r)},null,8,["name"]))]),default:_(()=>[o("div",ee,[k(d,{name:"portraitIcon",class:"text-32 mr-8"}),o("p",ne,[g(a(r.name)+" ",1),r.withdrawFlag==="cancel-end"?(e(),l("span",oe,"\uFF08\u88AB\u64A4\u56DE\uFF09")):u("v-if",!0),r.list.length>1?(e(),l("span",se,a(r.approvalMode==="OR"?"\uFF08\u6216\u7B7E\uFF09":r.approvalMode==="AND"?"\uFF08\u4F1A\u7B7E\uFF09":""),1)):u("v-if",!0)])]),o("div",le,[o("div",te,[(e(!0),l(f,null,m(r.list,(s,x)=>{var h,y;return e(),l("p",{key:x,class:"flex items-center mr-4"},[s.nodeType!=="CC"?(e(),i(d,{key:0,name:v(s),class:"mr-4"},null,8,["name"])):u("v-if",!0),o("span",null,a(((h=s==null?void 0:s.user)==null?void 0:h.userName)||""),1),o("span",ce,"\uFF08"+a(((y=s==null?void 0:s.user)==null?void 0:y.orgName)||"")+"\uFF09",1)])}),128))]),(e(!0),l(f,null,m(r.list,(s,x)=>{var h,y;return e(),l("div",{key:x},[s.auditInfo?(e(),l("div",ie,[o("div",ae,[o("p",null,a(((h=s==null?void 0:s.user)==null?void 0:h.userName)||""),1),o("p",null,a(s.finishTime),1)]),s.auditInfo?(e(),l("p",re,[g("\u610F\u89C1\uFF1A"),o("span",null,a(s.auditInfo.text),1)])):u("v-if",!0),s.auditInfo&&((y=s.auditInfo.attachments)==null?void 0:y.length)?(e(),l("div",de,[ue,o("div",null,[(e(!0),l(f,null,m(s.auditInfo.attachments,(F,E)=>(e(),l("p",{key:E,class:"mb-4"},[k(J,{"file-name":F.fileName,"file-id":F.fileId},null,8,["file-name","file-id"])]))),128))])])):u("v-if",!0)])):u("v-if",!0)])}),128))])]),_:2},1024))),128))]),_:2},1024)):((S=n.parallelChildren)==null?void 0:S.length)&&!n.isHideChild?(e(),l("div",_e,[o("div",fe,[pe,(e(!0),l(f,null,m(n.parallelChildren,(r,I)=>(e(),i(M,{key:I,"flow-data":[r],class:"pt-20 timeline","is-show-sline":!0},null,8,["flow-data"]))),128))])])):u("v-if",!0)],64))])]}),_:2},1024))),128))]),_:1})):(e(),i(P,{key:1}))}}}),we=U(he,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/toDoCenter/components/flowRecord.vue"]]);export{we as default}; diff --git a/lishui2/web/dist/assets/flowRecordDialog.35c73a72.js b/lishui2/web/dist/assets/flowRecordDialog.35c73a72.js deleted file mode 100644 index 1f1a4ef..0000000 --- a/lishui2/web/dist/assets/flowRecordDialog.35c73a72.js +++ /dev/null @@ -1 +0,0 @@ -var w=(n,d,e)=>new Promise((c,a)=>{var f=o=>{try{l(e.next(o))}catch(s){a(s)}},t=o=>{try{l(e.throw(o))}catch(s){a(s)}},l=o=>o.done?c(o.value):Promise.resolve(o.value).then(f,t);l((e=e.apply(n,d)).next())});import{_ as b,d as j,r as g,L as y,e as u,f as r,I as i,l as v,k as _,i as p}from"./index.11dc4694.js";import F from"./flowRecord.3ddea846.js";import k from"./sjFlowRecord.62ea595f.js";import"./index.3731dd96.js";import"./index.90958342.js";const x=j({name:"flowRecordDialog"}),C=Object.assign(x,{props:{visible:{type:Boolean,default:!1,required:!0},flowData:{type:Array,default:void 0},sjFlowData:{type:String,default:void 0}},emits:["close"],setup(n,{emit:d}){const e=n,c=d,a=g("1");return y(()=>e.visible,f=>w(this,null,function*(){a.value=e.sjFlowData?"2":"1"})),(f,t)=>{const l=u("el-tab-pane"),o=u("el-tabs"),s=u("el-dialog");return r(),i(s,{"model-value":n.visible,title:"\u5BA1\u6838\u8BB0\u5F55",width:"70%","destroy-on-close":"",onClose:t[1]||(t[1]=m=>c("close"))},{default:v(()=>{var m;return[(m=e==null?void 0:e.sjFlowData)!=null&&m.length?(r(),i(o,{key:0,modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=D=>a.value=D),class:"mb-16"},{default:v(()=>[_(l,{label:"\u7701\u7EA7\u90E8\u95E8\u8054\u5BA1\u6D41\u7A0B\u8BB0\u5F55",name:"2"}),_(l,{label:"\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B\u8BB0\u5F55",name:"1"})]),_:1},8,["modelValue"])):p("v-if",!0),a.value==="1"?(r(),i(F,{key:1,"flow-data":e.flowData||[]},null,8,["flow-data"])):p("v-if",!0),a.value==="2"?(r(),i(k,{key:2,"flow-data":e.sjFlowData&&JSON.parse(e.sjFlowData)||[]},null,8,["flow-data"])):p("v-if",!0)]}),_:1},8,["model-value"])}}}),A=b(C,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/flowRecordDialog.vue"]]);export{A as default}; diff --git a/lishui2/web/dist/assets/flowRecordDialog.a8fffe99.js b/lishui2/web/dist/assets/flowRecordDialog.a8fffe99.js new file mode 100644 index 0000000..8c5070d --- /dev/null +++ b/lishui2/web/dist/assets/flowRecordDialog.a8fffe99.js @@ -0,0 +1 @@ +var w=(n,d,e)=>new Promise((c,o)=>{var f=a=>{try{l(e.next(a))}catch(s){o(s)}},t=a=>{try{l(e.throw(a))}catch(s){o(s)}},l=a=>a.done?c(a.value):Promise.resolve(a.value).then(f,t);l((e=e.apply(n,d)).next())});import{_ as g,d as j,r as D,L as y,e as m,f as r,I as i,l as v,k as _,i as p}from"./index.096886c6.js";import k from"./flowRecord.5f93c8d0.js";import F from"./sjFlowRecord.5a3c8c56.js";import"./index.e0e52f0f.js";import"./index.9e3741ad.js";const S=j({name:"flowRecordDialog"}),C=Object.assign(S,{props:{visible:{type:Boolean,default:!1,required:!0},flowData:{type:Array,default:void 0},sjFlowData:{type:String,default:void 0}},emits:["close"],setup(n,{emit:d}){const e=n,c=d,o=D("1");return y(()=>e.visible,f=>w(this,null,function*(){o.value=e.sjFlowData?"2":"1"})),(f,t)=>{const l=m("el-tab-pane"),a=m("el-tabs"),s=m("el-dialog");return r(),i(s,{"model-value":n.visible,title:"\u5BA1\u6838\u8BB0\u5F55",width:"70%","destroy-on-close":"",onClose:t[1]||(t[1]=u=>c("close"))},{default:v(()=>{var u;return[(u=e==null?void 0:e.sjFlowData)!=null&&u.length?(r(),i(a,{key:0,modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=b=>o.value=b),class:"mb-16"},{default:v(()=>[_(l,{label:"\u7701\u7EA7\u90E8\u95E8\u8054\u5BA1\u6D41\u7A0B\u8BB0\u5F55",name:"2"}),_(l,{label:"\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B\u8BB0\u5F55",name:"1"})]),_:1},8,["modelValue"])):p("v-if",!0),o.value==="1"?(r(),i(k,{key:1,"flow-data":e.flowData||[]},null,8,["flow-data"])):p("v-if",!0),o.value==="2"?(r(),i(F,{key:2,"flow-data":e.sjFlowData&&JSON.parse(e.sjFlowData)||[]},null,8,["flow-data"])):p("v-if",!0)]}),_:1},8,["model-value"])}}}),A=g(C,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/flowRecordDialog.vue"]]);export{A as default}; diff --git a/lishui2/web/dist/assets/formConfiguration.7752b3a7.js b/lishui2/web/dist/assets/formConfiguration.eed5f5b5.js similarity index 59% rename from lishui2/web/dist/assets/formConfiguration.7752b3a7.js rename to lishui2/web/dist/assets/formConfiguration.eed5f5b5.js index 683d82c..f2e5b37 100644 --- a/lishui2/web/dist/assets/formConfiguration.7752b3a7.js +++ b/lishui2/web/dist/assets/formConfiguration.eed5f5b5.js @@ -1 +1 @@ -import{z as s}from"./index.11dc4694.js";const r=o=>s.get(`/api/v1/sys/form/${o.regionCode}`),i=o=>s.post("/api/v1/sys/form/modify",o);export{r as g,i as s}; +import{z as s}from"./index.096886c6.js";const r=o=>s.get(`/api/v1/sys/form/${o.regionCode}`),i=o=>s.post("/api/v1/sys/form/modify",o);export{r as g,i as s}; diff --git a/lishui2/web/dist/assets/fundsAllocation.cdc07462.js b/lishui2/web/dist/assets/fundsAllocation.b31ab7e0.js similarity index 78% rename from lishui2/web/dist/assets/fundsAllocation.cdc07462.js rename to lishui2/web/dist/assets/fundsAllocation.b31ab7e0.js index 0002c9f..d611602 100644 --- a/lishui2/web/dist/assets/fundsAllocation.cdc07462.js +++ b/lishui2/web/dist/assets/fundsAllocation.b31ab7e0.js @@ -1 +1 @@ -import{_ as A,d as w,r as f,e as n,f as g,I as P,l as t,k as o,Y as d}from"./index.11dc4694.js";const b=w({name:"fundsAllocation"}),h=Object.assign(b,{setup(D,{expose:i}){const l=f({}),p=f(),c={softwareDevelopmentAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F6F\u4EF6\u5F00\u53D1",trigger:"blur"}],cloudHardwarePurchaseAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u914D\u7F6E",trigger:"blur"}],thirdPartyAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u7B2C\u4E09\u65B9\u670D\u52A1",trigger:"blur"}]};return i({validForm:r=>{p.value.validate(e=>{r(e)})},formData:l,setFormData:r=>{l.value={softwareDevelopmentAmount:r.softwareDevelopmentAmount,cloudHardwarePurchaseAmount:r.cloudHardwarePurchaseAmount,thirdPartyAmount:r.thirdPartyAmount}}}),(r,e)=>{const u=n("el-input-number"),s=n("el-form-item"),m=n("el-col"),_=n("el-row"),v=n("el-form");return g(),P(v,{ref_key:"formRef",ref:p,model:l.value,rules:c,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:t(()=>[o(_,{gutter:40},{default:t(()=>[o(m,{span:8},{default:t(()=>[o(s,{label:"\u8F6F\u4EF6\u5F00\u53D1",prop:"softwareDevelopmentAmount"},{default:t(()=>[o(u,{modelValue:l.value.softwareDevelopmentAmount,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.softwareDevelopmentAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[1]||(e[1]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),o(m,{span:8},{default:t(()=>[o(s,{label:"\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u914D\u7F6E",prop:"cloudHardwarePurchaseAmount"},{default:t(()=>[o(u,{modelValue:l.value.cloudHardwarePurchaseAmount,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.cloudHardwarePurchaseAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[3]||(e[3]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),o(m,{span:8},{default:t(()=>[o(s,{label:"\u7B2C\u4E09\u65B9\u670D\u52A1",prop:"thirdPartyAmount"},{default:t(()=>[o(u,{modelValue:l.value.thirdPartyAmount,"onUpdate:modelValue":e[4]||(e[4]=a=>l.value.thirdPartyAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[5]||(e[5]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),H=A(h,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/fundsAllocation.vue"]]);export{H as default}; +import{_ as A,d as w,r as f,e as n,f as g,I as P,l as t,k as o,Y as d}from"./index.096886c6.js";const b=w({name:"fundsAllocation"}),h=Object.assign(b,{setup(D,{expose:i}){const l=f({}),p=f(),_={softwareDevelopmentAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F6F\u4EF6\u5F00\u53D1",trigger:"blur"}],cloudHardwarePurchaseAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u914D\u7F6E",trigger:"blur"}],thirdPartyAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u7B2C\u4E09\u65B9\u670D\u52A1",trigger:"blur"}]};return i({validForm:r=>{p.value.validate(e=>{r(e)})},formData:l,setFormData:r=>{l.value={softwareDevelopmentAmount:r.softwareDevelopmentAmount,cloudHardwarePurchaseAmount:r.cloudHardwarePurchaseAmount,thirdPartyAmount:r.thirdPartyAmount}}}),(r,e)=>{const u=n("el-input-number"),s=n("el-form-item"),m=n("el-col"),c=n("el-row"),v=n("el-form");return g(),P(v,{ref_key:"formRef",ref:p,model:l.value,rules:_,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:t(()=>[o(c,{gutter:40},{default:t(()=>[o(m,{span:8},{default:t(()=>[o(s,{label:"\u8F6F\u4EF6\u5F00\u53D1",prop:"softwareDevelopmentAmount"},{default:t(()=>[o(u,{modelValue:l.value.softwareDevelopmentAmount,"onUpdate:modelValue":e[0]||(e[0]=a=>l.value.softwareDevelopmentAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[1]||(e[1]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),o(m,{span:8},{default:t(()=>[o(s,{label:"\u4E91\u8D44\u6E90\u3001\u786C\u4EF6\u914D\u7F6E",prop:"cloudHardwarePurchaseAmount"},{default:t(()=>[o(u,{modelValue:l.value.cloudHardwarePurchaseAmount,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.cloudHardwarePurchaseAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[3]||(e[3]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),o(m,{span:8},{default:t(()=>[o(s,{label:"\u7B2C\u4E09\u65B9\u670D\u52A1",prop:"thirdPartyAmount"},{default:t(()=>[o(u,{modelValue:l.value.thirdPartyAmount,"onUpdate:modelValue":e[4]||(e[4]=a=>l.value.thirdPartyAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[5]||(e[5]=d(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),k=A(h,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/fundsAllocation.vue"]]);export{k as default}; diff --git a/lishui2/web/dist/assets/fundsInfo.7296e927.js b/lishui2/web/dist/assets/fundsInfo.158f20e3.js similarity index 51% rename from lishui2/web/dist/assets/fundsInfo.7296e927.js rename to lishui2/web/dist/assets/fundsInfo.158f20e3.js index e93615b..0a29f79 100644 --- a/lishui2/web/dist/assets/fundsInfo.7296e927.js +++ b/lishui2/web/dist/assets/fundsInfo.158f20e3.js @@ -1 +1 @@ -import{_ as B,d as j,r as _,e as d,f as c,I as f,l as r,k as l,Y as p,m as k,i as V}from"./index.11dc4694.js";const G=j({name:"fundsInfo"}),x=Object.assign(G,{props:{detailData:{type:Object,default:()=>({})}},setup(v,{expose:O}){const o=_({}),g=_(),s=(n,e,m)=>{e||m(),/^\d+(\.\d{1,6})?$/.test(e)?e*1>=1e8?m("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):m():m("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},w={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:s,trigger:"blur"}],declareHaveAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u81EA\u6709\u8D44\u91D1",trigger:"blur"},{validator:s,trigger:"blur"}],declareGovOwnFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",trigger:"blur"},{validator:s,trigger:"blur"}],declareGovSuperiorFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",trigger:"blur"},{validator:s,trigger:"blur"}],declareBankLendingAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u94F6\u884C\u8D37\u6B3E",trigger:"blur"},{validator:s,trigger:"blur"}],declareOtherAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5176\u4ED6\u8D44\u91D1",trigger:"blur"},{validator:s,trigger:"blur"}],consultancy:[{required:!0,message:"\u8BF7\u586B\u5199\u54A8\u8BE2\u516C\u53F8"}],baseBasisAmountOri:[{required:!0,message:"\u8BF7\u586B\u5199\u9884\u7B97\u6765\u6E90\u8BF4\u660E"}]};return O({validForm:n=>{g.value.validate(e=>{n(e)})},formData:o,setFormData:n=>{o.value={projectYear:n.projectYear?n.projectYear+"":null,declareAmount:n.declareAmount,declareHaveAmount:n.declareHaveAmount,declareGovOwnFinanceAmount:n.declareGovOwnFinanceAmount,declareGovSuperiorFinanceAmount:n.declareGovSuperiorFinanceAmount,declareBankLendingAmount:n.declareBankLendingAmount,declareOtherAmount:n.declareOtherAmount,baseBasisAmountOri:n.baseBasisAmountOri||"",consultancy:n.consultancy||""}}}),(n,e)=>{const m=d("el-date-picker"),t=d("el-form-item"),u=d("el-col"),i=d("el-input-number"),A=d("el-input"),y=d("el-row"),F=d("el-form");return c(),f(F,{ref_key:"formRef",ref:g,model:o.value,rules:w,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:r(()=>[l(y,{gutter:40},{default:r(()=>{var b;return[l(u,{span:12},{default:r(()=>[l(t,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:r(()=>{var a;return[l(m,{modelValue:o.value.projectYear,"onUpdate:modelValue":e[0]||(e[0]=Y=>o.value.projectYear=Y),disabled:n.$route.name==="declarePlan"||[10012,10013,10016].includes((a=v.detailData)==null?void 0:a.status),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),l(u,{span:12},{default:r(()=>[l(t,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:r(()=>[l(i,{modelValue:o.value.declareAmount,"onUpdate:modelValue":e[1]||(e[1]=a=>o.value.declareAmount=a),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[2]||(e[2]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:r(()=>[l(t,{label:"\u81EA\u6709\u8D44\u91D1",prop:"declareHaveAmount"},{default:r(()=>[l(i,{modelValue:o.value.declareHaveAmount,"onUpdate:modelValue":e[3]||(e[3]=a=>o.value.declareHaveAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[4]||(e[4]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:r(()=>[l(t,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",prop:"declareGovOwnFinanceAmount"},{default:r(()=>[l(i,{modelValue:o.value.declareGovOwnFinanceAmount,"onUpdate:modelValue":e[5]||(e[5]=a=>o.value.declareGovOwnFinanceAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[6]||(e[6]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:r(()=>[l(t,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",prop:"declareGovSuperiorFinanceAmount"},{default:r(()=>[l(i,{modelValue:o.value.declareGovSuperiorFinanceAmount,"onUpdate:modelValue":e[7]||(e[7]=a=>o.value.declareGovSuperiorFinanceAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[8]||(e[8]=p(()=>{},["prevent"]))},{append:r(()=>[k("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:r(()=>[l(t,{label:"\u94F6\u884C\u8D37\u6B3E",prop:"declareBankLendingAmount"},{default:r(()=>[l(i,{modelValue:o.value.declareBankLendingAmount,"onUpdate:modelValue":e[9]||(e[9]=a=>o.value.declareBankLendingAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[10]||(e[10]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:r(()=>[l(t,{label:"\u5176\u4ED6\u8D44\u91D1",prop:"declareOtherAmount"},{default:r(()=>[l(i,{modelValue:o.value.declareOtherAmount,"onUpdate:modelValue":e[11]||(e[11]=a=>o.value.declareOtherAmount=a),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[12]||(e[12]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),(n.$route.name==="declarePlan"||[10012,10013,10016].includes((b=v.detailData)==null?void 0:b.status))&&o.value.declareAmount>400?(c(),f(u,{key:0,span:12},{default:r(()=>[l(t,{label:"\u54A8\u8BE2\u516C\u53F8",prop:"consultancy"},{default:r(()=>[l(A,{modelValue:o.value.consultancy,"onUpdate:modelValue":e[13]||(e[13]=a=>o.value.consultancy=a),placeholder:"\u8BF7\u586B\u5199",maxlength:"100"},null,8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),o.value.declareOtherAmount>0?(c(),f(u,{key:1,span:24},{default:r(()=>[l(t,{label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E",prop:"baseBasisAmountOri"},{default:r(()=>[l(A,{modelValue:o.value.baseBasisAmountOri,"onUpdate:modelValue":e[14]||(e[14]=a=>o.value.baseBasisAmountOri=a),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0)]}),_:1})]),_:1},8,["model"])}}}),M=B(x,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/fundsInfo.vue"]]);export{M as default}; +import{_ as B,d as k,r as _,e as d,f as c,I as f,l as o,k as l,Y as p,m as G,i as V}from"./index.096886c6.js";const j=k({name:"fundsInfo"}),x=Object.assign(j,{props:{detailData:{type:Object,default:()=>({})}},setup(v,{expose:O}){const a=_({}),g=_(),s=(n,e,m)=>{e||m(),/^\d+(\.\d{1,6})?$/.test(e)?e*1>=1e8?m("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):m():m("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},w={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:s,trigger:"blur"}],declareHaveAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u81EA\u6709\u8D44\u91D1",trigger:"blur"},{validator:s,trigger:"blur"}],declareGovOwnFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",trigger:"blur"},{validator:s,trigger:"blur"}],declareGovSuperiorFinanceAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",trigger:"blur"},{validator:s,trigger:"blur"}],declareBankLendingAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u94F6\u884C\u8D37\u6B3E",trigger:"blur"},{validator:s,trigger:"blur"}],declareOtherAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5176\u4ED6\u8D44\u91D1",trigger:"blur"},{validator:s,trigger:"blur"}],consultancy:[{required:!0,message:"\u8BF7\u586B\u5199\u54A8\u8BE2\u516C\u53F8"}],baseBasisAmountOri:[{required:!0,message:"\u8BF7\u586B\u5199\u9884\u7B97\u6765\u6E90\u8BF4\u660E"}]};return O({validForm:n=>{g.value.validate(e=>{n(e)})},formData:a,setFormData:n=>{a.value={projectYear:n.projectYear?n.projectYear+"":null,declareAmount:n.declareAmount,declareHaveAmount:n.declareHaveAmount,declareGovOwnFinanceAmount:n.declareGovOwnFinanceAmount,declareGovSuperiorFinanceAmount:n.declareGovSuperiorFinanceAmount,declareBankLendingAmount:n.declareBankLendingAmount,declareOtherAmount:n.declareOtherAmount,baseBasisAmountOri:n.baseBasisAmountOri||"",consultancy:n.consultancy||""}}}),(n,e)=>{const m=d("el-date-picker"),t=d("el-form-item"),u=d("el-col"),i=d("el-input-number"),A=d("el-input"),F=d("el-row"),y=d("el-form");return c(),f(y,{ref_key:"formRef",ref:g,model:a.value,rules:w,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":""},{default:o(()=>[l(F,{gutter:40},{default:o(()=>{var b;return[l(u,{span:12},{default:o(()=>[l(t,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:o(()=>{var r;return[l(m,{modelValue:a.value.projectYear,"onUpdate:modelValue":e[0]||(e[0]=Y=>a.value.projectYear=Y),disabled:n.$route.name==="declarePlan"||[10012,10013,10016].includes((r=v.detailData)==null?void 0:r.status),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(t,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:o(()=>[l(i,{modelValue:a.value.declareAmount,"onUpdate:modelValue":e[1]||(e[1]=r=>a.value.declareAmount=r),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[2]||(e[2]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(t,{label:"\u81EA\u6709\u8D44\u91D1",prop:"declareHaveAmount"},{default:o(()=>[l(i,{modelValue:a.value.declareHaveAmount,"onUpdate:modelValue":e[3]||(e[3]=r=>a.value.declareHaveAmount=r),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[4]||(e[4]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(t,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1",prop:"declareGovOwnFinanceAmount"},{default:o(()=>[l(i,{modelValue:a.value.declareGovOwnFinanceAmount,"onUpdate:modelValue":e[5]||(e[5]=r=>a.value.declareGovOwnFinanceAmount=r),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[6]||(e[6]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(t,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1",prop:"declareGovSuperiorFinanceAmount"},{default:o(()=>[l(i,{modelValue:a.value.declareGovSuperiorFinanceAmount,"onUpdate:modelValue":e[7]||(e[7]=r=>a.value.declareGovSuperiorFinanceAmount=r),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[8]||(e[8]=p(()=>{},["prevent"]))},{append:o(()=>[G("\u4E07\u5143")]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(t,{label:"\u94F6\u884C\u8D37\u6B3E",prop:"declareBankLendingAmount"},{default:o(()=>[l(i,{modelValue:a.value.declareBankLendingAmount,"onUpdate:modelValue":e[9]||(e[9]=r=>a.value.declareBankLendingAmount=r),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[10]||(e[10]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),l(u,{span:12},{default:o(()=>[l(t,{label:"\u5176\u4ED6\u8D44\u91D1",prop:"declareOtherAmount"},{default:o(()=>[l(i,{modelValue:a.value.declareOtherAmount,"onUpdate:modelValue":e[11]||(e[11]=r=>a.value.declareOtherAmount=r),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[12]||(e[12]=p(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),(n.$route.name==="declarePlan"||[10012,10013,10016].includes((b=v.detailData)==null?void 0:b.status))&&a.value.declareAmount>400?(c(),f(u,{key:0,span:12},{default:o(()=>[l(t,{label:"\u54A8\u8BE2\u516C\u53F8",prop:"consultancy"},{default:o(()=>[l(A,{modelValue:a.value.consultancy,"onUpdate:modelValue":e[13]||(e[13]=r=>a.value.consultancy=r),placeholder:"\u8BF7\u586B\u5199",maxlength:"100"},null,8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0),a.value.declareOtherAmount>0?(c(),f(u,{key:1,span:24},{default:o(()=>[l(t,{label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E",prop:"baseBasisAmountOri"},{default:o(()=>[l(A,{modelValue:a.value.baseBasisAmountOri,"onUpdate:modelValue":e[14]||(e[14]=r=>a.value.baseBasisAmountOri=r),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1})]),_:1})):V("v-if",!0)]}),_:1})]),_:1},8,["model"])}}}),D=B(x,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/fundsInfo.vue"]]);export{D as default}; diff --git a/lishui2/web/dist/assets/fundsInfo.e86d7416.js b/lishui2/web/dist/assets/fundsInfo.f34a4c40.js similarity index 77% rename from lishui2/web/dist/assets/fundsInfo.e86d7416.js rename to lishui2/web/dist/assets/fundsInfo.f34a4c40.js index 0cb1d53..fc6a047 100644 --- a/lishui2/web/dist/assets/fundsInfo.e86d7416.js +++ b/lishui2/web/dist/assets/fundsInfo.f34a4c40.js @@ -1 +1 @@ -import{_ as r,d as u,e as c,f as d,I as i,l as a,k as o,m as l,t as n,i as f}from"./index.11dc4694.js";const m=u({name:"fundsInfo"}),D=Object.assign(m,{props:{detailData:Object},setup(e){return(b,_)=>{const t=c("el-descriptions-item"),s=c("el-descriptions");return d(),i(s,{column:2,border:""},{default:a(()=>[o(t,{label:"\u9884\u7B97\u5E74\u5EA6",span:2},{default:a(()=>[l(n(e.detailData.projectYear||"-"),1)]),_:1}),o(t,{label:"\u7533\u62A5\u91D1\u989D\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareAmount),1)]),_:1}),o(t,{label:"\u81EA\u6709\u8D44\u91D1\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareHaveAmount),1)]),_:1}),o(t,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareGovOwnFinanceAmount),1)]),_:1}),o(t,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareGovSuperiorFinanceAmount),1)]),_:1}),o(t,{label:"\u94F6\u884C\u8D37\u6B3E\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareBankLendingAmount),1)]),_:1}),o(t,{label:"\u5176\u4ED6\u8D44\u91D1\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareOtherAmount),1)]),_:1}),e.detailData.consultancy?(d(),i(t,{key:0,label:"\u54A8\u8BE2\u516C\u53F8"},{default:a(()=>[l(n(e.detailData.consultancy),1)]),_:1})):f("v-if",!0),o(t,{label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E"},{default:a(()=>[l(n(e.detailData.baseBasisAmountOri||"-"),1)]),_:1})]),_:1})}}}),p=r(D,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/fundsInfo.vue"]]);export{p as default}; +import{_ as r,d as u,e as c,f as d,I as i,l as a,k as o,m as l,t as n,i as f}from"./index.096886c6.js";const m=u({name:"fundsInfo"}),b=Object.assign(m,{props:{detailData:Object},setup(e){return(D,_)=>{const t=c("el-descriptions-item"),s=c("el-descriptions");return d(),i(s,{column:2,border:""},{default:a(()=>[o(t,{label:"\u9884\u7B97\u5E74\u5EA6",span:2},{default:a(()=>[l(n(e.detailData.projectYear||"-"),1)]),_:1}),o(t,{label:"\u7533\u62A5\u91D1\u989D\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareAmount),1)]),_:1}),o(t,{label:"\u81EA\u6709\u8D44\u91D1\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareHaveAmount),1)]),_:1}),o(t,{label:"\u653F\u5E9C\u6295\u8D44-\u672C\u7EA7\u8D22\u653F\u8D44\u91D1\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareGovOwnFinanceAmount),1)]),_:1}),o(t,{label:"\u653F\u5E9C\u6295\u8D44-\u4E0A\u7EA7\u8865\u52A9\u8D44\u91D1\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareGovSuperiorFinanceAmount),1)]),_:1}),o(t,{label:"\u94F6\u884C\u8D37\u6B3E\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareBankLendingAmount),1)]),_:1}),o(t,{label:"\u5176\u4ED6\u8D44\u91D1\uFF08\u4E07\u5143\uFF09"},{default:a(()=>[l(n(e.detailData.declareOtherAmount),1)]),_:1}),e.detailData.consultancy?(d(),i(t,{key:0,label:"\u54A8\u8BE2\u516C\u53F8"},{default:a(()=>[l(n(e.detailData.consultancy),1)]),_:1})):f("v-if",!0),o(t,{label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E"},{default:a(()=>[l(n(e.detailData.baseBasisAmountOri||"-"),1)]),_:1})]),_:1})}}}),j=r(b,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/fundsInfo.vue"]]);export{j as default}; diff --git a/lishui2/web/dist/assets/getIsShowRegionTree.11f4997d.js b/lishui2/web/dist/assets/getIsShowRegionTree.78a14a3e.js similarity index 92% rename from lishui2/web/dist/assets/getIsShowRegionTree.11f4997d.js rename to lishui2/web/dist/assets/getIsShowRegionTree.78a14a3e.js index 9c86743..36544a1 100644 --- a/lishui2/web/dist/assets/getIsShowRegionTree.11f4997d.js +++ b/lishui2/web/dist/assets/getIsShowRegionTree.78a14a3e.js @@ -1 +1 @@ -import{D as u}from"./index.11dc4694.js";const r=u.userStore.userInfo||{},n=r.userRoleInfoList.map(e=>e.code),c=(e,o="or")=>{var i=o==="and";return e.forEach(s=>{n.includes(s)&&o==="or"?i=!0:!n.includes(s)&&o==="and"&&(i=!1)}),i},t=e=>n.includes("SUPER_ADMIN")&&Object.keys(e).includes("SUPER_ADMIN")?{regionCode:331100,regionLevel:2}:n.includes("VISITOR")&&Object.keys(e).includes("VISITOR")?{regionCode:331100,regionLevel:2}:n.includes("REGION_MANAGER")&&Object.keys(e).includes("REGION_MANAGER")?{regionCode:Number(r.regionCode),regionLevel:r.regionCode==="331100"&&!e.REGION_MANAGER?2:3}:n.includes("EXPERT_ADMIN")&&Object.keys(e).includes("EXPERT_ADMIN")?{regionCode:Number(r.regionCode),regionLevel:r.regionCode==="331100"&&!e.EXPERT_ADMIN?2:3}:{regionCode:Number(r.regionCode),regionLevel:3};export{t as a,c as g}; +import{D as u}from"./index.096886c6.js";const r=u.userStore.userInfo||{},n=r.userRoleInfoList.map(e=>e.code),c=(e,o="or")=>{var i=o==="and";return e.forEach(s=>{n.includes(s)&&o==="or"?i=!0:!n.includes(s)&&o==="and"&&(i=!1)}),i},t=e=>n.includes("SUPER_ADMIN")&&Object.keys(e).includes("SUPER_ADMIN")?{regionCode:331100,regionLevel:2}:n.includes("VISITOR")&&Object.keys(e).includes("VISITOR")?{regionCode:331100,regionLevel:2}:n.includes("REGION_MANAGER")&&Object.keys(e).includes("REGION_MANAGER")?{regionCode:Number(r.regionCode),regionLevel:r.regionCode==="331100"&&!e.REGION_MANAGER?2:3}:n.includes("EXPERT_ADMIN")&&Object.keys(e).includes("EXPERT_ADMIN")?{regionCode:Number(r.regionCode),regionLevel:r.regionCode==="331100"&&!e.EXPERT_ADMIN?2:3}:{regionCode:Number(r.regionCode),regionLevel:3};export{t as a,c as g}; diff --git a/lishui2/web/dist/assets/getIsShowReviewCheck.5475af0b.js b/lishui2/web/dist/assets/getIsShowReviewCheck.7034cc27.js similarity index 86% rename from lishui2/web/dist/assets/getIsShowReviewCheck.5475af0b.js rename to lishui2/web/dist/assets/getIsShowReviewCheck.7034cc27.js index 34b963f..d0c43ae 100644 --- a/lishui2/web/dist/assets/getIsShowReviewCheck.5475af0b.js +++ b/lishui2/web/dist/assets/getIsShowReviewCheck.7034cc27.js @@ -1 +1 @@ -import{D as o}from"./index.11dc4694.js";const e=o.userStore.userInfo||{},b=c=>{const d=["GE_051f5e34c0c4467b873cde517a21669b","GE_6dc0e5a3513d41f684b6b01aeb94d887","GE_39be254f6cb84ad0b30c9bd5bda657d7","GE_809a061236b941d281446df6f14dc8f0","GE_c3e4d8e8067b4fce91b28b570cffc67a","GE_6168943503de45919c42d46e05b24fa1","GE_e68c7af513474eaa959b7ce7141a4d9f"];return c?d.includes(e.employeeCode):!!(e.regionCode==="331100"||d.includes(e.employeeCode))};export{b as g}; +import{D as o}from"./index.096886c6.js";const e=o.userStore.userInfo||{},b=c=>{const d=["GE_051f5e34c0c4467b873cde517a21669b","GE_6dc0e5a3513d41f684b6b01aeb94d887","GE_39be254f6cb84ad0b30c9bd5bda657d7","GE_809a061236b941d281446df6f14dc8f0","GE_c3e4d8e8067b4fce91b28b570cffc67a","GE_6168943503de45919c42d46e05b24fa1","GE_e68c7af513474eaa959b7ce7141a4d9f"];return c?d.includes(e.employeeCode):!!(e.regionCode==="331100"||d.includes(e.employeeCode))};export{b as g}; diff --git a/lishui2/web/dist/assets/hiddenAppForm.69e2cac7.js b/lishui2/web/dist/assets/hiddenAppForm.d1b83850.js similarity index 57% rename from lishui2/web/dist/assets/hiddenAppForm.69e2cac7.js rename to lishui2/web/dist/assets/hiddenAppForm.d1b83850.js index 66073a3..d3fffde 100644 --- a/lishui2/web/dist/assets/hiddenAppForm.69e2cac7.js +++ b/lishui2/web/dist/assets/hiddenAppForm.d1b83850.js @@ -1 +1 @@ -var f=(r,u,a)=>new Promise((p,o)=>{var n=e=>{try{s(a.next(e))}catch(i){o(i)}},l=e=>{try{s(a.throw(e))}catch(i){o(i)}},s=e=>e.done?p(e.value):Promise.resolve(e.value).then(n,l);s((a=a.apply(r,u)).next())});import{_ as y,d as w,r as d,L as A,f as g,g as D,i as t,k as F,N as I}from"./index.11dc4694.js";import N from"./applicationInfo.54a018e8.js";import"./index.f58f6803.js";const b={style:{display:"none"}},k=w({name:"hiddenAppForm"}),x=Object.assign(k,{props:{applicationList:Array,isFirst:{type:Number,default:void 0}},setup(r,{expose:u}){const a=r,p=d(),o=d([]),n=d(0),l=d(),s=i=>f(this,null,function*(){l.value=!0,n.value=0;for(const c of a.applicationList)yield e(c);setTimeout(()=>f(this,null,function*(){l.value=!1,i(n.value===a.applicationList.length)}))}),e=i=>f(this,null,function*(){return o.value=JSON.parse(JSON.stringify(i)),yield I(),new Promise((c,P)=>{const m=[];m.push(new Promise((v,_)=>{p.value.validForm(h=>{h?v():_(!1)})})),Promise.all([...m]).then(()=>{n.value++}).finally(()=>{c()})})});return A(()=>a.applicationList,()=>{},{immediate:!0,deep:!0}),u({validAllAppForm:s}),(i,c)=>(g(),D("div",b,[t(" "),t(' '),t(' '),F(N,{ref_key:"applicationInfoRef",ref:p,data:o.value,"is-first":r.isFirst},null,8,["data","is-first"])]))}}),S=y(x,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/hiddenAppForm.vue"]]);export{S as default}; +var f=(r,u,a)=>new Promise((p,o)=>{var n=e=>{try{s(a.next(e))}catch(i){o(i)}},l=e=>{try{s(a.throw(e))}catch(i){o(i)}},s=e=>e.done?p(e.value):Promise.resolve(e.value).then(n,l);s((a=a.apply(r,u)).next())});import{_ as y,d as w,r as d,L as g,f as A,g as k,i as t,k as F,N as I}from"./index.096886c6.js";import b from"./applicationInfo.dd976141.js";import"./index.a82aa709.js";const N={style:{display:"none"}},R=w({name:"hiddenAppForm"}),x=Object.assign(R,{props:{applicationList:Array,isFirst:{type:Number,default:void 0}},setup(r,{expose:u}){const a=r,p=d(),o=d([]),n=d(0),l=d(),s=i=>f(this,null,function*(){l.value=!0,n.value=0;for(const c of a.applicationList)yield e(c);setTimeout(()=>f(this,null,function*(){l.value=!1,i(n.value===a.applicationList.length)}))}),e=i=>f(this,null,function*(){return o.value=JSON.parse(JSON.stringify(i)),yield I(),new Promise((c,D)=>{const m=[];m.push(new Promise((v,_)=>{p.value.validForm(h=>{h?v():_(!1)})})),Promise.all([...m]).then(()=>{n.value++}).finally(()=>{c()})})});return g(()=>a.applicationList,()=>{},{immediate:!0,deep:!0}),u({validAllAppForm:s}),(i,c)=>(A(),k("div",N,[t(" "),t(' '),t(' '),F(b,{ref_key:"applicationInfoRef",ref:p,data:o.value,"is-first":r.isFirst},null,8,["data","is-first"])]))}}),O=y(x,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/projectDeclare/declarePage/components/hiddenAppForm.vue"]]);export{O as default}; diff --git a/lishui2/web/dist/assets/implementPlanDialog.1400f887.js b/lishui2/web/dist/assets/implementPlanDialog.52fa7146.js similarity index 67% rename from lishui2/web/dist/assets/implementPlanDialog.1400f887.js rename to lishui2/web/dist/assets/implementPlanDialog.52fa7146.js index 6308d9c..869ad0e 100644 --- a/lishui2/web/dist/assets/implementPlanDialog.1400f887.js +++ b/lishui2/web/dist/assets/implementPlanDialog.52fa7146.js @@ -1 +1 @@ -var b=Object.defineProperty,S=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var y=(n,r,l)=>r in n?b(n,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[r]=l,T=(n,r)=>{for(var l in r||(r={}))U.call(r,l)&&y(n,l,r[l]);if(V)for(var l of V(r))q.call(r,l)&&y(n,l,r[l]);return n},_=(n,r)=>S(n,N(r));var w=(n,r,l)=>new Promise((Y,d)=>{var D=s=>{try{u(l.next(s))}catch(f){d(f)}},a=s=>{try{u(l.throw(s))}catch(f){d(f)}},u=s=>s.done?Y(s.value):Promise.resolve(s.value).then(D,a);u((l=l.apply(n,r)).next())});import{_ as B,d as P,r as I,L as $,N as R,e as c,f as A,I as k,l as m,h as J,k as o,m as j,p as K}from"./index.11dc4694.js";import{o as L,p as h}from"./purchaseResults.cee4b12c.js";import{p as z}from"./projectStore.913d3819.js";const F={class:"dialog-footer"},G=P({name:"implementPlanDialog"}),Q=Object.assign(G,{props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["close"],setup(n,{expose:r,emit:l}){const{proxy:Y}=K(),d=n,D=l,a=I({}),u=I(),s=(p,e,t)=>new Date(e).getTime()>=new Date(a.value.finalInspectionDate).getTime()?t(new Error("\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u7EC8\u9A8C\u65F6\u95F4\u4E4B\u524D")):new Date(e).getTime()>=new Date(a.value.initialInspectionDate).getTime()?t(new Error("\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u4E4B\u524D")):new Date(e).getTime()>=new Date(a.value.startTrialOperationDate).getTime()?t(new Error("\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4\u4E4B\u524D")):t(),f=(p,e,t)=>new Date(e).getTime()<=new Date(a.value.projectStartDate).getTime()?t(new Error("\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u4E4B\u540E")):new Date(e).getTime()>=new Date(a.value.startTrialOperationDate).getTime()?t(new Error("\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4\u4E4B\u524D")):new Date(e).getTime()>=new Date(a.value.finalInspectionDate).getTime()?t(new Error("\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u7EC8\u9A8C\u65F6\u95F4\u4E4B\u524D")):t(),x=(p,e,t)=>new Date(e).getTime()<=new Date(a.value.projectStartDate).getTime()?t(new Error("\u9879\u76EE\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u4E4B\u540E")):new Date(e).getTime()<=new Date(a.value.initialInspectionDate).getTime()?t(new Error("\u9879\u76EE\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u4E4B\u540E")):new Date(e).getTime()>=new Date(a.value.finalInspectionDate).getTime()?t(new Error("\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u7EC8\u9A8C\u65F6\u95F4\u4E4B\u524D")):t(),O={projectStartDate:[{required:!0,message:"\u8BF7\u8F93\u5165"},{validator:s}],initialInspectionDate:[{required:!0,message:"\u8BF7\u9009\u62E9"},{validator:f}],startTrialOperationDate:[{required:!0,message:"\u8BF7\u9009\u62E9"},{validator:x}],finalInspectionDate:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},v=I(!1),E=p=>w(this,null,function*(){!p||(yield p.validate(e=>w(this,null,function*(){if(e){v.value=!0;try{const t=_(T({},a.value),{projectId:d.data.id});yield h(t),Y.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),v.value=!1,D("close",!0)}catch(t){v.value=!1}}})))});return $(()=>d.visible,p=>w(this,null,function*(){if(p){yield R(),u.value.clearValidate();const e=yield z(d.data.id),t=yield L(d.data.id);a.value=t!=null&&t.data?_(T({},t.data),{finalInspectionDate:e.data.planAcceptanceTime}):{finalInspectionDate:e.data.planAcceptanceTime}}})),r({formRef:u}),(p,e)=>{const t=c("el-date-picker"),g=c("el-form-item"),H=c("el-form"),M=c("el-button"),C=c("el-dialog");return A(),k(C,{"model-value":n.visible,title:"\u586B\u5199\u5B9E\u65BD\u8BA1\u5212",onClose:e[6]||(e[6]=i=>D("close"))},{footer:m(()=>[J("span",F,[o(M,{type:"primary",loading:v.value,onClick:e[4]||(e[4]=i=>E(u.value))},{default:m(()=>[j("\u63D0\u4EA4")]),_:1},8,["loading"]),o(M,{onClick:e[5]||(e[5]=i=>D("close"))},{default:m(()=>[j("\u5173\u95ED")]),_:1})])]),default:m(()=>[o(H,{ref_key:"formRef",ref:u,model:a.value,rules:O,"label-suffix":"\uFF1A","label-width":"140"},{default:m(()=>[o(g,{label:"\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4",prop:"projectStartDate"},{default:m(()=>[o(t,{modelValue:a.value.projectStartDate,"onUpdate:modelValue":e[0]||(e[0]=i=>a.value.projectStartDate=i),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1}),o(g,{label:"\u9879\u76EE\u521D\u9A8C\u65F6\u95F4",prop:"initialInspectionDate"},{default:m(()=>[o(t,{modelValue:a.value.initialInspectionDate,"onUpdate:modelValue":e[1]||(e[1]=i=>a.value.initialInspectionDate=i),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1}),o(g,{label:"\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4",prop:"startTrialOperationDate"},{default:m(()=>[o(t,{modelValue:a.value.startTrialOperationDate,"onUpdate:modelValue":e[2]||(e[2]=i=>a.value.startTrialOperationDate=i),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1}),o(g,{label:"\u9879\u76EE\u7EC8\u9A8C\u65F6\u95F4",prop:"finalInspectionDate"},{default:m(()=>[o(t,{modelValue:a.value.finalInspectionDate,"onUpdate:modelValue":e[3]||(e[3]=i=>a.value.finalInspectionDate=i),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9",disabled:""},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),te=B(Q,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/purchaseResults/components/implementPlanDialog.vue"]]);export{te as default}; +var S=Object.defineProperty,b=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var y=(r,n,l)=>n in r?S(r,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[n]=l,T=(r,n)=>{for(var l in n||(n={}))q.call(n,l)&&y(r,l,n[l]);if(V)for(var l of V(n))B.call(n,l)&&y(r,l,n[l]);return r},_=(r,n)=>b(r,U(n));var w=(r,n,l)=>new Promise((Y,d)=>{var f=s=>{try{u(l.next(s))}catch(D){d(D)}},a=s=>{try{u(l.throw(s))}catch(D){d(D)}},u=s=>s.done?Y(s.value):Promise.resolve(s.value).then(f,a);u((l=l.apply(r,n)).next())});import{_ as N,d as $,r as I,L as P,N as R,e as c,f as k,I as A,l as m,h as L,k as o,m as j,p as W}from"./index.096886c6.js";import{o as h,p as z}from"./purchaseResults.5a7aa0aa.js";import{p as F}from"./projectStore.75f32f73.js";const G={class:"dialog-footer"},J=$({name:"implementPlanDialog"}),K=Object.assign(J,{props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["close"],setup(r,{expose:n,emit:l}){const{proxy:Y}=W(),d=r,f=l,a=I({}),u=I(),s=(p,e,t)=>new Date(e).getTime()>=new Date(a.value.finalInspectionDate).getTime()?t(new Error("\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u7EC8\u9A8C\u65F6\u95F4\u4E4B\u524D")):new Date(e).getTime()>=new Date(a.value.initialInspectionDate).getTime()?t(new Error("\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u4E4B\u524D")):new Date(e).getTime()>=new Date(a.value.startTrialOperationDate).getTime()?t(new Error("\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4\u4E4B\u524D")):t(),D=(p,e,t)=>new Date(e).getTime()<=new Date(a.value.projectStartDate).getTime()?t(new Error("\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u4E4B\u540E")):new Date(e).getTime()>=new Date(a.value.startTrialOperationDate).getTime()?t(new Error("\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4\u4E4B\u524D")):new Date(e).getTime()>=new Date(a.value.finalInspectionDate).getTime()?t(new Error("\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u7EC8\u9A8C\u65F6\u95F4\u4E4B\u524D")):t(),x=(p,e,t)=>new Date(e).getTime()<=new Date(a.value.projectStartDate).getTime()?t(new Error("\u9879\u76EE\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4\u4E4B\u540E")):new Date(e).getTime()<=new Date(a.value.initialInspectionDate).getTime()?t(new Error("\u9879\u76EE\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u4E4B\u540E")):new Date(e).getTime()>=new Date(a.value.finalInspectionDate).getTime()?t(new Error("\u9879\u76EE\u521D\u9A8C\u65F6\u95F4\u5FC5\u987B\u5728\u9879\u76EE\u7EC8\u9A8C\u65F6\u95F4\u4E4B\u524D")):t(),O={projectStartDate:[{required:!0,message:"\u8BF7\u8F93\u5165"},{validator:s}],initialInspectionDate:[{required:!0,message:"\u8BF7\u9009\u62E9"},{validator:D}],startTrialOperationDate:[{required:!0,message:"\u8BF7\u9009\u62E9"},{validator:x}],finalInspectionDate:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},v=I(!1),E=p=>w(this,null,function*(){!p||(yield p.validate(e=>w(this,null,function*(){if(e){v.value=!0;try{const t=_(T({},a.value),{projectId:d.data.id});yield z(t),Y.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),v.value=!1,f("close",!0)}catch(t){v.value=!1}}})))});return P(()=>d.visible,p=>w(this,null,function*(){if(p){yield R(),u.value.clearValidate();const e=yield F(d.data.id),t=yield h(d.data.id);a.value=t!=null&&t.data?_(T({},t.data),{finalInspectionDate:e.data.planAcceptanceTime}):{finalInspectionDate:e.data.planAcceptanceTime}}})),n({formRef:u}),(p,e)=>{const t=c("el-date-picker"),g=c("el-form-item"),H=c("el-form"),M=c("el-button"),C=c("el-dialog");return k(),A(C,{"model-value":r.visible,title:"\u586B\u5199\u5B9E\u65BD\u8BA1\u5212",onClose:e[6]||(e[6]=i=>f("close"))},{footer:m(()=>[L("span",G,[o(M,{type:"primary",loading:v.value,onClick:e[4]||(e[4]=i=>E(u.value))},{default:m(()=>[j("\u63D0\u4EA4")]),_:1},8,["loading"]),o(M,{onClick:e[5]||(e[5]=i=>f("close"))},{default:m(()=>[j("\u5173\u95ED")]),_:1})])]),default:m(()=>[o(H,{ref_key:"formRef",ref:u,model:a.value,rules:O,"label-suffix":"\uFF1A","label-width":"140"},{default:m(()=>[o(g,{label:"\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4",prop:"projectStartDate"},{default:m(()=>[o(t,{modelValue:a.value.projectStartDate,"onUpdate:modelValue":e[0]||(e[0]=i=>a.value.projectStartDate=i),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1}),o(g,{label:"\u9879\u76EE\u521D\u9A8C\u65F6\u95F4",prop:"initialInspectionDate"},{default:m(()=>[o(t,{modelValue:a.value.initialInspectionDate,"onUpdate:modelValue":e[1]||(e[1]=i=>a.value.initialInspectionDate=i),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1}),o(g,{label:"\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4",prop:"startTrialOperationDate"},{default:m(()=>[o(t,{modelValue:a.value.startTrialOperationDate,"onUpdate:modelValue":e[2]||(e[2]=i=>a.value.startTrialOperationDate=i),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1}),o(g,{label:"\u9879\u76EE\u7EC8\u9A8C\u65F6\u95F4",prop:"finalInspectionDate"},{default:m(()=>[o(t,{modelValue:a.value.finalInspectionDate,"onUpdate:modelValue":e[3]||(e[3]=i=>a.value.finalInspectionDate=i),type:"date",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9",disabled:""},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),te=N(K,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/declareManage/purchaseResults/components/implementPlanDialog.vue"]]);export{te as default}; diff --git a/lishui2/web/dist/assets/implementationPlan.81661d28.js b/lishui2/web/dist/assets/implementationPlan.338057a4.js similarity index 68% rename from lishui2/web/dist/assets/implementationPlan.81661d28.js rename to lishui2/web/dist/assets/implementationPlan.338057a4.js index b569e80..f16d978 100644 --- a/lishui2/web/dist/assets/implementationPlan.81661d28.js +++ b/lishui2/web/dist/assets/implementationPlan.338057a4.js @@ -1 +1 @@ -import{_ as m,d as _,e as r,f as c,I as p,l as o,k as i,m as l,t as s}from"./index.11dc4694.js";import{N as f}from"./index.90958342.js";const D=_({name:"implementationPlan"}),u=Object.assign(D,{props:{detailData:Object},setup(a){return(j,b)=>{const n=r("el-descriptions-item"),d=r("el-descriptions");return a.detailData.operation?(c(),p(d,{key:0,column:2,border:""},{default:o(()=>[i(n,{label:"\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4"},{default:o(()=>{var e,t;return[l(s(((t=(e=a.detailData.operation)==null?void 0:e.projectStartDate)==null?void 0:t.split(" ")[0])||"-"),1)]}),_:1}),i(n,{label:"\u521D\u9A8C\u65F6\u95F4"},{default:o(()=>{var e,t;return[l(s(((t=(e=a.detailData.operation)==null?void 0:e.initialInspectionDate)==null?void 0:t.split(" ")[0])||"-"),1)]}),_:1}),i(n,{label:"\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4"},{default:o(()=>{var e,t;return[l(s(((t=(e=a.detailData.operation)==null?void 0:e.startTrialOperationDate)==null?void 0:t.split(" ")[0])||"-"),1)]}),_:1}),i(n,{label:"\u7EC8\u9A8C\u65F6\u95F4"},{default:o(()=>{var e,t;return[l(s(((t=(e=a.detailData.operation)==null?void 0:e.finalInspectionDate)==null?void 0:t.split(" ")[0])||"-"),1)]}),_:1})]),_:1})):(c(),p(f,{key:1}))}}}),N=m(u,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/implementationPlan.vue"]]);export{N as default}; +import{_ as m,d as _,e as r,f as c,I as p,l as o,k as i,m as l,t as s}from"./index.096886c6.js";import{N as f}from"./index.9e3741ad.js";const u=_({name:"implementationPlan"}),D=Object.assign(u,{props:{detailData:Object},setup(a){return(b,j)=>{const n=r("el-descriptions-item"),d=r("el-descriptions");return a.detailData.operation?(c(),p(d,{key:0,column:2,border:""},{default:o(()=>[i(n,{label:"\u9879\u76EE\u5F00\u5DE5\u65F6\u95F4"},{default:o(()=>{var e,t;return[l(s(((t=(e=a.detailData.operation)==null?void 0:e.projectStartDate)==null?void 0:t.split(" ")[0])||"-"),1)]}),_:1}),i(n,{label:"\u521D\u9A8C\u65F6\u95F4"},{default:o(()=>{var e,t;return[l(s(((t=(e=a.detailData.operation)==null?void 0:e.initialInspectionDate)==null?void 0:t.split(" ")[0])||"-"),1)]}),_:1}),i(n,{label:"\u8BD5\u8FD0\u884C\u5F00\u59CB\u65F6\u95F4"},{default:o(()=>{var e,t;return[l(s(((t=(e=a.detailData.operation)==null?void 0:e.startTrialOperationDate)==null?void 0:t.split(" ")[0])||"-"),1)]}),_:1}),i(n,{label:"\u7EC8\u9A8C\u65F6\u95F4"},{default:o(()=>{var e,t;return[l(s(((t=(e=a.detailData.operation)==null?void 0:e.finalInspectionDate)==null?void 0:t.split(" ")[0])||"-"),1)]}),_:1})]),_:1})):(c(),p(f,{key:1}))}}}),x=m(D,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/implementationPlan.vue"]]);export{x as default}; diff --git a/lishui2/web/dist/assets/importProjectDialog.0db14417.js b/lishui2/web/dist/assets/importProjectDialog.0db14417.js new file mode 100644 index 0000000..dec0e40 --- /dev/null +++ b/lishui2/web/dist/assets/importProjectDialog.0db14417.js @@ -0,0 +1 @@ +var _=(m,v,n)=>new Promise((x,d)=>{var c=t=>{try{l(n.next(t))}catch(f){d(f)}},p=t=>{try{l(n.throw(t))}catch(f){d(f)}},l=t=>t.done?x(t.value):Promise.resolve(t.value).then(c,p);l((n=n.apply(m,v)).next())});import{_ as P,d as B,D,r as w,L as I,e as r,f as S,I as U,l as e,k as a,m as b,j as u,h as V,p as $}from"./index.096886c6.js";import{h as N,i as q,b as L,f as R}from"./uploadAction.03c39815.js";import{c as M}from"./annualPlanStore.bedc2475.js";const O=V("div",{class:"el-upload__tip"},"\u652F\u6301.xlsx\u3001.xls",-1),T=B({name:"importProjectDialog"}),W=Object.assign(T,{props:{visible:{type:Boolean,default:!1,required:!0}},emits:["close"],setup(m,{emit:v}){const{proxy:n}=$(),x=D.dictStore.uploadUrl,d=m,c=v,p=w(),l=w({}),t={file:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u6587\u4EF6",trigger:"blur"}]},f=i=>_(this,null,function*(){!i||(yield i.validate(o=>_(this,null,function*(){o&&(yield M(l.value.file),n.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),c("close",!0))})))});return I(()=>d.visible,i=>_(this,null,function*(){i?console.log(i):p.value.resetFields()})),(i,o)=>{const g=r("el-button"),y=r("el-upload"),h=r("el-form-item"),k=r("el-col"),j=r("el-row"),C=r("el-form"),F=r("el-dialog");return S(),U(F,{"model-value":m.visible,title:"\u5BFC\u5165",width:"600px","destroy-on-close":"",onClose:o[3]||(o[3]=s=>c("close"))},{footer:e(()=>[a(g,{type:"primary",onClick:o[1]||(o[1]=s=>f(p.value))},{default:e(()=>[b(" \u63D0\u4EA4 ")]),_:1}),a(g,{onClick:o[2]||(o[2]=s=>c("close"))},{default:e(()=>[b(" \u5173\u95ED ")]),_:1})]),default:e(()=>[a(C,{ref_key:"formRef",ref:p,model:l.value,rules:t,"label-width":"120px","label-suffix":":"},{default:e(()=>[a(j,null,{default:e(()=>[a(k,{span:24},{default:e(()=>[a(h,{label:"\u5BFC\u5165\u6587\u4EF6",prop:"file"},{default:e(()=>[a(y,{"file-list":l.value.file,"onUpdate:fileList":o[0]||(o[0]=s=>l.value.file=s),class:"w-full",action:u(x),limit:1,"on-success":s=>u(N)(s,l.value.file,!0),"on-error":u(q),"on-preview":u(L),"before-upload":s=>u(R)(s,{types:["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]}),accept:"application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},{tip:e(()=>[O]),default:e(()=>[a(g,{type:"primary"},{default:e(()=>[b("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","on-preview","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),H=P(W,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/projectStoreManage/components/importProjectDialog.vue"]]);export{H as default}; diff --git a/lishui2/web/dist/assets/importProjectDialog.a2535567.js b/lishui2/web/dist/assets/importProjectDialog.a2535567.js deleted file mode 100644 index 2061b5e..0000000 --- a/lishui2/web/dist/assets/importProjectDialog.a2535567.js +++ /dev/null @@ -1 +0,0 @@ -var _=(m,v,n)=>new Promise((x,d)=>{var c=t=>{try{l(n.next(t))}catch(f){d(f)}},p=t=>{try{l(n.throw(t))}catch(f){d(f)}},l=t=>t.done?x(t.value):Promise.resolve(t.value).then(c,p);l((n=n.apply(m,v)).next())});import{_ as P,d as F,D as B,r as w,L as I,e as r,f as N,I as U,l as e,k as a,m as g,j as u,h as V,p as $}from"./index.11dc4694.js";import{h as S,i as q,b as L,f as M}from"./uploadAction.c865409e.js";import{c as R}from"./annualPlanStore.eb2b9f49.js";const J=V("div",{class:"el-upload__tip"},"\u652F\u6301.xlsx\u3001.xls",-1),K=F({name:"importProjectDialog"}),O=Object.assign(K,{props:{visible:{type:Boolean,default:!1,required:!0}},emits:["close"],setup(m,{emit:v}){const{proxy:n}=$(),x=B.dictStore.uploadUrl,d=m,c=v,p=w(),l=w({}),t={file:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u6587\u4EF6",trigger:"blur"}]},f=i=>_(this,null,function*(){!i||(yield i.validate(o=>_(this,null,function*(){o&&(yield R(l.value.file),n.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),c("close",!0))})))});return I(()=>d.visible,i=>_(this,null,function*(){i?console.log(i):p.value.resetFields()})),(i,o)=>{const b=r("el-button"),y=r("el-upload"),h=r("el-form-item"),j=r("el-col"),k=r("el-row"),C=r("el-form"),D=r("el-dialog");return N(),U(D,{"model-value":m.visible,title:"\u5BFC\u5165",width:"600px","destroy-on-close":"",onClose:o[3]||(o[3]=s=>c("close"))},{footer:e(()=>[a(b,{type:"primary",onClick:o[1]||(o[1]=s=>f(p.value))},{default:e(()=>[g(" \u63D0\u4EA4 ")]),_:1}),a(b,{onClick:o[2]||(o[2]=s=>c("close"))},{default:e(()=>[g(" \u5173\u95ED ")]),_:1})]),default:e(()=>[a(C,{ref_key:"formRef",ref:p,model:l.value,rules:t,"label-width":"120px","label-suffix":":"},{default:e(()=>[a(k,null,{default:e(()=>[a(j,{span:24},{default:e(()=>[a(h,{label:"\u5BFC\u5165\u6587\u4EF6",prop:"file"},{default:e(()=>[a(y,{"file-list":l.value.file,"onUpdate:fileList":o[0]||(o[0]=s=>l.value.file=s),class:"w-full",action:u(x),limit:1,"on-success":s=>u(S)(s,l.value.file,!0),"on-error":u(q),"on-preview":u(L),"before-upload":s=>u(M)(s,{types:["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]}),accept:"application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},{tip:e(()=>[J]),default:e(()=>[a(b,{type:"primary"},{default:e(()=>[g("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","on-preview","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}}),G=P(O,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/components/importProjectDialog.vue"]]);export{G as default}; diff --git a/lishui2/web/dist/assets/index.001969be.js b/lishui2/web/dist/assets/index.001969be.js deleted file mode 100644 index 30016f9..0000000 --- a/lishui2/web/dist/assets/index.001969be.js +++ /dev/null @@ -1 +0,0 @@ -var F=Object.defineProperty;var x=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var A=(l,a,e)=>a in l?F(l,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[a]=e,w=(l,a)=>{for(var e in a||(a={}))U.call(a,e)&&A(l,e,a[e]);if(x)for(var e of x(a))z.call(a,e)&&A(l,e,a[e]);return l};var I=(l,a,e)=>new Promise((c,d)=>{var j=i=>{try{p(e.next(i))}catch(m){d(m)}},_=i=>{try{p(e.throw(i))}catch(m){d(m)}},p=i=>i.done?c(i.value):Promise.resolve(i.value).then(j,_);p((e=e.apply(l,a)).next())});import{_ as B,d as G,u as M,b as V,r as v,a3 as P,o as W,e as s,f as y,g as k,i as h,k as t,l as o,m as q,F as Y}from"./index.11dc4694.js";import{c as J}from"./unitSelfEvaluation.a1b9f52e.js";const K=["onClick"],H=["onClick"],Q=G({beforeRouteEnter(l,a,e){l.query.title&&(l.meta.title=l.query.title),e()}}),X=Object.assign(Q,{__name:"index",setup(l){const a=M(),e=V({projectName:void 0}),c=v(),d=v(0),j=V([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrgName",prop:"buildOrgName",minWidth:"80",showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",key:"projectTypeName",prop:"projectTypeName",width:"100"},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:"80"},{label:"\u81EA\u8BC4\u603B\u5206",key:"selfAppraisalTotalScore",prop:"selfAppraisalTotalScore",width:"80",render:r=>P("span",r.selfAppraisalScoreTime?r.selfAppraisalTotalScore:"-")},{label:"\u6253\u5206\u65F6\u95F4",key:"selfAppraisalScoreTime",prop:"selfAppraisalScoreTime",width:"150",render:r=>P("span",r.selfAppraisalScoreTime||"-")},{label:"\u64CD\u4F5C",slot:"action",width:"110",fixed:"right"}]),_=v([]),p=(...f)=>I(this,[...f],function*(r=c.value.pageParams){const b=yield J(u.value,a.query.planId,w(w({},r),e));_.value=b.data.records,d.value=b.data.total}),i=()=>{p()},m=()=>{e.projectName=void 0,c.value.pageParams.pageNumber=1,c.value.pageParams.pageSize=10,p()},u=v("1"),D=r=>{u.value=r,p()};return W(()=>{p()}),(r,f)=>{const b=s("el-input"),g=s("el-form-item"),C=s("el-col"),N=s("el-button"),E=s("el-row"),O=s("el-form"),S=s("el-card"),T=s("el-tab-pane"),L=s("el-tabs"),R=s("table-list");return y(),k(Y,null,[h('
'),h(' '),h(" \u81EA\u8BC4\u65F6\u95F4\uFF1A{{ data?.[0]?.selfAppraisalStart }}~{{ data?.[0]?.selfAppraisalEnd }}"),h("
"),t(S,{class:"search mb-16"},{default:o(()=>[t(O,{"label-suffix":":",model:e,size:"small"},{default:o(()=>[t(E,{gutter:16},{default:o(()=>[t(C,{span:8},{default:o(()=>[t(g,{label:"\u9879\u76EE\u540D\u79F0"},{default:o(()=>[t(b,{modelValue:e.projectName,"onUpdate:modelValue":f[0]||(f[0]=n=>e.projectName=n),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(C,{span:16},{default:o(()=>[t(g,{class:"btn"},{default:o(()=>[t(N,{type:"primary",onClick:i},{default:o(()=>[q("\u67E5\u8BE2")]),_:1}),t(N,{onClick:m},{default:o(()=>[q("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(S,{class:"tab-card"},{header:o(()=>[t(L,{modelValue:u.value,"onUpdate:modelValue":f[1]||(f[1]=n=>u.value=n),onTabChange:D},{default:o(()=>[t(T,{label:"\u5F85\u8BC4\u4EF7",name:"1"}),t(T,{label:"\u5DF2\u8BC4\u4EF7",name:"2"})]),_:1},8,["modelValue"])]),default:o(()=>[t(R,{ref_key:"tableListRef",ref:c,column:j,data:_.value,total:d.value,onGetTableData:p},{action:o(({scope:n})=>[u.value==="1"&&n.row.canSelfAppraisal?(y(),k("a",{key:0,onClick:$=>r.$router.push({name:"unitSelfGiveScore",query:{projectCode:n.row.projectCode,projectId:n.row.projectId,appraisalId:n.row.appraisalId}})},"\u81EA\u8BC4\u6253\u5206",8,K)):(y(),k("a",{key:1,onClick:$=>r.$router.push({name:"unitSelfScoreDetail",query:{projectCode:n.row.projectCode,projectId:n.row.projectId,appraisalId:n.row.appraisalId}})},"\u8BE6\u60C5",8,H))]),_:1},8,["column","data","total"])]),_:1})],64)}}}),te=B(X,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/unitSelfEvaluation/unitSelfProjectList/index.vue"]]);export{te as default}; diff --git a/lishui2/web/dist/assets/index.006b4ac2.js b/lishui2/web/dist/assets/index.006b4ac2.js deleted file mode 100644 index 672ca4e..0000000 --- a/lishui2/web/dist/assets/index.006b4ac2.js +++ /dev/null @@ -1 +0,0 @@ -var V=Object.defineProperty;var j=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var x=(o,e,a)=>e in o?V(o,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[e]=a,v=(o,e)=>{for(var a in e||(e={}))A.call(e,a)&&x(o,a,e[a]);if(j)for(var a of j(e))O.call(e,a)&&x(o,a,e[a]);return o};var S=(o,e,a)=>new Promise((u,i)=>{var s=r=>{try{m(a.next(r))}catch(n){i(n)}},c=r=>{try{m(a.throw(r))}catch(n){i(n)}},m=r=>r.done?u(r.value):Promise.resolve(r.value).then(s,c);m((a=a.apply(o,e)).next())});import{_ as $,d as B,r as y,b as T,o as z,e as p,f as E,g as L,k as t,l,h as b,m as N}from"./index.11dc4694.js";import{l as M}from"./materialSupplement.a385de89.js";const R={class:"flex"},U={class:"flex justify-between"},Y=b("span",null,"\u5217\u8868",-1),q=["onClick"],F=B({name:"materialSupplement"}),G=Object.assign(F,{setup(o){const e=y(),a=T([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:100,showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrgName",prop:"buildOrgName"},{label:"\u9879\u76EE\u7C7B\u578B",key:"projectTypeName",prop:"projectTypeName",width:120},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:80},{label:"\u81EA\u8BC4\u5F97\u5206",key:"selfAppraisalTotalScore",prop:"selfAppraisalTotalScore",width:80},{label:"\u590D\u8BC4\u5F97\u5206",key:"reAppraisalTotalScore",prop:"reAppraisalTotalScore",width:80},{label:"\u4E13\u5BB6\u8BC4\u5BA1",key:"verifyStar",prop:"verifyStar",width:80},{label:"\u64CD\u4F5C",slot:"action",fixed:"right",width:"80"}]),u=y([]),i=y(0),s=T({projectName:void 0}),c=(...d)=>S(this,[...d],function*(n=e.value.pageParams){const _=yield M(v(v({},n),s));u.value=_.data.records,i.value=_.data.total}),m=()=>{e.value.pageParams.pageNumber=1,c()},r=()=>{e.value.pageParams.pageNumber=1,s.projectName=void 0,c()};return z(()=>{c()}),(n,d)=>{const _=p("el-input"),k=p("el-form-item"),w=p("el-col"),h=p("el-button"),C=p("el-row"),D=p("el-form"),g=p("el-card"),P=p("table-list");return E(),L("div",null,[t(g,{class:"w-full search"},{default:l(()=>[t(D,{model:s,size:"small","label-suffix":":"},{default:l(()=>[t(C,{gutter:16},{default:l(()=>[t(w,{span:8},{default:l(()=>[t(k,{label:"\u9879\u76EE\u540D\u79F0"},{default:l(()=>[t(_,{modelValue:s.projectName,"onUpdate:modelValue":d[0]||(d[0]=f=>s.projectName=f),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(w,{span:16},{default:l(()=>[t(k,{class:"btn"},{default:l(()=>[b("div",R,[t(h,{type:"primary",onClick:m},{default:l(()=>[N("\u67E5\u8BE2")]),_:1}),t(h,{onClick:r},{default:l(()=>[N("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(g,{class:"mt-8"},{header:l(()=>[b("div",U,[Y,t(h,{icon:"Plus",type:"primary",size:"small",onClick:d[1]||(d[1]=f=>n.$router.push({name:"materialSupplementDetail"}))},{default:l(()=>[N("\u65B0\u589E")]),_:1})])]),default:l(()=>[t(P,{ref_key:"tableListRef",ref:e,column:a,data:u.value,total:i.value,onGetTableData:c},{action:l(({scope:f})=>[b("a",{onClick:J=>n.$router.push({name:"materialSupplementDetail",query:{id:f.row.id,projectName:s.projectName,pageNumber:e.value.pageParams.pageNumber}})},"\u8BE6\u60C5",8,q)]),_:1},8,["column","data","total"])]),_:1})])}}}),I=$(G,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/materialSupplement/index.vue"]]);export{I as default}; diff --git a/lishui2/web/dist/assets/index.014102b8.js b/lishui2/web/dist/assets/index.014102b8.js deleted file mode 100644 index 797ff8f..0000000 --- a/lishui2/web/dist/assets/index.014102b8.js +++ /dev/null @@ -1 +0,0 @@ -var W=Object.defineProperty;var A=Object.getOwnPropertySymbols;var X=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable;var L=(t,s,e)=>s in t?W(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,R=(t,s)=>{for(var e in s||(s={}))X.call(s,e)&&L(t,e,s[e]);if(A)for(var e of A(s))Y.call(s,e)&&L(t,e,s[e]);return t};var V=(t,s,e)=>new Promise((y,d)=>{var f=_=>{try{h(e.next(_))}catch(b){d(b)}},N=_=>{try{h(e.throw(_))}catch(b){d(b)}},h=_=>_.done?y(_.value):Promise.resolve(_.value).then(f,N);h((e=e.apply(t,s)).next())});import{z as O,_ as Z,d as ee,b as P,r as g,o as ae,e as i,f as c,g as u,k as l,l as o,h as p,m as j,I as $,F as U,J as te,t as D,x as le,y as oe,p as se}from"./index.11dc4694.js";import{N as ne}from"./index.90958342.js";const ce=t=>O.get("/api/v1/file-manage/project-file/list",{params:t}),re=t=>O.post(`/api/v1/file-manage/project-file/want-read/${t}`),de=t=>O.post(`/api/v1/file-manage/project-file/download/${t}`,void 0,{responseType:"blob"});const F=t=>(le("data-v-d3aff58c"),t=t(),oe(),t),ie={class:"flex"},ue=F(()=>p("div",{class:"flex justify-between"},[p("span",null,"\u5217\u8868")],-1)),pe={class:"card-list-item"},_e=["onClick"],me={key:1,class:"mb-8"},fe={class:"info"},ve=F(()=>p("span",{class:"label"},"\u9879\u76EE\u7F16\u53F7\uFF1A",-1)),ge={class:"value"},ye={class:"flex justify-between"},he={key:1},be={class:"text-center"},ke={key:0,class:"text-success"},we={key:1,class:"text-danger"},xe={key:2},Ce=ee({name:"projectArchives"}),je=Object.assign(Ce,{setup(t){const{proxy:s}=se(),e=P({projectName:"",buildOrgName:""}),y=g([]),d=P({pageNumber:1,pageSize:10}),f=()=>V(this,null,function*(){const n=yield ce(R(R({},d),e));y.value=n.data.records,N.value=n.data.total}),N=g(0),h=()=>{f()},_=()=>{e.projectName=void 0,e.buildOrgName=void 0,f()},b=n=>{d.pageSize=n,d.pageNumber=1,f()},M=n=>{d.pageNumber=n,f()},q=n=>{s.$messageBox.confirm(`\u7533\u8BF7\u501F\u9605\u300A${n.projectName}\u300B\u9879\u76EE\u6863\u6848`,"\u786E\u5B9A\u501F\u9605\u5417?",{type:"warning"}).then(()=>V(this,null,function*(){yield re(n.id),s.$message.success("\u7533\u8BF7\u6210\u529F\uFF01"),yield f()}))},E=n=>V(this,null,function*(){k.value=!0,v.value="",w.value=0,z.value=setInterval(()=>{w.value<99?w.value++:clearInterval(z.value)},30);try{const r=yield de(n);w.value=100,v.value="success",clearInterval(z.value);const x=URL.createObjectURL(r),m=document.createElement("a");m.style.display="none",m.href=x,document.body.appendChild(m),m.click(),document.body.removeChild(m),window.URL.revokeObjectURL(x),setTimeout(()=>{k.value=!1},500)}catch(r){clearTimeout(z.value),v.value="exception",setTimeout(()=>{k.value=!1},500)}}),z=g(null),k=g(!1),w=g(0),v=g();return ae(()=>{f()}),(n,r)=>{const x=i("el-input"),m=i("el-form-item"),S=i("el-col"),C=i("el-button"),B=i("el-row"),J=i("el-form"),T=i("el-card"),K=i("el-divider"),G=i("el-pagination"),H=i("el-progress"),Q=i("el-dialog");return c(),u(U,null,[l(T,{class:"w-full search"},{default:o(()=>[l(J,{model:e,size:"small","label-suffix":":"},{default:o(()=>[l(B,{gutter:16},{default:o(()=>[l(S,{span:8},{default:o(()=>[l(m,{label:"\u9879\u76EE\u540D\u79F0"},{default:o(()=>[l(x,{modelValue:e.projectName,"onUpdate:modelValue":r[0]||(r[0]=a=>e.projectName=a),maxlength:"50",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(S,{span:8},{default:o(()=>[l(m,{label:"\u9879\u76EE\u5355\u4F4D"},{default:o(()=>[l(x,{modelValue:e.buildOrgName,"onUpdate:modelValue":r[1]||(r[1]=a=>e.buildOrgName=a),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),l(S,{span:8},{default:o(()=>[l(m,{class:"btn"},{default:o(()=>[p("div",ie,[l(C,{type:"primary",onClick:h},{default:o(()=>[j("\u67E5\u8BE2")]),_:1}),l(C,{onClick:_},{default:o(()=>[j("\u91CD\u7F6E")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(T,{class:"w-full mt-8"},{header:o(()=>[ue]),default:o(()=>[y.value.length?(c(),$(B,{key:0,gutter:24,class:"card-list"},{default:o(()=>[(c(!0),u(U,null,te(y.value,a=>(c(),$(S,{key:a.id,sm:12,lg:8,xl:6,class:"mb-24"},{default:o(()=>[p("div",pe,[a.canRead?(c(),u("a",{key:0,class:"title",onClick:I=>n.$router.push({name:"projectArchiveDetail",query:{id:a.id}})},D(a.projectName),9,_e)):(c(),u("div",me,D(a.projectName),1)),p("div",fe,[p("div",null,[ve,p("span",ge,D(a.pojectCode),1)])]),l(K),p("div",ye,[a.canRead?(c(),u(U,{key:1},[l(C,{icon:"view",type:"primary",onClick:I=>n.$router.push({name:"projectArchiveDetail",query:{id:a.id}})},{default:o(()=>[j("\u67E5\u770B")]),_:2},1032,["onClick"]),l(C,{icon:"download",onClick:I=>E(a.id)},{default:o(()=>[j("\u4E0B\u8F7D")]),_:2},1032,["onClick"])],64)):(c(),u(U,{key:0},[a.canApplyBorrow?(c(),$(C,{key:0,icon:"reading",plain:"",type:"primary",onClick:I=>q(a)},{default:o(()=>[j("\u7533\u8BF7\u501F\u9605")]),_:2},1032,["onClick"])):(c(),u("span",he,"\u7533\u8BF7\u501F\u9605\u5BA1\u6279\u4E2D"))],64))])])]),_:2},1024))),128))]),_:1})):(c(),$(ne,{key:1})),l(G,{currentPage:d.pageNumber,"onUpdate:currentPage":r[2]||(r[2]=a=>d.pageNumber=a),"page-size":d.pageSize,"onUpdate:pageSize":r[3]||(r[3]=a=>d.pageSize=a),background:"","page-sizes":d.pageSizes,layout:"total, sizes, prev, pager, next",total:N.value,onSizeChange:b,onCurrentChange:M},null,8,["currentPage","page-size","page-sizes","total"])]),_:1}),l(Q,{modelValue:k.value,"onUpdate:modelValue":r[4]||(r[4]=a=>k.value=a),"show-close":!1},{default:o(()=>[p("div",be,[v.value==="success"?(c(),u("p",ke,"\u4E0B\u8F7D\u6210\u529F\uFF01")):v.value==="exception"?(c(),u("p",we,"\u4E0B\u8F7D\u5931\u8D25\uFF01")):(c(),u("p",xe,"\u8D44\u6E90\u5904\u7406\u4E2D\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85...")),l(H,{type:"circle",percentage:w.value,status:v.value,class:"mt-8"},null,8,["percentage","status"])])]),_:1},8,["modelValue"])],64)}}}),Ve=Z(je,[["__scopeId","data-v-d3aff58c"],["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/recordManage/projectArchives/index.vue"]]);export{Ve as default}; diff --git a/lishui2/web/dist/assets/index.01e7e1f6.js b/lishui2/web/dist/assets/index.01e7e1f6.js new file mode 100644 index 0000000..0915566 --- /dev/null +++ b/lishui2/web/dist/assets/index.01e7e1f6.js @@ -0,0 +1 @@ +var ie=Object.defineProperty,ue=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var H=(m,d,i)=>d in m?ie(m,d,{enumerable:!0,configurable:!0,writable:!0,value:i}):m[d]=i,D=(m,d)=>{for(var i in d||(d={}))re.call(d,i)&&H(m,i,d[i]);if(A)for(var i of A(d))me.call(d,i)&&H(m,i,d[i]);return m},I=(m,d)=>ue(m,se(d));var x=(m,d,i)=>new Promise((p,c)=>{var N=s=>{try{k(i.next(s))}catch(C){c(C)}},T=s=>{try{k(i.throw(s))}catch(C){c(C)}},k=s=>s.done?p(s.value):Promise.resolve(s.value).then(N,T);k((i=i.apply(m,d)).next())});import{_ as pe,d as fe,D as ve,b as _e,r as g,e as r,f as b,g as S,k as e,l,h as w,F as U,J as K,j as ge,I as O,m as _,i as Q,a3 as ce,N as xe,p as be}from"./index.096886c6.js";import{E as Ve}from"./index.e18d4949.js";import{j as ye,k as we,l as ke,m as Ce,g as Le}from"./indicatorTemplate.fe106224.js";import De from"./tagDialog.2ad5123e.js";const Ne={class:"flex justify-between items-center"},Te=w("span",null,"\u6307\u6807\u5217\u8868",-1),he=["onClick"],Se=["onClick"],Ue=fe({name:"projectTagStore"}),$e=Object.assign(Ue,{setup(m){const{proxy:d}=be(),{indexLevelOptions:i}=ve.dictStore.globalDicts||{},p=_e({regionCode:void 0,indexName:void 0,indexLevel:void 0}),c=g(),N=g(0),T=g([]),k=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u6307\u6807\u540D\u79F0",key:"indexName",prop:"indexName",minWidth:"200",showOverflowTooltip:!0},{label:"\u6307\u6807\u7EA7\u522B",key:"indexLevel",prop:"indexLevel",width:"100",render:n=>ce("span",i[n.indexLevel])},{label:"\u521B\u5EFA\u65F6\u95F4",key:"createOn",prop:"createOn",width:"180"},{label:"\u64CD\u4F5C",slot:"action",width:"120",fixed:"right"}],s=(...a)=>x(this,[...a],function*(n=c.value.pageParams){var f;const u=yield ye(D(D({},n),p));T.value=((f=u==null?void 0:u.data)==null?void 0:f.records)||[],N.value=u.data.total||0}),C=()=>{s()},X=()=>{p.indexName=void 0,p.indexLevel=void 0,c.value.pageParams.pageNumber=1,c.value.pageParams.pageSize=10,s()},Y=n=>{p.regionCode=n.regionLevel===3?n.regionCode:void 0,c.value.pageParams.pageNumber=1,s()},$=g(!1),j=g(),o=g({additional:!1}),q=g(),Z={indexName:[{required:!0,message:"\u8BF7\u8F93\u5165"}],indexLevel:[{required:!0,message:"\u8BF7\u9009\u62E9"}],additional:[{required:!0,message:"\u8BF7\u9009\u62E9"}],indexScore:[{required:!0,message:"\u8BF7\u8F93\u5165"}],indexDetail:[{required:!0,message:"\u8BF7\u8F93\u5165"}],gradeDetail:[{required:!0,message:"\u8BF7\u8F93\u5165"}],supportMaterial:[{required:!0,message:"\u8BF7\u8F93\u5165"}]},h=g(!1),P=(n,a)=>x(this,null,function*(){if(te(),a){const u=yield we(a);o.value=I(D({},u.data),{tagIds:u.data.tags.map(f=>f.id)})}j.value=n,$.value=!0,yield xe(),q.value.clearValidate()}),ee=n=>x(this,null,function*(){!n||(yield n.validate(a=>x(this,null,function*(){if(a){h.value=!0;const u=I(D({},o.value),{regionCode:p.regionCode,additional:o.value.indexLevel===3?o.value.additional:void 0});try{yield ke(u),d.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),h.value=!1,z(!0)}catch(f){h.value=!1}}})))}),z=n=>{n&&s(),o.value={},$.value=!1},le=n=>{d.$messageBox.confirm(`\u662F\u5426\u5220\u9664${n.indexName}?`,"\u63D0\u793A\uFF01",{type:"warning"}).then(()=>x(this,null,function*(){yield Ce(n.id),d.$message.success("\u5220\u9664\u6210\u529F\uFF01"),yield s()}))},B=g(!1),ae=()=>{B.value=!1},M=g([]),te=()=>x(this,null,function*(){const n=yield Le({pageNumber:1,pageSize:1e3});M.value=n.data.records});return(n,a)=>{const u=r("el-col"),f=r("el-input"),v=r("el-form-item"),R=r("el-option"),E=r("el-select"),V=r("el-button"),F=r("el-row"),G=r("el-form"),W=r("el-card"),oe=r("table-list"),L=r("el-radio"),J=r("el-radio-group"),ne=r("el-input-number"),de=r("el-dialog");return b(),S(U,null,[e(F,{gutter:16},{default:l(()=>[e(u,{style:{"padding-right":"16px"},span:4},{default:l(()=>[e(Ve,{onGetTree:Y})]),_:1}),e(u,{span:20},{default:l(()=>[w("div",null,[e(W,{shadow:"never",class:"search mb-16"},{default:l(()=>[e(G,{"label-suffix":":",model:p,size:"small"},{default:l(()=>[e(F,{gutter:16},{default:l(()=>[e(u,{span:8},{default:l(()=>[e(v,{label:"\u6307\u6807\u540D\u79F0"},{default:l(()=>[e(f,{modelValue:p.indexName,"onUpdate:modelValue":a[0]||(a[0]=t=>p.indexName=t),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:l(()=>[e(v,{label:"\u6307\u6807\u7EA7\u522B"},{default:l(()=>[e(E,{modelValue:p.indexLevel,"onUpdate:modelValue":a[1]||(a[1]=t=>p.indexLevel=t)},{default:l(()=>[(b(!0),S(U,null,K(ge(i),(t,y)=>(b(),O(R,{key:y,value:y*1,label:t},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(u,{span:8},{default:l(()=>[e(v,{class:"btn"},{default:l(()=>[e(V,{type:"primary",onClick:C},{default:l(()=>[_("\u67E5\u8BE2")]),_:1}),e(V,{onClick:X},{default:l(()=>[_("\u91CD\u7F6E")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(W,{shadow:"never"},{header:l(()=>[w("div",Ne,[Te,w("div",null,[e(V,{type:"primary",size:"small",onClick:a[2]||(a[2]=t=>B.value=!0)},{default:l(()=>[_("\u6307\u6807\u6807\u7B7E\u7BA1\u7406")]),_:1}),e(V,{type:"primary",size:"small",icon:"Plus",onClick:a[3]||(a[3]=t=>P(1))},{default:l(()=>[_("\u65B0\u589E\u6307\u6807")]),_:1})])])]),default:l(()=>[e(oe,{ref_key:"tableListRef",ref:c,column:k,data:T.value,total:N.value,onGetTableData:s},{action:l(({scope:t})=>[w("a",{onClick:y=>P(2,t.row.id)},"\u7F16\u8F91",8,he),w("a",{class:"text-danger",onClick:y=>le(t.row)},"\u5220\u9664",8,Se)]),_:1},8,["data","total"])]),_:1})])]),_:1})]),_:1}),e(de,{title:j.value===1?"\u65B0\u589E\u6307\u6807":"\u7F16\u8F91\u6307\u6807","model-value":$.value,"close-on-click-modal":!1,onClose:z},{footer:l(()=>[e(V,{type:"primary",size:"small",loading:h.value,onClick:a[13]||(a[13]=t=>ee(q.value))},{default:l(()=>[_(" \u4FDD\u5B58 ")]),_:1},8,["loading"]),e(V,{size:"small",onClick:z},{default:l(()=>[_(" \u5173\u95ED ")]),_:1})]),default:l(()=>[e(G,{ref_key:"formRef",ref:q,model:o.value,rules:Z,"label-suffix":"\uFF1A","label-width":"140"},{default:l(()=>[e(v,{label:"\u6307\u6807\u540D\u79F0",prop:"indexName"},{default:l(()=>[e(f,{modelValue:o.value.indexName,"onUpdate:modelValue":a[4]||(a[4]=t=>o.value.indexName=t),maxlength:50,placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),e(v,{label:"\u6307\u6807\u7EA7\u522B",prop:"indexLevel"},{default:l(()=>[e(J,{modelValue:o.value.indexLevel,"onUpdate:modelValue":a[5]||(a[5]=t=>o.value.indexLevel=t),disabled:j.value===2},{default:l(()=>[e(L,{label:1},{default:l(()=>[_("\u4E00\u7EA7")]),_:1}),e(L,{label:2},{default:l(()=>[_("\u4E8C\u7EA7")]),_:1}),e(L,{label:3},{default:l(()=>[_("\u4E09\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]),_:1}),o.value.indexLevel===3?(b(),O(v,{key:0,label:"\u662F\u5426\u4E3A\u9644\u52A0\u6307\u6807",prop:"additional"},{default:l(()=>[e(J,{modelValue:o.value.additional,"onUpdate:modelValue":a[6]||(a[6]=t=>o.value.additional=t),onChange:a[7]||(a[7]=t=>o.value.indexScore=void 0)},{default:l(()=>[e(L,{label:!1},{default:l(()=>[_("\u5426")]),_:1}),e(L,{label:!0},{default:l(()=>[_("\u662F")]),_:1})]),_:1},8,["modelValue"])]),_:1})):Q("v-if",!0),e(v,{label:"\u6307\u6807\u6807\u7B7E"},{default:l(()=>[e(E,{modelValue:o.value.tagIds,"onUpdate:modelValue":a[8]||(a[8]=t=>o.value.tagIds=t),multiple:"",class:"w-full",filterable:""},{default:l(()=>[(b(!0),S(U,null,K(M.value,(t,y)=>(b(),O(R,{key:y,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),o.value.indexLevel===3?(b(),S(U,{key:1},[e(v,{label:"\u6307\u6807\u5206\u503C",prop:"indexScore"},{default:l(()=>[e(ne,{modelValue:o.value.indexScore,"onUpdate:modelValue":a[9]||(a[9]=t=>o.value.indexScore=t),max:100,min:o.value.additional?void 0:0,precision:2,placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue","min"])]),_:1}),e(v,{label:"\u6307\u6807\u7EC6\u5219",prop:"indexDetail"},{default:l(()=>[e(f,{modelValue:o.value.indexDetail,"onUpdate:modelValue":a[10]||(a[10]=t=>o.value.indexDetail=t),maxlength:1e3,type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),e(v,{label:"\u8BC4\u5206\u7EC6\u5219",prop:"gradeDetail"},{default:l(()=>[e(f,{modelValue:o.value.gradeDetail,"onUpdate:modelValue":a[11]||(a[11]=t=>o.value.gradeDetail=t),maxlength:1e3,type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1}),e(v,{label:"\u4F50\u8BC1\u6750\u6599",prop:"supportMaterial"},{default:l(()=>[e(f,{modelValue:o.value.supportMaterial,"onUpdate:modelValue":a[12]||(a[12]=t=>o.value.supportMaterial=t),maxlength:1e3,type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})],64)):Q("v-if",!0)]),_:1},8,["model"])]),_:1},8,["title","model-value"]),e(De,{visible:B.value,onClose:ae},null,8,["visible"])],64)}}}),Oe=pe($e,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/performanceEvaluation/indicatorTemplate/projectTagStore/index.vue"]]);export{Oe as default}; diff --git a/lishui2/web/dist/assets/index.e0bb93ab.js b/lishui2/web/dist/assets/index.0329896b.js similarity index 70% rename from lishui2/web/dist/assets/index.e0bb93ab.js rename to lishui2/web/dist/assets/index.0329896b.js index 94c859f..53896d0 100644 --- a/lishui2/web/dist/assets/index.e0bb93ab.js +++ b/lishui2/web/dist/assets/index.0329896b.js @@ -1 +1 @@ -import{_ as c,d as n,A as r,b as d,a3 as s,f as p,I as i}from"./index.11dc4694.js";import l from"./todoList.5d75094e.js";import"./useExportExc.3a41eaf3.js";const u=n({name:"waitMeToHandle"}),m=Object.assign(u,{setup(h){const t=r(),a=d([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"200",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrg",prop:"buildOrg",minWidth:"200",showOverflowTooltip:!0},{label:"\u7533\u62A5\u91D1\u989D\uFF08\u4E07\u5143\uFF09",key:"declaredAmount",prop:"declaredAmount",width:140},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:100},{label:"\u6D41\u7A0B\u72B6\u6001",key:"processStatusName",prop:"processStatusName",width:180,render:e=>[s("span",{class:["dot mr-4",e.processStatusName==="\u5BA1\u6838\u4E2D"?"bg-warning":e.processStatusName==="\u5BA1\u6838\u901A\u8FC7"?"bg-success":e.processStatusName==="\u88AB\u9000\u56DE"||e.processStatusName==="\u88AB\u9A73\u56DE"?"bg-danger":""]}),s("span",{class:e.processStatusName==="\u5BA1\u6838\u4E2D"?"text-warning":e.processStatusName==="\u5BA1\u6838\u901A\u8FC7"?"text-success":e.processStatusName==="\u88AB\u9000\u56DE"||e.processStatusName==="\u88AB\u9A73\u56DE"?"text-danger":""},`${e.nodeName?`${e.nodeName}-`:""}${e.processStatusName}`)]},{label:"\u53D1\u8D77\u65F6\u95F4",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"\u64CD\u4F5C",slot:"action",width:70,fixed:"right"}]),o=e=>{e.processStatusName!=="\u88AB\u9000\u56DE"?t.push({name:"handleDuringExamine",query:{instanceId:e.instCode,projectId:e.projectId,projectCode:e.projectCode,nodeId:e.nodeId,taskId:e.taskId}}):t.push({name:"handleAfterGiveBack",query:{id:e.projectId,projectCode:e.projectCode,instanceId:e.instCode,nodeId:e.nodeId,taskId:e.taskId}})};return(e,N)=>(p(),i(l,{column:a,state:"1","export-data":["projectName","buildOrgName","declareAmount","projectYear","processStatusName","processLaunchTime"],onToHandle:o},null,8,["column"]))}}),f=c(m,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/toDoCenter/waitMeToHandle/index.vue"]]);export{f as default}; +import{_ as n,d as c,A as d,b as r,a3 as a,f as p,I as i}from"./index.096886c6.js";import l from"./todoList.70f83f24.js";import"./useExportExc.8124106a.js";const u=c({name:"waitMeToHandle"}),m=Object.assign(u,{setup(h){const t=d(),s=r([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"200",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrg",prop:"buildOrg",minWidth:"200",showOverflowTooltip:!0},{label:"\u7533\u62A5\u91D1\u989D\uFF08\u4E07\u5143\uFF09",key:"declaredAmount",prop:"declaredAmount",width:140},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:100},{label:"\u6D41\u7A0B\u72B6\u6001",key:"processStatusName",prop:"processStatusName",width:180,render:e=>[a("span",{class:["dot mr-4",e.processStatusName==="\u5BA1\u6838\u4E2D"?"bg-warning":e.processStatusName==="\u5BA1\u6838\u901A\u8FC7"?"bg-success":e.processStatusName==="\u88AB\u9000\u56DE"||e.processStatusName==="\u88AB\u9A73\u56DE"?"bg-danger":""]}),a("span",{class:e.processStatusName==="\u5BA1\u6838\u4E2D"?"text-warning":e.processStatusName==="\u5BA1\u6838\u901A\u8FC7"?"text-success":e.processStatusName==="\u88AB\u9000\u56DE"||e.processStatusName==="\u88AB\u9A73\u56DE"?"text-danger":""},`${e.nodeName?`${e.nodeName}-`:""}${e.processStatusName}`)]},{label:"\u53D1\u8D77\u65F6\u95F4",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"\u64CD\u4F5C",slot:"action",width:70,fixed:"right"}]),o=e=>{e.processStatusName!=="\u88AB\u9000\u56DE"?t.push({name:"handleDuringExamine",query:{instanceId:e.instCode,projectId:e.projectId,projectCode:e.projectCode,nodeId:e.nodeId,taskId:e.taskId}}):t.push({name:"handleAfterGiveBack",query:{id:e.projectId,projectCode:e.projectCode,instanceId:e.instCode,nodeId:e.nodeId,taskId:e.taskId}})};return(e,N)=>(p(),i(l,{column:s,state:"1","export-data":["projectName","buildOrgName","declareAmount","projectYear","processStatusName","processLaunchTime"],onToHandle:o},null,8,["column"]))}}),k=n(m,[["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/toDoCenter/waitMeToHandle/index.vue"]]);export{k as default}; diff --git a/lishui2/web/dist/assets/index.0394235d.js b/lishui2/web/dist/assets/index.0394235d.js deleted file mode 100644 index 106fa85..0000000 --- a/lishui2/web/dist/assets/index.0394235d.js +++ /dev/null @@ -1 +0,0 @@ -var h=Object.defineProperty;var i=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var f=(e,o,t)=>o in e?h(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,d=(e,o)=>{for(var t in o||(o={}))k.call(o,t)&&f(e,t,o[t]);if(i)for(var t of i(o))T.call(o,t)&&f(e,t,o[t]);return e};var _=(e,o,t)=>new Promise((n,r)=>{var l=a=>{try{c(t.next(a))}catch(s){r(s)}},u=a=>{try{c(t.throw(a))}catch(s){r(s)}},c=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,u);c((t=t.apply(e,o)).next())});import{d as D,G as N,D as I,r as p,o as j,H as E,N as g,e as v,f as M,g as b,h as x,k as m,m as w,_ as B,x as S,y as K}from"./index.11dc4694.js";const O=e=>(S("data-v-00f4a4c1"),e=e(),K(),e),R={class:"userManageMenu"},V={class:"treeTitle flexItem"},A=O(()=>x("span",{style:{"font-weight":"600"}},"\u533A\u5212\u9009\u62E9",-1)),L=D({name:"roleManage"}),G=Object.assign(L,{props:{defaultExpandAll:{type:Boolean,default:!0},defaultData:{type:Object,default:void 0},params:{type:Object,default:()=>({regionCode:331100,regionLevel:2})}},emits:["getTree"],setup(e,{emit:o}){const t=N(I.userStore).userInfo,n=e,r=p([]),l=o,u={label:"name"},c=s=>{console.log(s),l("getTree",d({},s))},a=p();return j(()=>_(this,null,function*(){const s=yield E(n.params);r.value=[s.data],n.defaultData?g(()=>{a.value&&a.value.setCurrentKey(n.defaultData.regionCode,!0),l("getTree",d({},a.value.getCurrentNode()))}):g(()=>{a.value&&a.value.setCurrentKey(t.value.regionCode,!0),l("getTree",d({},a.value.getCurrentNode()))})})),(s,H)=>{const y=v("svg-icon"),C=v("el-tree");return M(),b("div",R,[x("div",V,[m(y,{name:"location","svg-class":"svgIcon"}),w("\xA0"),A]),m(C,{ref_key:"treeRef",ref:a,class:"tree",data:r.value,"node-key":"regionCode","highlight-current":!0,props:u,"default-expand-all":e.defaultExpandAll,"current-node-key":e.defaultData&&e.defaultData.code||void 0,"expand-on-click-node":!1,onNodeClick:c},null,8,["data","default-expand-all","current-node-key"])])}}}),U=B(G,[["__scopeId","data-v-00f4a4c1"],["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/components/elTree/index.vue"]]);export{U as E}; diff --git a/lishui2/web/dist/assets/index.6224aa09.js b/lishui2/web/dist/assets/index.065d6dfb.js similarity index 70% rename from lishui2/web/dist/assets/index.6224aa09.js rename to lishui2/web/dist/assets/index.065d6dfb.js index 8a8db81..f378522 100644 --- a/lishui2/web/dist/assets/index.6224aa09.js +++ b/lishui2/web/dist/assets/index.065d6dfb.js @@ -1 +1 @@ -var be=Object.defineProperty,ke=Object.defineProperties;var he=Object.getOwnPropertyDescriptors;var te=Object.getOwnPropertySymbols;var we=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable;var re=(f,u,i)=>u in f?be(f,u,{enumerable:!0,configurable:!0,writable:!0,value:i}):f[u]=i,j=(f,u)=>{for(var i in u||(u={}))we.call(u,i)&&re(f,i,u[i]);if(te)for(var i of te(u))De.call(u,i)&&re(f,i,u[i]);return f},x=(f,u)=>ke(f,he(u));var q=(f,u,i)=>new Promise((p,h)=>{var W=C=>{try{s(i.next(C))}catch(T){h(T)}},S=C=>{try{s(i.throw(C))}catch(T){h(T)}},s=C=>C.done?p(C.value):Promise.resolve(C.value).then(W,S);s((i=i.apply(f,u)).next())});import{_ as Ce,d as Pe,G as je,D as le,u as Ve,A as xe,r as N,b as ne,o as Ne,e as y,a6 as Se,f as l,g as V,w as Re,k as r,l as o,h as b,t as E,m as _,I as v,i as k,n as qe,j as F,F as Te,ai as Ae,N as $e,x as Be,y as Ee,p as Fe,a5 as He}from"./index.11dc4694.js";import Me from"./flowRecord.3ddea846.js";import We from"./auditDialog.0e0af3f6.js";import Je from"./projectInfo.ba58ce39.js";import Ke from"./finalInfo.a5b3be7d.js";import Le from"./delayApplyInfo.e3029fae.js";import Oe from"./wantReadInfo.e3a7856f.js";import ze from"./sjFlowRecord.62ea595f.js";import Ue from"./changeInfoDialog.51fd3d95.js";import{d as Ye}from"./projectCollectionEnter.7f6e2b1f.js";import{a as Ge}from"./projectStore.913d3819.js";import"./index.3731dd96.js";import"./index.90958342.js";import"./uploadAction.c865409e.js";import"./basicInfo.ee5a56a5.js";import"./indicatorTemplate.96eacb73.js";import"./fundsInfo.e86d7416.js";import"./investmentInfo.b11f6879.js";import"./engineeringInfo.2b6e342e.js";import"./safeInfo.b90d068f.js";import"./businessInfo.067f424c.js";import"./yearPayPlanInfo.2efa027d.js";import"./filesInfo.b6f27b63.js";import"./remarkInfo.660c5f04.js";import"./applications.813f8602.js";import"./customModule.2cba4219.js";import"./provincialInfo.2ca5ef2e.js";import"./index.f58f6803.js";import"./index.682be1ab.js";import"./delayApply.5df27165.js";const Qe=f=>(Be("data-v-c5c165d9"),f=f(),Ee(),f),Xe={class:"footerPage"},Ze={class:"card-header relative"},es={class:"flex justify-between"},ss={class:"flex-1"},as={class:"font-bold"},os={class:"mt-8 search"},ts={key:1},rs={class:"footer"},ls={key:0,class:"flex justify-between absolute bottom-0 botBtn"},ns={key:0,class:"text-12 font-bold"},is={key:1,class:"flex items-center"},ds={key:2,class:"flex items-center"},us={class:"el-dropdown-link"},cs={class:"flex items-center more"},ps=Qe(()=>b("span",null,"\u66F4\u591A",-1)),fs={key:1,class:"flex justify-center absolute bottom-0 botBtn"},ms=Pe({name:"handleDuringExamine"}),vs=Object.assign(ms,{setup(f){const u=je(le.userStore).userInfo||{},{proxy:i}=Fe(),p=Ve(),h=xe(),W=N(),S=N(),s=N({processProgressVo:{progressInfo:[]}}),C=a=>q(this,null,function*(){const e=yield He(x(j({},p.query),{taskId:a||p.query.taskId}));if(e.data.status==="\u88AB\u64A4\u56DE"){h.go(-1);return}s.value=x(j({},e.data),{processProgressVo:x(j({},e.data.processProgressVo),{progressInfo:T(e.data.processProgressVo.progressInfo)})}),W.value=ie(s.value.processProgressVo.progressInfo),S.value=de(s.value.processProgressVo.progressInfo)}),T=a=>(a.forEach(e=>{if(e.children){const c=[],d=[];e.children.forEach(t=>{c.includes(t.nodeId)?(d.find(m=>m.nodeId===t.nodeId).list.push(t),d.find(m=>m.nodeId===t.nodeId).userIds.push(t.userId)):(c.push(t.nodeId),d.push({nodeId:t.nodeId,approvalMode:t.approvalMode,name:t.name,nodeType:t.nodeType,list:[j({},t)],userIds:[t.userId]}))}),e.children=d}else e.userIds=[e.userId]}),a),ie=a=>{var c,d;const e=a.map(t=>x(j({},t),{children:t.children?t.children.filter(m=>m.nodeType!=="CC"):void 0}));return((d=(c=e.slice(-1)[0])==null?void 0:c.children)==null?void 0:d.slice(-1)[0])||e.slice(-1)[0]},de=a=>{var c,d;const e=a.map(t=>x(j({},t),{children:t.children?t.children.filter(m=>m.nodeType!=="CC"):void 0}));return e.slice(-1)[0]&&e.slice(-1)[0].children&&e.slice(-1)[0].children.length>1?e.slice(-1)[0].children.slice(-2,-1)[0]:(d=(c=e.slice(-2,-1)[0])==null?void 0:c.children)!=null&&d.length?e.slice(-2,-1)[0].children.slice(-1)[0]:e.slice(-2,-1)[0]},g=ne({visible:!1,title:void 0,taskId:void 0,action:void 0}),H=(a,e)=>q(this,null,function*(){g.visible=!0,g.title=a,g.taskId=p.query.taskId,g.action=e,g.constructionSuggestions=s.value.constructionSuggestions,g.projectCode=n.value.projectCode}),ue=()=>{g.visible=!1},O=()=>{i.$messageBox.confirm("\u662F\u5426\u64A4\u56DE\u8BE5\u610F\u89C1?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>q(this,null,function*(){const a=yield Ae({instanceId:p.query.instanceId,projectId:p.query.projectId,projectCode:p.query.projectCode,action:"WITHDRAW",taskId:p.query.taskId});a.data==="TASKID_ERROR"?(i.$message.warning("\u5F53\u524D\u5BA1\u6279\u4EFB\u52A1\u6709\u53D8\u52A8\uFF0C\u8BF7\u8FD4\u56DE\u5F85\u6211\u5904\u7406\u5217\u8868\uFF01"),h.push({name:"waitMeToHandle"})):(i.$message.success("\u64A4\u56DE\u6210\u529F\uFF01"),a.data&&h.push({query:x(j({},p.query),{taskId:a.data})}),yield $e(),K(a.data))}))},ce=()=>{var e,c,d,t,m,P;let a=S.value&&((d=(c=(e=S.value)==null?void 0:e.list)==null?void 0:c.find(w=>w.userId===u.value.employeeCode))==null?void 0:d.taskId)||S.value.taskId;if(a==="root"){const w=(m=(t=s.value.processProgressVo.progressInfo)==null?void 0:t[1])==null?void 0:m.children;if(((P=w[0])==null?void 0:P.approvalMode)==="AND"){const R=w[0].list.filter($=>$.result&&$.userId===u.value.employeeCode);a=(R==null?void 0:R.length)&&R[0].taskId||"root"}}return a},J=()=>!(s.value.processProgressVo.processDefName==="\u90E8\u95E8\u8054\u5408\u5BA1\u6279\u6D41\u7A0B"&&ce()==="root")&&s.value.canWithdraw,n=N({}),pe=()=>q(this,null,function*(){var e,c;const a=yield Ge(p.query.projectCode);n.value=a.data,n.value.baseHistorProjs=((c=(e=a.data)==null?void 0:e.baseHistorProjId)==null?void 0:c.split("\uFF1B").map((d,t)=>{var m,P;return{baseProjId:d,baseProjName:(m=a.data)==null?void 0:m.baseHistorProjName.split("\uFF1B")[t],baseProjSetYear:(P=a.data)==null?void 0:P.baseHistorProjYear.split("\uFF1B")[t]}}))||[]}),K=a=>{pe(),C(a),z.value=!1},fe=()=>{var a,e;h.push({name:"stamp",query:{projectId:p.query.projectId,projectCode:p.query.projectCode,instanceId:p.query.instanceId,taskId:p.query.taskId,fileId:n.value.pretrialFileId,instName:(e=(a=s.value)==null?void 0:a.processProgressVo)==null?void 0:e.processDefName}})},z=N(!0),A=N("1"),me=a=>{A.value=a},M=ne({visible:!1,id:p.query.projectId}),ve=()=>{M.visible=!0},U=N([]);return Ne(()=>q(this,null,function*(){K(),U.value=(yield Ye()).data,yield le.countStore.setCountStore()})),(a,e)=>{var G,Q,X,Z;const c=y("el-form-item"),d=y("el-col"),t=y("el-row"),m=y("el-form"),P=y("svg-icon"),w=y("el-card"),R=y("el-alert"),$=y("el-tab-pane"),_e=y("el-tabs"),D=y("el-button"),Y=y("el-dropdown-item"),ge=y("el-dropdown-menu"),ye=y("el-dropdown"),Ie=Se("loading");return l(),V(Te,null,[Re((l(),V("div",Xe,[r(w,{class:"mb-16",shadow:"never"},{default:o(()=>{var I,ee,se,ae,oe;return[b("div",Ze,[b("div",es,[b("div",ss,[b("p",as,E(n.value.projectName)+"\u7684"+E(s.value.processProgressVo.processDefName),1),b("div",os,[r(m,{"label-suffix":":"},{default:o(()=>[r(t,{gutter:24},{default:o(()=>[r(d,{span:8},{default:o(()=>[r(c,{label:"\u53D1\u8D77\u4EBA"},{default:o(()=>{var B;return[_(E((B=s.value.processProgressVo.progressInfo.find(L=>L.nodeId==="root"))==null?void 0:B.user.userName),1)]}),_:1})]),_:1}),r(d,{span:8},{default:o(()=>[r(c,{label:"\u4E3B\u7BA1\u5355\u4F4D"},{default:o(()=>{var B;return[_(E((B=s.value.processProgressVo.progressInfo.find(L=>L.nodeId==="root"))==null?void 0:B.user.orgName),1)]}),_:1})]),_:1}),r(d,{span:8},{default:o(()=>[r(c,{label:"\u53D1\u8D77\u65F6\u95F4"},{default:o(()=>[_(E(s.value.processProgressVo.startTime),1)]),_:1})]),_:1})]),_:1})]),_:1})])]),r(P,{name:`${((I=s.value)==null?void 0:I.status)==="\u5BA1\u6838\u4E2D"?"underReview":((ee=s.value)==null?void 0:ee.status)==="\u5BA1\u6838\u901A\u8FC7"?"beApproved":((se=s.value)==null?void 0:se.status)==="\u88AB\u9A73\u56DE"?"beRejected":((ae=s.value)==null?void 0:ae.status)==="\u88AB\u64A4\u56DE"?"beWithdraw":((oe=s.value)==null?void 0:oe.status)==="\u88AB\u9000\u56DE"?"beBack":""}`,style:{width:"160px",height:"132px",right:"-20px"},class:"absolute top-2/4 -translate-y-1/2"},null,8,["name"])])])]}),_:1}),s.value.isChange?(l(),v(R,{key:0,type:"info","show-icon":"",style:{"margin-bottom":"16px"},closable:!1},{title:o(()=>[b("p",null,[_("\u6E29\u99A8\u63D0\u793A\uFF1A\u8BE5\u6D41\u7A0B\u4E3A\u590D\u5BA1\u6D41\u7A0B\uFF0C"),b("a",{onClick:ve},"\u70B9\u51FB\u67E5\u770B"),_(" \u8BE5\u9879\u76EE\u8C03\u6574\u7684\u4FE1\u606F\u4EE5\u53CA\u5BA1\u6838\u610F\u89C1")])]),_:1})):k("v-if",!0),((G=n.value)==null?void 0:G.id)&&s.value.processProgressVo.processDefName==="\u7533\u8BF7\u5EF6\u671F\u5BA1\u6279\u6D41\u7A0B"?(l(),v(w,{key:1,class:"mb-16"},{default:o(()=>[r(Le,{"detail-data":n.value},null,8,["detail-data"])]),_:1})):((Q=n.value)==null?void 0:Q.id)&&s.value.processProgressVo.processDefName==="\u7533\u8BF7\u501F\u9605\u5BA1\u6279\u6D41\u7A0B"?(l(),v(w,{key:2,class:"mb-16"},{default:o(()=>[r(Oe,{"detail-data":n.value},null,8,["detail-data"])]),_:1})):((X=n.value)==null?void 0:X.id)&&s.value.processProgressVo.processDefName==="\u9A8C\u6536\u7533\u62A5\u5BA1\u6279\u6D41\u7A0B"?(l(),v(w,{key:3,shadow:"never",class:"mb-16"},{default:o(()=>[r(Ke,{"detail-data":n.value},null,8,["detail-data"])]),_:1})):(l(),v(Je,{key:4,"detail-data":n.value,"dictionary-list":U.value,class:"mb-16"},null,8,["detail-data","dictionary-list"])),r(w,{class:qe(`relative pb-32 flowCard ${n.value.area==="\u5E02\u672C\u7EA7"&&n.value.declareAmount>=1e3&&s.value.processProgressVo.processDefName==="\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B"?"tab-card":""}`),shadow:"never"},{header:o(()=>[n.value.area==="\u5E02\u672C\u7EA7"&&n.value.declareAmount>=1e3&&s.value.processProgressVo.processDefName==="\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B"?(l(),v(_e,{key:0,modelValue:A.value,"onUpdate:modelValue":e[0]||(e[0]=I=>A.value=I),onTabChange:me},{default:o(()=>[r($,{label:"\u6D41\u7A0B\u8BB0\u5F55",name:"1"}),r($,{label:"\u7701\u7EA7\u90E8\u95E8\u8054\u5BA1\u6D41\u7A0B\u8BB0\u5F55",name:"2"})]),_:1},8,["modelValue"])):(l(),V("span",ts,"\u6D41\u7A0B\u8BB0\u5F55"))]),default:o(()=>[A.value==="1"?(l(),v(Me,{key:0,"flow-data":s.value.processProgressVo.progressInfo},null,8,["flow-data"])):A.value==="2"?(l(),v(m,{key:1,"label-suffix":":"},{default:o(()=>[r(ze,{"flow-data":n.value.sjlsResult?JSON.parse(n.value.sjlsResult):[]},null,8,["flow-data"])]),_:1})):k("v-if",!0)]),_:1},8,["class"]),b("div",rs,[((Z=s.value)==null?void 0:Z.status)==="\u5BA1\u6838\u4E2D"&&F(p).name==="handleDuringExamine"?(l(),V("div",ls,[b("div",null,[n.value.area==="\u5E02\u672C\u7EA7"&&n.value.declareAmount>=1e3&&s.value.processProgressVo.processDefName==="\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B"?(l(),V("p",ns,"\u6839\u636E\u8054\u5BA1\u610F\u89C1\uFF0C\u8BE5\u9879\u76EE\u7684\u5EFA\u8BBE\u65B9\u6848\u901A\u8FC7\u60C5\u51B5\u4E3A\uFF1A")):k("v-if",!0),s.value.isHighLine&&F(u).regionCode==="331100"&&n.value.areaCode!=="331100"&&s.value.processProgressVo.processDefName==="\u5EFA\u8BBE\u65B9\u6848\u5BA1\u6279\u6D41\u7A0B"&&s.value.canPass?(l(),V("div",is,[s.value.canPass?(l(),v(D,{key:0,type:"primary",onClick:e[1]||(e[1]=I=>H("\u901A\u8FC7","PASS"))},{default:o(()=>[_("\u610F\u89C1\u6D41\u8F6C")]),_:1})):k("v-if",!0),r(D,{onClick:e[2]||(e[2]=I=>F(h).go(-1))},{default:o(()=>[_("\u8FD4\u56DE")]),_:1})])):(l(),V("div",ds,[s.value.canPass?(l(),v(D,{key:0,type:"primary",onClick:e[3]||(e[3]=I=>H("\u901A\u8FC7","PASS"))},{default:o(()=>[_("\u901A\u8FC7")]),_:1})):k("v-if",!0),s.value.canSeal?(l(),v(D,{key:1,type:"primary",onClick:fe},{default:o(()=>[_("\u76D6\u7AE0\u5E76\u901A\u8FC7")]),_:1})):k("v-if",!0),s.value.canReject?(l(),v(D,{key:2,plain:"",type:"danger",onClick:e[4]||(e[4]=I=>H("\u9A73\u56DE","REJECT"))},{default:o(()=>[_("\u9A73\u56DE ")]),_:1})):k("v-if",!0),r(D,{onClick:e[5]||(e[5]=I=>F(h).go(-1))},{default:o(()=>[_("\u8FD4\u56DE")]),_:1}),(s.value.canPass||s.value.canReject||s.value.canSeal)&&s.value.processProgressVo.processDefName!=="\u7533\u8BF7\u5EF6\u671F\u5BA1\u6279\u6D41\u7A0B"&&s.value.processProgressVo.processDefName!=="\u7533\u8BF7\u501F\u9605\u5BA1\u6279\u6D41\u7A0B"||J()?(l(),v(ye,{key:3,size:"small",type:"primary",class:"ml-6"},{dropdown:o(()=>[r(ge,null,{default:o(()=>[J()?(l(),v(Y,{key:0},{default:o(()=>[r(D,{plain:"",type:"primary",onClick:O},{default:o(()=>[_("\u64A4\u56DE")]),_:1})]),_:1})):k("v-if",!0),(s.value.canPass||s.value.canReject||s.value.canSeal)&&s.value.processProgressVo.processDefName!=="\u7533\u8BF7\u5EF6\u671F\u5BA1\u6279\u6D41\u7A0B"&&s.value.processProgressVo.processDefName!=="\u7533\u8BF7\u501F\u9605\u5BA1\u6279\u6D41\u7A0B"?(l(),v(Y,{key:1},{default:o(()=>[r(D,{plain:"",type:"danger",onClick:e[6]||(e[6]=I=>H("\u9000\u56DE","BACK"))},{default:o(()=>[_("\u9000\u56DE")]),_:1})]),_:1})):k("v-if",!0)]),_:1})]),default:o(()=>[b("span",us,[b("span",cs,[r(P,{name:"moreIcon",class:"mr-8"}),ps])])]),_:1})):k("v-if",!0)]))])])):(l(),V("div",fs,[r(D,{onClick:e[7]||(e[7]=I=>F(h).go(-1))},{default:o(()=>[_("\u8FD4\u56DE")]),_:1}),J()?(l(),v(D,{key:0,plain:"",type:"primary",onClick:O},{default:o(()=>[_("\u64A4\u56DE")]),_:1})):k("v-if",!0)]))])])),[[Ie,z.value]]),r(We,{visible:g.visible,title:g.title,action:g.action,"task-id":g.taskId,"construction-suggestions":g.constructionSuggestions,"project-code":g.projectCode,onClose:ue,onReload:K},null,8,["visible","title","action","task-id","construction-suggestions","project-code"]),r(Ue,{id:M.id,visible:M.visible,onClose:e[8]||(e[8]=I=>M.visible=!1)},null,8,["id","visible"])],64)}}}),zs=Ce(vs,[["__scopeId","data-v-c5c165d9"],["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/toDoCenter/handleDuringExamine/index.vue"]]);export{zs as default}; +var be=Object.defineProperty,ke=Object.defineProperties;var he=Object.getOwnPropertyDescriptors;var te=Object.getOwnPropertySymbols;var we=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable;var re=(f,u,i)=>u in f?be(f,u,{enumerable:!0,configurable:!0,writable:!0,value:i}):f[u]=i,j=(f,u)=>{for(var i in u||(u={}))we.call(u,i)&&re(f,i,u[i]);if(te)for(var i of te(u))Ce.call(u,i)&&re(f,i,u[i]);return f},x=(f,u)=>ke(f,he(u));var q=(f,u,i)=>new Promise((p,h)=>{var M=D=>{try{s(i.next(D))}catch(T){h(T)}},S=D=>{try{s(i.throw(D))}catch(T){h(T)}},s=D=>D.done?p(D.value):Promise.resolve(D.value).then(M,S);s((i=i.apply(f,u)).next())});import{_ as De,d as Pe,G as je,D as le,u as Ve,A as xe,r as N,b as ne,o as Ne,e as y,a6 as Se,f as l,g as V,w as Re,k as r,l as o,h as b,t as E,m as _,I as v,i as k,n as qe,j as F,F as Te,ai as Ae,N as $e,x as Be,y as Ee,p as Fe,a5 as He}from"./index.096886c6.js";import We from"./flowRecord.5f93c8d0.js";import Me from"./auditDialog.babf1bea.js";import Le from"./projectInfo.82e36d3b.js";import Oe from"./finalInfo.c7177429.js";import ze from"./delayApplyInfo.8422f1b5.js";import Je from"./wantReadInfo.5a6487a3.js";import Ke from"./sjFlowRecord.5a3c8c56.js";import Ue from"./changeInfoDialog.40988be4.js";import{d as Ye}from"./projectCollectionEnter.32852675.js";import{a as Ge}from"./projectStore.75f32f73.js";import"./index.e0e52f0f.js";import"./index.9e3741ad.js";import"./uploadAction.03c39815.js";import"./basicInfo.4c6a1f8d.js";import"./indicatorTemplate.fe106224.js";import"./fundsInfo.f34a4c40.js";import"./investmentInfo.c5ab0c99.js";import"./engineeringInfo.de1cf51c.js";import"./safeInfo.7e658762.js";import"./businessInfo.cd7c1f83.js";import"./yearPayPlanInfo.c247c00e.js";import"./filesInfo.549eaa38.js";import"./remarkInfo.38973bb9.js";import"./applications.b4870abb.js";import"./customModule.87ebf86e.js";import"./provincialInfo.c2de2b2f.js";import"./index.a82aa709.js";import"./index.2cfb8ed3.js";import"./delayApply.98018341.js";const Qe=f=>(Be("data-v-c5c165d9"),f=f(),Ee(),f),Xe={class:"footerPage"},Ze={class:"card-header relative"},es={class:"flex justify-between"},ss={class:"flex-1"},as={class:"font-bold"},os={class:"mt-8 search"},ts={key:1},rs={class:"footer"},ls={key:0,class:"flex justify-between absolute bottom-0 botBtn"},ns={key:0,class:"text-12 font-bold"},is={key:1,class:"flex items-center"},ds={key:2,class:"flex items-center"},us={class:"el-dropdown-link"},cs={class:"flex items-center more"},ps=Qe(()=>b("span",null,"\u66F4\u591A",-1)),fs={key:1,class:"flex justify-center absolute bottom-0 botBtn"},ms=Pe({name:"handleDuringExamine"}),vs=Object.assign(ms,{setup(f){const u=je(le.userStore).userInfo||{},{proxy:i}=Fe(),p=Ve(),h=xe(),M=N(),S=N(),s=N({processProgressVo:{progressInfo:[]}}),D=a=>q(this,null,function*(){const e=yield He(x(j({},p.query),{taskId:a||p.query.taskId}));if(e.data.status==="\u88AB\u64A4\u56DE"){h.go(-1);return}s.value=x(j({},e.data),{processProgressVo:x(j({},e.data.processProgressVo),{progressInfo:T(e.data.processProgressVo.progressInfo)})}),M.value=ie(s.value.processProgressVo.progressInfo),S.value=de(s.value.processProgressVo.progressInfo)}),T=a=>(a.forEach(e=>{if(e.children){const c=[],d=[];e.children.forEach(t=>{c.includes(t.nodeId)?(d.find(m=>m.nodeId===t.nodeId).list.push(t),d.find(m=>m.nodeId===t.nodeId).userIds.push(t.userId)):(c.push(t.nodeId),d.push({nodeId:t.nodeId,approvalMode:t.approvalMode,name:t.name,nodeType:t.nodeType,list:[j({},t)],userIds:[t.userId]}))}),e.children=d}else e.userIds=[e.userId]}),a),ie=a=>{var c,d;const e=a.map(t=>x(j({},t),{children:t.children?t.children.filter(m=>m.nodeType!=="CC"):void 0}));return((d=(c=e.slice(-1)[0])==null?void 0:c.children)==null?void 0:d.slice(-1)[0])||e.slice(-1)[0]},de=a=>{var c,d;const e=a.map(t=>x(j({},t),{children:t.children?t.children.filter(m=>m.nodeType!=="CC"):void 0}));return e.slice(-1)[0]&&e.slice(-1)[0].children&&e.slice(-1)[0].children.length>1?e.slice(-1)[0].children.slice(-2,-1)[0]:(d=(c=e.slice(-2,-1)[0])==null?void 0:c.children)!=null&&d.length?e.slice(-2,-1)[0].children.slice(-1)[0]:e.slice(-2,-1)[0]},g=ne({visible:!1,title:void 0,taskId:void 0,action:void 0}),H=(a,e)=>q(this,null,function*(){g.visible=!0,g.title=a,g.taskId=p.query.taskId,g.action=e,g.constructionSuggestions=s.value.constructionSuggestions,g.projectCode=n.value.projectCode}),ue=()=>{g.visible=!1},J=()=>{i.$messageBox.confirm("\u662F\u5426\u64A4\u56DE\u8BE5\u610F\u89C1?","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>q(this,null,function*(){const a=yield Ae({instanceId:p.query.instanceId,projectId:p.query.projectId,projectCode:p.query.projectCode,action:"WITHDRAW",taskId:p.query.taskId});a.data==="TASKID_ERROR"?(i.$message.warning("\u5F53\u524D\u5BA1\u6279\u4EFB\u52A1\u6709\u53D8\u52A8\uFF0C\u8BF7\u8FD4\u56DE\u5F85\u6211\u5904\u7406\u5217\u8868\uFF01"),h.push({name:"waitMeToHandle"})):(i.$message.success("\u64A4\u56DE\u6210\u529F\uFF01"),a.data&&h.push({query:x(j({},p.query),{taskId:a.data})}),yield $e(),O(a.data))}))},ce=()=>{var e,c,d,t,m,P;let a=S.value&&((d=(c=(e=S.value)==null?void 0:e.list)==null?void 0:c.find(w=>w.userId===u.value.employeeCode))==null?void 0:d.taskId)||S.value.taskId;if(a==="root"){const w=(m=(t=s.value.processProgressVo.progressInfo)==null?void 0:t[1])==null?void 0:m.children;if(((P=w[0])==null?void 0:P.approvalMode)==="AND"){const R=w[0].list.filter($=>$.result&&$.userId===u.value.employeeCode);a=(R==null?void 0:R.length)&&R[0].taskId||"root"}}return a},L=()=>!(s.value.processProgressVo.processDefName==="\u90E8\u95E8\u8054\u5408\u5BA1\u6279\u6D41\u7A0B"&&ce()==="root")&&s.value.canWithdraw,n=N({}),pe=()=>q(this,null,function*(){var e,c;const a=yield Ge(p.query.projectCode);n.value=a.data,n.value.baseHistorProjs=((c=(e=a.data)==null?void 0:e.baseHistorProjId)==null?void 0:c.split("\uFF1B").map((d,t)=>{var m,P;return{baseProjId:d,baseProjName:(m=a.data)==null?void 0:m.baseHistorProjName.split("\uFF1B")[t],baseProjSetYear:(P=a.data)==null?void 0:P.baseHistorProjYear.split("\uFF1B")[t]}}))||[]}),O=a=>{pe(),D(a),K.value=!1},fe=()=>{var a,e;h.push({name:"stamp",query:{projectId:p.query.projectId,projectCode:p.query.projectCode,instanceId:p.query.instanceId,taskId:p.query.taskId,fileId:n.value.pretrialFileId,instName:(e=(a=s.value)==null?void 0:a.processProgressVo)==null?void 0:e.processDefName}})},K=N(!0),A=N("1"),me=a=>{A.value=a},W=ne({visible:!1,id:p.query.projectId}),ve=()=>{W.visible=!0},U=N([]);return Ne(()=>q(this,null,function*(){O(),U.value=(yield Ye()).data,yield le.countStore.setCountStore()})),(a,e)=>{var G,Q,X,Z;const c=y("el-form-item"),d=y("el-col"),t=y("el-row"),m=y("el-form"),P=y("svg-icon"),w=y("el-card"),R=y("el-alert"),$=y("el-tab-pane"),_e=y("el-tabs"),C=y("el-button"),Y=y("el-dropdown-item"),ge=y("el-dropdown-menu"),ye=y("el-dropdown"),Ie=Se("loading");return l(),V(Te,null,[Re((l(),V("div",Xe,[r(w,{class:"mb-16",shadow:"never"},{default:o(()=>{var I,ee,se,ae,oe;return[b("div",Ze,[b("div",es,[b("div",ss,[b("p",as,E(n.value.projectName)+"\u7684"+E(s.value.processProgressVo.processDefName),1),b("div",os,[r(m,{"label-suffix":":"},{default:o(()=>[r(t,{gutter:24},{default:o(()=>[r(d,{span:8},{default:o(()=>[r(c,{label:"\u53D1\u8D77\u4EBA"},{default:o(()=>{var B;return[_(E((B=s.value.processProgressVo.progressInfo.find(z=>z.nodeId==="root"))==null?void 0:B.user.userName),1)]}),_:1})]),_:1}),r(d,{span:8},{default:o(()=>[r(c,{label:"\u4E3B\u7BA1\u5355\u4F4D"},{default:o(()=>{var B;return[_(E((B=s.value.processProgressVo.progressInfo.find(z=>z.nodeId==="root"))==null?void 0:B.user.orgName),1)]}),_:1})]),_:1}),r(d,{span:8},{default:o(()=>[r(c,{label:"\u53D1\u8D77\u65F6\u95F4"},{default:o(()=>[_(E(s.value.processProgressVo.startTime),1)]),_:1})]),_:1})]),_:1})]),_:1})])]),r(P,{name:`${((I=s.value)==null?void 0:I.status)==="\u5BA1\u6838\u4E2D"?"underReview":((ee=s.value)==null?void 0:ee.status)==="\u5BA1\u6838\u901A\u8FC7"?"beApproved":((se=s.value)==null?void 0:se.status)==="\u88AB\u9A73\u56DE"?"beRejected":((ae=s.value)==null?void 0:ae.status)==="\u88AB\u64A4\u56DE"?"beWithdraw":((oe=s.value)==null?void 0:oe.status)==="\u88AB\u9000\u56DE"?"beBack":""}`,style:{width:"160px",height:"132px",right:"-20px"},class:"absolute top-2/4 -translate-y-1/2"},null,8,["name"])])])]}),_:1}),s.value.isChange?(l(),v(R,{key:0,type:"info","show-icon":"",style:{"margin-bottom":"16px"},closable:!1},{title:o(()=>[b("p",null,[_("\u6E29\u99A8\u63D0\u793A\uFF1A\u8BE5\u6D41\u7A0B\u4E3A\u590D\u5BA1\u6D41\u7A0B\uFF0C"),b("a",{onClick:ve},"\u70B9\u51FB\u67E5\u770B"),_(" \u8BE5\u9879\u76EE\u8C03\u6574\u7684\u4FE1\u606F\u4EE5\u53CA\u5BA1\u6838\u610F\u89C1")])]),_:1})):k("v-if",!0),((G=n.value)==null?void 0:G.id)&&s.value.processProgressVo.processDefName==="\u7533\u8BF7\u5EF6\u671F\u5BA1\u6279\u6D41\u7A0B"?(l(),v(w,{key:1,class:"mb-16"},{default:o(()=>[r(ze,{"detail-data":n.value},null,8,["detail-data"])]),_:1})):((Q=n.value)==null?void 0:Q.id)&&s.value.processProgressVo.processDefName==="\u7533\u8BF7\u501F\u9605\u5BA1\u6279\u6D41\u7A0B"?(l(),v(w,{key:2,class:"mb-16"},{default:o(()=>[r(Je,{"detail-data":n.value},null,8,["detail-data"])]),_:1})):((X=n.value)==null?void 0:X.id)&&s.value.processProgressVo.processDefName==="\u9A8C\u6536\u7533\u62A5\u5BA1\u6279\u6D41\u7A0B"?(l(),v(w,{key:3,shadow:"never",class:"mb-16"},{default:o(()=>[r(Oe,{"detail-data":n.value},null,8,["detail-data"])]),_:1})):(l(),v(Le,{key:4,"detail-data":n.value,"dictionary-list":U.value,class:"mb-16"},null,8,["detail-data","dictionary-list"])),r(w,{class:qe(`relative pb-32 flowCard ${n.value.area==="\u5E02\u672C\u7EA7"&&n.value.declareAmount>=1e3&&s.value.processProgressVo.processDefName==="\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B"?"tab-card":""}`),shadow:"never"},{header:o(()=>[n.value.area==="\u5E02\u672C\u7EA7"&&n.value.declareAmount>=1e3&&s.value.processProgressVo.processDefName==="\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B"?(l(),v(_e,{key:0,modelValue:A.value,"onUpdate:modelValue":e[0]||(e[0]=I=>A.value=I),onTabChange:me},{default:o(()=>[r($,{label:"\u6D41\u7A0B\u8BB0\u5F55",name:"1"}),r($,{label:"\u7701\u7EA7\u90E8\u95E8\u8054\u5BA1\u6D41\u7A0B\u8BB0\u5F55",name:"2"})]),_:1},8,["modelValue"])):(l(),V("span",ts,"\u6D41\u7A0B\u8BB0\u5F55"))]),default:o(()=>[A.value==="1"?(l(),v(We,{key:0,"flow-data":s.value.processProgressVo.progressInfo},null,8,["flow-data"])):A.value==="2"?(l(),v(m,{key:1,"label-suffix":":"},{default:o(()=>[r(Ke,{"flow-data":n.value.sjlsResult?JSON.parse(n.value.sjlsResult):[]},null,8,["flow-data"])]),_:1})):k("v-if",!0)]),_:1},8,["class"]),b("div",rs,[((Z=s.value)==null?void 0:Z.status)==="\u5BA1\u6838\u4E2D"&&F(p).name==="handleDuringExamine"?(l(),V("div",ls,[b("div",null,[n.value.area==="\u5E02\u672C\u7EA7"&&n.value.declareAmount>=1e3&&s.value.processProgressVo.processDefName==="\u91CD\u5927\u9879\u76EE\u8054\u5BA1\u786E\u8BA4\u6D41\u7A0B"?(l(),V("p",ns,"\u6839\u636E\u8054\u5BA1\u610F\u89C1\uFF0C\u8BE5\u9879\u76EE\u7684\u5EFA\u8BBE\u65B9\u6848\u901A\u8FC7\u60C5\u51B5\u4E3A\uFF1A")):k("v-if",!0),s.value.isHighLine&&F(u).regionCode==="331100"&&n.value.areaCode!=="331100"&&s.value.processProgressVo.processDefName==="\u5EFA\u8BBE\u65B9\u6848\u5BA1\u6279\u6D41\u7A0B"&&s.value.canPass?(l(),V("div",is,[s.value.canPass?(l(),v(C,{key:0,type:"primary",onClick:e[1]||(e[1]=I=>H("\u901A\u8FC7","PASS"))},{default:o(()=>[_("\u610F\u89C1\u6D41\u8F6C")]),_:1})):k("v-if",!0),r(C,{onClick:e[2]||(e[2]=I=>F(h).go(-1))},{default:o(()=>[_("\u8FD4\u56DE")]),_:1})])):(l(),V("div",ds,[s.value.canPass?(l(),v(C,{key:0,type:"primary",onClick:e[3]||(e[3]=I=>H("\u901A\u8FC7","PASS"))},{default:o(()=>[_("\u901A\u8FC7")]),_:1})):k("v-if",!0),s.value.canSeal?(l(),v(C,{key:1,type:"primary",onClick:fe},{default:o(()=>[_("\u76D6\u7AE0\u5E76\u901A\u8FC7")]),_:1})):k("v-if",!0),s.value.canReject?(l(),v(C,{key:2,plain:"",type:"danger",onClick:e[4]||(e[4]=I=>H("\u9A73\u56DE","REJECT"))},{default:o(()=>[_("\u9A73\u56DE ")]),_:1})):k("v-if",!0),r(C,{onClick:e[5]||(e[5]=I=>F(h).go(-1))},{default:o(()=>[_("\u8FD4\u56DE")]),_:1}),(s.value.canPass||s.value.canReject||s.value.canSeal)&&s.value.processProgressVo.processDefName!=="\u7533\u8BF7\u5EF6\u671F\u5BA1\u6279\u6D41\u7A0B"&&s.value.processProgressVo.processDefName!=="\u7533\u8BF7\u501F\u9605\u5BA1\u6279\u6D41\u7A0B"||L()?(l(),v(ye,{key:3,size:"small",type:"primary",class:"ml-6"},{dropdown:o(()=>[r(ge,null,{default:o(()=>[L()?(l(),v(Y,{key:0},{default:o(()=>[r(C,{plain:"",type:"primary",onClick:J},{default:o(()=>[_("\u64A4\u56DE")]),_:1})]),_:1})):k("v-if",!0),(s.value.canPass||s.value.canReject||s.value.canSeal)&&s.value.processProgressVo.processDefName!=="\u7533\u8BF7\u5EF6\u671F\u5BA1\u6279\u6D41\u7A0B"&&s.value.processProgressVo.processDefName!=="\u7533\u8BF7\u501F\u9605\u5BA1\u6279\u6D41\u7A0B"?(l(),v(Y,{key:1},{default:o(()=>[r(C,{plain:"",type:"danger",onClick:e[6]||(e[6]=I=>H("\u9000\u56DE","BACK"))},{default:o(()=>[_("\u9000\u56DE")]),_:1})]),_:1})):k("v-if",!0)]),_:1})]),default:o(()=>[b("span",us,[b("span",cs,[r(P,{name:"moreIcon",class:"mr-8"}),ps])])]),_:1})):k("v-if",!0)]))])])):(l(),V("div",fs,[r(C,{onClick:e[7]||(e[7]=I=>F(h).go(-1))},{default:o(()=>[_("\u8FD4\u56DE")]),_:1}),L()?(l(),v(C,{key:0,plain:"",type:"primary",onClick:J},{default:o(()=>[_("\u64A4\u56DE")]),_:1})):k("v-if",!0)]))])])),[[Ie,K.value]]),r(Me,{visible:g.visible,title:g.title,action:g.action,"task-id":g.taskId,"construction-suggestions":g.constructionSuggestions,"project-code":g.projectCode,onClose:ue,onReload:O},null,8,["visible","title","action","task-id","construction-suggestions","project-code"]),r(Ue,{id:W.id,visible:W.visible,onClose:e[8]||(e[8]=I=>W.visible=!1)},null,8,["id","visible"])],64)}}}),Ks=De(vs,[["__scopeId","data-v-c5c165d9"],["__file","/Users/shenkun/WorkSpace/ningda/ls-project-v2.0/src/pages/toDoCenter/handleDuringExamine/index.vue"]]);export{Ks as default}; diff --git a/lishui2/web/dist/assets/index.096886c6.js b/lishui2/web/dist/assets/index.096886c6.js new file mode 100644 index 0000000..409e08b --- /dev/null +++ b/lishui2/web/dist/assets/index.096886c6.js @@ -0,0 +1,154 @@ +var r9=Object.defineProperty,a9=Object.defineProperties;var l9=Object.getOwnPropertyDescriptors;var Ou=Object.getOwnPropertySymbols;var Kv=Object.prototype.hasOwnProperty,Wv=Object.prototype.propertyIsEnumerable;var Au=Math.pow,jv=(e,t,n)=>t in e?r9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,X=(e,t)=>{for(var n in t||(t={}))Kv.call(t,n)&&jv(e,n,t[n]);if(Ou)for(var n of Ou(t))Wv.call(t,n)&&jv(e,n,t[n]);return e},ve=(e,t)=>a9(e,l9(t));var Ko=(e,t)=>{var n={};for(var o in e)Kv.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Ou)for(var o of Ou(e))t.indexOf(o)<0&&Wv.call(e,o)&&(n[o]=e[o]);return n};var mt=(e,t,n)=>new Promise((o,r)=>{var a=u=>{try{s(n.next(u))}catch(d){r(d)}},l=u=>{try{s(n.throw(u))}catch(d){r(d)}},s=u=>u.done?o(u.value):Promise.resolve(u.value).then(a,l);s((n=n.apply(e,t)).next())});(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerpolicy&&(a.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?a.credentials="include":r.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();/** +* @vue/shared v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Ir(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const qt=Object.freeze({}),ql=Object.freeze([]),At=()=>{},s9=()=>!1,ou=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nc=e=>e.startsWith("onUpdate:"),tn=Object.assign,C2=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},i9=Object.prototype.hasOwnProperty,Ct=(e,t)=>i9.call(e,t),Re=Array.isArray,Ua=e=>$s(e)==="[object Map]",Sd=e=>$s(e)==="[object Set]",rl=e=>$s(e)==="[object Date]",u9=e=>$s(e)==="[object RegExp]",Je=e=>typeof e=="function",et=e=>typeof e=="string",or=e=>typeof e=="symbol",st=e=>e!==null&&typeof e=="object",rs=e=>(st(e)||Je(e))&&Je(e.then)&&Je(e.catch),_3=Object.prototype.toString,$s=e=>_3.call(e),Gl=e=>$s(e).slice(8,-1),Bc=e=>$s(e)==="[object Object]",S2=e=>et(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fi=Ir(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),c9=Ir("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ed=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},d9=/-(\w)/g,Co=Ed(e=>e.replace(d9,(t,n)=>n?n.toUpperCase():"")),f9=/\B([A-Z])/g,rr=Ed(e=>e.replace(f9,"-$1").toLowerCase()),_a=Ed(e=>e.charAt(0).toUpperCase()+e.slice(1)),Er=Ed(e=>e?`on${_a(e)}`:""),ya=(e,t)=>!Object.is(e,t),la=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},P0=e=>{const t=parseFloat(e);return isNaN(t)?e:t},p9=e=>{const t=et(e)?Number(e):NaN;return isNaN(t)?e:t};let Uv;const kd=()=>Uv||(Uv=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function We(e){if(Re(e)){const t={};for(let n=0;n{if(n){const o=n.split(h9);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function O(e){let t="";if(et(e))t=e;else if(Re(e))for(let n=0;nas(n,t))}const w3=e=>!!(e&&e.__v_isRef===!0),Ae=e=>et(e)?e:e==null?"":Re(e)||st(e)&&(e.toString===_3||!Je(e.toString))?w3(e)?Ae(e.value):JSON.stringify(e,C3,2):String(e),C3=(e,t)=>w3(t)?C3(e,t.value):Ua(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],a)=>(n[kf(o,a)+" =>"]=r,n),{})}:Sd(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>kf(n))}:or(t)?kf(t):st(t)&&!Re(t)&&!Bc(t)?String(t):t,kf=(e,t="")=>{var n;return or(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ar(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let no;class S3{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=no,!t&&no&&(this.index=(no.scopes||(no.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=no;try{return no=this,t()}finally{no=n}}else ar("cannot run an inactive effect scope.")}on(){no=this}off(){no=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Vr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=va,n=qa;try{return va=!0,qa=this,this._runnings++,qv(this),this.fn()}finally{Gv(this),this._runnings--,qa=n,va=t}}stop(){this.active&&(qv(this),Gv(this),this.onStop&&this.onStop(),this.active=!1)}}function M9(e){return e.value}function qv(e){e._trackId++,e._depsLength=0}function Gv(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Hc=new WeakMap,Ga=Symbol("iterate"),L0=Symbol("Map key iterate");function Nn(e,t,n){if(va&&qa){let o=Hc.get(e);o||Hc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=M3(()=>o.delete(n))),x3(qa,r,{target:e,type:t,key:n})}}function Qo(e,t,n,o,r,a){const l=Hc.get(e);if(!l)return;let s=[];if(t==="clear")s=[...l.values()];else if(n==="length"&&Re(e)){const u=Number(o);l.forEach((d,f)=>{(f==="length"||!or(f)&&f>=u)&&s.push(d)})}else switch(n!==void 0&&s.push(l.get(n)),t){case"add":Re(e)?S2(n)&&s.push(l.get("length")):(s.push(l.get(Ga)),Ua(e)&&s.push(l.get(L0)));break;case"delete":Re(e)||(s.push(l.get(Ga)),Ua(e)&&s.push(l.get(L0)));break;case"set":Ua(e)&&s.push(l.get(Ga));break}M2();for(const u of s)u&&T3(u,4,{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:a});$2()}function $9(e,t){const n=Hc.get(e);return n&&n.get(t)}const O9=Ir("__proto__,__v_isRef,__isVue"),$3=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(or)),Yv=A9();function A9(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=xt(this);for(let a=0,l=this.length;a{e[t]=function(...n){Lr(),M2();const o=xt(this)[t].apply(this,n);return $2(),Vr(),o}}),e}function P9(e){or(e)||(e=String(e));const t=xt(this);return Nn(t,"has",e),t.hasOwnProperty(e)}class O3{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return o===(r?a?D3:V3:a?L3:I3).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=Re(t);if(!r){if(l&&Ct(Yv,n))return Reflect.get(Yv,n,o);if(n==="hasOwnProperty")return P9}const s=Reflect.get(t,n,o);return(or(n)?$3.has(n):O9(n))||(r||Nn(t,"get",n),a)?s:It(s)?l&&S2(n)?s:s.value:st(s)?r?Os(s):Ot(s):s}}class A3 extends O3{constructor(t=!1){super(!1,t)}set(t,n,o,r){let a=t[n];if(!this._isShallow){const u=al(a);if(!Ya(o)&&!al(o)&&(a=xt(a),o=xt(o)),!Re(t)&&It(a)&&!It(o))return u?!1:(a.value=o,!0)}const l=Re(t)&&S2(n)?Number(n)e,xd=e=>Reflect.getPrototypeOf(e);function Pu(e,t,n=!1,o=!1){e=e.__v_raw;const r=xt(e),a=xt(t);n||(ya(t,a)&&Nn(r,"get",t),Nn(r,"get",a));const{has:l}=xd(r),s=o?O2:n?P2:Mi;if(l.call(r,t))return s(e.get(t));if(l.call(r,a))return s(e.get(a));e!==r&&e.get(t)}function Ru(e,t=!1){const n=this.__v_raw,o=xt(n),r=xt(e);return t||(ya(e,r)&&Nn(o,"has",e),Nn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Iu(e,t=!1){return e=e.__v_raw,!t&&Nn(xt(e),"iterate",Ga),Reflect.get(e,"size",e)}function Zv(e){e=xt(e);const t=xt(this);return xd(t).has.call(t,e)||(t.add(e),Qo(t,"add",e,e)),this}function Xv(e,t){t=xt(t);const n=xt(this),{has:o,get:r}=xd(n);let a=o.call(n,e);a?R3(n,o,e):(e=xt(e),a=o.call(n,e));const l=r.call(n,e);return n.set(e,t),a?ya(t,l)&&Qo(n,"set",e,t,l):Qo(n,"add",e,t),this}function Jv(e){const t=xt(this),{has:n,get:o}=xd(t);let r=n.call(t,e);r?R3(t,n,e):(e=xt(e),r=n.call(t,e));const a=o?o.call(t,e):void 0,l=t.delete(e);return r&&Qo(t,"delete",e,void 0,a),l}function Qv(){const e=xt(this),t=e.size!==0,n=Ua(e)?new Map(e):new Set(e),o=e.clear();return t&&Qo(e,"clear",void 0,void 0,n),o}function Lu(e,t){return function(o,r){const a=this,l=a.__v_raw,s=xt(l),u=t?O2:e?P2:Mi;return!e&&Nn(s,"iterate",Ga),l.forEach((d,f)=>o.call(r,u(d),u(f),a))}}function Vu(e,t,n){return function(...o){const r=this.__v_raw,a=xt(r),l=Ua(a),s=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,d=r[e](...o),f=n?O2:t?P2:Mi;return!t&&Nn(a,"iterate",u?L0:Ga),{next(){const{value:c,done:p}=d.next();return p?{value:c,done:p}:{value:s?[f(c[0]),f(c[1])]:f(c),done:p}},[Symbol.iterator](){return this}}}}function qr(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";ar(`${_a(e)} operation ${n}failed: target is readonly.`,xt(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function D9(){const e={get(a){return Pu(this,a)},get size(){return Iu(this)},has:Ru,add:Zv,set:Xv,delete:Jv,clear:Qv,forEach:Lu(!1,!1)},t={get(a){return Pu(this,a,!1,!0)},get size(){return Iu(this)},has:Ru,add:Zv,set:Xv,delete:Jv,clear:Qv,forEach:Lu(!1,!0)},n={get(a){return Pu(this,a,!0)},get size(){return Iu(this,!0)},has(a){return Ru.call(this,a,!0)},add:qr("add"),set:qr("set"),delete:qr("delete"),clear:qr("clear"),forEach:Lu(!0,!1)},o={get(a){return Pu(this,a,!0,!0)},get size(){return Iu(this,!0)},has(a){return Ru.call(this,a,!0)},add:qr("add"),set:qr("set"),delete:qr("delete"),clear:qr("clear"),forEach:Lu(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Vu(a,!1,!1),n[a]=Vu(a,!0,!1),t[a]=Vu(a,!1,!0),o[a]=Vu(a,!0,!0)}),[e,n,t,o]}const[N9,B9,z9,H9]=D9();function Td(e,t){const n=t?e?H9:z9:e?B9:N9;return(o,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Ct(n,r)&&r in o?n:o,r,a)}const F9={get:Td(!1,!1)},j9={get:Td(!1,!0)},K9={get:Td(!0,!1)},W9={get:Td(!0,!0)};function R3(e,t,n){const o=xt(n);if(o!==n&&t.call(e,o)){const r=Gl(e);ar(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const I3=new WeakMap,L3=new WeakMap,V3=new WeakMap,D3=new WeakMap;function U9(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q9(e){return e.__v_skip||!Object.isExtensible(e)?0:U9(Gl(e))}function Ot(e){return al(e)?e:Md(e,!1,R9,F9,I3)}function A2(e){return Md(e,!1,L9,j9,L3)}function Os(e){return Md(e,!0,I9,K9,V3)}function Zo(e){return Md(e,!0,V9,W9,D3)}function Md(e,t,n,o,r){if(!st(e))return ar(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const l=q9(e);if(l===0)return e;const s=new Proxy(e,l===2?o:n);return r.set(e,s),s}function er(e){return al(e)?er(e.__v_raw):!!(e&&e.__v_isReactive)}function al(e){return!!(e&&e.__v_isReadonly)}function Ya(e){return!!(e&&e.__v_isShallow)}function Fc(e){return e?!!e.__v_raw:!1}function xt(e){const t=e&&e.__v_raw;return t?xt(t):e}function mo(e){return Object.isExtensible(e)&&zc(e,"__v_skip",!0),e}const Mi=e=>st(e)?Ot(e):e,P2=e=>st(e)?Os(e):e,G9="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class N3{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new T2(()=>t(this._value),()=>pi(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=xt(this);return(!t._cacheable||t.effect.dirty)&&ya(t._value,t._value=t.effect.run())&&pi(t,4),R2(t),t.effect._dirtyLevel>=2&&(this._warnRecursive&&ar(G9,` + +getter: `,this.getter),pi(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Y9(e,t,n=!1){let o,r;const a=Je(e);a?(o=e,r=()=>{ar("Write operation failed: computed value is readonly")}):(o=e.get,r=e.set);const l=new N3(o,r,a||!r,n);return t&&!n&&(l.effect.onTrack=t.onTrack,l.effect.onTrigger=t.onTrigger),l}function R2(e){var t;va&&qa&&(e=xt(e),x3(qa,(t=e.dep)!=null?t:e.dep=M3(()=>e.dep=void 0,e instanceof N3?e:void 0),{target:e,type:"get",key:"value"}))}function pi(e,t=4,n,o){e=xt(e);const r=e.dep;r&&T3(r,t,{target:e,type:"set",key:"value",newValue:n,oldValue:o})}function It(e){return!!(e&&e.__v_isRef===!0)}function V(e){return B3(e,!1)}function Ft(e){return B3(e,!0)}function B3(e,t){return It(e)?e:new Z9(e,t)}class Z9{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:xt(t),this._value=n?t:Mi(t)}get value(){return R2(this),this._value}set value(t){const n=this.__v_isShallow||Ya(t)||al(t);if(t=n?t:xt(t),ya(t,this._rawValue)){const o=this._rawValue;this._rawValue=t,this._value=n?t:Mi(t),pi(this,4,t,o)}}}function i(e){return It(e)?e.value:e}const X9={get:(e,t,n)=>i(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return It(r)&&!It(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function z3(e){return er(e)?e:new Proxy(e,X9)}class J9{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>R2(this),()=>pi(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function Q9(e){return new J9(e)}function vn(e){Fc(e)||ar("toRefs() expects a reactive object but received a plain one.");const t=Re(e)?new Array(e.length):{};for(const n in e)t[n]=H3(e,n);return t}class e7{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return $9(xt(this._object),this._key)}}class t7{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Pt(e,t,n){return It(e)?e:Je(e)?new t7(e):st(e)&&arguments.length>1?H3(e,t,n):V(e)}function H3(e,t,n){const o=e[t];return It(o)?o:new e7(e,t,n)}/** +* @vue/runtime-core v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Za=[];function sc(e){Za.push(e)}function ic(){Za.pop()}function Xe(e,...t){Lr();const n=Za.length?Za[Za.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=n7();if(o)$r(o,n,11,[e+t.map(a=>{var l,s;return(s=(l=a.toString)==null?void 0:l.call(a))!=null?s:JSON.stringify(a)}).join(""),n&&n.proxy,r.map(({vnode:a})=>`at <${Dd(n,a.type)}>`).join(` +`),r]);else{const a=[`[Vue warn]: ${e}`,...t];r.length&&a.push(` +`,...o7(r)),console.warn(...a)}Vr()}function n7(){let e=Za[Za.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function o7(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` +`],...r7(n))}),t}function r7({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Dd(e.component,e.type,o)}`,a=">"+n;return e.props?[r,...a7(e.props),a]:[r+a]}function a7(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...F3(o,e[o]))}),n.length>3&&t.push(" ..."),t}function F3(e,t,n){return et(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:It(t)?(t=F3(e,xt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Je(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=xt(t),n?t:[`${e}=`,t])}function l7(e,t){e!==void 0&&(typeof e!="number"?Xe(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Xe(`${t} is NaN - the duration expression might be incorrect.`))}const I2={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function $r(e,t,n,o){try{return o?e(...o):e()}catch(r){ru(r,t,n)}}function yo(e,t,n,o){if(Je(e)){const r=$r(e,t,n,o);return r&&rs(r)&&r.catch(a=>{ru(a,t,n)}),r}if(Re(e)){const r=[];for(let a=0;a>>1,r=Rn[o],a=Oi(r);aUo&&Rn.splice(t,1)}function W3(e){Re(e)?Yl.push(...e):(!ta||!ta.includes(e,e.allowRecurse?Da+1:Da))&&Yl.push(e),K3()}function eh(e,t,n=$i?Uo+1:0){for(t=t||new Map;nOi(n)-Oi(o));if(Yl.length=0,ta){ta.push(...t);return}for(ta=t,e=e||new Map,Da=0;Dae.id==null?1/0:e.id,d7=(e,t)=>{const n=Oi(e)-Oi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function q3(e){V0=!1,$i=!0,e=e||new Map,Rn.sort(d7);const t=n=>V2(e,n);try{for(Uo=0;Uoi7){const o=t.ownerInstance,r=o&&Ri(o.type);return ru(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}let ha=!1;const La=new Set;kd().__VUE_HMR_RUNTIME__={createRecord:xf(G3),rerender:xf(v7),reload:xf(h7)};const ll=new Map;function f7(e){const t=e.type.__hmrId;let n=ll.get(t);n||(G3(t,e.type),n=ll.get(t)),n.instances.add(e)}function p7(e){ll.get(e.type.__hmrId).instances.delete(e)}function G3(e,t){return ll.has(e)?!1:(ll.set(e,{initialDef:vi(t),instances:new Set}),!0)}function vi(e){return P6(e)?e.__vccOpts:e}function v7(e,t){const n=ll.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,vi(o.type).render=t),o.renderCache=[],ha=!0,o.effect.dirty=!0,o.update(),ha=!1}))}function h7(e,t){const n=ll.get(e);if(!n)return;t=vi(t),th(n.initialDef,t);const o=[...n.instances];for(const r of o){const a=vi(r.type);La.has(a)||(a!==n.initialDef&&th(a,t),La.add(a)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(La.add(a),r.ceReload(t.styles),La.delete(a)):r.parent?(r.parent.effect.dirty=!0,$d(()=>{r.parent.update(),La.delete(a)})):r.appContext.reload?r.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}W3(()=>{for(const r of o)La.delete(vi(r.type))})}function th(e,t){tn(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function xf(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let qo,ri=[],D0=!1;function au(e,...t){qo?qo.emit(e,...t):D0||ri.push({event:e,args:t})}function Y3(e,t){var n,o;qo=e,qo?(qo.enabled=!0,ri.forEach(({event:r,args:a})=>qo.emit(r,...a)),ri=[]):typeof window!="undefined"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Y3(a,t)}),setTimeout(()=>{qo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,D0=!0,ri=[])},3e3)):(D0=!0,ri=[])}function m7(e,t){au("app:init",e,t,{Fragment:Ke,Text:bl,Comment:sn,Static:hi})}function g7(e){au("app:unmount",e)}const N0=D2("component:added"),Z3=D2("component:updated"),_7=D2("component:removed"),y7=e=>{qo&&typeof qo.cleanupBuffer=="function"&&!qo.cleanupBuffer(e)&&_7(e)};/*! #__NO_SIDE_EFFECTS__ */function D2(e){return t=>{au(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const b7=X3("perf:start"),w7=X3("perf:end");function X3(e){return(t,n,o)=>{au(e,t.appContext.app,t.uid,t,n,o)}}function C7(e,t,n){au("component:emit",e.appContext.app,e,t,n)}function S7(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||qt;{const{emitsOptions:f,propsOptions:[c]}=e;if(f)if(!(t in f))(!c||!(Er(t)in c))&&Xe(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Er(t)}" prop.`);else{const p=f[t];Je(p)&&(p(...n)||Xe(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const a=t.startsWith("update:"),l=a&&t.slice(7);if(l&&l in o){const f=`${l==="modelValue"?"model":l}Modifiers`,{number:c,trim:p}=o[f]||qt;p&&(r=n.map(h=>et(h)?h.trim():h)),c&&(r=n.map(P0))}C7(e,t,r);{const f=t.toLowerCase();f!==t&&o[Er(f)]&&Xe(`Event "${f}" is emitted in component ${Dd(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${rr(t)}" instead of "${t}".`)}let s,u=o[s=Er(t)]||o[s=Er(Co(t))];!u&&a&&(u=o[s=Er(rr(t))]),u&&yo(u,e,6,r);const d=o[s+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,yo(d,e,6,r)}}function J3(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const a=e.emits;let l={},s=!1;if(!Je(e)){const u=d=>{const f=J3(d,t,!0);f&&(s=!0,tn(l,f))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!a&&!s?(st(e)&&o.set(e,null),null):(Re(a)?a.forEach(u=>l[u]=null):tn(l,a),st(e)&&o.set(e,l),l)}function Od(e,t){return!e||!ou(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ct(e,t[0].toLowerCase()+t.slice(1))||Ct(e,rr(t))||Ct(e,t))}let pn=null,Ad=null;function jc(e){const t=pn;return pn=e,Ad=e&&e.type.__scopeId||null,t}function C2e(e){Ad=e}function S2e(){Ad=null}function Q(e,t=pn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&gh(-1);const a=jc(t);let l;try{l=e(...r)}finally{jc(a),o._d&&gh(1)}return Z3(t),l};return o._n=!0,o._c=!0,o._d=!0,o}let B0=!1;function Kc(){B0=!0}function Tf(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[a],slots:l,attrs:s,emit:u,render:d,renderCache:f,props:c,data:p,setupState:h,ctx:m,inheritAttrs:v}=e,_=jc(e);let g,w;B0=!1;try{if(n.shapeFlag&4){const E=r||o,x=h.__isScriptSetup?new Proxy(E,{get(M,$,I){return Xe(`Property '${String($)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(M,$,I)}}):E;g=Lo(d.call(x,E,f,Zo(c),h,p,m)),w=s}else{const E=t;s===c&&Kc(),g=Lo(E.length>1?E(Zo(c),{get attrs(){return Kc(),Zo(s)},slots:l,emit:u}):E(Zo(c),null)),w=t.props?s:E7(s)}}catch(E){mi.length=0,ru(E,e,1),g=G(sn)}let y=g,C;if(g.patchFlag>0&&g.patchFlag&2048&&([y,C]=Q3(g)),w&&v!==!1){const E=Object.keys(w),{shapeFlag:x}=y;if(E.length){if(x&7)a&&E.some(Nc)&&(w=k7(w,a)),y=So(y,w,!1,!0);else if(!B0&&y.type!==sn){const M=Object.keys(s),$=[],I=[];for(let L=0,A=M.length;L renders non-element root node that cannot be animated."),y.transition=n.transition),C?C(y):g=y,jc(_),g}const Q3=e=>{const t=e.children,n=e.dynamicChildren,o=N2(t,!1);if(o){if(o.patchFlag>0&&o.patchFlag&2048)return Q3(o)}else return[e,void 0];const r=t.indexOf(o),a=n?n.indexOf(o):-1,l=s=>{t[r]=s,n&&(a>-1?n[a]=s:s.patchFlag>0&&(e.dynamicChildren=[...n,s]))};return[Lo(o),l]};function N2(e,t=!0){let n;for(let o=0;o0&&n.patchFlag&2048)return N2(n.children)}}else return}return n}const E7=e=>{let t;for(const n in e)(n==="class"||n==="style"||ou(n))&&((t||(t={}))[n]=e[n]);return t},k7=(e,t)=>{const n={};for(const o in e)(!Nc(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},nh=e=>e.shapeFlag&7||e.type===sn;function x7(e,t,n){const{props:o,children:r,component:a}=e,{props:l,children:s,patchFlag:u}=t,d=a.emitsOptions;if((r||s)&&ha||t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return o?oh(o,l,d):!!l;if(u&8){const f=t.dynamicProps;for(let c=0;ce.__isSuspense;function $7(e,t){t&&t.pendingBranch?Re(e)?t.effects.push(...e):t.effects.push(e):W3(e)}function Rd(e,t,n=gn,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...l)=>{Lr();const s=su(n),u=yo(t,n,e,l);return s(),Vr(),u});return o?r.unshift(a):r.push(a),a}else{const r=Er(I2[e].replace(/ hook$/,""));Xe(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Dr=e=>(t,n=gn)=>{(!Ld||e==="sp")&&Rd(e,(...o)=>t(...o),n)},Id=Dr("bm"),it=Dr("m"),t6=Dr("bu"),fr=Dr("u"),zt=Dr("bum"),Nr=Dr("um"),O7=Dr("sp"),A7=Dr("rtg"),P7=Dr("rtc");function R7(e,t=gn){Rd("ec",e,t)}function n6(e){c9(e)&&Xe("Do not use built-in directive ids as custom directive id: "+e)}function lt(e,t){if(pn===null)return Xe("withDirectives can only be used inside render functions."),e;const n=Vd(pn),o=e.dirs||(e.dirs=[]);for(let r=0;rt(l,s,void 0,a&&a[s]));else{const l=Object.keys(e);r=new Array(l.length);for(let s=0,u=l.length;s{const a=o.fn(...r);return a&&(a.key=o.key),a}:o.fn)}return e}/*! #__NO_SIDE_EFFECTS__ */function P(e,t){return Je(e)?(()=>tn({name:e.name},t,{setup:e}))():e}const Zl=e=>!!e.type.__asyncLoader;function ie(e,t,n={},o,r){if(pn.isCE||pn.parent&&Zl(pn.parent)&&pn.parent.isCE)return t!=="default"&&(n.name=t),G("slot",n,o&&o());let a=e[t];a&&a.length>1&&(Xe("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),a=()=>[]),a&&a._c&&(a._d=!1),b();const l=a&&o6(a(n)),s=ae(Ke,{key:n.key||l&&l.key||`_${t}`},l||(o?o():[]),l&&e._===1?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function o6(e){return e.some(t=>Kt(t)?!(t.type===sn||t.type===Ke&&!o6(t.children)):!0)?e:null}function I7(e,t){const n={};if(!st(e))return Xe("v-on with no argument expects an object value."),n;for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:Er(o)]=e[o];return n}const H0=e=>e?$6(e)?Vd(e):H0(e.parent):null,Xa=tn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Zo(e.props),$attrs:e=>Zo(e.attrs),$slots:e=>Zo(e.slots),$refs:e=>Zo(e.refs),$parent:e=>H0(e.parent),$root:e=>H0(e.root),$emit:e=>e.emit,$options:e=>H2(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,$d(e.update)}),$nextTick:e=>e.n||(e.n=Ge.bind(e.proxy)),$watch:e=>dC.bind(e)}),z2=e=>e==="_"||e==="$",Mf=(e,t)=>e!==qt&&!e.__isScriptSetup&&Ct(e,t),r6={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:a,accessCache:l,type:s,appContext:u}=e;if(t==="__isVue")return!0;let d;if(t[0]!=="$"){const h=l[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(Mf(o,t))return l[t]=1,o[t];if(r!==qt&&Ct(r,t))return l[t]=2,r[t];if((d=e.propsOptions[0])&&Ct(d,t))return l[t]=3,a[t];if(n!==qt&&Ct(n,t))return l[t]=4,n[t];F0&&(l[t]=0)}}const f=Xa[t];let c,p;if(f)return t==="$attrs"?(Nn(e.attrs,"get",""),Kc()):t==="$slots"&&Nn(e,"get",t),f(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(n!==qt&&Ct(n,t))return l[t]=4,n[t];if(p=u.config.globalProperties,Ct(p,t))return p[t];pn&&(!et(t)||t.indexOf("__v")!==0)&&(r!==qt&&z2(t[0])&&Ct(r,t)?Xe(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===pn&&Xe(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;return Mf(r,t)?(r[t]=n,!0):r.__isScriptSetup&&Ct(r,t)?(Xe(`Cannot mutate - - + +
diff --git a/lishui2/web/dist/plugins/session-event/index.closure.js b/lishui2/web/dist/plugins/session-event/index.closure.js new file mode 100644 index 0000000..9eb79a9 --- /dev/null +++ b/lishui2/web/dist/plugins/session-event/index.closure.js @@ -0,0 +1 @@ +!function(){"use strict";function t(t,i,s){if(i&&(t.plugin_name=i),s&&t.init){var o=t.init;t.init=function(r,n){function p(){o.call(t,r,n)}return e(r,t,i),r.readyState&&r.readyState.state>=3||!r.on?p():void r.on(s,p)}}return t}function e(t,e,i){function s(e,s){t.logger?t.logger.msg.apply(t.logger,s).module(i+""||"").level(e).log():t.log&&t.log.apply(t,s)}e.log=function(){s("log",arguments)},e.warn=function(){s("warn",arguments)},e.error=function(){s("error",arguments)}}function i(e,i,s){return t(e,i,s),e.plugin_version=p,e}function s(t,e){if("track"!==t.type)return t;var i=e.sd,s=i._,o=i.saEvent.check,r=s.extend2Lev({properties:{}},t),n=e.customRegister,p=r.properties,h=r.event,c={};return s.each(n,function(t){if(s.isObject(t))s.indexOf(t.events,h)>-1&&o({properties:t.properties})&&(c=s.extend(c,t.properties));else if(s.isFunction(t)){var e=t({event:h,properties:p,data:r});s.isObject(e)&&!s.isEmptyObject(e)&&o({properties:e})&&(c=s.extend(c,e))}}),t.properties=s.extend(p,c),t}function o(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}function r(t){this.sd=t,this._=t._,this.cookie_value=null}function n(){this.registerProperties=null,this.store=null,this.sd=null,this._=null,this.log=window.console&&window.console.log||function(){},this.cookie_name="",this.prop={}}var p="1.25.15";o.prototype.init=function(t){if(t){this.sd=t,this._=t._,this.log=t.log;var e=this;t.registerInterceptor("buildDataStage",{extendProps:{priority:0,entry:function(t){return s(t,e)}}})}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},o.prototype.register=function(t){return this.sd?void(this._.isObject(t)&&this._.isArray(t.events)&&t.events.length>0&&this._.isObject(t.properties)&&!this._.isEmptyObject(t.properties)?this.customRegister.push(t):this.log("RegisterProperties: register \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},o.prototype.hookRegister=function(t){return this.sd?void(this._.isFunction(t)?this.customRegister.push(t):this.log("RegisterProperties: hookRegister \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},r.prototype.saveObjectVal=function(t,e){this._.isString(e)||(e=JSON.stringify(e)),1==this.sd.para.encrypt_cookie&&(e=this.sd.kit.userEncrypt(e)),this._.cookie.isSupport()&&this._.cookie.set(t,e),this.cookie_value=e},r.prototype.readObjectVal=function(t){var e=this._.cookie.isSupport()?this._.cookie.get(t):this.cookie_value;return e?(e=this.sd.kit.userDecryptIfNeeded(e),this._.safeJSONParse(e)):null};var h="sensorsdata2015jssdksession";n.prototype.init=function(t){if(!t||"object"!=typeof t)return void this.log("Session Event \u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25\uff01");var e=this;this.sd=t,this._=t._,this.log=t.log,this.cookie_name=h+(t.para.sdk_id||""),this.registerProperties=new o,this.registerProperties.init(t),this.store=new r(t),this.registerProperties.hookRegister(function(){return e.addSessionID()})},n.prototype.addSessionID=function(){var t=+new Date;this.prop=this.store.readObjectVal(this.cookie_name)||{};var e=this.prop.first_session_time,i=this.prop.latest_session_time;if(!e||!i||e>t||i>t||t-e>432e5||t-i>18e5){var s=this._.UUID();this.prop={session_id:s.replace(/-/g,""),first_session_time:t,latest_session_time:t}}else this.prop.latest_session_time=t;return this.store.saveObjectVal(this.cookie_name,this.prop),{$event_session_id:this.prop.session_id}};var c=new n,u=i(c,"SessionEvent","sdkReady");return u}(); \ No newline at end of file diff --git a/lishui2/web/dist/plugins/session-event/index.es6.js b/lishui2/web/dist/plugins/session-event/index.es6.js new file mode 100644 index 0000000..e58cc5d --- /dev/null +++ b/lishui2/web/dist/plugins/session-event/index.es6.js @@ -0,0 +1 @@ +var sdkversion_placeholder="1.25.15";function wrapPluginInitFn(e,t,i){if(t&&(e.plugin_name=t),i&&e.init){var s=e.init;e.init=function(o,r){if(wrapLogFn(o,e,t),o.readyState&&o.readyState.state>=3||!o.on)return n();function n(){s.call(e,o,r)}o.on(i,n)}}return e}function wrapLogFn(e,t,i){function s(t,s){e.logger?e.logger.msg.apply(e.logger,s).module(i+""||"").level(t).log():e.log&&e.log.apply(e,s)}t.log=function(){s("log",arguments)},t.warn=function(){s("warn",arguments)},t.error=function(){s("error",arguments)}}function createPlugin(e,t,i){return wrapPluginInitFn(e,t,i),e.plugin_version=sdkversion_placeholder,e}function addProperties(e,t){if("track"!==e.type)return e;var i=t.sd,s=i._,o=i.saEvent.check,r=s.extend2Lev({properties:{}},e),n=t.customRegister,p=r.properties,a=r.event,l={};return s.each(n,function(e){if(s.isObject(e))s.indexOf(e.events,a)>-1&&o({properties:e.properties})&&(l=s.extend(l,e.properties));else if(s.isFunction(e)){var t=e({event:a,properties:p,data:r});s.isObject(t)&&!s.isEmptyObject(t)&&o({properties:t})&&(l=s.extend(l,t))}}),e.properties=s.extend(p,l),e}function RegisterProperties(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}function Store(e){this.sd=e,this._=e._,this.cookie_value=null}RegisterProperties.prototype.init=function(e){if(e){this.sd=e,this._=e._,this.log=e.log;var t=this;e.registerInterceptor("buildDataStage",{extendProps:{priority:0,entry:function(e){return addProperties(e,t)}}})}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},RegisterProperties.prototype.register=function(e){this.sd?this._.isObject(e)&&this._.isArray(e.events)&&e.events.length>0&&this._.isObject(e.properties)&&!this._.isEmptyObject(e.properties)?this.customRegister.push(e):this.log("RegisterProperties: register \u53c2\u6570\u9519\u8bef"):this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},RegisterProperties.prototype.hookRegister=function(e){this.sd?this._.isFunction(e)?this.customRegister.push(e):this.log("RegisterProperties: hookRegister \u53c2\u6570\u9519\u8bef"):this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},Store.prototype.saveObjectVal=function(e,t){this._.isString(t)||(t=JSON.stringify(t)),1==this.sd.para.encrypt_cookie&&(t=this.sd.kit.userEncrypt(t)),this._.cookie.isSupport()&&this._.cookie.set(e,t),this.cookie_value=t},Store.prototype.readObjectVal=function(e){var t=this._.cookie.isSupport()?this._.cookie.get(e):this.cookie_value;return t?(t=this.sd.kit.userDecryptIfNeeded(t),this._.safeJSONParse(t)):null};var COOKIE_NAME="sensorsdata2015jssdksession";function SessionEvent(){this.registerProperties=null,this.store=null,this.sd=null,this._=null,this.log=window.console&&window.console.log||function(){},this.cookie_name="",this.prop={}}SessionEvent.prototype.init=function(e){if(e&&"object"==typeof e){var t=this;this.sd=e,this._=e._,this.log=e.log,this.cookie_name=COOKIE_NAME+(e.para.sdk_id||""),this.registerProperties=new RegisterProperties,this.registerProperties.init(e),this.store=new Store(e),this.registerProperties.hookRegister(function(){return t.addSessionID()})}else this.log("Session Event \u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25\uff01")},SessionEvent.prototype.addSessionID=function(){var e=+new Date;this.prop=this.store.readObjectVal(this.cookie_name)||{};var t=this.prop.first_session_time,i=this.prop.latest_session_time;if(!t||!i||t>e||i>e||e-t>432e5||e-i>18e5){var s=this._.UUID();this.prop={session_id:s.replace(/-/g,""),first_session_time:e,latest_session_time:e}}else this.prop.latest_session_time=e;return this.store.saveObjectVal(this.cookie_name,this.prop),{$event_session_id:this.prop.session_id}};var instance=new SessionEvent,index=createPlugin(instance,"SessionEvent","sdkReady");export default index; \ No newline at end of file diff --git a/lishui2/web/dist/plugins/session-event/index.js b/lishui2/web/dist/plugins/session-event/index.js new file mode 100644 index 0000000..b4b1651 --- /dev/null +++ b/lishui2/web/dist/plugins/session-event/index.js @@ -0,0 +1 @@ +(window.SensorsDataWebJSSDKPlugin=window.SensorsDataWebJSSDKPlugin||{}).SessionEvent=function(){"use strict";function t(t,i,s){if(i&&(t.plugin_name=i),s&&t.init){var o=t.init;t.init=function(r,n){function p(){o.call(t,r,n)}return e(r,t,i),r.readyState&&r.readyState.state>=3||!r.on?p():void r.on(s,p)}}return t}function e(t,e,i){function s(e,s){t.logger?t.logger.msg.apply(t.logger,s).module(i+""||"").level(e).log():t.log&&t.log.apply(t,s)}e.log=function(){s("log",arguments)},e.warn=function(){s("warn",arguments)},e.error=function(){s("error",arguments)}}function i(e,i,s){return t(e,i,s),e.plugin_version=p,e}function s(t,e){if("track"!==t.type)return t;var i=e.sd,s=i._,o=i.saEvent.check,r=s.extend2Lev({properties:{}},t),n=e.customRegister,p=r.properties,h=r.event,c={};return s.each(n,function(t){if(s.isObject(t))s.indexOf(t.events,h)>-1&&o({properties:t.properties})&&(c=s.extend(c,t.properties));else if(s.isFunction(t)){var e=t({event:h,properties:p,data:r});s.isObject(e)&&!s.isEmptyObject(e)&&o({properties:e})&&(c=s.extend(c,e))}}),t.properties=s.extend(p,c),t}function o(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}function r(t){this.sd=t,this._=t._,this.cookie_value=null}function n(){this.registerProperties=null,this.store=null,this.sd=null,this._=null,this.log=window.console&&window.console.log||function(){},this.cookie_name="",this.prop={}}var p="1.25.15";o.prototype.init=function(t){if(t){this.sd=t,this._=t._,this.log=t.log;var e=this;t.registerInterceptor("buildDataStage",{extendProps:{priority:0,entry:function(t){return s(t,e)}}})}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},o.prototype.register=function(t){return this.sd?void(this._.isObject(t)&&this._.isArray(t.events)&&t.events.length>0&&this._.isObject(t.properties)&&!this._.isEmptyObject(t.properties)?this.customRegister.push(t):this.log("RegisterProperties: register \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},o.prototype.hookRegister=function(t){return this.sd?void(this._.isFunction(t)?this.customRegister.push(t):this.log("RegisterProperties: hookRegister \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},r.prototype.saveObjectVal=function(t,e){this._.isString(e)||(e=JSON.stringify(e)),1==this.sd.para.encrypt_cookie&&(e=this.sd.kit.userEncrypt(e)),this._.cookie.isSupport()&&this._.cookie.set(t,e),this.cookie_value=e},r.prototype.readObjectVal=function(t){var e=this._.cookie.isSupport()?this._.cookie.get(t):this.cookie_value;return e?(e=this.sd.kit.userDecryptIfNeeded(e),this._.safeJSONParse(e)):null};var h="sensorsdata2015jssdksession";n.prototype.init=function(t){if(!t||"object"!=typeof t)return void this.log("Session Event \u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25\uff01");var e=this;this.sd=t,this._=t._,this.log=t.log,this.cookie_name=h+(t.para.sdk_id||""),this.registerProperties=new o,this.registerProperties.init(t),this.store=new r(t),this.registerProperties.hookRegister(function(){return e.addSessionID()})},n.prototype.addSessionID=function(){var t=+new Date;this.prop=this.store.readObjectVal(this.cookie_name)||{};var e=this.prop.first_session_time,i=this.prop.latest_session_time;if(!e||!i||e>t||i>t||t-e>432e5||t-i>18e5){var s=this._.UUID();this.prop={session_id:s.replace(/-/g,""),first_session_time:t,latest_session_time:t}}else this.prop.latest_session_time=t;return this.store.saveObjectVal(this.cookie_name,this.prop),{$event_session_id:this.prop.session_id}};var c=new n,u=i(c,"SessionEvent","sdkReady");return u}(); \ No newline at end of file diff --git a/lishui2/web/dist/sensorsdata.js b/lishui2/web/dist/sensorsdata.js new file mode 100644 index 0000000..755337f --- /dev/null +++ b/lishui2/web/dist/sensorsdata.js @@ -0,0 +1,6 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():t()}(this,function(){function e(e){if(!e)return!1;var t=Object.prototype.toString.call(e);return"[object Function]"==t||"[object AsyncFunction]"==t}function t(){return Date.now&&e(Date.now)?Date.now():(new Date).getTime()}function r(e){return null!=e&&"[object Object]"==Object.prototype.toString.call(e)}function n(){if("function"==typeof Uint32Array){var e="";if("undefined"!=typeof crypto?e=crypto:"undefined"!=typeof msCrypto&&(e=msCrypto),r(e)&&e.getRandomValues){var t=new Uint32Array(1),n=e.getRandomValues(t)[0],i=Math.pow(2,32);return n/i}}return Xi(1e19)/1e19}function i(e){var t=null;try{t=JSON.parse(e)}catch(r){}return t}function a(e,t){this.lockGetPrefix=e||"lock-get-prefix",this.lockSetPrefix=t||"lock-set-prefix"}function s(e){return"function"==typeof e||!(!e||"object"!=typeof e)&&s(e.listener)}function l(){this._events={}}function u(e){var t=e;try{t=decodeURIComponent(e)}catch(r){t=e}return t}function c(e){e=e||"";for(var t={},r=e.substring(1),n=r.split("&"),i=0;i Invalid URL");var r=e.split("#"),n=r[0],i=r.slice(1).join("#");t=this._regex.exec(n);for(var a in this._fields)"undefined"!=typeof t[this._fields[a]]&&(this._values[a]=t[this._fields[a]]);this._values.Hostname=this._values.Host.replace(/:\d+$/,""),this._values.Origin=this._values.Protocol+"://"+this._values.Hostname,this._values.Fragment=i},new t(e)}function g(e){var t={},r=function(){var e;try{return e=new URL("https://www.sensorsdata.cn/"),"https://www.sensorsdata.cn/"===e.href}catch(t){return!1}};if("function"==typeof window.URL&&r())t=new URL(e),t.searchParams||(t.searchParams=function(){var e=c(t.search);return{get:function(t){return e[t]}}}());else{p(e)||(e=String(e)),e=d(e);var n=/^https?:\/\/.+/;if(n.test(e)===!1)return void Wi.log("Invalid URL");var i=f(e);t.hash=i._values.Fragment,t.host=i._values.Host?i._values.Host+(i._values.Port?":"+i._values.Port:""):"",t.href=i._values.URL,t.password=i._values.Password,t.pathname=i._values.Path,t.port=i._values.Port,t.search=i._values.QueryString?"?"+i._values.QueryString:"",t.username=i._values.Username,t.hostname=i._values.Hostname,t.protocol=i._values.Protocol?i._values.Protocol+":":"",t.origin=i._values.Origin?i._values.Origin+(i._values.Port?":"+i._values.Port:""):"",t.searchParams=function(){var e=c("?"+i._values.QueryString);return{get:function(t){return e[t]}}}()}return t}function _(e){return!(!e||1!==e.nodeType)}function h(e){return void 0===e}function v(t){return Array.isArray&&e(v)?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function y(e){return new Gi(e)}function b(e,t,r,n){function i(e){return e&&(e.preventDefault=i.preventDefault,e.stopPropagation=i.stopPropagation,e._getPath=i._getPath),e}function a(e,t,r,n){var a=function(a){if(a=a||i(window.event)){a.target=a.srcElement||a.target;var o,s,l=!0;return"function"==typeof r&&(o=r(a)),s=t.call(e,a),"beforeunload"!==n?(!1!==o&&!1!==s||(l=!1),l):void 0}};return a}i._getPath=function(){var e=this;return this.path||this.composedPath&&this.composedPath()||y(e.target).getParents()},i.preventDefault=function(){this.returnValue=!1},i.stopPropagation=function(){this.cancelBubble=!0};var o=function(e,t,r){if(void 0===n&&"click"===t&&(n=!0),e&&e.addEventListener)e.addEventListener(t,function(e){e._getPath=i._getPath,r.call(this,e)},n);else{var o="on"+t,s=e[o];e[o]=a(e,r,s,t)}};o.apply(null,arguments)}function w(e){var t="pushState"in window.history?"popstate":"hashchange";b(window,t,e)}function S(e){if(e)return"undefined"!=typeof window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest?new XMLHttpRequest:"undefined"!=typeof XDomainRequest?new XDomainRequest:null;if("undefined"!=typeof window.XMLHttpRequest)return new XMLHttpRequest;if(window.ActiveXObject)try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){Wi.log(t)}}}function k(e,t,r){if(null==e)return!1;if(Yi&&e.forEach===Yi)e.forEach(t,r);else if(v(e))for(var n=0,i=e.length;n=200&&i.status<300||304==i.status?e.success(t(i.responseText)):e.error(t(i.responseText),i.status),i.onreadystatechange=null,i.onload=null)}catch(r){i.onreadystatechange=null,i.onload=null}},i.open(e.type,e.url,!0);try{e.credentials&&(i.withCredentials=!0),r(e.header)&&k(e.header,function(e,t){i.setRequestHeader&&i.setRequestHeader(t,e)}),e.data&&(e.cors||i.setRequestHeader&&i.setRequestHeader("X-Requested-With","XMLHttpRequest"),"application/json"===e.contentType?i.setRequestHeader&&i.setRequestHeader("Content-type","application/json; charset=UTF-8"):i.setRequestHeader&&i.setRequestHeader("Content-type","application/x-www-form-urlencoded"))}catch(l){Wi.log(l)}i.send(e.data||null)}function O(e,t){var r=[];return null==e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(k(e,function(e,n,i){r.push(t(e,n,i))}),r)}function N(e){var t=[];try{t=O(atob(e).split(""),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})}catch(r){t=[]}try{return decodeURIComponent(t.join(""))}catch(r){return t.join("")}}function j(e){var t="";try{t=btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode("0x"+t)}))}catch(r){t=e}return t}function T(e,t){t=t||window;var r=!1,n=!0,i=t.document,a=i.documentElement,o=i.addEventListener,s=o?"addEventListener":"attachEvent",l=o?"removeEventListener":"detachEvent",u=o?"":"on",c=function(n){"readystatechange"==n.type&&"complete"!=i.readyState||(("load"==n.type?t:i)[l](u+n.type,c,!1),!r&&(r=!0)&&e.call(t,n.type||n))},p=function(){try{a.doScroll("left")}catch(e){return void setTimeout(p,50)}c("poll")};if("complete"==i.readyState)e.call(t,"lazy");else{if(!o&&a.doScroll){try{n=!t.frameElement}catch(d){Wi.log(d)}n&&p()}i[s](u+"DOMContentLoaded",c,!1),i[s](u+"readystatechange",c,!1),t[s](u+"load",c,!1)}}function I(e){return k(Array.prototype.slice.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&void 0===e[r]&&(e[r]=t[r])}),e}function $(e){var t=e;try{t=decodeURI(e)}catch(r){t=e}return t}function A(e){var t="t6KJCZa5pDdQ9khoEM3Tj70fbP2eLSyc4BrsYugARqFIw1mzlGNVXOHiWvxUn8",r=t.length-1,n={},i=0;for(i=0;i=2&&!/^(\d+\.)+\d+$/.test(r))for(var i="."+n.splice(n.length-1,1);n.length>0;)if(i="."+n.splice(n.length-1,1)+i,document.cookie=t+"=true; path=/; domain="+i,document.cookie.indexOf(t+"=true")!==-1){var a=new Date;return a.setTime(a.getTime()-1e3),document.cookie=t+"=true; expires="+a.toGMTString()+"; path=/; SameSite=Lax; domain="+i,i}return""}function J(e){function t(e,t){e=d(e);var r;if("body"===e)return document.getElementsByTagName("body")[0];if(0===e.indexOf("#"))e=e.slice(1),r=document.getElementById(e);else if(e.indexOf(":nth-of-type")>-1){var n=e.split(":nth-of-type");if(!n[0]||!n[1])return null;var i=n[0],a=n[1].match(/\(([0-9]+)\)/);if(!a||!a[1])return null;var o=Number(a[1]);if(!(_(t)&&t.children&&t.children.length>0))return null;for(var s=t.children,l=0;l0)return null}return r?r:null}function r(e){var i,a=n.shift();if(!a)return e;try{i=t(a,e)}catch(o){Wi.log(o)}return i&&_(i)?r(i):null}if(!p(e))return null;var n=e.split(">"),i=null;return i=r(),i&&_(i)?i:null}function M(e,t){var r="",n="";return e.textContent?r=d(e.textContent):e.innerText&&(r=d(e.innerText)),r&&(r=r.replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)),n=r||"","input"!==t&&"INPUT"!==t||(n=e.value||""),n}function q(e,t){t&&"string"==typeof t||(t="hostname\u89e3\u6790\u5f02\u5e38");var r=null;try{r=g(e).hostname}catch(n){Wi.log("getHostname\u4f20\u5165\u7684url\u53c2\u6570\u4e0d\u5408\u6cd5\uff01")}return r||t}function K(){try{var e=navigator.appVersion.match(/OS (\d+)[._](\d+)[._]?(\d+)?/);return e&&e[1]?Number.parseInt(e[1],10):""}catch(t){return""}}function F(e){var t={},r=e.split("?"),n=r[1]||"";return n&&(t=c("?"+n)),t}function V(e,t){var r=g(e),n=r.searchParams.get(t)||"";if(!n){var i=r.hash;if(i){var a=F(i);n=a[t]||""}}return n}function W(){return"undefined"!=typeof window.matchMedia||"undefined"!=typeof window.msMatchMedia}function z(){var e=screen.msOrientation||screen.mozOrientation||(screen.orientation||{}).type,t="\u672a\u53d6\u5230\u503c";if(e)t=e.indexOf("landscape")>-1?"landscape":"portrait";else if(W()){var r=window.matchMedia||window.msMatchMedia;r("(orientation: landscape)").matches?t="landscape":r("(orientation: portrait)").matches&&(t="portrait")}return t}function X(){var e,t={},r=navigator.userAgent.toLowerCase();return(e=r.match(/ qq\/([\d.]+)/))?t.qqBuildinBrowser=Number(e[1].split(".")[0]):(e=r.match(/mqqbrowser\/([\d.]+)/))?t.qqBrowser=Number(e[1].split(".")[0]):(e=r.match(/opera.([\d.]+)/))?t.opera=Number(e[1].split(".")[0]):(e=r.match(/msie ([\d.]+)/))?t.ie=Number(e[1].split(".")[0]):(e=r.match(/edge.([\d.]+)/))?t.edge=Number(e[1].split(".")[0]):(e=r.match(/firefox\/([\d.]+)/))?t.firefox=Number(e[1].split(".")[0]):(e=r.match(/chrome\/([\d.]+)/))?t.chrome=Number(e[1].split(".")[0]):(e=r.match(/version\/([\d.]+).*safari/))?t.safari=Number(e[1].match(/^\d*.\d*/)):(e=r.match(/trident\/([\d.]+)/))&&(t.ie=11),t}function Z(e){return p(e)?(e=d(e),$(e)):$(location.href)}function G(e){return p(e)?(e=d(e),$(e)):$(location.pathname)}function Q(e,t){return e.hasAttribute?e.hasAttribute(t):e.attributes?!(!e.attributes[t]||!e.attributes[t].specified):void 0}function Y(e,t){if("string"==typeof t)return Q(e,t);if(v(t)){for(var r=!1,n=0;n0)for(var a=e.split(""),o=0;ot)for(i=r+i;l=n*i+s,lt;)i=i/2+s;i=n*i+s}return i}function re(e,t){var r=e.indexOf;if(r)return r.call(e,t);for(var n=0;n41||t.firefox>30||t.opera>25||t.safari>12)&&(e=!0):(t.chrome>41||t.firefox>30||t.opera>25||t.safari>11.3)&&(e=!0)}else(t.chrome>38||t.edge>13||t.firefox>30||t.opera>25||t.safari>11)&&(e=!0);return e}function de(){return"undefined"!=typeof window.XMLHttpRequest&&("withCredentials"in new XMLHttpRequest||"undefined"!=typeof XDomainRequest)}function fe(t){if(!r(t)||!p(t.callbackName))return Wi.log("JSONP \u8bf7\u6c42\u7f3a\u5c11 callbackName"),!1;t.success=e(t.success)?t.success:function(){},t.error=e(t.error)?t.error:function(){},t.data=t.data||"";var n=document.createElement("script"),i=document.getElementsByTagName("head")[0],a=null,o=!1;if(n.defer="defer",i.appendChild(n),ce(t.timeout)){var s=Math.min(t.timeout,3e5);a=setTimeout(function(){return!o&&(t.error("timeout"),window[t.callbackName]=function(){Wi.log("call jsonp error")},a=null,i.removeChild(n),void(o=!0))},s)}if(window[t.callbackName]=function(){clearTimeout(a),a=null,t.success.apply(null,arguments),window[t.callbackName]=function(){Wi.log("call jsonp error")},i.removeChild(n)},t.url.indexOf("?")>-1?t.url+="&callbackName="+t.callbackName:t.url+="?callbackName="+t.callbackName,r(t.data)){var l=[];k(t.data,function(e,t){l.push(t+"="+e)}),t.data=l.join("&"),t.url+="&"+t.data}n.onerror=function(e){return!o&&(window[t.callbackName]=function(){Wi.log("call jsonp error")},clearTimeout(a),a=null,i.removeChild(n),t.error(e),void(o=!0))},n.src=encodeURI(t.url)}function ge(t){var r={visibleHandler:e(t.visible)?t.visible:function(){},hiddenHandler:e(t.hidden)?t.hidden:function(){},visibilityChange:null,hidden:null,isSupport:function(){return"undefined"!=typeof document[this.hidden]},init:function(){"undefined"!=typeof document.hidden?(this.hidden="hidden",this.visibilityChange="visibilitychange"):"undefined"!=typeof document.mozHidden?(this.hidden="mozHidden",this.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.msHidden?(this.hidden="msHidden",this.visibilityChange="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(this.hidden="webkitHidden",this.visibilityChange="webkitvisibilitychange"),this.listen()},listen:function(){if(this.isSupport()){var e=this;b(document,this.visibilityChange,function(){document[e.hidden]?e.hiddenHandler():e.visibleHandler()},1)}else b(window,"focus",this.visibleHandler),b(window,"blur",this.hiddenHandler)}};r.init()}function _e(e){e=P({success:function(){},error:function(){},appendCall:function(e){document.getElementsByTagName("head")[0].appendChild(e)}},e);var t=null;"css"===e.type&&(t=document.createElement("link"),t.rel="stylesheet",t.href=e.url),"js"===e.type&&(t=document.createElement("script"),t.async="async",t.setAttribute("charset","UTF-8"),t.src=e.url,t.type="text/javascript"),t.onload=t.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(e.success(),t.onload=t.onreadystatechange=null)},t.onerror=function(){e.error(),t.onerror=null},e.appendCall(t)}function he(e){if("string"!=typeof e)return"";for(var t=/^\s*javascript/i;t.test(e);)e=e.replace(t,"");return e}function me(e,t){e=String(e),t="number"==typeof t?t:13;for(var r=126,n=e.split(""),i=0,a=n.length;ir?(s&&(clearTimeout(s),s=null),l=c,o=e.apply(i,a),s||(i=a=null)):s||n.trailing===!1||(s=setTimeout(u,p)),o}}function ke(e){var t=[];return null==e?t:(k(e,function(e){t[t.length]=e}),t)}function Pe(e){return e?e.toArray?e.toArray():v(e)||ie(e)?Array.prototype.slice.call(e):ke(e):[]}function Ce(e){for(var t,r=[],n={},i=0;i-1;if(r(i)&&"$option"!==a&&!s)try{t[a]=JSON.stringify(i)}catch(l){delete t[a],Ne("\u60a8\u7684\u6570\u636e-",a,i,"\u6570\u636e\u503c\u6709\u9519\u8bef\uff0c\u5df2\u5c06\u5176\u5220\u9664")}else p(i)||ce(i)||D(i)||ae(i)||v(i)||e(i)||"$option"===a||s||(Ne("\u60a8\u7684\u6570\u636e-",a,i,"-\u683c\u5f0f\u4e0d\u6ee1\u8db3\u8981\u6c42\uff0c\u6211\u4eec\u5df2\u7ecf\u5c06\u5176\u5220\u9664"),delete t[a])}),t):t}function rt(e,t){return ce(t)&&e.length>t?(Ne("\u5b57\u7b26\u4e32\u957f\u5ea6\u8d85\u8fc7\u9650\u5236\uff0c\u5df2\u7ecf\u505a\u622a\u53d6--"+e),e.slice(0,t)):e}function nt(e,t){var n=["distinct_id","user_id","id","date","datetime","event","events","first_id","original_id","device_id","properties","second_id","time","users"];r(e)&&k(n,function(r,n){r in e&&(re(t||[],r)>-1||(n<3?(delete e[r],Ne("\u60a8\u7684\u5c5e\u6027- "+r+"\u662f\u4fdd\u7559\u5b57\u6bb5\uff0c\u6211\u4eec\u5df2\u7ecf\u5c06\u5176\u5220\u9664")):Ne("\u60a8\u7684\u5c5e\u6027- "+r+"\u662f\u4fdd\u7559\u5b57\u6bb5\uff0c\u8bf7\u907f\u514d\u5176\u4f5c\u4e3a\u5c5e\u6027\u540d")))})}function it(e){var t=["$element_selector","$element_path"],n=["sensorsdata_app_visual_properties"];r(e)&&k(e,function(i,a){if(r(i))it(e[a]);else if(p(i)){if(re(n,a)>-1)return;e[a]=rt(i,re(t,a)>-1?1024:pa.max_string_length)}})}function at(e){"undefined"!=typeof e.properties.$project&&(e.project=e.properties.$project,delete e.properties.$project),"undefined"!=typeof e.properties.$token&&(e.token=e.properties.$token,delete e.properties.$token)}function ot(e){if("item_type"in e){var t=e.item_type,r=function(t){return t||delete e.item_type,!0};et({item_type:t},r)}if("item_id"in e){var n=e.item_id,i=function(t,r,n){return t||"string"!==n||delete e.item_id,!0};et({item_id:n},i)}}function st(e,t){k(e,function(r,n){var i=function(t,r,i){return t||"keyLength"===i||delete e[n],!0};re(t||[],n)===-1&&et({propertyKey:n},i)})}function lt(e){var t=e.properties;ye(e),r(t)?(tt(t),nt(t),at(e),st(t),it(t)):"properties"in e&&(e.properties={}),ot(e)}function ut(e,t){var r=t.sensors;return e._track_id=Number(String(n()).slice(2,5)+String(n()).slice(2,4)+String((new Date).getTime()).slice(-4)),e._flush_time=(new Date).getTime(),r.events.tempAdd("send",e),e}function ct(e,t){var n=t.sensors,i={};r(e)&&r(e.identities)&&!oe(e.identities)?P(i,e.identities):P(i,$a._state.identities);var a={identities:i,distinct_id:$a.getDistinctId(),lib:{$lib:"js",$lib_method:"code",$lib_version:String(n.lib_version)},properties:{}};return r(e)&&r(e.properties)&&!oe(e.properties)&&(e.properties.$lib_detail&&(a.lib.$lib_detail=e.properties.$lib_detail,delete e.properties.$lib_detail),e.properties.$lib_method&&(a.lib.$lib_method=e.properties.$lib_method,delete e.properties.$lib_method)),L(a,$a.getUnionId(),e),r(e.properties)&&!oe(e.properties)&&P(a.properties,e.properties),e.type&&"profile"===e.type.slice(0,7)||(a.properties=P({},ba.properties(),$a.getProps(),$a.getSessionProps(),ba.currentProps,a.properties),n.para.preset_properties.latest_referrer&&!p(a.properties.$latest_referrer)&&(a.properties.$latest_referrer="\u53d6\u503c\u5f02\u5e38"),n.para.preset_properties.latest_search_keyword&&!p(a.properties.$latest_search_keyword)&&(n.para.preset_properties.search_keyword_baidu&&p(a.properties.$search_keyword_id)&&ce(a.properties.$search_keyword_id_hash)&&p(a.properties.$search_keyword_id_type)||(a.properties.$latest_search_keyword="\u53d6\u503c\u5f02\u5e38")),n.para.preset_properties.latest_traffic_source_type&&!p(a.properties.$latest_traffic_source_type)&&(a.properties.$latest_traffic_source_type="\u53d6\u503c\u5f02\u5e38"),n.para.preset_properties.latest_landing_page&&!p(a.properties.$latest_landing_page)&&(a.properties.$latest_landing_page="\u53d6\u503c\u5f02\u5e38"),"not_collect"===n.para.preset_properties.latest_wx_ad_click_id?(delete a.properties._latest_wx_ad_click_id,delete a.properties._latest_wx_ad_hash_key,delete a.properties._latest_wx_ad_callbacks):n.para.preset_properties.latest_wx_ad_click_id&&!p(a.properties._latest_wx_ad_click_id)&&(a.properties._latest_wx_ad_click_id="\u53d6\u503c\u5f02\u5e38",a.properties._latest_wx_ad_hash_key="\u53d6\u503c\u5f02\u5e38",a.properties._latest_wx_ad_callbacks="\u53d6\u503c\u5f02\u5e38"),p(a.properties._latest_wx_ad_click_id)&&(a.properties.$url=Z())),a.properties.$time&&D(a.properties.$time)?(a.time=1*a.properties.$time,delete a.properties.$time):a.time=1*new Date,function(e){if(n.bridge&&"success"===n.bridge.bridge_info.verify_success){var t=Ua.customProp.geth5Props(JSON.parse(JSON.stringify(e)));r(t)&&!oe(t)&&(e.properties=P(e.properties,t))}var i=Ba.customProp.getVtrackProps(JSON.parse(JSON.stringify(e)));r(i)&&!oe(i)&&(e.properties=P(e.properties,i))}(a),Me(a),Sa.checkIsAddSign(a),Sa.checkIsFirstTime(a),Fe(a),Ve(a),a}function pt(e){return Ma.stage.process("basicProps",e)}function dt(e){return Ma.stage.process("formatData",e)}function ft(e,t,r,n){function i(e){function i(){o||(o=!0,location.href=a.href)}e.stopPropagation(),e.preventDefault();var o=!1;setTimeout(i,1e3),n(t,r,i)}e=e||{};var a=null;return e.ele&&(a=e.ele),e.event&&(a=e.target?e.target:e.event.target),r=r||{},!(!a||"object"!=typeof a)&&(!a.href||/^javascript/.test(a.href)||a.target||a.download||a.onclick?(n(t,r),!1):(e.event&&i(e.event),void(e.ele&&He(e.ele,"click",function(e){i(e)}))))}function gt(){var e=location.protocol;return"http:"===e||"https:"===e?e:"http:"}function _t(e){return Ka.stage.process("webClickEvent",e)}function ht(e){return Ka.stage.process("webStayEvent",e)}function mt(){var e=ba.campaignParams(),t={};return k(e,function(e,r,n){(" "+Fi.source_channel_standard+" ").indexOf(" "+r+" ")!==-1?t["$"+r]=n[r]:t[r]=n[r]}),t}function vt(e,t,r){if(Fi.is_first_visitor&&r){var n={};Fi.para.preset_properties.search_keyword_baidu&&xe(document.referrer)&&Ie()&&(n.$search_keyword_id=va.id(),n.$search_keyword_id_type=va.type(),n.$search_keyword_id_hash=te(n.$search_keyword_id));var i=De(null,t);e(P({$first_visit_time:new Date,$first_referrer:i,$first_referrer_host:i?q(i,"\u53d6\u503c\u5f02\u5e38"):"",$first_browser_language:p(navigator.language)?navigator.language.toLowerCase():"\u53d6\u503c\u5f02\u5e38",$first_browser_charset:p(document.charset)?document.charset.toUpperCase():"\u53d6\u503c\u5f02\u5e38",$first_traffic_source_type:Be(),$first_search_keyword:Ee()},mt(),n)),Fi.is_first_visitor=!1}}function yt(t){var r=location.href,n=window.history.pushState,i=window.history.replaceState;e(window.history.pushState)&&(window.history.pushState=function(){n.apply(window.history,arguments),t(r),r=location.href}),e(window.history.replaceState)&&(window.history.replaceState=function(){i.apply(window.history,arguments),t(r),r=location.href});var a;a=window.document.documentMode?"hashchange":n?"popstate":"hashchange",b(window,a,function(){t(r),r=location.href})}function bt(e,t){var r=[];"string"==typeof e&&e in Za.EVENT_LIST&&(r=Za.EVENT_LIST[e],Za[r[0]].on(r[1],t))}function wt(e,t){var n=e.id,i=e.callback,a=e.name,o=$a.getFirstId(),s=$a.getOriginDistinctId();if(!et({distinct_id:n}))return je("login id is invalid"),!1;if(n===$a.getOriginDistinctId()&&!o)return je("login id is equal to distinct_id"),!1;if(r($a._state.identities)&&$a._state.identities.hasOwnProperty(a)&&n===$a._state.first_id)return!1;var l=$a._state.history_login_id.name!==a||n!==$a._state.history_login_id.value; +if(l){$a._state.identities[a]=n,$a.set("history_login_id",{name:a,value:n}),o||$a.set("first_id",s),t(n,"$SignUp",{},i);var u={$identity_cookie_id:$a._state.identities.$identity_cookie_id};return u[a]=n,St(u),!0}return!1}function St(e){var t={};for(var r in e)t[r]=e[r];$a._state.identities=t,$a.save()}function kt(e,t){if(!et({unbindKey:e,bindValue:t}))return!1;if(r($a._state.identities)&&$a._state.identities.hasOwnProperty(e)&&$a._state.identities[e]===t){var n=$a.getUnionId().login_id;n&&e+"+"+t===n&&($a._state.distinct_id=$a._state.first_id,$a._state.first_id="",$a.set("history_login_id",{name:"",value:""})),"$identity_cookie_id"!==e&&(delete $a._state.identities[e],$a.save())}var i={};return i[e]=t,i}function Pt(){Fi._t=Fi._t||1*new Date,Fi.is_first_visitor=!1,Fi.source_channel_standard=fa}function Ct(e){P(pa,e||Fi.para||{}),Fi.para=pa;var t={};if(r(Fi.para.is_track_latest))for(var n in Fi.para.is_track_latest)t["latest_"+n]=Fi.para.is_track_latest[n];Fi.para.preset_properties=P({},da.preset_properties,t,Fi.para.preset_properties||{});var i;for(i in da)void 0===Fi.para[i]&&(Fi.para[i]=da[i]);"string"!=typeof Fi.para.web_url||"://"!==Fi.para.web_url.slice(0,3)&&"//"!==Fi.para.web_url.slice(0,2)||("://"===Fi.para.web_url.slice(0,3)?Fi.para.web_url=location.protocol.slice(0,-1)+Fi.para.web_url:Fi.para.web_url=location.protocol+Fi.para.web_url),ya.protocol.serverUrl(),Fi.bridge&&Fi.bridge.initPara();var a=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],o=["www.baidu.","m.baidu.","m.sm.cn","so.com","sogou.com","youdao.com","google.","yahoo.com/","bing.com/","ask.com/"],s=["weibo.com","renren.com","kaixin001.com","douban.com","qzone.qq.com","zhihu.com","tieba.baidu.com","weixin.qq.com"],l={baidu:["wd","word","kw","keyword"],google:"q",bing:"q",yahoo:"p",sogou:["query","keyword"],so:"q",sm:"q"};"object"==typeof Fi.para.source_type&&(Fi.para.source_type.utm=v(Fi.para.source_type.utm)?Fi.para.source_type.utm.concat(a):a,Fi.para.source_type.search=v(Fi.para.source_type.search)?Fi.para.source_type.search.concat(o):o,Fi.para.source_type.social=v(Fi.para.source_type.social)?Fi.para.source_type.social.concat(s):s,Fi.para.source_type.keyword=r(Fi.para.source_type.keyword)?P(l,Fi.para.source_type.keyword):l);var u={div:!1},c=["mark","/mark","strong","b","em","i","u","abbr","ins","del","s","sup"];if(Fi.para.heatmap&&!r(Fi.para.heatmap)&&(Fi.para.heatmap={}),r(Fi.para.heatmap)){Fi.para.heatmap.clickmap=Fi.para.heatmap.clickmap||"default",Fi.para.heatmap.scroll_notice_map=Fi.para.heatmap.scroll_notice_map||"default",Fi.para.heatmap.scroll_delay_time=Fi.para.heatmap.scroll_delay_time||4e3,Fi.para.heatmap.scroll_event_duration=Fi.para.heatmap.scroll_event_duration||18e3,Fi.para.heatmap.renderRefreshTime=Fi.para.heatmap.renderRefreshTime||1e3,Fi.para.heatmap.loadTimeout=Fi.para.heatmap.loadTimeout||1e3,Fi.para.heatmap.get_vtrack_config!==!0&&(Fi.para.heatmap.get_vtrack_config=!1);var p=v(Fi.para.heatmap.track_attr)?U(Fi.para.heatmap.track_attr,function(e){return e&&"string"==typeof e}):[];if(p.push("data-sensors-click"),Fi.para.heatmap.track_attr=p,r(Fi.para.heatmap.collect_tags))if(Fi.para.heatmap.collect_tags.div===!0)Fi.para.heatmap.collect_tags.div={ignore_tags:c,max_level:1};else if(r(Fi.para.heatmap.collect_tags.div)){if(Fi.para.heatmap.collect_tags.div.ignore_tags?v(Fi.para.heatmap.collect_tags.div.ignore_tags)||(Ne("ignore_tags \u53c2\u6570\u5fc5\u987b\u662f\u6570\u7ec4\u683c\u5f0f"),Fi.para.heatmap.collect_tags.div.ignore_tags=c):Fi.para.heatmap.collect_tags.div.ignore_tags=c,Fi.para.heatmap.collect_tags.div.max_level){var d=[1,2,3];re(d,Fi.para.heatmap.collect_tags.div.max_level)===-1&&(Fi.para.heatmap.collect_tags.div.max_level=1)}}else Fi.para.heatmap.collect_tags.div=!1;else Fi.para.heatmap.collect_tags=u}Fi.para.server_url=Ge(Fi.para.server_url),Fi.para.noCache===!0?Fi.para.noCache="?"+(new Date).getTime():Fi.para.noCache="",Fi.para.callback_timeout>Fi.para.datasend_timeout&&(Fi.para.datasend_timeout=Fi.para.callback_timeout),Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&r(Fi.para.heatmap.collect_tags)&&k(Fi.para.heatmap.collect_tags,function(e,t){"div"!==t&&e&&Fi.heatmap.otherTags.push(t)}),Fi.para.heatmap&&"default"===Fi.para.heatmap.clickmap&&Fi.heatmap.initUnlimitedTags()}function Ot(){var e=Array.prototype.slice.call(arguments),t=e[0],r=e.slice(1);return"string"==typeof t&&Wa[t]?Wa[t].apply(Wa,r):void("function"==typeof t?t.apply(Fi,r):Ne("quick\u65b9\u6cd5\u4e2d\u6ca1\u6709\u8fd9\u4e2a\u529f\u80fd"+e[0]))}function Nt(t,n){function i(){return!a.plugin_is_init&&a.init(Fi,n),a.plugin_is_init=!0,Fi.modules=Fi.modules||{},Fi.modules[a.plugin_name||"unnamed_"+Qa++]=a,a}if(!p(t)&&!r(t))return void je("use's first arguments must be string or object.");var a;if(r(t)){var o=Fi.modules&&Fi.modules[t.plugin_name];o&&o!==t&&Ne(t.name+" is conflict with builtin plugin, and sdk uses builtin plugin."),a=o||t}return p(t)&&(r(Fi.modules)&&r(Fi.modules[t])?a=Fi.modules[t]:r(window.SensorsDataWebJSSDKPlugin)&&r(window.SensorsDataWebJSSDKPlugin[t])?a=window.SensorsDataWebJSSDKPlugin[t]:window.sensorsDataAnalytic201505&&window.sensorsDataAnalytic201505.modules[t]&&(a=window.sensorsDataAnalytic201505.modules[t])),a&&e(a.init)?a.plugin_is_init?a:(a.plugin_name||Ne("warning: invalid plugin, plugin_name required."),a.plugin_version?a.plugin_version!==Fi.lib_version&&Ne("warning: plugin version not match SDK version. plugin may not work correctly. "):Ne("warning: invalid plugin, plugin version required."),i()):(Ne((t.plugin_name||t)+" is not found or it's not a standard plugin. Please check sensorsdata official documents."),a)}function jt(e,t,r){et({event:e,properties:t})&&qa.send({type:"track",event:e,properties:t},r)}function Tt(e,t){return!!et({bindKey:e,bindValue:t})&&($a._state.identities[e]=t,$a.save(),void qa.send({type:"track_id_bind",event:"$BindID",properties:{}}))}function It(e,t){var r=kt(e,t);r&&qa.send({identities:r,type:"track_id_unbind",event:"$UnbindID",properties:{}})}function $t(e,t,r){"object"==typeof e&&e.tagName?ft({ele:e},t,r,Fi.track):"object"==typeof e&&e.target&&e.event&&ft(e,t,r,Fi.track)}function At(e,t,r){return r=r||{},!(!e||"object"!=typeof e)&&(!(!e.href||/^javascript/.test(e.href)||e.target)&&void He(e,"click",function(n){function i(){a||(a=!0,location.href=e.href)}n.preventDefault();var a=!1;setTimeout(i,1e3),Fi.track(t,r,i)}))}function Dt(e,t,r){et({item_type:e,item_id:t,properties:r})&&qa.sendItem({type:"item_set",item_type:e,item_id:t,properties:r||{}})}function xt(e,t){et({item_type:e,item_id:t})&&qa.sendItem({type:"item_delete",item_type:e,item_id:t})}function Et(e,t){et({propertiesMust:e})&&qa.send({type:"profile_set",properties:e},t)}function Lt(e,t){et({propertiesMust:e})&&qa.send({type:"profile_set_once",properties:e},t)}function Ut(e,t){et({propertiesMust:e})&&(k(e,function(t,r){p(t)?e[r]=[t]:v(t)?e[r]=t:(delete e[r],Ne("appendProfile\u5c5e\u6027\u7684\u503c\u5fc5\u987b\u662f\u5b57\u7b26\u4e32\u6216\u8005\u6570\u7ec4"))}),oe(e)||qa.send({type:"profile_append",properties:e},t))}function Rt(e,t){function r(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&!/-*\d+/.test(String(e[t])))return!1;return!0}var n=e;p(e)&&(e={},e[n]=1),et({propertiesMust:e})&&(r(e)?qa.send({type:"profile_increment",properties:e},t):je("profile_increment\u7684\u503c\u53ea\u80fd\u662f\u6570\u5b57"))}function Ht(e){qa.send({type:"profile_delete"},e),$a.set("distinct_id",Zi()),$a.set("first_id","")}function Bt(e,t){var r=e,n={};p(e)&&(e=[],e.push(r)),v(e)?(k(e,function(e){p(e)?n[e]=!0:Ne("profile_unset\u7ed9\u7684\u6570\u7ec4\u91cc\u9762\u7684\u503c\u5fc5\u987b\u65f6string,\u5df2\u7ecf\u8fc7\u6ee4\u6389",e)}),qa.send({type:"profile_unset",properties:n},t)):je("profile_unset\u7684\u53c2\u6570\u5fc5\u987b\u662f\u6570\u7ec4")}function Jt(e,t){"number"==typeof e&&(e=String(e));var r=$a.getFirstId();if("undefined"==typeof e){var n=Zi();r?$a.set("first_id",n):$a.set("distinct_id",n)}else et({distinct_id:e})&&(t===!0?r?$a.set("first_id",e):$a.set("distinct_id",e):r?$a.change("first_id",e):$a.change("distinct_id",e))}function Mt(e,t,r,n){var i=$a.getFirstId()||$a.getDistinctId();$a.set("distinct_id",e),qa.send({original_id:i,distinct_id:$a.getDistinctId(),type:"track_signup",event:t,properties:r},n)}function qt(e,t,r,n){"number"==typeof e&&(e=String(e)),et({distinct_id:e,event:t,properties:r})&&Mt(e,t,r,n)}function Kt(e){et({properties:e})?P(ba.currentProps,e):je("register\u8f93\u5165\u7684\u53c2\u6570\u6709\u8bef")}function Ft(e){$a.clearAllProps(e)}function Vt(e){var t;if(v(e)&&e.length>0)for(t=0;t-1?i:"https:",_e({success:function(){setTimeout(function(){"undefined"!=typeof sa_jssdk_app_define_mode&&window.sa_jssdk_app_define_mode(Fi,e)},0)},error:function(){},type:"js",url:i+"//static.sensorsdata.cn/sdk/"+Fi.lib_version+"/vapph5define.min.js"})}else t();else t()}function ur(t){Fi.para.is_track_single_page&&za.on("switch",function(n){var i=function(r){if(r=r||{},n!==location.href){ba.pageProp.referrer=Z(n);var i=P({$url:Z(),$referrer:Z(n)},r);e(t)?t(i):Fi.quick&&Fi.quick("autoTrack",i)}};if("boolean"==typeof Fi.para.is_track_single_page)i();else if("function"==typeof Fi.para.is_track_single_page){var a=Fi.para.is_track_single_page();r(a)?i(a):a===!0&&i()}})}function cr(){Fi._q&&v(Fi._q)&&Fi._q.length>0&&k(Fi._q,function(e){Fi[e[0]].apply(Fi,Array.prototype.slice.call(e[1]))}),r(Fi.para.heatmap)&&(Va.initHeatmap(),Va.initScrollmap())}function pr(){Fi.readyState.setState(3),new Fi.SDKJSBridge("visualized").onAppNotify(function(){lr("undefined"!=typeof sa_jssdk_app_define_mode?!0:!1)}),lr(!1),Fi.bridge.app_js_bridge_v1(),ba.initPage(),ur(),$a.init(),or(),fr(),Fi.readyState.setState(4),cr()}function dr(){ro.isSeachHasKeyword()?ro.hasKeywordHandle():window.parent!==self&&no.isSearchHasKeyword()?no.verifyVtrackMode():ro.isWindowNameHasKeyword()?ro.windowNameHasKeywordHandle():ro.isStorageHasKeyword()?ro.storageHasKeywordHandle():window.parent!==self&&no.isStorageHasKeyword()?no.verifyVtrackMode():(pr(),no.notifyUser())}function fr(){Ba.init(),"success"===Fi.bridge.bridge_info.verify_success&&Ua.init()}function gr(){k(io,function(t){var r=Fi[t];Fi[t]=function(){if(Fi.readyState.state<3)return v(Fi._q)||(Fi._q=[]),Ne("calling sdk api before init is deprecated."),Fi._q.push([t,arguments]),!1;if(!e(Fi.getDisabled)||!Fi.getDisabled())return Fi.readyState.getState()?r.apply(Fi,arguments):void je("\u8bf7\u5148\u521d\u59cb\u5316\u795e\u7b56JS SDK")}})}function _r(e,t){this.cancel=function(){e=!0},this.getCanceled=function(){return e||!1},this.stop=function(){t=!0},this.getStopped=function(){return t||!1}}function hr(e,t,r){var n=null;try{n=JSON.parse(JSON.stringify(e||null))}catch(i){}this.getOriginalData=function(){return n},this.getPosition=function(){return t},this.cancellationToken=new _r,this.sensors=r}function mr(e){if(!r(e))throw"error: Stage constructor requires arguments.";this.processDef=e,this.registeredInterceptors={}}function vr(e){e&&e.buildDataStage&&so.registerStageImplementation(e.buildDataStage),e&&e.businessStage&&po.registerStageImplementation(e.businessStage),e&&e.sendDataStage&&uo.registerStageImplementation(e.sendDataStage),e&&e.viewStage&&go.registerStageImplementation(e.viewStage)}function yr(e,t){_o[e]&&_o[e](t)}function br(){return ho.stage&&ho.stage.process("getUtmData")}function wr(e){return mo.stage.process("send",e)}function Sr(e){e.kit=vo,e.saEvent=qa,this.buildDataStage=Ma,this.sendDataStage=mo,this.businessStage=ho}function kr(e){e.heatmap=Va,this.viewStage=Ka}function Pr(t){if(!e(t.properties))return void je("registerPropertyPlugin arguments error, properties must be function");if(t.isMatchedWithFilter&&!e(t.isMatchedWithFilter))return void je("registerPropertyPlugin arguments error, isMatchedWithFilter must be function");var r={finalAdjustData:{priority:100,entry:function(r){try{if(e(t.isMatchedWithFilter))return t.isMatchedWithFilter(r)&&t.properties(r);t.properties(r)}catch(n){je("execute registerPropertyPlugin callback error:"+n)}}}};yr("buildDataStage",r)}function Cr(e){e&&(Fi.events=Ia,Fi.bridge=to,Fi.SDKJSBridge=rr,Fi.JSBridge=ar,Fi.store=$a,Fi.unlimitedDiv=Ra,Fi.customProp=Ha,Fi.vtrackcollect=Ba,Fi.vapph5collect=Ua,Fi.detectMode=dr,Fi.registerFeature=vr,Fi.registerInterceptor=yr,Fi.commonWays=Wa,vr(new Sr(Fi)),vr(new kr(Fi)),yr("viewStage",yo));var t=e?Ya:ao;for(var r in t)Fi[r]=t[r];Fi.logger=ca,Fi.log=Oe,Fi._=eo,Fi.on=bt,Fi.ee=Za,Fi.use=Nt,Fi.lib_version=ga,Fi.registerPropertyPlugin=Pr}function Or(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Nr(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Nr(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function jr(e,t,r){return Or(e,t,r),e.plugin_version=Bo,e}function Tr(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Ir(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Ir(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function $r(e,t,r){return Tr(e,t,r),e.plugin_version=qo,e}function Ar(e){return zo&&zo.call(Vo,JSON.stringify(e))}function Dr(e){return Wo.call(Vo)&&Xo&&Xo.call(Vo,JSON.stringify(e))}function xr(e,t){return t&&"function"==typeof t[e.callType]&&t[e.callType]()}function Er(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Lr(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Lr(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Ur(e,t,r){return Er(e,t,r),e.plugin_version=Go,e}function Rr(){if(So=window.SensorsData_APP_New_H5_Bridge,ko=So&&So.sensorsdata_track,Po=ko&&So.sensorsdata_get_server_url&&So.sensorsdata_get_server_url(),Co&&!Co.bridge.activeBridge&&Po){if(Co.bridge.activeBridge=Qo,Co.para.app_js_bridge&&!Co.para.app_js_bridge.is_mui&&(Co.bridge.is_verify_success=Po&&Co.bridge.validateAppUrl(Po)),Co.bridge.bridge_info={touch_app_bridge:!0,platform:"android",verify_success:Co.bridge.is_verify_success?"success":"fail",support_two_way_call:!!So.sensorsdata_js_call_app},!Co.para.app_js_bridge)return void No("app_js_bridge is not configured, data will not be sent by android bridge.");Co.registerInterceptor("sendDataStage",{send:{priority:60,entry:Hr}}),No("Android bridge inits succeed.")}}function Hr(e,t){if(Co.para.app_js_bridge.is_mui||"item_set"===e.data.type||"item_delete"===e.data.type)return e;var r=e.callback;return Co.bridge.is_verify_success?(ko&&ko.call(So,JSON.stringify(Oo.extend({server_url:Co.para.server_url},e.data))),Oo.isFunction(r)&&r(),t.cancellationToken.cancel(),e):Co.para.app_js_bridge.is_send?(Co.debug.apph5({data:e.data,step:"4.2",output:"all"}),e):(Oo.isFunction(r)&&r(),t.cancellationToken.cancel(),e)}function Br(e){var t=e.callType;return t in Zo.commands?Zo.commands[t](e,So):void(So&&Oo.isFunction(So.sensorsdata_js_call_app)&&So.sensorsdata_js_call_app(JSON.stringify(e)))}function Jr(e){return rs&&rs.call(es,JSON.stringify(e))}function Mr(e){return ts.call(es)&&ns&&ns.call(es,JSON.stringify(e))}function qr(e,t){return t&&"function"==typeof t[e.callType]&&t[e.callType]()}function Kr(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Fr(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Fr(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Vr(e,t,r){return Kr(e,t,r),e.plugin_version=as,e}function Wr(){if(jo=window.SensorsData_APP_JS_Bridge,To=jo&&jo.sensorsdata_track,Io=jo&&jo.sensorsdata_verify,$o=jo&&jo.sensorsdata_visual_verify,Ao&&!Ao.bridge.activeBridge&&(Io||To||$o)){Ao.bridge.activeBridge=os;var e=Io||To;if($o&&(e=!!$o.call(jo,JSON.stringify({server_url:Ao.para.server_url}))),Ao.bridge.bridge_info={touch_app_bridge:!0,platform:"android",verify_success:e?"success":"fail"},!Ao.para.app_js_bridge)return void xo("app_js_bridge is not configured, data will not be sent by android obsolete bridge.");Ao.registerInterceptor("sendDataStage",{send:{priority:80,entry:zr}}),xo("Android obsolete bridge inits succeed.")}}function zr(e,t){if(Ao.para.app_js_bridge.is_mui||"item_set"===e.data.type||"item_delete"===e.data.type)return e;var r=e.callback;if(Io){var n=Io&&Io.call(jo,JSON.stringify(Do.extend({server_url:Ao.para.server_url},e.data)));return n?(Do.isFunction(r)&&r(),t.cancellationToken.cancel(),e):Ao.para.app_js_bridge.is_send?(Ao.debug.apph5({data:e.data,step:"3.1",output:"all"}),e):(Do.isFunction(r)&&r(),t.cancellationToken.cancel(),e)}return To&&To.call(jo,JSON.stringify(Do.extend({server_url:Ao.para.server_url},e.data))),Do.isFunction(r)&&r(),t.cancellationToken.cancel(),e}function Xr(e){var t=e.callType;return t in is.commands?is.commands[t](e,jo):jo&&Do.isFunction(jo.sensorsdata_js_call_app)?jo.sensorsdata_js_call_app(JSON.stringify(e)):void 0}function Zr(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Gr(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Gr(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Qr(e,t,r){return Zr(e,t,r),e.plugin_version=ls,e}function Yr(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return en(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function en(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function tn(e,t,r){return Yr(e,t,r),e.plugin_version=ps,e}function rn(){return"undefined"!=typeof Ho&&document[Ho]}function nn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return an(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function an(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function on(e,t,r){return nn(e,t,r),e.plugin_version=As,e}function sn(){if(fs=window.SensorsData_iOS_JS_Bridge&&window.SensorsData_iOS_JS_Bridge.sensorsdata_app_server_url,gs=function(){return window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.sensorsdataNativeTracker},_s&&!_s.bridge.activeBridge&&gs()&&gs().postMessage){if(_s.bridge.activeBridge=Ds,_s.para.app_js_bridge&&!_s.para.app_js_bridge.is_mui&&(_s.bridge.is_verify_success=fs&&_s.bridge.validateAppUrl(fs)),_s.bridge.bridge_info={touch_app_bridge:!0,platform:"ios",verify_success:_s.bridge.is_verify_success?"success":"fail",support_two_way_call:!0},!_s.para.app_js_bridge)return void ms("app_js_bridge is not configured, data will not be sent by iOS bridge.");_s.registerInterceptor("sendDataStage",{send:{priority:70,entry:ln}}),ms("IOS bridge inits succeed.")}}function ln(e,t){if(_s.para.app_js_bridge.is_mui||"item_set"===e.data.type||"item_delete"===e.data.type)return e;var r=e.callback;return _s.bridge.is_verify_success?(gs()&&gs().postMessage(JSON.stringify({callType:"app_h5_track",data:hs.extend({server_url:_s.para.server_url},e.data)})),hs.isFunction(r)&&r(),t.cancellationToken.cancel(),e):_s.para.app_js_bridge.is_send?(_s.debug.apph5({data:e.data,step:"4.1",output:"all"}),e):(hs.isFunction(r)&&r(),t.cancellationToken.cancel(),e)}function un(e){var t=e.callType;return"page_info"!==t&&"visualized_track"!==t||_s.bridge.hasVisualModeBridge()?"sensorsdata_get_app_visual_config"===t?hs.isObject(window.SensorsData_APP_New_H5_Bridge)&&window.SensorsData_APP_New_H5_Bridge[t]:gs()&&gs().postMessage(JSON.stringify(e)):null}function cn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return pn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function pn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function dn(e,t,r){return cn(e,t,r),e.plugin_version=Es,e}function fn(){if(vs&&!vs.bridge.activeBridge&&gn()){if(vs.bridge.activeBridge=Ls,vs.bridge.bridge_info={touch_app_bridge:!0,platform:"ios",verify_success:_n()?"success":"fail"},!vs.para.app_js_bridge)return void bs("app_js_bridge is not configured, data will not be sent by iOS obsolete bridge.");vs.registerInterceptor("sendDataStage",{send:{priority:90,entry:hn}}),bs("IOS obsolete bridge inits succeed.")}}function gn(){return(/sensors-verify/.test(navigator.userAgent)||/sa-sdk-ios/.test(navigator.userAgent))&&!window.MSStream}function _n(){if(/sensors-verify/.test(navigator.userAgent)){var e=navigator.userAgent.match(/sensors-verify\/([^\s]+)/);if(e&&e[0]&&"string"==typeof e[1]&&2===e[1].split("?").length){e=e[1].split("?");var t=null,r=null;try{t=ys.URL(vs.para.server_url).hostname,r=ys.URL(vs.para.server_url).searchParams.get("project")||"default"}catch(n){vs.log(n)}return!(!t||t!==e[0]||!r||r!==e[1])}return!1}return!!/sa-sdk-ios/.test(navigator.userAgent)}function hn(e,t){function r(e){var t=JSON.stringify(ys.extend({server_url:vs.para.server_url},e));return t=t.replace(/\r\n/g,""),t=encodeURIComponent(t),"sensorsanalytics://trackEvent?event="+t}if(vs.para.app_js_bridge.is_mui||"item_set"===e.data.type||"item_delete"===e.data.type)return e;var n=e.callback;if(vs.bridge.bridge_info.verify_success){var i=document.createElement("iframe"),a=r(e.data);return i.setAttribute("src",a),document.documentElement.appendChild(i),i.parentNode.removeChild(i),i=null,ys.isFunction(n)&&n(),t.cancellationToken.cancel(),!0}return vs.para.app_js_bridge.is_send?(vs.debug.apph5({data:e.data,step:"3.2",output:"all"}),e):(ys.isFunction(n)&&n(),t.cancellationToken.cancel(),e)}function mn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return vn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function vn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function yn(e,t,r){return mn(e,t,r),e.plugin_version=Rs,e}function bn(){this.sd=null,this.start_time=+new Date,this.page_show_status=!0,this.page_hidden_status=!1,this._={},this.timer=null,this.current_page_url=document.referrer,this.url=location.href,this.title=document.title||"",this.option={},this.heartbeat_interval_time=5e3,this.heartbeat_interval_timer=null,this.page_id=null,this.storage_name="sawebjssdkpageleave",this.max_duration=Bs}function wn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Sn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Sn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function kn(e,t,r){return wn(e,t,r),e.plugin_version=qs,e}function Pn(e,t){if("track"!==e.type)return e;var r=t.sd,n=r._,i=r.saEvent.check,a=n.extend2Lev({properties:{}},e),o=t.customRegister,s=a.properties,l=a.event,u={};return n.each(o,function(e){if(n.isObject(e))n.indexOf(e.events,l)>-1&&i({properties:e.properties})&&(u=n.extend(u,e.properties));else if(n.isFunction(e)){var t=e({event:l,properties:s,data:a});n.isObject(t)&&!n.isEmptyObject(t)&&i({properties:t})&&(u=n.extend(u,t))}}),e.properties=n.extend(s,u),e}function Cn(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}function On(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Nn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Nn(e,t,r){ +function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function jn(e,t,r){return On(e,t,r),e.plugin_version=Ws,e}function Tn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return In(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function In(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function $n(e,t,r){return Tn(e,t,r),e.plugin_version=Qs,e}function An(e){try{if("$pageview"!==e.event&&(!e.type||"profile"!==e.type.slice(0,7))){var t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight||0,r=document.documentElement.scrollHeight||0,n={$page_height:Math.max(t,r)||0};e.properties=zs._.extend(e.properties||{},n)}}catch(i){Ys("\u9875\u9762\u9ad8\u5ea6\u83b7\u53d6\u5f02\u5e38\u3002")}return Xs.call(zs.kit,e)}function Dn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return xn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function xn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function En(e,t,r){return Dn(e,t,r),e.plugin_version=rl,e}function Ln(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Un(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Un(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Rn(e,t,r){return Ln(e,t,r),e.plugin_version=yl,e}function Hn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Bn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Bn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Jn(e,t,r){return Hn(e,t,r),e.plugin_version=Sl,e}function Mn(){kl=!0}function qn(){kl=!1}function Kn(){return kl}function Fn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Vn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Vn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Wn(e,t,r){return Fn(e,t,r),e.plugin_version=Nl,e}function zn(e){var t=e,r="";r=al.para.debug_mode_url.indexOf("?")!==-1?al.para.debug_mode_url+"&"+al.kit.encodeTrackData(e):al.para.debug_mode_url+"?"+al.kit.encodeTrackData(e),ol.ajax({url:r,type:"GET",cors:!0,header:{"Dry-Run":String(al.para.debug_mode_upload)},success:function(e){ol.isEmptyObject(e)===!0?alert("debug\u6570\u636e\u53d1\u9001\u6210\u529f"+t):alert("debug\u5931\u8d25 \u9519\u8bef\u539f\u56e0"+JSON.stringify(e))}})}function Xn(e,t){if(al.para.debug_mode===!0){var r=e.data;e.callback;zn(JSON.stringify(r)),t.cancellationToken.stop()}return e}function Zn(){al.para.debug_mode===!0&&(al.para.debug_mode_upload=al.para.debug_mode_upload||!1,ol.isString(al.para.debug_mode_url)||(ol.isString(al.para.server_url)?al.para.debug_mode_url=al.para.server_url.replace("sa.gif","debug"):ol.isArray(al.para.server_url)&&ol.isString(al.para.server_url[0])?al.para.debug_mode_url=al.para.server_url[0].replace("sa.gif","debug"):al.para.debug_mode=!1))}function Gn(){al.on("sdkInitPara",function(){Zn()}),al.on("sdkAfterInitPara",function(){al.registerInterceptor("sendDataStage",{send:{priority:30,entry:Xn}})})}function Qn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Yn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Yn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function ei(e,t,r){return Qn(e,t,r),e.plugin_version=Il,e}function ti(e,t){if(ll.isObject(sl.para.jsapp)&&!sl.para.jsapp.isOnline&&"function"==typeof sl.para.jsapp.setData){var r=e;delete r.callback,r=JSON.stringify(r),sl.para.jsapp.setData(r),t.cancellationToken.stop()}return e}function ri(){sl.on("sdkAfterInitAPI",function(){ll.isObject(sl.commonWays)&&(sl.commonWays.setOnlineState=ni),sl.registerInterceptor("sendDataStage",{send:{priority:40,entry:ti}})})}function ni(e){if(e===!0&&ll.isObject(sl.para.jsapp)&&"function"==typeof sl.para.jsapp.getData){sl.para.jsapp.isOnline=!0;var t=sl.para.jsapp.getData();ll.isArray(t)&&t.length>0&&ll.each(t,function(e){ll.isJSONString(e)&&sl.kit.sendData(JSON.parse(e))})}else sl.para.jsapp.isOnline=!1}function ii(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return ai(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function ai(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function oi(e,t,r){return ii(e,t,r),e.plugin_version=Dl,e}function si(e,t){return!ul.para.app_js_bridge&&ul.para.batch_send&&cl.localStorage.isSupport()&&localStorage.length=3||!i.on?o():void i.on(r,o)}}return e}function pi(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function di(e,t,r){return ci(e,t,r),e.plugin_version=Ul,e}function fi(e){var t=new dl.BeaconSend(e);t.start()}function gi(e,t){var r=null,n=null;dl.isObject(e.config)&&(r=e.config.send_type,n=dl.optimizeServerUrl(e.config.server_url));var i="beacon"===r||!r&&"beacon"===pl.para.send_type;if(i&&dl.isSupportBeaconSend()){var a=n||e.server_url;e.server_url=a,e.data=pl.kit.encodeTrackData(e.data),dl.isArray(a)&&a.length?dl.each(a,function(t){e.callback=null,e.server_url=t,fi(e)}):"string"==typeof a&&""!==a?fi(e):pl.log("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01"),t.cancellationToken.stop()}return e}function _i(){"beacon"!==pl.para.send_type||dl.isSupportBeaconSend()||(pl.para.send_type="image")}function hi(){pl.on("sdkInitPara",function(){_i()}),pl.on("sdkAfterInitPara",function(){pl.registerInterceptor("sendDataStage",{send:{priority:110,entry:gi}})})}function mi(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return vi(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function vi(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function yi(e,t,r){return mi(e,t,r),e.plugin_version=Bl,e}function bi(e){var t=new gl.AjaxSend(e);t.start()}function wi(e,t){var r=null,n=null;gl.isObject(e.config)&&(r=e.config.send_type,n=gl.optimizeServerUrl(e.config.server_url));var i="ajax"===r||!r&&"ajax"===fl.para.send_type;if(i&&gl.isSupportCors()){var a=n||e.server_url;e.server_url=a,e.data=fl.kit.encodeTrackData(e.data),gl.isArray(a)&&a.length?gl.each(a,function(t){e.callback=null,e.server_url=t,bi(e)}):"string"==typeof a&&""!==a?bi(e):fl.log("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01"),t.cancellationToken.stop()}return e}function Si(){"ajax"!==fl.para.send_type||gl.isSupportCors()||(fl.para.send_type="image")}function ki(){fl.on("sdkInitPara",function(){Si()}),fl.on("sdkAfterInitPara",function(){fl.registerInterceptor("sendDataStage",{send:{priority:120,entry:wi}})})}function Pi(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Ci(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Ci(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Oi(e,t,r){return Pi(e,t,r),e.plugin_version=ql,e}function Ni(e,t){var r=_l.kit.encodeTrackData(t);return e.indexOf("?")!==-1?e+"&"+r:e+"?"+r}function ji(e){var t=new hl.ImageSend(e);t.start()}function Ti(e,t){var r=null;hl.isObject(e.config)&&(r=hl.optimizeServerUrl(e.config.server_url));var n=r||e.server_url,i=e.data;e.server_url=n,hl.isArray(n)&&n.length?hl.each(n,function(t){t&&(e.data=Ni(t,i),e.callback=null,e.server_url=t,ji(e))}):"string"==typeof n&&""!==n?(e.data=Ni(n,i),ji(e)):_l.logger&&_l.logger.msg("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01").level("warn").log(),t.cancellationToken.stop()}function Ii(){"image"!==_l.para.send_type&&"ajax"!==_l.para.send_type&&"beacon"!==_l.para.send_type&&(_l.para.send_type="image")}function $i(){_l.on("sdkInitPara",function(){Ii()}),_l.on("sdkAfterInitPara",function(){_l.registerInterceptor("sendDataStage",{send:{priority:130,entry:Ti}})})}function Ai(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Di(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Di(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function xi(e,t,r){return Ai(e,t,r),e.plugin_version=ga,e}function Ei(e){return null===zl?void Li(e):void zl.push(e)}function Li(e){try{if("log"===e.level&&Ui())return void Bi(e);if("warn"===e.level&&Ri())return void Bi(e);if("error"===e.level&&Hi())return void Bi(e)}catch(t){}}function Ui(){return!!Ki()||(Vl.para.show_log===!0||Wl.isObject(Vl.para.show_log)&&"log"===Vl.para.show_log.level)}function Ri(){return!!Ki()||(Ui()||Wl.isObject(Vl.para.show_log)&&"warn"===Vl.para.show_log.level)}function Hi(){return!!Ki()||(!Wl.isObject(Vl.para.show_log)||"none"!==Vl.para.show_log.level)}function Bi(e){var t=e.content,r=Wl.isObject(t[0])?Wl.formatJsonString(t[0]):t[0],n=Ji(e);t[0]=n+(n.length>0?": ":"")+r;try{console&&(Wl.isFunction(console[e.level])?console[e.level].apply(console,t):Wl.isObject(console[e.level])&&console[e.level](t[0]))}catch(i){}}function Ji(e){var t="",r="",n=Vl.para.show_log;return Wl.isObject(n)&&n.show_brand===!1||(t+=e.brand),Wl.isObject(n)&&n.show_level===!1||(t+=(t.length>0?"-":"")+e.level),t.length>0&&(t="["+t+"]"),Wl.isObject(n)&&n.show_module===!1||(r=e.module),t+r}function Mi(){Wl.sessionStorage.isSupport()&&sessionStorage.setItem(Gl,"true")}function qi(){Wl.sessionStorage.isSupport()&&sessionStorage.removeItem(Gl)}function Ki(){return Wl.sessionStorage.isSupport()&&"true"===sessionStorage.getItem(Gl)}var Fi={};(function(){function e(n,i){function a(e,t){try{e()}catch(r){t&&t()}}function o(e){if(null!=o[e])return o[e];var t;if("bug-string-char-index"==e)t="a"!="a"[0];else if("json"==e)t=o("json-stringify")&&o("date-serialization")&&o("json-parse");else if("date-serialization"==e){if(t=o("json-stringify")&&b){var r=i.stringify;a(function(){t='"-271821-04-20T00:00:00.000Z"'==r(new p((-864e13)))&&'"+275760-09-13T00:00:00.000Z"'==r(new p(864e13))&&'"-000001-01-01T00:00:00.000Z"'==r(new p((-621987552e5)))&&'"1969-12-31T23:59:59.999Z"'==r(new p((-1)))})}}else{var n,s='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var r=i.stringify,c="function"==typeof r;c&&((n=function(){return 1}).toJSON=n,a(function(){c="0"===r(0)&&"0"===r(new l)&&'""'==r(new u)&&r(v)===h&&r(h)===h&&r()===h&&"1"===r(n)&&"[1]"==r([n])&&"[null]"==r([h])&&"null"==r(null)&&"[null,null,null]"==r([h,v,null])&&r({a:[n,!0,!1,null,"\0\b\n\f\r\t"]})==s&&"1"===r(null,n)&&"[\n 1,\n 2\n]"==r([1,2],null,1)},function(){c=!1})),t=c}if("json-parse"==e){var d,f=i.parse;"function"==typeof f&&a(function(){0!==f("0")||f(!1)||(n=f(s),d=5==n.a.length&&1===n.a[0],d&&(a(function(){d=!f('"\t"')}),d&&a(function(){d=1!==f("01")}),d&&a(function(){d=1!==f("1.")})))},function(){d=!1}),t=d}}return o[e]=!!t}function s(e){return A(this)}n||(n=r.Object()),i||(i=r.Object());var l=n.Number||r.Number,u=n.String||r.String,c=n.Object||r.Object,p=n.Date||r.Date,d=n.SyntaxError||r.SyntaxError,f=n.TypeError||r.TypeError,g=n.Math||r.Math,_=n.JSON||r.JSON;if("object"==typeof _&&_)return i.stringify=_.stringify,i.parse=_.parse,i.runInContext=e,i;var h,m=c.prototype,v=m.toString,y=m.hasOwnProperty,b=new p((-0xc782b5b800cec));if(a(function(){b=b.getUTCFullYear()==-109252&&0===b.getUTCMonth()&&1===b.getUTCDate()&&10==b.getUTCHours()&&37==b.getUTCMinutes()&&6==b.getUTCSeconds()&&708==b.getUTCMilliseconds()}),o["bug-string-char-index"]=o["date-serialization"]=o.json=o["json-stringify"]=o["json-parse"]=null,!o("json")){var w="[object Function]",S="[object Date]",k="[object Number]",P="[object String]",C="[object Array]",O="[object Boolean]",N=o("bug-string-char-index"),j=function(e,r){var n,i,a,o=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,i=new n;for(a in i)y.call(i,a)&&o++;return n=i=null,o?j=function(e,t){var r,n,i=v.call(e)==w;for(r in e)i&&"prototype"==r||!y.call(e,r)||(n="constructor"===r)||t(r);(n||y.call(e,r="constructor"))&&t(r)}:(i=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],j=function(e,r){var n,a,o=v.call(e)==w,s=!o&&"function"!=typeof e.constructor&&t[typeof e.hasOwnProperty]&&e.hasOwnProperty||y;for(n in e)o&&"prototype"==n||!s.call(e,n)||r(n);for(a=i.length;n=i[--a];)s.call(e,n)&&r(n)}),j(e,r)};if(!o("json-stringify")&&!o("date-serialization")){var T={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},I="000000",$=function(e,t){return(I+(t||0)).slice(-e)},A=function(e){var t,r,n,i,a,o,s,l,u;if(b)t=function(e){r=e.getUTCFullYear(),n=e.getUTCMonth(),i=e.getUTCDate(),o=e.getUTCHours(),s=e.getUTCMinutes(),l=e.getUTCSeconds(),u=e.getUTCMilliseconds()};else{var c=g.floor,p=[0,31,59,90,120,151,181,212,243,273,304,334],d=function(e,t){return p[t]+365*(e-1970)+c((e-1969+(t=+(t>1)))/4)-c((e-1901+t)/100)+c((e-1601+t)/400)};t=function(e){for(i=c(e/864e5),r=c(i/365.2425)+1970-1;d(r+1,0)<=i;r++);for(n=c((i-d(r,0))/30.42);d(r,n+1)<=i;n++);i=1+i-d(r,n),a=(e%864e5+864e5)%864e5,o=c(a/36e5)%24,s=c(a/6e4)%60,l=c(a/1e3)%60,u=a%1e3}}return(A=function(e){return e>-1/0&&e<1/0?(t(e),e=(r<=0||r>=1e4?(r<0?"-":"+")+$(6,r<0?-r:r):$(4,r))+"-"+$(2,n+1)+"-"+$(2,i)+"T"+$(2,o)+":"+$(2,s)+":"+$(2,l)+"."+$(3,u)+"Z",r=n=i=o=s=l=u=null):e=null,e})(e)};if(o("json-stringify")&&!o("date-serialization")){var D=i.stringify;i.stringify=function(e,t,r){var n=p.prototype.toJSON;p.prototype.toJSON=s;var i=D(e,t,r);return p.prototype.toJSON=n,i}}else{var x="\\u00",E=function(e){var t=e.charCodeAt(0),r=T[t];return r?r:x+$(2,t.toString(16))},L=/[\x00-\x1f\x22\x5c]/g,U=function(e){return L.lastIndex=0,'"'+(L.test(e)?e.replace(L,E):e)+'"'},R=function(e,t,r,n,i,o,s){var l,u,c,d,g,_,m,y,b;if(a(function(){l=t[e]}),"object"==typeof l&&l&&(l.getUTCFullYear&&v.call(l)==S&&l.toJSON===p.prototype.toJSON?l=A(l):"function"==typeof l.toJSON&&(l=l.toJSON(e))),r&&(l=r.call(t,e,l)),l==h)return l===h?l:"null";switch(u=typeof l,"object"==u&&(c=v.call(l)),c||u){case"boolean":case O:return""+l;case"number":case k:return l>-1/0&&l<1/0?""+l:"null";case"string":case P:return U(""+l)}if("object"==typeof l){for(m=s.length;m--;)if(s[m]===l)throw f();if(s.push(l),d=[],y=o,o+=i,c==C){for(_=0,m=l.length;_0)for(n>10&&(n=10),i="";i.length=48&&i<=57||i>=97&&i<=102||i>=65&&i<=70||q();e+=J("0x"+a.slice(t,H));break;default:q()}else{if(34==i)break;for(i=a.charCodeAt(H),t=H;i>=32&&92!=i&&34!=i;)i=a.charCodeAt(++H);e+=a.slice(t,H)}if(34==a.charCodeAt(H))return H++,e;q();default:if(t=H,45==i&&(n=!0,i=a.charCodeAt(++H)),i>=48&&i<=57){for(48==i&&(i=a.charCodeAt(H+1),i>=48&&i<=57)&&q(),n=!1;H=48&&i<=57);H++);if(46==a.charCodeAt(H)){for(r=++H;r57));r++);r==H&&q(),H=r}if(i=a.charCodeAt(H),101==i||69==i){for(i=a.charCodeAt(++H),43!=i&&45!=i||H++,r=H;r57));r++);r==H&&q(),H=r}return+a.slice(t,H)}n&&q();var s=a.slice(H,H+4);if("true"==s)return H+=4,!0;if("fals"==s&&101==a.charCodeAt(H+4))return H+=5,!1;if("null"==s)return H+=4,null;q()}return"$"},F=function(e){var t,r;if("$"==e&&q(),"string"==typeof e){if("@"==(N?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=K(),"]"!=e;)r?","==e?(e=K(),"]"==e&&q()):q():r=!0,","==e&&q(),t.push(F(e));return t}if("{"==e){for(t={};e=K(),"}"!=e;)r?","==e?(e=K(),"}"==e&&q()):q():r=!0,","!=e&&"string"==typeof e&&"@"==(N?e.charAt(0):e[0])&&":"==K()||q(),t[e.slice(1)]=F(K());return t}q()}return e},V=function(e,t,r){var n=W(e,t,r);n===h?delete e[t]:e[t]=n},W=function(e,t,r){var n,i=e[t];if("object"==typeof i&&i)if(v.call(i)==C)for(n=i.length;n--;)V(v,j,i,n,r);else j(i,function(e){V(i,e,r)});return r.call(e,t,i)};i.parse=function(e,t){var r,n;return H=0,B=""+e,r=F(K()),"$"!=K()&&q(),H=B=null,t&&v.call(t)==w?W((n={},n[""]=r,n),"",t):r}}}return i.runInContext=e,i}var t={"function":!0,object:!0},r=t[typeof window]&&window||this,n=r.JSON,i=r.JSON3,a=!1,o=e(r,r.JSON3={noConflict:function(){return a||(a=!0,r.JSON=n,r.JSON3=i,n=i=null),o}});r.JSON?(r.JSON.parse=o.parse,r.JSON.stringify=o.stringify):r.JSON={parse:o.parse,stringify:o.stringify}}).call(window),function(e,t){t(e)}(window,function(e){if(e.atob)try{e.atob(" ")}catch(t){e.atob=function(e){var t=function(t){return e(String(t).replace(/[\t\n\f\r ]+/g,""))};return t.original=e,t}(e.atob)}else{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;e.btoa=function(e){e=String(e);for(var t,n,i,a,o="",s=0,l=e.length%3;s255||(i=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255)return"";t=n<<16|i<<8|a,o+=r.charAt(t>>18&63)+r.charAt(t>>12&63)+r.charAt(t>>6&63)+r.charAt(63&t)}return l?o.slice(0,l-3)+"===".substring(l):o},e.atob=function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!n.test(e))return"";e+="==".slice(2-(3&e.length));for(var t,i,a,o="",s=0;s>16&255):64===a?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}}});var Vi,Wi={setup:function(e){Vi=e},log:function(){(Vi||console&&console.log||function(){}).apply(null,arguments)}},zi={get:function(e){return window.localStorage.getItem(e)},parse:function(e){var t;try{t=JSON.parse(zi.get(e))||null}catch(r){Wi.log("parse localStorage failed")}return t},set:function(e,t){try{window.localStorage.setItem(e,t)}catch(r){Wi.log("localStorage is not support")}},remove:function(e){window.localStorage.removeItem(e)},isSupport:function(){var e=!0;try{var t="__local_store_support__",r="testIsSupportStorage";zi.set(t,r),zi.get(t)!==r&&(e=!1),zi.remove(t)}catch(n){e=!1}return e}},Xi=function(){function e(){return r=(9301*r+49297)%233280,r/233280}var t=new Date,r=t.getTime();return function(t){return Math.ceil(e()*t)}}();a.prototype.get=function(e,r,a,o){if(!e)throw new Error("key is must");r=r||1e4,a=a||1e3,o=o||function(){};var s=this.lockGetPrefix+e,l=zi.get(s),u=String(n());return l&&(l=i(l)||{randomNum:0,expireTime:0},l.expireTime>t())?o(null):(zi.set(s,JSON.stringify({randomNum:u,expireTime:t()+r})),void setTimeout(function(){l=i(zi.get(s))||{randomNum:0,expireTime:0},l&&l.randomNum===u?(o(zi.get(e)),zi.remove(e),zi.remove(s)):o(null)},a))},a.prototype.set=function(e,r,a,o,s){if(!e||!r)throw new Error("key and val is must");a=a||1e4,o=o||1e3,s=s||function(){};var l=this.lockSetPrefix+e,u=zi.get(l),c=String(n());return u&&(u=i(u)||{randomNum:0,expireTime:0},u.expireTime>t())?s({status:"fail",reason:"This key is locked"}):(zi.set(l,JSON.stringify({randomNum:c,expireTime:t()+a})),void setTimeout(function(){u=i(zi.get(l))||{randomNum:0,expireTime:0},u.randomNum===c?zi.set(e,r)&&s({status:"success"}):s({status:"fail",reason:"This key is locked"})},o))},l.prototype.on=function(e,t){if(!e||!t)return!1;if(!s(t))throw new Error("listener must be a function");this._events[e]=this._events[e]||[];var r="object"==typeof t;return this._events[e].push(r?t:{listener:t,once:!1}),this},l.prototype.prepend=function(e,t){if(!e||!t)return!1;if(!s(t))throw new Error("listener must be a function");this._events[e]=this._events[e]||[];var r="object"==typeof t;return this._events[e].unshift(r?t:{listener:t,once:!1}),this},l.prototype.prependOnce=function(e,t){return this.prepend(e,{listener:t,once:!0})},l.prototype.once=function(e,t){return this.on(e,{listener:t,once:!0})},l.prototype.off=function(e,t){var r=this._events[e];if(!r)return!1;if("number"==typeof t)r.splice(t,1);else if("function"==typeof t)for(var n=0,i=r.length;n=4&&(a=e(a,i),i=[]);return i.length>0&&(a=e(a,i)),a.toString(16)};return function(){var i=String(screen.height*screen.width);i=i&&/\d{5,}/.test(i)?i.toString(16):String(31242*n()).replace(".","").slice(0,8);var a=e()+"-"+t()+"-"+r()+"-"+i+"-"+e();return a?a:(String(n())+String(n())+String(n())).slice(2,15)}}(),Gi=function(e){this.ele=e},Qi=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r};Gi.prototype={addClass:function(e){var t=" "+this.ele.className+" ";return t.indexOf(" "+e+" ")===-1&&(this.ele.className=this.ele.className+(""===this.ele.className?"":" ")+e),this},removeClass:function(e){var t=" "+this.ele.className+" ";return t.indexOf(" "+e+" ")!==-1&&(this.ele.className=t.replace(" "+e+" "," ").slice(1,-1)),this},hasClass:function(e){var t=" "+this.ele.className+" ";return t.indexOf(" "+e+" ")!==-1},attr:function(e,t){return"string"==typeof e&&h(t)?this.ele.getAttribute(e):("string"==typeof e&&(t=String(t),this.ele.setAttribute(e,t)),this)},offset:function(){try{var e=this.ele.getBoundingClientRect(),t=this.ele.ownerDocument,r=t.documentElement;return{top:e.top+window.pageYOffset-r.clientTop,left:e.left+window.pageXOffset-r.clientLeft}}catch(n){return{top:0,left:0}}},getSize:function(){if(!window.getComputedStyle)return{width:this.ele.offsetWidth,height:this.ele.offsetHeight};try{var e=this.ele.getBoundingClientRect();return{width:e.width,height:e.height}}catch(t){return{width:0,height:0}}},getStyle:function(e){return this.ele.currentStyle?this.ele.currentStyle[e]:this.ele.ownerDocument.defaultView.getComputedStyle(this.ele,null).getPropertyValue(e)},wrap:function(e){var t=document.createElement(e);return this.ele.parentNode.insertBefore(t,this.ele),t.appendChild(this.ele),y(t)},getCssStyle:function(e){var t=this.ele.style.getPropertyValue(e);if(t)return t;var r=null;if("function"==typeof window.getMatchedCSSRules&&(r=window.getMatchedCSSRules(this.ele)),!r||!v(r))return null;for(var n=r.length-1;n>=0;n--){var i=r[n];if(t=i.style.getPropertyValue(e))return t}},sibling:function(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e},next:function(){return this.sibling(this.ele,"nextSibling")},prev:function(){return this.sibling(this.ele,"previousSibling")},siblings:function(){return Qi((this.ele.parentNode||{}).firstChild,this.ele)},children:function(){return Qi(this.ele.firstChild)},parent:function(){var e=this.ele.parentNode;return e=e&&11!==e.nodeType?e:null,y(e)},previousElementSibling:function(){var e=this.ele;if("previousElementSibling"in document.documentElement)return y(e.previousElementSibling);for(;e=e.previousSibling;)if(1===e.nodeType)return y(e);return y(null)},getSameTypeSiblings:function(){for(var e=this.ele,t=e.parentNode,r=e.tagName.toLowerCase(),n=[],i=0;it._expirationTimestamp_?null:t.value:t},set:function(e,t,r){if(r){var n,i=new Date;n="s"===String(r).slice(-1)?i.getTime()+1e3*Number(String(r).slice(0,-1)):i.getTime()+24*r*60*60*1e3,t={value:t,_expirationTimestamp_:n}}this.data[e]=t},getNewUserFlagMemoryKey:function(e){return"sajssdk_2015_"+pa.sdk_id+e}},Sa={checkIsAddSign:function(e){"track"===e.type&&(Re()?e.properties.$is_first_day=!0:e.properties.$is_first_day=!1)},is_first_visit_time:!1,is_page_first_visited:!1,checkIsFirstTime:function(e){"track"===e.type&&"$pageview"===e.event&&(this.is_first_visit_time?(e.properties.$is_first_time=!0,this.is_first_visit_time=!1):e.properties.$is_first_time=!1)},setDeviceId:function(e,t){var r=null,n=ma.get("sensorsdata2015jssdkcross"+Fi.para.sdk_id);n=Fi.kit.userDecryptIfNeeded(n);var i={};null!=n&&ue(n)&&(i=JSON.parse(n),i.$device_id&&(r=i.$device_id)),r=r||e,Fi.para.cross_subdomain===!0?t.set("$device_id",r):(i.$device_id=r,i=JSON.stringify(i),Fi.para.encrypt_cookie&&(i=Fi.kit.userEncrypt(i)),ma.set("sensorsdata2015jssdkcross"+Fi.para.sdk_id,i,null,!0)),Fi.para.is_track_device_id&&(ba.currentProps.$device_id=r)},storeInitCheck:function(){if(Fi.is_first_visitor){var e=new Date,t={h:23-e.getHours(),m:59-e.getMinutes(),s:59-e.getSeconds()};ma.isSupport()?ma.set(Ue("new_user"),"1",3600*t.h+60*t.m+t.s+"s"):wa.set(wa.getNewUserFlagMemoryKey("new_user"),"1",3600*t.h+60*t.m+t.s+"s"),this.is_first_visit_time=!0,this.is_page_first_visited=!0}else Re()||(this.checkIsAddSign=function(e){"track"===e.type&&(e.properties.$is_first_day=!1)}),this.checkIsFirstTime=function(e){"track"===e.type&&"$pageview"===e.event&&(e.properties.$is_first_time=!1)}}},ka=function(){this._events=[],this.pendingEvents=[]};ka.prototype={emit:function(e){var t=[].slice.call(arguments,1);k(this._events,function(r){r.type===e&&r.callback.apply(r.context,t)}),this.pendingEvents.push({type:e,data:t}),this.pendingEvents.length>20?this.pendingEvents.shift():null},on:function(t,r,n,i){e(r)&&(this._events.push({type:t,callback:r,context:n||this}),i=i!==!1,this.pendingEvents.length>0&&i&&k(this.pendingEvents,function(e){e.type===t&&r.apply(n,e.data)}))},tempAdd:function(e,t){if(t&&e)return this.emit(e,t)},isReady:function(){}};var Pa=function(e){this.callback=e.callback,this.server_url=e.server_url,this.data=e.data};Pa.prototype.start=function(){var e=this;Ze({url:this.server_url,type:"POST",data:this.data,credentials:!1,timeout:pa.datasend_timeout,cors:!0,success:function(){e.end()},error:function(){e.end()}})},Pa.prototype.end=function(){if(this.callback){if(Oe("warning: sdk callback is deprecated."),!e(this.callback))return void Oe("error: sdk callback must be function.");this.callback()}};var Ca="sawebjssdk-",Oa="tab-sawebjssdk-";Ye.prototype={batchInterval:function(){""===this.serverUrl&&this.getServerUrl(),this.hasTabStorage||(this.generateTabStorage(),this.hasTabStorage=!0);var e=this;e.timer=setTimeout(function(){e.updateExpireTime(),e.recycle(),e.send(),clearTimeout(e.timer),e.batchInterval()},pa.batch_send.send_interval)},getServerUrl:function(){return p(pa.server_url)&&""!==pa.server_url||v(pa.server_url)&&pa.server_url.length?void(this.serverUrl=v(pa.server_url)?pa.server_url[0]:pa.server_url):je("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01")},send:function(){if(!(this.sendTimeStamp&&t()-this.sendTimeStamp-1&&r.splice(a,1),zi.remove(e[n])}r=Ce(r),zi.set(this.tabKey,JSON.stringify(this.generateTabStorageVal(r)))}},add:function(e){var r=Ca+String(n()),a=zi.get(this.tabKey);null===a?(this.tabKey=Oa+String(n()),a=this.generateTabStorageVal()):a=i(a)||this.generateTabStorageVal(),a.data.push(r),a.expireTime=t()+2*pa.batch_send.send_interval,zi.set(this.tabKey,JSON.stringify(a)),Fi.store.saveObjectVal(r,e),"track_signup"!==e.type&&"$pageview"!==e.event||this.sendImmediately()},generateTabStorage:function(){this.tabKey=Oa+String(n()),zi.set(this.tabKey,JSON.stringify(this.generateTabStorageVal()))},generateTabStorageVal:function(e){return e=e||[],{data:e,expireTime:t()+2*pa.batch_send.send_interval,serverUrl:this.serverUrl}},sendImmediately:function(){this.send()},recycle:function(){for(var e={},r=1e4,n="sajssdk-lock-get-",o=0;ou.expireTime&&this.serverUrl===u.serverUrl){var p=new a(n);p.get(s,r,1e3,function(e){if(e){null===zi.get(l.tabKey)&&l.generateTabStorage();var t=i(e)||l.generateTabStorageVal(),r=i(zi.get(l.tabKey))||l.generateTabStorageVal();r.data=Ce(r.data.concat(t.data)),zi.set(l.tabKey,JSON.stringify(r))}})}}else if(0===s.indexOf(n)){var d=i(zi.get(s))||{expireTime:0};t()-d.expireTime>r&&zi.remove(s)}}for(var f=0;f0)for(t=0;tpa.max_id_length)},keyLength:function(e){return!(!p(e)||e.length>pa.max_key_length)},stringLength:function(e){return!(!p(e)||e.length>pa.max_string_length)},voidZero:function(e){return void 0!==e},reservedLoginId:function(e){return!(re(this.loginIDReservedNames,e)>-1)},reservedUnbind:function(e){return!(re(this.unbindReservedNames,e)>-1)},reservedBind:function(e){var t=$a._state.history_login_id;return(!t||!t.name||t.name!==e)&&!(re(this.bindReservedNames,e)>-1)}},xa={distinct_id:{rules:["string","emptyString","idLength"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="Id"),e(Aa[n])&&Aa[n](r),"idLength"===n)||t}},event:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(t,r,n){return t||("emptyString"===n&&(r="eventName"),e(Aa[n])&&Aa[n](r)),!0}},propertyKey:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(t,r,n){return t||("emptyString"===n&&(r="Property key"),e(Aa[n])&&Aa[n](r)),!0}},propertyValue:{rules:["voidZero"],onComplete:function(t,r,n){return t||(r="Property Value",e(Aa[n])&&Aa[n](r)),!0}},properties:function(t){return r(t)?k(t,function(t,r){et({propertyKey:r});var n=function(t,n,i){return t||(n=r+"'s Value",e(Aa[i])&&Aa[i](n)),!0};et({propertyValue:t},n)}):Da.voidZero(t)&&Ne("properties\u53ef\u4ee5\u6ca1\u6709\uff0c\u4f46\u6709\u7684\u8bdd\u5fc5\u987b\u662f\u5bf9\u8c61"),!0},propertiesMust:function(e){return void 0!==e&&r(e)&&!oe(e)?this.properties.call(this,e):Ne("properties\u5fc5\u987b\u662f\u5bf9\u8c61"),!0},item_type:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(t,r,n){return t||("emptyString"===n&&(r="item_type"),e(Aa[n])&&Aa[n](r)),!0}},item_id:{rules:["string","emptyString","stringLength"],onComplete:function(t,r,n){return t||("emptyString"===n&&(r="item_id"),e(Aa[n])&&Aa[n](r)),!0}},loginIdKey:{rules:["string","emptyString","keyLength","regexTest","reservedLoginId"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="login_id_key"),e(Aa[n])&&Aa[n](r),"keyLength"===n)||t}},bindKey:{rules:["string","emptyString","keyLength","regexTest","reservedBind"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="Key"),e(Aa[n])&&Aa[n](r),"keyLength"===n)||t}},unbindKey:{rules:["string","emptyString","keyLength","regexTest","reservedUnbind"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="Key"),e(Aa[n])&&Aa[n](r),"keyLength"===n)||t}},bindValue:{rules:["string","emptyString","idLength"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="Value"),e(Aa[n])&&Aa[n](r),"idLength"===n)||t}},check:function(t,r,n){var i=this[t];if(e(i))return i.call(this,r);if(!i)return!1;for(var a=0;a"),r=d(t.pop());if("div"!==r.slice(0,3))return!1}return!0},Ea.configIsMatchNew=function(e,t){if(p(e.$element_selector)&&p(t.element_selector)){if("element_selector"===t.element_field&&"equal"===t["function"])return e.$element_selector===t.element_selector;if("element_selector"===t.element_field&&"contain"===t["function"])return e.$element_selector.indexOf(t.element_selector)>-1}if(p(e.$element_path)&&p(t.element_path)){if("element_path"===t.element_field&&"equal"===t["function"])return e.$element_path===t.element_path;if("element_path"===t.element_field&&"contain"===t["function"])return e.$element_path.indexOf(t.element_path)>-1}return!1},Ea.configIsMatch=function(e,t){return(!t.limit_element_content||t.element_content===e.$element_content)&&((!t.limit_element_position||t.element_position===String(e.$element_position))&&(t.element_field&&t["function"]?Ea.configIsMatchNew(e,t):Ea.configIsMatchOldVersion(e,t)))},Ea.configIsMatchOldVersion=function(e,t){if(!t.element_path)return!1;if(void 0!==e.$element_position){if(t.element_path!==e.$element_path)return!1}else if(Ea.isDiv({element_path:t.element_path})){if(e.$element_path.indexOf(t.element_path)<0)return!1}else if(t.element_path!==e.$element_path)return!1;return!0},Ea.filterConfig=function(e,t,n){var i=[];if(!n){var a=Ea.initUrl();if(!a)return[];n=a.page_url}return"$WebClick"===e.event&&k(t,function(t){r(t)&&("webclick"===t.event_type||"appclick"===t.event_type)&&r(t.event)&&t.event.url_host===n.host&&t.event.url_path===n.pathname&&Ea.configIsMatch(e.properties,t.event)&&i.push(t)}),i},Ea.getPropElInLi=function(e,t){if(!(e&&_(e)&&p(t)))return null;if("li"!==e.tagName.toLowerCase())return null;var r,n=Fi.heatmap.getDomSelector(e);if(n){r=n+t;var i=J(r);return i?i:null}return Ne("----custom---\u83b7\u53d6\u540c\u7ea7\u5c5e\u6027\u5143\u7d20\u5931\u8d25\uff0cselector\u4fe1\u606f\u5f02\u5e38",n,t),null},Ea.getProp=function(e,t){if(!r(e))return!1;if(!(p(e.name)&&e.name.length>0))return Ne("----vcustom----\u5c5e\u6027\u540d\u4e0d\u5408\u6cd5,\u5c5e\u6027\u629b\u5f03",e.name),!1;var n,i,a={};if("content"===e.method){var o;if(p(e.element_selector)&&e.element_selector.length>0)o=J(e.element_selector);else{if(!t||!p(e.list_selector))return Ne("----vcustom----\u5c5e\u6027\u914d\u7f6e\u5f02\u5e38\uff0c\u5c5e\u6027\u629b\u5f03",e.name),!1;var s=J(t.properties.$element_selector);if(!s)return Ne("----vcustom----\u70b9\u51fb\u5143\u7d20\u83b7\u53d6\u5f02\u5e38\uff0c\u5c5e\u6027\u629b\u5f03",e.name),!1;var l=Fi.heatmap.getClosestLi(s);o=Ea.getPropElInLi(l,e.list_selector)}if(!o||!_(o))return Ne("----vcustom----\u5c5e\u6027\u5143\u7d20\u83b7\u53d6\u5931\u8d25\uff0c\u5c5e\u6027\u629b\u5f03",e.name),!1;if("input"===o.tagName.toLowerCase())n=o.value||"";else if("select"===o.tagName.toLowerCase()){var u=o.selectedIndex;ce(u)&&_(o[u])&&(n=Xe(o[u],"select"))}else n=Xe(o,o.tagName.toLowerCase());if(e.regular){try{i=new RegExp(e.regular).exec(n)}catch(c){return Ne("----vcustom----\u6b63\u5219\u5904\u7406\u5931\u8d25\uff0c\u5c5e\u6027\u629b\u5f03",e.name),!1}if(null===i)return Ne("----vcustom----\u5c5e\u6027\u89c4\u5219\u5904\u7406\uff0c\u672a\u5339\u914d\u5230\u7ed3\u679c,\u5c5e\u6027\u629b\u5f03",e.name),!1;if(!v(i)||!p(i[0]))return Ne("----vcustom----\u6b63\u5219\u5904\u7406\u5f02\u5e38\uff0c\u5c5e\u6027\u629b\u5f03",e.name,i),!1;n=i[0]}if("STRING"===e.type)a[e.name]=n;else if("NUMBER"===e.type){if(n.length<1)return Ne("----vcustom----\u672a\u83b7\u53d6\u5230\u6570\u5b57\u5185\u5bb9\uff0c\u5c5e\u6027\u629b\u5f03",e.name,n),!1;if(isNaN(Number(n)))return Ne("----vcustom----\u6570\u5b57\u7c7b\u578b\u5c5e\u6027\u8f6c\u6362\u5931\u8d25\uff0c\u5c5e\u6027\u629b\u5f03",e.name,n),!1;a[e.name]=Number(n)}return a}return je("----vcustom----\u5c5e\u6027\u4e0d\u652f\u6301\u6b64\u83b7\u53d6\u65b9\u5f0f",e.name,e.method),!1},Ea.getAssignConfigs=function(e,t){var n=Ea.initUrl();if(!n||!n.page_url)return[];if(!r(t))return[];var i=[];return t.events=t.events||t.eventList,v(t.events)&&t.events.length>0?(k(t.events,function(t){r(t)&&r(t.event)&&t.event.url_host===n.page_url.host&&t.event.url_path===n.page_url.pathname&&e(t)&&i.push(t)}),i):[]};var La={events:[],getAssignConfigs:Ea.getAssignConfigs,filterConfig:Ea.filterConfig,getProp:Ea.getProp,initUrl:Ea.initUrl,updateEvents:function(e){v(e)&&(this.events=e)},init:function(){this.initAppGetPropsBridge()},geth5Props:function(e){var t={},n=[],i=this;if(!this.events.length)return{};if("$WebClick"===e.event){var a=this.filterConfig(e,this.events);if(!a.length)return{};k(a,function(a){r(a)&&(v(a.properties)&&a.properties.length>0&&k(a.properties,function(n){if(r(n))if(n.h5===!1)v(t.sensorsdata_app_visual_properties)||(t.sensorsdata_app_visual_properties=[]),t.sensorsdata_app_visual_properties.push(n);else{var a=i.getProp(n,e);r(a)&&(t=P(t,a))}}),p(a.event_name)&&n.push(a.event_name))}),Fi.bridge.hasVisualModeBridge()&&(t.sensorsdata_web_visual_eventName=n)}return t.sensorsdata_app_visual_properties&&(t.sensorsdata_app_visual_properties=j(JSON.stringify(t.sensorsdata_app_visual_properties))),t},initAppGetPropsBridge:function(){var e=this,t=new Fi.SDKJSBridge("getJSVisualProperties");return t.onAppNotify(function(n){var i={};try{n=JSON.parse(N(n))}catch(a){je("getJSVisualProperties data parse error!")}if(r(n)){var o=n.sensorsdata_js_visual_properties,s=e.initUrl();s&&(s=s.page_url,v(o)&&o.length>0&&k(o,function(t){if(r(t)&&t.url_host===s.host&&t.url_path===s.pathname&&t.h5){var n=e.getProp(t);r(n)&&(i=P(i,n))}}))}var l=Fi.bridge.bridge_info.platform;return"android"===l&&t.notifyApp({data:i},n.message_id),i}),t}},Ua={events:[],customProp:La,getAssignConfigs:Ea.getAssignConfigs,initUrl:Ea.initUrl,init:function(){if(this.initUrl()){var e=this.getConfigFromApp();e&&this.updateConfigs(e),this.customProp.init(),this.initAppUpdateConfigBridge()}},initAppUpdateConfigBridge:function(){var e=this;return new Fi.SDKJSBridge("updateH5VisualConfig").onAppNotify(function(t){if(t){try{t=JSON.parse(N(t))}catch(r){return void je("updateH5VisualConfig result parse error\uff01")}e.updateConfigs(t)}})},getConfigFromApp:function(){var e=new Fi.SDKJSBridge("sensorsdata_get_app_visual_config").notifyApp();if(e)try{e=JSON.parse(N(e))}catch(t){e=null,je("getAppVisualConfig result parse error\uff01")}return e},updateConfigs:function(e){this.events=this.filterConfigs(e),this.customProp.updateEvents(this.events)},filterConfigs:function(e){return this.getAssignConfigs(function(e){return!(!r(e)||e.h5===!1)},e)}},Ra={events:[],init:function(e){this.filterWebClickEvents(e)},filterWebClickEvents:function(e){this.events=Ba.getAssignConfigs(function(e){return!(!r(e)||e.event.unlimited_div!==!0||"webclick"!==e.event_type)},e)},isTargetEle:function(e){var t=Fi.heatmap.getEleDetail(e);if(!r(t)||!p(t.$element_path))return!1;for(var n=0;n0)},e),this.events.length?this.configSwitch=!0:this.configSwitch=!1},getVtrackProps:function(e){var t={};return this.collectAble()?("$WebClick"===e.event&&(t=this.clickCustomPropMaker(e,this.events)),t):{}},clickCustomPropMaker:function(e,t,n){var i=this;n=n||this.filterConfig(e,t,Ba.url_info.page_url);var a={};return n.length?(k(n,function(t){v(t.properties)&&t.properties.length>0&&k(t.properties,function(t){var n=i.getProp(t,e);r(n)&&P(a,n)})}),a):{}},getProp:Ea.getProp,getPropElInLi:Ea.getPropElInLi,filterConfig:Ea.filterConfig},Ba={unlimitedDiv:Ra,config:{},storageEnable:!0,storage_name:"webjssdkvtrackcollect",para:{session_time:18e5,timeout:5e3,update_interval:18e5},url_info:{},timer:null,update_time:null,customProp:Ha,initUrl:function(){var e=Ea.initUrl();if(e){var t;try{t=new f(Fi.para.server_url),t._values.Path="/config/visualized/Web.conf",e.api_url=t.getUrl()}catch(r){return je("----vtrackcollect---API\u5730\u5740\u89e3\u6790\u5f02\u5e38",r),!1}this.url_info=e}return e},init:function(){if(!r(Fi.para.heatmap)||!Fi.para.heatmap.get_vtrack_config)return!1;if(zi.isSupport()||(this.storageEnable=!1),!this.initUrl())return je("----vtrackcustom----\u521d\u59cb\u5316\u5931\u8d25\uff0curl\u4fe1\u606f\u89e3\u6790\u5931\u8d25"),!1;if(this.storageEnable){var e=$a.readObjectVal(this.storage_name);if(r(e)&&r(e.data))if(this.serverUrlIsSame(e.serverUrl)){this.config=e.data,this.update_time=e.updateTime,this.updateConfig(e.data);var t=(new Date).getTime(),n=t-this.update_time;if(ce(n)&&n>0&&n0&&r-1)return n;if("area"===i&&"map"===a.tagName.toLowerCase()&&y(a).prev().tagName&&"img"===y(a).prev().tagName.toLowerCase())return y(a).prev();if("div"===i&&Fi.para.heatmap.collect_tags.div&&r.isDivLevelValid(n)){var s=Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&Fi.para.heatmap.collect_tags.div&&Fi.para.heatmap.collect_tags.div.max_level||1; +if(s>1||r.isCollectableDiv(n))return n}if(r.isStyleTag(i)&&Fi.para.heatmap.collect_tags.div){var l=r.getCollectableParent(n);if(l&&r.isDivLevelValid(l))return l}var u=r.hasElement({event:t&&t.originalEvent||t,element:e},function(e){return r.isUnlimitedTag(e)});return u||null},getDivLevels:function(e,t){var r=Va.getElementPath(e,!0,t),n=r.split(" > "),i=0;return k(n,function(e){"div"===e&&i++}),i},isDivLevelValid:function(e){for(var t=Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&Fi.para.heatmap.collect_tags.div&&Fi.para.heatmap.collect_tags.div.max_level||1,r=e.getElementsByTagName("div"),n=r.length-1;n>=0;n--)if(Va.getDivLevels(r[n],e)>t)return!1;return!0},getElementPath:function(e,t,r){for(var n=[];e.parentNode&&_(e);){if(e.id&&!t&&/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(e.id)){n.unshift(e.tagName.toLowerCase()+"#"+e.id);break}if(r&&e===r){n.unshift(e.tagName.toLowerCase());break}if(e===document.body){n.unshift("body");break}n.unshift(e.tagName.toLowerCase()),e=e.parentNode}return n.join(" > ")},getClosestLi:function(t){var r=function(t,r){for(;t&&t!==document&&1===t.nodeType;t=t.parentNode)if(t.tagName&&e(t.tagName.toLowerCase)&&t.tagName.toLowerCase()===r)return t;return null};return r(t,"li")},getElementPosition:function(e,t,r){function n(e){var t=e.parentNode;if(!t)return"";var r=y(e).getSameTypeSiblings(),n=r.length;if(1===n)return 0;for(var i=0,a=e;y(a).previousElementSibling().ele;a=y(a).previousElementSibling().ele,i++);return i}var i=Fi.heatmap.getClosestLi(e);if(!i||!_(e))return null;var a=e.tagName.toLowerCase(),o=i.getElementsByTagName(a),s=o.length,l=[];if(s>1){for(var u=0;u1)return re(l,e)}return n(i)},setNotice:function(e){Fi.is_heatmap_render_mode=!0,Fi.para.heatmap||(Fi.errorMsg="\u60a8SDK\u6ca1\u6709\u914d\u7f6e\u5f00\u542f\u70b9\u51fb\u56fe\uff0c\u53ef\u80fd\u6ca1\u6709\u6570\u636e\uff01"),e&&"http:"===e.slice(0,5)&&"https:"===location.protocol&&(Fi.errorMsg="\u60a8\u7684\u5f53\u524d\u9875\u9762\u662fhttps\u7684\u5730\u5740\uff0c\u795e\u7b56\u5206\u6790\u73af\u5883\u4e5f\u5fc5\u987b\u662fhttps\uff01"),Fi.para.heatmap_url||(Fi.para.heatmap_url=gt()+"//static.sensorsdata.cn/sdk/"+Fi.lib_version+"/heatmap.min.js")},getDomIndex:function(e){if(!e.parentNode)return-1;for(var t=0,r=e.tagName,n=e.parentNode.children,i=0;i "):this.getDomSelector(e.parentNode,t,r)):(t.unshift("body"),t.join(" > "))},na:function(){var e=document.documentElement.scrollLeft||window.pageXOffset;return parseInt(isNaN(e)?0:e,10)},i:function(){var e=0;try{e=o.documentElement&&o.documentElement.scrollTop||m.pageYOffset,e=isNaN(e)?0:e}catch(t){e=0}return parseInt(e,10)},getBrowserWidth:function(){var e=window.innerWidth||document.body.clientWidth;return isNaN(e)?0:parseInt(e,10)},getBrowserHeight:function(){var e=window.innerHeight||document.body.clientHeight;return isNaN(e)?0:parseInt(e,10)},getScrollWidth:function(){var e=parseInt(document.body.scrollWidth,10);return isNaN(e)?0:e},getEleDetail:function(e){var t=this.getDomSelector(e),r=We({target:e});r.$element_selector=t?t:"",r.$element_path=Fi.heatmap.getElementPath(e,Fi.para.heatmap&&"not_use_id"===Fi.para.heatmap.element_selector);var n=Fi.heatmap.getElementPosition(e,r.$element_path,Fi.para.heatmap&&"not_use_id"===Fi.para.heatmap.element_selector);return ce(n)&&(r.$element_position=n),r},getPointerEventProp:function(e,t){function r(){var e=document.body.scrollLeft||document.documentElement.scrollLeft||0,t=document.body.scrollTop||document.documentElement.scrollTop||0;return{scrollLeft:e,scrollTop:t}}function n(e){if(document.documentElement.getBoundingClientRect){var t=e.getBoundingClientRect();return{targetEleX:t.left+r().scrollLeft||0,targetEleY:t.top+r().scrollTop||0}}}function i(e){return Number(Number(e).toFixed(3))}function a(e){var a=e.pageX||e.clientX+r().scrollLeft||e.offsetX+n(t).targetEleX||0,o=e.pageY||e.clientY+r().scrollTop||e.offsetY+n(t).targetEleY||0;return{$page_x:i(a),$page_y:i(o)}}return e?a(e):{}},start:function(t,n,i,a,o){if(r(Fi.para.heatmap)&&e(Fi.para.heatmap.collect_element)&&!Fi.para.heatmap.collect_element(n))return!1;var s=Va.getBasicEleInfo(t,n,i,a,o);_t(s)},getBasicEleInfo:function(t,n,i,a,o){var s=r(a)?a:{},l=e(o)?o:e(a)?a:void 0,u=this.getEleDetail(n);if(Fi.para.heatmap&&Fi.para.heatmap.custom_property){var c=Fi.para.heatmap.custom_property(n);r(c)&&(u=P(u,c))}return u=P(u,this.getPointerEventProp(t,n),s),{event:t,target:n,props:u,tagName:i,callback:l}},hasElement:function(e,t){var r;if(e.event){var n=e.event;r=n.path||n._getPath&&n._getPath()}else e.element&&(r=y(e.element).getParents());if(r&&v(r)&&r.length>0)for(var i=0;i-1)&&(!t||Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&Fi.para.heatmap.collect_tags.div?!!(r(Fi.para.heatmap)&&r(Fi.para.heatmap.collect_tags)&&r(Fi.para.heatmap.collect_tags.div)&&v(Fi.para.heatmap.collect_tags.div.ignore_tags)&&re(Fi.para.heatmap.collect_tags.div.ignore_tags,e)>-1):re(i,e)>-1)},isCollectableDiv:function(e,t){try{if(0===e.children.length)return!0;for(var r=0;r1||this.isStyleTag(n,t)))return!1;if(!this.isCollectableDiv(e.children[r],t))return!1}return!0}catch(a){je("isCollectableDiv:"+a)}return!1},getCollectableParent:function(e,t){try{var r=e.parentNode,n=r?r.tagName.toLowerCase():"";if("body"===n)return!1;var i=Fi.para&&Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&Fi.para.heatmap.collect_tags.div&&Fi.para.heatmap.collect_tags.div.max_level;if(n&&"div"===n&&(i>1||this.isCollectableDiv(r,t)))return r;if(r&&this.isStyleTag(n,t))return this.getCollectableParent(r,t)}catch(a){je("getCollectableParent:"+a)}return!1},listenUrlChange:function(e){e(),Fi.ee.spa.on("switch",function(){e()})},initScrollmap:function(){if(!r(Fi.para.heatmap)||"default"!==Fi.para.heatmap.scroll_notice_map)return!1;var t=!0;Fi.para.scrollmap&&e(Fi.para.scrollmap.collect_url)&&this.listenUrlChange(function(){t=!!Fi.para.scrollmap.collect_url()});var n=function(e){var t={};return t.timeout=e.timeout||1e3,t.func=e.func,t.hasInit=!1,t.inter=null,t.main=function(e,t){this.func(e,t),this.inter=null},t.go=function(e){var r={};this.inter||(r.$viewport_position=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop||0,r.$viewport_position=Math.round(r.$viewport_position)||0,e?t.main(r,!0):this.inter=setTimeout(function(){t.main(r)},this.timeout))},t},i=n({timeout:1e3,func:function(e,t){var r=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop||0,n=new Date,i=n-this.current_time;(i>Fi.para.heatmap.scroll_delay_time&&r-e.$viewport_position!==0||t)&&(e.$url=Z(),e.$title=document.title,e.$url_path=G(),e.event_duration=Math.min(Fi.para.heatmap.scroll_event_duration,parseInt(i)/1e3),e.event_duration=e.event_duration<0?0:e.event_duration,ht(e)),this.current_time=n}});i.current_time=new Date,He(window,"scroll",function(){return!!t&&void i.go()}),He(window,"unload",function(){return!!t&&void i.go("notime")})},initHeatmap:function(){var t=this,n=!0;return!(!r(Fi.para.heatmap)||"default"!==Fi.para.heatmap.clickmap)&&(e(Fi.para.heatmap.collect_url)&&this.listenUrlChange(function(){n=!!Fi.para.heatmap.collect_url()}),"all"===Fi.para.heatmap.collect_elements?Fi.para.heatmap.collect_elements="all":Fi.para.heatmap.collect_elements="interact",void("all"===Fi.para.heatmap.collect_elements?He(document,"click",function(e){if(!n)return!1;var r=e||window.event;if(!r)return!1;var i=r.target||r.srcElement;if("object"!=typeof i)return!1;if("string"!=typeof i.tagName)return!1;var a=i.tagName.toLowerCase();if("body"===a||"html"===a)return!1;if(!i||!i.parentNode||!i.parentNode.children)return!1;var o=i.parentNode.tagName.toLowerCase();"a"===o||"button"===o?t.start(r,i.parentNode,o):t.start(r,i,a)}):He(document,"click",function(e){if(!n)return!1;var i=e||window.event;if(!i)return!1;var a=i.target||i.srcElement,o=Fi.heatmap.getTargetElement(a,e);o?t.start(i,o,o.tagName.toLowerCase()):_(a)&&"div"===a.tagName.toLowerCase()&&r(Fi.para.heatmap)&&Fi.para.heatmap.get_vtrack_config&&Ra.events.length>0&&Ra.isTargetEle(a)&&t.start(i,a,a.tagName.toLowerCase(),{$lib_method:"vtrack"})})))}},Wa={autoTrackIsUsed:!1,isReady:function(t){return e(t)?void t():void Fi.log("error: isReady callback must be function")},getUtm:function(){return ba.campaignParams()},getStayTime:function(){return(new Date-Fi._t)/1e3},setProfileLocal:function(e){if(!zi.isSupport())return Fi.setProfile(e),!1;if(!r(e)||oe(e))return!1;var t=$a.readObjectVal("sensorsdata_2015_jssdk_profile"),n=!1;if(r(t)&&!oe(t)){for(var i in e)!(i in t&&t[i]!==e[i])&&i in t||(t[i]=e[i],n=!0);n&&($a.saveObjectVal("sensorsdata_2015_jssdk_profile",t),Fi.setProfile(e))}else $a.saveObjectVal("sensorsdata_2015_jssdk_profile",e),Fi.setProfile(e)},setInitReferrer:function(){var e=De();Fi.setOnceProfile({_init_referrer:e,_init_referrer_host:ba.pageProp.referrer_host})},setSessionReferrer:function(){var e=De();$a.setSessionPropsOnce({_session_referrer:e,_session_referrer_host:ba.pageProp.referrer_host})},setDefaultAttr:function(){ba.register({_current_url:location.href,_referrer:De(),_referring_host:ba.pageProp.referrer_host})},trackHeatMap:function(e,t,r){if("object"==typeof e&&e.tagName&&_(e.parentNode)){var n=e.tagName.toLowerCase(),i=e.parentNode.tagName.toLowerCase(),a=Fi.para.heatmap&&Fi.para.heatmap.track_attr?Fi.para.heatmap.track_attr:["data-sensors-click"];"button"===n||"a"===n||"a"===i||"button"===i||"input"===n||"textarea"===n||Y(e,a)||Va.start(null,e,n,t,r)}},trackAllHeatMap:function(e,t,r){if("object"==typeof e&&e.tagName){var n=e.tagName.toLowerCase();Va.start(null,e,n,t,r)}},autoTrackSinglePage:function(e,t){function n(e,t){Fi.track("$pageview",P({$referrer:i,$url:Z(),$url_path:G(),$title:document.title},e,mt()),t),i=Z()}var i;i=this.autoTrackIsUsed?ba.pageProp.url:ba.pageProp.referrer,e=r(e)?e:{};var a=!e.not_set_profile;e.not_set_profile&&delete e.not_set_profile,n(e,t),this.autoTrackSinglePage=n,vt(Fi.setOnceProfile,!1,a)},autoTrackWithoutProfile:function(e,t){e=r(e)?e:{},this.autoTrack(P(e,{not_set_profile:!0}),t)},autoTrack:function(e,t){e=r(e)?e:{};var n=mt(),i=!e.not_set_profile;e.not_set_profile&&delete e.not_set_profile;var a=location.href;Fi.para.is_single_page&&w(function(){var r=De(a,!0);Fi.track("$pageview",P({$referrer:r,$url:Z(),$url_path:G(),$title:document.title},n,e),t),a=Z()}),Fi.track("$pageview",P({$referrer:De(null,!0),$url:Z(),$url_path:G(),$title:document.title},n,e),t),vt(Fi.setOnceProfile,!0,i),this.autoTrackIsUsed=!0},getAnonymousID:function(){return oe($a._state)?"SDK is not initialized.":$a._state._first_id||$a._state.first_id||$a._state._distinct_id||$a._state.distinct_id},setPlugin:function(t){return!!r(t)&&void k(t,function(t,n){e(t)&&(r(window.SensorsDataWebJSSDKPlugin)&&window.SensorsDataWebJSSDKPlugin[n]?t(window.SensorsDataWebJSSDKPlugin[n]):r(Fi.modules)&&Fi.modules[n]?t(window.SensorsDataWebJSSDKPlugin[n]):Ne(n+"is not found,please check sensorsdata documents."))})},useModulePlugin:function(){Fi.use.apply(Fi,arguments)},useAppPlugin:function(){this.setPlugin.apply(this,arguments)}},za=new l,Xa=new l,Za={};Za.spa=za,Za.sdk=Xa,Za.initSystemEvent=function(){yt(function(e){za.emit("switch",e)})},Za.EVENT_LIST={spaSwitch:["spa","switch"],sdkBeforeInit:["sdk","beforeInit"],sdkInitPara:["sdk","initPara"],sdkAfterInitPara:["sdk","afterInitPara"],sdkInitAPI:["sdk","initAPI"],sdkAfterInitAPI:["sdk","afterInitAPI"],sdkAfterInit:["sdk","afterInit"],sdkReady:["sdk","ready"]};var Ga={state:0,historyState:[],stateType:{1:"1-init\u672a\u5f00\u59cb",2:"2-init\u5f00\u59cb",3:"3-store\u5b8c\u6210"},getState:function(){return this.historyState.join("\n")},setState:function(e){String(e)in this.stateType&&(this.state=e),this.historyState.push(this.stateType[e])}},Qa=1,Ya={__proto__:null,setInitVar:Pt,initPara:Ct,quick:Ot,use:Nt,track:jt,bind:Tt,unbind:It,trackLink:$t,trackLinks:At,setItem:Dt,deleteItem:xt,setProfile:Et,setOnceProfile:Lt,appendProfile:Ut,incrementProfile:Rt,deleteProfile:Ht,unsetProfile:Bt,identify:Jt,trackSignup:qt,registerPage:Kt,clearAllRegister:Ft,clearPageRegister:Vt,register:Wt,registerOnce:zt,registerSession:Xt,registerSessionOnce:Zt,login:Gt,loginWithKey:Qt,logout:Yt,getPresetProperties:er,readyState:Ga,debug:ya,on:bt,log:Oe};Wi.setup(Oe);var eo=P({},la,Ta),to={bridge_info:{touch_app_bridge:!1,verify_success:!1,platform:"",support_two_way_call:!1},is_verify_success:!1,initPara:function(){var e={is_send:Fi.para.use_app_track_is_send!==!1&&"only"!==Fi.para.use_app_track,white_list:[],is_mui:"mui"===Fi.para.use_app_track};"object"==typeof Fi.para.app_js_bridge?Fi.para.app_js_bridge=P({},e,Fi.para.app_js_bridge):Fi.para.use_app_track!==!0&&Fi.para.app_js_bridge!==!0&&"only"!==Fi.para.use_app_track&&"mui"!==Fi.para.use_app_track||(Fi.para.app_js_bridge=P({},e)),Fi.para.app_js_bridge.is_send===!1&&Ne("\u8bbe\u7f6e\u4e86 is_send:false,\u5982\u679c\u6253\u901a\u5931\u8d25\uff0c\u6570\u636e\u5c06\u88ab\u4e22\u5f03!")},app_js_bridge_v1:function(){function e(e){n=e,ue(n)&&(n=JSON.parse(n)),i&&(i(n),i=null,n=null)}function t(){"object"==typeof window.SensorsData_APP_JS_Bridge&&window.SensorsData_APP_JS_Bridge.sensorsdata_call_app&&(n=window.SensorsData_APP_JS_Bridge.sensorsdata_call_app(),ue(n)&&(n=JSON.parse(n)))}function r(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream){var e=document.createElement("iframe");e.setAttribute("src","sensorsanalytics://getAppInfo"),document.documentElement.appendChild(e),e.parentNode.removeChild(e),e=null}}var n=null,i=null;window.sensorsdata_app_js_bridge_call_js=function(t){e(t)},Fi.getAppStatus=function(e){return r(),t(),e?void(null===n?i=e:(e(n),n=null)):n}},hasVisualModeBridge:function(){var e=window.SensorsData_App_Visual_Bridge,t="sensorsdata_visualized_mode";return r(e)&&e[t]&&(e[t]===!0||e[t]())},validateAppUrl:ir};rr.prototype.call=function(e,t){var r=this,i=(new Date).getTime().toString(16)+String(n()).replace(".","").slice(1,8);this.resultCbs[i]=r.resultCbs[i]||{result:null,callbacks:[]},this.timeoutCbs[i]=r.timeoutCbs[i]||{isTimeout:!1,callbacks:[]},e=e.data?e:{data:e},e.data.message_id=i;var a=P({callType:this.type},e);return t&&(this.timerId=setTimeout(function(){r.timeoutCbs[i].isTimeout=!0;for(var e in r.timeoutCbs[i].callbacks)r.timeoutCbs[i].callbacks[e].call(null),r.timeoutCbs[i].callbacks.splice(e,1)},t)),nr(a),{onResult:function(e){return r.resultCbs[i].result?(e(r.resultCbs[i].result),this):(!r.timeoutCbs[i].isTimeout&&r.resultCbs[i].callbacks.push(e),this)},onTimeout:function(e){return r.timeoutCbs[i].isTimeout?(e(),this):(!r.resultCbs[i].result&&r.timeoutCbs[i].callbacks.push(e),this)}}},rr.prototype.onAppNotify=function(e){this.appCallJsCallback=e},rr.prototype.notifyApp=function(e,t){var r=P({callType:this.type},e);return t&&(r.message_id=t),nr(r)},ar.prototype={"double":function(){},getAppData:function(){},hasAppBridge:function(){return Fi.bridge.bridge_info.support_two_way_call},init:function(){},jsCallApp:function(){},requestToApp:function(t){this.bridge.call(t,t.timeout.time).onResult(function(r){e(t.callback)&&t.callback(r)}).onTimeout(function(){e(t.timeout.callback)&&t.timeout.callback()})}};var ro={isSeachHasKeyword:function(){return""!==V(location.href,"sa-request-id")&&("string"==typeof sessionStorage.getItem("sensors-visual-mode")&&sessionStorage.removeItem("sensors-visual-mode"),!0)},hasKeywordHandle:function(){var e=location.href,t=V(e,"sa-request-id")||null,r=V(e,"sa-request-type")||null,n=V(e,"sa-request-url")||null;if(Va.setNotice(n),ia.isSupport())if(null!==n&&sessionStorage.setItem("sensors_heatmap_url",n),sessionStorage.setItem("sensors_heatmap_id",t),null!==r)"1"===r||"2"===r||"3"===r?sessionStorage.setItem("sensors_heatmap_type",r):r=null;else{var i=sessionStorage.getItem("sensors_heatmap_type");r=null!==i?i:null}this.isReady(t,r)},isReady:function(e,t,r){Fi.para.heatmap_url?_e({success:function(){setTimeout(function(){"undefined"!=typeof sa_jssdk_heatmap_render&&(sa_jssdk_heatmap_render(Fi,e,t,r),"object"==typeof console&&"function"==typeof console.log&&(Fi.heatmap_version&&Fi.heatmap_version===Fi.lib_version||Ne("heatmap.js\u4e0esensorsdata.js\u7248\u672c\u53f7\u4e0d\u4e00\u81f4\uff0c\u53ef\u80fd\u5b58\u5728\u98ce\u9669!")))},0)},error:function(){},type:"js",url:Fi.para.heatmap_url}):je("\u6ca1\u6709\u6307\u5b9aheatmap_url\u7684\u8def\u5f84")},isStorageHasKeyword:function(){return ia.isSupport()&&"string"==typeof sessionStorage.getItem("sensors_heatmap_id")},storageHasKeywordHandle:function(){Va.setNotice(),ro.isReady(sessionStorage.getItem("sensors_heatmap_id"),sessionStorage.getItem("sensors_heatmap_type"),location.href)},isWindowNameHasKeyword:function(){try{var e=JSON.parse(window.name),t=p(e["sa-request-page-url"])?u(e["sa-request-page-url"]):null;return e["sa-request-id"]&&p(e["sa-request-id"])&&t===location.href}catch(r){return!1}},windowNameHasKeywordHandle:function(){function e(e){var r=t[e];return p(r)?u(r):null}var t=JSON.parse(window.name),r=e("sa-request-id"),n=e("sa-request-type"),i=e("sa-request-url");Va.setNotice(i),ia.isSupport()&&(null!==i&&sessionStorage.setItem("sensors_heatmap_url",i),sessionStorage.setItem("sensors_heatmap_id",r),null!==n?"1"===n||"2"===n||"3"===n?sessionStorage.setItem("sensors_heatmap_type",n):n=null:n=null!==sessionStorage.getItem("sensors_heatmap_type")?sessionStorage.getItem("sensors_heatmap_type"):null),ro.isReady(r,n)}},no={isStorageHasKeyword:function(){return ia.isSupport()&&"string"==typeof sessionStorage.getItem("sensors-visual-mode")},isSearchHasKeyword:function(){return(sr("sa-visual-mode")===!0||"true"===sr("sa-visual-mode"))&&("string"==typeof sessionStorage.getItem("sensors_heatmap_id")&&sessionStorage.removeItem("sensors_heatmap_id"),!0)},loadVtrack:function(){_e({success:function(){},error:function(){},type:"js",url:Fi.para.vtrack_url?Fi.para.vtrack_url:gt()+"//static.sensorsdata.cn/sdk/"+Fi.lib_version+"/vtrack.min.js"})},messageListener:function(e){if(!e||!e.data||"sa-fe"!==e.data.source)return!1;if("v-track-mode"===e.data.type){if(e.data.data&&e.data.data.isVtrack)if(ia.isSupport()&&sessionStorage.setItem("sensors-visual-mode","true"),e.data.data.userURL&&location.href.match(/sa-visual-mode=true/)){var t=e.data.data.userURL;t&&(window.location.href=encodeURI(t))}else no.loadVtrack();window.removeEventListener("message",no.messageListener,!1)}},removeMessageHandle:function(){window.removeEventListener&&window.removeEventListener("message",no.messageListener,!1)},verifyVtrackMode:function(){window.addEventListener&&window.addEventListener("message",no.messageListener,!1),no.postMessage()},postMessage:function(){try{window.parent&&window.parent.postMessage&&window.parent.postMessage({source:"sa-web-sdk",type:"v-is-vtrack",data:{sdkversion:ga}},"*")}catch(e){je("\u6d4f\u89c8\u5668\u7248\u672c\u8fc7\u4f4e\uff0c\u4e0d\u652f\u6301 postMessage API")}},notifyUser:function(){var e=function(t){return!(!t||!t.data||"sa-fe"!==t.data.source)&&void("v-track-mode"===t.data.type&&(t.data.data&&t.data.data.isVtrack&&alert("\u5f53\u524d\u7248\u672c\u4e0d\u652f\u6301\uff0c\u8bf7\u5347\u7ea7\u90e8\u7f72\u795e\u7b56\u6570\u636e\u6cbb\u7406"),window.removeEventListener("message",e,!1)))};window.addEventListener&&window.addEventListener("message",e,!1),no.postMessage()}},io=["setItem","deleteItem","getAppStatus","track","quick","register","registerPage","registerOnce","trackSignup","setProfile","setOnceProfile","appendProfile","incrementProfile","deleteProfile","unsetProfile","identify","login","logout","trackLink","clearAllRegister","clearPageRegister","bind","unbind","loginWithKey"],ao={track:function(e,t,r){},quick:function(e,t,r,n){},register:function(e){},registerPage:function(e){},registerOnce:function(e){},clearAllRegister:function(e){},trackSignup:function(e,t,r,n){},setProfile:function(e,t){},setOnceProfile:function(e,t){},appendProfile:function(e,t){},incrementProfile:function(e,t){},deleteProfile:function(e){},unsetProfile:function(e,t){},identify:function(e,t){},login:function(e,t){},logout:function(e){},trackLink:function(e,t,r){},deleteItem:function(e,t){},setItem:function(e,t,r){},getAppStatus:function(e){},clearPageRegister:function(e){}};mr.prototype.process=function(e,t){if(!(e&&e in this.processDef))return void je("process ["+e+"] is not supported");var r=this.registeredInterceptors[e];if(r&&v(r)&&r.length>0)for(var n={current:0,total:r.length},i=new hr(t,n,Fi),a=0;a=2)&&(wo&&(Cr(!0),gr()),Za.initSystemEvent(),Fi.setInitVar(),Fi.readyState.setState(2),Fi.initPara(e),Za.sdk.emit("initPara"),Za.sdk.emit("afterInitPara"),Za.sdk.emit("initAPI"),Za.sdk.emit("afterInitAPI"),Fi.detectMode(),tr(),Za.sdk.emit("afterInit"),void Za.sdk.emit("ready"))},wo?Cr(!1):(Cr(!0),gr());var So,ko,Po,Co,Oo,No,jo,To,Io,$o,Ao,Do,xo,Eo,Lo,Uo,Ro,Ho,Bo="1.25.15",Jo={init:function(e){var t=e._.isString,r=e._.rot13defs,n=e._.dfmapping,i="data:enc;",a="dfm-enc-";e.ee.sdk.on("afterInitPara",function(){e.kit.userEncrypt=function(e){return a+n(e)},e.kit.userDecrypt=function(e){return 0===e.indexOf(i)?(e=e.substring(i.length),e=r(e)):0===e.indexOf(a)&&(e=e.substring(a.length),e=n(e)),e},e.kit.userDecryptIfNeeded=function(r){return!t(r)||0!==r.indexOf(i)&&0!==r.indexOf(a)||(r=e.kit.userDecrypt(r)),r}})},plugin_name:"UserEncryptDefault"},Mo=jr(Jo),qo="1.25.15",Ko={sd:null,init:function(e){if(this.sd)return!1;if(this.sd=e,!this.sd||!this.sd._)return!1;var t=this.sd._.cookie.get("sensors_amp_id"),r=this.sd.store._state.distinct_id;if(t&&t.length>0){var n="amp-"===t.slice(0,4);if(t!==r){if(!n)return!1;this.sd.store._state.first_id?(this.sd.identify(t,!0),this.sd.saEvent.send({original_id:t,distinct_id:r,type:"track_signup",event:"$SignUp",properties:{}},null),this.setAmpId(r)):this.sd.identify(t,!0)}}else this.setAmpId(r);this.addListener()},addListener:function(){var e=this;this.sd.events.on("changeDistinctId",function(t){e.setAmpId(t)}),this.sd.events.isReady()},setAmpId:function(e){this.sd._.cookie.set("sensors_amp_id",e)}},Fo=$r(Ko,"Amp","sdkReady"),Vo=window.SensorsData_App_Visual_Bridge,Wo=Vo&&Vo.sensorsdata_visualized_mode,zo=Vo&&Vo.sensorsdata_visualized_alert_info,Xo=Vo&&Vo.sensorsdata_hover_web_nodes,Zo={isVerify:function(){return Wo&&(Wo===!0||Wo.call(Vo))},commands:{app_alert:Ar,visualized_track:Dr,page_info:Dr,sensorsdata_get_app_visual_config:xr}},Go="1.25.15",Qo={init:function(e){Co=e,Oo=Co&&Co._,No=Co&&Co.log||console&&console.log||function(){},Rr()},handleCommand:Br},Yo=Ur(Qo,"AndroidBridge","sdkAfterInitPara"),es=window.SensorsData_App_Visual_Bridge,ts=es&&es.sensorsdata_visualized_mode,rs=es&&es.sensorsdata_visualized_alert_info,ns=es&&es.sensorsdata_hover_web_nodes,is={isVerify:function(){return ts&&(ts===!0||ts.call(es))},commands:{app_alert:Jr,visualized_track:Mr,page_info:Mr,sensorsdata_get_app_visual_config:qr}},as="1.25.15",os={init:function(e){Ao=e,Do=Ao&&Ao._,xo=Ao&&Ao.log||console&&console.log||function(){},Wr()},handleCommand:Xr},ss=Vr(os,"AndroidObsoleteBridge","sdkAfterInitPara"),ls="1.25.15",us={event_list:[],latest_event_initial_time:null,max_save_time:2592e6,init:function(e,t){function r(){return Eo=Lo._,Uo=Lo.store,!!Eo.localStorage.isSupport()&&(Lo.para.max_string_length=1024,n.eventList.init(),n.addLatestChannelUrl(),void n.addIsChannelCallbackEvent())}if(Lo||!e)return!1;t=t||{},Ro=t.cookie_name||"sensorsdata2015jssdkchannel",Lo=e;var n=this;r()},addIsChannelCallbackEvent:function(){Lo.registerPage({$is_channel_callback_event:function(e){if(Eo.isObject(e)&&e.event&&"$WebClick"!==e.event&&"$pageview"!==e.event&&"$WebStay"!==e.event&&"$SignUp"!==e.event)return!us.eventList.hasEvent(e.event)&&(us.eventList.add(e.event),!0)}})},addLatestChannelUrl:function(){var e=this.getUrlDomain(),t=this.cookie.getChannel();if("url\u89e3\u6790\u5931\u8d25"===e)this.registerAndSave({_sa_channel_landing_url:"",_sa_channel_landing_url_error:"url\u7684domain\u89e3\u6790\u5931\u8d25"});else if(Eo.isReferralTraffic(document.referrer)){var r=Eo.getQueryParam(location.href,"sat_cf");Eo.isString(r)&&r.length>0?(this.registerAndSave({_sa_channel_landing_url:location.href}),us.channelLinkHandler()):this.registerAndSave({_sa_channel_landing_url:""})}else t?Lo.registerPage(t):Lo.registerPage({_sa_channel_landing_url:"",_sa_channel_landing_url_error:"\u53d6\u503c\u5f02\u5e38"})},registerAndSave:function(e){Lo.registerPage(e),this.cookie.saveChannel(e)},cookie:{getChannel:function(){var e=Lo.kit.userDecryptIfNeeded(Eo.cookie.get(Ro));return e=Eo.safeJSONParse(e),!(!Eo.isObject(e)||!e.prop)&&e.prop},saveChannel:function(e){var t={prop:e},r=JSON.stringify(t);Lo.para.encrypt_cookie&&(r=Lo.kit.userEncrypt(r)),Eo.cookie.set(Ro,r)}},channelLinkHandler:function(){this.eventList.reset(),Lo.track("$ChannelLinkReaching")},getUrlDomain:function(){var e=Eo.info.pageProp.url_domain;return""===e&&(e="url\u89e3\u6790\u5931\u8d25"),e},eventList:{init:function(){var e=this.get(),t=(new Date).getTime();if(e&&Eo.isNumber(e.latest_event_initial_time)&&Eo.isArray(e.eventList)){var r=t-e.latest_event_initial_time;r>0&&r0&&(1===arguments.length&&Cs(arguments[0])?t=arguments[0]:arguments.length>=2&&Cs(arguments[1])&&(t=arguments[1])),!Ps())return this.log("\u4e0d\u652f\u6301\u5f53\u524d\u7cfb\u7edf\uff0c\u76ee\u524d\u53ea\u652f\u6301Android\u548ciOS"),!1;if(Cs(t)&&this.sd._.isNumber(t.timeout)&&t.timeout>=2500&&(this.timeout=t.timeout),!this.sd.para.server_url)return this.log("\u795e\u7b56JS SDK\u914d\u7f6e\u9879server_url\u672a\u6b63\u786e\u914d\u7f6e"),!1;var r=Ns(this.sd);this.apiURL=this.apiURL.replace("{origin}",r.origin).replace("{project}",r.project);var n=this.sd._.getQueryParam(window.location.href,"deeplink");if(!n)return this.log("\u5f53\u524d\u9875\u9762\u7f3a\u5c11deeplink\u53c2\u6570"),!1;n=window.decodeURIComponent(n);var i=Os(n);return i?(this.key=i[2],this.apiURL=this.apiURL.replace("{key}",window.encodeURIComponent(i[2])),this.sd._.ajax({url:this.apiURL,type:"GET",cors:!0,credentials:!1,success:function(e){return e.errorMsg?(Is.log("API\u62a5\u9519\uff1a"+e.errorMsg),!1):(Is.data=e,Is.log("API\u67e5\u8be2\u6210\u529f\uff0c\u6570\u636e\uff1a"+JSON.stringify(e,null," ")),void(this.data.app_key&&(this.data.android_info&&this.data.android_info.url_schemes&&(this.data.android_info.url_schemes+="://sensorsdata/sd/"+this.data.app_key+"/"+this.key),this.data.ios_info&&this.data.ios_info.url_schemes&&(this.data.ios_info.url_schemes+="://sensorsdata/sd/"+this.data.app_key+"/"+this.key))))}.bind(this),error:function(){Is.log("API\u67e5\u8be2\u51fa\u9519")}}),void this.addListeners()):(this.log("\u5f53\u524d\u9875\u9762\u7684deeplink\u53c2\u6570\u65e0\u6548"),!1)},openDeepLink:function(){if(this.log("openDeeplink()"),!this.data)return this.log("\u6ca1\u6709Deep link\u6570\u636e!"),!1;if("iOS"===ks){this.log("\u5f53\u524d\u7cfb\u7edf\u662fiOS");var e=this.sd&&this.sd._&&this.sd._.getIOSVersion()>=9&&this.data.ios_info.ios_wake_url?this.data.ios_info.ios_wake_url:this.data.ios_info.url_schemes;this.log("\u5524\u8d77APP\u7684\u5730\u5740\uff1a"+e),Ts(this,e,this.data.ios_info.download_url)}else this.log("\u5f53\u524d\u7cfb\u7edf\u662f android"),js(this,this.data.android_info.url_schemes,this.data.android_info.download_url); +},log:function(e){this.sd&&this.sd.log(e)},addListeners:function(){var e=ds().visibilityChange,t=this;e&&document.addEventListener(e,function(){clearTimeout(t.timer),t.log("visibilitychange, clear timeout:"+t.timer)},!1),window.addEventListener("pagehide",function(){t.log("page hide, clear timeout:"+t.timer),clearTimeout(t.timer)},!1)}},$s=tn(Is,"Deeplink","sdkReady"),As="1.25.15",Ds={init:function(e){_s=e,hs=_s&&_s._,ms=_s&&_s.log||console&&console.log||function(){},sn()},handleCommand:un},xs=on(Ds,"IOSBridge","sdkAfterInitPara"),Es="1.25.15",Ls={init:function(e){vs=e,ys=vs&&vs._,bs=vs&&vs.log||console&&console.log||function(){},fn()}},Us=dn(Ls,"IOSObsoleteBridge","sdkAfterInitPara"),Rs="1.25.15",Hs=5e3,Bs=432e3;bn.prototype.init=function(e,t){if(e){if(this.sd=e,this._=this.sd._,t){this.option=t;var r=t.heartbeat_interval_time;r&&(this._.isNumber(r)||this._.isNumber(1*r))&&1*r>0&&(this.heartbeat_interval_time=1e3*r);var n=t.max_duration;n&&(this._.isNumber(n)||this._.isNumber(1*n))&&1*n>0&&(this.max_duration=n)}this.page_id=Number(String(this._.getRandom()).slice(2,5)+String(this._.getRandom()).slice(2,4)+String((new Date).getTime()).slice(-4)),this.addEventListener(),document.hidden===!0?this.page_show_status=!1:this.addHeartBeatInterval(),this.log("PageLeave\u521d\u59cb\u5316\u5b8c\u6bd5")}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},bn.prototype.log=function(e){this.sd&&this.sd.log(e)},bn.prototype.refreshPageEndTimer=function(){var e=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout(function(){e.page_hidden_status=!1},Hs)},bn.prototype.hiddenStatusHandler=function(){clearTimeout(this.timer),this.timer=null,this.page_hidden_status=!1},bn.prototype.pageStartHandler=function(){this.start_time=+new Date,!document.hidden==!0?this.page_show_status=!0:this.page_show_status=!1,this.url=location.href,this.title=document.title},bn.prototype.pageEndHandler=function(){if(this.page_hidden_status!==!0){var e=this.getPageLeaveProperties();this.page_show_status===!1&&delete e.event_duration,this.page_show_status=!1,this.page_hidden_status=!0,this.isCollectUrl(this.url)&&this.sd.track("$WebPageLeave",e),this.refreshPageEndTimer(),this.delHeartBeatData()}},bn.prototype.addEventListener=function(){this.addPageStartListener(),this.addPageSwitchListener(),this.addSinglePageListener(),this.addPageEndListener()},bn.prototype.addPageStartListener=function(){var e=this;"onpageshow"in window&&this._.addEvent(window,"pageshow",function(){e.pageStartHandler(),e.hiddenStatusHandler()})},bn.prototype.isCollectUrl=function(e){return"function"!=typeof this.option.isCollectUrl||("string"!=typeof e||""===e||this.option.isCollectUrl(e))},bn.prototype.addSinglePageListener=function(){var e=this;this.sd.ee&&this.sd.ee.spa.prepend("switch",function(t){t!==location.href&&(e.url=t,e.pageEndHandler(),e.stopHeartBeatInterval(),e.current_page_url=e.url,e.pageStartHandler(),e.hiddenStatusHandler(),e.addHeartBeatInterval())})},bn.prototype.addPageEndListener=function(){var e=this;this._.each(["pagehide","beforeunload","unload"],function(t){"on"+t in window&&e._.addEvent(window,t,function(){e.pageEndHandler(),e.stopHeartBeatInterval()})})},bn.prototype.addPageSwitchListener=function(){var e=this;this._.listenPageState({visible:function(){e.pageStartHandler(),e.hiddenStatusHandler(),e.addHeartBeatInterval()},hidden:function(){e.url=location.href,e.title=document.title,e.pageEndHandler(),e.stopHeartBeatInterval()}})},bn.prototype.addHeartBeatInterval=function(){this._.localStorage.isSupport()&&this.startHeartBeatInterval()},bn.prototype.startHeartBeatInterval=function(){var e=this;this.heartbeat_interval_timer&&this.stopHeartBeatInterval();var t=!0;this.isCollectUrl(this.url)||(t=!1),this.heartbeat_interval_timer=setInterval(function(){t&&e.saveHeartBeatData()},this.heartbeat_interval_time),t&&this.saveHeartBeatData("is_first_heartbeat"),this.reissueHeartBeatData()},bn.prototype.stopHeartBeatInterval=function(){clearInterval(this.heartbeat_interval_timer),this.heartbeat_interval_timer=null},bn.prototype.saveHeartBeatData=function(e){var t=this.getPageLeaveProperties(),r=new Date;t.$time=r,"is_first_heartbeat"===e&&(t.event_duration=3.14);var n=this.sd.kit.buildData({type:"track",event:"$WebPageLeave",properties:t});try{"success"===this.sd.bridge.bridge_info.verify_success&&(n.properties.$time=1*r)}catch(i){this.log(i.message)}n.heartbeat_interval_time=this.heartbeat_interval_time,this.sd.store.saveObjectVal(this.storage_name+"-"+this.page_id,n)},bn.prototype.delHeartBeatData=function(e){this._.localStorage.isSupport()&&this._.localStorage.remove(e||this.storage_name+"-"+this.page_id)},bn.prototype.reissueHeartBeatData=function(){for(var e=window.localStorage.length,t=e-1;t>=0;t--){var r=window.localStorage.key(t);if(r&&r!==this.storage_name+"-"+this.page_id&&0===r.indexOf(this.storage_name+"-")){var n=this.sd.store.readObjectVal(r);this._.isObject(n)&&1*new Date-n.time>n.heartbeat_interval_time+5e3&&(delete n.heartbeat_interval_time,n._flush_time=(new Date).getTime(),this.sd.kit.sendData(n),this.delHeartBeatData(r))}}},bn.prototype.getPageLeaveProperties=function(){var e=(+new Date-this.start_time)/1e3;(isNaN(e)||e<0||e>this.max_duration)&&(e=0),e=Number(e.toFixed(3));var t=this._.getReferrer(this.current_page_url),r=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body&&document.body.scrollTop||0;r=Math.round(r)||0;var n={$title:this.title,$url:this._.getURL(this.url),$url_path:this._.getURLPath(this._.URL(this.url).pathname),$referrer_host:t?this._.getHostname(t):"",$referrer:t,$viewport_position:r};return 0!==e&&(n.event_duration=e),n=this._.extend(n,this.option.custom_props)};var Js=new bn,Ms=yn(Js,"PageLeave","sdkReady"),qs="1.25.15",Ks=!1,Fs={init:function(e,t){function r(t,r){if(t.getEntries&&"function"==typeof t.getEntries){for(var n=t.getEntries(),i=null,a=0;a=0&&i<10737418240&&(r.$page_resource_size=Number((i/1024).toFixed(3)))}}function n(t){var r=0;if(t.timing){var n=t.timing;0!==n.fetchStart&&e._.isNumber(n.fetchStart)&&0!==n.domContentLoadedEventEnd&&e._.isNumber(n.domContentLoadedEventEnd)?r=n.domContentLoadedEventEnd-n.fetchStart:e.log("performance \u6570\u636e\u83b7\u53d6\u5f02\u5e38")}return r}function i(t){var r=0;if(e._.isFunction(t.getEntriesByType)){var n=t.getEntriesByType("navigation")||[{}];r=(n[0]||{}).domContentLoadedEventEnd||0}return r}function a(){var o=0,s=window.performance||window.webkitPerformance||window.msPerformance||window.mozPerformance,l={$url:e._.getURL(),$title:document.title,$url_path:e._.getURLPath(),$referrer:e._.getReferrer(null,!0)};if(s?(o=i(s)||n(s),r(s,l)):e.log("\u6d4f\u89c8\u5668\u672a\u652f\u6301 performance API."),o>0){var u=e._.isObject(t)&&t.max_duration||1800;o=Number((o/1e3).toFixed(3)),(!e._.isNumber(u)||u<=0||o<=u)&&(l.event_duration=o)}Ks||(e.track("$WebPageLoad",l),Ks=!0),window.removeEventListener?window.removeEventListener("load",a):window.detachEvent&&window.detachEvent("onload",a)}"complete"==document.readyState?a():window.addEventListener?window.addEventListener("load",a):window.attachEvent&&window.attachEvent("onload",a)}},Vs=kn(Fs,"PageLoad","sdkReady");Cn.prototype.init=function(e){if(e){this.sd=e,this._=e._,this.log=e.log;var t=this;e.registerInterceptor("buildDataStage",{extendProps:{priority:0,entry:function(e){return Pn(e,t)}}})}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},Cn.prototype.register=function(e){return this.sd?void(this._.isObject(e)&&this._.isArray(e.events)&&e.events.length>0&&this._.isObject(e.properties)&&!this._.isEmptyObject(e.properties)?this.customRegister.push(e):this.log("RegisterProperties: register \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},Cn.prototype.hookRegister=function(e){return this.sd?void(this._.isFunction(e)?this.customRegister.push(e):this.log("RegisterProperties: hookRegister \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")};var Ws="1.25.15";Cn.prototype.plugin_name="RegisterProperties";var zs,Xs,Zs=new Cn,Gs=jn(Zs),Qs="1.25.15",Ys=window.console&&window.console.log||function(){},el={init:function(e){return zs=e,Ys=zs&&zs.log||Ys,e&&e.kit&&e.kit.buildData?(Xs=zs.kit.buildData,zs.kit.buildData=An,void Ys("RegisterPropertyPageHeight \u63d2\u4ef6\u521d\u59cb\u5316\u5b8c\u6210")):void Ys("RegisterPropertyPageHeight \u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25,\u5f53\u524d\u4e3bsdk\u4e0d\u652f\u6301 RegisterPropertyPageHeight \u63d2\u4ef6\uff0c\u8bf7\u5347\u7ea7\u4e3bsdk")}},tl=$n(el,"RegisterPropertyPageHeight","sdkReady"),rl="1.25.15",nl={};nl.getPart=function(e){var t=!1,r=this.option.length;if(r)for(var n=0;n-1)return!0;return t},nl.getPartHash=function(e){var t=this.option.length,r=!1;if(t)for(var n=0;n-1)return this.option[n].after_hash;return!!r},nl.getCurrenId=function(){var e=this.store.getDistinctId()||"",t=this.store.getFirstId()||"";this._.urlSafeBase64&&this._.urlSafeBase64.encode?e=e?this._.urlSafeBase64.trim(this._.urlSafeBase64.encode(this._.base64Encode(e))):"":this._.rot13obfs&&(e=e?this._.rot13obfs(e):"");var r=t?"f"+e:"d"+e;return encodeURIComponent(r)},nl.rewriteUrl=function(e,t){var r=this,n=/([^?#]+)(\?[^#]*)?(#.*)?/,i=n.exec(e),a="";if(i){var o,s=i[1]||"",l=i[2]||"",u=i[3]||"",c="_sasdk="+this.getCurrenId(),p=function(e){var t=e.split("&"),n=[];return r._.each(t,function(e){e.indexOf("_sasdk=")>-1?n.push(c):n.push(e)}),n.join("&")};if(this.getPartHash(e)){o=u.indexOf("_sasdk");var d=u.indexOf("?");a=d>-1?o>-1?s+l+"#"+u.substring(1,o)+p(u.substring(o,u.length)):s+l+u+"&"+c:s+l+"#"+u.substring(1)+"?"+c}else{o=l.indexOf("_sasdk");var f=/^\?(\w)+/.test(l);a=f?o>-1?s+"?"+p(l.substring(1))+u:s+l+"&"+c+u:s+"?"+c+u}return t&&(t.href=a),a}},nl.getUrlId=function(){var e=location.href.match(/_sasdk=([aufd][^\?\#\&\=]+)/);if(this._.isArray(e)&&e[1]){var t=decodeURIComponent(e[1]);return!t||"f"!==t.substring(0,1)&&"d"!==t.substring(0,1)||(this._.urlSafeBase64&&this._.urlSafeBase64.isUrlSafeBase64&&this._.urlSafeBase64.isUrlSafeBase64(t)?t=t.substring(0,1)+this._.base64Decode(this._.urlSafeBase64.decode(t.substring(1))):this._.rot13defs&&(t=t.substring(0,1)+this._.rot13defs(t.substring(1)))),t}return""},nl.setRefferId=function(e){var t=this.store.getDistinctId(),r=this.getUrlId();if(r&&""!==r){var n="a"===r.substring(0,1)||"d"===r.substring(0,1);r=r.substring(1),r!==t&&(n?(this.sd.identify(r,!0),this.store.getFirstId()&&this.sd.saEvent.send({original_id:r,distinct_id:t,type:"track_signup",event:"$SignUp",properties:{}},null)):this.store.getFirstId()&&!e.re_login||this.sd.login(r))}},nl.addListen=function(){var e=this,t=function(t){var r,n,i=t.target,a=i.tagName.toLowerCase(),o=i.parentNode;if("a"===a&&i.href||o&&o.tagName&&"a"===o.tagName.toLowerCase()&&o.href){"a"===a&&i.href?(r=i.href,n=i):(r=o.href,n=o);var s=e._.URL(r),l=s.protocol;"http:"!==l&&"https:"!==l||e.getPart(r)&&e.rewriteUrl(r,n)}};e._.addEvent(document,"mousedown",t),window.PointerEvent&&"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>=0&&e._.addEvent(document,"pointerdown",t)},nl.init=function(e,t){function r(t){for(var r=t.length,n=[],i=0;i0?(this.setRefferId(t),this.addListen(),this.option=t.linker,void(this.option=r(this.option))):void e.log("\u8bf7\u914d\u7f6e\u6253\u901a\u57df\u540d\u53c2\u6570\uff01")};var il,al,ol,sl,ll,ul,cl,pl,dl,fl,gl,_l,hl,ml=En(nl,"SiteLinker","sdkReady"),vl="utm_source utm_medium utm_campaign utm_content utm_term",yl="1.25.15",bl={init:function(e){function t(){var e=vl.split(" "),t="",r={};return il._.isArray(il.para.source_channel)&&il.para.source_channel.length>0&&(e=e.concat(il.para.source_channel),e=il._.unique(e)),il._.each(e,function(e){t=il._.getQueryParam(location.href,e),t.length&&(r[e]=t)}),r}e&&!il&&(il=e,il.registerInterceptor("businessStage",{getUtmData:{priority:0,entry:function(){return t()}}}))}},wl=Rn(bl,"Utm","sdkAfterInitPara"),Sl="1.25.15",kl=!1,Pl=null,Cl={init:function(e){Pl=e,Pl.disableSDK=Mn,Pl.enableSDK=qn,Pl.getDisabled=Kn}},Ol=Jn(Cl,"DisableSDK","sdkInitAPI"),Nl="1.25.15",jl={plugin_name:"DebugSender",init:function(e){al=e,ol=al._,Gn()}},Tl=Wn(jl),Il="1.25.15",$l={plugin_name:"JsappSender",init:function(e){sl=e,ll=sl._,ri()}},Al=ei($l),Dl="1.25.15",xl=null,El={plugin_name:"BatchSender",init:function(e){ul=e,cl=ul._,ui()}},Ll=oi(El),Ul="1.25.15",Rl={plugin_name:"BeaconSender",init:function(e){pl=e,dl=pl._,hi()}},Hl=di(Rl),Bl="1.25.15",Jl={plugin_name:"AjaxSender",init:function(e){fl=e,gl=fl._,ki()}},Ml=yi(Jl),ql="1.25.15",Kl={plugin_name:"ImageSender",init:function(e){_l=e,hl=_l._,$i()}},Fl=Oi(Kl),Vl=null,Wl=null,zl=[],Xl={init:function(e){e&&(Vl=e,Wl=Vl._,Vl.logger&&Vl.logger.appendWriter(Ei),Vl.on&&Vl.on("sdkAfterInitPara",function(){for(var e=0;e=3||!r.on?p():void r.on(s,p)}}return t}function e(t,e,i){function s(e,s){t.logger?t.logger.msg.apply(t.logger,s).module(i+""||"").level(e).log():t.log&&t.log.apply(t,s)}e.log=function(){s("log",arguments)},e.warn=function(){s("warn",arguments)},e.error=function(){s("error",arguments)}}function i(e,i,s){return t(e,i,s),e.plugin_version=p,e}function s(t,e){if("track"!==t.type)return t;var i=e.sd,s=i._,o=i.saEvent.check,r=s.extend2Lev({properties:{}},t),n=e.customRegister,p=r.properties,h=r.event,c={};return s.each(n,function(t){if(s.isObject(t))s.indexOf(t.events,h)>-1&&o({properties:t.properties})&&(c=s.extend(c,t.properties));else if(s.isFunction(t)){var e=t({event:h,properties:p,data:r});s.isObject(e)&&!s.isEmptyObject(e)&&o({properties:e})&&(c=s.extend(c,e))}}),t.properties=s.extend(p,c),t}function o(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}function r(t){this.sd=t,this._=t._,this.cookie_value=null}function n(){this.registerProperties=null,this.store=null,this.sd=null,this._=null,this.log=window.console&&window.console.log||function(){},this.cookie_name="",this.prop={}}var p="1.25.15";o.prototype.init=function(t){if(t){this.sd=t,this._=t._,this.log=t.log;var e=this;t.registerInterceptor("buildDataStage",{extendProps:{priority:0,entry:function(t){return s(t,e)}}})}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},o.prototype.register=function(t){return this.sd?void(this._.isObject(t)&&this._.isArray(t.events)&&t.events.length>0&&this._.isObject(t.properties)&&!this._.isEmptyObject(t.properties)?this.customRegister.push(t):this.log("RegisterProperties: register \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},o.prototype.hookRegister=function(t){return this.sd?void(this._.isFunction(t)?this.customRegister.push(t):this.log("RegisterProperties: hookRegister \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},r.prototype.saveObjectVal=function(t,e){this._.isString(e)||(e=JSON.stringify(e)),1==this.sd.para.encrypt_cookie&&(e=this.sd.kit.userEncrypt(e)),this._.cookie.isSupport()&&this._.cookie.set(t,e),this.cookie_value=e},r.prototype.readObjectVal=function(t){var e=this._.cookie.isSupport()?this._.cookie.get(t):this.cookie_value;return e?(e=this.sd.kit.userDecryptIfNeeded(e),this._.safeJSONParse(e)):null};var h="sensorsdata2015jssdksession";n.prototype.init=function(t){if(!t||"object"!=typeof t)return void this.log("Session Event \u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25\uff01");var e=this;this.sd=t,this._=t._,this.log=t.log,this.cookie_name=h+(t.para.sdk_id||""),this.registerProperties=new o,this.registerProperties.init(t),this.store=new r(t),this.registerProperties.hookRegister(function(){return e.addSessionID()})},n.prototype.addSessionID=function(){var t=+new Date;this.prop=this.store.readObjectVal(this.cookie_name)||{};var e=this.prop.first_session_time,i=this.prop.latest_session_time;if(!e||!i||e>t||i>t||t-e>432e5||t-i>18e5){var s=this._.UUID();this.prop={session_id:s.replace(/-/g,""),first_session_time:t,latest_session_time:t}}else this.prop.latest_session_time=t;return this.store.saveObjectVal(this.cookie_name,this.prop),{$event_session_id:this.prop.session_id}};var c=new n,u=i(c,"SessionEvent","sdkReady");return u}(); \ No newline at end of file diff --git a/lishui2/web/dist/statisticAnalysis/plugins/session-event/index.es6.js b/lishui2/web/dist/statisticAnalysis/plugins/session-event/index.es6.js new file mode 100644 index 0000000..e58cc5d --- /dev/null +++ b/lishui2/web/dist/statisticAnalysis/plugins/session-event/index.es6.js @@ -0,0 +1 @@ +var sdkversion_placeholder="1.25.15";function wrapPluginInitFn(e,t,i){if(t&&(e.plugin_name=t),i&&e.init){var s=e.init;e.init=function(o,r){if(wrapLogFn(o,e,t),o.readyState&&o.readyState.state>=3||!o.on)return n();function n(){s.call(e,o,r)}o.on(i,n)}}return e}function wrapLogFn(e,t,i){function s(t,s){e.logger?e.logger.msg.apply(e.logger,s).module(i+""||"").level(t).log():e.log&&e.log.apply(e,s)}t.log=function(){s("log",arguments)},t.warn=function(){s("warn",arguments)},t.error=function(){s("error",arguments)}}function createPlugin(e,t,i){return wrapPluginInitFn(e,t,i),e.plugin_version=sdkversion_placeholder,e}function addProperties(e,t){if("track"!==e.type)return e;var i=t.sd,s=i._,o=i.saEvent.check,r=s.extend2Lev({properties:{}},e),n=t.customRegister,p=r.properties,a=r.event,l={};return s.each(n,function(e){if(s.isObject(e))s.indexOf(e.events,a)>-1&&o({properties:e.properties})&&(l=s.extend(l,e.properties));else if(s.isFunction(e)){var t=e({event:a,properties:p,data:r});s.isObject(t)&&!s.isEmptyObject(t)&&o({properties:t})&&(l=s.extend(l,t))}}),e.properties=s.extend(p,l),e}function RegisterProperties(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}function Store(e){this.sd=e,this._=e._,this.cookie_value=null}RegisterProperties.prototype.init=function(e){if(e){this.sd=e,this._=e._,this.log=e.log;var t=this;e.registerInterceptor("buildDataStage",{extendProps:{priority:0,entry:function(e){return addProperties(e,t)}}})}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},RegisterProperties.prototype.register=function(e){this.sd?this._.isObject(e)&&this._.isArray(e.events)&&e.events.length>0&&this._.isObject(e.properties)&&!this._.isEmptyObject(e.properties)?this.customRegister.push(e):this.log("RegisterProperties: register \u53c2\u6570\u9519\u8bef"):this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},RegisterProperties.prototype.hookRegister=function(e){this.sd?this._.isFunction(e)?this.customRegister.push(e):this.log("RegisterProperties: hookRegister \u53c2\u6570\u9519\u8bef"):this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},Store.prototype.saveObjectVal=function(e,t){this._.isString(t)||(t=JSON.stringify(t)),1==this.sd.para.encrypt_cookie&&(t=this.sd.kit.userEncrypt(t)),this._.cookie.isSupport()&&this._.cookie.set(e,t),this.cookie_value=t},Store.prototype.readObjectVal=function(e){var t=this._.cookie.isSupport()?this._.cookie.get(e):this.cookie_value;return t?(t=this.sd.kit.userDecryptIfNeeded(t),this._.safeJSONParse(t)):null};var COOKIE_NAME="sensorsdata2015jssdksession";function SessionEvent(){this.registerProperties=null,this.store=null,this.sd=null,this._=null,this.log=window.console&&window.console.log||function(){},this.cookie_name="",this.prop={}}SessionEvent.prototype.init=function(e){if(e&&"object"==typeof e){var t=this;this.sd=e,this._=e._,this.log=e.log,this.cookie_name=COOKIE_NAME+(e.para.sdk_id||""),this.registerProperties=new RegisterProperties,this.registerProperties.init(e),this.store=new Store(e),this.registerProperties.hookRegister(function(){return t.addSessionID()})}else this.log("Session Event \u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25\uff01")},SessionEvent.prototype.addSessionID=function(){var e=+new Date;this.prop=this.store.readObjectVal(this.cookie_name)||{};var t=this.prop.first_session_time,i=this.prop.latest_session_time;if(!t||!i||t>e||i>e||e-t>432e5||e-i>18e5){var s=this._.UUID();this.prop={session_id:s.replace(/-/g,""),first_session_time:e,latest_session_time:e}}else this.prop.latest_session_time=e;return this.store.saveObjectVal(this.cookie_name,this.prop),{$event_session_id:this.prop.session_id}};var instance=new SessionEvent,index=createPlugin(instance,"SessionEvent","sdkReady");export default index; \ No newline at end of file diff --git a/lishui2/web/dist/statisticAnalysis/plugins/session-event/index.js b/lishui2/web/dist/statisticAnalysis/plugins/session-event/index.js new file mode 100644 index 0000000..b4b1651 --- /dev/null +++ b/lishui2/web/dist/statisticAnalysis/plugins/session-event/index.js @@ -0,0 +1 @@ +(window.SensorsDataWebJSSDKPlugin=window.SensorsDataWebJSSDKPlugin||{}).SessionEvent=function(){"use strict";function t(t,i,s){if(i&&(t.plugin_name=i),s&&t.init){var o=t.init;t.init=function(r,n){function p(){o.call(t,r,n)}return e(r,t,i),r.readyState&&r.readyState.state>=3||!r.on?p():void r.on(s,p)}}return t}function e(t,e,i){function s(e,s){t.logger?t.logger.msg.apply(t.logger,s).module(i+""||"").level(e).log():t.log&&t.log.apply(t,s)}e.log=function(){s("log",arguments)},e.warn=function(){s("warn",arguments)},e.error=function(){s("error",arguments)}}function i(e,i,s){return t(e,i,s),e.plugin_version=p,e}function s(t,e){if("track"!==t.type)return t;var i=e.sd,s=i._,o=i.saEvent.check,r=s.extend2Lev({properties:{}},t),n=e.customRegister,p=r.properties,h=r.event,c={};return s.each(n,function(t){if(s.isObject(t))s.indexOf(t.events,h)>-1&&o({properties:t.properties})&&(c=s.extend(c,t.properties));else if(s.isFunction(t)){var e=t({event:h,properties:p,data:r});s.isObject(e)&&!s.isEmptyObject(e)&&o({properties:e})&&(c=s.extend(c,e))}}),t.properties=s.extend(p,c),t}function o(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}function r(t){this.sd=t,this._=t._,this.cookie_value=null}function n(){this.registerProperties=null,this.store=null,this.sd=null,this._=null,this.log=window.console&&window.console.log||function(){},this.cookie_name="",this.prop={}}var p="1.25.15";o.prototype.init=function(t){if(t){this.sd=t,this._=t._,this.log=t.log;var e=this;t.registerInterceptor("buildDataStage",{extendProps:{priority:0,entry:function(t){return s(t,e)}}})}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},o.prototype.register=function(t){return this.sd?void(this._.isObject(t)&&this._.isArray(t.events)&&t.events.length>0&&this._.isObject(t.properties)&&!this._.isEmptyObject(t.properties)?this.customRegister.push(t):this.log("RegisterProperties: register \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},o.prototype.hookRegister=function(t){return this.sd?void(this._.isFunction(t)?this.customRegister.push(t):this.log("RegisterProperties: hookRegister \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},r.prototype.saveObjectVal=function(t,e){this._.isString(e)||(e=JSON.stringify(e)),1==this.sd.para.encrypt_cookie&&(e=this.sd.kit.userEncrypt(e)),this._.cookie.isSupport()&&this._.cookie.set(t,e),this.cookie_value=e},r.prototype.readObjectVal=function(t){var e=this._.cookie.isSupport()?this._.cookie.get(t):this.cookie_value;return e?(e=this.sd.kit.userDecryptIfNeeded(e),this._.safeJSONParse(e)):null};var h="sensorsdata2015jssdksession";n.prototype.init=function(t){if(!t||"object"!=typeof t)return void this.log("Session Event \u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25\uff01");var e=this;this.sd=t,this._=t._,this.log=t.log,this.cookie_name=h+(t.para.sdk_id||""),this.registerProperties=new o,this.registerProperties.init(t),this.store=new r(t),this.registerProperties.hookRegister(function(){return e.addSessionID()})},n.prototype.addSessionID=function(){var t=+new Date;this.prop=this.store.readObjectVal(this.cookie_name)||{};var e=this.prop.first_session_time,i=this.prop.latest_session_time;if(!e||!i||e>t||i>t||t-e>432e5||t-i>18e5){var s=this._.UUID();this.prop={session_id:s.replace(/-/g,""),first_session_time:t,latest_session_time:t}}else this.prop.latest_session_time=t;return this.store.saveObjectVal(this.cookie_name,this.prop),{$event_session_id:this.prop.session_id}};var c=new n,u=i(c,"SessionEvent","sdkReady");return u}(); \ No newline at end of file diff --git a/lishui2/web/dist/statisticAnalysis/sensorsdata.js b/lishui2/web/dist/statisticAnalysis/sensorsdata.js new file mode 100644 index 0000000..755337f --- /dev/null +++ b/lishui2/web/dist/statisticAnalysis/sensorsdata.js @@ -0,0 +1,6 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():t()}(this,function(){function e(e){if(!e)return!1;var t=Object.prototype.toString.call(e);return"[object Function]"==t||"[object AsyncFunction]"==t}function t(){return Date.now&&e(Date.now)?Date.now():(new Date).getTime()}function r(e){return null!=e&&"[object Object]"==Object.prototype.toString.call(e)}function n(){if("function"==typeof Uint32Array){var e="";if("undefined"!=typeof crypto?e=crypto:"undefined"!=typeof msCrypto&&(e=msCrypto),r(e)&&e.getRandomValues){var t=new Uint32Array(1),n=e.getRandomValues(t)[0],i=Math.pow(2,32);return n/i}}return Xi(1e19)/1e19}function i(e){var t=null;try{t=JSON.parse(e)}catch(r){}return t}function a(e,t){this.lockGetPrefix=e||"lock-get-prefix",this.lockSetPrefix=t||"lock-set-prefix"}function s(e){return"function"==typeof e||!(!e||"object"!=typeof e)&&s(e.listener)}function l(){this._events={}}function u(e){var t=e;try{t=decodeURIComponent(e)}catch(r){t=e}return t}function c(e){e=e||"";for(var t={},r=e.substring(1),n=r.split("&"),i=0;i Invalid URL");var r=e.split("#"),n=r[0],i=r.slice(1).join("#");t=this._regex.exec(n);for(var a in this._fields)"undefined"!=typeof t[this._fields[a]]&&(this._values[a]=t[this._fields[a]]);this._values.Hostname=this._values.Host.replace(/:\d+$/,""),this._values.Origin=this._values.Protocol+"://"+this._values.Hostname,this._values.Fragment=i},new t(e)}function g(e){var t={},r=function(){var e;try{return e=new URL("https://www.sensorsdata.cn/"),"https://www.sensorsdata.cn/"===e.href}catch(t){return!1}};if("function"==typeof window.URL&&r())t=new URL(e),t.searchParams||(t.searchParams=function(){var e=c(t.search);return{get:function(t){return e[t]}}}());else{p(e)||(e=String(e)),e=d(e);var n=/^https?:\/\/.+/;if(n.test(e)===!1)return void Wi.log("Invalid URL");var i=f(e);t.hash=i._values.Fragment,t.host=i._values.Host?i._values.Host+(i._values.Port?":"+i._values.Port:""):"",t.href=i._values.URL,t.password=i._values.Password,t.pathname=i._values.Path,t.port=i._values.Port,t.search=i._values.QueryString?"?"+i._values.QueryString:"",t.username=i._values.Username,t.hostname=i._values.Hostname,t.protocol=i._values.Protocol?i._values.Protocol+":":"",t.origin=i._values.Origin?i._values.Origin+(i._values.Port?":"+i._values.Port:""):"",t.searchParams=function(){var e=c("?"+i._values.QueryString);return{get:function(t){return e[t]}}}()}return t}function _(e){return!(!e||1!==e.nodeType)}function h(e){return void 0===e}function v(t){return Array.isArray&&e(v)?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function y(e){return new Gi(e)}function b(e,t,r,n){function i(e){return e&&(e.preventDefault=i.preventDefault,e.stopPropagation=i.stopPropagation,e._getPath=i._getPath),e}function a(e,t,r,n){var a=function(a){if(a=a||i(window.event)){a.target=a.srcElement||a.target;var o,s,l=!0;return"function"==typeof r&&(o=r(a)),s=t.call(e,a),"beforeunload"!==n?(!1!==o&&!1!==s||(l=!1),l):void 0}};return a}i._getPath=function(){var e=this;return this.path||this.composedPath&&this.composedPath()||y(e.target).getParents()},i.preventDefault=function(){this.returnValue=!1},i.stopPropagation=function(){this.cancelBubble=!0};var o=function(e,t,r){if(void 0===n&&"click"===t&&(n=!0),e&&e.addEventListener)e.addEventListener(t,function(e){e._getPath=i._getPath,r.call(this,e)},n);else{var o="on"+t,s=e[o];e[o]=a(e,r,s,t)}};o.apply(null,arguments)}function w(e){var t="pushState"in window.history?"popstate":"hashchange";b(window,t,e)}function S(e){if(e)return"undefined"!=typeof window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest?new XMLHttpRequest:"undefined"!=typeof XDomainRequest?new XDomainRequest:null;if("undefined"!=typeof window.XMLHttpRequest)return new XMLHttpRequest;if(window.ActiveXObject)try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){Wi.log(t)}}}function k(e,t,r){if(null==e)return!1;if(Yi&&e.forEach===Yi)e.forEach(t,r);else if(v(e))for(var n=0,i=e.length;n=200&&i.status<300||304==i.status?e.success(t(i.responseText)):e.error(t(i.responseText),i.status),i.onreadystatechange=null,i.onload=null)}catch(r){i.onreadystatechange=null,i.onload=null}},i.open(e.type,e.url,!0);try{e.credentials&&(i.withCredentials=!0),r(e.header)&&k(e.header,function(e,t){i.setRequestHeader&&i.setRequestHeader(t,e)}),e.data&&(e.cors||i.setRequestHeader&&i.setRequestHeader("X-Requested-With","XMLHttpRequest"),"application/json"===e.contentType?i.setRequestHeader&&i.setRequestHeader("Content-type","application/json; charset=UTF-8"):i.setRequestHeader&&i.setRequestHeader("Content-type","application/x-www-form-urlencoded"))}catch(l){Wi.log(l)}i.send(e.data||null)}function O(e,t){var r=[];return null==e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(k(e,function(e,n,i){r.push(t(e,n,i))}),r)}function N(e){var t=[];try{t=O(atob(e).split(""),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})}catch(r){t=[]}try{return decodeURIComponent(t.join(""))}catch(r){return t.join("")}}function j(e){var t="";try{t=btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode("0x"+t)}))}catch(r){t=e}return t}function T(e,t){t=t||window;var r=!1,n=!0,i=t.document,a=i.documentElement,o=i.addEventListener,s=o?"addEventListener":"attachEvent",l=o?"removeEventListener":"detachEvent",u=o?"":"on",c=function(n){"readystatechange"==n.type&&"complete"!=i.readyState||(("load"==n.type?t:i)[l](u+n.type,c,!1),!r&&(r=!0)&&e.call(t,n.type||n))},p=function(){try{a.doScroll("left")}catch(e){return void setTimeout(p,50)}c("poll")};if("complete"==i.readyState)e.call(t,"lazy");else{if(!o&&a.doScroll){try{n=!t.frameElement}catch(d){Wi.log(d)}n&&p()}i[s](u+"DOMContentLoaded",c,!1),i[s](u+"readystatechange",c,!1),t[s](u+"load",c,!1)}}function I(e){return k(Array.prototype.slice.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&void 0===e[r]&&(e[r]=t[r])}),e}function $(e){var t=e;try{t=decodeURI(e)}catch(r){t=e}return t}function A(e){var t="t6KJCZa5pDdQ9khoEM3Tj70fbP2eLSyc4BrsYugARqFIw1mzlGNVXOHiWvxUn8",r=t.length-1,n={},i=0;for(i=0;i=2&&!/^(\d+\.)+\d+$/.test(r))for(var i="."+n.splice(n.length-1,1);n.length>0;)if(i="."+n.splice(n.length-1,1)+i,document.cookie=t+"=true; path=/; domain="+i,document.cookie.indexOf(t+"=true")!==-1){var a=new Date;return a.setTime(a.getTime()-1e3),document.cookie=t+"=true; expires="+a.toGMTString()+"; path=/; SameSite=Lax; domain="+i,i}return""}function J(e){function t(e,t){e=d(e);var r;if("body"===e)return document.getElementsByTagName("body")[0];if(0===e.indexOf("#"))e=e.slice(1),r=document.getElementById(e);else if(e.indexOf(":nth-of-type")>-1){var n=e.split(":nth-of-type");if(!n[0]||!n[1])return null;var i=n[0],a=n[1].match(/\(([0-9]+)\)/);if(!a||!a[1])return null;var o=Number(a[1]);if(!(_(t)&&t.children&&t.children.length>0))return null;for(var s=t.children,l=0;l0)return null}return r?r:null}function r(e){var i,a=n.shift();if(!a)return e;try{i=t(a,e)}catch(o){Wi.log(o)}return i&&_(i)?r(i):null}if(!p(e))return null;var n=e.split(">"),i=null;return i=r(),i&&_(i)?i:null}function M(e,t){var r="",n="";return e.textContent?r=d(e.textContent):e.innerText&&(r=d(e.innerText)),r&&(r=r.replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)),n=r||"","input"!==t&&"INPUT"!==t||(n=e.value||""),n}function q(e,t){t&&"string"==typeof t||(t="hostname\u89e3\u6790\u5f02\u5e38");var r=null;try{r=g(e).hostname}catch(n){Wi.log("getHostname\u4f20\u5165\u7684url\u53c2\u6570\u4e0d\u5408\u6cd5\uff01")}return r||t}function K(){try{var e=navigator.appVersion.match(/OS (\d+)[._](\d+)[._]?(\d+)?/);return e&&e[1]?Number.parseInt(e[1],10):""}catch(t){return""}}function F(e){var t={},r=e.split("?"),n=r[1]||"";return n&&(t=c("?"+n)),t}function V(e,t){var r=g(e),n=r.searchParams.get(t)||"";if(!n){var i=r.hash;if(i){var a=F(i);n=a[t]||""}}return n}function W(){return"undefined"!=typeof window.matchMedia||"undefined"!=typeof window.msMatchMedia}function z(){var e=screen.msOrientation||screen.mozOrientation||(screen.orientation||{}).type,t="\u672a\u53d6\u5230\u503c";if(e)t=e.indexOf("landscape")>-1?"landscape":"portrait";else if(W()){var r=window.matchMedia||window.msMatchMedia;r("(orientation: landscape)").matches?t="landscape":r("(orientation: portrait)").matches&&(t="portrait")}return t}function X(){var e,t={},r=navigator.userAgent.toLowerCase();return(e=r.match(/ qq\/([\d.]+)/))?t.qqBuildinBrowser=Number(e[1].split(".")[0]):(e=r.match(/mqqbrowser\/([\d.]+)/))?t.qqBrowser=Number(e[1].split(".")[0]):(e=r.match(/opera.([\d.]+)/))?t.opera=Number(e[1].split(".")[0]):(e=r.match(/msie ([\d.]+)/))?t.ie=Number(e[1].split(".")[0]):(e=r.match(/edge.([\d.]+)/))?t.edge=Number(e[1].split(".")[0]):(e=r.match(/firefox\/([\d.]+)/))?t.firefox=Number(e[1].split(".")[0]):(e=r.match(/chrome\/([\d.]+)/))?t.chrome=Number(e[1].split(".")[0]):(e=r.match(/version\/([\d.]+).*safari/))?t.safari=Number(e[1].match(/^\d*.\d*/)):(e=r.match(/trident\/([\d.]+)/))&&(t.ie=11),t}function Z(e){return p(e)?(e=d(e),$(e)):$(location.href)}function G(e){return p(e)?(e=d(e),$(e)):$(location.pathname)}function Q(e,t){return e.hasAttribute?e.hasAttribute(t):e.attributes?!(!e.attributes[t]||!e.attributes[t].specified):void 0}function Y(e,t){if("string"==typeof t)return Q(e,t);if(v(t)){for(var r=!1,n=0;n0)for(var a=e.split(""),o=0;ot)for(i=r+i;l=n*i+s,lt;)i=i/2+s;i=n*i+s}return i}function re(e,t){var r=e.indexOf;if(r)return r.call(e,t);for(var n=0;n41||t.firefox>30||t.opera>25||t.safari>12)&&(e=!0):(t.chrome>41||t.firefox>30||t.opera>25||t.safari>11.3)&&(e=!0)}else(t.chrome>38||t.edge>13||t.firefox>30||t.opera>25||t.safari>11)&&(e=!0);return e}function de(){return"undefined"!=typeof window.XMLHttpRequest&&("withCredentials"in new XMLHttpRequest||"undefined"!=typeof XDomainRequest)}function fe(t){if(!r(t)||!p(t.callbackName))return Wi.log("JSONP \u8bf7\u6c42\u7f3a\u5c11 callbackName"),!1;t.success=e(t.success)?t.success:function(){},t.error=e(t.error)?t.error:function(){},t.data=t.data||"";var n=document.createElement("script"),i=document.getElementsByTagName("head")[0],a=null,o=!1;if(n.defer="defer",i.appendChild(n),ce(t.timeout)){var s=Math.min(t.timeout,3e5);a=setTimeout(function(){return!o&&(t.error("timeout"),window[t.callbackName]=function(){Wi.log("call jsonp error")},a=null,i.removeChild(n),void(o=!0))},s)}if(window[t.callbackName]=function(){clearTimeout(a),a=null,t.success.apply(null,arguments),window[t.callbackName]=function(){Wi.log("call jsonp error")},i.removeChild(n)},t.url.indexOf("?")>-1?t.url+="&callbackName="+t.callbackName:t.url+="?callbackName="+t.callbackName,r(t.data)){var l=[];k(t.data,function(e,t){l.push(t+"="+e)}),t.data=l.join("&"),t.url+="&"+t.data}n.onerror=function(e){return!o&&(window[t.callbackName]=function(){Wi.log("call jsonp error")},clearTimeout(a),a=null,i.removeChild(n),t.error(e),void(o=!0))},n.src=encodeURI(t.url)}function ge(t){var r={visibleHandler:e(t.visible)?t.visible:function(){},hiddenHandler:e(t.hidden)?t.hidden:function(){},visibilityChange:null,hidden:null,isSupport:function(){return"undefined"!=typeof document[this.hidden]},init:function(){"undefined"!=typeof document.hidden?(this.hidden="hidden",this.visibilityChange="visibilitychange"):"undefined"!=typeof document.mozHidden?(this.hidden="mozHidden",this.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.msHidden?(this.hidden="msHidden",this.visibilityChange="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(this.hidden="webkitHidden",this.visibilityChange="webkitvisibilitychange"),this.listen()},listen:function(){if(this.isSupport()){var e=this;b(document,this.visibilityChange,function(){document[e.hidden]?e.hiddenHandler():e.visibleHandler()},1)}else b(window,"focus",this.visibleHandler),b(window,"blur",this.hiddenHandler)}};r.init()}function _e(e){e=P({success:function(){},error:function(){},appendCall:function(e){document.getElementsByTagName("head")[0].appendChild(e)}},e);var t=null;"css"===e.type&&(t=document.createElement("link"),t.rel="stylesheet",t.href=e.url),"js"===e.type&&(t=document.createElement("script"),t.async="async",t.setAttribute("charset","UTF-8"),t.src=e.url,t.type="text/javascript"),t.onload=t.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(e.success(),t.onload=t.onreadystatechange=null)},t.onerror=function(){e.error(),t.onerror=null},e.appendCall(t)}function he(e){if("string"!=typeof e)return"";for(var t=/^\s*javascript/i;t.test(e);)e=e.replace(t,"");return e}function me(e,t){e=String(e),t="number"==typeof t?t:13;for(var r=126,n=e.split(""),i=0,a=n.length;ir?(s&&(clearTimeout(s),s=null),l=c,o=e.apply(i,a),s||(i=a=null)):s||n.trailing===!1||(s=setTimeout(u,p)),o}}function ke(e){var t=[];return null==e?t:(k(e,function(e){t[t.length]=e}),t)}function Pe(e){return e?e.toArray?e.toArray():v(e)||ie(e)?Array.prototype.slice.call(e):ke(e):[]}function Ce(e){for(var t,r=[],n={},i=0;i-1;if(r(i)&&"$option"!==a&&!s)try{t[a]=JSON.stringify(i)}catch(l){delete t[a],Ne("\u60a8\u7684\u6570\u636e-",a,i,"\u6570\u636e\u503c\u6709\u9519\u8bef\uff0c\u5df2\u5c06\u5176\u5220\u9664")}else p(i)||ce(i)||D(i)||ae(i)||v(i)||e(i)||"$option"===a||s||(Ne("\u60a8\u7684\u6570\u636e-",a,i,"-\u683c\u5f0f\u4e0d\u6ee1\u8db3\u8981\u6c42\uff0c\u6211\u4eec\u5df2\u7ecf\u5c06\u5176\u5220\u9664"),delete t[a])}),t):t}function rt(e,t){return ce(t)&&e.length>t?(Ne("\u5b57\u7b26\u4e32\u957f\u5ea6\u8d85\u8fc7\u9650\u5236\uff0c\u5df2\u7ecf\u505a\u622a\u53d6--"+e),e.slice(0,t)):e}function nt(e,t){var n=["distinct_id","user_id","id","date","datetime","event","events","first_id","original_id","device_id","properties","second_id","time","users"];r(e)&&k(n,function(r,n){r in e&&(re(t||[],r)>-1||(n<3?(delete e[r],Ne("\u60a8\u7684\u5c5e\u6027- "+r+"\u662f\u4fdd\u7559\u5b57\u6bb5\uff0c\u6211\u4eec\u5df2\u7ecf\u5c06\u5176\u5220\u9664")):Ne("\u60a8\u7684\u5c5e\u6027- "+r+"\u662f\u4fdd\u7559\u5b57\u6bb5\uff0c\u8bf7\u907f\u514d\u5176\u4f5c\u4e3a\u5c5e\u6027\u540d")))})}function it(e){var t=["$element_selector","$element_path"],n=["sensorsdata_app_visual_properties"];r(e)&&k(e,function(i,a){if(r(i))it(e[a]);else if(p(i)){if(re(n,a)>-1)return;e[a]=rt(i,re(t,a)>-1?1024:pa.max_string_length)}})}function at(e){"undefined"!=typeof e.properties.$project&&(e.project=e.properties.$project,delete e.properties.$project),"undefined"!=typeof e.properties.$token&&(e.token=e.properties.$token,delete e.properties.$token)}function ot(e){if("item_type"in e){var t=e.item_type,r=function(t){return t||delete e.item_type,!0};et({item_type:t},r)}if("item_id"in e){var n=e.item_id,i=function(t,r,n){return t||"string"!==n||delete e.item_id,!0};et({item_id:n},i)}}function st(e,t){k(e,function(r,n){var i=function(t,r,i){return t||"keyLength"===i||delete e[n],!0};re(t||[],n)===-1&&et({propertyKey:n},i)})}function lt(e){var t=e.properties;ye(e),r(t)?(tt(t),nt(t),at(e),st(t),it(t)):"properties"in e&&(e.properties={}),ot(e)}function ut(e,t){var r=t.sensors;return e._track_id=Number(String(n()).slice(2,5)+String(n()).slice(2,4)+String((new Date).getTime()).slice(-4)),e._flush_time=(new Date).getTime(),r.events.tempAdd("send",e),e}function ct(e,t){var n=t.sensors,i={};r(e)&&r(e.identities)&&!oe(e.identities)?P(i,e.identities):P(i,$a._state.identities);var a={identities:i,distinct_id:$a.getDistinctId(),lib:{$lib:"js",$lib_method:"code",$lib_version:String(n.lib_version)},properties:{}};return r(e)&&r(e.properties)&&!oe(e.properties)&&(e.properties.$lib_detail&&(a.lib.$lib_detail=e.properties.$lib_detail,delete e.properties.$lib_detail),e.properties.$lib_method&&(a.lib.$lib_method=e.properties.$lib_method,delete e.properties.$lib_method)),L(a,$a.getUnionId(),e),r(e.properties)&&!oe(e.properties)&&P(a.properties,e.properties),e.type&&"profile"===e.type.slice(0,7)||(a.properties=P({},ba.properties(),$a.getProps(),$a.getSessionProps(),ba.currentProps,a.properties),n.para.preset_properties.latest_referrer&&!p(a.properties.$latest_referrer)&&(a.properties.$latest_referrer="\u53d6\u503c\u5f02\u5e38"),n.para.preset_properties.latest_search_keyword&&!p(a.properties.$latest_search_keyword)&&(n.para.preset_properties.search_keyword_baidu&&p(a.properties.$search_keyword_id)&&ce(a.properties.$search_keyword_id_hash)&&p(a.properties.$search_keyword_id_type)||(a.properties.$latest_search_keyword="\u53d6\u503c\u5f02\u5e38")),n.para.preset_properties.latest_traffic_source_type&&!p(a.properties.$latest_traffic_source_type)&&(a.properties.$latest_traffic_source_type="\u53d6\u503c\u5f02\u5e38"),n.para.preset_properties.latest_landing_page&&!p(a.properties.$latest_landing_page)&&(a.properties.$latest_landing_page="\u53d6\u503c\u5f02\u5e38"),"not_collect"===n.para.preset_properties.latest_wx_ad_click_id?(delete a.properties._latest_wx_ad_click_id,delete a.properties._latest_wx_ad_hash_key,delete a.properties._latest_wx_ad_callbacks):n.para.preset_properties.latest_wx_ad_click_id&&!p(a.properties._latest_wx_ad_click_id)&&(a.properties._latest_wx_ad_click_id="\u53d6\u503c\u5f02\u5e38",a.properties._latest_wx_ad_hash_key="\u53d6\u503c\u5f02\u5e38",a.properties._latest_wx_ad_callbacks="\u53d6\u503c\u5f02\u5e38"),p(a.properties._latest_wx_ad_click_id)&&(a.properties.$url=Z())),a.properties.$time&&D(a.properties.$time)?(a.time=1*a.properties.$time,delete a.properties.$time):a.time=1*new Date,function(e){if(n.bridge&&"success"===n.bridge.bridge_info.verify_success){var t=Ua.customProp.geth5Props(JSON.parse(JSON.stringify(e)));r(t)&&!oe(t)&&(e.properties=P(e.properties,t))}var i=Ba.customProp.getVtrackProps(JSON.parse(JSON.stringify(e)));r(i)&&!oe(i)&&(e.properties=P(e.properties,i))}(a),Me(a),Sa.checkIsAddSign(a),Sa.checkIsFirstTime(a),Fe(a),Ve(a),a}function pt(e){return Ma.stage.process("basicProps",e)}function dt(e){return Ma.stage.process("formatData",e)}function ft(e,t,r,n){function i(e){function i(){o||(o=!0,location.href=a.href)}e.stopPropagation(),e.preventDefault();var o=!1;setTimeout(i,1e3),n(t,r,i)}e=e||{};var a=null;return e.ele&&(a=e.ele),e.event&&(a=e.target?e.target:e.event.target),r=r||{},!(!a||"object"!=typeof a)&&(!a.href||/^javascript/.test(a.href)||a.target||a.download||a.onclick?(n(t,r),!1):(e.event&&i(e.event),void(e.ele&&He(e.ele,"click",function(e){i(e)}))))}function gt(){var e=location.protocol;return"http:"===e||"https:"===e?e:"http:"}function _t(e){return Ka.stage.process("webClickEvent",e)}function ht(e){return Ka.stage.process("webStayEvent",e)}function mt(){var e=ba.campaignParams(),t={};return k(e,function(e,r,n){(" "+Fi.source_channel_standard+" ").indexOf(" "+r+" ")!==-1?t["$"+r]=n[r]:t[r]=n[r]}),t}function vt(e,t,r){if(Fi.is_first_visitor&&r){var n={};Fi.para.preset_properties.search_keyword_baidu&&xe(document.referrer)&&Ie()&&(n.$search_keyword_id=va.id(),n.$search_keyword_id_type=va.type(),n.$search_keyword_id_hash=te(n.$search_keyword_id));var i=De(null,t);e(P({$first_visit_time:new Date,$first_referrer:i,$first_referrer_host:i?q(i,"\u53d6\u503c\u5f02\u5e38"):"",$first_browser_language:p(navigator.language)?navigator.language.toLowerCase():"\u53d6\u503c\u5f02\u5e38",$first_browser_charset:p(document.charset)?document.charset.toUpperCase():"\u53d6\u503c\u5f02\u5e38",$first_traffic_source_type:Be(),$first_search_keyword:Ee()},mt(),n)),Fi.is_first_visitor=!1}}function yt(t){var r=location.href,n=window.history.pushState,i=window.history.replaceState;e(window.history.pushState)&&(window.history.pushState=function(){n.apply(window.history,arguments),t(r),r=location.href}),e(window.history.replaceState)&&(window.history.replaceState=function(){i.apply(window.history,arguments),t(r),r=location.href});var a;a=window.document.documentMode?"hashchange":n?"popstate":"hashchange",b(window,a,function(){t(r),r=location.href})}function bt(e,t){var r=[];"string"==typeof e&&e in Za.EVENT_LIST&&(r=Za.EVENT_LIST[e],Za[r[0]].on(r[1],t))}function wt(e,t){var n=e.id,i=e.callback,a=e.name,o=$a.getFirstId(),s=$a.getOriginDistinctId();if(!et({distinct_id:n}))return je("login id is invalid"),!1;if(n===$a.getOriginDistinctId()&&!o)return je("login id is equal to distinct_id"),!1;if(r($a._state.identities)&&$a._state.identities.hasOwnProperty(a)&&n===$a._state.first_id)return!1;var l=$a._state.history_login_id.name!==a||n!==$a._state.history_login_id.value; +if(l){$a._state.identities[a]=n,$a.set("history_login_id",{name:a,value:n}),o||$a.set("first_id",s),t(n,"$SignUp",{},i);var u={$identity_cookie_id:$a._state.identities.$identity_cookie_id};return u[a]=n,St(u),!0}return!1}function St(e){var t={};for(var r in e)t[r]=e[r];$a._state.identities=t,$a.save()}function kt(e,t){if(!et({unbindKey:e,bindValue:t}))return!1;if(r($a._state.identities)&&$a._state.identities.hasOwnProperty(e)&&$a._state.identities[e]===t){var n=$a.getUnionId().login_id;n&&e+"+"+t===n&&($a._state.distinct_id=$a._state.first_id,$a._state.first_id="",$a.set("history_login_id",{name:"",value:""})),"$identity_cookie_id"!==e&&(delete $a._state.identities[e],$a.save())}var i={};return i[e]=t,i}function Pt(){Fi._t=Fi._t||1*new Date,Fi.is_first_visitor=!1,Fi.source_channel_standard=fa}function Ct(e){P(pa,e||Fi.para||{}),Fi.para=pa;var t={};if(r(Fi.para.is_track_latest))for(var n in Fi.para.is_track_latest)t["latest_"+n]=Fi.para.is_track_latest[n];Fi.para.preset_properties=P({},da.preset_properties,t,Fi.para.preset_properties||{});var i;for(i in da)void 0===Fi.para[i]&&(Fi.para[i]=da[i]);"string"!=typeof Fi.para.web_url||"://"!==Fi.para.web_url.slice(0,3)&&"//"!==Fi.para.web_url.slice(0,2)||("://"===Fi.para.web_url.slice(0,3)?Fi.para.web_url=location.protocol.slice(0,-1)+Fi.para.web_url:Fi.para.web_url=location.protocol+Fi.para.web_url),ya.protocol.serverUrl(),Fi.bridge&&Fi.bridge.initPara();var a=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],o=["www.baidu.","m.baidu.","m.sm.cn","so.com","sogou.com","youdao.com","google.","yahoo.com/","bing.com/","ask.com/"],s=["weibo.com","renren.com","kaixin001.com","douban.com","qzone.qq.com","zhihu.com","tieba.baidu.com","weixin.qq.com"],l={baidu:["wd","word","kw","keyword"],google:"q",bing:"q",yahoo:"p",sogou:["query","keyword"],so:"q",sm:"q"};"object"==typeof Fi.para.source_type&&(Fi.para.source_type.utm=v(Fi.para.source_type.utm)?Fi.para.source_type.utm.concat(a):a,Fi.para.source_type.search=v(Fi.para.source_type.search)?Fi.para.source_type.search.concat(o):o,Fi.para.source_type.social=v(Fi.para.source_type.social)?Fi.para.source_type.social.concat(s):s,Fi.para.source_type.keyword=r(Fi.para.source_type.keyword)?P(l,Fi.para.source_type.keyword):l);var u={div:!1},c=["mark","/mark","strong","b","em","i","u","abbr","ins","del","s","sup"];if(Fi.para.heatmap&&!r(Fi.para.heatmap)&&(Fi.para.heatmap={}),r(Fi.para.heatmap)){Fi.para.heatmap.clickmap=Fi.para.heatmap.clickmap||"default",Fi.para.heatmap.scroll_notice_map=Fi.para.heatmap.scroll_notice_map||"default",Fi.para.heatmap.scroll_delay_time=Fi.para.heatmap.scroll_delay_time||4e3,Fi.para.heatmap.scroll_event_duration=Fi.para.heatmap.scroll_event_duration||18e3,Fi.para.heatmap.renderRefreshTime=Fi.para.heatmap.renderRefreshTime||1e3,Fi.para.heatmap.loadTimeout=Fi.para.heatmap.loadTimeout||1e3,Fi.para.heatmap.get_vtrack_config!==!0&&(Fi.para.heatmap.get_vtrack_config=!1);var p=v(Fi.para.heatmap.track_attr)?U(Fi.para.heatmap.track_attr,function(e){return e&&"string"==typeof e}):[];if(p.push("data-sensors-click"),Fi.para.heatmap.track_attr=p,r(Fi.para.heatmap.collect_tags))if(Fi.para.heatmap.collect_tags.div===!0)Fi.para.heatmap.collect_tags.div={ignore_tags:c,max_level:1};else if(r(Fi.para.heatmap.collect_tags.div)){if(Fi.para.heatmap.collect_tags.div.ignore_tags?v(Fi.para.heatmap.collect_tags.div.ignore_tags)||(Ne("ignore_tags \u53c2\u6570\u5fc5\u987b\u662f\u6570\u7ec4\u683c\u5f0f"),Fi.para.heatmap.collect_tags.div.ignore_tags=c):Fi.para.heatmap.collect_tags.div.ignore_tags=c,Fi.para.heatmap.collect_tags.div.max_level){var d=[1,2,3];re(d,Fi.para.heatmap.collect_tags.div.max_level)===-1&&(Fi.para.heatmap.collect_tags.div.max_level=1)}}else Fi.para.heatmap.collect_tags.div=!1;else Fi.para.heatmap.collect_tags=u}Fi.para.server_url=Ge(Fi.para.server_url),Fi.para.noCache===!0?Fi.para.noCache="?"+(new Date).getTime():Fi.para.noCache="",Fi.para.callback_timeout>Fi.para.datasend_timeout&&(Fi.para.datasend_timeout=Fi.para.callback_timeout),Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&r(Fi.para.heatmap.collect_tags)&&k(Fi.para.heatmap.collect_tags,function(e,t){"div"!==t&&e&&Fi.heatmap.otherTags.push(t)}),Fi.para.heatmap&&"default"===Fi.para.heatmap.clickmap&&Fi.heatmap.initUnlimitedTags()}function Ot(){var e=Array.prototype.slice.call(arguments),t=e[0],r=e.slice(1);return"string"==typeof t&&Wa[t]?Wa[t].apply(Wa,r):void("function"==typeof t?t.apply(Fi,r):Ne("quick\u65b9\u6cd5\u4e2d\u6ca1\u6709\u8fd9\u4e2a\u529f\u80fd"+e[0]))}function Nt(t,n){function i(){return!a.plugin_is_init&&a.init(Fi,n),a.plugin_is_init=!0,Fi.modules=Fi.modules||{},Fi.modules[a.plugin_name||"unnamed_"+Qa++]=a,a}if(!p(t)&&!r(t))return void je("use's first arguments must be string or object.");var a;if(r(t)){var o=Fi.modules&&Fi.modules[t.plugin_name];o&&o!==t&&Ne(t.name+" is conflict with builtin plugin, and sdk uses builtin plugin."),a=o||t}return p(t)&&(r(Fi.modules)&&r(Fi.modules[t])?a=Fi.modules[t]:r(window.SensorsDataWebJSSDKPlugin)&&r(window.SensorsDataWebJSSDKPlugin[t])?a=window.SensorsDataWebJSSDKPlugin[t]:window.sensorsDataAnalytic201505&&window.sensorsDataAnalytic201505.modules[t]&&(a=window.sensorsDataAnalytic201505.modules[t])),a&&e(a.init)?a.plugin_is_init?a:(a.plugin_name||Ne("warning: invalid plugin, plugin_name required."),a.plugin_version?a.plugin_version!==Fi.lib_version&&Ne("warning: plugin version not match SDK version. plugin may not work correctly. "):Ne("warning: invalid plugin, plugin version required."),i()):(Ne((t.plugin_name||t)+" is not found or it's not a standard plugin. Please check sensorsdata official documents."),a)}function jt(e,t,r){et({event:e,properties:t})&&qa.send({type:"track",event:e,properties:t},r)}function Tt(e,t){return!!et({bindKey:e,bindValue:t})&&($a._state.identities[e]=t,$a.save(),void qa.send({type:"track_id_bind",event:"$BindID",properties:{}}))}function It(e,t){var r=kt(e,t);r&&qa.send({identities:r,type:"track_id_unbind",event:"$UnbindID",properties:{}})}function $t(e,t,r){"object"==typeof e&&e.tagName?ft({ele:e},t,r,Fi.track):"object"==typeof e&&e.target&&e.event&&ft(e,t,r,Fi.track)}function At(e,t,r){return r=r||{},!(!e||"object"!=typeof e)&&(!(!e.href||/^javascript/.test(e.href)||e.target)&&void He(e,"click",function(n){function i(){a||(a=!0,location.href=e.href)}n.preventDefault();var a=!1;setTimeout(i,1e3),Fi.track(t,r,i)}))}function Dt(e,t,r){et({item_type:e,item_id:t,properties:r})&&qa.sendItem({type:"item_set",item_type:e,item_id:t,properties:r||{}})}function xt(e,t){et({item_type:e,item_id:t})&&qa.sendItem({type:"item_delete",item_type:e,item_id:t})}function Et(e,t){et({propertiesMust:e})&&qa.send({type:"profile_set",properties:e},t)}function Lt(e,t){et({propertiesMust:e})&&qa.send({type:"profile_set_once",properties:e},t)}function Ut(e,t){et({propertiesMust:e})&&(k(e,function(t,r){p(t)?e[r]=[t]:v(t)?e[r]=t:(delete e[r],Ne("appendProfile\u5c5e\u6027\u7684\u503c\u5fc5\u987b\u662f\u5b57\u7b26\u4e32\u6216\u8005\u6570\u7ec4"))}),oe(e)||qa.send({type:"profile_append",properties:e},t))}function Rt(e,t){function r(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&!/-*\d+/.test(String(e[t])))return!1;return!0}var n=e;p(e)&&(e={},e[n]=1),et({propertiesMust:e})&&(r(e)?qa.send({type:"profile_increment",properties:e},t):je("profile_increment\u7684\u503c\u53ea\u80fd\u662f\u6570\u5b57"))}function Ht(e){qa.send({type:"profile_delete"},e),$a.set("distinct_id",Zi()),$a.set("first_id","")}function Bt(e,t){var r=e,n={};p(e)&&(e=[],e.push(r)),v(e)?(k(e,function(e){p(e)?n[e]=!0:Ne("profile_unset\u7ed9\u7684\u6570\u7ec4\u91cc\u9762\u7684\u503c\u5fc5\u987b\u65f6string,\u5df2\u7ecf\u8fc7\u6ee4\u6389",e)}),qa.send({type:"profile_unset",properties:n},t)):je("profile_unset\u7684\u53c2\u6570\u5fc5\u987b\u662f\u6570\u7ec4")}function Jt(e,t){"number"==typeof e&&(e=String(e));var r=$a.getFirstId();if("undefined"==typeof e){var n=Zi();r?$a.set("first_id",n):$a.set("distinct_id",n)}else et({distinct_id:e})&&(t===!0?r?$a.set("first_id",e):$a.set("distinct_id",e):r?$a.change("first_id",e):$a.change("distinct_id",e))}function Mt(e,t,r,n){var i=$a.getFirstId()||$a.getDistinctId();$a.set("distinct_id",e),qa.send({original_id:i,distinct_id:$a.getDistinctId(),type:"track_signup",event:t,properties:r},n)}function qt(e,t,r,n){"number"==typeof e&&(e=String(e)),et({distinct_id:e,event:t,properties:r})&&Mt(e,t,r,n)}function Kt(e){et({properties:e})?P(ba.currentProps,e):je("register\u8f93\u5165\u7684\u53c2\u6570\u6709\u8bef")}function Ft(e){$a.clearAllProps(e)}function Vt(e){var t;if(v(e)&&e.length>0)for(t=0;t-1?i:"https:",_e({success:function(){setTimeout(function(){"undefined"!=typeof sa_jssdk_app_define_mode&&window.sa_jssdk_app_define_mode(Fi,e)},0)},error:function(){},type:"js",url:i+"//static.sensorsdata.cn/sdk/"+Fi.lib_version+"/vapph5define.min.js"})}else t();else t()}function ur(t){Fi.para.is_track_single_page&&za.on("switch",function(n){var i=function(r){if(r=r||{},n!==location.href){ba.pageProp.referrer=Z(n);var i=P({$url:Z(),$referrer:Z(n)},r);e(t)?t(i):Fi.quick&&Fi.quick("autoTrack",i)}};if("boolean"==typeof Fi.para.is_track_single_page)i();else if("function"==typeof Fi.para.is_track_single_page){var a=Fi.para.is_track_single_page();r(a)?i(a):a===!0&&i()}})}function cr(){Fi._q&&v(Fi._q)&&Fi._q.length>0&&k(Fi._q,function(e){Fi[e[0]].apply(Fi,Array.prototype.slice.call(e[1]))}),r(Fi.para.heatmap)&&(Va.initHeatmap(),Va.initScrollmap())}function pr(){Fi.readyState.setState(3),new Fi.SDKJSBridge("visualized").onAppNotify(function(){lr("undefined"!=typeof sa_jssdk_app_define_mode?!0:!1)}),lr(!1),Fi.bridge.app_js_bridge_v1(),ba.initPage(),ur(),$a.init(),or(),fr(),Fi.readyState.setState(4),cr()}function dr(){ro.isSeachHasKeyword()?ro.hasKeywordHandle():window.parent!==self&&no.isSearchHasKeyword()?no.verifyVtrackMode():ro.isWindowNameHasKeyword()?ro.windowNameHasKeywordHandle():ro.isStorageHasKeyword()?ro.storageHasKeywordHandle():window.parent!==self&&no.isStorageHasKeyword()?no.verifyVtrackMode():(pr(),no.notifyUser())}function fr(){Ba.init(),"success"===Fi.bridge.bridge_info.verify_success&&Ua.init()}function gr(){k(io,function(t){var r=Fi[t];Fi[t]=function(){if(Fi.readyState.state<3)return v(Fi._q)||(Fi._q=[]),Ne("calling sdk api before init is deprecated."),Fi._q.push([t,arguments]),!1;if(!e(Fi.getDisabled)||!Fi.getDisabled())return Fi.readyState.getState()?r.apply(Fi,arguments):void je("\u8bf7\u5148\u521d\u59cb\u5316\u795e\u7b56JS SDK")}})}function _r(e,t){this.cancel=function(){e=!0},this.getCanceled=function(){return e||!1},this.stop=function(){t=!0},this.getStopped=function(){return t||!1}}function hr(e,t,r){var n=null;try{n=JSON.parse(JSON.stringify(e||null))}catch(i){}this.getOriginalData=function(){return n},this.getPosition=function(){return t},this.cancellationToken=new _r,this.sensors=r}function mr(e){if(!r(e))throw"error: Stage constructor requires arguments.";this.processDef=e,this.registeredInterceptors={}}function vr(e){e&&e.buildDataStage&&so.registerStageImplementation(e.buildDataStage),e&&e.businessStage&&po.registerStageImplementation(e.businessStage),e&&e.sendDataStage&&uo.registerStageImplementation(e.sendDataStage),e&&e.viewStage&&go.registerStageImplementation(e.viewStage)}function yr(e,t){_o[e]&&_o[e](t)}function br(){return ho.stage&&ho.stage.process("getUtmData")}function wr(e){return mo.stage.process("send",e)}function Sr(e){e.kit=vo,e.saEvent=qa,this.buildDataStage=Ma,this.sendDataStage=mo,this.businessStage=ho}function kr(e){e.heatmap=Va,this.viewStage=Ka}function Pr(t){if(!e(t.properties))return void je("registerPropertyPlugin arguments error, properties must be function");if(t.isMatchedWithFilter&&!e(t.isMatchedWithFilter))return void je("registerPropertyPlugin arguments error, isMatchedWithFilter must be function");var r={finalAdjustData:{priority:100,entry:function(r){try{if(e(t.isMatchedWithFilter))return t.isMatchedWithFilter(r)&&t.properties(r);t.properties(r)}catch(n){je("execute registerPropertyPlugin callback error:"+n)}}}};yr("buildDataStage",r)}function Cr(e){e&&(Fi.events=Ia,Fi.bridge=to,Fi.SDKJSBridge=rr,Fi.JSBridge=ar,Fi.store=$a,Fi.unlimitedDiv=Ra,Fi.customProp=Ha,Fi.vtrackcollect=Ba,Fi.vapph5collect=Ua,Fi.detectMode=dr,Fi.registerFeature=vr,Fi.registerInterceptor=yr,Fi.commonWays=Wa,vr(new Sr(Fi)),vr(new kr(Fi)),yr("viewStage",yo));var t=e?Ya:ao;for(var r in t)Fi[r]=t[r];Fi.logger=ca,Fi.log=Oe,Fi._=eo,Fi.on=bt,Fi.ee=Za,Fi.use=Nt,Fi.lib_version=ga,Fi.registerPropertyPlugin=Pr}function Or(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Nr(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Nr(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function jr(e,t,r){return Or(e,t,r),e.plugin_version=Bo,e}function Tr(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Ir(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Ir(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function $r(e,t,r){return Tr(e,t,r),e.plugin_version=qo,e}function Ar(e){return zo&&zo.call(Vo,JSON.stringify(e))}function Dr(e){return Wo.call(Vo)&&Xo&&Xo.call(Vo,JSON.stringify(e))}function xr(e,t){return t&&"function"==typeof t[e.callType]&&t[e.callType]()}function Er(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Lr(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Lr(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Ur(e,t,r){return Er(e,t,r),e.plugin_version=Go,e}function Rr(){if(So=window.SensorsData_APP_New_H5_Bridge,ko=So&&So.sensorsdata_track,Po=ko&&So.sensorsdata_get_server_url&&So.sensorsdata_get_server_url(),Co&&!Co.bridge.activeBridge&&Po){if(Co.bridge.activeBridge=Qo,Co.para.app_js_bridge&&!Co.para.app_js_bridge.is_mui&&(Co.bridge.is_verify_success=Po&&Co.bridge.validateAppUrl(Po)),Co.bridge.bridge_info={touch_app_bridge:!0,platform:"android",verify_success:Co.bridge.is_verify_success?"success":"fail",support_two_way_call:!!So.sensorsdata_js_call_app},!Co.para.app_js_bridge)return void No("app_js_bridge is not configured, data will not be sent by android bridge.");Co.registerInterceptor("sendDataStage",{send:{priority:60,entry:Hr}}),No("Android bridge inits succeed.")}}function Hr(e,t){if(Co.para.app_js_bridge.is_mui||"item_set"===e.data.type||"item_delete"===e.data.type)return e;var r=e.callback;return Co.bridge.is_verify_success?(ko&&ko.call(So,JSON.stringify(Oo.extend({server_url:Co.para.server_url},e.data))),Oo.isFunction(r)&&r(),t.cancellationToken.cancel(),e):Co.para.app_js_bridge.is_send?(Co.debug.apph5({data:e.data,step:"4.2",output:"all"}),e):(Oo.isFunction(r)&&r(),t.cancellationToken.cancel(),e)}function Br(e){var t=e.callType;return t in Zo.commands?Zo.commands[t](e,So):void(So&&Oo.isFunction(So.sensorsdata_js_call_app)&&So.sensorsdata_js_call_app(JSON.stringify(e)))}function Jr(e){return rs&&rs.call(es,JSON.stringify(e))}function Mr(e){return ts.call(es)&&ns&&ns.call(es,JSON.stringify(e))}function qr(e,t){return t&&"function"==typeof t[e.callType]&&t[e.callType]()}function Kr(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Fr(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Fr(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Vr(e,t,r){return Kr(e,t,r),e.plugin_version=as,e}function Wr(){if(jo=window.SensorsData_APP_JS_Bridge,To=jo&&jo.sensorsdata_track,Io=jo&&jo.sensorsdata_verify,$o=jo&&jo.sensorsdata_visual_verify,Ao&&!Ao.bridge.activeBridge&&(Io||To||$o)){Ao.bridge.activeBridge=os;var e=Io||To;if($o&&(e=!!$o.call(jo,JSON.stringify({server_url:Ao.para.server_url}))),Ao.bridge.bridge_info={touch_app_bridge:!0,platform:"android",verify_success:e?"success":"fail"},!Ao.para.app_js_bridge)return void xo("app_js_bridge is not configured, data will not be sent by android obsolete bridge.");Ao.registerInterceptor("sendDataStage",{send:{priority:80,entry:zr}}),xo("Android obsolete bridge inits succeed.")}}function zr(e,t){if(Ao.para.app_js_bridge.is_mui||"item_set"===e.data.type||"item_delete"===e.data.type)return e;var r=e.callback;if(Io){var n=Io&&Io.call(jo,JSON.stringify(Do.extend({server_url:Ao.para.server_url},e.data)));return n?(Do.isFunction(r)&&r(),t.cancellationToken.cancel(),e):Ao.para.app_js_bridge.is_send?(Ao.debug.apph5({data:e.data,step:"3.1",output:"all"}),e):(Do.isFunction(r)&&r(),t.cancellationToken.cancel(),e)}return To&&To.call(jo,JSON.stringify(Do.extend({server_url:Ao.para.server_url},e.data))),Do.isFunction(r)&&r(),t.cancellationToken.cancel(),e}function Xr(e){var t=e.callType;return t in is.commands?is.commands[t](e,jo):jo&&Do.isFunction(jo.sensorsdata_js_call_app)?jo.sensorsdata_js_call_app(JSON.stringify(e)):void 0}function Zr(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Gr(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Gr(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Qr(e,t,r){return Zr(e,t,r),e.plugin_version=ls,e}function Yr(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return en(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function en(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function tn(e,t,r){return Yr(e,t,r),e.plugin_version=ps,e}function rn(){return"undefined"!=typeof Ho&&document[Ho]}function nn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return an(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function an(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function on(e,t,r){return nn(e,t,r),e.plugin_version=As,e}function sn(){if(fs=window.SensorsData_iOS_JS_Bridge&&window.SensorsData_iOS_JS_Bridge.sensorsdata_app_server_url,gs=function(){return window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.sensorsdataNativeTracker},_s&&!_s.bridge.activeBridge&&gs()&&gs().postMessage){if(_s.bridge.activeBridge=Ds,_s.para.app_js_bridge&&!_s.para.app_js_bridge.is_mui&&(_s.bridge.is_verify_success=fs&&_s.bridge.validateAppUrl(fs)),_s.bridge.bridge_info={touch_app_bridge:!0,platform:"ios",verify_success:_s.bridge.is_verify_success?"success":"fail",support_two_way_call:!0},!_s.para.app_js_bridge)return void ms("app_js_bridge is not configured, data will not be sent by iOS bridge.");_s.registerInterceptor("sendDataStage",{send:{priority:70,entry:ln}}),ms("IOS bridge inits succeed.")}}function ln(e,t){if(_s.para.app_js_bridge.is_mui||"item_set"===e.data.type||"item_delete"===e.data.type)return e;var r=e.callback;return _s.bridge.is_verify_success?(gs()&&gs().postMessage(JSON.stringify({callType:"app_h5_track",data:hs.extend({server_url:_s.para.server_url},e.data)})),hs.isFunction(r)&&r(),t.cancellationToken.cancel(),e):_s.para.app_js_bridge.is_send?(_s.debug.apph5({data:e.data,step:"4.1",output:"all"}),e):(hs.isFunction(r)&&r(),t.cancellationToken.cancel(),e)}function un(e){var t=e.callType;return"page_info"!==t&&"visualized_track"!==t||_s.bridge.hasVisualModeBridge()?"sensorsdata_get_app_visual_config"===t?hs.isObject(window.SensorsData_APP_New_H5_Bridge)&&window.SensorsData_APP_New_H5_Bridge[t]:gs()&&gs().postMessage(JSON.stringify(e)):null}function cn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return pn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function pn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function dn(e,t,r){return cn(e,t,r),e.plugin_version=Es,e}function fn(){if(vs&&!vs.bridge.activeBridge&&gn()){if(vs.bridge.activeBridge=Ls,vs.bridge.bridge_info={touch_app_bridge:!0,platform:"ios",verify_success:_n()?"success":"fail"},!vs.para.app_js_bridge)return void bs("app_js_bridge is not configured, data will not be sent by iOS obsolete bridge.");vs.registerInterceptor("sendDataStage",{send:{priority:90,entry:hn}}),bs("IOS obsolete bridge inits succeed.")}}function gn(){return(/sensors-verify/.test(navigator.userAgent)||/sa-sdk-ios/.test(navigator.userAgent))&&!window.MSStream}function _n(){if(/sensors-verify/.test(navigator.userAgent)){var e=navigator.userAgent.match(/sensors-verify\/([^\s]+)/);if(e&&e[0]&&"string"==typeof e[1]&&2===e[1].split("?").length){e=e[1].split("?");var t=null,r=null;try{t=ys.URL(vs.para.server_url).hostname,r=ys.URL(vs.para.server_url).searchParams.get("project")||"default"}catch(n){vs.log(n)}return!(!t||t!==e[0]||!r||r!==e[1])}return!1}return!!/sa-sdk-ios/.test(navigator.userAgent)}function hn(e,t){function r(e){var t=JSON.stringify(ys.extend({server_url:vs.para.server_url},e));return t=t.replace(/\r\n/g,""),t=encodeURIComponent(t),"sensorsanalytics://trackEvent?event="+t}if(vs.para.app_js_bridge.is_mui||"item_set"===e.data.type||"item_delete"===e.data.type)return e;var n=e.callback;if(vs.bridge.bridge_info.verify_success){var i=document.createElement("iframe"),a=r(e.data);return i.setAttribute("src",a),document.documentElement.appendChild(i),i.parentNode.removeChild(i),i=null,ys.isFunction(n)&&n(),t.cancellationToken.cancel(),!0}return vs.para.app_js_bridge.is_send?(vs.debug.apph5({data:e.data,step:"3.2",output:"all"}),e):(ys.isFunction(n)&&n(),t.cancellationToken.cancel(),e)}function mn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return vn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function vn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function yn(e,t,r){return mn(e,t,r),e.plugin_version=Rs,e}function bn(){this.sd=null,this.start_time=+new Date,this.page_show_status=!0,this.page_hidden_status=!1,this._={},this.timer=null,this.current_page_url=document.referrer,this.url=location.href,this.title=document.title||"",this.option={},this.heartbeat_interval_time=5e3,this.heartbeat_interval_timer=null,this.page_id=null,this.storage_name="sawebjssdkpageleave",this.max_duration=Bs}function wn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Sn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Sn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function kn(e,t,r){return wn(e,t,r),e.plugin_version=qs,e}function Pn(e,t){if("track"!==e.type)return e;var r=t.sd,n=r._,i=r.saEvent.check,a=n.extend2Lev({properties:{}},e),o=t.customRegister,s=a.properties,l=a.event,u={};return n.each(o,function(e){if(n.isObject(e))n.indexOf(e.events,l)>-1&&i({properties:e.properties})&&(u=n.extend(u,e.properties));else if(n.isFunction(e)){var t=e({event:l,properties:s,data:a});n.isObject(t)&&!n.isEmptyObject(t)&&i({properties:t})&&(u=n.extend(u,t))}}),e.properties=n.extend(s,u),e}function Cn(){this.sd=null,this.log=window.console&&window.console.log||function(){},this.customRegister=[]}function On(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Nn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Nn(e,t,r){ +function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function jn(e,t,r){return On(e,t,r),e.plugin_version=Ws,e}function Tn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return In(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function In(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function $n(e,t,r){return Tn(e,t,r),e.plugin_version=Qs,e}function An(e){try{if("$pageview"!==e.event&&(!e.type||"profile"!==e.type.slice(0,7))){var t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight||0,r=document.documentElement.scrollHeight||0,n={$page_height:Math.max(t,r)||0};e.properties=zs._.extend(e.properties||{},n)}}catch(i){Ys("\u9875\u9762\u9ad8\u5ea6\u83b7\u53d6\u5f02\u5e38\u3002")}return Xs.call(zs.kit,e)}function Dn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return xn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function xn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function En(e,t,r){return Dn(e,t,r),e.plugin_version=rl,e}function Ln(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Un(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Un(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Rn(e,t,r){return Ln(e,t,r),e.plugin_version=yl,e}function Hn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Bn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Bn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Jn(e,t,r){return Hn(e,t,r),e.plugin_version=Sl,e}function Mn(){kl=!0}function qn(){kl=!1}function Kn(){return kl}function Fn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Vn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Vn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Wn(e,t,r){return Fn(e,t,r),e.plugin_version=Nl,e}function zn(e){var t=e,r="";r=al.para.debug_mode_url.indexOf("?")!==-1?al.para.debug_mode_url+"&"+al.kit.encodeTrackData(e):al.para.debug_mode_url+"?"+al.kit.encodeTrackData(e),ol.ajax({url:r,type:"GET",cors:!0,header:{"Dry-Run":String(al.para.debug_mode_upload)},success:function(e){ol.isEmptyObject(e)===!0?alert("debug\u6570\u636e\u53d1\u9001\u6210\u529f"+t):alert("debug\u5931\u8d25 \u9519\u8bef\u539f\u56e0"+JSON.stringify(e))}})}function Xn(e,t){if(al.para.debug_mode===!0){var r=e.data;e.callback;zn(JSON.stringify(r)),t.cancellationToken.stop()}return e}function Zn(){al.para.debug_mode===!0&&(al.para.debug_mode_upload=al.para.debug_mode_upload||!1,ol.isString(al.para.debug_mode_url)||(ol.isString(al.para.server_url)?al.para.debug_mode_url=al.para.server_url.replace("sa.gif","debug"):ol.isArray(al.para.server_url)&&ol.isString(al.para.server_url[0])?al.para.debug_mode_url=al.para.server_url[0].replace("sa.gif","debug"):al.para.debug_mode=!1))}function Gn(){al.on("sdkInitPara",function(){Zn()}),al.on("sdkAfterInitPara",function(){al.registerInterceptor("sendDataStage",{send:{priority:30,entry:Xn}})})}function Qn(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Yn(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Yn(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function ei(e,t,r){return Qn(e,t,r),e.plugin_version=Il,e}function ti(e,t){if(ll.isObject(sl.para.jsapp)&&!sl.para.jsapp.isOnline&&"function"==typeof sl.para.jsapp.setData){var r=e;delete r.callback,r=JSON.stringify(r),sl.para.jsapp.setData(r),t.cancellationToken.stop()}return e}function ri(){sl.on("sdkAfterInitAPI",function(){ll.isObject(sl.commonWays)&&(sl.commonWays.setOnlineState=ni),sl.registerInterceptor("sendDataStage",{send:{priority:40,entry:ti}})})}function ni(e){if(e===!0&&ll.isObject(sl.para.jsapp)&&"function"==typeof sl.para.jsapp.getData){sl.para.jsapp.isOnline=!0;var t=sl.para.jsapp.getData();ll.isArray(t)&&t.length>0&&ll.each(t,function(e){ll.isJSONString(e)&&sl.kit.sendData(JSON.parse(e))})}else sl.para.jsapp.isOnline=!1}function ii(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return ai(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function ai(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function oi(e,t,r){return ii(e,t,r),e.plugin_version=Dl,e}function si(e,t){return!ul.para.app_js_bridge&&ul.para.batch_send&&cl.localStorage.isSupport()&&localStorage.length=3||!i.on?o():void i.on(r,o)}}return e}function pi(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function di(e,t,r){return ci(e,t,r),e.plugin_version=Ul,e}function fi(e){var t=new dl.BeaconSend(e);t.start()}function gi(e,t){var r=null,n=null;dl.isObject(e.config)&&(r=e.config.send_type,n=dl.optimizeServerUrl(e.config.server_url));var i="beacon"===r||!r&&"beacon"===pl.para.send_type;if(i&&dl.isSupportBeaconSend()){var a=n||e.server_url;e.server_url=a,e.data=pl.kit.encodeTrackData(e.data),dl.isArray(a)&&a.length?dl.each(a,function(t){e.callback=null,e.server_url=t,fi(e)}):"string"==typeof a&&""!==a?fi(e):pl.log("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01"),t.cancellationToken.stop()}return e}function _i(){"beacon"!==pl.para.send_type||dl.isSupportBeaconSend()||(pl.para.send_type="image")}function hi(){pl.on("sdkInitPara",function(){_i()}),pl.on("sdkAfterInitPara",function(){pl.registerInterceptor("sendDataStage",{send:{priority:110,entry:gi}})})}function mi(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return vi(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function vi(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function yi(e,t,r){return mi(e,t,r),e.plugin_version=Bl,e}function bi(e){var t=new gl.AjaxSend(e);t.start()}function wi(e,t){var r=null,n=null;gl.isObject(e.config)&&(r=e.config.send_type,n=gl.optimizeServerUrl(e.config.server_url));var i="ajax"===r||!r&&"ajax"===fl.para.send_type;if(i&&gl.isSupportCors()){var a=n||e.server_url;e.server_url=a,e.data=fl.kit.encodeTrackData(e.data),gl.isArray(a)&&a.length?gl.each(a,function(t){e.callback=null,e.server_url=t,bi(e)}):"string"==typeof a&&""!==a?bi(e):fl.log("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01"),t.cancellationToken.stop()}return e}function Si(){"ajax"!==fl.para.send_type||gl.isSupportCors()||(fl.para.send_type="image")}function ki(){fl.on("sdkInitPara",function(){Si()}),fl.on("sdkAfterInitPara",function(){fl.registerInterceptor("sendDataStage",{send:{priority:120,entry:wi}})})}function Pi(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Ci(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Ci(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function Oi(e,t,r){return Pi(e,t,r),e.plugin_version=ql,e}function Ni(e,t){var r=_l.kit.encodeTrackData(t);return e.indexOf("?")!==-1?e+"&"+r:e+"?"+r}function ji(e){var t=new hl.ImageSend(e);t.start()}function Ti(e,t){var r=null;hl.isObject(e.config)&&(r=hl.optimizeServerUrl(e.config.server_url));var n=r||e.server_url,i=e.data;e.server_url=n,hl.isArray(n)&&n.length?hl.each(n,function(t){t&&(e.data=Ni(t,i),e.callback=null,e.server_url=t,ji(e))}):"string"==typeof n&&""!==n?(e.data=Ni(n,i),ji(e)):_l.logger&&_l.logger.msg("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01").level("warn").log(),t.cancellationToken.stop()}function Ii(){"image"!==_l.para.send_type&&"ajax"!==_l.para.send_type&&"beacon"!==_l.para.send_type&&(_l.para.send_type="image")}function $i(){_l.on("sdkInitPara",function(){Ii()}),_l.on("sdkAfterInitPara",function(){_l.registerInterceptor("sendDataStage",{send:{priority:130,entry:Ti}})})}function Ai(e,t,r){if(t&&(e.plugin_name=t),r&&e.init){var n=e.init;e.init=function(i,a){function o(){n.call(e,i,a)}return Di(i,e,t),i.readyState&&i.readyState.state>=3||!i.on?o():void i.on(r,o)}}return e}function Di(e,t,r){function n(t,n){e.logger?e.logger.msg.apply(e.logger,n).module(r+""||"").level(t).log():e.log&&e.log.apply(e,n)}t.log=function(){n("log",arguments)},t.warn=function(){n("warn",arguments)},t.error=function(){n("error",arguments)}}function xi(e,t,r){return Ai(e,t,r),e.plugin_version=ga,e}function Ei(e){return null===zl?void Li(e):void zl.push(e)}function Li(e){try{if("log"===e.level&&Ui())return void Bi(e);if("warn"===e.level&&Ri())return void Bi(e);if("error"===e.level&&Hi())return void Bi(e)}catch(t){}}function Ui(){return!!Ki()||(Vl.para.show_log===!0||Wl.isObject(Vl.para.show_log)&&"log"===Vl.para.show_log.level)}function Ri(){return!!Ki()||(Ui()||Wl.isObject(Vl.para.show_log)&&"warn"===Vl.para.show_log.level)}function Hi(){return!!Ki()||(!Wl.isObject(Vl.para.show_log)||"none"!==Vl.para.show_log.level)}function Bi(e){var t=e.content,r=Wl.isObject(t[0])?Wl.formatJsonString(t[0]):t[0],n=Ji(e);t[0]=n+(n.length>0?": ":"")+r;try{console&&(Wl.isFunction(console[e.level])?console[e.level].apply(console,t):Wl.isObject(console[e.level])&&console[e.level](t[0]))}catch(i){}}function Ji(e){var t="",r="",n=Vl.para.show_log;return Wl.isObject(n)&&n.show_brand===!1||(t+=e.brand),Wl.isObject(n)&&n.show_level===!1||(t+=(t.length>0?"-":"")+e.level),t.length>0&&(t="["+t+"]"),Wl.isObject(n)&&n.show_module===!1||(r=e.module),t+r}function Mi(){Wl.sessionStorage.isSupport()&&sessionStorage.setItem(Gl,"true")}function qi(){Wl.sessionStorage.isSupport()&&sessionStorage.removeItem(Gl)}function Ki(){return Wl.sessionStorage.isSupport()&&"true"===sessionStorage.getItem(Gl)}var Fi={};(function(){function e(n,i){function a(e,t){try{e()}catch(r){t&&t()}}function o(e){if(null!=o[e])return o[e];var t;if("bug-string-char-index"==e)t="a"!="a"[0];else if("json"==e)t=o("json-stringify")&&o("date-serialization")&&o("json-parse");else if("date-serialization"==e){if(t=o("json-stringify")&&b){var r=i.stringify;a(function(){t='"-271821-04-20T00:00:00.000Z"'==r(new p((-864e13)))&&'"+275760-09-13T00:00:00.000Z"'==r(new p(864e13))&&'"-000001-01-01T00:00:00.000Z"'==r(new p((-621987552e5)))&&'"1969-12-31T23:59:59.999Z"'==r(new p((-1)))})}}else{var n,s='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var r=i.stringify,c="function"==typeof r;c&&((n=function(){return 1}).toJSON=n,a(function(){c="0"===r(0)&&"0"===r(new l)&&'""'==r(new u)&&r(v)===h&&r(h)===h&&r()===h&&"1"===r(n)&&"[1]"==r([n])&&"[null]"==r([h])&&"null"==r(null)&&"[null,null,null]"==r([h,v,null])&&r({a:[n,!0,!1,null,"\0\b\n\f\r\t"]})==s&&"1"===r(null,n)&&"[\n 1,\n 2\n]"==r([1,2],null,1)},function(){c=!1})),t=c}if("json-parse"==e){var d,f=i.parse;"function"==typeof f&&a(function(){0!==f("0")||f(!1)||(n=f(s),d=5==n.a.length&&1===n.a[0],d&&(a(function(){d=!f('"\t"')}),d&&a(function(){d=1!==f("01")}),d&&a(function(){d=1!==f("1.")})))},function(){d=!1}),t=d}}return o[e]=!!t}function s(e){return A(this)}n||(n=r.Object()),i||(i=r.Object());var l=n.Number||r.Number,u=n.String||r.String,c=n.Object||r.Object,p=n.Date||r.Date,d=n.SyntaxError||r.SyntaxError,f=n.TypeError||r.TypeError,g=n.Math||r.Math,_=n.JSON||r.JSON;if("object"==typeof _&&_)return i.stringify=_.stringify,i.parse=_.parse,i.runInContext=e,i;var h,m=c.prototype,v=m.toString,y=m.hasOwnProperty,b=new p((-0xc782b5b800cec));if(a(function(){b=b.getUTCFullYear()==-109252&&0===b.getUTCMonth()&&1===b.getUTCDate()&&10==b.getUTCHours()&&37==b.getUTCMinutes()&&6==b.getUTCSeconds()&&708==b.getUTCMilliseconds()}),o["bug-string-char-index"]=o["date-serialization"]=o.json=o["json-stringify"]=o["json-parse"]=null,!o("json")){var w="[object Function]",S="[object Date]",k="[object Number]",P="[object String]",C="[object Array]",O="[object Boolean]",N=o("bug-string-char-index"),j=function(e,r){var n,i,a,o=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,i=new n;for(a in i)y.call(i,a)&&o++;return n=i=null,o?j=function(e,t){var r,n,i=v.call(e)==w;for(r in e)i&&"prototype"==r||!y.call(e,r)||(n="constructor"===r)||t(r);(n||y.call(e,r="constructor"))&&t(r)}:(i=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],j=function(e,r){var n,a,o=v.call(e)==w,s=!o&&"function"!=typeof e.constructor&&t[typeof e.hasOwnProperty]&&e.hasOwnProperty||y;for(n in e)o&&"prototype"==n||!s.call(e,n)||r(n);for(a=i.length;n=i[--a];)s.call(e,n)&&r(n)}),j(e,r)};if(!o("json-stringify")&&!o("date-serialization")){var T={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},I="000000",$=function(e,t){return(I+(t||0)).slice(-e)},A=function(e){var t,r,n,i,a,o,s,l,u;if(b)t=function(e){r=e.getUTCFullYear(),n=e.getUTCMonth(),i=e.getUTCDate(),o=e.getUTCHours(),s=e.getUTCMinutes(),l=e.getUTCSeconds(),u=e.getUTCMilliseconds()};else{var c=g.floor,p=[0,31,59,90,120,151,181,212,243,273,304,334],d=function(e,t){return p[t]+365*(e-1970)+c((e-1969+(t=+(t>1)))/4)-c((e-1901+t)/100)+c((e-1601+t)/400)};t=function(e){for(i=c(e/864e5),r=c(i/365.2425)+1970-1;d(r+1,0)<=i;r++);for(n=c((i-d(r,0))/30.42);d(r,n+1)<=i;n++);i=1+i-d(r,n),a=(e%864e5+864e5)%864e5,o=c(a/36e5)%24,s=c(a/6e4)%60,l=c(a/1e3)%60,u=a%1e3}}return(A=function(e){return e>-1/0&&e<1/0?(t(e),e=(r<=0||r>=1e4?(r<0?"-":"+")+$(6,r<0?-r:r):$(4,r))+"-"+$(2,n+1)+"-"+$(2,i)+"T"+$(2,o)+":"+$(2,s)+":"+$(2,l)+"."+$(3,u)+"Z",r=n=i=o=s=l=u=null):e=null,e})(e)};if(o("json-stringify")&&!o("date-serialization")){var D=i.stringify;i.stringify=function(e,t,r){var n=p.prototype.toJSON;p.prototype.toJSON=s;var i=D(e,t,r);return p.prototype.toJSON=n,i}}else{var x="\\u00",E=function(e){var t=e.charCodeAt(0),r=T[t];return r?r:x+$(2,t.toString(16))},L=/[\x00-\x1f\x22\x5c]/g,U=function(e){return L.lastIndex=0,'"'+(L.test(e)?e.replace(L,E):e)+'"'},R=function(e,t,r,n,i,o,s){var l,u,c,d,g,_,m,y,b;if(a(function(){l=t[e]}),"object"==typeof l&&l&&(l.getUTCFullYear&&v.call(l)==S&&l.toJSON===p.prototype.toJSON?l=A(l):"function"==typeof l.toJSON&&(l=l.toJSON(e))),r&&(l=r.call(t,e,l)),l==h)return l===h?l:"null";switch(u=typeof l,"object"==u&&(c=v.call(l)),c||u){case"boolean":case O:return""+l;case"number":case k:return l>-1/0&&l<1/0?""+l:"null";case"string":case P:return U(""+l)}if("object"==typeof l){for(m=s.length;m--;)if(s[m]===l)throw f();if(s.push(l),d=[],y=o,o+=i,c==C){for(_=0,m=l.length;_0)for(n>10&&(n=10),i="";i.length=48&&i<=57||i>=97&&i<=102||i>=65&&i<=70||q();e+=J("0x"+a.slice(t,H));break;default:q()}else{if(34==i)break;for(i=a.charCodeAt(H),t=H;i>=32&&92!=i&&34!=i;)i=a.charCodeAt(++H);e+=a.slice(t,H)}if(34==a.charCodeAt(H))return H++,e;q();default:if(t=H,45==i&&(n=!0,i=a.charCodeAt(++H)),i>=48&&i<=57){for(48==i&&(i=a.charCodeAt(H+1),i>=48&&i<=57)&&q(),n=!1;H=48&&i<=57);H++);if(46==a.charCodeAt(H)){for(r=++H;r57));r++);r==H&&q(),H=r}if(i=a.charCodeAt(H),101==i||69==i){for(i=a.charCodeAt(++H),43!=i&&45!=i||H++,r=H;r57));r++);r==H&&q(),H=r}return+a.slice(t,H)}n&&q();var s=a.slice(H,H+4);if("true"==s)return H+=4,!0;if("fals"==s&&101==a.charCodeAt(H+4))return H+=5,!1;if("null"==s)return H+=4,null;q()}return"$"},F=function(e){var t,r;if("$"==e&&q(),"string"==typeof e){if("@"==(N?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=K(),"]"!=e;)r?","==e?(e=K(),"]"==e&&q()):q():r=!0,","==e&&q(),t.push(F(e));return t}if("{"==e){for(t={};e=K(),"}"!=e;)r?","==e?(e=K(),"}"==e&&q()):q():r=!0,","!=e&&"string"==typeof e&&"@"==(N?e.charAt(0):e[0])&&":"==K()||q(),t[e.slice(1)]=F(K());return t}q()}return e},V=function(e,t,r){var n=W(e,t,r);n===h?delete e[t]:e[t]=n},W=function(e,t,r){var n,i=e[t];if("object"==typeof i&&i)if(v.call(i)==C)for(n=i.length;n--;)V(v,j,i,n,r);else j(i,function(e){V(i,e,r)});return r.call(e,t,i)};i.parse=function(e,t){var r,n;return H=0,B=""+e,r=F(K()),"$"!=K()&&q(),H=B=null,t&&v.call(t)==w?W((n={},n[""]=r,n),"",t):r}}}return i.runInContext=e,i}var t={"function":!0,object:!0},r=t[typeof window]&&window||this,n=r.JSON,i=r.JSON3,a=!1,o=e(r,r.JSON3={noConflict:function(){return a||(a=!0,r.JSON=n,r.JSON3=i,n=i=null),o}});r.JSON?(r.JSON.parse=o.parse,r.JSON.stringify=o.stringify):r.JSON={parse:o.parse,stringify:o.stringify}}).call(window),function(e,t){t(e)}(window,function(e){if(e.atob)try{e.atob(" ")}catch(t){e.atob=function(e){var t=function(t){return e(String(t).replace(/[\t\n\f\r ]+/g,""))};return t.original=e,t}(e.atob)}else{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;e.btoa=function(e){e=String(e);for(var t,n,i,a,o="",s=0,l=e.length%3;s255||(i=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255)return"";t=n<<16|i<<8|a,o+=r.charAt(t>>18&63)+r.charAt(t>>12&63)+r.charAt(t>>6&63)+r.charAt(63&t)}return l?o.slice(0,l-3)+"===".substring(l):o},e.atob=function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!n.test(e))return"";e+="==".slice(2-(3&e.length));for(var t,i,a,o="",s=0;s>16&255):64===a?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}}});var Vi,Wi={setup:function(e){Vi=e},log:function(){(Vi||console&&console.log||function(){}).apply(null,arguments)}},zi={get:function(e){return window.localStorage.getItem(e)},parse:function(e){var t;try{t=JSON.parse(zi.get(e))||null}catch(r){Wi.log("parse localStorage failed")}return t},set:function(e,t){try{window.localStorage.setItem(e,t)}catch(r){Wi.log("localStorage is not support")}},remove:function(e){window.localStorage.removeItem(e)},isSupport:function(){var e=!0;try{var t="__local_store_support__",r="testIsSupportStorage";zi.set(t,r),zi.get(t)!==r&&(e=!1),zi.remove(t)}catch(n){e=!1}return e}},Xi=function(){function e(){return r=(9301*r+49297)%233280,r/233280}var t=new Date,r=t.getTime();return function(t){return Math.ceil(e()*t)}}();a.prototype.get=function(e,r,a,o){if(!e)throw new Error("key is must");r=r||1e4,a=a||1e3,o=o||function(){};var s=this.lockGetPrefix+e,l=zi.get(s),u=String(n());return l&&(l=i(l)||{randomNum:0,expireTime:0},l.expireTime>t())?o(null):(zi.set(s,JSON.stringify({randomNum:u,expireTime:t()+r})),void setTimeout(function(){l=i(zi.get(s))||{randomNum:0,expireTime:0},l&&l.randomNum===u?(o(zi.get(e)),zi.remove(e),zi.remove(s)):o(null)},a))},a.prototype.set=function(e,r,a,o,s){if(!e||!r)throw new Error("key and val is must");a=a||1e4,o=o||1e3,s=s||function(){};var l=this.lockSetPrefix+e,u=zi.get(l),c=String(n());return u&&(u=i(u)||{randomNum:0,expireTime:0},u.expireTime>t())?s({status:"fail",reason:"This key is locked"}):(zi.set(l,JSON.stringify({randomNum:c,expireTime:t()+a})),void setTimeout(function(){u=i(zi.get(l))||{randomNum:0,expireTime:0},u.randomNum===c?zi.set(e,r)&&s({status:"success"}):s({status:"fail",reason:"This key is locked"})},o))},l.prototype.on=function(e,t){if(!e||!t)return!1;if(!s(t))throw new Error("listener must be a function");this._events[e]=this._events[e]||[];var r="object"==typeof t;return this._events[e].push(r?t:{listener:t,once:!1}),this},l.prototype.prepend=function(e,t){if(!e||!t)return!1;if(!s(t))throw new Error("listener must be a function");this._events[e]=this._events[e]||[];var r="object"==typeof t;return this._events[e].unshift(r?t:{listener:t,once:!1}),this},l.prototype.prependOnce=function(e,t){return this.prepend(e,{listener:t,once:!0})},l.prototype.once=function(e,t){return this.on(e,{listener:t,once:!0})},l.prototype.off=function(e,t){var r=this._events[e];if(!r)return!1;if("number"==typeof t)r.splice(t,1);else if("function"==typeof t)for(var n=0,i=r.length;n=4&&(a=e(a,i),i=[]);return i.length>0&&(a=e(a,i)),a.toString(16)};return function(){var i=String(screen.height*screen.width);i=i&&/\d{5,}/.test(i)?i.toString(16):String(31242*n()).replace(".","").slice(0,8);var a=e()+"-"+t()+"-"+r()+"-"+i+"-"+e();return a?a:(String(n())+String(n())+String(n())).slice(2,15)}}(),Gi=function(e){this.ele=e},Qi=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r};Gi.prototype={addClass:function(e){var t=" "+this.ele.className+" ";return t.indexOf(" "+e+" ")===-1&&(this.ele.className=this.ele.className+(""===this.ele.className?"":" ")+e),this},removeClass:function(e){var t=" "+this.ele.className+" ";return t.indexOf(" "+e+" ")!==-1&&(this.ele.className=t.replace(" "+e+" "," ").slice(1,-1)),this},hasClass:function(e){var t=" "+this.ele.className+" ";return t.indexOf(" "+e+" ")!==-1},attr:function(e,t){return"string"==typeof e&&h(t)?this.ele.getAttribute(e):("string"==typeof e&&(t=String(t),this.ele.setAttribute(e,t)),this)},offset:function(){try{var e=this.ele.getBoundingClientRect(),t=this.ele.ownerDocument,r=t.documentElement;return{top:e.top+window.pageYOffset-r.clientTop,left:e.left+window.pageXOffset-r.clientLeft}}catch(n){return{top:0,left:0}}},getSize:function(){if(!window.getComputedStyle)return{width:this.ele.offsetWidth,height:this.ele.offsetHeight};try{var e=this.ele.getBoundingClientRect();return{width:e.width,height:e.height}}catch(t){return{width:0,height:0}}},getStyle:function(e){return this.ele.currentStyle?this.ele.currentStyle[e]:this.ele.ownerDocument.defaultView.getComputedStyle(this.ele,null).getPropertyValue(e)},wrap:function(e){var t=document.createElement(e);return this.ele.parentNode.insertBefore(t,this.ele),t.appendChild(this.ele),y(t)},getCssStyle:function(e){var t=this.ele.style.getPropertyValue(e);if(t)return t;var r=null;if("function"==typeof window.getMatchedCSSRules&&(r=window.getMatchedCSSRules(this.ele)),!r||!v(r))return null;for(var n=r.length-1;n>=0;n--){var i=r[n];if(t=i.style.getPropertyValue(e))return t}},sibling:function(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e},next:function(){return this.sibling(this.ele,"nextSibling")},prev:function(){return this.sibling(this.ele,"previousSibling")},siblings:function(){return Qi((this.ele.parentNode||{}).firstChild,this.ele)},children:function(){return Qi(this.ele.firstChild)},parent:function(){var e=this.ele.parentNode;return e=e&&11!==e.nodeType?e:null,y(e)},previousElementSibling:function(){var e=this.ele;if("previousElementSibling"in document.documentElement)return y(e.previousElementSibling);for(;e=e.previousSibling;)if(1===e.nodeType)return y(e);return y(null)},getSameTypeSiblings:function(){for(var e=this.ele,t=e.parentNode,r=e.tagName.toLowerCase(),n=[],i=0;it._expirationTimestamp_?null:t.value:t},set:function(e,t,r){if(r){var n,i=new Date;n="s"===String(r).slice(-1)?i.getTime()+1e3*Number(String(r).slice(0,-1)):i.getTime()+24*r*60*60*1e3,t={value:t,_expirationTimestamp_:n}}this.data[e]=t},getNewUserFlagMemoryKey:function(e){return"sajssdk_2015_"+pa.sdk_id+e}},Sa={checkIsAddSign:function(e){"track"===e.type&&(Re()?e.properties.$is_first_day=!0:e.properties.$is_first_day=!1)},is_first_visit_time:!1,is_page_first_visited:!1,checkIsFirstTime:function(e){"track"===e.type&&"$pageview"===e.event&&(this.is_first_visit_time?(e.properties.$is_first_time=!0,this.is_first_visit_time=!1):e.properties.$is_first_time=!1)},setDeviceId:function(e,t){var r=null,n=ma.get("sensorsdata2015jssdkcross"+Fi.para.sdk_id);n=Fi.kit.userDecryptIfNeeded(n);var i={};null!=n&&ue(n)&&(i=JSON.parse(n),i.$device_id&&(r=i.$device_id)),r=r||e,Fi.para.cross_subdomain===!0?t.set("$device_id",r):(i.$device_id=r,i=JSON.stringify(i),Fi.para.encrypt_cookie&&(i=Fi.kit.userEncrypt(i)),ma.set("sensorsdata2015jssdkcross"+Fi.para.sdk_id,i,null,!0)),Fi.para.is_track_device_id&&(ba.currentProps.$device_id=r)},storeInitCheck:function(){if(Fi.is_first_visitor){var e=new Date,t={h:23-e.getHours(),m:59-e.getMinutes(),s:59-e.getSeconds()};ma.isSupport()?ma.set(Ue("new_user"),"1",3600*t.h+60*t.m+t.s+"s"):wa.set(wa.getNewUserFlagMemoryKey("new_user"),"1",3600*t.h+60*t.m+t.s+"s"),this.is_first_visit_time=!0,this.is_page_first_visited=!0}else Re()||(this.checkIsAddSign=function(e){"track"===e.type&&(e.properties.$is_first_day=!1)}),this.checkIsFirstTime=function(e){"track"===e.type&&"$pageview"===e.event&&(e.properties.$is_first_time=!1)}}},ka=function(){this._events=[],this.pendingEvents=[]};ka.prototype={emit:function(e){var t=[].slice.call(arguments,1);k(this._events,function(r){r.type===e&&r.callback.apply(r.context,t)}),this.pendingEvents.push({type:e,data:t}),this.pendingEvents.length>20?this.pendingEvents.shift():null},on:function(t,r,n,i){e(r)&&(this._events.push({type:t,callback:r,context:n||this}),i=i!==!1,this.pendingEvents.length>0&&i&&k(this.pendingEvents,function(e){e.type===t&&r.apply(n,e.data)}))},tempAdd:function(e,t){if(t&&e)return this.emit(e,t)},isReady:function(){}};var Pa=function(e){this.callback=e.callback,this.server_url=e.server_url,this.data=e.data};Pa.prototype.start=function(){var e=this;Ze({url:this.server_url,type:"POST",data:this.data,credentials:!1,timeout:pa.datasend_timeout,cors:!0,success:function(){e.end()},error:function(){e.end()}})},Pa.prototype.end=function(){if(this.callback){if(Oe("warning: sdk callback is deprecated."),!e(this.callback))return void Oe("error: sdk callback must be function.");this.callback()}};var Ca="sawebjssdk-",Oa="tab-sawebjssdk-";Ye.prototype={batchInterval:function(){""===this.serverUrl&&this.getServerUrl(),this.hasTabStorage||(this.generateTabStorage(),this.hasTabStorage=!0);var e=this;e.timer=setTimeout(function(){e.updateExpireTime(),e.recycle(),e.send(),clearTimeout(e.timer),e.batchInterval()},pa.batch_send.send_interval)},getServerUrl:function(){return p(pa.server_url)&&""!==pa.server_url||v(pa.server_url)&&pa.server_url.length?void(this.serverUrl=v(pa.server_url)?pa.server_url[0]:pa.server_url):je("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01")},send:function(){if(!(this.sendTimeStamp&&t()-this.sendTimeStamp-1&&r.splice(a,1),zi.remove(e[n])}r=Ce(r),zi.set(this.tabKey,JSON.stringify(this.generateTabStorageVal(r)))}},add:function(e){var r=Ca+String(n()),a=zi.get(this.tabKey);null===a?(this.tabKey=Oa+String(n()),a=this.generateTabStorageVal()):a=i(a)||this.generateTabStorageVal(),a.data.push(r),a.expireTime=t()+2*pa.batch_send.send_interval,zi.set(this.tabKey,JSON.stringify(a)),Fi.store.saveObjectVal(r,e),"track_signup"!==e.type&&"$pageview"!==e.event||this.sendImmediately()},generateTabStorage:function(){this.tabKey=Oa+String(n()),zi.set(this.tabKey,JSON.stringify(this.generateTabStorageVal()))},generateTabStorageVal:function(e){return e=e||[],{data:e,expireTime:t()+2*pa.batch_send.send_interval,serverUrl:this.serverUrl}},sendImmediately:function(){this.send()},recycle:function(){for(var e={},r=1e4,n="sajssdk-lock-get-",o=0;ou.expireTime&&this.serverUrl===u.serverUrl){var p=new a(n);p.get(s,r,1e3,function(e){if(e){null===zi.get(l.tabKey)&&l.generateTabStorage();var t=i(e)||l.generateTabStorageVal(),r=i(zi.get(l.tabKey))||l.generateTabStorageVal();r.data=Ce(r.data.concat(t.data)),zi.set(l.tabKey,JSON.stringify(r))}})}}else if(0===s.indexOf(n)){var d=i(zi.get(s))||{expireTime:0};t()-d.expireTime>r&&zi.remove(s)}}for(var f=0;f0)for(t=0;tpa.max_id_length)},keyLength:function(e){return!(!p(e)||e.length>pa.max_key_length)},stringLength:function(e){return!(!p(e)||e.length>pa.max_string_length)},voidZero:function(e){return void 0!==e},reservedLoginId:function(e){return!(re(this.loginIDReservedNames,e)>-1)},reservedUnbind:function(e){return!(re(this.unbindReservedNames,e)>-1)},reservedBind:function(e){var t=$a._state.history_login_id;return(!t||!t.name||t.name!==e)&&!(re(this.bindReservedNames,e)>-1)}},xa={distinct_id:{rules:["string","emptyString","idLength"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="Id"),e(Aa[n])&&Aa[n](r),"idLength"===n)||t}},event:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(t,r,n){return t||("emptyString"===n&&(r="eventName"),e(Aa[n])&&Aa[n](r)),!0}},propertyKey:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(t,r,n){return t||("emptyString"===n&&(r="Property key"),e(Aa[n])&&Aa[n](r)),!0}},propertyValue:{rules:["voidZero"],onComplete:function(t,r,n){return t||(r="Property Value",e(Aa[n])&&Aa[n](r)),!0}},properties:function(t){return r(t)?k(t,function(t,r){et({propertyKey:r});var n=function(t,n,i){return t||(n=r+"'s Value",e(Aa[i])&&Aa[i](n)),!0};et({propertyValue:t},n)}):Da.voidZero(t)&&Ne("properties\u53ef\u4ee5\u6ca1\u6709\uff0c\u4f46\u6709\u7684\u8bdd\u5fc5\u987b\u662f\u5bf9\u8c61"),!0},propertiesMust:function(e){return void 0!==e&&r(e)&&!oe(e)?this.properties.call(this,e):Ne("properties\u5fc5\u987b\u662f\u5bf9\u8c61"),!0},item_type:{rules:["string","emptyString","keyLength","regexTest"],onComplete:function(t,r,n){return t||("emptyString"===n&&(r="item_type"),e(Aa[n])&&Aa[n](r)),!0}},item_id:{rules:["string","emptyString","stringLength"],onComplete:function(t,r,n){return t||("emptyString"===n&&(r="item_id"),e(Aa[n])&&Aa[n](r)),!0}},loginIdKey:{rules:["string","emptyString","keyLength","regexTest","reservedLoginId"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="login_id_key"),e(Aa[n])&&Aa[n](r),"keyLength"===n)||t}},bindKey:{rules:["string","emptyString","keyLength","regexTest","reservedBind"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="Key"),e(Aa[n])&&Aa[n](r),"keyLength"===n)||t}},unbindKey:{rules:["string","emptyString","keyLength","regexTest","reservedUnbind"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="Key"),e(Aa[n])&&Aa[n](r),"keyLength"===n)||t}},bindValue:{rules:["string","emptyString","idLength"],onComplete:function(t,r,n){return!t&&("emptyString"===n&&(r="Value"),e(Aa[n])&&Aa[n](r),"idLength"===n)||t}},check:function(t,r,n){var i=this[t];if(e(i))return i.call(this,r);if(!i)return!1;for(var a=0;a"),r=d(t.pop());if("div"!==r.slice(0,3))return!1}return!0},Ea.configIsMatchNew=function(e,t){if(p(e.$element_selector)&&p(t.element_selector)){if("element_selector"===t.element_field&&"equal"===t["function"])return e.$element_selector===t.element_selector;if("element_selector"===t.element_field&&"contain"===t["function"])return e.$element_selector.indexOf(t.element_selector)>-1}if(p(e.$element_path)&&p(t.element_path)){if("element_path"===t.element_field&&"equal"===t["function"])return e.$element_path===t.element_path;if("element_path"===t.element_field&&"contain"===t["function"])return e.$element_path.indexOf(t.element_path)>-1}return!1},Ea.configIsMatch=function(e,t){return(!t.limit_element_content||t.element_content===e.$element_content)&&((!t.limit_element_position||t.element_position===String(e.$element_position))&&(t.element_field&&t["function"]?Ea.configIsMatchNew(e,t):Ea.configIsMatchOldVersion(e,t)))},Ea.configIsMatchOldVersion=function(e,t){if(!t.element_path)return!1;if(void 0!==e.$element_position){if(t.element_path!==e.$element_path)return!1}else if(Ea.isDiv({element_path:t.element_path})){if(e.$element_path.indexOf(t.element_path)<0)return!1}else if(t.element_path!==e.$element_path)return!1;return!0},Ea.filterConfig=function(e,t,n){var i=[];if(!n){var a=Ea.initUrl();if(!a)return[];n=a.page_url}return"$WebClick"===e.event&&k(t,function(t){r(t)&&("webclick"===t.event_type||"appclick"===t.event_type)&&r(t.event)&&t.event.url_host===n.host&&t.event.url_path===n.pathname&&Ea.configIsMatch(e.properties,t.event)&&i.push(t)}),i},Ea.getPropElInLi=function(e,t){if(!(e&&_(e)&&p(t)))return null;if("li"!==e.tagName.toLowerCase())return null;var r,n=Fi.heatmap.getDomSelector(e);if(n){r=n+t;var i=J(r);return i?i:null}return Ne("----custom---\u83b7\u53d6\u540c\u7ea7\u5c5e\u6027\u5143\u7d20\u5931\u8d25\uff0cselector\u4fe1\u606f\u5f02\u5e38",n,t),null},Ea.getProp=function(e,t){if(!r(e))return!1;if(!(p(e.name)&&e.name.length>0))return Ne("----vcustom----\u5c5e\u6027\u540d\u4e0d\u5408\u6cd5,\u5c5e\u6027\u629b\u5f03",e.name),!1;var n,i,a={};if("content"===e.method){var o;if(p(e.element_selector)&&e.element_selector.length>0)o=J(e.element_selector);else{if(!t||!p(e.list_selector))return Ne("----vcustom----\u5c5e\u6027\u914d\u7f6e\u5f02\u5e38\uff0c\u5c5e\u6027\u629b\u5f03",e.name),!1;var s=J(t.properties.$element_selector);if(!s)return Ne("----vcustom----\u70b9\u51fb\u5143\u7d20\u83b7\u53d6\u5f02\u5e38\uff0c\u5c5e\u6027\u629b\u5f03",e.name),!1;var l=Fi.heatmap.getClosestLi(s);o=Ea.getPropElInLi(l,e.list_selector)}if(!o||!_(o))return Ne("----vcustom----\u5c5e\u6027\u5143\u7d20\u83b7\u53d6\u5931\u8d25\uff0c\u5c5e\u6027\u629b\u5f03",e.name),!1;if("input"===o.tagName.toLowerCase())n=o.value||"";else if("select"===o.tagName.toLowerCase()){var u=o.selectedIndex;ce(u)&&_(o[u])&&(n=Xe(o[u],"select"))}else n=Xe(o,o.tagName.toLowerCase());if(e.regular){try{i=new RegExp(e.regular).exec(n)}catch(c){return Ne("----vcustom----\u6b63\u5219\u5904\u7406\u5931\u8d25\uff0c\u5c5e\u6027\u629b\u5f03",e.name),!1}if(null===i)return Ne("----vcustom----\u5c5e\u6027\u89c4\u5219\u5904\u7406\uff0c\u672a\u5339\u914d\u5230\u7ed3\u679c,\u5c5e\u6027\u629b\u5f03",e.name),!1;if(!v(i)||!p(i[0]))return Ne("----vcustom----\u6b63\u5219\u5904\u7406\u5f02\u5e38\uff0c\u5c5e\u6027\u629b\u5f03",e.name,i),!1;n=i[0]}if("STRING"===e.type)a[e.name]=n;else if("NUMBER"===e.type){if(n.length<1)return Ne("----vcustom----\u672a\u83b7\u53d6\u5230\u6570\u5b57\u5185\u5bb9\uff0c\u5c5e\u6027\u629b\u5f03",e.name,n),!1;if(isNaN(Number(n)))return Ne("----vcustom----\u6570\u5b57\u7c7b\u578b\u5c5e\u6027\u8f6c\u6362\u5931\u8d25\uff0c\u5c5e\u6027\u629b\u5f03",e.name,n),!1;a[e.name]=Number(n)}return a}return je("----vcustom----\u5c5e\u6027\u4e0d\u652f\u6301\u6b64\u83b7\u53d6\u65b9\u5f0f",e.name,e.method),!1},Ea.getAssignConfigs=function(e,t){var n=Ea.initUrl();if(!n||!n.page_url)return[];if(!r(t))return[];var i=[];return t.events=t.events||t.eventList,v(t.events)&&t.events.length>0?(k(t.events,function(t){r(t)&&r(t.event)&&t.event.url_host===n.page_url.host&&t.event.url_path===n.page_url.pathname&&e(t)&&i.push(t)}),i):[]};var La={events:[],getAssignConfigs:Ea.getAssignConfigs,filterConfig:Ea.filterConfig,getProp:Ea.getProp,initUrl:Ea.initUrl,updateEvents:function(e){v(e)&&(this.events=e)},init:function(){this.initAppGetPropsBridge()},geth5Props:function(e){var t={},n=[],i=this;if(!this.events.length)return{};if("$WebClick"===e.event){var a=this.filterConfig(e,this.events);if(!a.length)return{};k(a,function(a){r(a)&&(v(a.properties)&&a.properties.length>0&&k(a.properties,function(n){if(r(n))if(n.h5===!1)v(t.sensorsdata_app_visual_properties)||(t.sensorsdata_app_visual_properties=[]),t.sensorsdata_app_visual_properties.push(n);else{var a=i.getProp(n,e);r(a)&&(t=P(t,a))}}),p(a.event_name)&&n.push(a.event_name))}),Fi.bridge.hasVisualModeBridge()&&(t.sensorsdata_web_visual_eventName=n)}return t.sensorsdata_app_visual_properties&&(t.sensorsdata_app_visual_properties=j(JSON.stringify(t.sensorsdata_app_visual_properties))),t},initAppGetPropsBridge:function(){var e=this,t=new Fi.SDKJSBridge("getJSVisualProperties");return t.onAppNotify(function(n){var i={};try{n=JSON.parse(N(n))}catch(a){je("getJSVisualProperties data parse error!")}if(r(n)){var o=n.sensorsdata_js_visual_properties,s=e.initUrl();s&&(s=s.page_url,v(o)&&o.length>0&&k(o,function(t){if(r(t)&&t.url_host===s.host&&t.url_path===s.pathname&&t.h5){var n=e.getProp(t);r(n)&&(i=P(i,n))}}))}var l=Fi.bridge.bridge_info.platform;return"android"===l&&t.notifyApp({data:i},n.message_id),i}),t}},Ua={events:[],customProp:La,getAssignConfigs:Ea.getAssignConfigs,initUrl:Ea.initUrl,init:function(){if(this.initUrl()){var e=this.getConfigFromApp();e&&this.updateConfigs(e),this.customProp.init(),this.initAppUpdateConfigBridge()}},initAppUpdateConfigBridge:function(){var e=this;return new Fi.SDKJSBridge("updateH5VisualConfig").onAppNotify(function(t){if(t){try{t=JSON.parse(N(t))}catch(r){return void je("updateH5VisualConfig result parse error\uff01")}e.updateConfigs(t)}})},getConfigFromApp:function(){var e=new Fi.SDKJSBridge("sensorsdata_get_app_visual_config").notifyApp();if(e)try{e=JSON.parse(N(e))}catch(t){e=null,je("getAppVisualConfig result parse error\uff01")}return e},updateConfigs:function(e){this.events=this.filterConfigs(e),this.customProp.updateEvents(this.events)},filterConfigs:function(e){return this.getAssignConfigs(function(e){return!(!r(e)||e.h5===!1)},e)}},Ra={events:[],init:function(e){this.filterWebClickEvents(e)},filterWebClickEvents:function(e){this.events=Ba.getAssignConfigs(function(e){return!(!r(e)||e.event.unlimited_div!==!0||"webclick"!==e.event_type)},e)},isTargetEle:function(e){var t=Fi.heatmap.getEleDetail(e);if(!r(t)||!p(t.$element_path))return!1;for(var n=0;n0)},e),this.events.length?this.configSwitch=!0:this.configSwitch=!1},getVtrackProps:function(e){var t={};return this.collectAble()?("$WebClick"===e.event&&(t=this.clickCustomPropMaker(e,this.events)),t):{}},clickCustomPropMaker:function(e,t,n){var i=this;n=n||this.filterConfig(e,t,Ba.url_info.page_url);var a={};return n.length?(k(n,function(t){v(t.properties)&&t.properties.length>0&&k(t.properties,function(t){var n=i.getProp(t,e);r(n)&&P(a,n)})}),a):{}},getProp:Ea.getProp,getPropElInLi:Ea.getPropElInLi,filterConfig:Ea.filterConfig},Ba={unlimitedDiv:Ra,config:{},storageEnable:!0,storage_name:"webjssdkvtrackcollect",para:{session_time:18e5,timeout:5e3,update_interval:18e5},url_info:{},timer:null,update_time:null,customProp:Ha,initUrl:function(){var e=Ea.initUrl();if(e){var t;try{t=new f(Fi.para.server_url),t._values.Path="/config/visualized/Web.conf",e.api_url=t.getUrl()}catch(r){return je("----vtrackcollect---API\u5730\u5740\u89e3\u6790\u5f02\u5e38",r),!1}this.url_info=e}return e},init:function(){if(!r(Fi.para.heatmap)||!Fi.para.heatmap.get_vtrack_config)return!1;if(zi.isSupport()||(this.storageEnable=!1),!this.initUrl())return je("----vtrackcustom----\u521d\u59cb\u5316\u5931\u8d25\uff0curl\u4fe1\u606f\u89e3\u6790\u5931\u8d25"),!1;if(this.storageEnable){var e=$a.readObjectVal(this.storage_name);if(r(e)&&r(e.data))if(this.serverUrlIsSame(e.serverUrl)){this.config=e.data,this.update_time=e.updateTime,this.updateConfig(e.data);var t=(new Date).getTime(),n=t-this.update_time;if(ce(n)&&n>0&&n0&&r-1)return n;if("area"===i&&"map"===a.tagName.toLowerCase()&&y(a).prev().tagName&&"img"===y(a).prev().tagName.toLowerCase())return y(a).prev();if("div"===i&&Fi.para.heatmap.collect_tags.div&&r.isDivLevelValid(n)){var s=Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&Fi.para.heatmap.collect_tags.div&&Fi.para.heatmap.collect_tags.div.max_level||1; +if(s>1||r.isCollectableDiv(n))return n}if(r.isStyleTag(i)&&Fi.para.heatmap.collect_tags.div){var l=r.getCollectableParent(n);if(l&&r.isDivLevelValid(l))return l}var u=r.hasElement({event:t&&t.originalEvent||t,element:e},function(e){return r.isUnlimitedTag(e)});return u||null},getDivLevels:function(e,t){var r=Va.getElementPath(e,!0,t),n=r.split(" > "),i=0;return k(n,function(e){"div"===e&&i++}),i},isDivLevelValid:function(e){for(var t=Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&Fi.para.heatmap.collect_tags.div&&Fi.para.heatmap.collect_tags.div.max_level||1,r=e.getElementsByTagName("div"),n=r.length-1;n>=0;n--)if(Va.getDivLevels(r[n],e)>t)return!1;return!0},getElementPath:function(e,t,r){for(var n=[];e.parentNode&&_(e);){if(e.id&&!t&&/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(e.id)){n.unshift(e.tagName.toLowerCase()+"#"+e.id);break}if(r&&e===r){n.unshift(e.tagName.toLowerCase());break}if(e===document.body){n.unshift("body");break}n.unshift(e.tagName.toLowerCase()),e=e.parentNode}return n.join(" > ")},getClosestLi:function(t){var r=function(t,r){for(;t&&t!==document&&1===t.nodeType;t=t.parentNode)if(t.tagName&&e(t.tagName.toLowerCase)&&t.tagName.toLowerCase()===r)return t;return null};return r(t,"li")},getElementPosition:function(e,t,r){function n(e){var t=e.parentNode;if(!t)return"";var r=y(e).getSameTypeSiblings(),n=r.length;if(1===n)return 0;for(var i=0,a=e;y(a).previousElementSibling().ele;a=y(a).previousElementSibling().ele,i++);return i}var i=Fi.heatmap.getClosestLi(e);if(!i||!_(e))return null;var a=e.tagName.toLowerCase(),o=i.getElementsByTagName(a),s=o.length,l=[];if(s>1){for(var u=0;u1)return re(l,e)}return n(i)},setNotice:function(e){Fi.is_heatmap_render_mode=!0,Fi.para.heatmap||(Fi.errorMsg="\u60a8SDK\u6ca1\u6709\u914d\u7f6e\u5f00\u542f\u70b9\u51fb\u56fe\uff0c\u53ef\u80fd\u6ca1\u6709\u6570\u636e\uff01"),e&&"http:"===e.slice(0,5)&&"https:"===location.protocol&&(Fi.errorMsg="\u60a8\u7684\u5f53\u524d\u9875\u9762\u662fhttps\u7684\u5730\u5740\uff0c\u795e\u7b56\u5206\u6790\u73af\u5883\u4e5f\u5fc5\u987b\u662fhttps\uff01"),Fi.para.heatmap_url||(Fi.para.heatmap_url=gt()+"//static.sensorsdata.cn/sdk/"+Fi.lib_version+"/heatmap.min.js")},getDomIndex:function(e){if(!e.parentNode)return-1;for(var t=0,r=e.tagName,n=e.parentNode.children,i=0;i "):this.getDomSelector(e.parentNode,t,r)):(t.unshift("body"),t.join(" > "))},na:function(){var e=document.documentElement.scrollLeft||window.pageXOffset;return parseInt(isNaN(e)?0:e,10)},i:function(){var e=0;try{e=o.documentElement&&o.documentElement.scrollTop||m.pageYOffset,e=isNaN(e)?0:e}catch(t){e=0}return parseInt(e,10)},getBrowserWidth:function(){var e=window.innerWidth||document.body.clientWidth;return isNaN(e)?0:parseInt(e,10)},getBrowserHeight:function(){var e=window.innerHeight||document.body.clientHeight;return isNaN(e)?0:parseInt(e,10)},getScrollWidth:function(){var e=parseInt(document.body.scrollWidth,10);return isNaN(e)?0:e},getEleDetail:function(e){var t=this.getDomSelector(e),r=We({target:e});r.$element_selector=t?t:"",r.$element_path=Fi.heatmap.getElementPath(e,Fi.para.heatmap&&"not_use_id"===Fi.para.heatmap.element_selector);var n=Fi.heatmap.getElementPosition(e,r.$element_path,Fi.para.heatmap&&"not_use_id"===Fi.para.heatmap.element_selector);return ce(n)&&(r.$element_position=n),r},getPointerEventProp:function(e,t){function r(){var e=document.body.scrollLeft||document.documentElement.scrollLeft||0,t=document.body.scrollTop||document.documentElement.scrollTop||0;return{scrollLeft:e,scrollTop:t}}function n(e){if(document.documentElement.getBoundingClientRect){var t=e.getBoundingClientRect();return{targetEleX:t.left+r().scrollLeft||0,targetEleY:t.top+r().scrollTop||0}}}function i(e){return Number(Number(e).toFixed(3))}function a(e){var a=e.pageX||e.clientX+r().scrollLeft||e.offsetX+n(t).targetEleX||0,o=e.pageY||e.clientY+r().scrollTop||e.offsetY+n(t).targetEleY||0;return{$page_x:i(a),$page_y:i(o)}}return e?a(e):{}},start:function(t,n,i,a,o){if(r(Fi.para.heatmap)&&e(Fi.para.heatmap.collect_element)&&!Fi.para.heatmap.collect_element(n))return!1;var s=Va.getBasicEleInfo(t,n,i,a,o);_t(s)},getBasicEleInfo:function(t,n,i,a,o){var s=r(a)?a:{},l=e(o)?o:e(a)?a:void 0,u=this.getEleDetail(n);if(Fi.para.heatmap&&Fi.para.heatmap.custom_property){var c=Fi.para.heatmap.custom_property(n);r(c)&&(u=P(u,c))}return u=P(u,this.getPointerEventProp(t,n),s),{event:t,target:n,props:u,tagName:i,callback:l}},hasElement:function(e,t){var r;if(e.event){var n=e.event;r=n.path||n._getPath&&n._getPath()}else e.element&&(r=y(e.element).getParents());if(r&&v(r)&&r.length>0)for(var i=0;i-1)&&(!t||Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&Fi.para.heatmap.collect_tags.div?!!(r(Fi.para.heatmap)&&r(Fi.para.heatmap.collect_tags)&&r(Fi.para.heatmap.collect_tags.div)&&v(Fi.para.heatmap.collect_tags.div.ignore_tags)&&re(Fi.para.heatmap.collect_tags.div.ignore_tags,e)>-1):re(i,e)>-1)},isCollectableDiv:function(e,t){try{if(0===e.children.length)return!0;for(var r=0;r1||this.isStyleTag(n,t)))return!1;if(!this.isCollectableDiv(e.children[r],t))return!1}return!0}catch(a){je("isCollectableDiv:"+a)}return!1},getCollectableParent:function(e,t){try{var r=e.parentNode,n=r?r.tagName.toLowerCase():"";if("body"===n)return!1;var i=Fi.para&&Fi.para.heatmap&&Fi.para.heatmap.collect_tags&&Fi.para.heatmap.collect_tags.div&&Fi.para.heatmap.collect_tags.div.max_level;if(n&&"div"===n&&(i>1||this.isCollectableDiv(r,t)))return r;if(r&&this.isStyleTag(n,t))return this.getCollectableParent(r,t)}catch(a){je("getCollectableParent:"+a)}return!1},listenUrlChange:function(e){e(),Fi.ee.spa.on("switch",function(){e()})},initScrollmap:function(){if(!r(Fi.para.heatmap)||"default"!==Fi.para.heatmap.scroll_notice_map)return!1;var t=!0;Fi.para.scrollmap&&e(Fi.para.scrollmap.collect_url)&&this.listenUrlChange(function(){t=!!Fi.para.scrollmap.collect_url()});var n=function(e){var t={};return t.timeout=e.timeout||1e3,t.func=e.func,t.hasInit=!1,t.inter=null,t.main=function(e,t){this.func(e,t),this.inter=null},t.go=function(e){var r={};this.inter||(r.$viewport_position=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop||0,r.$viewport_position=Math.round(r.$viewport_position)||0,e?t.main(r,!0):this.inter=setTimeout(function(){t.main(r)},this.timeout))},t},i=n({timeout:1e3,func:function(e,t){var r=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop||0,n=new Date,i=n-this.current_time;(i>Fi.para.heatmap.scroll_delay_time&&r-e.$viewport_position!==0||t)&&(e.$url=Z(),e.$title=document.title,e.$url_path=G(),e.event_duration=Math.min(Fi.para.heatmap.scroll_event_duration,parseInt(i)/1e3),e.event_duration=e.event_duration<0?0:e.event_duration,ht(e)),this.current_time=n}});i.current_time=new Date,He(window,"scroll",function(){return!!t&&void i.go()}),He(window,"unload",function(){return!!t&&void i.go("notime")})},initHeatmap:function(){var t=this,n=!0;return!(!r(Fi.para.heatmap)||"default"!==Fi.para.heatmap.clickmap)&&(e(Fi.para.heatmap.collect_url)&&this.listenUrlChange(function(){n=!!Fi.para.heatmap.collect_url()}),"all"===Fi.para.heatmap.collect_elements?Fi.para.heatmap.collect_elements="all":Fi.para.heatmap.collect_elements="interact",void("all"===Fi.para.heatmap.collect_elements?He(document,"click",function(e){if(!n)return!1;var r=e||window.event;if(!r)return!1;var i=r.target||r.srcElement;if("object"!=typeof i)return!1;if("string"!=typeof i.tagName)return!1;var a=i.tagName.toLowerCase();if("body"===a||"html"===a)return!1;if(!i||!i.parentNode||!i.parentNode.children)return!1;var o=i.parentNode.tagName.toLowerCase();"a"===o||"button"===o?t.start(r,i.parentNode,o):t.start(r,i,a)}):He(document,"click",function(e){if(!n)return!1;var i=e||window.event;if(!i)return!1;var a=i.target||i.srcElement,o=Fi.heatmap.getTargetElement(a,e);o?t.start(i,o,o.tagName.toLowerCase()):_(a)&&"div"===a.tagName.toLowerCase()&&r(Fi.para.heatmap)&&Fi.para.heatmap.get_vtrack_config&&Ra.events.length>0&&Ra.isTargetEle(a)&&t.start(i,a,a.tagName.toLowerCase(),{$lib_method:"vtrack"})})))}},Wa={autoTrackIsUsed:!1,isReady:function(t){return e(t)?void t():void Fi.log("error: isReady callback must be function")},getUtm:function(){return ba.campaignParams()},getStayTime:function(){return(new Date-Fi._t)/1e3},setProfileLocal:function(e){if(!zi.isSupport())return Fi.setProfile(e),!1;if(!r(e)||oe(e))return!1;var t=$a.readObjectVal("sensorsdata_2015_jssdk_profile"),n=!1;if(r(t)&&!oe(t)){for(var i in e)!(i in t&&t[i]!==e[i])&&i in t||(t[i]=e[i],n=!0);n&&($a.saveObjectVal("sensorsdata_2015_jssdk_profile",t),Fi.setProfile(e))}else $a.saveObjectVal("sensorsdata_2015_jssdk_profile",e),Fi.setProfile(e)},setInitReferrer:function(){var e=De();Fi.setOnceProfile({_init_referrer:e,_init_referrer_host:ba.pageProp.referrer_host})},setSessionReferrer:function(){var e=De();$a.setSessionPropsOnce({_session_referrer:e,_session_referrer_host:ba.pageProp.referrer_host})},setDefaultAttr:function(){ba.register({_current_url:location.href,_referrer:De(),_referring_host:ba.pageProp.referrer_host})},trackHeatMap:function(e,t,r){if("object"==typeof e&&e.tagName&&_(e.parentNode)){var n=e.tagName.toLowerCase(),i=e.parentNode.tagName.toLowerCase(),a=Fi.para.heatmap&&Fi.para.heatmap.track_attr?Fi.para.heatmap.track_attr:["data-sensors-click"];"button"===n||"a"===n||"a"===i||"button"===i||"input"===n||"textarea"===n||Y(e,a)||Va.start(null,e,n,t,r)}},trackAllHeatMap:function(e,t,r){if("object"==typeof e&&e.tagName){var n=e.tagName.toLowerCase();Va.start(null,e,n,t,r)}},autoTrackSinglePage:function(e,t){function n(e,t){Fi.track("$pageview",P({$referrer:i,$url:Z(),$url_path:G(),$title:document.title},e,mt()),t),i=Z()}var i;i=this.autoTrackIsUsed?ba.pageProp.url:ba.pageProp.referrer,e=r(e)?e:{};var a=!e.not_set_profile;e.not_set_profile&&delete e.not_set_profile,n(e,t),this.autoTrackSinglePage=n,vt(Fi.setOnceProfile,!1,a)},autoTrackWithoutProfile:function(e,t){e=r(e)?e:{},this.autoTrack(P(e,{not_set_profile:!0}),t)},autoTrack:function(e,t){e=r(e)?e:{};var n=mt(),i=!e.not_set_profile;e.not_set_profile&&delete e.not_set_profile;var a=location.href;Fi.para.is_single_page&&w(function(){var r=De(a,!0);Fi.track("$pageview",P({$referrer:r,$url:Z(),$url_path:G(),$title:document.title},n,e),t),a=Z()}),Fi.track("$pageview",P({$referrer:De(null,!0),$url:Z(),$url_path:G(),$title:document.title},n,e),t),vt(Fi.setOnceProfile,!0,i),this.autoTrackIsUsed=!0},getAnonymousID:function(){return oe($a._state)?"SDK is not initialized.":$a._state._first_id||$a._state.first_id||$a._state._distinct_id||$a._state.distinct_id},setPlugin:function(t){return!!r(t)&&void k(t,function(t,n){e(t)&&(r(window.SensorsDataWebJSSDKPlugin)&&window.SensorsDataWebJSSDKPlugin[n]?t(window.SensorsDataWebJSSDKPlugin[n]):r(Fi.modules)&&Fi.modules[n]?t(window.SensorsDataWebJSSDKPlugin[n]):Ne(n+"is not found,please check sensorsdata documents."))})},useModulePlugin:function(){Fi.use.apply(Fi,arguments)},useAppPlugin:function(){this.setPlugin.apply(this,arguments)}},za=new l,Xa=new l,Za={};Za.spa=za,Za.sdk=Xa,Za.initSystemEvent=function(){yt(function(e){za.emit("switch",e)})},Za.EVENT_LIST={spaSwitch:["spa","switch"],sdkBeforeInit:["sdk","beforeInit"],sdkInitPara:["sdk","initPara"],sdkAfterInitPara:["sdk","afterInitPara"],sdkInitAPI:["sdk","initAPI"],sdkAfterInitAPI:["sdk","afterInitAPI"],sdkAfterInit:["sdk","afterInit"],sdkReady:["sdk","ready"]};var Ga={state:0,historyState:[],stateType:{1:"1-init\u672a\u5f00\u59cb",2:"2-init\u5f00\u59cb",3:"3-store\u5b8c\u6210"},getState:function(){return this.historyState.join("\n")},setState:function(e){String(e)in this.stateType&&(this.state=e),this.historyState.push(this.stateType[e])}},Qa=1,Ya={__proto__:null,setInitVar:Pt,initPara:Ct,quick:Ot,use:Nt,track:jt,bind:Tt,unbind:It,trackLink:$t,trackLinks:At,setItem:Dt,deleteItem:xt,setProfile:Et,setOnceProfile:Lt,appendProfile:Ut,incrementProfile:Rt,deleteProfile:Ht,unsetProfile:Bt,identify:Jt,trackSignup:qt,registerPage:Kt,clearAllRegister:Ft,clearPageRegister:Vt,register:Wt,registerOnce:zt,registerSession:Xt,registerSessionOnce:Zt,login:Gt,loginWithKey:Qt,logout:Yt,getPresetProperties:er,readyState:Ga,debug:ya,on:bt,log:Oe};Wi.setup(Oe);var eo=P({},la,Ta),to={bridge_info:{touch_app_bridge:!1,verify_success:!1,platform:"",support_two_way_call:!1},is_verify_success:!1,initPara:function(){var e={is_send:Fi.para.use_app_track_is_send!==!1&&"only"!==Fi.para.use_app_track,white_list:[],is_mui:"mui"===Fi.para.use_app_track};"object"==typeof Fi.para.app_js_bridge?Fi.para.app_js_bridge=P({},e,Fi.para.app_js_bridge):Fi.para.use_app_track!==!0&&Fi.para.app_js_bridge!==!0&&"only"!==Fi.para.use_app_track&&"mui"!==Fi.para.use_app_track||(Fi.para.app_js_bridge=P({},e)),Fi.para.app_js_bridge.is_send===!1&&Ne("\u8bbe\u7f6e\u4e86 is_send:false,\u5982\u679c\u6253\u901a\u5931\u8d25\uff0c\u6570\u636e\u5c06\u88ab\u4e22\u5f03!")},app_js_bridge_v1:function(){function e(e){n=e,ue(n)&&(n=JSON.parse(n)),i&&(i(n),i=null,n=null)}function t(){"object"==typeof window.SensorsData_APP_JS_Bridge&&window.SensorsData_APP_JS_Bridge.sensorsdata_call_app&&(n=window.SensorsData_APP_JS_Bridge.sensorsdata_call_app(),ue(n)&&(n=JSON.parse(n)))}function r(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream){var e=document.createElement("iframe");e.setAttribute("src","sensorsanalytics://getAppInfo"),document.documentElement.appendChild(e),e.parentNode.removeChild(e),e=null}}var n=null,i=null;window.sensorsdata_app_js_bridge_call_js=function(t){e(t)},Fi.getAppStatus=function(e){return r(),t(),e?void(null===n?i=e:(e(n),n=null)):n}},hasVisualModeBridge:function(){var e=window.SensorsData_App_Visual_Bridge,t="sensorsdata_visualized_mode";return r(e)&&e[t]&&(e[t]===!0||e[t]())},validateAppUrl:ir};rr.prototype.call=function(e,t){var r=this,i=(new Date).getTime().toString(16)+String(n()).replace(".","").slice(1,8);this.resultCbs[i]=r.resultCbs[i]||{result:null,callbacks:[]},this.timeoutCbs[i]=r.timeoutCbs[i]||{isTimeout:!1,callbacks:[]},e=e.data?e:{data:e},e.data.message_id=i;var a=P({callType:this.type},e);return t&&(this.timerId=setTimeout(function(){r.timeoutCbs[i].isTimeout=!0;for(var e in r.timeoutCbs[i].callbacks)r.timeoutCbs[i].callbacks[e].call(null),r.timeoutCbs[i].callbacks.splice(e,1)},t)),nr(a),{onResult:function(e){return r.resultCbs[i].result?(e(r.resultCbs[i].result),this):(!r.timeoutCbs[i].isTimeout&&r.resultCbs[i].callbacks.push(e),this)},onTimeout:function(e){return r.timeoutCbs[i].isTimeout?(e(),this):(!r.resultCbs[i].result&&r.timeoutCbs[i].callbacks.push(e),this)}}},rr.prototype.onAppNotify=function(e){this.appCallJsCallback=e},rr.prototype.notifyApp=function(e,t){var r=P({callType:this.type},e);return t&&(r.message_id=t),nr(r)},ar.prototype={"double":function(){},getAppData:function(){},hasAppBridge:function(){return Fi.bridge.bridge_info.support_two_way_call},init:function(){},jsCallApp:function(){},requestToApp:function(t){this.bridge.call(t,t.timeout.time).onResult(function(r){e(t.callback)&&t.callback(r)}).onTimeout(function(){e(t.timeout.callback)&&t.timeout.callback()})}};var ro={isSeachHasKeyword:function(){return""!==V(location.href,"sa-request-id")&&("string"==typeof sessionStorage.getItem("sensors-visual-mode")&&sessionStorage.removeItem("sensors-visual-mode"),!0)},hasKeywordHandle:function(){var e=location.href,t=V(e,"sa-request-id")||null,r=V(e,"sa-request-type")||null,n=V(e,"sa-request-url")||null;if(Va.setNotice(n),ia.isSupport())if(null!==n&&sessionStorage.setItem("sensors_heatmap_url",n),sessionStorage.setItem("sensors_heatmap_id",t),null!==r)"1"===r||"2"===r||"3"===r?sessionStorage.setItem("sensors_heatmap_type",r):r=null;else{var i=sessionStorage.getItem("sensors_heatmap_type");r=null!==i?i:null}this.isReady(t,r)},isReady:function(e,t,r){Fi.para.heatmap_url?_e({success:function(){setTimeout(function(){"undefined"!=typeof sa_jssdk_heatmap_render&&(sa_jssdk_heatmap_render(Fi,e,t,r),"object"==typeof console&&"function"==typeof console.log&&(Fi.heatmap_version&&Fi.heatmap_version===Fi.lib_version||Ne("heatmap.js\u4e0esensorsdata.js\u7248\u672c\u53f7\u4e0d\u4e00\u81f4\uff0c\u53ef\u80fd\u5b58\u5728\u98ce\u9669!")))},0)},error:function(){},type:"js",url:Fi.para.heatmap_url}):je("\u6ca1\u6709\u6307\u5b9aheatmap_url\u7684\u8def\u5f84")},isStorageHasKeyword:function(){return ia.isSupport()&&"string"==typeof sessionStorage.getItem("sensors_heatmap_id")},storageHasKeywordHandle:function(){Va.setNotice(),ro.isReady(sessionStorage.getItem("sensors_heatmap_id"),sessionStorage.getItem("sensors_heatmap_type"),location.href)},isWindowNameHasKeyword:function(){try{var e=JSON.parse(window.name),t=p(e["sa-request-page-url"])?u(e["sa-request-page-url"]):null;return e["sa-request-id"]&&p(e["sa-request-id"])&&t===location.href}catch(r){return!1}},windowNameHasKeywordHandle:function(){function e(e){var r=t[e];return p(r)?u(r):null}var t=JSON.parse(window.name),r=e("sa-request-id"),n=e("sa-request-type"),i=e("sa-request-url");Va.setNotice(i),ia.isSupport()&&(null!==i&&sessionStorage.setItem("sensors_heatmap_url",i),sessionStorage.setItem("sensors_heatmap_id",r),null!==n?"1"===n||"2"===n||"3"===n?sessionStorage.setItem("sensors_heatmap_type",n):n=null:n=null!==sessionStorage.getItem("sensors_heatmap_type")?sessionStorage.getItem("sensors_heatmap_type"):null),ro.isReady(r,n)}},no={isStorageHasKeyword:function(){return ia.isSupport()&&"string"==typeof sessionStorage.getItem("sensors-visual-mode")},isSearchHasKeyword:function(){return(sr("sa-visual-mode")===!0||"true"===sr("sa-visual-mode"))&&("string"==typeof sessionStorage.getItem("sensors_heatmap_id")&&sessionStorage.removeItem("sensors_heatmap_id"),!0)},loadVtrack:function(){_e({success:function(){},error:function(){},type:"js",url:Fi.para.vtrack_url?Fi.para.vtrack_url:gt()+"//static.sensorsdata.cn/sdk/"+Fi.lib_version+"/vtrack.min.js"})},messageListener:function(e){if(!e||!e.data||"sa-fe"!==e.data.source)return!1;if("v-track-mode"===e.data.type){if(e.data.data&&e.data.data.isVtrack)if(ia.isSupport()&&sessionStorage.setItem("sensors-visual-mode","true"),e.data.data.userURL&&location.href.match(/sa-visual-mode=true/)){var t=e.data.data.userURL;t&&(window.location.href=encodeURI(t))}else no.loadVtrack();window.removeEventListener("message",no.messageListener,!1)}},removeMessageHandle:function(){window.removeEventListener&&window.removeEventListener("message",no.messageListener,!1)},verifyVtrackMode:function(){window.addEventListener&&window.addEventListener("message",no.messageListener,!1),no.postMessage()},postMessage:function(){try{window.parent&&window.parent.postMessage&&window.parent.postMessage({source:"sa-web-sdk",type:"v-is-vtrack",data:{sdkversion:ga}},"*")}catch(e){je("\u6d4f\u89c8\u5668\u7248\u672c\u8fc7\u4f4e\uff0c\u4e0d\u652f\u6301 postMessage API")}},notifyUser:function(){var e=function(t){return!(!t||!t.data||"sa-fe"!==t.data.source)&&void("v-track-mode"===t.data.type&&(t.data.data&&t.data.data.isVtrack&&alert("\u5f53\u524d\u7248\u672c\u4e0d\u652f\u6301\uff0c\u8bf7\u5347\u7ea7\u90e8\u7f72\u795e\u7b56\u6570\u636e\u6cbb\u7406"),window.removeEventListener("message",e,!1)))};window.addEventListener&&window.addEventListener("message",e,!1),no.postMessage()}},io=["setItem","deleteItem","getAppStatus","track","quick","register","registerPage","registerOnce","trackSignup","setProfile","setOnceProfile","appendProfile","incrementProfile","deleteProfile","unsetProfile","identify","login","logout","trackLink","clearAllRegister","clearPageRegister","bind","unbind","loginWithKey"],ao={track:function(e,t,r){},quick:function(e,t,r,n){},register:function(e){},registerPage:function(e){},registerOnce:function(e){},clearAllRegister:function(e){},trackSignup:function(e,t,r,n){},setProfile:function(e,t){},setOnceProfile:function(e,t){},appendProfile:function(e,t){},incrementProfile:function(e,t){},deleteProfile:function(e){},unsetProfile:function(e,t){},identify:function(e,t){},login:function(e,t){},logout:function(e){},trackLink:function(e,t,r){},deleteItem:function(e,t){},setItem:function(e,t,r){},getAppStatus:function(e){},clearPageRegister:function(e){}};mr.prototype.process=function(e,t){if(!(e&&e in this.processDef))return void je("process ["+e+"] is not supported");var r=this.registeredInterceptors[e];if(r&&v(r)&&r.length>0)for(var n={current:0,total:r.length},i=new hr(t,n,Fi),a=0;a=2)&&(wo&&(Cr(!0),gr()),Za.initSystemEvent(),Fi.setInitVar(),Fi.readyState.setState(2),Fi.initPara(e),Za.sdk.emit("initPara"),Za.sdk.emit("afterInitPara"),Za.sdk.emit("initAPI"),Za.sdk.emit("afterInitAPI"),Fi.detectMode(),tr(),Za.sdk.emit("afterInit"),void Za.sdk.emit("ready"))},wo?Cr(!1):(Cr(!0),gr());var So,ko,Po,Co,Oo,No,jo,To,Io,$o,Ao,Do,xo,Eo,Lo,Uo,Ro,Ho,Bo="1.25.15",Jo={init:function(e){var t=e._.isString,r=e._.rot13defs,n=e._.dfmapping,i="data:enc;",a="dfm-enc-";e.ee.sdk.on("afterInitPara",function(){e.kit.userEncrypt=function(e){return a+n(e)},e.kit.userDecrypt=function(e){return 0===e.indexOf(i)?(e=e.substring(i.length),e=r(e)):0===e.indexOf(a)&&(e=e.substring(a.length),e=n(e)),e},e.kit.userDecryptIfNeeded=function(r){return!t(r)||0!==r.indexOf(i)&&0!==r.indexOf(a)||(r=e.kit.userDecrypt(r)),r}})},plugin_name:"UserEncryptDefault"},Mo=jr(Jo),qo="1.25.15",Ko={sd:null,init:function(e){if(this.sd)return!1;if(this.sd=e,!this.sd||!this.sd._)return!1;var t=this.sd._.cookie.get("sensors_amp_id"),r=this.sd.store._state.distinct_id;if(t&&t.length>0){var n="amp-"===t.slice(0,4);if(t!==r){if(!n)return!1;this.sd.store._state.first_id?(this.sd.identify(t,!0),this.sd.saEvent.send({original_id:t,distinct_id:r,type:"track_signup",event:"$SignUp",properties:{}},null),this.setAmpId(r)):this.sd.identify(t,!0)}}else this.setAmpId(r);this.addListener()},addListener:function(){var e=this;this.sd.events.on("changeDistinctId",function(t){e.setAmpId(t)}),this.sd.events.isReady()},setAmpId:function(e){this.sd._.cookie.set("sensors_amp_id",e)}},Fo=$r(Ko,"Amp","sdkReady"),Vo=window.SensorsData_App_Visual_Bridge,Wo=Vo&&Vo.sensorsdata_visualized_mode,zo=Vo&&Vo.sensorsdata_visualized_alert_info,Xo=Vo&&Vo.sensorsdata_hover_web_nodes,Zo={isVerify:function(){return Wo&&(Wo===!0||Wo.call(Vo))},commands:{app_alert:Ar,visualized_track:Dr,page_info:Dr,sensorsdata_get_app_visual_config:xr}},Go="1.25.15",Qo={init:function(e){Co=e,Oo=Co&&Co._,No=Co&&Co.log||console&&console.log||function(){},Rr()},handleCommand:Br},Yo=Ur(Qo,"AndroidBridge","sdkAfterInitPara"),es=window.SensorsData_App_Visual_Bridge,ts=es&&es.sensorsdata_visualized_mode,rs=es&&es.sensorsdata_visualized_alert_info,ns=es&&es.sensorsdata_hover_web_nodes,is={isVerify:function(){return ts&&(ts===!0||ts.call(es))},commands:{app_alert:Jr,visualized_track:Mr,page_info:Mr,sensorsdata_get_app_visual_config:qr}},as="1.25.15",os={init:function(e){Ao=e,Do=Ao&&Ao._,xo=Ao&&Ao.log||console&&console.log||function(){},Wr()},handleCommand:Xr},ss=Vr(os,"AndroidObsoleteBridge","sdkAfterInitPara"),ls="1.25.15",us={event_list:[],latest_event_initial_time:null,max_save_time:2592e6,init:function(e,t){function r(){return Eo=Lo._,Uo=Lo.store,!!Eo.localStorage.isSupport()&&(Lo.para.max_string_length=1024,n.eventList.init(),n.addLatestChannelUrl(),void n.addIsChannelCallbackEvent())}if(Lo||!e)return!1;t=t||{},Ro=t.cookie_name||"sensorsdata2015jssdkchannel",Lo=e;var n=this;r()},addIsChannelCallbackEvent:function(){Lo.registerPage({$is_channel_callback_event:function(e){if(Eo.isObject(e)&&e.event&&"$WebClick"!==e.event&&"$pageview"!==e.event&&"$WebStay"!==e.event&&"$SignUp"!==e.event)return!us.eventList.hasEvent(e.event)&&(us.eventList.add(e.event),!0)}})},addLatestChannelUrl:function(){var e=this.getUrlDomain(),t=this.cookie.getChannel();if("url\u89e3\u6790\u5931\u8d25"===e)this.registerAndSave({_sa_channel_landing_url:"",_sa_channel_landing_url_error:"url\u7684domain\u89e3\u6790\u5931\u8d25"});else if(Eo.isReferralTraffic(document.referrer)){var r=Eo.getQueryParam(location.href,"sat_cf");Eo.isString(r)&&r.length>0?(this.registerAndSave({_sa_channel_landing_url:location.href}),us.channelLinkHandler()):this.registerAndSave({_sa_channel_landing_url:""})}else t?Lo.registerPage(t):Lo.registerPage({_sa_channel_landing_url:"",_sa_channel_landing_url_error:"\u53d6\u503c\u5f02\u5e38"})},registerAndSave:function(e){Lo.registerPage(e),this.cookie.saveChannel(e)},cookie:{getChannel:function(){var e=Lo.kit.userDecryptIfNeeded(Eo.cookie.get(Ro));return e=Eo.safeJSONParse(e),!(!Eo.isObject(e)||!e.prop)&&e.prop},saveChannel:function(e){var t={prop:e},r=JSON.stringify(t);Lo.para.encrypt_cookie&&(r=Lo.kit.userEncrypt(r)),Eo.cookie.set(Ro,r)}},channelLinkHandler:function(){this.eventList.reset(),Lo.track("$ChannelLinkReaching")},getUrlDomain:function(){var e=Eo.info.pageProp.url_domain;return""===e&&(e="url\u89e3\u6790\u5931\u8d25"),e},eventList:{init:function(){var e=this.get(),t=(new Date).getTime();if(e&&Eo.isNumber(e.latest_event_initial_time)&&Eo.isArray(e.eventList)){var r=t-e.latest_event_initial_time;r>0&&r0&&(1===arguments.length&&Cs(arguments[0])?t=arguments[0]:arguments.length>=2&&Cs(arguments[1])&&(t=arguments[1])),!Ps())return this.log("\u4e0d\u652f\u6301\u5f53\u524d\u7cfb\u7edf\uff0c\u76ee\u524d\u53ea\u652f\u6301Android\u548ciOS"),!1;if(Cs(t)&&this.sd._.isNumber(t.timeout)&&t.timeout>=2500&&(this.timeout=t.timeout),!this.sd.para.server_url)return this.log("\u795e\u7b56JS SDK\u914d\u7f6e\u9879server_url\u672a\u6b63\u786e\u914d\u7f6e"),!1;var r=Ns(this.sd);this.apiURL=this.apiURL.replace("{origin}",r.origin).replace("{project}",r.project);var n=this.sd._.getQueryParam(window.location.href,"deeplink");if(!n)return this.log("\u5f53\u524d\u9875\u9762\u7f3a\u5c11deeplink\u53c2\u6570"),!1;n=window.decodeURIComponent(n);var i=Os(n);return i?(this.key=i[2],this.apiURL=this.apiURL.replace("{key}",window.encodeURIComponent(i[2])),this.sd._.ajax({url:this.apiURL,type:"GET",cors:!0,credentials:!1,success:function(e){return e.errorMsg?(Is.log("API\u62a5\u9519\uff1a"+e.errorMsg),!1):(Is.data=e,Is.log("API\u67e5\u8be2\u6210\u529f\uff0c\u6570\u636e\uff1a"+JSON.stringify(e,null," ")),void(this.data.app_key&&(this.data.android_info&&this.data.android_info.url_schemes&&(this.data.android_info.url_schemes+="://sensorsdata/sd/"+this.data.app_key+"/"+this.key),this.data.ios_info&&this.data.ios_info.url_schemes&&(this.data.ios_info.url_schemes+="://sensorsdata/sd/"+this.data.app_key+"/"+this.key))))}.bind(this),error:function(){Is.log("API\u67e5\u8be2\u51fa\u9519")}}),void this.addListeners()):(this.log("\u5f53\u524d\u9875\u9762\u7684deeplink\u53c2\u6570\u65e0\u6548"),!1)},openDeepLink:function(){if(this.log("openDeeplink()"),!this.data)return this.log("\u6ca1\u6709Deep link\u6570\u636e!"),!1;if("iOS"===ks){this.log("\u5f53\u524d\u7cfb\u7edf\u662fiOS");var e=this.sd&&this.sd._&&this.sd._.getIOSVersion()>=9&&this.data.ios_info.ios_wake_url?this.data.ios_info.ios_wake_url:this.data.ios_info.url_schemes;this.log("\u5524\u8d77APP\u7684\u5730\u5740\uff1a"+e),Ts(this,e,this.data.ios_info.download_url)}else this.log("\u5f53\u524d\u7cfb\u7edf\u662f android"),js(this,this.data.android_info.url_schemes,this.data.android_info.download_url); +},log:function(e){this.sd&&this.sd.log(e)},addListeners:function(){var e=ds().visibilityChange,t=this;e&&document.addEventListener(e,function(){clearTimeout(t.timer),t.log("visibilitychange, clear timeout:"+t.timer)},!1),window.addEventListener("pagehide",function(){t.log("page hide, clear timeout:"+t.timer),clearTimeout(t.timer)},!1)}},$s=tn(Is,"Deeplink","sdkReady"),As="1.25.15",Ds={init:function(e){_s=e,hs=_s&&_s._,ms=_s&&_s.log||console&&console.log||function(){},sn()},handleCommand:un},xs=on(Ds,"IOSBridge","sdkAfterInitPara"),Es="1.25.15",Ls={init:function(e){vs=e,ys=vs&&vs._,bs=vs&&vs.log||console&&console.log||function(){},fn()}},Us=dn(Ls,"IOSObsoleteBridge","sdkAfterInitPara"),Rs="1.25.15",Hs=5e3,Bs=432e3;bn.prototype.init=function(e,t){if(e){if(this.sd=e,this._=this.sd._,t){this.option=t;var r=t.heartbeat_interval_time;r&&(this._.isNumber(r)||this._.isNumber(1*r))&&1*r>0&&(this.heartbeat_interval_time=1e3*r);var n=t.max_duration;n&&(this._.isNumber(n)||this._.isNumber(1*n))&&1*n>0&&(this.max_duration=n)}this.page_id=Number(String(this._.getRandom()).slice(2,5)+String(this._.getRandom()).slice(2,4)+String((new Date).getTime()).slice(-4)),this.addEventListener(),document.hidden===!0?this.page_show_status=!1:this.addHeartBeatInterval(),this.log("PageLeave\u521d\u59cb\u5316\u5b8c\u6bd5")}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},bn.prototype.log=function(e){this.sd&&this.sd.log(e)},bn.prototype.refreshPageEndTimer=function(){var e=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout(function(){e.page_hidden_status=!1},Hs)},bn.prototype.hiddenStatusHandler=function(){clearTimeout(this.timer),this.timer=null,this.page_hidden_status=!1},bn.prototype.pageStartHandler=function(){this.start_time=+new Date,!document.hidden==!0?this.page_show_status=!0:this.page_show_status=!1,this.url=location.href,this.title=document.title},bn.prototype.pageEndHandler=function(){if(this.page_hidden_status!==!0){var e=this.getPageLeaveProperties();this.page_show_status===!1&&delete e.event_duration,this.page_show_status=!1,this.page_hidden_status=!0,this.isCollectUrl(this.url)&&this.sd.track("$WebPageLeave",e),this.refreshPageEndTimer(),this.delHeartBeatData()}},bn.prototype.addEventListener=function(){this.addPageStartListener(),this.addPageSwitchListener(),this.addSinglePageListener(),this.addPageEndListener()},bn.prototype.addPageStartListener=function(){var e=this;"onpageshow"in window&&this._.addEvent(window,"pageshow",function(){e.pageStartHandler(),e.hiddenStatusHandler()})},bn.prototype.isCollectUrl=function(e){return"function"!=typeof this.option.isCollectUrl||("string"!=typeof e||""===e||this.option.isCollectUrl(e))},bn.prototype.addSinglePageListener=function(){var e=this;this.sd.ee&&this.sd.ee.spa.prepend("switch",function(t){t!==location.href&&(e.url=t,e.pageEndHandler(),e.stopHeartBeatInterval(),e.current_page_url=e.url,e.pageStartHandler(),e.hiddenStatusHandler(),e.addHeartBeatInterval())})},bn.prototype.addPageEndListener=function(){var e=this;this._.each(["pagehide","beforeunload","unload"],function(t){"on"+t in window&&e._.addEvent(window,t,function(){e.pageEndHandler(),e.stopHeartBeatInterval()})})},bn.prototype.addPageSwitchListener=function(){var e=this;this._.listenPageState({visible:function(){e.pageStartHandler(),e.hiddenStatusHandler(),e.addHeartBeatInterval()},hidden:function(){e.url=location.href,e.title=document.title,e.pageEndHandler(),e.stopHeartBeatInterval()}})},bn.prototype.addHeartBeatInterval=function(){this._.localStorage.isSupport()&&this.startHeartBeatInterval()},bn.prototype.startHeartBeatInterval=function(){var e=this;this.heartbeat_interval_timer&&this.stopHeartBeatInterval();var t=!0;this.isCollectUrl(this.url)||(t=!1),this.heartbeat_interval_timer=setInterval(function(){t&&e.saveHeartBeatData()},this.heartbeat_interval_time),t&&this.saveHeartBeatData("is_first_heartbeat"),this.reissueHeartBeatData()},bn.prototype.stopHeartBeatInterval=function(){clearInterval(this.heartbeat_interval_timer),this.heartbeat_interval_timer=null},bn.prototype.saveHeartBeatData=function(e){var t=this.getPageLeaveProperties(),r=new Date;t.$time=r,"is_first_heartbeat"===e&&(t.event_duration=3.14);var n=this.sd.kit.buildData({type:"track",event:"$WebPageLeave",properties:t});try{"success"===this.sd.bridge.bridge_info.verify_success&&(n.properties.$time=1*r)}catch(i){this.log(i.message)}n.heartbeat_interval_time=this.heartbeat_interval_time,this.sd.store.saveObjectVal(this.storage_name+"-"+this.page_id,n)},bn.prototype.delHeartBeatData=function(e){this._.localStorage.isSupport()&&this._.localStorage.remove(e||this.storage_name+"-"+this.page_id)},bn.prototype.reissueHeartBeatData=function(){for(var e=window.localStorage.length,t=e-1;t>=0;t--){var r=window.localStorage.key(t);if(r&&r!==this.storage_name+"-"+this.page_id&&0===r.indexOf(this.storage_name+"-")){var n=this.sd.store.readObjectVal(r);this._.isObject(n)&&1*new Date-n.time>n.heartbeat_interval_time+5e3&&(delete n.heartbeat_interval_time,n._flush_time=(new Date).getTime(),this.sd.kit.sendData(n),this.delHeartBeatData(r))}}},bn.prototype.getPageLeaveProperties=function(){var e=(+new Date-this.start_time)/1e3;(isNaN(e)||e<0||e>this.max_duration)&&(e=0),e=Number(e.toFixed(3));var t=this._.getReferrer(this.current_page_url),r=document.documentElement&&document.documentElement.scrollTop||window.pageYOffset||document.body&&document.body.scrollTop||0;r=Math.round(r)||0;var n={$title:this.title,$url:this._.getURL(this.url),$url_path:this._.getURLPath(this._.URL(this.url).pathname),$referrer_host:t?this._.getHostname(t):"",$referrer:t,$viewport_position:r};return 0!==e&&(n.event_duration=e),n=this._.extend(n,this.option.custom_props)};var Js=new bn,Ms=yn(Js,"PageLeave","sdkReady"),qs="1.25.15",Ks=!1,Fs={init:function(e,t){function r(t,r){if(t.getEntries&&"function"==typeof t.getEntries){for(var n=t.getEntries(),i=null,a=0;a=0&&i<10737418240&&(r.$page_resource_size=Number((i/1024).toFixed(3)))}}function n(t){var r=0;if(t.timing){var n=t.timing;0!==n.fetchStart&&e._.isNumber(n.fetchStart)&&0!==n.domContentLoadedEventEnd&&e._.isNumber(n.domContentLoadedEventEnd)?r=n.domContentLoadedEventEnd-n.fetchStart:e.log("performance \u6570\u636e\u83b7\u53d6\u5f02\u5e38")}return r}function i(t){var r=0;if(e._.isFunction(t.getEntriesByType)){var n=t.getEntriesByType("navigation")||[{}];r=(n[0]||{}).domContentLoadedEventEnd||0}return r}function a(){var o=0,s=window.performance||window.webkitPerformance||window.msPerformance||window.mozPerformance,l={$url:e._.getURL(),$title:document.title,$url_path:e._.getURLPath(),$referrer:e._.getReferrer(null,!0)};if(s?(o=i(s)||n(s),r(s,l)):e.log("\u6d4f\u89c8\u5668\u672a\u652f\u6301 performance API."),o>0){var u=e._.isObject(t)&&t.max_duration||1800;o=Number((o/1e3).toFixed(3)),(!e._.isNumber(u)||u<=0||o<=u)&&(l.event_duration=o)}Ks||(e.track("$WebPageLoad",l),Ks=!0),window.removeEventListener?window.removeEventListener("load",a):window.detachEvent&&window.detachEvent("onload",a)}"complete"==document.readyState?a():window.addEventListener?window.addEventListener("load",a):window.attachEvent&&window.attachEvent("onload",a)}},Vs=kn(Fs,"PageLoad","sdkReady");Cn.prototype.init=function(e){if(e){this.sd=e,this._=e._,this.log=e.log;var t=this;e.registerInterceptor("buildDataStage",{extendProps:{priority:0,entry:function(e){return Pn(e,t)}}})}else this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},Cn.prototype.register=function(e){return this.sd?void(this._.isObject(e)&&this._.isArray(e.events)&&e.events.length>0&&this._.isObject(e.properties)&&!this._.isEmptyObject(e.properties)?this.customRegister.push(e):this.log("RegisterProperties: register \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")},Cn.prototype.hookRegister=function(e){return this.sd?void(this._.isFunction(e)?this.customRegister.push(e):this.log("RegisterProperties: hookRegister \u53c2\u6570\u9519\u8bef")):void this.log("\u795e\u7b56JS SDK\u672a\u6210\u529f\u5f15\u5165")};var Ws="1.25.15";Cn.prototype.plugin_name="RegisterProperties";var zs,Xs,Zs=new Cn,Gs=jn(Zs),Qs="1.25.15",Ys=window.console&&window.console.log||function(){},el={init:function(e){return zs=e,Ys=zs&&zs.log||Ys,e&&e.kit&&e.kit.buildData?(Xs=zs.kit.buildData,zs.kit.buildData=An,void Ys("RegisterPropertyPageHeight \u63d2\u4ef6\u521d\u59cb\u5316\u5b8c\u6210")):void Ys("RegisterPropertyPageHeight \u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25,\u5f53\u524d\u4e3bsdk\u4e0d\u652f\u6301 RegisterPropertyPageHeight \u63d2\u4ef6\uff0c\u8bf7\u5347\u7ea7\u4e3bsdk")}},tl=$n(el,"RegisterPropertyPageHeight","sdkReady"),rl="1.25.15",nl={};nl.getPart=function(e){var t=!1,r=this.option.length;if(r)for(var n=0;n-1)return!0;return t},nl.getPartHash=function(e){var t=this.option.length,r=!1;if(t)for(var n=0;n-1)return this.option[n].after_hash;return!!r},nl.getCurrenId=function(){var e=this.store.getDistinctId()||"",t=this.store.getFirstId()||"";this._.urlSafeBase64&&this._.urlSafeBase64.encode?e=e?this._.urlSafeBase64.trim(this._.urlSafeBase64.encode(this._.base64Encode(e))):"":this._.rot13obfs&&(e=e?this._.rot13obfs(e):"");var r=t?"f"+e:"d"+e;return encodeURIComponent(r)},nl.rewriteUrl=function(e,t){var r=this,n=/([^?#]+)(\?[^#]*)?(#.*)?/,i=n.exec(e),a="";if(i){var o,s=i[1]||"",l=i[2]||"",u=i[3]||"",c="_sasdk="+this.getCurrenId(),p=function(e){var t=e.split("&"),n=[];return r._.each(t,function(e){e.indexOf("_sasdk=")>-1?n.push(c):n.push(e)}),n.join("&")};if(this.getPartHash(e)){o=u.indexOf("_sasdk");var d=u.indexOf("?");a=d>-1?o>-1?s+l+"#"+u.substring(1,o)+p(u.substring(o,u.length)):s+l+u+"&"+c:s+l+"#"+u.substring(1)+"?"+c}else{o=l.indexOf("_sasdk");var f=/^\?(\w)+/.test(l);a=f?o>-1?s+"?"+p(l.substring(1))+u:s+l+"&"+c+u:s+"?"+c+u}return t&&(t.href=a),a}},nl.getUrlId=function(){var e=location.href.match(/_sasdk=([aufd][^\?\#\&\=]+)/);if(this._.isArray(e)&&e[1]){var t=decodeURIComponent(e[1]);return!t||"f"!==t.substring(0,1)&&"d"!==t.substring(0,1)||(this._.urlSafeBase64&&this._.urlSafeBase64.isUrlSafeBase64&&this._.urlSafeBase64.isUrlSafeBase64(t)?t=t.substring(0,1)+this._.base64Decode(this._.urlSafeBase64.decode(t.substring(1))):this._.rot13defs&&(t=t.substring(0,1)+this._.rot13defs(t.substring(1)))),t}return""},nl.setRefferId=function(e){var t=this.store.getDistinctId(),r=this.getUrlId();if(r&&""!==r){var n="a"===r.substring(0,1)||"d"===r.substring(0,1);r=r.substring(1),r!==t&&(n?(this.sd.identify(r,!0),this.store.getFirstId()&&this.sd.saEvent.send({original_id:r,distinct_id:t,type:"track_signup",event:"$SignUp",properties:{}},null)):this.store.getFirstId()&&!e.re_login||this.sd.login(r))}},nl.addListen=function(){var e=this,t=function(t){var r,n,i=t.target,a=i.tagName.toLowerCase(),o=i.parentNode;if("a"===a&&i.href||o&&o.tagName&&"a"===o.tagName.toLowerCase()&&o.href){"a"===a&&i.href?(r=i.href,n=i):(r=o.href,n=o);var s=e._.URL(r),l=s.protocol;"http:"!==l&&"https:"!==l||e.getPart(r)&&e.rewriteUrl(r,n)}};e._.addEvent(document,"mousedown",t),window.PointerEvent&&"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>=0&&e._.addEvent(document,"pointerdown",t)},nl.init=function(e,t){function r(t){for(var r=t.length,n=[],i=0;i0?(this.setRefferId(t),this.addListen(),this.option=t.linker,void(this.option=r(this.option))):void e.log("\u8bf7\u914d\u7f6e\u6253\u901a\u57df\u540d\u53c2\u6570\uff01")};var il,al,ol,sl,ll,ul,cl,pl,dl,fl,gl,_l,hl,ml=En(nl,"SiteLinker","sdkReady"),vl="utm_source utm_medium utm_campaign utm_content utm_term",yl="1.25.15",bl={init:function(e){function t(){var e=vl.split(" "),t="",r={};return il._.isArray(il.para.source_channel)&&il.para.source_channel.length>0&&(e=e.concat(il.para.source_channel),e=il._.unique(e)),il._.each(e,function(e){t=il._.getQueryParam(location.href,e),t.length&&(r[e]=t)}),r}e&&!il&&(il=e,il.registerInterceptor("businessStage",{getUtmData:{priority:0,entry:function(){return t()}}}))}},wl=Rn(bl,"Utm","sdkAfterInitPara"),Sl="1.25.15",kl=!1,Pl=null,Cl={init:function(e){Pl=e,Pl.disableSDK=Mn,Pl.enableSDK=qn,Pl.getDisabled=Kn}},Ol=Jn(Cl,"DisableSDK","sdkInitAPI"),Nl="1.25.15",jl={plugin_name:"DebugSender",init:function(e){al=e,ol=al._,Gn()}},Tl=Wn(jl),Il="1.25.15",$l={plugin_name:"JsappSender",init:function(e){sl=e,ll=sl._,ri()}},Al=ei($l),Dl="1.25.15",xl=null,El={plugin_name:"BatchSender",init:function(e){ul=e,cl=ul._,ui()}},Ll=oi(El),Ul="1.25.15",Rl={plugin_name:"BeaconSender",init:function(e){pl=e,dl=pl._,hi()}},Hl=di(Rl),Bl="1.25.15",Jl={plugin_name:"AjaxSender",init:function(e){fl=e,gl=fl._,ki()}},Ml=yi(Jl),ql="1.25.15",Kl={plugin_name:"ImageSender",init:function(e){_l=e,hl=_l._,$i()}},Fl=Oi(Kl),Vl=null,Wl=null,zl=[],Xl={init:function(e){e&&(Vl=e,Wl=Vl._,Vl.logger&&Vl.logger.appendWriter(Ei),Vl.on&&Vl.on("sdkAfterInitPara",function(){for(var e=0;e