1 |
- webpackJsonp([9],{191:function(t,e,i){function s(t){i(302)}var n=i(0)(i(233),i(345),s,null,null);t.exports=n.exports},209:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i(1),n=i(191),a=i.n(n),o=i(2),r=i(42),l=i.n(r);s.default.config.productionTip=!1,s.default.use(o.a),window.HTTPS="https://devel.skylinuav.com/",s.default.use(l.a),new s.default({el:"#app",template:"<App/>",components:{App:a.a}})},233:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i(89),n=i.n(s),a=i(3),o=i.n(a),r=i(84),l=i.n(r);e.default={components:{items:n.a,LoadMore:l.a,wheader:o.a},props:{},created:function(){},data:function(){return{item:[],showloding:!1,inType:localStorage.getItem("inType"),event:"up",page:1}},methods:{loding:function(t){return t?"加载中":"暂无其余数据"},infinite:function(t){function e(){setTimeout(function(){t()},1e3)}this.event="down","farmers"==this.inType?this.DemandPublishHistory(this.page,e):this.FlyTeamEnrollHistory(this.page,e)},refresh:function(t){function e(){setTimeout(function(){t()},1e3)}this.event="up",this.page=1,"farmers"==this.inType?this.DemandPublishHistory(1,e):this.FlyTeamEnrollHistory(1,e)},FlyTeamEnrollHistory:function(t,e){var i=this;this.$http.get(HTTPS+"work/Public/demand/?service=Demand.FlyTeamEnrollHistory&token="+JSON.parse(localStorage.getItem("user")).token+"&order[_id]=-1&page="+t,{timeout:3e4}).then(function(s){console.log(s);var n=s.body;i.event;if(200==n.ret){if(1==t)i.item=n.data.data,i.page++;else{for(var a in n.data.data)i.item.push(n.data.data[a]);0==n.data.data.length||i.page++}e()}else toast(resMsg(s.body.msg))},function(t){toast("网络连接失败")})},DemandPublishHistory:function(t,e){var i=this;this.$http.get(HTTPS+"work/Public/demand/?service=Demand.DemandPublishHistory&token="+JSON.parse(localStorage.getItem("user")).token+"&order[_id]=-1&page="+t,{timeout:3e4}).then(function(s){console.log(s);var n=s.body;i.event;if(200==n.ret){if(1==t)i.item=n.data.data,i.page++;else{for(var a in n.data.data)i.item.push(n.data.data[a]);0==n.data.data.length||i.page++}e()}else toast(resMsg(s.body.msg))},function(t){toast("网络连接失败")})}}}},3:function(t,e,i){function s(t){i(5)}var n=i(0)(i(4),i(6),s,null,null);t.exports=n.exports},302:function(t,e){},345:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"scroll page "},[i("wheader",{attrs:{title:"历史订单"}}),t._v(" "),i("scroller",{staticClass:"mui-content",attrs:{"on-refresh":t.refresh,"on-infinite":t.infinite}},[t._l(t.item,function(t,e){return i("items",{key:e,attrs:{items:t}})}),t._v(" "),i("load-more",{attrs:{"show-loading":t.showloding,tip:t.loding(t.showloding),"background-color":"#fbf9fe"}})],2)],1)},staticRenderFns:[]}},4:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:{type:String,default:"植保需求"},back:{type:Boolean,default:!0},hide:{type:Boolean,default:!1}},methods:{push:function(t){router(t)}}}},47:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"load-more",props:{showLoading:{type:Boolean,default:!0},tip:String}}},5:function(t,e){},54:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i(7),n=i.n(s);e.default={props:{items:{type:Object,default:function(){return{}}}},data:function(){return{farmers:!0,user:JSON.parse(localStorage.getItem("user"))}},mounted:function(){"farmers"==localStorage.getItem("inType")?this.farmers=!0:this.farmers=!1},methods:{show:function(t){for(var e in t)if(t[e].id==this.user.id)return t[e].selected},showlable:function(t){for(var e in t)if(t[e].id==this.user.id)return!0},push:function(t){localStorage.setItem("itemsList",n()(this.items)),router("./orderdetails.html")},filterImg:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){return filterImg(t)})},computed:{},filters:{}}},58:function(t,e){},6:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("header",{staticClass:"mui-bar mui-bar-nav"},[i("h1",{staticClass:"mui-title",attrs:{id:"title"}},[t._v(t._s(t.title))]),t._v(" "),t.hide?t._e():i("div",[t.back?i("a",{staticClass:"mui-action-back mui-icon mui-icon-left-nav mui-pull-left"}):i("a",{staticClass:"mui-icon mui-icon-plusempty mui-pull-left",on:{click:function(e){t.push("./addorder.html")}}}),t._v(" "),t.back?t._e():i("div",{staticClass:"mui-pull-right",on:{click:function(e){t.push("./orderhistory.html")}}},[t._v("历史")])])])},staticRenderFns:[]}},60:function(t,e){},67:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAVCAYAAAEx0v4+AAAAAXNSR0IArs4c6QAAAzJJREFUOBGVlEtIlFEUx/2+GdRxZtGgNURoIZIURS2ysBbVJigdaDVtjDAqImUo8BWB2SIY5+HIZIRCrW1qp+CihSH0cIQIIigDF0r0wKjIdHzMTL9zmfv5aQ/owjfn9T//c+65905BASscDneKLAiFQi+UYv/BmVM2yvHVQHd396RlEUpoQ+H5ebTGoQ2R8Xh8Wy6XMy1fIpEogu+O5cD4qo1kMuno6empMknxi5NgVyAQyCwtLb0zWVvEiRyJxWLlSgfZJEpra+s4utvr9RaKrVYkEqnVuqEV+v1oGMYm0Dehmslms2eJHcBX297e/lyK7gf0TSeIlEa03dfXVyo7l02NlZSU+HQgL6u03dzc/EV0J2Uq5ufn0+hWG5RqkCDM1bRSijpnBXEO4DxPTzMEptEPIbM+n8/d2NiYtoA45SjrqOAH9N7lcoWDweCi+GUpoIwhk8k8xR4HeI8dl8N8DfsTbWxWQJm7jLmystIpIxenXlRIkHAasNcUkMfjKdMgGYUGdnR0BGnDiEajNerM9Qg0YJ2sX1lZ6V+9HLbo6OioU5vMeILyO38DUs5IpVLPGNd9AafT6ZOIMRP0T/o6qBlE0nyN2+2+JDoTGGQSDQY3rnBqamrR6XTuaGlpeSNBvWCdZDMfqHJYzZERudj9HACp8ARZAaAcpv62traLOtGSBE0ZPuPYajnzypojFB9PZcPy8vJVepMePXncGkHVH5Dexhmire/2oEXIGz8GyRBBeQqPae8K7b20g7UOdi/YOPYRyOXe+BmUetCKkCkO46wjmCRwSidqmR/9A2IPtU8kXRqQDyID5A4T95s4IsTktkb/RJZPDCB3iW5fkOQkR3IhrRcuk9bPCKi4uDhsB/+PrnOFS27YgiTzWl1/I6GTu8Q62forvqPrcbbcBbknMQEgb60HapttneMzOaQ9bG07M5+FWO6XWjpXtq4OhWAXwOtEpx0ORw1/fp/z2H+K3t5eH28kBagC0i6K3rCuDZe0jH+JEYj3EZSrIPdsANBbOyvFq7Ev8DWBLUJO8HxO8HxmBWcRiqEXW9qNfpnPz7dR+0VSTLofgizOpX5tj4n+C6rRf8q9CF7NAAAAAElFTkSuQmCC"},68:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAVCAYAAAE8zI55AAAAAXNSR0IArs4c6QAAAVhJREFUOBGtVDFOxDAQPDt5Ax0fuE8c1UnXIhp+QUOUCum6xGn4AhISDdBSIt5yDf2ViIQZ3621jhxiTkRK1js7nvXa3iwW+mnbtqffNM1gh2EwIYjIY3CigQH5C0gZoVTQAH2v5pxbSwAZdjL2llmoF02NGHmO0Vk4xXRdd9b3/T1SXhtjnrQOMWutK0H4lKoJahLHiFd+W+q69sVMWb+B49naZ40l1rFHxW86oMdYwsFNbb7GDBwH9m2qMmKo7mZ2X0H8tjp/aowsRVZ1QUmOc2y9uoCpVMQYD0pTJOJZJH9Ff9txCO15LEu851PpqqraRDEucq4QTkjxeCrviF2QcOqD1X5YfFanCsg8nO4q9DEuzZUE/mLRJc/kl1DzXYINeyGAUl9p0TWXmT5poz8LgKIoHnzk+JnzhRtaQPpWArlWTjnrtuWI/psQS9si411O1ikOrtD2B5Bxrn+Xuy9MAAAAAElFTkSuQmCC"},70:function(t,e,i){t.exports=i.p+"static/img/ybm.416ccb4.png"},71:function(t,e,i){t.exports=i.p+"static/img/yxz.3a2fd75.png"},72:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vux-loadmore weui-loadmore",class:{"weui-loadmore_line":!t.showLoading,"weui-loadmore_dot":!t.showLoading&&!t.tip}},[t.showLoading?i("i",{staticClass:"weui-loading"}):t._e(),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.tip||!t.showLoading,expression:"tip || !showLoading"}],staticClass:"weui-loadmore__tips"},[t._v(t._s(t.tip))])])},staticRenderFns:[]}},74:function(t,e,i){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"items",on:{click:function(e){t.push(t.items._id)}}},[!t.farmers&&0!=t.items.fly_teams.length&&t.showlable(t.items.fly_teams)?s("div",[t.show(t.items.fly_teams)?s("img",{staticClass:"lable",attrs:{src:i(71)}}):s("img",{staticClass:"lable",attrs:{src:i(70)}})]):t._e(),t._v(" "),s("div",{staticClass:"logo"},[s("div",{staticClass:"icon-box",class:t.filterImg(t.items.add.corptype)})]),t._v(" "),s("div",{staticClass:"lits"},[s("div",{staticClass:"line"},[s("div",[t._v(t._s(t.items.add.corptype))]),t._v(" "),s("div",[s("span",[t._v("¥"+t._s(t.items.add.price)+"元")]),t._v("/亩")])]),t._v(" "),s("div",{staticClass:"line"},[s("div",[t._v(t._s(t.items.add.province)+"·"+t._s(t.items.add.city)+"·"+t._s(t.items.add.district))]),t._v(" "),s("div",[t._v(t._s(t.items.add.area)+"亩")])]),t._v(" "),s("div",{staticClass:"line"},[s("div",[t._m(0),s("i",[t._v(t._s(t._f("change")(t.items.add.startTime)))])]),t._v(" "),s("div",[t._m(1),s("i",[t._v(t._s(t.items.add.cycle)+"天")])])])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("i",{staticClass:"icons"},[s("img",{attrs:{src:i(68)}})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("i",{staticClass:"icons"},[s("img",{attrs:{src:i(67)}})])}]}},84:function(t,e,i){function s(t){i(58)}var n=i(0)(i(47),i(72),s,null,null);t.exports=n.exports},89:function(t,e,i){function s(t){i(60)}var n=i(0)(i(54),i(74),s,null,null);t.exports=n.exports},9:function(t,e){}},[209]);
|