(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-176f41cc"],{"16a8":function(t,e,a){"use strict";a("a924")},"196c":function(t,e,a){"use strict";var o=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"title"},[t._v("审定与核查机构")]),e("div",{staticClass:"line"}),e("el-form",{ref:"projectLogout",attrs:{rules:t.rules,model:t.projectLogout,"label-width":"180px",disabled:t.isView}},[e("el-row",{staticStyle:{"margin-top":"10px","padding-right":"20px"},attrs:{gutter:10}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"注销原因:",prop:"projectLogout"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:"请选择注销原因"},model:{value:t.projectLogout.projectLogout,callback:function(e){t.$set(t.projectLogout,"projectLogout",e)},expression:"projectLogout.projectLogout"}},t._l(t.projectLogoutOptions,(function(t){return e("el-option",{key:t.dictKey,attrs:{label:t.dictValue,value:t.dictValue}})})),1)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"注销日期:",prop:"logoutDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{"picker-options":t.pickerOptions,clearable:"",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",type:"date",placeholder:"请输入注销日期"},model:{value:t.projectLogout.logoutDate,callback:function(e){t.$set(t.projectLogout,"logoutDate",e)},expression:"projectLogout.logoutDate"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"注销申请文件:",prop:"attachList"}},[e("vz-upload",{ref:"upload",attrs:{files:t.projectLogout.attachList,isViewFile:t.isView},on:{change:t.changeFile,removeFile:t.removeFileFn},model:{value:t.projectLogout.attachList,callback:function(e){t.$set(t.projectLogout,"attachList",e)},expression:"projectLogout.attachList"}})],1)],1)],1)],1)],1)},i=[],r=a("af95"),c=a("a982"),s=a("0e0b"),n=a("2f3b"),l=a("f910"),p={data(){return{projectLogout:{projectLogout:"",logoutDate:"",attachList:""},emissionReductionProjects:{projectName:"",industry:"",methodology:"",methodologyVersion:"",projectStage:"项目注销"},rules:l["f"],menthodology:[],projectLogoutOptions:[],pickerOptions:{disabledDate(t){return t.getTime()>Date.now()}}}},props:{form:{type:Object,default:()=>{}},isView:{type:Boolean,require:!0,default:!1}},components:{vzUpload:r["a"]},mounted(){"{}"!==JSON.stringify(this.form)&&(this.projectLogout=Object(s["b"])(this.form.projectLogout),this.emissionReductionProjects=this.form.emissionReductionProjects,this.emissionReductionProjects.projectStage="项目注销"),Object(n["qrCode"])("reason_for_cancellation").then(t=>{this.projectLogoutOptions=t.data.data[0].children||[]})},methods:{async validate(){try{return await this.$refs["projectLogout"].validate()}catch(t){return!1}},removeFileFn(t){let e=t.id;Object(c["removeFile"])(e).then(t=>{this.projectLogout.attachList.forEach((t,a)=>{t.id==e&&this.projectLogout.attachList.splice(a,1)})})},changeFile(t){}}},u=p,d=(a("bd6b"),a("1805")),m=Object(d["a"])(u,o,i,!1,null,"74b7c03e",null);e["a"]=m.exports},4858:function(t,e,a){"use strict";var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"block"},[e("el-timeline",t._l(t.data,(function(a,o){return e("el-timeline-item",{key:o,attrs:{timestamp:a.createTime,size:a.size}},[e("div",[e("div",{staticClass:"activity"},[e("h3",{staticClass:"approvalNode"},[t._v(t._s(a.approvalNode))]),e("div",{class:[a.className,"static-class"]},[t._v(" "+t._s(a.value)+" ")])]),a.text?e("div",{class:[a.className,"text-class"]},[t._v(" "+t._s(a.approvalDescription)+" ")]):t._e()])])})),1)],1)},i=[],r={data(){return{}},props:{data:{default:()=>[],required:!0}},watch:{data(t,e){this.data.forEach(t=>{switch(t.text=t.approvalDescription,t.approvalStatus){case"WTB":t.value="未填报",t.className="wtbstatus";break;case"DTJ":t.value="待提交",t.className="dtjstatus";break;case"YTJ":t.value="已提交",t.className="ytjstatus";break;case"DSH":t.value="待审核",t.className="dshstatus";break;case"YBH":t.value="已驳回",t.className="ybhstatus";break;case"YTG":t.value="已通过",t.className="ytgstatus";break}})},immediate:!0},created(){this.data.forEach(t=>{switch(t.text=t.approvalDescription,t.approvalStatus){case"WTB":t.value="未填报",t.className="wtbstatus";break;case"DTJ":t.value="待提交",t.className="dtjstatus";break;case"YTJ":t.value="已提交",t.className="ytjstatus";break;case"DSH":t.value="待审核",t.className="dshstatus";break;case"YBH":t.value="已驳回",t.className="ybhstatus";break;case"YTG":t.value="已通过",t.className="ytgstatus";break}})}},c=r,s=(a("b55a"),a("1805")),n=Object(s["a"])(c,o,i,!1,null,"031b0c00",null);e["a"]=n.exports},"4cd8":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"box"},[e("el-card",{staticClass:"box-main"},[e("div",[e("avue-crud",{ref:"crud",attrs:{option:t.option,data:t.data,page:t.page},on:{"update:page":function(e){t.page=e},"search-change":t.searchChange,"search-reset":t.searchReset,"current-change":t.currentChange,"size-change":t.sizeChange,"refresh-change":t.refreshChange},scopedSlots:t._u([{key:"logoutDate",fn:function({row:e}){return e.projectLogout.logoutDate?[t._v(" "+t._s(t.$dayjs(e.projectLogout.logoutDate).format("YYYY-MM-DD"))+" ")]:void 0}},{key:"projectStatus",fn:function({row:a}){return["DSH"==a.projectLogout.projectStatus?e("el-tag",{staticStyle:{color:"#ffd801",border:"1px solid rgba(255, 216, 1, 0.2)"},attrs:{color:"rgba(255, 216, 1, 0.2)"},on:{click:function(e){return t.reasons(a,"YBH")}}},[t._v("待审核")]):t._e(),"YTG"==a.projectLogout.projectStatus?e("el-tag",{staticStyle:{color:"#19c297",border:"1px solid rgba(25, 194, 151, 0.2)"},attrs:{color:"rgba(25, 194, 151, 0.2)"},on:{click:function(e){return t.reasons(a,"YTG")}}},[t._v("已通过")]):t._e(),"YBH"==a.projectLogout.projectStatus?e("el-tag",{staticStyle:{color:"#eb5454",border:"1px solid rgba(235, 84, 84, 0.2)"},attrs:{color:"rgba(235, 84, 84, 0.2)"},on:{click:function(e){return t.reasons(a,"YBH")}}},[t._v("已驳回")]):t._e(),"DTJ"==a.projectLogout.projectStatus?e("el-tag",{staticStyle:{color:"#50b7fc",border:"1px solid rgba(80, 183, 252, 0.2)"},attrs:{color:"rgba(80, 183, 252, 0.2)"},on:{click:function(e){return t.reasons(a,"YBH")}}},[t._v("待提交")]):t._e(),"WTB"==a.projectLogout.projectStatus?e("el-tag",{staticStyle:{color:"#c7c7c7",border:"1px solid rgba(199, 199, 199, 0.2)"},attrs:{color:"rgba(199, 199, 199, 0.2)"}},[t._v("未填报")]):t._e()]}},{key:"menu",fn:function({row:a}){return[e("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-view"},on:{click:function(e){return t.handleView(a)}}},[t._v(" 查 看 ")]),e("el-button",{attrs:{type:"text",size:"small",icon:"el-icon-edit",disabled:"DSH"==a.projectLogout.projectStatus||"YTG"==a.projectLogout.projectStatus},on:{click:function(e){return t.handleEdit(a)}}},[t._v(" 编 辑 ")]),e("el-button",{attrs:{type:"text",size:"small",disabled:"DSH"==a.projectLogout.projectStatus||"YTG"==a.projectLogout.projectStatus||"WTB"==a.projectLogout.projectStatus,icon:"el-icon-check"},on:{click:function(e){return t.handleSubmitTo(a)}}},[t._v(" 提 交 ")])]}}],null,!0)})],1)]),e("el-drawer",{staticClass:"el-dialog__wrapper avue-dialog avue-crud__dialog",attrs:{title:t.applicationTitle,visible:t.dialogd,size:"80%","close-on-press-escape":!1,"destroy-on-close":"","append-to-body":"",wrapperClosable:!1,"before-close":t.hadleClose},on:{"update:visible":function(e){t.dialogd=e}}},[e("projectDesignForm",{ref:"projectDesign",attrs:{form:t.form,isView:t.isView}}),e("projectApprovalForm",{ref:"projectApprovalForm",attrs:{form:t.form,isView:t.projectApprovalIsView}}),e("projectApplicationForm",{ref:"projectApplicationForm",attrs:{form:t.form,isView:t.projectApplicationIsView}}),e("projectDevelopmentForm",{ref:"projectDevelopmentForm",attrs:{form:t.form,isView:t.projectDevelopmentIsView}}),e("projectVerificationForm",{ref:"projectVerificationForm",attrs:{form:t.form,isView:t.projectVerificationIsView}}),e("emissionForm",{ref:"emissionForm",attrs:{form:t.form,isView:t.emissionIsView}}),e("projectCancellationForm",{ref:"projectCancellationForm",attrs:{form:t.form,isView:t.projectCancellationIsView}}),e("div",{staticClass:"avue-dialog__footer"},[0==t.projectCancellationIsView?e("el-button",{attrs:{icon:"el-icon-circle-plus-outline",type:"primary"},on:{click:function(e){return t.handleSubmit("DSH")}}},[t._v("保存并提交")]):t._e(),0==t.projectCancellationIsView?e("el-button",{attrs:{icon:"el-icon-circle-plus-outline",type:"primary"},on:{click:function(e){return t.handleSubmit("DTJ")}}},[t._v("保 存")]):t._e(),e("el-button",{attrs:{icon:"el-icon-circle-close"},on:{click:t.hadleClose}},[t._v("取 消")])],1)],1),e("el-dialog",{attrs:{title:"审核状态",visible:t.dialogVisible,width:"25%",modal:!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("projectStatus",{attrs:{data:t.approvalProcess}}),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v("取 消")])],1)],1)],1)},i=[],r=a("f0a4"),c=a("6fbe"),s=a("a481"),n=a("0527"),l=a("f7a1"),p=a("736e"),u=a("46a5"),d=a("a1eb"),m=a("196c"),g=a("4858"),j={data(){return{applicationTitle:"",form:{},loading:!1,dialogVisible:!1,page:{size:10,current:1,total:0},rules:[],industryOptions:[],option:{height:"auto",calcHeight:80,tip:!1,searchShow:!0,searchMenuSpan:6,align:"left",headerAlign:"left",viewBtn:!1,addBtn:!1,editBtn:!1,delBtn:!1,dialogClickModal:!1,menuWidth:260,selection:!1,column:[{label:"企业名称",prop:"projectName",search:!0,width:200,bind:"emissionReductionProjects.projectName"},{label:"所属行业",prop:"industry",bind:"emissionReductionProjects.industry",width:220,search:!0,type:"select"},{label:"方法学",prop:"methodology",bind:"emissionReductionProjects.methodology",width:180},{label:"签发减排量",prop:"emissionReductionNum",bind:"projectReductionApplicationVO.emissionReductionNum",width:180},{label:"注销日期",prop:"logoutDate",bind:"projectLogout.logoutDate",width:180},{label:"状态",prop:"projectStatus",bind:"projectLogout.projectStatus",slot:!0,width:180}]},data:[{emissionReductionProjects:{id:"1777528110787223553",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:45:01",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",projectName:"项目一",industry:"能源需求",methodology:"并网光热发电",methodologyVersion:"CCER—01—001—V01",projectStatus:"DSH",projectStage:null,fieldFlag:null,attachList:null,auditStatus:null},projectDesign:{id:"1777528110887886850",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:45:01",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",projectId:"1777528110787223553",projectDesignFileVersion:"12",projectDesignFileCompletionDate:"2024-04-09",startTimeOfInclusionPeriod:"2024-04-08",endTimeOfInclusionPeriod:null,estimatedAnnualGreenhouseGasEmissionReduction:"123",projectOwner:"12",registeredAddress:"23",projectOwnerLegalRepresentative:"23",projectProprietor:"23",projectResponsibleUnit:"21",projectManager:"12",contactInformation:"17310814246",contactAddress:"23",email:"yangseng@vztimes.com",projectStatus:"YTG",attachList:[{id:"1777528029824573441",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:44:42",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777528110887886850",title:"upload/20240409104441751/1708596498165.jpg",introduction:"1708596498165.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409104441751/1708596498165.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596498165.jpg",originalName:"1708596498165.jpg",extension:"jpg",attachSize:"401963",industryId:null,industryName:null,year:null,month:null,dataSource:"1",carbonFootprintId:null},{id:"1777528041979666434",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:44:45",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777528110887886850",title:"upload/20240409104444703/1708596401368.jpg",introduction:"1708596401368.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409104444703/1708596401368.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596401368.jpg",originalName:"1708596401368.jpg",extension:"jpg",attachSize:"602592",industryId:null,industryName:null,year:null,month:null,dataSource:"2",carbonFootprintId:null}]},projectApprovalVO:{id:"1777528183331905537",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:45:18",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",projectId:"1777528110787223553",orgName:"12",director:"21",approveDate:"2024-04-07",orgAddress:"123",contactInfo:"17310814246",projectStatus:"YTG",attachList:[{id:"1777529067965145090",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:48:49",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777528183331905537",title:"upload/20240409104849325/1708596498165.jpg",introduction:"1708596498165.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409104849325/1708596498165.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596498165.jpg",originalName:"1708596498165.jpg",extension:"jpg",attachSize:"401963",industryId:null,industryName:null,year:null,month:null,dataSource:null,carbonFootprintId:null}]},projectApplyForVO:{id:"1777529253047197697",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:49:33",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",projectId:"1777528110787223553",applyDate:"2024-04-09",projectStatus:"YTG",filingsNumber:"123",attachList:[{id:"1777529367102906369",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:50:01",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777529253047197697",title:"upload/20240409105000646/1708596498165.jpg",introduction:"1708596498165.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409105000646/1708596498165.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596498165.jpg",originalName:"1708596498165.jpg",extension:"jpg",attachSize:"401963",industryId:null,industryName:null,year:null,month:null,dataSource:"2",carbonFootprintId:null},{id:"1777529381111881730",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:50:04",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777529253047197697",title:"upload/20240409105003972/1708596401368.jpg",introduction:"1708596401368.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409105003972/1708596401368.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596401368.jpg",originalName:"1708596401368.jpg",extension:"jpg",attachSize:"602592",industryId:null,industryName:null,year:null,month:null,dataSource:"1",carbonFootprintId:null}]},projectDevelop:{id:"1777529444571701250",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:50:19",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",projectId:"1777528110787223553",baselineEmission:"123.00",leakageAmount:"123.00",developmentDate:"2024-04-09",projectEmission:"213.00",emissionReduction:"213.00",completionDate:"2024-04-09",projectStatus:"YTG",attachList:[{id:"1777529499072487426",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:50:32",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777529444571701250",title:"upload/20240409105032111/1708596498165.jpg",introduction:"1708596498165.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409105032111/1708596498165.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596498165.jpg",originalName:"1708596498165.jpg",extension:"jpg",attachSize:"401963",industryId:null,industryName:null,year:null,month:null,dataSource:"2",carbonFootprintId:null},{id:"1777529511730896897",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:50:35",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777529444571701250",title:"upload/20240409105035123/1708596401368.jpg",introduction:"1708596401368.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409105035123/1708596401368.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596401368.jpg",originalName:"1708596401368.jpg",extension:"jpg",attachSize:"602592",industryId:null,industryName:null,year:null,month:null,dataSource:"1",carbonFootprintId:null},{id:"1777529525769232386",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:50:39",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777529444571701250",title:"upload/20240409105038435/1708596255525.jpg",introduction:"1708596255525.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409105038435/1708596255525.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596255525.jpg",originalName:"1708596255525.jpg",extension:"jpg",attachSize:"1154213",industryId:null,industryName:null,year:null,month:null,dataSource:"3",carbonFootprintId:null}]},projectCertifiedVO:{id:"1777529617599324162",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:51:00",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",projectId:"1777528110787223553",organizationName:"213",headOfOrganization:"213",verificationDate:"2024-04-09",organizationAddress:"213",contactInformation:"17310182732",projectStatus:"YTG",attachList:[{id:"1777529856796286978",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:51:57",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777529617599324162",title:"upload/20240409105157379/1708596401368.jpg",introduction:"1708596401368.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409105157379/1708596401368.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596401368.jpg",originalName:"1708596401368.jpg",extension:"jpg",attachSize:"602592",industryId:null,industryName:null,year:null,month:null,dataSource:null,carbonFootprintId:null}]},projectReductionApplicationVO:null,projectLogout:{id:"1777530031849758721",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:52:39",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",projectId:"1777528110787223553",projectLogout:"自愿注销",logoutDate:"2024-04-09",projectStatus:"DSH",attachList:[{id:"1777531171995803649",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:57:11",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",target:null,orgId:"1777530031849758721",title:"upload/20240409105710967/1708596498165.jpg",introduction:"1708596498165.jpg",attachUrl:"http://192.168.2.201:9000/bucket2/upload/20240409105710967/1708596498165.jpg",bucketName:"bucket2",type:"jpg",domainUrl:"bucket2",name:"1708596498165.jpg",originalName:"1708596498165.jpg",extension:"jpg",attachSize:"401963",industryId:null,industryName:null,year:null,month:null,dataSource:null,carbonFootprintId:null}]}}],options:[],dialogd:!1,isView:!1,projectApprovalIsView:!1,projectApplicationIsView:!1,projectDevelopmentIsView:!1,projectVerificationIsView:!1,emissionIsView:!1,projectCancellationIsView:!1,approvalProcess:[{id:"1777531181755949058",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:57:13",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",approvalSourceId:"1777530031849758721",approvalNode:"内部审核",approvalStatus:"DSH",nodeSort:3,approvalDescription:null,attachList:null},{id:"1777531181751754754",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:57:13",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",approvalSourceId:"1777530031849758721",approvalNode:"项目注销",approvalStatus:"YTJ",nodeSort:2,approvalDescription:null,attachList:null},{id:"1777531181730783234",createUser:"1762881283053162498",createDept:"1762861991238668290",createTime:"2024-04-09 10:57:13",updateUser:"1762881283053162498",updateTime:"2024-04-09 10:57:13",status:1,isDeleted:0,tenantId:"416380",approvalSourceId:"1777530031849758721",approvalNode:"项目注销",approvalStatus:"DTJ",nodeSort:1,approvalDescription:null,attachList:null}]}},components:{projectDesignForm:s["a"],projectStatus:g["a"],projectApprovalForm:n["a"],projectApplicationForm:l["a"],projectDevelopmentForm:p["a"],projectVerificationForm:u["a"],emissionForm:d["a"],projectCancellationForm:m["a"]},mounted(){},computed:{...Object(r["b"])(["permission","companyInfo"])},methods:{async init(){this.getList(this.page)},async reasons(t,e){this.dialogVisible=!0},hadleClose(){this.$confirm("是否关闭当前窗口?").then(t=>{this.form={},this.isView=!1,this.dialogd=!1}).catch(t=>{})},handleEdit(t){this.isView=!0,this.projectApprovalIsView=!0,this.projectApplicationIsView=!0,this.projectDevelopmentIsView=!0,this.projectVerificationIsView=!0,this.emissionIsView=!0,this.projectCancellationIsView=!1,this.applicationTitle="编辑项目注销",this.dialogd=!0,this.form=t},handleView(t){this.isView=!0,this.projectApprovalIsView=!0,this.projectApplicationIsView=!0,this.projectDevelopmentIsView=!0,this.projectVerificationIsView=!0,this.emissionIsView=!0,this.projectCancellationIsView=!0,this.applicationTitle="查看项目注销",this.dialogd=!0,this.form=t},handleSubmitTo(t){t.projectLogout.projectStatus="DSH",t.emissionReductionProjects.projectStatus="DSH",t.emissionReductionProjects.projectStage="项目注销",Object(c["submitEmissionReductionProjects"])(t).then(t=>{200==t.data.code&&(this.$message.success("提交成功"),this.getList())})},async handleSubmit(t){let e=await this.$refs.projectCancellationForm.validate();e&&(this.form.projectLogout=this.$refs.projectCancellationForm.projectLogout,this.form.emissionReductionProjects=this.$refs.projectCancellationForm.emissionReductionProjects,this.form.projectLogout.projectStatus=t,this.form.emissionReductionProjects.projectStatus=t,this.form.projectLogout.attachList.forEach((t,e)=>{delete t.status}),Object(c["submitEmissionReductionProjects"])(this.form).then(t=>{this.$message.success("提交成功"),this.getList(),this.dialogd=!1,this.form={}}))},searchReset(t){this.getList(this.page)},searchChange(t,e){this.page.current=1,this.getList(this.page,t),e()},currentChange(t){this.page.current=t,this.getList(this.page)},sizeChange(t){this.page.size=t,this.getList()},refreshChange(){this.getList()},getList(t,e){this.loading=!0;let a={size:this.page.size,current:this.page.current,fieldFlag:"projectLogout"};Object(c["getEmissionReductionProjectsList"])(Object.assign(a,e)).then(t=>{if(console.log(t),200==t.data.code)if(t.data.data){if(t.data.data.records){const e=t.data.data.records;this.page.total=t.data.data.total,this.data=e}}else this.data=[];this.loading=!1})}}},h=j,b=(a("16a8"),a("1805")),f=Object(b["a"])(h,o,i,!1,null,"188f5c49",null);e["default"]=f.exports},5278:function(t,e,a){},"7b8c":function(t,e,a){"use strict";a("82e7")},"82e7":function(t,e,a){},a1eb:function(t,e,a){"use strict";var o=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"title"},[t._v("减排量申请")]),e("div",{staticClass:"line"}),e("el-form",{ref:"projectReductionApplicationVO",attrs:{rules:t.rules,model:t.projectReductionApplicationVO,"label-width":"180px",disabled:t.isView}},[e("el-row",{staticStyle:{"margin-top":"10px","padding-right":"20px"},attrs:{gutter:10}},[e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"签发减排量:",prop:"emissionReductionNum"}},[e("el-input",{attrs:{clearable:"",placeholder:"请输入签发减排量"},model:{value:t.projectReductionApplicationVO.emissionReductionNum,callback:function(e){t.$set(t.projectReductionApplicationVO,"emissionReductionNum",e)},expression:"projectReductionApplicationVO.emissionReductionNum"}},[e("template",{slot:"append"},[t._v("tCo2")])],2)],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"减排量申请日期:",prop:"emissionReductionApplicationDate"}},[e("el-date-picker",{staticStyle:{width:"100%"},attrs:{"picker-options":t.pickerOptions,clearable:"",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",type:"date",placeholder:"请输入减排量申请日期"},model:{value:t.projectReductionApplicationVO.emissionReductionApplicationDate,callback:function(e){t.$set(t.projectReductionApplicationVO,"emissionReductionApplicationDate",e)},expression:"\n projectReductionApplicationVO.emissionReductionApplicationDate\n "}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"减排量申请表:",prop:"attachA"}},[e("vz-upload",{ref:"upload",attrs:{files:t.projectReductionApplicationVO.attachA,isViewFile:t.isView},on:{change:t.changeFile,removeFile:t.removeFileFn},model:{value:t.projectReductionApplicationVO.attachA,callback:function(e){t.$set(t.projectReductionApplicationVO,"attachA",e)},expression:"projectReductionApplicationVO.attachA"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"承诺书:",prop:"attachB"}},[e("vz-upload",{ref:"upload",attrs:{files:t.projectReductionApplicationVO.attachB,isViewFile:t.isView},on:{change:t.changeFileHc,removeFile:t.removeFileFnHc},model:{value:t.projectReductionApplicationVO.attachB,callback:function(e){t.$set(t.projectReductionApplicationVO,"attachB",e)},expression:"projectReductionApplicationVO.attachB"}})],1)],1)],1)],1)],1)},i=[],r=(a("fcd3"),a("af95")),c=a("a982"),s=a("0e0b"),n=a("f910"),l={data(){return{projectReductionApplicationVO:{emissionReductionApplicationDate:"",emissionReductionNum:"",attachA:[],attachB:[]},emissionReductionProjects:{projectName:"",industry:"",methodology:"",methodologyVersion:"",projectStage:"减排量申请"},rules:n["g"],pickerOptions:{disabledDate(t){return t.getTime()>Date.now()}}}},props:{form:{type:Object,default:()=>{}},isView:{type:Boolean,require:!0,default:!1}},components:{vzUpload:r["a"]},mounted(){console.log(this.form),this.form&&(this.form.projectReductionApplicationVO&&(this.projectReductionApplicationVO=Object(s["b"])(this.form.projectReductionApplicationVO),this.projectReductionApplicationVO.attachA=[],this.projectReductionApplicationVO.attachB=[],this.form.projectReductionApplicationVO.attachList&&this.form.projectReductionApplicationVO.attachList.forEach(t=>{"1"===t.dataSource?this.projectReductionApplicationVO.attachA.push(t):this.projectReductionApplicationVO.attachB.push(t)})),console.log(this.form.emissionReductionProjects,"this.form.emissionReductionProjects"),this.emissionReductionProjects=this.form.emissionReductionProjects)},methods:{isObjectEmpty(t){return console.log(t,"obj"),0===Object.keys(t).length},async validate(){try{return await this.$refs["projectReductionApplicationVO"].validate()}catch(t){return!1}},changeFile(t){},removeFileFn(t){let e=t.id;Object(c["removeFile"])(e).then(t=>{this.projectReductionApplicationVO.attachA.forEach((t,a)=>{t.id==e&&this.projectReductionApplicationVO.attachA.splice(a,1)})})},removeFileFnHc(t){let e=t.id;Object(c["removeFile"])(e).then(t=>{this.projectReductionApplicationVO.attachB.forEach((t,a)=>{t.id==e&&this.projectReductionApplicationVO.attachB.splice(a,1)})})}}},p=l,u=(a("7b8c"),a("1805")),d=Object(u["a"])(p,o,i,!1,null,"d4aa4f78",null);e["a"]=d.exports},a924:function(t,e,a){},b55a:function(t,e,a){"use strict";a("bf86")},bd6b:function(t,e,a){"use strict";a("5278")},bf86:function(t,e,a){}}]);