text: webpackJsonp([55],{264:function(t,e,n){"use strict";function a(t){l||n(696)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(499),r=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);var s=n(698),c=n.n(s),l=!1,u=n(0),p=a,d=u(r.a,c.a,!1,p,"data-v-7ca43b54",null);d.options.__file="src/views/consign/consign-list.vue",e.default=d.exports},499:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"consign_index",components:{},data:function(){return{consignColumns:[{type:"index",width:60,align:"center"},{title:"委托类型",key:"type",align:"center"},{title:"小区",key:"community_name",align:"center"},{title:"房屋面积（㎡）",key:"area",align:"center",render:function(t,e){return t("div",{props:{}},e.row.area+"㎡")}},{title:"房屋户型",key:"huxing",align:"center"},{title:"房屋价格(万元)",key:"price",align:"center"},{title:"姓名",key:"user_name",align:"center"},{title:"联系方式",key:"user_phone",align:"center"},{title:"委托时间",key:"ctime",align:"center"}],consignList:[],totalnum:0,currentpage:1,type:"",name:""}},created:function(){this.getIndex()},methods:{getIndex:function(){this.$http.get(api_param.apiurl+"consign/consignlist",{params:{type:this.type,name:this.name,page:this.currentpage},headers:{"X-Access-Token":api_param.XAccessToken}}).then(function(t){this.totalnum=parseInt(t.data.data.totalnum),this.consignList=t.data.data.consignlist},function(t){console.log(t)})},doSearch:function(){this.currentpage=1,this.getIndex()},clearSearch:function(){this.type="",this.name="",this.currentpage=1,this.getIndex()},changePage:function(t){this.currentpage=t,this.getIndex()}}}},696:function(t,e,n){var a=n(697);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);n(8)("d72fec5a",a,!1,{})},697:function(t,e,n){e=t.exports=n(7)(!1),e.push([t.i,"\n.margin[data-v-7ca43b54] {\n    margin-top: 10px;\n}\n",""])},698:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Row",[n("Col",{attrs:{lg:24,md:24}},[n("Card",[n("Row",{attrs:{gutter:10}},[n("Col",{attrs:{lg:3,md:3}},[n("Select",{attrs:{placeholder:"委托类型"},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[n("Option",{attrs:{value:"0"}},[t._v("全部")]),t._v(" "),n("Option",{attrs:{value:"1"}},[t._v("卖房")]),t._v(" "),n("Option",{attrs:{value:"2"}},[t._v("买房")]),t._v(" "),n("Option",{attrs:{value:"3"}},[t._v("出租")]),t._v(" "),n("Option",{attrs:{value:"4"}},[t._v("租房")])],1)],1),t._v(" "),n("Col",{attrs:{lg:3,md:3}},[n("Input",{attrs:{placeholder:"小区名称"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1),t._v(" "),n("Col",{attrs:{lg:3,md:3}},[n("Button",{attrs:{type:"primary"},on:{click:t.doSearch}},[t._v("查询")]),t._v(" "),n("Button",{attrs:{type:"primary"},on:{click:t.clearSearch}},[t._v("清空")])],1)],1)],1)],1),t._v(" "),n("Col",{staticClass:"margin",attrs:{lg:24,md:24}},[n("Card",[n("Table",{attrs:{data:t.consignList,columns:t.consignColumns,stripe:"",border:""}}),t._v(" "),n("div",{staticStyle:{margin:"10px",overflow:"hidden"}},[n("div",{staticStyle:{float:"right"}},[n("Page",{attrs:{total:t.totalnum,current:t.currentpage,"show-total":""},on:{"on-change":t.changePage}})],1)])],1)],1)],1)},i=[];a._withStripped=!0;var r={render:a,staticRenderFns:i};e.default=r}});