(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cf0e4"],{"61a4":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),e("el-breadcrumb-item",[t._v("数据报送")])],1),e("el-form",{attrs:{model:t.form,"label-width":"100px"}},[e("el-card",{staticClass:"box-card",staticStyle:{height:"80px"}},[e("el-row",{staticClass:"row-bg",attrs:{gutter:20,type:"flex",justify:"space-between"}},[e("el-col",{attrs:{span:6}},[e("el-form-item",{attrs:{label:"名称:"}},[e("el-input",{attrs:{size:"mini",placeholder:"请输入名称"},model:{value:t.form.divisorName,callback:function(e){t.$set(t.form,"divisorName",e)},expression:"form.divisorName"}})],1)],1),e("el-col",{staticStyle:{margin:"5px"},attrs:{span:4}},[e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.getPropertyList}},[t._v("查询")]),e("el-button",{attrs:{size:"mini"},on:{click:t.add}},[t._v("新增")])],1)],1)],1)],1),e("el-card",{staticClass:"box-heard"},[e("alltitle",{attrs:{msg:"年度数据报送列表"}}),e("el-table",{staticStyle:{width:"100%","margin-top":"10px"},attrs:{border:"",stripe:!0,data:t.tableData.slice((t.currentPage4-1)*t.rows,t.currentPage4*t.rows)}},[t._l(t.colums,(function(a,r){return[a.template?t._e():e("el-table-column",{key:a.k,attrs:{align:"center",label:a.label,prop:a.prop,width:a.width,"column-key":a.columnKey,filters:a.filters,formatter:a.format,type:a.type,"filter-method":a.filterMethod,"show-overflow-tooltip":!0}}),"status"==a.prop?e("el-table-column",{key:r,attrs:{align:"center",label:a.label,prop:a.prop,width:a.width},scopedSlots:t._u([{key:"default",fn:function(a){return[0==a.row.status?e("span",[t._v("未提交")]):t._e(),1==a.row.status?e("span",[t._v("审批中")]):t._e(),2==a.row.status?e("span",[t._v("已填报")]):t._e(),3==a.row.status?e("span",[t._v("退回修改")]):t._e()]}}],null,!0)}):t._e(),"actionBar"==a.prop?e("el-table-column",{key:r,attrs:{align:"center",label:a.label,prop:a.prop,width:a.width},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.check(a.row)}}},[t._v("查看")]),e("el-button",{attrs:{disabled:2==a.row.status,type:"text",size:"small"},on:{click:function(e){return t.toEdit(a.row)}}},[t._v("编辑")])]}}],null,!0)}):t._e()]}))],2),e("el-pagination",{staticClass:"postop",staticStyle:{float:"right"},attrs:{"current-page":t.currentPage4,"page-sizes":[10,20,50,100],"page-size":1,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.length},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)},l=[],s=(a("fcd3"),{data(){return{currentPage4:1,rows:10,colums:[{width:"100px",type:"index",label:"序号"},{prop:"year",label:"年度"},{prop:"name",label:"企业名称"},{prop:"industry",label:"所属行业"},{template:!0,prop:"status",prop:"status",label:"状态"},{prop:"actionBar",label:"操作",template:!0,width:"140px"}],tableData:[{year:"2022",name:"乌海能源有限责任公司",industry:"化工行业",status:0}],form:{}}},methods:{check(t){this.$router.push({path:"/edit/add",query:{row:t}})},getPropertyList(){},toEdit(t){this.$router.push({path:"/edit/add",query:{row:t}})},add(){},handleSizeChange(t){this.currentPage4=t.page,this.rows=t.rows,console.log(`每页 ${t} 条`)},handleCurrentChange(t){this.currentPage4=t,console.log("当前页: "+t)}}}),o=s,n=a("1805"),i=Object(n["a"])(o,r,l,!1,null,"64d50e6c",null);e["default"]=i.exports}}]);