(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1364d832"],{"0527":function(e,t,r){"use strict";var o=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"title"},[e._v("审定与核查机构")]),t("div",{staticClass:"line"}),t("el-form",{ref:"projectApprovalVO",attrs:{rules:e.rules,model:e.projectApprovalVO,"label-width":"180px",disabled:e.isView}},[t("el-row",{staticStyle:{"margin-top":"10px","padding-right":"20px"},attrs:{gutter:10}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"机构名称:",prop:"orgName"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入机构名称"},model:{value:e.projectApprovalVO.orgName,callback:function(t){e.$set(e.projectApprovalVO,"orgName",t)},expression:"projectApprovalVO.orgName"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"机构地址:",prop:"orgAddress"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入机构地址"},model:{value:e.projectApprovalVO.orgAddress,callback:function(t){e.$set(e.projectApprovalVO,"orgAddress",t)},expression:"projectApprovalVO.orgAddress"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"负责人:",prop:"director"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入负责人"},model:{value:e.projectApprovalVO.director,callback:function(t){e.$set(e.projectApprovalVO,"director",t)},expression:"projectApprovalVO.director"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"联系方式:",prop:"contactInfo"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入联系方式"},model:{value:e.projectApprovalVO.contactInfo,callback:function(t){e.$set(e.projectApprovalVO,"contactInfo",t)},expression:"projectApprovalVO.contactInfo"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"审定日期:",prop:"approveDate"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{"picker-options":e.pickerOptions,clearable:"",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",type:"date",placeholder:"请输入审定日期"},model:{value:e.projectApprovalVO.approveDate,callback:function(t){e.$set(e.projectApprovalVO,"approveDate",t)},expression:"projectApprovalVO.approveDate"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"项目审定报告:",prop:"attachList"}},[t("vz-upload",{ref:"upload",attrs:{files:e.projectApprovalVO.attachList,isViewFile:e.isView},on:{change:e.changeFile,removeFile:e.removeFileFn},model:{value:e.projectApprovalVO.attachList,callback:function(t){e.$set(e.projectApprovalVO,"attachList",t)},expression:"projectApprovalVO.attachList"}})],1)],1)],1)],1)],1)},i=[],a=r("af95"),s=r("a982"),l=r("0e0b"),n=r("f910"),c={data(){return{projectApprovalVO:{orgName:"",orgAddress:"",director:"",contactInfo:"",approveDate:"",attachList:""},emissionReductionProjects:{projectName:"",industry:"",methodology:"",methodologyVersion:"",projectStage:"项目设计"},rules:n["c"],menthodology:[],industryOptions:[],pickerOptions:{disabledDate(e){return e.getTime()>Date.now()}}}},props:{form:{type:Object,default:()=>{}},isView:{type:Boolean,require:!0,default:!1}},components:{vzUpload:a["a"]},mounted(){"{}"!==JSON.stringify(this.form)&&(this.projectApprovalVO=Object(l["b"])(this.form.projectApprovalVO),this.emissionReductionProjects=this.form.emissionReductionProjects,this.emissionReductionProjects.projectStage="项目审定")},methods:{async validate(){try{return await this.$refs["projectApprovalVO"].validate()}catch(e){return!1}},removeFileFn(e){let t=e.id;Object(s["removeFile"])(t).then(e=>{this.projectApprovalVO.attachList.forEach((e,r)=>{e.id==t&&this.projectApprovalVO.attachList.splice(r,1)})})},changeFile(e){}}},p=c,g=(r("baad"),r("1805")),d=Object(g["a"])(p,o,i,!1,null,"7c06bfde",null);t["a"]=d.exports},"08ff":function(e,t,r){},"7b65":function(e,t,r){"use strict";r("08ff")},a481:function(e,t,r){"use strict";var o=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"title"},[e._v("项目概况")]),t("div",{staticClass:"line"}),t("el-form",{ref:"emissionReductionProjects",attrs:{rules:e.emissionReductionProjectsRules,model:e.emissionReductionProjects,"label-width":"200px",disabled:e.isView}},[t("el-row",{staticStyle:{"margin-top":"10px","padding-right":"20px"},attrs:{gutter:10}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"项目名称:",prop:"projectName"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入项目名称"},model:{value:e.emissionReductionProjects.projectName,callback:function(t){e.$set(e.emissionReductionProjects,"projectName",t)},expression:"emissionReductionProjects.projectName"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"项目所属行业领域:",prop:"industry"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:"请选择所属行业"},model:{value:e.emissionReductionProjects.industry,callback:function(t){e.$set(e.emissionReductionProjects,"industry",t)},expression:"emissionReductionProjects.industry"}},e._l(e.industryOptions,(function(e){return t("el-option",{key:e.dictKey,attrs:{label:e.dictValue,value:e.dictValue}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"所选择的方法学:",prop:"methodology"}},[t("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:"请选择交易类型"},on:{change:e.changeMenthodology},model:{value:e.emissionReductionProjects.methodology,callback:function(t){e.$set(e.emissionReductionProjects,"methodology",t)},expression:"emissionReductionProjects.methodology"}},e._l(e.menthodology,(function(e){return t("el-option",{key:e.id,attrs:{label:e.methodologyName,value:e.methodologyName}})})),1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"方法学版本:",prop:"methodologyVersion"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入方法学版本"},model:{value:e.emissionReductionProjects.methodologyVersion,callback:function(t){e.$set(e.emissionReductionProjects,"methodologyVersion",t)},expression:"emissionReductionProjects.methodologyVersion"}})],1)],1)],1)],1),t("el-form",{ref:"projectDesign",attrs:{rules:e.rules,model:e.projectDesign,"label-width":"200px",disabled:e.isView}},[t("el-row",{staticStyle:{"margin-top":"10px","padding-right":"20px"},attrs:{gutter:10}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"项目设计文件版本:",prop:"projectDesignFileVersion"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入项目设计文件版本"},model:{value:e.projectDesign.projectDesignFileVersion,callback:function(t){e.$set(e.projectDesign,"projectDesignFileVersion",t)},expression:"projectDesign.projectDesignFileVersion"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"项目设计文件完成日期:",prop:"projectDesignFileCompletionDate"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{"picker-options":e.pickerOptions,clearable:"",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",type:"date",placeholder:"请输入完成日期"},model:{value:e.projectDesign.projectDesignFileCompletionDate,callback:function(t){e.$set(e.projectDesign,"projectDesignFileCompletionDate",t)},expression:"projectDesign.projectDesignFileCompletionDate"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"计入期起止时间:",prop:"startTimeOfInclusionPeriod"}},[t("el-date-picker",{staticStyle:{width:"100%"},attrs:{"picker-options":e.pickerOptions,clearable:"",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",type:"date",placeholder:"请输入起止时间"},model:{value:e.projectDesign.startTimeOfInclusionPeriod,callback:function(t){e.$set(e.projectDesign,"startTimeOfInclusionPeriod",t)},expression:"projectDesign.startTimeOfInclusionPeriod"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"预计的温室气体年均减排量:",prop:"estimatedAnnualGreenhouseGasEmissionReduction"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入减排量"},model:{value:e.projectDesign.estimatedAnnualGreenhouseGasEmissionReduction,callback:function(t){e.$set(e.projectDesign,"estimatedAnnualGreenhouseGasEmissionReduction",t)},expression:"\n projectDesign.estimatedAnnualGreenhouseGasEmissionReduction\n "}},[t("template",{slot:"append"},[e._v("tCo2")])],2)],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"项目设计文件:",prop:"attachA"}},[t("vz-upload",{ref:"upload",attrs:{files:e.projectDesign.attachA,isViewFile:e.isView},on:{change:e.changeFile,removeFile:e.removeFileFn},model:{value:e.projectDesign.attachA,callback:function(t){e.$set(e.projectDesign,"attachA",t)},expression:"projectDesign.attachA"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"支撑性文件:",prop:"attachB"}},[t("vz-upload",{ref:"upload",attrs:{files:e.projectDesign.attachB,isViewFile:e.isView},on:{change:e.changeFileHc,removeFile:e.removeFileFnHc},model:{value:e.projectDesign.attachB,callback:function(t){e.$set(e.projectDesign,"attachB",t)},expression:"projectDesign.attachB"}})],1)],1),t("el-col",{attrs:{span:24}},[t("div",{staticClass:"title"},[e._v("项目业主")]),t("div",{staticClass:"line"})]),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"项目业主:",prop:"projectOwner"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入项目业主"},model:{value:e.projectDesign.projectOwner,callback:function(t){e.$set(e.projectDesign,"projectOwner",t)},expression:"projectDesign.projectOwner"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"项目所有者:",prop:"projectProprietor"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入项目所有者"},model:{value:e.projectDesign.projectProprietor,callback:function(t){e.$set(e.projectDesign,"projectProprietor",t)},expression:"projectDesign.projectProprietor"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"注册地址:",prop:"registeredAddress"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入注册地址"},model:{value:e.projectDesign.registeredAddress,callback:function(t){e.$set(e.projectDesign,"registeredAddress",t)},expression:"projectDesign.registeredAddress"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"法人代表:",prop:"projectOwnerLegalRepresentative"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入法人代表"},model:{value:e.projectDesign.projectOwnerLegalRepresentative,callback:function(t){e.$set(e.projectDesign,"projectOwnerLegalRepresentative",t)},expression:"projectDesign.projectOwnerLegalRepresentative"}})],1)],1),t("el-col",{attrs:{span:24}},[t("div",{staticClass:"title"},[e._v("负责联系人")]),t("div",{staticClass:"line"})]),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"项目负责单位:",prop:"projectResponsibleUnit"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入项目负责单位"},model:{value:e.projectDesign.projectResponsibleUnit,callback:function(t){e.$set(e.projectDesign,"projectResponsibleUnit",t)},expression:"projectDesign.projectResponsibleUnit"}})],1)],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"项目负责人:",prop:"projectManager"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入项目负责人"},model:{value:e.projectDesign.projectManager,callback:function(t){e.$set(e.projectDesign,"projectManager",t)},expression:"projectDesign.projectManager"}})],1)],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"联系方式:",prop:"contactInformation"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入联系方式"},model:{value:e.projectDesign.contactInformation,callback:function(t){e.$set(e.projectDesign,"contactInformation",t)},expression:"projectDesign.contactInformation"}})],1)],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"联系地址:",prop:"contactAddress"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入联系地址"},model:{value:e.projectDesign.contactAddress,callback:function(t){e.$set(e.projectDesign,"contactAddress",t)},expression:"projectDesign.contactAddress"}})],1)],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"邮箱:",prop:"email"}},[t("el-input",{attrs:{clearable:"",placeholder:"请输入邮箱"},model:{value:e.projectDesign.email,callback:function(t){e.$set(e.projectDesign,"email",t)},expression:"projectDesign.email"}})],1)],1)],1)],1)],1)},i=[],a=(r("fcd3"),r("af95")),s=r("a982"),l=r("6fbe"),n=r("2f3b"),c=r("f910"),p=r("0e0b"),g={data(){return{projectDesign:{projectDesignFileVersion:"",projectDesignFileCompletionDate:"",startTimeOfInclusionPeriod:"",estimatedAnnualGreenhouseGasEmissionReduction:"",attachA:[],attachB:[],enterpriseName:"",projectProprietor:"",registeredAddress:"",projectResponsibleUnit:"",projectManager:"",contactInformation:"",contactAddress:"",email:""},emissionReductionProjects:{projectName:"",industry:"",methodology:"",methodologyVersion:"",projectStage:"项目设计"},emissionReductionProjectsRules:c["a"],rules:c["h"],menthodology:[],industryOptions:[],pickerOptions:{disabledDate(e){return e.getTime()>Date.now()}}}},props:{form:{type:Object,default:()=>{}},isView:{type:Boolean,require:!0,default:!1}},components:{vzUpload:a["a"]},mounted(){this.getMenthodology(),"{}"!==JSON.stringify(this.form)&&(this.projectDesign=Object(p["b"])(this.form.projectDesign),this.projectDesign.attachA=[],this.projectDesign.attachB=[],this.form.projectDesign.attachList&&this.form.projectDesign.attachList.forEach(e=>{"1"===e.dataSource?this.projectDesign.attachA.push(e):this.projectDesign.attachB.push(e)}),this.emissionReductionProjects=Object(p["b"])(this.form.emissionReductionProjects),this.emissionReductionProjects.projectStage="项目设计"),Object(n["qrCode"])("emission_reduction_project_industry").then(e=>{this.industryOptions=e.data.data[0].children||[]})},methods:{async validate(){try{return await this.$refs["projectDesign"].validate()}catch(e){return!1}},async validateEmissionReductionProjects(){try{return await this.$refs["emissionReductionProjects"].validate()}catch(e){return!1}},getMenthodology(){Object(l["getInternalAudit"])({size:10,current:1}).then(e=>{const t=e.data.data;this.menthodology=t?t.records:[]})},changeMenthodology(e){let t=this.menthodology.find(t=>t.methodologyName===e);this.emissionReductionProjects.methodologyVersion=t?t.methodologyVersion:""},removeFileFn(e){let t=e.id;Object(s["removeFile"])(t).then(e=>{this.projectDesign.attachA.forEach((e,r)=>{e.id==t&&this.projectDesign.attachA.splice(r,1)})})},removeFileFnHc(e){let t=e.id;Object(s["removeFile"])(t).then(e=>{this.projectDesign.attachB.forEach((e,r)=>{e.id==t&&this.projectDesign.attachB.splice(r,1)})})},changeFile(e){this.$refs.projectDesign.validateField("attachA")},changeFileHc(e){this.$refs.projectDesign.validateField("attachB")}}},d=g,u=(r("7b65"),r("1805")),m=Object(u["a"])(d,o,i,!1,null,"335d5c06",null);t["a"]=m.exports},baad:function(e,t,r){"use strict";r("d8c3")},d8c3:function(e,t,r){},f910:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"h",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"b",(function(){return l})),r.d(t,"e",(function(){return n})),r.d(t,"d",(function(){return c})),r.d(t,"g",(function(){return p})),r.d(t,"f",(function(){return g}));var o=r("c54a");const i={projectName:[{required:!0,message:"请输入项目名称",trigger:"blur"},{validator:o["j"],trigger:"blur"}],industry:[{required:!0,message:"请选择所属行业领域",trigger:"change"}],methodology:[{required:!0,message:"请选择方法学",trigger:"change"}],methodologyVersion:[{required:!0,message:"请输入方法学版本",trigger:"blur"}]},a={projectDesignFileVersion:[{required:!0,message:"请输入项目设计文件版本",trigger:"change"}],projectDesignFileCompletionDate:[{required:!0,message:"请选择项目设计文件完成日期",trigger:"blue"}],startTimeOfInclusionPeriod:[{required:!0,message:"请选择计入期起止时间",trigger:"blue"}],estimatedAnnualGreenhouseGasEmissionReduction:[{required:!0,message:"请输入减排量",trigger:"blur"},{validator:o["e"],trigger:"blur"}],attachA:[{required:!0,message:"请上传项目设计文件",trigger:"change"}],attachB:[{required:!0,message:"请上传支撑性文件",trigger:"change"}],projectOwner:[{required:!0,message:"请输入项目业主",trigger:"blur"},{validator:o["j"],trigger:"blur"}],projectProprietor:[{required:!0,message:"请输入项目所有者",trigger:"blur"},{validator:o["j"],trigger:"blur"}],registeredAddress:[{required:!0,message:"请输入注册地址",trigger:"blur"},{validator:o["j"],trigger:"blur"}],projectOwnerLegalRepresentative:[{required:!0,message:"请输入法人代表",trigger:"blur"},{validator:o["j"],trigger:"blur"}],projectResponsibleUnit:[{required:!0,message:"请输入项目负责单位",trigger:"blur"}],projectManager:[{required:!0,message:"请输入项目负责人",trigger:"blur"},{validator:o["j"],trigger:"blur"}],contactInformation:[{required:!0,message:"请输入联系方式",trigger:"blur"},{validator:o["i"],trigger:"blur"}],contactAddress:[{required:!0,message:"请输入联系地址",trigger:"blur"},{validator:o["j"],trigger:"blur"}],email:[{required:!0,message:"请输入邮箱",trigger:"blur"},{validator:o["d"],trigger:"blur"}]},s={orgName:[{required:!0,message:"请输入机构名称",trigger:"blur"},{validator:o["j"],trigger:"blur"}],orgAddress:[{required:!0,message:"请输入机构地址",trigger:"blur"},{validator:o["j"],trigger:"blur"}],director:[{required:!0,message:"请输入负责人",trigger:"blur"},{validator:o["j"],trigger:"blur"}],contactInfo:[{required:!0,message:"请输入联系方式",trigger:"blur"},{validator:o["i"],trigger:"blur"}],approveDate:[{required:!0,message:"请选择审定日期",trigger:"blue"}],attachList:[{required:!0,message:"请上传项目审定报告",trigger:"change"}]},l={applyDate:[{required:!0,message:"请选择申请日期",trigger:"blue"}],filingsNumber:[{required:!0,message:"请输入备案号",trigger:"blue"}],attachA:[{required:!0,message:"请上传项目申请表",trigger:"change"}],attachB:[{required:!0,message:"请上传承诺书",trigger:"change"}]},n={baselineEmission:[{required:!0,message:"请输入基准线排放值",trigger:"blur"},{validator:o["b"],trigger:"blur"}],projectEmission:[{required:!0,message:"请输入项目排放量",trigger:"blur"},{validator:o["b"],trigger:"blur"}],leakageAmount:[{required:!0,message:"请输入泄漏量",trigger:"blur"},{validator:o["b"],trigger:"blur"}],emissionReduction:[{required:!0,message:"请输入减排量",trigger:"blur"},{validator:o["b"],trigger:"blur"}],developmentDate:[{required:!0,message:"请选择项目开发日期",trigger:"blue"}],completionDate:[{required:!0,message:"请选择项目完成日期",trigger:"blue"}],attachA:[{required:!0,message:"请上传减排量核算报告",trigger:"change"}],attachB:[{required:!0,message:"请上传监测报告",trigger:"change"}],attachC:[{required:!0,message:"请上传其他文件",trigger:"change"}]},c={organizationName:[{required:!0,message:"请输入机构名称",trigger:"blur"},{validator:o["j"],trigger:"blur"}],organizationAddress:[{required:!0,message:"请输入机构地址",trigger:"blur"},{validator:o["j"],trigger:"blur"}],headOfOrganization:[{required:!0,message:"请输入负责人",trigger:"blur"},{validator:o["j"],trigger:"blur"}],contactInformation:[{required:!0,message:"请输入联系方式",trigger:"blur"},{validator:o["i"],trigger:"blur"}],verificationDate:[{required:!0,message:"请选择核证日期",trigger:"blue"}],attachList:[{required:!0,message:"请上传减排量核证报告",trigger:"change"}]},p={emissionReductionApplicationDate:[{required:!0,message:"请选择减排量日期",trigger:"blur"}],emissionReductionNum:[{required:!0,message:"请输入签发减排量",trigger:"blur"},{validator:o["b"],trigger:"blur"}],attachA:[{required:!0,message:"请上传减排量申请表",trigger:"change"}],attachB:[{required:!0,message:"请上传承诺书",trigger:"change"}]},g={projectLogout:[{required:!0,message:"请选择注销原因",trigger:"blue"}],logoutDate:[{required:!0,message:"请选择注销日期",trigger:"blue"}],attachList:[{required:!0,message:"请上传注销申请文件",trigger:"change"}]}}}]);