(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-00379f14"],{"0790":function(t,a,s){"use strict";var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("van-nav-bar",{attrs:{title:t.title,"left-text":"","left-arrow":""},on:{"click-left":t.back}},[s("van-icon",{attrs:{slot:"left",name:t.backHome?"wap-home":"arrow-left"},slot:"left"})],1)},i=[],n={name:"NavBar",data:function(){return{backHome:!1}},props:{title:{type:String,required:!0,default:""}},created:function(){this.$util.sessionStorage.fetch("backHome")&&(this.backHome=!0)},mounted:function(){},methods:{back:function(){this.backHome?(this.$util.sessionStorage.remove("backHome"),this.$router.push("/")):window.history.length>1?window.history.go(-1):this.$router.push("/")}}},o=n,l=(s("ba46"),s("2877")),c=Object(l["a"])(o,e,i,!1,null,"530892b0",null);c.options.__file="NavBar.vue";a["a"]=c.exports},"1c49":function(t,a,s){"use strict";var e=s("71bc"),i=s.n(e);i.a},6362:function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"apply-wrap"},[s("nav-bar",{attrs:{title:"申请列表"}}),s("div",{staticClass:"wrap"},[t.data.length?s("van-pull-refresh",{on:{refresh:t.onRefresh},model:{value:t.isLoading,callback:function(a){t.isLoading=a},expression:"isLoading"}},[s("van-list",{attrs:{finished:t.finished,"immediate-check":!1,offset:200},on:{load:t.onLoad},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},t._l(t.data,function(a){return s("div",{key:a.applyCode,staticClass:"box",on:{click:function(s){t.detail(a)}}},[s("div",{staticClass:"header flex_sb align-c"},[s("p",[t._v("咨询编号："+t._s(a.applyCode))]),s("span",[t._v(t._s(a.applyStatusText))])]),s("div",{staticClass:"content"},[s("div",{staticClass:"message"},[s("div",{staticClass:"flex_sb align-c"},[s("p",[t._v("姓名：")]),s("span",[t._v(t._s(a.name))])]),s("div",{staticClass:"flex_sb align-c"},[s("p",[t._v("城市：")]),s("span",[t._v(t._s(a.cityText))])]),s("div",{staticClass:"flex_sb align-c"},[s("p",[t._v("入住时间：")]),s("span",[t._v(t._s(a.liveTime))])]),s("div",{staticClass:"flex_sb align-c"},[s("p",[t._v("提交时间：")]),s("span",[t._v(t._s(a.createTimeText))])])]),a.houseInfo?s("div",{staticClass:"room flex"},[a.houseInfo.imgUrl?s("img",{attrs:{src:a.houseInfo.imgUrl,alt:""}}):s("img",{attrs:{src:"//static.hoolihome.com/m/assets/img/buildings-img@2x.png",alt:""}}),s("div",{staticClass:"info"},[s("h5",{staticClass:"lineTwoHidden"},[t._v(t._s(a.houseInfo.houseName))]),s("div",{staticClass:"flex"},[s("p",[t._v(t._s(a.houseInfo.moneySymbol))]),s("span",[t._v(t._s(a.houseInfo.roomPrice))]),s("i",[t._v("/"+t._s(a.houseInfo.rentTimeUnit))])])])]):t._e()]),s("div",{staticClass:"footer flex_sb align-c"},[s("p",[t._v("申请详情")]),s("i",{staticClass:"icon icon-jiantou-you"})])])})),t.isEmpty?s("is-empty"):t._e()],1):t._e(),t.data.length?t._e():s("div",{staticClass:"room-detail-none"},[t._v("暂无数据")])],1)],1)},i=[],n=(s("c5f6"),s("0790")),o={name:"Apply",components:{NavBar:n["a"]},data:function(){return{data:[],pages:{},page:0,isEmpty:!1,loading:!1,finished:!1,isLoading:!1,itemsChecked:!1,isEdit:!1,lastId:0}},created:function(){this.getData()},methods:{onLoad:function(){var t=this;setTimeout(function(){t.getData("onLoad")},500)},onRefresh:function(){var t=this;setTimeout(function(){t.page=0,t.getData("onRefresh")},500)},getData:function(t){var a=this,s={};s.url=this.$apis.api_user_order_applied,this.page=this.page+1,s.data={page:this.page,limit:10},this.$net.req(s,this).then(function(e){if(0===Number(e.code)){a.lastId=a.data.slice(-1).id||0;var i=e.data.list;a.pages=e.data.pages,a.page*s.data.limit>=a.pages.totalCount&&(a.finished=!0,a.isEmpty=!0),"onLoad"===t?(a.loading=!1,a.data=a.data.concat(i)):a.data=i,"onRefresh"===t&&(a.finished=!1,a.isEmpty=!1,a.$toast("刷新成功"),a.isLoading=!1)}else a.$Toast(e.msg)},function(t){a.$Toast(t.msg)})},detail:function(t){var a=this.$store.state.langStr;this.$router.push({path:"/".concat(a,"/user/applyDetail/").concat(t.id)})}}},l=o,c=(s("1c49"),s("2877")),r=Object(c["a"])(l,e,i,!1,null,"4b775cfa",null);r.options.__file="apply.vue";a["default"]=r.exports},"71bc":function(t,a,s){},"8d1f":function(t,a,s){},ba46:function(t,a,s){"use strict";var e=s("8d1f"),i=s.n(e);i.a}}]);
//# sourceMappingURL=chunk-00379f14.1ce5197d.js.map