(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b87c8b4"],{"1f03":function(e,r,t){"use strict";var a=function(){var e=this,r=e._self._c;return r("div",{staticClass:"upload"},[r("el-upload",{staticClass:"avatar-uploader",attrs:{accept:".png,.jpg",headers:e.headers,action:e.action,"show-file-list":!1,"before-upload":e.beforeUploadFile,"on-success":e.handleAvatarSuccess}},[e.isShowImg?r("img",{staticClass:"avatar",attrs:{src:e.imageUrl}}):e._e(),e.isShowImg?e._e():r("i",{staticClass:"el-icon-plus avatar-uploader-icon avatar"}),e.showTip?r("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v(" 单文件不超过10M,允许上传png/jpg ")]):e._e()])],1)},s=[],n=t("0a5a"),o={name:"upload",props:{imgUrl:{type:String},showTip:{type:Boolean,default:!0}},watch:{imgUrl:{immediate:!0,handler(e,r){console.log("vz-upload-img:url ",e),e&&e!=r&&(this.imageUrl=e)}}},computed:{isShowImg(){return this.imageUrl&&this.imageUrl.length}},data(){return{headers:{bucket:"information","Blade-Auth":"bearer "+Object(n["getToken"])()},action:"/api/blade-resource/oss/endpoint/put-file-type",imageUrl:null,fileList:[],datas:[{thumbUrl:"https://img.alicdn.com/tfs/TB1uevcCrj1gK0jSZFuXXcrHpXa-1880-640.jpg",url:"https://img.alicdn.com/tfs/TB1uevcCrj1gK0jSZFuXXcrHpXa-1880-640.jpg"},{thumbUrl:"https://img.alicdn.com/tfs/TB1v28TC8v0gK0jSZKbXXbK2FXa-1880-640.jpg",url:"https://www.w3school.com.cn/i/movie.ogg"}]}},methods:{openBigImg(e=0){this.$ImagePreview(this.datas,e,{closeOnClickModal:!0,click:(e,r)=>{this.$message.success("点击事件",r)},beforeClose:()=>{this.$message.success("关闭回调")}})},beforeUploadFile(e){const r=e.size/1024/1024<10;return r?this.fileList.length>=5?(this.$message.error("上传文件不超过5个!"),!1):r:(this.$message.error("上传文件大小不能超过10M!"),!1)},handleAvatarSuccess(e,r){const{data:t}=e;this.imageUrl=t.link,this.$emit("change",this.imageUrl)}}},i=o,l=(t("545a"),t("1805")),c=Object(l["a"])(i,a,s,!1,null,"53aab7be",null);r["a"]=c.exports},"46ea":function(e,r,t){"use strict";t.r(r);var a=function(){var e=this,r=e._self._c;return r("basic-container",[r("avue-crud",{attrs:{"table-loading":e.loading,option:e.option,data:e.data,page:e.page},on:{"update:page":function(r){e.page=r},"search-change":e.searchChange,"search-reset":e.searchReset,"current-change":e.currentChange,"size-change":e.sizeChange,"refresh-change":e.refreshChange,"on-load":e.getPageList},scopedSlots:e._u([{key:"menu",fn:function({type:t,size:a,row:s}){return[r("el-button",{attrs:{icon:"el-icon-view",size:a,type:t},on:{click:function(r){return e.handleView(s)}}},[e._v("查 看")]),r("el-button",{attrs:{icon:"el-icon-edit",size:a,type:t},on:{click:function(r){return e.handleEdit(s)}}},[e._v("编 辑")]),r("el-button",{attrs:{icon:"el-icon-delete",size:a,type:t,disabled:1==s.isRelevance},on:{click:function(r){return e.handleDel(s)}}},[e._v("删 除")]),r("el-button",{attrs:{icon:"el-icon-copy-document",size:a,type:t},on:{click:function(r){return e.handleCopy(s)}}},[e._v("复 制")])]}}])},[r("template",{slot:"menuLeft"},[r("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-plus"},on:{click:e.handleAdd}},[e._v("新 增")])],1)],2),e.addShow?r("el-drawer",{attrs:{title:"企业信息",visible:e.addShow,direction:"rtl","before-close":e.handleClose,"modal-append-to-body":!1,"append-to-body":!0,size:"80%"},on:{"update:visible":function(r){e.addShow=r}}},[r("Information",{ref:"information",attrs:{disVersion:e.disVersion,isTzj:e.isTzj,getPageList:e.getPageList},on:{modifyDisVersion:e.modifyDisVersion,updateAddShow:e.updateAddShow}})],1):e._e(),r("el-dialog",{attrs:{title:"修订版本",visible:e.isVersion,width:"30%","before-close":e.handleCloseVersion,"modal-append-to-body":!1,"append-to-body":!0},on:{"update:visible":function(r){e.isVersion=r}}},[r("el-form",{ref:"versionForm",attrs:{rules:e.rules,model:e.versionForm,inline:""}},[r("el-form-item",{attrs:{label:"版本号:",prop:"version"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:"请选择版本号"},model:{value:e.versionForm.version,callback:function(r){e.$set(e.versionForm,"version",r)},expression:"versionForm.version"}},e._l(e.versionList,(function(e){return r("el-option",{key:e.id,attrs:{label:e.dictValue,value:e.dictValue}})})),1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"primary"},on:{click:e.handleSaveVersion}},[e._v("保 存")]),r("el-button",{on:{click:e.handleCloseVersion}},[e._v("取 消")])],1)],1)],1)},s=[],n=(t("fcd3"),t("f1de")),o=function(){var e=this,r=e._self._c;return r("basic-container",[r("el-form",{ref:"form",attrs:{disabled:e.editShow,rules:e.rules,model:e.informationFrom,"label-width":"260px"}},[r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"年度:",prop:"year"}},[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{disabled:2==e.informationFrom.status,clearable:"",format:"yyyy","value-format":"yyyy","picker-options":e.pickeroption,type:"year",placeholder:"请选择年度"},model:{value:e.informationFrom.year,callback:function(r){e.$set(e.informationFrom,"year",r)},expression:"informationFrom.year"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"适用于:",prop:"scopeOrApp"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{disabled:2==e.informationFrom.status||e.disVersion,clearable:"",placeholder:"请选择适用于"},on:{change:e.selectScopeOrApp},model:{value:e.informationFrom.scopeOrApp,callback:function(r){e.$set(e.informationFrom,"scopeOrApp",r)},expression:"informationFrom.scopeOrApp"}},e._l(e.scopeorApp,(function(e){return r("el-option",{key:e.id,attrs:{label:e.dictValue,value:e.dictValue}})})),1)],1)],1)],1),r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"行业:",prop:"industryName"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{disabled:2==e.informationFrom.status,clearable:"",placeholder:"请选择行业"},on:{change:e.selectIndustryName},model:{value:e.informationFrom.industryName,callback:function(r){e.$set(e.informationFrom,"industryName",r)},expression:"informationFrom.industryName"}},e._l(e.industryNames,(function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.name}})})),1)],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"重点排放单位名称:",prop:"name"}},[r("el-input",{attrs:{disabled:2==e.informationFrom.status,clearable:"",maxlength:"50",placeholder:"请输入单位名称"},model:{value:e.informationFrom.name,callback:function(r){e.$set(e.informationFrom,"name",r)},expression:"informationFrom.name"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"重点排放单位简称:",prop:"forShort"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入位单位简称"},model:{value:e.informationFrom.forShort,callback:function(r){e.$set(e.informationFrom,"forShort",r)},expression:"informationFrom.forShort"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"统一信用代码:",prop:"uscc"}},[r("el-input",{attrs:{maxlength:"50",clearable:"",placeholder:"请输入统一信用代码"},model:{value:e.informationFrom.uscc,callback:function(r){e.$set(e.informationFrom,"uscc",r)},expression:"informationFrom.uscc"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"排污许可证编号:",prop:"licenseNo"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入排污许可证编号"},model:{value:e.informationFrom.licenseNo,callback:function(r){e.$set(e.informationFrom,"licenseNo",r)},expression:"informationFrom.licenseNo"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"所属集团:",prop:"membershipGroup"}},[r("el-input",{attrs:{maxlength:"50",clearable:"",placeholder:"请输入所属集团"},model:{value:e.informationFrom.membershipGroup,callback:function(r){e.$set(e.informationFrom,"membershipGroup",r)},expression:"informationFrom.membershipGroup"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"中碳登会员编号:",prop:"ctcMemberNumber"}},[r("el-input",{attrs:{maxlength:"50",clearable:"",placeholder:"请输入中碳登会员编号"},model:{value:e.informationFrom.ctcMemberNumber,callback:function(r){e.$set(e.informationFrom,"ctcMemberNumber",r)},expression:"informationFrom.ctcMemberNumber"}})],1)],1),"1"!=e.isType?r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"中碳所客户号:",prop:"chinaCarbonClientNumber"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入排污许可证编号"},model:{value:e.informationFrom.chinaCarbonClientNumber,callback:function(r){e.$set(e.informationFrom,"chinaCarbonClientNumber",r)},expression:"informationFrom.chinaCarbonClientNumber"}})],1)],1):e._e(),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"法定代表人:",prop:"legalRepresentative"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入法定代表人"},model:{value:e.informationFrom.legalRepresentative,callback:function(r){e.$set(e.informationFrom,"legalRepresentative",r)},expression:"informationFrom.legalRepresentative"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"单位性质:",prop:"property"}},[r("el-select",{attrs:{placeholder:"企业主营业务所属行业"},model:{value:e.informationFrom.property,callback:function(r){e.$set(e.informationFrom,"property",r)},expression:"informationFrom.property"}},e._l(e.propertys,(function(e,t){return r("el-option",{key:t,attrs:{clearable:"",label:e.dictValue,value:e.dictValue}})})),1)],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"邮政编码:",prop:"pc"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入邮政编码"},model:{value:e.informationFrom.pc,callback:function(r){e.$set(e.informationFrom,"pc",r)},expression:"informationFrom.pc"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"企业注册日期:",prop:"registrationDate"}},[r("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd","picker-options":e.pickeroption,placeholder:"请选择注册日期"},model:{value:e.informationFrom.registrationDate,callback:function(r){e.$set(e.informationFrom,"registrationDate",r)},expression:"informationFrom.registrationDate"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"注册资本:",prop:"registeredCapital"}},[r("el-input",{attrs:{placeholder:"请输入注册资本",maxlength:"50",clearable:""},model:{value:e.informationFrom.registeredCapital,callback:function(r){e.$set(e.informationFrom,"registeredCapital",r)},expression:"informationFrom.registeredCapital"}},[r("template",{slot:"append"},[e._v("万")])],2)],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"注册地址:",prop:"registrationAddress"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入注册地址"},model:{value:e.informationFrom.registrationAddress,callback:function(r){e.$set(e.informationFrom,"registrationAddress",r)},expression:"informationFrom.registrationAddress"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"生产经营场所地址:",prop:"businessAddress"}},[r("el-input",{attrs:{maxlength:"50",clearable:"",placeholder:"请输入生产经营场所地址"},model:{value:e.informationFrom.businessAddress,callback:function(r){e.$set(e.informationFrom,"businessAddress",r)},expression:"informationFrom.businessAddress"}})],1)],1),"1"!=e.isType?r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"生产经营场所经纬度:",prop:"tgfTrapeze"}},[r("el-input",{attrs:{maxlength:"50",clearable:"",placeholder:"请输入生产经营场所经纬度"},model:{value:e.informationFrom.tgfTrapeze,callback:function(r){e.$set(e.informationFrom,"tgfTrapeze",r)},expression:"informationFrom.tgfTrapeze"}})],1)],1):e._e(),"2"!=e.isType?r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"员工人数:",prop:"employeesNumber"}},[r("el-input",{attrs:{clearable:"",placeholder:"请输入员工人数"},model:{value:e.informationFrom.employeesNumber,callback:function(r){e.$set(e.informationFrom,"employeesNumber",r)},expression:"informationFrom.employeesNumber"}},[r("template",{slot:"append"},[e._v("人")])],2)],1)],1):e._e(),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"填报联系人:",prop:"carbonAssetsChargePerson"}},[r("el-input",{attrs:{maxlength:"50",clearable:"",placeholder:"请输入填报联系人"},model:{value:e.informationFrom.carbonAssetsChargePerson,callback:function(r){e.$set(e.informationFrom,"carbonAssetsChargePerson",r)},expression:"informationFrom.carbonAssetsChargePerson"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"联系电话:",prop:"carbonAssetsChargePersonPhone"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入联系电话"},model:{value:e.informationFrom.carbonAssetsChargePersonPhone,callback:function(r){e.$set(e.informationFrom,"carbonAssetsChargePersonPhone",r)},expression:"informationFrom.carbonAssetsChargePersonPhone"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"电子邮箱:",prop:"carbonAssetsChargePersonEmail"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入电子邮箱"},model:{value:e.informationFrom.carbonAssetsChargePersonEmail,callback:function(r){e.$set(e.informationFrom,"carbonAssetsChargePersonEmail",r)},expression:"informationFrom.carbonAssetsChargePersonEmail"}})],1)],1),"1"!=e.isType?r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"报送主管部门:",prop:"submissionDept"}},[r("el-input",{attrs:{maxlength:"50",clearable:"",placeholder:"请输入报送主管部门"},model:{value:e.informationFrom.submissionDept,callback:function(r){e.$set(e.informationFrom,"submissionDept",r)},expression:"informationFrom.submissionDept"}})],1)],1):e._e(),"1"!=e.isType?r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"企业主营业务所属行业:",prop:"enterpriseMainBusinessIndustry"}},[r("el-cascader",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入企业主营业务所属行业",options:e.belongIndustrys},on:{change:e.handleChange},model:{value:e.informationFrom.enterpriseMainBusinessIndustry,callback:function(r){e.$set(e.informationFrom,"enterpriseMainBusinessIndustry",r)},expression:"informationFrom.enterpriseMainBusinessIndustry"}})],1)],1):e._e(),r("el-col",{attrs:{span:12}},["1"!=e.isType?r("el-form-item",{attrs:{label:"纳入全国碳市场的行业分类:",prop:"nationalCarbonMarketIndustryClassify"}},[r("el-select",{attrs:{placeholder:"请选择全国碳市场的行业分类"},on:{change:e.nationalCarbonMarketChange},model:{value:e.informationFrom.nationalCarbonMarketIndustryClassify,callback:function(r){e.$set(e.informationFrom,"nationalCarbonMarketIndustryClassify",r)},expression:"informationFrom.nationalCarbonMarketIndustryClassify"}},e._l(e.nationalCarbonMarketIndustryClassifyList,(function(e,t){return r("el-option",{key:t,attrs:{clearable:"",label:e.dictValue,value:e.dictValue}})})),1)],1):e._e()],1),"1"!=e.isType?r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"纳入全国碳市场的行业子类:",prop:"nationalCarbonMarketIndustrySubclass"}},[r("el-select",{attrs:{placeholder:"请选择全国碳市场的行业子类"},model:{value:e.informationFrom.nationalCarbonMarketIndustrySubclass,callback:function(r){e.$set(e.informationFrom,"nationalCarbonMarketIndustrySubclass",r)},expression:"informationFrom.nationalCarbonMarketIndustrySubclass"}},e._l(e.nationalCarbonMarketIndustrySubclassList,(function(e,t){return r("el-option",{key:t,attrs:{clearable:"",label:e.dictValue,value:e.dictValue}})})),1)],1)],1):e._e(),"1"!=e.isType?r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"核算边界的详细描述:",prop:"accountingBoundaryRemark"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入核算边界的详细描述"},model:{value:e.informationFrom.accountingBoundaryRemark,callback:function(r){e.$set(e.informationFrom,"accountingBoundaryRemark",r)},expression:"informationFrom.accountingBoundaryRemark"}})],1)],1):e._e()],1),r("el-row",{attrs:{gutter:20}},["1"!=e.isType?r("el-col",{attrs:{span:24}},[r("el-form-item",{attrs:{label:"数据内部质量控制和质量保证相关规定:",prop:"dataInternalQualityStipulate"}},[r("el-input",{attrs:{type:"textarea","show-word-limit":"",rows:"3",clearable:"",placeholder:"请输入相关规定"},model:{value:e.informationFrom.dataInternalQualityStipulate,callback:function(r){e.$set(e.informationFrom,"dataInternalQualityStipulate",r)},expression:"informationFrom.dataInternalQualityStipulate"}})],1)],1):e._e()],1),r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{span:24}},[r("el-form-item",{attrs:{label:"企业简介:",prop:"enterpriseProfile"}},[r("el-input",{attrs:{type:"textarea","show-word-limit":"",rows:"3",clearable:"",placeholder:"请输入相关规定"},model:{value:e.informationFrom.enterpriseProfile,callback:function(r){e.$set(e.informationFrom,"enterpriseProfile",r)},expression:"informationFrom.enterpriseProfile"}})],1)],1)],1),"1"==e.isType?r("el-col",{attrs:{span:24}},[r("el-form-item",{attrs:{label:"营业执照:",prop:"businessLicense"}},[r("vz-upload-img",{attrs:{imgUrl:e.informationFrom.businessLicense},on:{change:e.changeFile},model:{value:e.informationFrom.businessLicense,callback:function(r){e.$set(e.informationFrom,"businessLicense",r)},expression:"informationFrom.businessLicense"}})],1)],1):e._e()],1),"1"!=e.isType?r("span",[e._v("主营产品:")]):e._e(),e.editShow||"1"==e.isType?e._e():r("el-button",{staticStyle:{float:"right"},attrs:{type:"text",icon:"el-icon-circle-plus-outline"},on:{click:e.addForm}},[e._v("添 加")]),"1"!=e.isType?r("el-divider"):e._e(),"1"!=e.isType?r("div",e._l(e.productForm.productList,(function(t,a){return r("el-form",{key:a,ref:"productForm",refInFor:!0,attrs:{"label-width":"260px",disabled:e.editShow},model:{value:e.informationFrom,callback:function(r){e.informationFrom=r},expression:"informationFrom"}},[r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"产品名称:",prop:"mainProduct"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入产品名称"},model:{value:t.mainProduct,callback:function(r){e.$set(t,"mainProduct",r)},expression:"item.mainProduct"}})],1)],1),r("el-col",{attrs:{span:12}},[r("el-form-item",{attrs:{label:"产品代码:",prop:"productCode"}},[r("el-input",{attrs:{clearable:"",maxlength:"50",placeholder:"请输入产品代码"},model:{value:t.productCode,callback:function(r){e.$set(t,"productCode",r)},expression:"item.productCode"}})],1)],1)],1),r("el-row",{attrs:{gutter:20}},[r("el-col",{attrs:{span:24}},[r("el-form-item",{attrs:{label:"产品工艺流程图与工艺流程描述:",prop:"productProcessFlowRemark"}},[r("el-input",{attrs:{clearable:"",type:"textarea","show-word-limit":"",rows:"5",placeholder:"请输入产品工艺流程图与工艺流程描述"},model:{value:t.productProcessFlowRemark,callback:function(r){e.$set(t,"productProcessFlowRemark",r)},expression:"item.productProcessFlowRemark"}})],1)],1)],1),r("div",{staticClass:"form_del"},[e.editShow?e._e():r("el-button",{attrs:{icon:"el-icon-circle-close"},on:{click:function(r){return e.delForm(a)}}},[e._v("删除")])],1)],1)})),1):e._e(),r("div",{staticClass:"avue-dialog__footer",staticStyle:{height:"45px"}},[e.editShow?e._e():r("el-button",{attrs:{type:"primary",icon:"el-icon-circle-plus-outline"},on:{click:e.saveData}},[e._v("保 存")]),r("el-button",{attrs:{icon:"el-icon-circle-close"},on:{click:e.cancelData}},[e._v("取消")])],1)],1)},i=[],l=(t("10ca"),t("f0a4")),c=t("2c14"),u=t("1f03"),d=t("c54a"),p={props:["getPageList","isTzj","disVersion"],data(){const e=(e,r,t)=>{/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(r)?t():t(new Error("请输入正确的邮箱地址"))};return{dynamicValidateForm:{domains:[{value:""}],email:""},pickeroption:{disabledDate(e){return e.getTime()>=(new Date).getTime()}},editShow:!1,informationFrom:{year:(new Date).getFullYear().toString(),scopeOrApp:"组织碳",industryName:"",enterpriseMainBusinessIndustry:"",version:"v1.5.0"},industryNames:[],industryId:"",scopeorApp:[{dictValue:"组织碳"}],isType:"2",productForm:{productList:[{mainProduct:"",productCode:"",productProcessFlowRemark:""}]},propertys:"",belongIndustrys:"",powerPlantTypeList:"",nationalCarbonMarketIndustryClassifyList:[],nationalCarbonMarketIndustrySubclassList:[],rules:{year:[{required:!0,message:"请选择年度",trigger:"blur"}],industryName:[{required:!0,message:"请选择行业",trigger:"change"}],employeesNumber:[{required:!0,message:"请输入员工人数",trigger:"blur"},{validator:d["a"],trigger:"blur"}],businessLicense:[{required:!0,message:"请上传营业执照",trigger:"blur"}],scopeOrApp:[{required:!0,message:"请选择适用于",trigger:"change"}],name:[{required:!0,message:"请输入单位名称",trigger:"blur"},{validator:d["j"],trigger:"blur"}],forShort:[{required:!0,message:"请输入单位简称",trigger:"blur"},{validator:d["j"],trigger:"blur"}],uscc:[{required:!0,message:"请输入统一信用代码",trigger:"blur"},{validator:d["l"],trigger:"blur"}],licenseNo:[{required:!0,message:"排污许可证编号",trigger:"blur"},{validator:d["j"],trigger:"blur"}],chinaCarbonClientNumber:[{required:!0,message:"请输入中碳所客户号",trigger:"blur"},{validator:d["j"],trigger:"blur"}],ctcMemberNumber:[{required:!0,message:"请输入中碳登会员编号",trigger:"blur"},{validator:d["j"],trigger:"blur"}],licenseNo:[{required:!0,message:"请输入中碳所客户号",trigger:"blur"},{validator:d["j"],trigger:"blur"}],membershipGroup:[{required:!0,message:"请输入所属集团",trigger:"blur"},{validator:d["j"],trigger:"blur"}],registrationAddress:[{required:!0,message:"请输入注册地址",trigger:"blur"},{validator:d["j"],trigger:"blur"}],businessAddress:[{required:!0,message:"请输入生产经营场所地址",trigger:"blur"},{validator:d["j"],trigger:"blur"}],registrationDate:[{required:!0,message:"请选择注册日期",trigger:"blur"}],registeredCapital:[{required:!0,message:"请输入注册资本",trigger:"blur"},{validator:d["e"],trigger:"blur"}],property:[{required:!0,message:"请选择单位性质",trigger:"change"}],legalRepresentative:[{required:!0,message:"请输入法定代表人",trigger:"blur"},{validator:d["j"],trigger:"blur"}],pc:[{required:!0,message:"请输入邮政表编码",trigger:"blur"},{validator:d["h"],trigger:"blur"}],carbonAssetsChargePerson:[{required:!0,message:"请输入填报联系人",trigger:"blur"},{validator:d["j"],trigger:"blur"}],carbonAssetsChargePersonPhone:[{required:!0,message:"请输入联系电话",trigger:"blur"},{validator:d["i"],trigger:"blur"}],carbonAssetsChargePersonEmail:[{required:!0,message:"请输入请输入电子邮箱",trigger:"blur"},{validator:e,trigger:"blur"}],submissionDept:[{required:!0,message:"请输入报送主管部门",trigger:"blur"},{validator:d["j"],trigger:"blur"}],powerPlantType:[{required:!0,message:"请选择电厂类型",trigger:"change"}],enterpriseMainBusinessIndustry:[{required:!0,message:"请选择企业主营业务所属行业",trigger:"change"}],nationalCarbonMarketIndustryClassify:[{required:!0,message:"请选择纳入全国碳市场的行业分类",trigger:"change"}],tgfTrapeze:[{required:!0,message:"请输入生产经营场所经纬度",trigger:"blur"},{validator:d["j"],trigger:"blur"}],nationalCarbonMarketIndustrySubclass:[{required:!0,message:"请选择纳入全国碳市场的行业子类",trigger:"change"}]},versionList:[]}},computed:{...Object(l["b"])(["menuId"])},mounted(){this.init()},components:{vzUploadImg:u["a"]},watch:{},methods:{handleChange(e){console.log(e,"valval")},init(){this.getDictionary(),this.getSystemDict(),this.getTreeList()},infoFrom(){return{name:"",industryId:"",industryName:"",version:"",uscc:"",licenseNo:"",registrationAddress:"",businessAddress:"",registrationDate:"",registeredCapital:void 0,property:"",legalRepresentative:"",pc:"",carbonAssetsChargePerson:"",carbonAssetsChargePersonPhone:void 0,carbonAssetsChargePersonEmail:"",submissionDept:"",nationalCarbonMarketIndustryClassify:"",nationalCarbonMarketIndustrySubclass:""}},getTreeList(e="FDSSSC-GHG-EF-BASE"){this.isTzj&&(e="CPT"),"CPT"===e?Object(n["getDict"])("carbon_footprint_industry").then(({data:e})=>{const r=e.data.length&&e.data[0].children.map(e=>({...e,name:e.dictValue}))||[];this.industryNames=r}):Object(c["getParentList"])().then(e=>{this.industryNames=e.data.data.records})},selectIndustryName(e){this.industryNames.forEach(r=>{r.name===e&&(this.industryId=r.id)})},selectScopeOrApp(e){"碳足迹"==e?(this.isType="1",this.getTreeList("CPT")):(this.isType="2",this.isTzj=!1,this.getTreeList("FDSSSC-GHG-EF-BASE")),this.informationFrom.industryName=""},changeFile(e){this.informationFrom.businessLicense=e},addForm(){const e=this;e.productForm.productList.push({})},delForm(e){e>=0&&this.productForm.productList.splice(e,1)},getSystemDict(){Object(n["getDict"])("power_plant_type").then(e=>{this.powerPlantTypeList=e.data.data[0].children}),Object(n["getDict"])("national_carbon_market_industry_classify").then(e=>{this.nationalCarbonMarketIndustryClassifyList=e.data.data[0].children||[]}),Object(n["getDict"])("version").then(e=>{this.versionList=e.data.data[0].children||[]})},nationalCarbonMarketChange(e){this.nationalCarbonMarketIndustryClassifyList.forEach(r=>{r.dictValue===e&&(this.nationalCarbonMarketIndustrySubclassList=r.children)})},convertToCascaderData(e){return e.map(e=>Array.isArray(e.children)&&e.children.length>0?{value:e.dictValue,label:e.dictValue,children:this.convertToCascaderData(e.children)}:{value:e.dictValue,label:e.dictValue})},getDictionary(){let e={code:"vztimes_until"};Object(n["getDictionary"])(e).then(e=>{this.propertys=e.data.data});let r="VZTIMES_001";Object(n["getDict"])(r).then(e=>{const r=this.convertToCascaderData(e.data.data[0].children);this.belongIndustrys=r});let t={code:"vztimes_laedr"};Object(n["getDictionary"])(t).then(e=>{this.legalPropertys=e.data.data});let a={code:"scope_or_app"};Object(n["getDictionary"])(a).then(e=>{this.scopeorApp=e.data.data})},saveData(){this.$refs.form.validate(e=>{if(e){let e=this.productForm.productList.map(e=>e.mainProduct),r=this.productForm.productList.map(e=>e.productCode),t=this.productForm.productList.map(e=>e.productProcessFlowRemark),a=this.informationFrom.enterpriseMainBusinessIndustry;this.informationFrom.mainProduct=e.join(","),this.informationFrom.productCode=r.join(","),this.informationFrom.productProcessFlowRemark=t.join(","),this.industryId&&(this.informationFrom.industryId=this.industryId),this.informationFrom.enterpriseMainBusinessIndustry instanceof Array&&(this.informationFrom.enterpriseMainBusinessIndustry=a.join(",")),Object(n["saveInfo"])(this.informationFrom).then(e=>{200===e.data.code&&(this.$message.success("保存成功"),this.$emit("updateAddShow",!1),this.informationFrom=this.infoFrom(),this.getPageList())}).catch(e=>{})}})},cancelData(){this.$confirm("确认关闭?").then(e=>{this.$emit("updateAddShow",!1),this.informationFrom=this.infoFrom()}).catch(e=>{})}}},m=p,b=(t("a8c9"),t("1805")),g=Object(b["a"])(m,o,i,!1,null,"6721d7a8",null),h=g.exports,y=t("0e0b"),f={components:{Information:h},computed:{...Object(l["b"])(["permission"])},data(){return{loading:!1,addShow:!1,data:[],page:{total:0,currentPage:1,pageSize:10},query:{},option:{searchMenuSpan:6,index:!0,height:"auto",align:"center",addBtn:!1,editBtn:!1,delBtn:!1,border:!0,menuWidth:300,column:[{label:"年度",prop:"year",search:!0,type:"year",width:100,valueFormat:"yyyy"},{label:"行业",prop:"industryName",width:200,search:!0,type:"select",dicUrl:"/api/vz/industry/parent-list",dicFormatter:e=>e.data.records,props:{label:"name",value:"name"}},{label:"企业名称",prop:"name"},{label:"适用于",prop:"scopeOrApp"},{label:"单位性质",prop:"property"},{label:"企业注册日期",prop:"registrationDate",width:130},{label:"纳入全国碳市场的行业分类",prop:"nationalCarbonMarketIndustryClassify",width:180}],isTzj:!1},isVersion:!1,versionList:[],rules:{version:[{required:!0,message:"请选择版本",trigger:"blur"}]},versionId:"",versionForm:{version:""},disVersion:!1,isAmendment:!1}},methods:{getPageList(e){this.page.currentPage,this.page.pageSize,this.query;this.loading=!0;const r=[{id:"1788017428190457857",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2024-05-08 09:25:49",updateUser:"1605399440819564545",updateTime:"2024-05-08 09:25:49",status:2,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2024,name:"123",forShort:"123",property:"国有企业",uscc:"111111111111111",belongIndustry:null,industryCode:null,licenseNo:"111",ctcMemberNumber:"111",chinaCarbonClientNumber:"11",membershipGroup:"11",version:"v1.3.0",registrationDate:"2023-11-22",registeredCapital:"1.0000",legalRepresentative:"11",legalProperty:null,registrationAddress:"1",businessAddress:"1",employeesNumber:null,pc:"100000",tgfTrapeze:"1",carbonManageDept:null,submissionDept:"1",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"制造业,酒、饮料和精制茶制造业(15C),酒的制造",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"12",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"1",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"17310812425",carbonAssetsChargePersonEmail:"134@142.44",enterpriseProfile:null,isRelevance:0,scopeOrApp:"组织碳",redisLockKey:"999606:1788017428190457857"},{id:"1781188771383762946",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2024-04-19 13:11:11",updateUser:"1605399440819564545",updateTime:"2024-04-19 13:11:11",status:1,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1699623150456619009",industryName:"中国化工生产企业",year:2024,name:"111",forShort:"11191110302053604529E",property:"国有企业",uscc:"91110302053604529E",belongIndustry:null,industryCode:null,licenseNo:"91110302053604529E",ctcMemberNumber:"91110302053604529E",chinaCarbonClientNumber:null,membershipGroup:"91110302053604529E",version:"v1.5.0",registrationDate:"2024-04-03",registeredCapital:"526000.0000",legalRepresentative:"张岭",legalProperty:null,registrationAddress:"ss",businessAddress:"ss",employeesNumber:5632,pc:"100000",tgfTrapeze:null,carbonManageDept:null,submissionDept:null,powerPlantType:null,enterpriseMainBusinessIndustry:"",nationalCarbonMarketIndustryClassify:null,nationalCarbonMarketIndustrySubclass:null,technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:null,dataInternalQualityStipulate:null,businessLicense:"http://192.168.2.201:9000/bucket2/upload/20240419131109908/src=http___news.cnr.cn_dj_20200227_W020200227754444270459.png&refer=http___news.cnr.jpg",chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"ss",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"13325442955",carbonAssetsChargePersonEmail:"13325442955@qq.com",enterpriseProfile:null,isRelevance:0,scopeOrApp:"碳足迹",redisLockKey:"999606:1781188771383762946"},{id:"1767106139024920577",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2024-03-11 16:31:49",updateUser:"1605399440819564545",updateTime:"2024-03-11 16:31:49",status:2,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2024,name:"集体企业",forShort:"集体企业",property:"国有企业",uscc:"111111111111111111",belongIndustry:null,industryCode:null,licenseNo:"111",ctcMemberNumber:"1",chinaCarbonClientNumber:"1",membershipGroup:"1",version:"v1.1.0",registrationDate:"2023-11-22",registeredCapital:"1.0000",legalRepresentative:"1",legalProperty:null,registrationAddress:"1",businessAddress:"1",employeesNumber:null,pc:"100000",tgfTrapeze:"1",carbonManageDept:null,submissionDept:"1",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"农、林、牧、渔业,农业(01A),谷物种植",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"1",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"1",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"17310814246",carbonAssetsChargePersonEmail:"134@142.44",enterpriseProfile:null,isRelevance:1,scopeOrApp:"组织碳",redisLockKey:"999606:1767106139024920577"},{id:"1753296914477965314",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2024-02-02 13:58:54",updateUser:"1605399440819564545",updateTime:"2024-02-02 13:58:54",status:1,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2024,name:"兖矿鲁南化工有限公司",forShort:"兖矿鲁南化工有限公司",property:"地方国企",uscc:"913704006644327461",belongIndustry:null,industryCode:null,licenseNo:"913704006644327461001P",ctcMemberNumber:"21030101541",chinaCarbonClientNumber:"0000000271",membershipGroup:"山东能源集团有限公司",version:"v1.5.0",registrationDate:"2007-07-11",registeredCapital:"504069.0900",legalRepresentative:"张岭",legalProperty:null,registrationAddress:"山东省枣庄市滕州市滕州市",businessAddress:"山东省枣庄市滕州市山东省滕州市木石镇(鲁南高科技化工园区)",employeesNumber:null,pc:"277500",tgfTrapeze:"3499594575641898N 1172734592110379E ",carbonManageDept:null,submissionDept:"生态环境厅",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"电力、热力、燃气及水生产和供应业,电力、热力生产和供应业(44D),电力生产",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"11111",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"石亚玲",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"13581125018",carbonAssetsChargePersonEmail:"13581125018@139.com",enterpriseProfile:null,isRelevance:0,scopeOrApp:"组织碳",redisLockKey:"999606:1753296914477965314"},{id:"1729376250989879298",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-11-28 13:46:43",updateUser:"1605399440819564545",updateTime:"2023-11-28 13:46:43",status:1,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2023,name:"兖矿鲁南化工有限公司",forShort:"兖矿鲁南化工有限公司",property:"地方国企",uscc:"913704006644327461",belongIndustry:null,industryCode:null,licenseNo:"913704006644327461001P",ctcMemberNumber:"21030101541",chinaCarbonClientNumber:"0000000271",membershipGroup:"山东能源集团有限公司",version:"v1.5.0",registrationDate:"2007-07-11",registeredCapital:"504069.0900",legalRepresentative:"张岭",legalProperty:null,registrationAddress:"山东省枣庄市滕州市滕州市",businessAddress:"山东省枣庄市滕州市山东省滕州市木石镇(鲁南高科技化工园区)",employeesNumber:null,pc:"277500",tgfTrapeze:"3499594575641898N 1172734592110379E ",carbonManageDept:null,submissionDept:"生态环境厅",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"电力、热力、燃气及水生产和供应业,电力、热力生产和供应业(44D),电力生产",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"11111",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"石亚玲",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"13581125018",carbonAssetsChargePersonEmail:"13581125018@139.com",enterpriseProfile:null,isRelevance:0,scopeOrApp:"组织碳",redisLockKey:"999606:1729376250989879298"},{id:"1728976075641274369",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-11-27 11:16:34",updateUser:"1605399440819564545",updateTime:"2023-11-27 11:16:34",status:2,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2023,name:"123",forShort:"123",property:"国有企业",uscc:"111111111111111",belongIndustry:null,industryCode:null,licenseNo:"111",ctcMemberNumber:"111",chinaCarbonClientNumber:"11",membershipGroup:"11",version:"v1.3.0",registrationDate:"2023-11-22",registeredCapital:"1.0000",legalRepresentative:"11",legalProperty:null,registrationAddress:"1",businessAddress:"1",employeesNumber:null,pc:"100000",tgfTrapeze:"1",carbonManageDept:null,submissionDept:"1",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"制造业,酒、饮料和精制茶制造业(15C),酒的制造",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"12",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"1",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"17310812425",carbonAssetsChargePersonEmail:"134@142.44",enterpriseProfile:null,isRelevance:0,scopeOrApp:"组织碳",redisLockKey:"999606:1728976075641274369"},{id:"1727262357802938369",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-11-22 17:46:52",updateUser:"1605399440819564545",updateTime:"2023-11-22 17:46:52",status:2,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2023,name:"集体企业",forShort:"集体企业",property:"国有企业",uscc:"111111111111111111",belongIndustry:null,industryCode:null,licenseNo:"111",ctcMemberNumber:"1",chinaCarbonClientNumber:"1",membershipGroup:"1",version:"v1.2.0",registrationDate:"2023-11-22",registeredCapital:"1.0000",legalRepresentative:"1",legalProperty:null,registrationAddress:"1",businessAddress:"1",employeesNumber:null,pc:"100000",tgfTrapeze:"1",carbonManageDept:null,submissionDept:"1",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"农、林、牧、渔业,农业(01A),谷物种植",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"1",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"1",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"17310814246",carbonAssetsChargePersonEmail:"134@142.44",enterpriseProfile:null,isRelevance:0,scopeOrApp:"组织碳",redisLockKey:"999606:1727262357802938369"},{id:"1727262315574685698",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-11-22 17:46:42",updateUser:"1605399440819564545",updateTime:"2023-11-22 17:46:52",status:2,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2023,name:"集体企业",forShort:"集体企业",property:"国有企业",uscc:"111111111111111111",belongIndustry:null,industryCode:null,licenseNo:"111",ctcMemberNumber:"1",chinaCarbonClientNumber:"1",membershipGroup:"1",version:"v1.1.0",registrationDate:"2023-11-22",registeredCapital:"1.0000",legalRepresentative:"1",legalProperty:null,registrationAddress:"1",businessAddress:"1",employeesNumber:null,pc:"100000",tgfTrapeze:"1",carbonManageDept:null,submissionDept:"1",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"农、林、牧、渔业,农业(01A),谷物种植",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"1",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"1",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"17310814246",carbonAssetsChargePersonEmail:"134@142.44",enterpriseProfile:null,isRelevance:1,scopeOrApp:"组织碳",redisLockKey:"999606:1727262315574685698"},{id:"1727262243868864514",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-11-22 17:46:25",updateUser:"1605399440819564545",updateTime:"2023-11-27 11:16:41",status:1,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2020,name:"集体企业",forShort:"集体企业",property:"国有企业",uscc:"111111111111111111",belongIndustry:null,industryCode:null,licenseNo:"111",ctcMemberNumber:"1",chinaCarbonClientNumber:"1",membershipGroup:"1",version:"v1.0.0",registrationDate:"2023-11-22",registeredCapital:"1.0000",legalRepresentative:"1",legalProperty:null,registrationAddress:"1",businessAddress:"1",employeesNumber:null,pc:"100000",tgfTrapeze:"1",carbonManageDept:null,submissionDept:"1",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"农、林、牧、渔业,农业(01A),谷物种植",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"1",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"1",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"17310814246",carbonAssetsChargePersonEmail:"134@142.44",enterpriseProfile:null,isRelevance:1,scopeOrApp:"组织碳",redisLockKey:"999606:1727262243868864514"},{id:"1727210207781523457",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-11-22 14:19:38",updateUser:"1605399440819564545",updateTime:"2023-11-22 14:19:38",status:2,isDeleted:0,tenantId:"999606",tempId:null,industryId:"1673153349597196289",industryName:"中国发电设施企业",year:2022,name:"123",forShort:"123",property:"国有企业",uscc:"111111111111111",belongIndustry:null,industryCode:null,licenseNo:"111",ctcMemberNumber:"111",chinaCarbonClientNumber:"11",membershipGroup:"11",version:"v1.3.0",registrationDate:"2023-11-22",registeredCapital:"1.0000",legalRepresentative:"11",legalProperty:null,registrationAddress:"1",businessAddress:"1",employeesNumber:null,pc:"100000",tgfTrapeze:"1",carbonManageDept:null,submissionDept:"1",powerPlantType:"公用电厂",enterpriseMainBusinessIndustry:"制造业,酒、饮料和精制茶制造业(15C),酒的制造",nationalCarbonMarketIndustryClassify:"中国发电企业",nationalCarbonMarketIndustrySubclass:"热电联产",technicalServiceAgencyName:null,technicalServiceAgencyUscc:null,mainProduct:"",productCode:"",productProcessFlowRemark:"",productProcessFlowChart:null,accountingBoundaryRemark:"12",dataInternalQualityStipulate:null,businessLicense:null,chargeUnitLeaders:null,leaderJob:null,leaderContact:null,leaderCarbonManageDept:null,carbonAssetsChargePerson:"1",carbonAssetsChargePersonJob:null,carbonAssetsChargePersonPhone:"17310812425",carbonAssetsChargePersonEmail:"134@142.44",enterpriseProfile:null,isRelevance:0,scopeOrApp:"组织碳",redisLockKey:"999606:1727210207781523457"}];this.page.total=12,this.data=r,this.loading=!1},handleAdd(){this.addShow=!0,this.isAmendment=!1},getSystemDict(){Object(n["getDict"])("version").then(e=>{this.versionList=e.data.data[0].children||[]})},searchChange(e,r){this.page.currentPage=1,this.query=e,this.getPageList(),r()},searchReset(){this.query={},this.getPageList()},currentChange(e){this.page.currentPage=e,this.getPageList()},sizeChange(e){this.page.pageSize=e,this.getPageList()},refreshChange(){this.page={pageSize:10,currentPage:1,total:0},this.getPageList()},updateAddShow(e){this.addShow=e,this.isTzj=!1,this.disVersion=!1},handleClose(){this.$confirm("确认关闭?").then(e=>{this.isTzj=!1,this.disVersion=!1,this.addShow=!1}).catch(e=>{})},handleView(e){this.addShow=!0;let{mainProduct:r="",productCode:t="",productProcessFlowRemark:a=""}=e;const s=[];r=r.split(","),t=t.split(","),a=a.split(","),r.forEach((e,r)=>{s.push({mainProduct:e,productCode:t[r],productProcessFlowRemark:a[r]})}),this.$nextTick(()=>{e.year=new Date(e.year+"/01/01").getFullYear().toString(),this.$refs.information.informationFrom=e,this.$refs.information.productForm.productList=s,this.$refs.information.editShow=!0,"碳足迹"==e.scopeOrApp?this.$refs.information.isType="1":this.$refs.information.isType="2"})},handleEdit(e){this.addShow=!0,this.disVersion=!0;let{mainProduct:r="",productCode:t="",productProcessFlowRemark:a=""}=Object(y["b"])(e);const s=[];r=r.split(","),t=t.split(","),a=a.split(","),s.length=0,r.forEach((e,r)=>{s.push({mainProduct:e,productCode:t[r],productProcessFlowRemark:a[r]})});let n=Object(y["b"])(e);if("碳足迹"==n.scopeOrApp&&(this.isTzj=!0),e.enterpriseMainBusinessIndustry&&"string"===typeof e.enterpriseMainBusinessIndustry){const r=e.enterpriseMainBusinessIndustry.split(/[,]/);e.enterpriseMainBusinessIndustry=r}this.$nextTick(()=>{this.$refs.information.productForm.productList=s,e.year=new Date(e.year+"/01/01").getFullYear().toString(),this.$refs.information.informationFrom=Object(y["b"])(e),"碳足迹"==e.scopeOrApp?this.$refs.information.isType="1":this.$refs.information.isType="2"})},handleVersion(e){this.isVersion=!0,this.getSystemDict(),this.versionForm.version=e.version,this.versionId=e.id,this.versionForm=Object(y["b"])(e)},handleSaveVersion(){this.$refs.versionForm.validate(e=>{if(e){let e={version:this.versionForm.version,id:this.versionId};this.versionForm.version=this.version,Object(n["getVersion"])(e).then(e=>{200===e.data.code&&(this.$message.success("修改成功"),this.version="",this.getPageList(),this.isVersion=!1)})}})},handleCloseVersion(e){this.$confirm("确认关闭?").then(e=>{this.isVersion=!1}).catch(e=>{})},handleDel(e){this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Object(n["removeInfo"])(e.id).then(e=>{200===e.data.code&&(this.$message.success("删除成功"),this.getPageList())})}).catch(()=>{})},handleCopy(e){Object(n["copyInfo"])(e.id).then(e=>{200===e.data.code&&(this.$message.success("复制成功"),this.getPageList())})}},mounted(){}},C=f,v=Object(b["a"])(C,a,s,!1,null,"1ee45926",null);r["default"]=v.exports},"545a":function(e,r,t){"use strict";t("5d85")},"5d85":function(e,r,t){},a8c9:function(e,r,t){"use strict";t("cbce")},cbce:function(e,r,t){}}]);