(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-32d7f89c"],{"16c8":function(e,t,a){},"1cdc":function(e,t,a){},"30a4":function(e,t,a){"use strict";a("1cdc")},"35fd":function(e,t,a){"use strict";var l=function(){var e=this,t=e._self._c;return t("div",[t("el-dialog",{staticClass:"aboutDialog",staticStyle:{overflow:"auto"},attrs:{visible:e.isShow,fullscreen:e.isFullscreen,"append-to-body":"",width:e.width,top:e.top,center:e.btnIsCenter},on:{"update:visible":function(t){e.isShow=t},close:e.close,"before-close":e.beforeClose}},[t("div",{attrs:{slot:"title"},slot:"title"},[t("span",[e._v(e._s(e.title))])]),e._t("default"),e.dialogBtns.cancelShow&&e.showBtn||e.dialogBtns.submitShow&&e.showBtn?t("div",{attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"show",rawName:"v-show",value:e.dialogBtns.submitShow,expression:"dialogBtns.submitShow"}],attrs:{loading:e.submitLoading,size:"mini",type:"primary"},on:{click:e.handleSubmit}},[e._v(e._s(e.dialogBtns.submitText))]),t("el-button",{directives:[{name:"show",rawName:"v-show",value:e.dialogBtns.cancelShow,expression:"dialogBtns.cancelShow"}],attrs:{size:"mini"},on:{click:e.closeDiolog}},[e._v(e._s(e.dialogBtns.cancelText))])],1):e._e()],2)],1)},r=[],i={props:{submitLoading:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},showBtn:{type:Boolean,default:!0},isShow:{type:Boolean,default:!1,required:!0},title:{type:String,default:""},width:{type:String,default:"60%"},height:{type:String},top:{type:String,default:"15vh"},showBtnGroup:{type:Boolean,default:!1},buttons:{type:Array,default:()=>[]},btnIsCenter:{type:Boolean,default:!1},dialogBtns:{type:Object,default:()=>({cancelText:"取 消",cancelShow:!0,submitText:"确 定",submitShow:!0})}},methods:{close(){this.closeDiolog()},beforeClose(e){this.$confirm("确认关闭?").then(t=>{e(),this.$emit("beforeClose")}).catch(e=>{})},closeDiolog(){this.$emit("handleClose")},handleSubmit(){this.$emit("handleSubmit")}}},s=i,n=(a("a2c4"),a("30a4"),a("1805")),d=Object(n["a"])(s,l,r,!1,null,"500051b5",null);t["a"]=d.exports},"50db":function(e,t,a){"use strict";a("16c8")},"6a14e":function(e,t,a){},8731:function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e._self._c;return t("div",[t("el-row",[t("el-col",{attrs:{span:5}},[t("basic-container",[t("el-button",{attrs:{icon:"el-icon-plus",type:"text"},on:{click:function(t){return e.addTreeNode({id:0})}}}),t("el-tree",{ref:"tree",attrs:{"node-key":"id",data:e.treeData,props:e.defaultProps,"default-expand-all":"","render-content":e.renderContent},on:{"node-click":e.handleNodeClick}})],1)],1),t("el-col",{attrs:{span:19}},[t("basic-container",[t("avue-crud",{ref:"crud",attrs:{option:e.option,"table-loading":e.loading,page:e.page,data:e.data},on:{"refresh-change":e.refreshChange,"search-change":e.searchChange,"search-reset":e.searchReset,"current-change":e.currentChange,"size-change":e.sizeChange,"update:page":function(t){e.page=t}},scopedSlots:e._u([{key:"menu",fn:function({row:a}){return[t("el-button",{attrs:{type:"text",size:"small",plain:"",icon:"el-icon-edit"},on:{click:function(t){return e.editData(a)}}},[e._v("编辑")]),t("el-button",{attrs:{type:"text",size:"small",plain:"",icon:"el-icon-delete"},on:{click:function(t){return e.handleDelete(a)}}},[e._v("删 除")])]}}])},[t("template",{slot:"menuLeft"},[t("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-plus",disabled:2!=e.treeLevel},on:{click:function(t){e.visible=!0}}},[e._v("新增")])],1)],2)],1)],1)],1),t("cus-drawe",{attrs:{size:"50%",title:e.isEdit?"编辑物料":"新增物料",visible:e.visible,buttons:e.buttonsList},on:{handleBeforeClose:e.handleBeforeClose,buttonClick:e.buttonsClick}},[t("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:e.ruleForm,rules:e.rules,"label-width":"140px"}},[t("el-row",[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"物料名称:",prop:"name"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.name,callback:function(t){e.$set(e.ruleForm,"name",t)},expression:"ruleForm.name"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"物料编码:",prop:"code"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.code,callback:function(t){e.$set(e.ruleForm,"code",t)},expression:"ruleForm.code"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"物料批次:",prop:"batchNumber"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.batchNumber,callback:function(t){e.$set(e.ruleForm,"batchNumber",t)},expression:"ruleForm.batchNumber"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"单位产品质量:",prop:"unitMass"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.unitMass,callback:function(t){e.$set(e.ruleForm,"unitMass",t)},expression:"ruleForm.unitMass"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"单位:",prop:"unit"}},[t("el-cascader",{attrs:{clearable:"","show-all-levels":!1,options:e.cascaderDatas},model:{value:e.ruleForm.unit,callback:function(t){e.$set(e.ruleForm,"unit",t)},expression:"ruleForm.unit"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"物料系统边界:",prop:"productSystemBoundary"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.productSystemBoundary,callback:function(t){e.$set(e.ruleForm,"productSystemBoundary",t)},expression:"ruleForm.productSystemBoundary"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"生产商所在地:",prop:"manufacturingEnterpriseAddress"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.manufacturingEnterpriseAddress,callback:function(t){e.$set(e.ruleForm,"manufacturingEnterpriseAddress",t)},expression:"ruleForm.manufacturingEnterpriseAddress"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"生产商名称:",prop:"manufacturingEnterprise"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.manufacturingEnterprise,callback:function(t){e.$set(e.ruleForm,"manufacturingEnterprise",t)},expression:"ruleForm.manufacturingEnterprise"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"型号:",prop:"modelNumber"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.modelNumber,callback:function(t){e.$set(e.ruleForm,"modelNumber",t)},expression:"ruleForm.modelNumber"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"是否有因子:",prop:"isFactor"}},[t("el-radio-group",{model:{value:e.ruleForm.isFactor,callback:function(t){e.$set(e.ruleForm,"isFactor",t)},expression:"ruleForm.isFactor"}},[t("el-radio",{attrs:{label:"0"}},[e._v("是")]),t("el-radio",{attrs:{label:"1"}},[e._v("否")])],1)],1)],1),"0"==e.ruleForm.isFactor?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"检测机构名称:",prop:"testingEnterprise"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.testingEnterprise,callback:function(t){e.$set(e.ruleForm,"testingEnterprise",t)},expression:"ruleForm.testingEnterprise"}})],1)],1):e._e(),"0"==e.ruleForm.isFactor?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"检测机构地址:",prop:"testingEnterpriseAddress"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.testingEnterpriseAddress,callback:function(t){e.$set(e.ruleForm,"testingEnterpriseAddress",t)},expression:"ruleForm.testingEnterpriseAddress"}})],1)],1):e._e(),"0"==e.ruleForm.isFactor?t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"碳排放值:",prop:"inputCarbonEmission"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleForm.inputCarbonEmission,callback:function(t){e.$set(e.ruleForm,"inputCarbonEmission",t)},expression:"ruleForm.inputCarbonEmission"}},[t("template",{slot:"append"},[e._v("tCO2/kg")])],2)],1)],1):e._e(),0!=e.ruleForm.isFactor?t("el-col",{attrs:{span:22}},[t("el-form-item",{attrs:{label:"因子选择:",prop:"factorName"}},[t("el-input",{attrs:{readonly:"",disabled:""},model:{value:e.ruleForm.factorName,callback:function(t){e.$set(e.ruleForm,"factorName",t)},expression:"ruleForm.factorName"}}),t("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.showFactorOnce}},[e._v("选择")])],1)],1):e._e(),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"物料说明:",prop:"explain"}},[t("el-input",{attrs:{type:"textarea",clearable:""},model:{value:e.ruleForm.explain,callback:function(t){e.$set(e.ruleForm,"explain",t)},expression:"ruleForm.explain"}})],1)],1),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"附件:"}},[t("vzUpLoad",{ref:"upload",attrs:{files:e.fileList},on:{change:e.changeFile,removeFile:e.removeFile}})],1)],1)],1)],1)],1),t("cus-drawe",{attrs:{size:"40%",title:e.editTree?"编辑树":"新建树",visible:e.visibleTree,buttons:e.buttonsList},on:{handleBeforeClose:e.handleBeforeCloseTree,buttonClick:e.buttonsTreeClick}},[t("el-form",{ref:"ruleFormTree",staticClass:"demo-ruleForm",attrs:{model:e.ruleFormTree,rules:e.rulesTree,"label-width":"120px"}},[t("el-row",[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"类型名称:",prop:"name"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleFormTree.name,callback:function(t){e.$set(e.ruleFormTree,"name",t)},expression:"ruleFormTree.name"}})],1)],1),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"类型:",prop:"category"}},[t("el-select",{attrs:{placeholder:"请选择",disabled:""},model:{value:e.ruleFormTree.category,callback:function(t){e.$set(e.ruleFormTree,"category",t)},expression:"ruleFormTree.category"}},e._l(e.categoryList,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"类型编码:",prop:"code"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleFormTree.code,callback:function(t){e.$set(e.ruleFormTree,"code",t)},expression:"ruleFormTree.code"}})],1)],1),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"排序:",prop:"sort"}},[t("el-input",{attrs:{type:"Number",clearable:""},model:{value:e.ruleFormTree.sort,callback:function(t){e.$set(e.ruleFormTree,"sort",t)},expression:"ruleFormTree.sort"}})],1)],1),t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"备注:",prop:"remark"}},[t("el-input",{attrs:{clearable:""},model:{value:e.ruleFormTree.remark,callback:function(t){e.$set(e.ruleFormTree,"remark",t)},expression:"ruleFormTree.remark"}})],1)],1)],1)],1)],1),t("cus-dialog",{attrs:{showBtn:!1,isShow:e.showFactor,title:"选择因子"},on:{handleClose:t=>e.showFactor=!1}},[t("el-form",{attrs:{"label-width":"120px",model:e.factorSearchData}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"因子名称:"}},[t("el-input",{attrs:{placeholder:"请输入内容"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search.apply(null,arguments)}},model:{value:e.factorSearchData.name,callback:function(t){e.$set(e.factorSearchData,"name",t)},expression:"factorSearchData.name"}})],1)],1),t("el-col",{attrs:{span:8}},[t("el-form-item",{attrs:{label:"因子类型:"}},[t("el-select",{attrs:{placeholder:"请选择"},model:{value:e.factorSearchData.type,callback:function(t){e.$set(e.factorSearchData,"type",t)},expression:"factorSearchData.type"}},e._l(e.factorTypeList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.dictValue,value:e.dictValue}})})),1)],1)],1),t("el-col",{attrs:{span:8}},[t("el-button",{staticStyle:{"margin-left":"12px"},attrs:{type:"primary"},on:{click:e.search}},[e._v("搜 索")]),t("el-button",{on:{click:e.resetSearch}},[e._v("重 置")])],1)],1)],1),t("el-table",{attrs:{size:"mini",data:e.factorList,stripe:"","show-overflow-tooltip":"","header-cell-style":{background:"#f5f6fa",color:"#606266",padding:"10px"}}},[t("el-table-column",{attrs:{label:"#"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-radio",{staticClass:"radio",attrs:{label:a.$index},on:{change:e.changeSelect},model:{value:e.select,callback:function(t){e.select=t},expression:"select"}},[e._v(" ")])]}}])}),t("el-table-column",{attrs:{prop:"name",label:"因子名称"}}),t("el-table-column",{attrs:{prop:"type",label:"因子类型"}}),t("el-table-column",{attrs:{prop:"factorEmissionsUnit",label:"因子单位"}}),t("el-table-column",{attrs:{prop:"factorEmissions",label:"因子排放"}})],1),t("div",{staticClass:"pagination"},[t("el-pagination",{attrs:{background:"",total:e.factorPage.total,"page-sizes":[10,20,30,40],"page-size":10,layout:"total, sizes, prev, pager, next, jumper"},on:{"size-change":e.FysizeChange,"current-change":e.FycurrentChange}})],1)],1)],1)},r=[],i=(a("fcd3"),a("e14d"),a("d2e1")),s=a("2040"),n=a("af95"),d=a("a982"),u=a("35fd"),c=a("f0a4"),o=a("323a"),m=a("0e0b"),p={components:{cusDialog:u["a"],vzUpLoad:n["a"]},computed:{isDisable(){return!this.treeLevel}},data(){return{select:"",factorOptionWl:s["g"],showFactor:!1,data:[],editTree:!1,categoryList:s["c"],visibleTree:!1,buttonsList:s["a"],ruleFormTree:s["q"],rulesTree:s["t"],ruleForm:s["p"],cascaderDatas:[],rules:s["r"],isEdit:!1,visible:!1,tableData:[],option:s["l"],loading:!1,treeData:[],defaultProps:s["d"],treeShow:!0,treeLevel:null,treeId:"",page:s["m"],factorPage:s["m"],query:{},factorList:[],factorTypeList:[],factorSearchData:{name:"",type:""},fileList:[],filteredArray:[]}},computed:{...Object(c["b"])(["permission"])},created(){this.getFactorType(),this.getUnitDict(),this.getTree(),this.getFactorListPage(),this.onLoad()},methods:{changeFile(e){this.fileList=e},removeFile(e){this.filteredArray.push({id:e.id});let t=[];t=this.fileList.filter(t=>t.id!==e.id),this.fileList.splice(0,this.fileList.length,...t)},async getFileListFn(e){let{data:t}=await Object(o["getFileList"])(e);t.data.records.forEach(e=>{e.name=e.introduction}),this.fileList=t.data.records},showFactorOnce(){this.showFactor=!0,this.factorSearchData.name=this.ruleForm.name,this.getFactorListPage()},currentChange(e){this.page.currentPage=e,this.onLoad()},sizeChange(e){this.page.pageSize=e,this.onLoad()},FysizeChange(e){this.factorPage.size=e,this.getFactorListPage()},FycurrentChange(e){this.factorPage.currentPage=e,this.getFactorListPage()},searchChange({name:e},t){this.query.name=e,this.ruleForm.materialTypeTreeId=null,this.onLoad(),t()},searchReset(){this.query={},this.onLoad()},search(){this.factorPage.currentPage=1,this.getFactorListPage()},resetSearch(){this.factorPage.currentPage=1,this.factorSearchData={},this.getFactorListPage()},async getFactorType(){this.factorTypeList=[{id:"1653954678800478210",parentId:"1653954471727689729",code:"FACTOR_TYPE",dictKey:"factor_cn",dictValue:"中国",sort:1,remark:"中国",isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1653954882563960834",parentId:"1653954471727689729",code:"FACTOR_TYPE",dictKey:"factor_bt",dictValue:"英国",sort:2,remark:"英国",isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1653955004161028097",parentId:"1653954471727689729",code:"FACTOR_TYPE",dictKey:"factor_eu",dictValue:"欧盟",sort:3,remark:"欧盟",isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1653955163859152898",parentId:"1653954471727689729",code:"FACTOR_TYPE",dictKey:"factor_tus",dictValue:"美国",sort:4,remark:"美国",isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1653955359317913601",parentId:"1653954471727689729",code:"FACTOR_TYPE",dictKey:"factor_ipcc",dictValue:"IPCC",sort:5,remark:"IPCC",isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}]},changeSelect(e){this.ruleForm.factorId=this.factorList[e].id,this.ruleForm.factorName=this.factorList[e].name,this.ruleForm.carbonEmission=this.factorList[e].factorEmissions,this.showFactor=!1},async getFactorListPage(){this.factorPage.currentPage,this.factorPage.size;this.factorList=[{id:"1724974179700110001",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"铁矿石平均\n(Iron ore average)",code:null,type:null,practice:null,area:null,upstreamEmissions:"1.1",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"1.1",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:"铁矿石开采和选矿:1.10",ghgPercentage:null,emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:"2014",englishAbstract:null,uncertainty:null,others:null,dataSource:"[1] 冯超,朱海玲,徐志强.基于EIO LCA的铁矿石采选温室气体排放强度分析 [J]. 中国矿业, 2017,026(003):103-106,111;\n[2] world steel association. CO2 Data Collection User Guide, version 10;\n[2] 刘宏强,付建勋,刘思雨,谢欣悦,杨笑楹.钢铁生产过程二氧化碳排放计算方法与实践 [J]. 钢铁, 2016,51(04):74-82;\n[3] 万腾方, 戴方钦, 雷体新.基于生命周期评价方法的武钢钢铁产品环境影响评估 [J]. 工业安全与环保, 2018,44(02):72-76.",dataSourceSimplify:"冯超等, 2017;\n刘宏强等, 2016;\n万腾方等, 2018",dataPrincipal:null,dataLink:null,remark:null},{id:"1724974179700110002",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"铁矿石(Iron ore)",code:null,type:null,practice:null,area:null,upstreamEmissions:"2.14",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"2.14",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:"铁矿石开采和选矿:2.138;",ghgPercentage:"CH4:0.195;N2O:0.011;CO2:1.932",emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:"2014",englishAbstract:null,uncertainty:"(1)区域(全国)",others:"铁矿石开采和选矿,CH4(34);N2O(298);",dataSource:"[1] 冯超, 朱海玲, 徐志强.基于EIO LCA的铁矿石采选温室气体排放强度分析 [J]. 中国矿业, 2017,026(003):103-106,111;\n[2] World Steel Association. CO2 Data Collection User Guide [R], version 10.2021.",dataSourceSimplify:"冯超等, 2017;\nWorld Steel Association,2021",dataPrincipal:"张琦",dataLink:null,remark:null},{id:"1724974179700110003",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"铁矿石(Iron ore)",code:null,type:null,practice:null,area:null,upstreamEmissions:"0.07",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"0.07",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:"铁矿石开采和选矿:0.07",ghgPercentage:null,emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:"2014",englishAbstract:null,uncertainty:null,others:"根据文献中折算(开采1.34t铁矿石,排放0.094CO2当量)",dataSource:"[1] 刘宏强,付建勋,刘思雨,谢欣悦,杨笑楹.钢铁生产过程二氧化碳排放计算方法与实践 [J]. 钢铁, 2016,51(04):74-82;\n[2] 万腾方, 戴方钦, 雷体新.基于生命周期评价方法的武钢钢铁产品环境影响评估 [J]. 工业安全与环保, 2018,44(02):72-76.",dataSourceSimplify:"刘宏强等, 2016;\n万腾方等, 2018",dataPrincipal:"张琦",dataLink:null,remark:null},{id:"1724974179700110004",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"锰矿石(Manganese ore)",code:null,type:null,practice:null,area:null,upstreamEmissions:"0.12",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"0.12",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:"矿石开采:0.063;流通阶段:0.052;深加工:0.824",ghgPercentage:null,emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:"2003-2015",englishAbstract:null,uncertainty:"(1)区域(贵州);(2)调研,计算;",others:"数据来源于对研究区(贵州铜仁松桃)内的 3 家锰矿山、8 家电解锰企业和相关科研机构调研",dataSource:"刘江宜,窦世权,肖建忠,张洁,潘文.基于全生命周期的矿产资源开发环境影响评估——以贵州松桃锰矿整装勘查区为例 [J]. 资源与产业, 2019,21(04):36-43.",dataSourceSimplify:"刘江宜等, 2019",dataPrincipal:"孟凡鑫,樊兆宇",dataLink:null,remark:null},{id:"1724974179700110005",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"铝土矿平均(Bauxite average)",code:null,type:null,practice:null,area:null,upstreamEmissions:"0.04",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"0.04",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:null,ghgPercentage:null,emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:null,englishAbstract:null,uncertainty:null,others:null,dataSource:"[1] Cai B F, Liang S, Zhou J, et al. China High Resolution Emission Database (CHRED) with Point Emission Sources, Gridded Emission Data, and Supplementary Socioeconomic Data [J]. Resources, Conservation and Recycling, 2018,129:232-239; \n[2] 李贵奇.基于生命周期思想的环境评估模型及其在铝工业中的应用 [D]. 长沙:中南大学, 2011.",dataSourceSimplify:"Cai B F et al, 2018;\n李贵奇, 2011",dataPrincipal:"蔡博峰",dataLink:null,remark:null},{id:"1724974179700110006",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"铝土矿(Bauxite)",code:null,type:null,practice:null,area:null,upstreamEmissions:"0.08",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"0.08",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:null,ghgPercentage:null,emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:null,englishAbstract:null,uncertainty:"(1)区域(全国)",others:"中国高空间分辨率排放网格数据(China High Resolution Emission Gridded Database,CHRED)",dataSource:"Cai B F, Liang S, Zhou J, et al. China High Resolution Emission Database (CHRED) with Point Emission Sources, Gridded Emission Data, and Supplementary Socioeconomic Data [J]. Resources, Conservation and Recycling, 2018,129:232-239.",dataSourceSimplify:"Cai B F et al, 2018",dataPrincipal:"张琦",dataLink:null,remark:null},{id:"1724974179700110007",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"铝土矿(Bauxite)",code:null,type:null,practice:null,area:null,upstreamEmissions:"5.2",upstreamEmissionsUnit:"千克二氧化碳当量/吨\n(kg CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"5.2",factorEmissionsUnit:"千克二氧化碳当量/吨\n(kg CO2-eq/ t)",emissionProcesses:"开采:5.2;",ghgPercentage:null,emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:null,englishAbstract:null,uncertainty:null,others:null,dataSource:"李贵奇.基于生命周期思想的环境评估模型及其在铝工业中的应用 [D]. 长沙:中南大学, 2011.",dataSourceSimplify:"李贵奇, 2013",dataPrincipal:"张琦",dataLink:null,remark:null},{id:"1724974179700110008",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"铜矿(copper ore)",code:null,type:null,practice:null,area:null,upstreamEmissions:"1.92",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"1.92",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:"开采:1.923;",ghgPercentage:null,emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:"2018",englishAbstract:null,uncertainty:"(3)结果定量不确定性",others:null,dataSource:"Chen J, Wang Z, Wu Y, et al. Environmental benefits of secondary copper from primary copper based on life cycle assessment in China [J]. Resources Conservation and Recycling, 2019, 146:35-44.",dataSourceSimplify:"Chen J et al, 2019",dataPrincipal:"张琦",dataLink:null,remark:null},{id:"1724974179700110009",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"精铜矿\n(Refined copper ore)",code:null,type:null,practice:null,area:null,upstreamEmissions:"10.9",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"10.9",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:"铜矿开采:10.72;铜精矿运输:0.18",ghgPercentage:"CO2:26.16",emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:"2009",englishAbstract:null,uncertainty:"(1)区域(全国);(2)实测和计算结合;",others:"水口山炼铜工艺和金峰炼铜工艺取平均值",dataSource:"况侨.生命周期评价方法在两种炼铜工艺应用的研究 [D]. 昆明:昆明理工大学, 2019.",dataSourceSimplify:"况侨, 2019",dataPrincipal:"段华波",dataLink:null,remark:null},{id:"1724974179700110010",createUser:null,createDept:null,createTime:null,updateUser:null,updateTime:null,status:0,isDeleted:0,tenantId:null,name:"金属铜-镍铜共生-平均\n(copper-nickel copper symbiosis average)",code:null,type:null,practice:null,area:null,upstreamEmissions:"10.3",upstreamEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",downstreamEmissions:null,downstreamEmissionsUnit:null,factorEmissions:"10.3",factorEmissionsUnit:"吨二氧化碳当量/吨\n(t CO2-eq/ t)",emissionProcesses:null,ghgPercentage:null,emissionReduction:null,ipccWorkSheet:null,equation:null,dataDate:"2005",englishAbstract:null,uncertainty:null,others:null,dataSource:"姜金龙,徐金城,侯尚林,刘延君,戴剑峰.共生矿石生产电解镍/铜的生命周期评价研究 [J]. 环境科学学报, 2005, 11:142-146.",dataSourceSimplify:"姜金龙等, 2005",dataPrincipal:"蔡博峰",dataLink:null,remark:null}]},handleDelete(e){this.$confirm("确定将选择数据删除?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(async()=>{let t=e.id;Object(i["api_removeMaterial"])(t).then(()=>{this.onLoad(),this.$message({type:"success",message:"删除成功"})})})},refreshChange(){this.page={pageSize:10,currentPage:1,total:0},this.onLoad()},onLoad(e){this.loading=!0;this.query,this.page.currentPage,this.page.size,this.ruleForm.materialTypeTreeId;const t=[{id:"21",createUser:"1123598821738675201",createDept:"1574353530564247554",createTime:"2023-06-29 13:31:46",updateUser:"1123598821738675201",updateTime:"2023-06-29 13:31:46",status:0,isDeleted:0,tenantId:"999606",factorId:"1674031152249155585",carbonEmission:"4",carbonEmissionUnit:null,name:"水泥",code:"snhl56248",batchNumber:"hjg5587",manufacturingEnterprise:"河北省唐山市xx企业",manufacturingEnterpriseAddress:"河北省唐山市",testingEnterprise:"河北省质量检测中心",testingEnterpriseAddress:"河北省唐山市",unitMass:"86",unit:"t",specification:"12",modelNumber:"dl8841537",attaches:null,productSystemBoundary:"无",standardRulesForEvaluation:null,explain:"13",isFactor:"0",factorName:null},{id:"22",createUser:"1123598821738675201",createDept:"1574353530564247554",createTime:"2023-06-29 13:34:15",updateUser:"1123598821738675201",updateTime:"2023-06-29 13:34:15",status:0,isDeleted:0,tenantId:"999606",factorId:"1674031510467883009",carbonEmission:"7",carbonEmissionUnit:null,name:"沙子",code:"SF55421",batchNumber:"hdk5698",manufacturingEnterprise:"河北省唐山市XX中心",manufacturingEnterpriseAddress:"河北省石家庄市",testingEnterprise:"河北省石家庄市质量检测中心",testingEnterpriseAddress:"河北省石家庄市",unitMass:"176",unit:"t",specification:"12",modelNumber:"JL866475",attaches:null,productSystemBoundary:"无",standardRulesForEvaluation:null,explain:"31",isFactor:"0",factorName:null},{id:"23",createUser:"1123598821738675201",createDept:"1574353530564247554",createTime:"2023-06-29 13:36:18",updateUser:"1605399440819564545",updateTime:"2023-11-03 14:51:24",status:0,isDeleted:0,tenantId:"999606",factorId:"1674032174786916353",carbonEmission:"6",carbonEmissionUnit:null,name:"水泥袋",code:"SND54478",batchNumber:"MG2254",manufacturingEnterprise:"河北省邯郸市XX中心",manufacturingEnterpriseAddress:"河北省邯郸市",testingEnterprise:"河北省邯郸市质量检测中心",testingEnterpriseAddress:"河北省邯郸市",unitMass:"12",unit:"kg",specification:"12",modelNumber:"HLO55368",attaches:null,productSystemBoundary:"无",standardRulesForEvaluation:null,explain:"13",isFactor:"1",factorName:null},{id:"24",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-18 04:22:09",updateUser:"1605399440819564545",updateTime:"2023-07-18 04:22:09",status:0,isDeleted:0,tenantId:"999606",factorId:null,carbonEmission:"2",carbonEmissionUnit:null,name:"塑料膜",code:"w2231",batchNumber:"21",manufacturingEnterprise:"xx",manufacturingEnterpriseAddress:"xx",testingEnterprise:"xx",testingEnterpriseAddress:"xxx",unitMass:"5kg",unit:"kg",specification:"1",modelNumber:"xxx",attaches:null,productSystemBoundary:"x",standardRulesForEvaluation:null,explain:"1",isFactor:"0",factorName:null},{id:"29",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-17 03:42:41",updateUser:"1605399440819564545",updateTime:"2023-10-24 13:55:55",status:0,isDeleted:0,tenantId:"999606",factorId:null,carbonEmission:"22",carbonEmissionUnit:null,name:"22",code:"2222",batchNumber:"22",manufacturingEnterprise:"22",manufacturingEnterpriseAddress:"22",testingEnterprise:"22",testingEnterpriseAddress:"22",unitMass:"22",unit:"t",specification:"13",modelNumber:"22",attaches:"http://192.168.2.201:9000/bucket2/upload/20230817114235174/截屏2023-08-17 11.36.28.png",productSystemBoundary:"22",standardRulesForEvaluation:null,explain:"2",isFactor:"0",factorName:null},{id:"30",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-28 05:52:54",updateUser:"1605399440819564545",updateTime:"2023-08-28 05:52:54",status:0,isDeleted:0,tenantId:"999606",factorId:"1674029872428593153",carbonEmission:null,carbonEmissionUnit:null,name:"生铁",code:"SQLO7445125",batchNumber:"20221522478",manufacturingEnterprise:"太钢",manufacturingEnterpriseAddress:"山西省",testingEnterprise:null,testingEnterpriseAddress:null,unitMass:"1",unit:"t",specification:null,modelNumber:"KLOPU7452136",attaches:"http://192.168.2.201:9000/bucket2/upload/20230828135252485/20200613112368646864.jpg",productSystemBoundary:"无",standardRulesForEvaluation:null,explain:null,isFactor:"0",factorName:null},{id:"31",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-28 05:54:14",updateUser:"1605399440819564545",updateTime:"2023-08-28 05:54:14",status:0,isDeleted:0,tenantId:"999606",factorId:"1694244285609619457",carbonEmission:null,carbonEmissionUnit:null,name:"铁矿石",code:"GBHJK7458963",batchNumber:"202314256",manufacturingEnterprise:"太钢",manufacturingEnterpriseAddress:"山西省",testingEnterprise:null,testingEnterpriseAddress:null,unitMass:"1",unit:"t",specification:null,modelNumber:"2021445636",attaches:null,productSystemBoundary:"无",standardRulesForEvaluation:null,explain:null,isFactor:"0",factorName:null},{id:"32",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-28 05:55:36",updateUser:"1605399440819564545",updateTime:"2023-11-28 16:38:15",status:0,isDeleted:0,tenantId:"999606",factorId:"1724974179700110006",carbonEmission:"0.08",carbonEmissionUnit:null,name:"木制品",code:"GBHJKL25366",batchNumber:"20214453698",manufacturingEnterprise:"太钢",manufacturingEnterpriseAddress:"山西省",testingEnterprise:null,testingEnterpriseAddress:null,unitMass:"1",unit:"t",specification:null,modelNumber:"5236488",attaches:null,productSystemBoundary:"无",standardRulesForEvaluation:null,explain:null,isFactor:"1",factorName:"铝土矿(Bauxite)"},{id:"33",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-28 05:56:48",updateUser:"1605399440819564545",updateTime:"2023-08-28 05:56:48",status:0,isDeleted:0,tenantId:"999606",factorId:"1674038520848523266",carbonEmission:"144",carbonEmissionUnit:null,name:"塑料",code:"KNGJ76326",batchNumber:"20224512369",manufacturingEnterprise:"太钢",manufacturingEnterpriseAddress:"山西省",testingEnterprise:null,testingEnterpriseAddress:null,unitMass:"1",unit:"t",specification:null,modelNumber:"2021554788",attaches:null,productSystemBoundary:"无",standardRulesForEvaluation:null,explain:null,isFactor:"1",factorName:null},{id:"36",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-29 01:46:49",updateUser:"1605399440819564545",updateTime:"2023-08-29 01:46:49",status:0,isDeleted:0,tenantId:"999606",factorId:null,carbonEmission:"25",carbonEmissionUnit:null,name:"我的物料",code:"123",batchNumber:"23121",manufacturingEnterprise:"科亚",manufacturingEnterpriseAddress:"北京",testingEnterprise:"123",testingEnterpriseAddress:"111",unitMass:"123",unit:"kg",specification:null,modelNumber:"32",attaches:null,productSystemBoundary:"232",standardRulesForEvaluation:null,explain:"123",isFactor:"0",factorName:null}];this.data=t,this.loading=!1},async getTree(){this.treeData=[{id:"1674408624685813762",createUser:"1123598821738675201",createDept:"1574353530564247554",createTime:"2023-06-29 21:25:00",updateUser:"1605399440819564545",updateTime:"2023-07-18 12:19:25",status:1,isDeleted:0,tenantId:"999606",name:"材料分类",code:"SN9089743",parentId:"0",category:"1",sort:1,remark:null,children:[{id:"1674408852793036801",createUser:"1123598821738675201",createDept:"1574353530564247554",createTime:"2023-06-29 21:25:54",updateUser:"1605399440819564545",updateTime:"2023-07-18 12:18:36",status:1,isDeleted:0,tenantId:"999606",name:"材料A",code:"BZ201136",parentId:"1674408624685813762",category:"2",sort:2,remark:null,children:[]},{id:"1685950244161830913",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-31 17:47:16",updateUser:"1605399440819564545",updateTime:"2023-07-31 17:47:16",status:1,isDeleted:0,tenantId:"999606",name:"测试",code:"11",parentId:"1674408624685813762",category:"1",sort:1,remark:null,children:[]}]},{id:"1682620656107044865",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:16:41",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:16:41",status:1,isDeleted:0,tenantId:"999606",name:"三烯",code:"111",parentId:"0",category:"1",sort:1,remark:null,children:[{id:"1682621047070703617",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:18:14",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:18:14",status:1,isDeleted:0,tenantId:"999606",name:"乙烯",code:"乙烯",parentId:"1682620656107044865",category:"1",sort:2,remark:null,children:[]},{id:"1682621116683567106",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:18:30",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:18:30",status:1,isDeleted:0,tenantId:"999606",name:"丙烯",code:"丙烯",parentId:"1682620656107044865",category:"1",sort:2,remark:null,children:[]},{id:"1682621179170308098",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:18:45",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:18:45",status:1,isDeleted:0,tenantId:"999606",name:"丁二烯",code:"丁二烯",parentId:"1682620656107044865",category:"1",sort:3,remark:null,children:[]}]},{id:"1682620736121782273",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:17:00",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:17:00",status:1,isDeleted:0,tenantId:"999606",name:"三苯基",code:"三苯基",parentId:"0",category:"1",sort:1,remark:null,children:[{id:"1682621244840525825",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:19:01",updateUser:"1605399440819564545",updateTime:"2023-08-31 17:20:52",status:1,isDeleted:0,tenantId:"999606",name:"苯",code:"苯",parentId:"1682620736121782273",category:"1",sort:1,remark:null,children:[]},{id:"1682621301803368450",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:19:15",updateUser:"1605399440819564545",updateTime:"2023-08-31 17:20:31",status:1,isDeleted:0,tenantId:"999606",name:"甲苯",code:"甲苯",parentId:"1682620736121782273",category:"1",sort:2,remark:null,children:[]},{id:"1682621371328151553",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:19:31",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:19:31",status:1,isDeleted:0,tenantId:"999606",name:"二甲苯",code:"二甲苯",parentId:"1682620736121782273",category:"1",sort:3,remark:null,children:[]}]},{id:"1682620808666464258",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:17:17",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:17:17",status:1,isDeleted:0,tenantId:"999606",name:"炔烃",code:"炔烃",parentId:"0",category:"1",sort:1,remark:null,children:[{id:"1682621434704084993",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:19:46",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:19:46",status:1,isDeleted:0,tenantId:"999606",name:"乙炔",code:"乙炔",parentId:"1682620808666464258",category:"1",sort:1,remark:null,children:[]}]},{id:"1682621545286909954",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:20:13",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:20:13",status:1,isDeleted:0,tenantId:"999606",name:"萘",code:"萘",parentId:"0",category:"1",sort:5,remark:null,children:[{id:"1697485097273270274",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-09-01 13:42:40",updateUser:"1605399440819564545",updateTime:"2023-09-01 13:42:40",status:1,isDeleted:0,tenantId:"999606",name:"包装",code:"BZ",parentId:"1682621545286909954",category:"2",sort:1,remark:"1",children:[]},{id:"1697485178454024193",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-09-01 13:42:59",updateUser:"1605399440819564545",updateTime:"2023-09-01 13:42:59",status:1,isDeleted:0,tenantId:"999606",name:"原材料",code:"yl",parentId:"1682621545286909954",category:"2",sort:2,remark:"1",children:[]}]},{id:"1682621841866145794",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:21:23",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:21:23",status:1,isDeleted:0,tenantId:"999606",name:"醛类",code:"醛类",parentId:"0",category:"1",sort:1,remark:null,children:[]},{id:"1682621905636343809",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:21:39",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:21:39",status:1,isDeleted:0,tenantId:"999606",name:"醇类",code:"醇类",parentId:"0",category:"1",sort:2,remark:null,children:[]},{id:"1682621958157418498",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:21:51",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:21:51",status:1,isDeleted:0,tenantId:"999606",name:"酮类",code:"酮类",parentId:"0",category:"1",sort:3,remark:null,children:[]},{id:"1682622012750479362",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:22:04",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:22:04",status:1,isDeleted:0,tenantId:"999606",name:"酚类",code:"酚类",parentId:"0",category:"1",sort:4,remark:null,children:[]},{id:"1682622093318864897",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:22:23",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:22:23",status:1,isDeleted:0,tenantId:"999606",name:"醚类",code:"醚类",parentId:"0",category:"1",sort:5,remark:null,children:[]},{id:"1682622178207383554",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:22:44",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:22:59",status:1,isDeleted:0,tenantId:"999606",name:"酸酐类",code:"酸酐类",parentId:"0",category:"1",sort:7,remark:null,children:[]},{id:"1682622328195694593",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:23:19",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:23:19",status:1,isDeleted:0,tenantId:"999606",name:"酯类",code:"酯类",parentId:"0",category:"1",sort:8,remark:null,children:[]},{id:"1682622433275592706",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:23:44",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:23:44",status:1,isDeleted:0,tenantId:"999606",name:"醌类",code:"醌类",parentId:"0",category:"1",sort:8,remark:null,children:[]},{id:"1682622516217954305",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:24:04",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:24:04",status:1,isDeleted:0,tenantId:"999606",name:"有机酸类",code:"有机酸类",parentId:"0",category:"1",sort:1,remark:null,children:[]},{id:"1682622597134467073",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:24:23",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:24:23",status:1,isDeleted:0,tenantId:"999606",name:"羧酸类",code:"羧酸类",parentId:"0",category:"1",sort:1,remark:null,children:[]},{id:"1682622666168516609",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:24:40",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:24:40",status:1,isDeleted:0,tenantId:"999606",name:"腈类",code:"腈类",parentId:"0",category:"1",sort:1,remark:null,children:[]},{id:"1682622734468562946",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:24:56",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:24:56",status:1,isDeleted:0,tenantId:"999606",name:"卤素类",code:"卤素类",parentId:"0",category:"1",sort:1,remark:null,children:[]},{id:"1682622795562795009",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:25:11",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:25:11",status:1,isDeleted:0,tenantId:"999606",name:"酰胺类",code:"酰胺类",parentId:"0",category:"1",sort:1,remark:null,children:[]},{id:"1682622981093638146",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:25:55",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:25:55",status:1,isDeleted:0,tenantId:"999606",name:"有机化工原料",code:"有机化工原料",parentId:"0",category:"1",sort:1,remark:null,children:[]},{id:"1682623040510148609",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-07-22 13:26:09",updateUser:"1605399440819564545",updateTime:"2023-07-22 13:26:09",status:1,isDeleted:0,tenantId:"999606",name:"无机化工原料",code:"无机化工原料",parentId:"0",category:"1",sort:1,remark:null,children:[]},{id:"1696037490273447937",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-28 13:50:23",updateUser:"1605399440819564545",updateTime:"2023-08-28 13:50:23",status:1,isDeleted:0,tenantId:"999606",name:"不锈钢",code:"product-border",parentId:"0",category:"产品边界",sort:1,remark:null,children:[{id:"1696037625376174081",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-28 13:50:55",updateUser:"1605399440819564545",updateTime:"2023-08-28 13:50:55",status:1,isDeleted:0,tenantId:"999606",name:"原材料",code:"material-boundary",parentId:"1696037490273447937",category:"物料边界",sort:1,remark:null,children:[]},{id:"1696037755785474049",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-28 13:51:26",updateUser:"1605399440819564545",updateTime:"2023-08-28 13:51:26",status:1,isDeleted:0,tenantId:"999606",name:"包装材料",code:"industry-boundary",parentId:"1696037490273447937",category:"行业边界",sort:2,remark:null,children:[]}]},{id:"1696338861120020482",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-29 09:47:56",updateUser:"1605399440819564545",updateTime:"2023-08-29 09:47:56",status:1,isDeleted:0,tenantId:"999606",name:"牛奶材料",code:"milkcode",parentId:"0",category:"1",sort:1,remark:"~",children:[{id:"1696339127466713089",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-08-29 09:48:59",updateUser:"1605399440819564545",updateTime:"2023-08-29 09:48:59",status:1,isDeleted:0,tenantId:"999606",name:"材料",code:"cailiao",parentId:"1696338861120020482",category:"2",sort:1,remark:null,children:[]}]},{id:"1700146494363168770",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-09-08 21:58:06",updateUser:"1605399440819564545",updateTime:"2023-09-08 21:58:06",status:1,isDeleted:0,tenantId:"999606",name:"三相四线费控智能电能表DTZY188Z",code:"DTZY188Z",parentId:"0",category:"1",sort:1,remark:null,children:[{id:"1700146709627432962",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-09-08 21:58:57",updateUser:"1605399440819564545",updateTime:"2023-09-08 21:58:57",status:1,isDeleted:0,tenantId:"999606",name:"原材料",code:"YHU",parentId:"1700146494363168770",category:"2",sort:1,remark:null,children:[]},{id:"1700146801981812738",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-09-08 21:59:19",updateUser:"1605399440819564545",updateTime:"2023-09-08 21:59:19",status:1,isDeleted:0,tenantId:"999606",name:"包装材料",code:"bzgh",parentId:"1700146494363168770",category:"2",sort:2,remark:null,children:[]}]},{id:"1701113161184468994",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-09-11 13:59:17",updateUser:"1605399440819564545",updateTime:"2023-09-11 13:59:17",status:1,isDeleted:0,tenantId:"999606",name:"太钢产品",code:"GTCP",parentId:"0",category:"1",sort:2,remark:null,children:[{id:"1701113288905220098",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-09-11 13:59:48",updateUser:"1605399440819564545",updateTime:"2023-09-11 13:59:48",status:1,isDeleted:0,tenantId:"999606",name:"原材料",code:"YCL",parentId:"1701113161184468994",category:"2",sort:1,remark:null,children:[]},{id:"1701113415384457218",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-09-11 14:00:18",updateUser:"1605399440819564545",updateTime:"2023-09-11 14:00:18",status:1,isDeleted:0,tenantId:"999606",name:"包装",code:"BZ",parentId:"1701113161184468994",category:"2",sort:2,remark:null,children:[]}]},{id:"1711346801126436866",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-10-09 19:44:07",updateUser:"1605399440819564545",updateTime:"2023-10-09 19:44:07",status:1,isDeleted:0,tenantId:"999606",name:"尿素",code:"NH0255368",parentId:"0",category:"1",sort:1,remark:null,children:[{id:"1711346976184102913",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-10-09 19:44:49",updateUser:"1605399440819564545",updateTime:"2023-10-09 19:44:49",status:1,isDeleted:0,tenantId:"999606",name:"原材料",code:"YCL",parentId:"1711346801126436866",category:"2",sort:1,remark:null,children:[]},{id:"1711347108371787777",createUser:"1605399440819564545",createDept:"1605399437405401089",createTime:"2023-10-09 19:45:21",updateUser:"1605399440819564545",updateTime:"2023-10-09 19:45:21",status:1,isDeleted:0,tenantId:"999606",name:"包装材料",code:"BZC",parentId:"1711346801126436866",category:"2",sort:2,remark:null,children:[]}]}]},editTreeNode(e){this.ruleFormTree={name:e.name,code:e.code,sort:e.sort,remark:e.remark,id:e.id,category:e.category,parentId:e.parentId},this.ruleFormTree.category=Number(this.ruleFormTree.category),this.editTree=!0,this.visibleTree=!0},delTree({id:e}){this.$confirm("此操作将永久删除该数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(async()=>{const{data:t}=await Object(i["api_removeTree"])(e);200==t.code&&this.getTree()})},handleBeforeCloseTree(){this.editTree=!1,this.$refs["ruleFormTree"].resetFields(),this.ruleFormTree=s["q"],this.visibleTree=!1},handleBeforeClose(){this.$refs["ruleForm"].resetFields(),this.ruleForm=s["p"],this.visible=!1,this.isEdit=!1},async buttonsTreeClick(e){if("save"===e){if(this.editTree){const{data:e}=await Object(i["api_updataTree"])(this.ruleFormTree);200===e.code&&(this.getTree(),this.editTree=!1)}else{const{data:e}=await Object(i["api_addTree"])(this.ruleFormTree);200===e.code&&this.getTree()}this.visibleTree=!1,this.$refs["ruleFormTree"].resetFields(),this.ruleFormTree={}}else"cancel"===e&&this.handleBeforeCloseTree()},addTreeNode(e){this.ruleFormTree.parentId=e.id,0==e.id?this.ruleFormTree.category=1:this.ruleFormTree.category=2,this.visibleTree=!0},renderContent(e,{node:t,data:a}){return e("span",{class:"custom-tree-node",style:"flex: 1;display: flex;align-items: center;justify-content: space-between; fontSize: 14px;padding-right: 8px;"},[e("span",[a.name]),e("span",[2!==t.level&&e("el-button",{attrs:{size:"mini",type:"text"},on:{click:()=>this.addTreeNode(a,t)}},[e("i",{class:"el-icon-plus"})]),e("el-button",{attrs:{size:"mini",type:"text"},on:{click:()=>this.editTreeNode(a)}},[e("i",{class:"el-icon-edit"})]),e("el-button",{attrs:{size:"mini",type:"text"},on:{click:()=>this.delTree(a)}},[e("i",{class:"el-icon-delete"})])])])},async getUnitDict(){this.cascaderDatas=[{id:"1630817912547700738",parentId:"1630842624086634498",code:"UNIT",dictKey:"COMMON_UNIT_GROUP",dictValue:"常用单位组",sort:26,remark:"常用单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630825295671980033",parentId:"1630817912547700738",code:"UNIT",dictKey:"kg",dictValue:"kg",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825329238994945",parentId:"1630817912547700738",code:"UNIT",dictKey:"t",dictValue:"t",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825373082054657",parentId:"1630817912547700738",code:"UNIT",dictKey:"m3",dictValue:"m3",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825418816745473",parentId:"1630817912547700738",code:"UNIT",dictKey:"Piece(s)",dictValue:"Piece(s)",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825450144002049",parentId:"1630817912547700738",code:"UNIT",dictKey:"Item(s)",dictValue:"Item(s)",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825478740766721",parentId:"1630817912547700738",code:"UNIT",dictKey:"MJ",dictValue:"MJ",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825508063145986",parentId:"1630817912547700738",code:"UNIT",dictKey:"kWh",dictValue:"kWh",sort:7,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630818503520940034",parentId:"1630842624086634498",code:"UNIT",dictKey:"ARTICLE_NUM_GROUP",dictValue:"物品个数单位",sort:27,remark:"物品个数单位",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630825744051466241",parentId:"1630818503520940034",code:"UNIT",dictKey:"Piece(s)",dictValue:"Piece(s)",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825787567370241",parentId:"1630818503520940034",code:"UNIT",dictKey:"Item(s)",dictValue:"Item(s)",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825822585614337",parentId:"1630818503520940034",code:"UNIT",dictKey:"Dozen(s)",dictValue:"Dozen(s)",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630825883319136257",parentId:"1630818503520940034",code:"UNIT",dictKey:"unit",dictValue:"unit",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630818716272816130",parentId:"1630842624086634498",code:"UNIT",dictKey:"QUALITY_UNIT_GROUP",dictValue:"质量单位组",sort:28,remark:"质量单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630825975635767297",parentId:"1630818716272816130",code:"UNIT",dictKey:"mg",dictValue:"mg",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826003888599042",parentId:"1630818716272816130",code:"UNIT",dictKey:"g",dictValue:"g",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826033986924545",parentId:"1630818716272816130",code:"UNIT",dictKey:"kg",dictValue:"kg",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826082343055361",parentId:"1630818716272816130",code:"UNIT",dictKey:"t",dictValue:"t",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826121756930050",parentId:"1630818716272816130",code:"UNIT",dictKey:"lb av",dictValue:"lb av",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826343337816066",parentId:"1630818716272816130",code:"UNIT",dictKey:"oz av",dictValue:"oz av",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826601518198785",parentId:"1630818716272816130",code:"UNIT",dictKey:"oz t",dictValue:"oz t",sort:7,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826641653493761",parentId:"1630818716272816130",code:"UNIT",dictKey:"sh tn",dictValue:"sh tn",sort:8,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826679943294977",parentId:"1630818716272816130",code:"UNIT",dictKey:"long tn",dictValue:"long tn",sort:9,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826719684325377",parentId:"1630818716272816130",code:"UNIT",dictKey:"ug",dictValue:"ug",sort:10,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826752571863041",parentId:"1630818716272816130",code:"UNIT",dictKey:"ng",dictValue:"ng",sort:11,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826794670092290",parentId:"1630818716272816130",code:"UNIT",dictKey:"pg",dictValue:"pg",sort:12,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630818968023330818",parentId:"1630842624086634498",code:"UNIT",dictKey:"ENERGY_UNIT_GROUP",dictValue:"能量单位组",sort:29,remark:"能量单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630826874454142978",parentId:"1630818968023330818",code:"UNIT",dictKey:"MJ",dictValue:"MJ",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826902811832321",parentId:"1630818968023330818",code:"UNIT",dictKey:"kWh",dictValue:"kWh",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826932171960321",parentId:"1630818968023330818",code:"UNIT",dictKey:"TOE",dictValue:"TOE",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630826965147578369",parentId:"1630818968023330818",code:"UNIT",dictKey:"J",dictValue:"J",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827016095789058",parentId:"1630818968023330818",code:"UNIT",dictKey:"kcal",dictValue:"kcal",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827045791461377",parentId:"1630818968023330818",code:"UNIT",dictKey:"btu",dictValue:"btu",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827072790196225",parentId:"1630818968023330818",code:"UNIT",dictKey:"MWh",dictValue:"MWh",sort:7,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827097708556290",parentId:"1630818968023330818",code:"UNIT",dictKey:"TCE",dictValue:"TCE",sort:8,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827123558051842",parentId:"1630818968023330818",code:"UNIT",dictKey:"GJ",dictValue:"GJ",sort:9,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630819260534091777",parentId:"1630842624086634498",code:"UNIT",dictKey:"LENGTH_UNIT_GROUP",dictValue:"距离和长度单位组",sort:30,remark:"距离和长度单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630827209709056001",parentId:"1630819260534091777",code:"UNIT",dictKey:"mm",dictValue:"mm",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827254021877761",parentId:"1630819260534091777",code:"UNIT",dictKey:"cm",dictValue:"cm",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827281880444929",parentId:"1630819260534091777",code:"UNIT",dictKey:"m",dictValue:"m",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827307818020866",parentId:"1630819260534091777",code:"UNIT",dictKey:"km",dictValue:"km",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827345331875841",parentId:"1630819260534091777",code:"UNIT",dictKey:"ft",dictValue:"ft",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827377514770434",parentId:"1630819260534091777",code:"UNIT",dictKey:"mi",dictValue:"mi",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827405121679362",parentId:"1630819260534091777",code:"UNIT",dictKey:"in",dictValue:"in",sort:7,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827434993512449",parentId:"1630819260534091777",code:"UNIT",dictKey:"u",dictValue:"u",sort:8,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827462399094785",parentId:"1630819260534091777",code:"UNIT",dictKey:"nmi",dictValue:"nmi",sort:9,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827495110471682",parentId:"1630819260534091777",code:"UNIT",dictKey:"yd",dictValue:"yd",sort:10,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630819432295034882",parentId:"1630842624086634498",code:"UNIT",dictKey:"VOLUME_UNIT_GROUP",dictValue:"体积单位组",sort:31,remark:"体积单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630827568598872065",parentId:"1630819432295034882",code:"UNIT",dictKey:"ml",dictValue:"ml",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827618683056130",parentId:"1630819432295034882",code:"UNIT",dictKey:"l",dictValue:"l",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827643874045954",parentId:"1630819432295034882",code:"UNIT",dictKey:"m3",dictValue:"m3",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827676908384258",parentId:"1630819432295034882",code:"UNIT",dictKey:"gal(US dry)",dictValue:"gal(US dry)",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827716305481729",parentId:"1630819432295034882",code:"UNIT",dictKey:"gal(US liq)",dictValue:"gal(US liq)",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827755153125378",parentId:"1630819432295034882",code:"UNIT",dictKey:"cu ft",dictValue:"cu ft",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630827980789903362",parentId:"1630819432295034882",code:"UNIT",dictKey:"fl oz(Imp)",dictValue:"fl oz(Imp)",sort:7,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828014637936641",parentId:"1630819432295034882",code:"UNIT",dictKey:"US fl oz",dictValue:"US fl oz",sort:8,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828045306687490",parentId:"1630819432295034882",code:"UNIT",dictKey:"pt(Imp)",dictValue:"pt(Imp)",sort:9,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828080601755649",parentId:"1630819432295034882",code:"UNIT",dictKey:"bsh(US)",dictValue:"bsh(US)",sort:10,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828115427061762",parentId:"1630819432295034882",code:"UNIT",dictKey:"bsh(Imp)",dictValue:"bsh(Imp)",sort:12,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828146854981633",parentId:"1630819432295034882",code:"UNIT",dictKey:"ul",dictValue:"ul",sort:13,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828175959257089",parentId:"1630819432295034882",code:"UNIT",dictKey:"bbl",dictValue:"bbl",sort:14,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828217893908481",parentId:"1630819432295034882",code:"UNIT",dictKey:"bl(US beer)",dictValue:"bl(US beer)",sort:15,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828257332948993",parentId:"1630819432295034882",code:"UNIT",dictKey:"bl(US fl)",dictValue:"bl(US fl)",sort:16,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828296176398337",parentId:"1630819432295034882",code:"UNIT",dictKey:"bl(Imp)",dictValue:"bl(Imp)",sort:17,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828330016043009",parentId:"1630819432295034882",code:"UNIT",dictKey:"bl(US dry)",dictValue:"bl(US dry)",sort:18,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828365822816257",parentId:"1630819432295034882",code:"UNIT",dictKey:"pt (US fl)",dictValue:"pt (US fl)",sort:19,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828401692504065",parentId:"1630819432295034882",code:"UNIT",dictKey:"pt (US dry)",dictValue:"pt (US dry)",sort:20,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828439248302082",parentId:"1630819432295034882",code:"UNIT",dictKey:"gal (US fl)",dictValue:"gal (US fl)",sort:21,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828470214848513",parentId:"1630819432295034882",code:"UNIT",dictKey:"gal (Imp)",dictValue:"gal (Imp)",sort:22,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828503433736193",parentId:"1630819432295034882",code:"UNIT",dictKey:"Nm3",dictValue:"Nm3",sort:23,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630819667138310145",parentId:"1630842624086634498",code:"UNIT",dictKey:"AREA_UNIT_HROUP",dictValue:"面积单位组",sort:32,remark:"面积单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630828945169444866",parentId:"1630819667138310145",code:"UNIT",dictKey:"m2",dictValue:"m2",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828973451636738",parentId:"1630819667138310145",code:"UNIT",dictKey:"km2",dictValue:"km2",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630828996616777729",parentId:"1630819667138310145",code:"UNIT",dictKey:"ha",dictValue:"ha",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829034327764994",parentId:"1630819667138310145",code:"UNIT",dictKey:"ft2",dictValue:"ft2",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829073137659906",parentId:"1630819667138310145",code:"UNIT",dictKey:"mi2",dictValue:"mi2",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829104129372162",parentId:"1630819667138310145",code:"UNIT",dictKey:"ac",dictValue:"ac",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829133699215362",parentId:"1630819667138310145",code:"UNIT",dictKey:"yd2",dictValue:"yd2",sort:7,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829169048809473",parentId:"1630819667138310145",code:"UNIT",dictKey:"cm2",dictValue:"cm2",sort:8,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829196894793730",parentId:"1630819667138310145",code:"UNIT",dictKey:"nmi2",dictValue:"nmi2",sort:9,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829236379971586",parentId:"1630819667138310145",code:"UNIT",dictKey:"are",dictValue:"are",sort:10,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630819878795472897",parentId:"1630842624086634498",code:"UNIT",dictKey:"QUALITY*LENGTH_UNIT_GROUP",dictValue:"质量*距离单位组",sort:33,remark:"质量*距离单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630829371793076225",parentId:"1630819878795472897",code:"UNIT",dictKey:"t*km",dictValue:"t*km",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630830281214652418",parentId:"1630819878795472897",code:"UNIT",dictKey:"mol",dictValue:"mol",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829409302736898",parentId:"1630819878795472897",code:"UNIT",dictKey:"kg*km",dictValue:"kg*km",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829438532841474",parentId:"1630819878795472897",code:"UNIT",dictKey:"lb*mi",dictValue:"lb*mi",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829471516848129",parentId:"1630819878795472897",code:"UNIT",dictKey:"t*mi",dictValue:"t*mi",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829508405751809",parentId:"1630819878795472897",code:"UNIT",dictKey:"t*nmi",dictValue:"t*nmi",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829543231057922",parentId:"1630819878795472897",code:"UNIT",dictKey:"lb*nmi",dictValue:"lb*nmi",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630829584901468161",parentId:"1630819878795472897",code:"UNIT",dictKey:"metric ton*km",dictValue:"metric ton*km",sort:7,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630821257995874305",parentId:"1630842624086634498",code:"UNIT",dictKey:"MOLECULAR_WEIGHT_UNIT_GROUP",dictValue:"分子量单位组",sort:34,remark:"分子量单位组",isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630821582857302017",parentId:"1630842624086634498",code:"UNIT",dictKey:"RADIOACTIVE_UNIT_GROUP",dictValue:"放射性单位组",sort:35,remark:"放射性单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630830666188845057",parentId:"1630821582857302017",code:"UNIT",dictKey:"kBq",dictValue:"kBq",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630830691732156418",parentId:"1630821582857302017",code:"UNIT",dictKey:"Bq",dictValue:"Bq",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630830720068874241",parentId:"1630821582857302017",code:"UNIT",dictKey:"Ci",dictValue:"Ci",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630830755175198721",parentId:"1630821582857302017",code:"UNIT",dictKey:"Rutherford",dictValue:"Rutherford",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630821683126333441",parentId:"1630842624086634498",code:"UNIT",dictKey:"TIME_UNIT_GROUP",dictValue:"时间单位组",sort:36,remark:"时间单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630830843490463745",parentId:"1630821683126333441",code:"UNIT",dictKey:"d",dictValue:"d",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630830871189647362",parentId:"1630821683126333441",code:"UNIT",dictKey:"h",dictValue:"h",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630830896883953665",parentId:"1630821683126333441",code:"UNIT",dictKey:"s",dictValue:"s",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630830923589087233",parentId:"1630821683126333441",code:"UNIT",dictKey:"a",dictValue:"a",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630830963414003713",parentId:"1630821683126333441",code:"UNIT",dictKey:"min",dictValue:"min",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630821911879479297",parentId:"1630842624086634498",code:"UNIT",dictKey:"ARTICLE_NUM*LENGTH_UNIT_GROUP",dictValue:"物品个数*距离单位组",sort:37,remark:"物品个数*距离单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630831161750056962",parentId:"1630821911879479297",code:"UNIT",dictKey:"Items*km",dictValue:"Items*km",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630831187935096834",parentId:"1630821911879479297",code:"UNIT",dictKey:"Items*mi",dictValue:"Items*mi",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630831218712899586",parentId:"1630821911879479297",code:"UNIT",dictKey:"Items*nmi",dictValue:"Items*nmi",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630822071699238913",parentId:"1630842624086634498",code:"UNIT",dictKey:"VOLUME*LENGTH_UNIT_GROUP",dictValue:"体积*距离单位",sort:38,remark:"体积*距离单位",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630831813561675777",parentId:"1630822071699238913",code:"UNIT",dictKey:"m3*km",dictValue:"m3*km",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630831839172096002",parentId:"1630822071699238913",code:"UNIT",dictKey:"m3*mi",dictValue:"m3*mi",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630831865097089025",parentId:"1630822071699238913",code:"UNIT",dictKey:"l*km",dictValue:"l*km",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630831898362114050",parentId:"1630822071699238913",code:"UNIT",dictKey:"m3*nmi",dictValue:"m3*nmi",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630832629806788609",parentId:"1630822071699238913",code:"UNIT",dictKey:"l*mi",dictValue:"l*mi",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630832660672671745",parentId:"1630822071699238913",code:"UNIT",dictKey:"l*nmi",dictValue:"l*nmi",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630822278449065986",parentId:"1630842624086634498",code:"UNIT",dictKey:"ARTICLE_NUM*TIME_UNIT_GROUP",dictValue:"物品个数*时间单位组",sort:39,remark:"物品个数*时间单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630832744881713153",parentId:"1630822278449065986",code:"UNIT",dictKey:"Items*a",dictValue:"Items*a",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630832811525009410",parentId:"1630822278449065986",code:"UNIT",dictKey:"kg*a",dictValue:"kg*a",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630822408837394434",parentId:"1630842624086634498",code:"UNIT",dictKey:"QUALITY*TIME_UNIT_HROUP",dictValue:"质量*时间单位组",sort:40,remark:"质量*时间单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630832931603738626",parentId:"1630822408837394434",code:"UNIT",dictKey:"kg*a",dictValue:"kg*a",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630832958745079810",parentId:"1630822408837394434",code:"UNIT",dictKey:"t*a",dictValue:"t*a",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630832983466307586",parentId:"1630822408837394434",code:"UNIT",dictKey:"kg*d",dictValue:"kg*d",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630833010179829761",parentId:"1630822408837394434",code:"UNIT",dictKey:"t*d",dictValue:"t*d",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630822550047027202",parentId:"1630842624086634498",code:"UNIT",dictKey:"VOLUME*TIME_UNIT_GROUP",dictValue:"体积*时间单位组",sort:41,remark:"体积*时间单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630833243454435329",parentId:"1630822550047027202",code:"UNIT",dictKey:"m3*a",dictValue:"m3*a",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630833282700537857",parentId:"1630822550047027202",code:"UNIT",dictKey:"l*a",dictValue:"l*a",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630822687779581953",parentId:"1630842624086634498",code:"UNIT",dictKey:"AREA*TIME_UNIT_GROUP",dictValue:"面积*时间单位组",sort:42,remark:"面积*时间单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630834712819789825",parentId:"1630822687779581953",code:"UNIT",dictKey:"m2*a",dictValue:"m2*a",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630834741609492482",parentId:"1630822687779581953",code:"UNIT",dictKey:"km2*a",dictValue:"km2*a",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630834768213962754",parentId:"1630822687779581953",code:"UNIT",dictKey:"ha*a",dictValue:"ha*a",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630834983918628865",parentId:"1630822687779581953",code:"UNIT",dictKey:"ft2*a",dictValue:"ft2*a",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835014537048065",parentId:"1630822687779581953",code:"UNIT",dictKey:"mi2*a",dictValue:"mi2*a",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835046019493890",parentId:"1630822687779581953",code:"UNIT",dictKey:"m2*d",dictValue:"m2*d",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630822844357144578",parentId:"1630842624086634498",code:"UNIT",dictKey:"LENGTH*TIME_UNIT_GROUP",dictValue:"长度*时间单位组",sort:43,remark:"长度*时间单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630833680547049474",parentId:"1630822844357144578",code:"UNIT",dictKey:"m*a",dictValue:"m*a",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835272985866241",parentId:"1630822844357144578",code:"UNIT",dictKey:"km*a",dictValue:"km*a",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835518818217986",parentId:"1630822844357144578",code:"UNIT",dictKey:"m*year",dictValue:"m*year",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630822979619254273",parentId:"1630842624086634498",code:"UNIT",dictKey:"MONETARY_UNIT_GROUP",dictValue:"货币单位",sort:44,remark:"货币单位",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630835612669964290",parentId:"1630822979619254273",code:"UNIT",dictKey:"EUR",dictValue:"EUR",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835634107052034",parentId:"1630822979619254273",code:"UNIT",dictKey:"USD",dictValue:"USD",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835657335107585",parentId:"1630822979619254273",code:"UNIT",dictKey:"JPY",dictValue:"JPY",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835680768684034",parentId:"1630822979619254273",code:"UNIT",dictKey:"AUD",dictValue:"AUD",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835710497910785",parentId:"1630822979619254273",code:"UNIT",dictKey:"CAD",dictValue:"CAD",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835769675345922",parentId:"1630822979619254273",code:"UNIT",dictKey:"DKK",dictValue:"DKK",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835798850924545",parentId:"1630822979619254273",code:"UNIT",dictKey:"CZK",dictValue:"CZK",sort:7,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835821600829441",parentId:"1630822979619254273",code:"UNIT",dictKey:"CHF",dictValue:"CHF",sort:8,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835847462907905",parentId:"1630822979619254273",code:"UNIT",dictKey:"EEK",dictValue:"EEK",sort:9,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835874436476930",parentId:"1630822979619254273",code:"UNIT",dictKey:"GBP",dictValue:"GBP",sort:10,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835895160532993",parentId:"1630822979619254273",code:"UNIT",dictKey:"HUF",dictValue:"HUF",sort:11,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835933290950657",parentId:"1630822979619254273",code:"UNIT",dictKey:"ISK",dictValue:"ISK",sort:12,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835965561925634",parentId:"1630822979619254273",code:"UNIT",dictKey:"KRW",dictValue:"KRW",sort:13,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836117290872834",parentId:"1630822979619254273",code:"UNIT",dictKey:"SEK",dictValue:"SEK",sort:14,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630835998629818370",parentId:"1630822979619254273",code:"UNIT",dictKey:"LTL",dictValue:"LTL",sort:15,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836031869677570",parentId:"1630822979619254273",code:"UNIT",dictKey:"LVL",dictValue:"LVL",sort:16,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836097992880129",parentId:"1630822979619254273",code:"UNIT",dictKey:"NOK",dictValue:"NOK",sort:17,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836151403147266",parentId:"1630822979619254273",code:"UNIT",dictKey:"ZAR",dictValue:"ZAR",sort:18,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630823122372390913",parentId:"1630842624086634498",code:"UNIT",dictKey:"LCWT_NUM_UNIT_HROUP",dictValue:"Unit of number (LCWT)",sort:45,remark:"Unit of number (LCWT)",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630836233913495553",parentId:"1630823122372390913",code:"UNIT",dictKey:"Cases",dictValue:"Cases",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630823298013065218",parentId:"1630842624086634498",code:"UNIT",dictKey:"LCWT_WORK_TIME_UNIT_GROUP",dictValue:"Unit of working time (LCWT)",sort:46,remark:"Unit of working time (LCWT)",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630836491657670658",parentId:"1630823298013065218",code:"UNIT",dictKey:"Seconds worked",dictValue:"Seconds worked",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836527422500866",parentId:"1630823298013065218",code:"UNIT",dictKey:"Hours worked",dictValue:"Hours worked",sort:2,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836702215925761",parentId:"1630823298013065218",code:"UNIT",dictKey:"Hours workded(60min/h)",dictValue:"Hours workded(60min/h)",sort:3,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836742086979585",parentId:"1630823298013065218",code:"UNIT",dictKey:"Minutes worked",dictValue:"Minutes worked",sort:4,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836782335520770",parentId:"1630823298013065218",code:"UNIT",dictKey:"Person days(8h/d)",dictValue:"Person days(8h/d)",sort:5,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1630836817362153474",parentId:"1630823298013065218",code:"UNIT",dictKey:"Person years(220d/a)",dictValue:"Person years(220d/a)",sort:6,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630823630466183169",parentId:"1630842624086634498",code:"UNIT",dictKey:"BIOLOGICAL_GROWTH_UNIT_GROUP",dictValue:"生物生长单位组",sort:47,remark:"生物生长单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630836889529348097",parentId:"1630823630466183169",code:"UNIT",dictKey:"kg/a",dictValue:"kg/a",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630823770983755778",parentId:"1630842624086634498",code:"UNIT",dictKey:"PASSENGER*LENGTH_UNIT_HROUP",dictValue:"旅客*距离单位组",sort:48,remark:"旅客*距离单位组",isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1630836968596172801",parentId:"1630823770983755778",code:"PASSENGER*LENGTH_UNIT_HROUP",dictKey:"Person*km",dictValue:"Person*km",sort:1,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1630824372098822145",parentId:"1630842624086634498",code:"UNIT",dictKey:"EMISSION_FACTOR_UNIT",dictValue:"排放因子单位",sort:50,remark:"排放因子单位",isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1729107130738212865",parentId:"1630842624086634498",code:"UNIT",dictKey:"PASSENGERN_HROUP",dictValue:"人车*距离单位组",sort:65,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1729112711746224129",parentId:"1729107130738212865",code:"UNIT",dictKey:"Vehicle*km",dictValue:"Vehicle*km",sort:0,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1729112772903370754",parentId:"1729107130738212865",code:"UNIT",dictKey:"Person*km",dictValue:"Person*km",sort:0,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1},{id:"1729107701503295489",parentId:"1630842624086634498",code:"UNIT",dictKey:"STORAGE_CAPACITY",dictValue:"计算存储容量单位组",sort:66,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,children:[{id:"1729112888930402305",parentId:"1729107701503295489",code:"UNIT",dictKey:"MB",dictValue:"MB",sort:0,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1729112914368856065",parentId:"1729107701503295489",code:"UNIT",dictKey:"GB",dictValue:"GB",sort:0,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1},{id:"1729112934962888706",parentId:"1729107701503295489",code:"UNIT",dictKey:"TB",dictValue:"TB",sort:0,remark:null,isSealed:0,isDeleted:0,status:0,createTime:null,parentName:null,hasChildren:!1}],parentName:null,hasChildren:!1}]},buttonsClick(e){"save"===e?this.$refs["ruleForm"].validate(async e=>{if(e){"0"==this.ruleForm.isFactor&&(this.ruleForm.carbonEmission=this.ruleForm.inputCarbonEmission,this.ruleForm.factorName="",this.ruleForm.factorId=""),this.filteredArray.length>0&&this.filteredArray.forEach(async e=>{await Object(d["removeFile"])(e.id)});let e=[];if(Array.isArray(this.fileList)&&(e=this.fileList.map(e=>({name:e.name,id:e.id,url:e.url,dataSource:"物料",target:"报告文件"}))),this.ruleForm.attachList=e,this.isEdit){Array.isArray(this.ruleForm.unit)&&(this.ruleForm.unit=this.ruleForm.unit[this.ruleForm.unit.length-1]);const{data:e}=await Object(i["api_updateMaterial"])(this.ruleForm);200===e.code&&(this.ruleForm.materialTypeTreeId=this.treeId,this.onLoad(),this.$message.success(e.msg),this.handleBeforeClose(),this.fileList=[],this.$refs["upload"].fileList=[])}else{if(Array.isArray(this.ruleForm.unit)&&(this.ruleForm.unit=this.ruleForm.unit[this.ruleForm.unit.length-1]),0==this.ruleForm.isFactor){const e=this.factorList.find(e=>e.name==this.ruleForm.factorId);e&&(this.ruleForm.factorId=e.id)}this.ruleForm.materialTypeTreeId=this.treeId;const{data:e}=await Object(i["api_saveMaterial"])(this.ruleForm);200===e.code&&(this.onLoad(),this.fileList=[],this.$refs["upload"].fileList=[],this.$message.success(e.msg),this.handleBeforeClose())}}}):"cancel"==e&&this.handleBeforeClose()},handleNodeClick(e,t){this.treeLevel=t.level,2==t.level&&(this.treeId=e.id,this.ruleForm.materialTypeTreeId=e.id,this.onLoad())},editData(e){this.getFileListFn({orgId:e.id}),this.visible=!0,e.inputCarbonEmission="",this.ruleForm=Object(m["b"])(e),"0"==e.isFactor&&(this.ruleForm.inputCarbonEmission=e.carbonEmission),this.isEdit=!0}}},h=p,T=(a("50db"),a("1805")),I=Object(T["a"])(h,l,r,!1,null,"6284cbc9",null);t["default"]=I.exports},a2c4:function(e,t,a){"use strict";a("6a14e")}}]);