(window.webpackJsonp=window.webpackJsonp||[]).push([[56],{607:function(t,e,r){"use strict";r.r(e);var n=r(3),o=(r(35),r(179),{name:"remark_list",data:function(){return{tableData:[],formData:{obj_id:0,type:2},pageInfo:{page:1,size:20,total:0}}},mounted:function(){this.queryDataFormat()},methods:{queryDataFormat:function(){var t=this.$route.query;"{}"!==JSON.stringify(t)?(this.formData.obj_id=t.obj_id||0,this.formData.type=t.type||0,this.getDatas()):this.$message.error("参数错误")},getDatas:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$post("/api/admin/kaifawu/remarkList",{type:t.formData.type,obj_id:t.formData.obj_id,page:t.pageInfo.page});case 2:r=e.sent,data=r.data,t.tableData=data.list,t.pageInfo.total=Number(data.total),t.pageInfo.page=data.totalPage;case 7:case"end":return e.stop()}}),e)})))()}}}),l=r(2),component=Object(l.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData}},[r("el-table-column",{attrs:{prop:"nickname",label:"昵称",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",{staticClass:"lblue point"},[r("a",{attrs:{href:e.row.user_url,target:"_blank"}},[t._v(" "+t._s(e.row.userinfo?e.row.userinfo.nickname:"-")+"("+t._s(e.row.uid)+")")])])]}}])}),t._v(" "),r("el-table-column",{attrs:{prop:"create_time_name",label:"日期",width:"180"}}),t._v(" "),r("el-table-column",{attrs:{prop:"content",label:"备注内容"}})],1),t._v(" "),r("div",[r("el-pagination",{attrs:{"current-page":t.pageInfo.page,"page-size":t.pageInfo.size,layout:"total, prev, pager, next",total:t.pageInfo.total},on:{"current-change":t.getDatas,"update:currentPage":function(e){return t.$set(t.pageInfo,"page",e)},"update:current-page":function(e){return t.$set(t.pageInfo,"page",e)}}})],1)],1)}),[],!1,null,"ab2e0048",null);e.default=component.exports}}]);