(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b3e1e"],{"29ef":function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("首页")]),t("el-breadcrumb-item",[e._v("碳资产管理")]),t("el-breadcrumb-item",[e._v("碳资产预警管理")]),t("el-breadcrumb-item",[e._v("资产持有量预警")])],1),t("el-form",{attrs:{model:e.form,"label-width":"100px"}},[t("el-card",{staticClass:"box-card",staticStyle:{height:"80px"}},[t("el-row",{staticClass:"row-bg",attrs:{gutter:20,type:"flex",justify:"center"}},[t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"年度:"}},[t("el-date-picker",{attrs:{size:"mini",format:"yyyy-MM-dd",type:"date",placeholder:"请选择查询年度"},model:{value:e.form.date,callback:function(t){e.$set(e.form,"date",t)},expression:"form.date"}})],1)],1),t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"企业名称:"}},[t("el-input",{attrs:{size:"mini",placeholder:"请输入企业名称"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),t("el-col",{attrs:{span:6}},[t("el-form-item",{attrs:{label:"co2当量:"}},[t("el-input",{attrs:{size:"mini",placeholder:"请输入co2当量"},model:{value:e.form.number,callback:function(t){e.$set(e.form,"number",t)},expression:"form.number"}})],1)],1),t("el-col",{staticStyle:{margin:"5px"},attrs:{span:4}},[t("el-divider",{attrs:{direction:"vertical"}}),t("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.getPropertyList}},[e._v("查询")])],1)],1)],1)],1),t("el-card",{staticClass:"box-heard"},[t("alltitle",{attrs:{msg:"资产持有量预警"}}),t("el-table",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{border:"",stripe:!0,data:e.tableData}},[e._l(e.colums,(function(l,a){return[l.template?e._e():t("el-table-column",{key:l.k,attrs:{align:"center",label:l.label,prop:l.prop,width:l.width,"column-key":l.columnKey,filters:l.filters,formatter:l.format,type:l.type,"filter-method":l.filterMethod}}),"actionBar"==l.prop?t("el-table-column",{key:a,attrs:{align:"center",label:l.label,prop:l.prop,width:l.width},scopedSlots:e._u([{key:"default",fn:function(l){return[t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.remove(l.row)}}},[e._v("删除")]),t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.toEdit(l.row)}}},[e._v("编辑")])]}}],null,!0)}):e._e()]}))],2),t("el-pagination",{staticStyle:{float:"right"},attrs:{"current-page":e.currentPage4,"page-sizes":[10,30,50,100],"page-size":1,layout:"total, sizes, prev, pager, next, jumper",total:e.tableData.length},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),t("newadd",{ref:"add",attrs:{dialogVisible:e.dialogVisibled}})],1)},r=[],o=function(){var e=this,t=e._self._c;return t("div",[t("alldialog",{ref:"allDialog",attrs:{title:"新增履约管理"}},[t("el-card",[t("el-form",{attrs:{model:e.form,"label-width":"120px"}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"登记日期:"}},[t("el-date-picker",{staticStyle:{width:"50%"},attrs:{size:"mini",format:"yyyy-MM-dd",type:"date",placeholder:"请选择日期"},model:{value:e.form.date,callback:function(t){e.$set(e.form,"date",t)},expression:"form.date"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"企业名称:"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{size:"mini",placeholder:"请选择企业名称"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"所属行业:"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{size:"mini",placeholder:"请输入所属行业"},model:{value:e.form.trade,callback:function(t){e.$set(e.form,"trade",t)},expression:"form.trade"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"排放因子:"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{size:"mini",placeholder:"请输入排放因子"},model:{value:e.form.divisor,callback:function(t){e.$set(e.form,"divisor",t)},expression:"form.divisor"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"实际排放量:"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{size:"mini",placeholder:"请输入实际排放量"},model:{value:e.form.actionNumber,callback:function(t){e.$set(e.form,"actionNumber",t)},expression:"form.actionNumber"}})],1)],1),t("el-col",{attrs:{span:12}},[t("el-form-item",{attrs:{label:"履约数量:"}},[t("el-input",{staticStyle:{width:"50%"},attrs:{size:"mini",placeholder:"请输入履约数量"},model:{value:e.form.number,callback:function(t){e.$set(e.form,"number",t)},expression:"form.number"}})],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:24}},[t("el-form-item",{attrs:{label:"详情描述:"}},[t("el-input",{staticStyle:{width:"80%"},attrs:{type:"textarea",rows:"2",size:"mini",placeholder:"请输入详情描述"},model:{value:e.form.detile,callback:function(t){e.$set(e.form,"detile",t)},expression:"form.detile"}})],1)],1)],1)],1)],1)],1)],1)},i=[],s={data(){return{visible:!1,form:{},propertys:[{value:"1",label:"配额-注销"},{value:"2",label:"CCER-注销"},{value:"3",label:"今年分配配额"},{value:"4",label:"碳交易-购入"},{value:"5",label:"碳交易-售出"},{value:"6",label:"CCER-售出"},{value:"7",label:"CCER-购入"},{value:"8",label:"CCER-售出"},{value:"9",label:"配额-履约"},{value:"10",label:"CCER-履约"},{value:"11",label:"碳中和"}]}},methods:{show(e){this.$refs.allDialog.showDialog(),e&&(this.form=e)}}},n=s,c=l("1805"),m=Object(c["a"])(n,o,i,!1,null,"7afde6fa",null),d=m.exports,u={components:{newadd:d},data(){return{currentPage4:1,dialogVisibled:!1,propertys:[{value:"1",label:"配额-注销"},{value:"2",label:"CCER-注销"},{value:"3",label:"今年分配配额"},{value:"4",label:"碳交易-购入"},{value:"5",label:"碳交易-售出"},{value:"6",label:"CCER-售出"},{value:"7",label:"CCER-购入"},{value:"8",label:"CCER-售出"},{value:"9",label:"配额-履约"},{value:"10",label:"CCER-履约"},{value:"11",label:"碳中和"}],colums:[{width:"100px",type:"index",label:"序号"},{width:"160px",prop:"date",label:"年度"},{prop:"name",label:"企业名称"},{prop:"trade",label:"所属行业"},{prop:"conumber",label:"盘查CO2当量(tCO2e)"},{prop:"coexpect",label:"CO2预期排放量"},{prop:"cowarning",label:"预警CO2排放量(tCO2e)"},{prop:"isWarning",label:"是否达到预警"}],tableData:[{date:"2022",name:"乌海能源有限责任公司",trade:"化工生产企业",conumber:"36825",coexpect:"68000",cowarning:"69546",isWarning:"否"}],form:{}}},methods:{handleSizeChange(e){console.log(`每页 ${e} 条`)},handleCurrentChange(e){console.log("当前页: "+e)},toEdit(e){this.$refs["add"].show(e)},getPropertyList(){},add(e){this.$refs["add"].show(e)}}},p=u,b=Object(c["a"])(p,a,r,!1,null,"4bece97c",null);t["default"]=b.exports}}]);