(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-48a277ae"],{"50c7":function(t,e,a){},c641:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{height:"calc(100% - 30px)"}},[a("el-table",{staticClass:"el-table fixed-height-table",staticStyle:{width:"100%"},attrs:{"current-page":t.currentPage,data:t.pagedData,height:"100%",border:""}},[a("el-table-column",{attrs:{align:"center",prop:"apv_id",label:"审批id",width:"220"}}),a("el-table-column",{attrs:{align:"center",label:"摘要"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[a("el-tooltip",{attrs:{effect:"light"}},[a("div",{attrs:{slot:"content"},slot:"content"},[t._v(" 标题： "+t._s(e.row.apv_title)),a("br"),t._v(" 摘要："+t._s(e.row.apv_text)+" ")]),a("div",{staticClass:"fixed-height-row"},[t._v(" 标题： "+t._s(e.row.apv_title)),a("br"),t._v(" 摘要："+t._s(e.row.apv_text))]),t._v("--\x3e ")])],1)]}}])}),a("el-table-column",{attrs:{align:"center",prop:"apv_start_time",width:"180",label:"发起时间"}}),a("el-table-column",{attrs:{align:"center",prop:"apv_finish_time",width:"180",label:"完成时间"}}),a("el-table-column",{attrs:{align:"center",prop:"apv_status",width:"180",label:"流程状态"}})],1),a("div",{staticClass:"paginationStyle"},[a("el-pagination",{staticClass:"paginationView",attrs:{layout:"prev,pager, next","page-size":t.pageSize,total:t.total},on:{"current-change":t.handleCurrentChange}})],1)],1)},l=[],i=a("5530"),r=(a("fb6a"),a("2f62")),o={name:"approvalList",data:function(){return{currentPage:1,pageSize:10,allData:[]}},mounted:function(){this.fetchData()},methods:{lookDetail:function(t){console.log("row是",t)},fetchData:function(){var t=this,e={user_id:"1"};this.$store.dispatch("getApprovalList",e).then((function(){t.allData=t.approvalAllList}))},handleCurrentChange:function(t){this.currentPage=t,console.log(t)},formattedContent:function(t){var e="标题："+t.apv_title+"\n摘要："+t.apv_text;return console.log("contest",e),e}},computed:Object(i["a"])(Object(i["a"])({},Object(r["c"])({approvalAllList:function(t){return t.approval.approvalAllList}})),{},{pagedData:{get:function(){var t=(this.currentPage-1)*this.pageSize,e=t+this.pageSize;return this.allData.slice(t,e)},set:function(t){}},total:function(){return this.allData.length}})},c=o,s=(a("ce85"),a("2877")),p=Object(s["a"])(c,n,l,!1,null,"1df21753",null);e["default"]=p.exports},ce85:function(t,e,a){"use strict";a("50c7")}}]);