webpackJsonp([2],{115:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"loading",model:{prop:"show",event:"change"},props:{show:Boolean,text:String,position:String,transition:{type:String,default:"vux-mask"}},watch:{show:function(e){this.$emit("update:show",e)}}}},116:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={props:{type:{type:String,default:""},name:{default:""},index:{type:String,default:"banner"}},data:function(){return{timestamp:(new Date).getTime(),user:JSON.parse(localStorage.getItem("user"))}},computed:{action:function(){return"http://file.skylinuav.com/u/"+this.user.id+"/"+this.type+"/"+this.name+"/"+this.timestamp}},methods:{handleRemove:function(e,a){},handlePictureCardPreview:function(e){},success:function(e,a,n){this.$vux.loading.hide();var t="http://file.skylinuav.com/r/"+e.split(" ")[1];this.$emit("res",{res:t,index:this.name})},progress:function(e,a,n){this.$vux.loading.show({text:"图片上传中..."})},error:function(e,a,n){toast("图片上传失败,请重试"),this.$vux.loading.hide()},change:function(e,a){var n=(new Date).getTime();this.timestamp=n},beforeAvatarUpload:function(e){}}}},12:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={name:"inline-desc"}},139:function(e,a){},14:function(e,a){},141:function(e,a){},148:function(e,a){e.exports={render:function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("transition",{attrs:{name:e.transition}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"weui-loading_toast vux-loading",class:e.text?"":"vux-loading-no-text"},[n("div",{staticClass:"weui-mask_transparent"}),e._v(" "),n("div",{staticClass:"weui-toast",style:{position:e.position}},[n("i",{staticClass:"weui-loading weui-icon_toast"}),e._v(" "),e.text?n("p",{staticClass:"weui-toast__content"},[e._v(e._s(e.text||"加载中")),e._t("default")],2):e._e()])])])},staticRenderFns:[]}},15:function(e,a){e.exports={render:function(){var e=this,a=e.$createElement;return(e._self._c||a)("span",{staticClass:"vux-label-desc"},[e._t("default")],2)},staticRenderFns:[]}},150:function(e,a){e.exports={render:function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"img-up"},[n("el-upload",{staticClass:"upload-demo",attrs:{action:e.action,"on-error":e.error,"list-type":"picture-card","on-progress":e.progress,"on-preview":e.handlePictureCardPreview,"on-change":e.change,"before-upload":e.beforeAvatarUpload,"on-remove":e.handleRemove,"on-success":e.success}})],1)},staticRenderFns:[]}},153:function(e,a,n){var t=n(0)(n(45),n(76),null,null,null);e.exports=t.exports},154:function(e,a,n){function t(e){n(66)}var l=n(0)(n(46),n(81),t,null,null);e.exports=l.exports},156:function(e,a,n){function t(e){n(141)}var l=n(0)(n(116),n(150),t,null,null);e.exports=l.exports},16:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=n(35),l=n(8),r=n.n(l),u=n(43),p=n.n(u);a.default={name:"x-textarea",minxins:[t.a],mounted:function(){var e=this;this.$slots&&this.$slots["restricted-label"]&&(this.hasRestrictedLabel=!0),this.$nextTick(function(){e.autosize&&e.bindAutosize()})},components:{InlineDesc:r.a},props:{title:String,inlineDesc:String,showCounter:{type:Boolean,default:!0},max:Number,value:String,name:String,placeholder:String,readonly:Boolean,disabled:Boolean,rows:{type:Number,default:3},cols:{type:Number,default:30},height:Number,autocomplete:{type:String,default:"off"},autocapitalize:{type:String,default:"off"},autocorrect:{type:String,default:"off"},spellcheck:{type:String,default:"false"},autosize:Boolean},created:function(){this.currentValue=this.value},watch:{autosize:function(e){this.unbindAutosize(),e&&this.bindAutosize()},value:function(e){this.currentValue=e},currentValue:function(e){this.max&&e&&e.length>this.max&&(this.currentValue=e.slice(0,this.max)),this.$emit("input",this.currentValue),this.$emit("on-change",this.currentValue)}},data:function(){return{hasRestrictedLabel:!1,currentValue:""}},computed:{count:function(){var e=0;return this.currentValue&&(e=this.currentValue.replace(/\n/g,"aa").length),e>this.max?this.max:e},textareaStyle:function(){if(this.height)return{height:this.height+"px"}},labelStyles:function(){return{width:this.$parent.labelWidth||this.labelWidth+"em",textAlign:this.$parent.labelAlign,marginRight:this.$parent.labelMarginRight}},labelWidth:function(){return this.title.replace(/[^x00-xff]/g,"00").length/2+1},labelClass:function(){return{"vux-cell-justify":"justify"===this.$parent.labelAlign||"justify"===this.$parent.$parent.labelAlign}}},methods:{updateAutosize:function(){p.a.update(this.$refs.textarea)},bindAutosize:function(){p()(this.$refs.textarea)},unbindAutosize:function(){p.a.destroy(this.$refs.textarea)},focus:function(){this.$refs.textarea.focus()}},beforeDestroy:function(){this.unbindAutosize()}}},17:function(e,a){},179:function(e,a,n){function t(e){n(139)}var l=n(0)(n(115),n(148),t,null,null);e.exports=l.exports},18:function(e,a){e.exports={render:function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"weui-cell vux-x-textarea"},[n("div",{staticClass:"weui-cell__hd"},[e.hasRestrictedLabel?n("div",{style:e.labelStyles},[e._t("restricted-label")],2):e._e(),e._v(" "),e._t("label",[e.title?n("label",{staticClass:"weui-label",class:e.labelClass,style:{width:e.$parent.labelWidth||e.labelWidth+"em",textAlign:e.$parent.labelAlign,marginRight:e.$parent.labelMarginRight},domProps:{innerHTML:e._s(e.title)}}):e._e(),e._v(" "),e.inlineDesc?n("inline-desc",[e._v(e._s(e.inlineDesc))]):e._e()])],2),e._v(" "),n("div",{staticClass:"weui-cell__bd"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],ref:"textarea",staticClass:"weui-textarea",style:e.textareaStyle,attrs:{autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,spellcheck:e.spellcheck,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled,name:e.name,rows:e.rows,cols:e.cols,maxlength:e.max},domProps:{value:e.currentValue},on:{focus:function(a){e.$emit("on-focus")},blur:function(a){e.$emit("on-blur")},input:function(a){a.target.composing||(e.currentValue=a.target.value)}}}),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showCounter&&e.max,expression:"showCounter && max"}],staticClass:"weui-textarea-counter",on:{click:e.focus}},[n("span",[e._v(e._s(e.count))]),e._v("/"+e._s(e.max)+"\n ")])])])},staticRenderFns:[]}},187:function(e,a,n){function t(e){n(298)}var l=n(0)(n(229),n(341),t,null,null);e.exports=l.exports},19:function(e,a,n){function t(e){n(17)}var l=n(0)(n(16),n(18),t,null,null);e.exports=l.exports},203:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=n(92),l=(n.n(t),n(91)),r=(n.n(l),n(113)),u=n.n(r),p=n(1),m=n(187),v=n.n(m),i=n(2),s=n(41),o=n.n(s),c=n(112);p.default.config.productionTip=!1,p.default.use(i.a),window.HTTPS="https://devel.skylinuav.com/",p.default.use(o.a,{ak:"xfH0SN2kV0pGN70MTDDWhMUlyRWs4vye"}),p.default.use(c.a),p.default.use(u.a),new p.default({el:"#app",template:"",components:{App:v.a}})},229:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=n(88),l=n.n(t),r=n(156),u=n.n(r),p=n(19),m=n.n(p),v=n(3),i=n.n(v);a.default={components:{wheader:i.a,Bmap:l.a,XTextarea:m.a,img_up:u.a},beforeDestroy:function(){this.$vux.loading.hide()},data:function(){return{imgres:"",time:"",info:"",items:[{imgres:"_"}],flyteam:{name:"",uname:"",telphone:"",province:"",city:"",district:"",street:"",center:"",info:"",imgs:[]}}},methods:{res:function(e){if(this.items.length>=5)return void mui.toast("最多上传4张图片");this.items[e.index].imgres=e.res+"?imageView2/0/w/658/h/380";var a=[];for(var n in this.items)""!=this.items[n].imgres&&"_"!=this.items[n].imgres&&a.push(this.items[n]);this.items=a,this.items.push({imgres:"_"})},deleteThis:function(e){var a=[];this.items[e].imgres="";for(var e in this.items)""!=this.items[e].imgres&&a.push(this.items[e]);this.items=a},bmapRes:function(e){console.log(e),this.flyteam.province=e.province,this.flyteam.city=e.city,this.flyteam.district=e.district,this.flyteam.street=e.street,this.flyteam.center=e.center},CreateflyTeam:function(){var e=this,a=this.flyteam;return""==a.name?void mui.toast("请输入飞防队名称"):""==a.uname?void mui.toast("请输入联系人称呼"):""==a.telphone?void mui.toast("请输入联系人手机号码"):11!=a.telphone.length?void mui.toast("请输入正确手机号"):""==a.province?void mui.toast("请选择驻地"):(this.flyteam.imgs=this.items,void this.$http.post(HTTPS+"work/Public/demand/?service=Demand.CreateflyTeam&token="+JSON.parse(localStorage.getItem("user")).token,this.flyteam,{emulateJSON:!0,timeout:3e4}).then(function(a){200==a.body.ret?(mui.toast("飞防队信息修改成功"),e.$router.go(-1)):mui.toast(resMsg(a.body.msg))},function(e){mui.toast("网络连接失败")}))},GetflyTeamById:function(e){var a=this;this.$http.get(HTTPS+"work/Public/demand/?service=Demand.GetflyTeamById&token="+JSON.parse(localStorage.getItem("user")).token+"&teamId="+e,{timeout:3e4}).then(function(e){if(200==e.body.ret){if(0==e.body.data.length)return;var n=e.body.data[0];a.flyteam.center=n.center,a.flyteam.city=n.city,a.flyteam.district=n.district,a.flyteam.info=n.info,a.flyteam.name=n.name,a.flyteam.province=n.province,a.flyteam.street=n.street,a.flyteam.telphone=n.telphone,a.flyteam.uname=n.uname,a.items=n.imgs}else mui.toast(resMsg(e.body.msg))},function(e){mui.toast("网络连接失败")})}},created:function(){this.GetflyTeamById(localStorage.getItem("fly_team_id"))},watch:{info:function(e){}}}},298:function(e,a){},3:function(e,a,n){function t(e){n(5)}var l=n(0)(n(4),n(6),t,null,null);e.exports=l.exports},322:function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAFOYwZEAAAAAXNSR0IArs4c6QAABgJJREFUeAHtXUtu3EYQHVJBvDEEaCEts9JIgp1TOECAXMAn8CaIF0kOkmSRwBufwBcwYCA+RWRImtEmS2khQBEQxIBGqSJMu2mQTbF6WDWsfgQGbHK6+9V7r5uf6WmymNFycnJyx+uBy00hLFjhlAPRGtlRuCFH/wYE69eokSNZsJtGdQM2isVi8fj29vavAWWqrEdHR4XHLnl4eBiVItmqaO2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IjNzYBzUQbgiVIYCWLOiEsCiSBJwW6a9ugJ55ni+9VOoVyxIJp2IQQ9dryKw5Tx38LB6rD1zy/0b+g1y/LxphgKokYBzdmoadopUM48FAT+W8C3bG1HgrqdcdrBXMDvrQM/AwmFT/Znc/5BgP8dPvlvAU+EWPTksUMQTnBvX2cAYiR44Pfv4D288R38yk3wgNjBty/ALKB1nhRUSQAAAABJRU5ErkJggg=="},341:function(e,a,n){e.exports={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"page addorder history flyteamCompile"},[t("wheader",{attrs:{title:"编辑信息"}}),e._v(" "),t("div",{staticClass:"scroll mui-content"},[t("div",{staticClass:"bx"},[t("div",{staticClass:"add-item vux-1px-b"},[t("div",[e._v("*")]),e._v(" "),t("div",[e._v("名称")]),e._v(" "),t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.flyteam.name,expression:"flyteam.name"}],attrs:{type:"text",name:"",id:"",value:"",placeholder:"请填写飞防队名称",maxlength:"8"},domProps:{value:e.flyteam.name},on:{input:function(a){a.target.composing||e.$set(e.flyteam,"name",a.target.value)}}})])])]),e._v(" "),t("div",{staticClass:"bx "},[t("div",{staticClass:"add-item vux-1px-b"},[t("div",[e._v("*")]),e._v(" "),t("div",[e._v("称呼")]),e._v(" "),t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.flyteam.uname,expression:"flyteam.uname"}],attrs:{type:"text",name:"",id:"",value:"",placeholder:"请填写联系人称呼",maxlength:"8"},domProps:{value:e.flyteam.uname},on:{input:function(a){a.target.composing||e.$set(e.flyteam,"uname",a.target.value)}}})])])]),e._v(" "),t("div",{staticClass:"bx margin"},[t("div",{staticClass:"add-item "},[t("div",[e._v("*")]),e._v(" "),t("div",[e._v("手机")]),e._v(" "),t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:e.flyteam.telphone,expression:"flyteam.telphone"}],attrs:{type:"tel",name:"",id:"",value:"",placeholder:"请填写联系人手机号"},domProps:{value:e.flyteam.telphone},on:{input:function(a){a.target.composing||e.$set(e.flyteam,"telphone",a.target.value)}}})])])]),e._v(" "),t("div",{staticClass:"bx "},[t("Bmap",{attrs:{name:"驻地"},on:{res:e.bmapRes}})],1),e._v(" "),t("div",{staticClass:"textareas textarea margin"},[t("div",{staticClass:"t-info"},[e._v("简介")]),e._v(" "),t("x-textarea",{attrs:{max:500,placeholder:"请填写备注信息"},model:{value:e.flyteam.info,callback:function(a){e.$set(e.flyteam,"info",a)},expression:"flyteam.info"}})],1),e._v(" "),t("div",{staticClass:"bx pic"},[e._m(0),e._v(" "),t("div",{staticClass:"imgs-boxs"},e._l(e.items,function(a,l){return""!=a.imgres?t("div",{key:l,staticClass:"imgs-boxs-b"},[t("div",{staticClass:"imgback"},["_"!=a.imgres&&""!=a.imgres?t("div",{staticClass:"jian",on:{click:function(a){e.deleteThis(l)}}},[t("img",{attrs:{src:n(324)}})]):e._e(),e._v(" "),t("div",{staticClass:"upImg"},[t("img_up",{attrs:{type:"banner",name:l},on:{res:e.res}}),e._v(" "),"_"==a.imgres?t("img",{staticClass:"back",attrs:{src:n(322)}}):t("img",{staticClass:"up",attrs:{src:a.imgres}})],1)])]):e._e()}))])]),e._v(" "),t("div",{staticClass:"button"},[t("button",{staticClass:"bm",on:{click:e.CreateflyTeam}},[e._v("提交")])])],1)},staticRenderFns:[function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"add-item vux-1px-b"},[n("div"),e._v(" "),n("div",[e._v("图片")])])}]}},39:function(e,a,n){function t(e){n(59)}var l=n(0)(n(48),n(73),t,null,null);e.exports=l.exports},4:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default={props:{title:{type:String,default:"植保需求"},back:{type:Boolean,default:!0},hide:{type:Boolean,default:!1}},methods:{push:function(e){router(e)}}}},40:function(e,a,n){function t(e){n(62)}var l=n(0)(n(50),n(77),t,null,null);e.exports=l.exports},44:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=n(8),l=n.n(t),r=n(97),u=n(120),p=n(94),m=n(125);a.default={name:"cell",components:{InlineDesc:l.a},props:n.i(u.a)(),created:function(){},beforeMount:function(){this.hasTitleSlot=!!this.$slots.title,this.$slots.value},computed:{labelStyles:function(){return n.i(p.a)({width:n.i(m.a)(this,"labelWidth"),textAlign:n.i(m.a)(this,"labelAlign"),marginRight:n.i(m.a)(this,"labelMarginRight")})},valueClass:function(){return{"vux-cell-primary":"content"===this.primary||"left"===this.valueAlign,"vux-cell-align-left":"left"===this.valueAlign,"vux-cell-arrow-transition":!!this.arrowDirection,"vux-cell-arrow-up":"up"===this.arrowDirection,"vux-cell-arrow-down":"down"===this.arrowDirection}},labelClass:function(){return{"vux-cell-justify":"justify"===this.$parent.labelAlign||"justify"===this.$parent.$parent.labelAlign}},style:function(){if(this.alignItems)return{alignItems:this.alignItems}}},methods:{onClick:function(){!this.disabled&&n.i(r.a)(this.link,this.$router)}},data:function(){return{hasTitleSlot:!0,hasMounted:!1}}}},45:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=["-moz-box-","-webkit-box-",""];a.default={name:"flexbox-item",props:{span:[Number,String],order:[Number,String]},beforeMount:function(){this.bodyWidth=document.documentElement.offsetWidth},methods:{buildWidth:function(e){return"number"==typeof e?e<1?e:e/12:"string"==typeof e?e.replace("px","")/this.bodyWidth:void 0}},computed:{style:function(){var e={},a="horizontal"===this.$parent.orient?"marginLeft":"marginTop";if(1*this.$parent.gutter!=0&&(e[a]=this.$parent.gutter+"px"),this.span)for(var n=0;nthis.count-1)){var a=this,n=this.getId(e);this.scroller[e].destroy();var t=this.store.getChildren(a.getValue()[e-1]);this.scroller[e]=new p.a(n,{data:t,itemClass:a.item_class,onSelect:function(n){a.$set(a.currentValue,e,n),a.$nextTick(function(){a.$emit("on-change",a.getValue())}),a.renderChain(e+1)}}),t.length?(this.$set(this.currentValue,e,t[0].value),this.renderChain(e+1)):this.$set(this.currentValue,e,null)}},getValue:function(){for(var e=[],a=0;a0&&l()(e)!==l()(a)&&(this.currentData=this.store.getColumns(e),this.$nextTick(function(){this.render(this.currentData,e)}));else if(e.length)for(var n=0;n0&&(this.tempValue=w(this.currentValue)))},onPopupShow:function(){this.closeType=!1,this.$emit("on-show")},onPopupHide:function(e){this.value.length>0&&(this.tempValue=w(this.currentValue)),this.$emit("on-hide",this.closeType)},onPickerChange:function(e){if(l()(this.currentValue)!==l()(e)&&this.value.length){var a=l()(this.data);a!==this.currentData&&"[]"!==this.currentData&&(this.tempValue=w(e)),this.currentData=a}var t=w(e);this.$emit("on-shadow-change",t,n.i(g.a)(t,this.data).split(" "))}},watch:{value:function(e){l()(e)!==l()(this.tempValue)&&(this.tempValue=w(e),this.currentValue=w(e))},currentValue:function(e){this.$emit("input",w(e)),this.$emit("on-change",w(e))},show:function(e){this.showValue=e},showValue:function(e){this.$emit("update:show",e)}},data:function(){return{onShowProcess:!1,tempValue:w(this.value),closeType:!1,currentData:l()(this.data),showValue:!1,currentValue:this.value}}}},51:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=n(55),l=n.n(t),r=n(122),u=n(95);a.default={name:"popup",props:{value:Boolean,height:{type:String,default:"auto"},width:{type:String,default:"auto"},showMask:{type:Boolean,default:!0},isTransparent:Boolean,hideOnBlur:{type:Boolean,default:!0},position:{type:String,default:"bottom"},maxHeight:String,popupStyle:Object,hideOnDeactivated:{type:Boolean,default:!0},shouldRerenderOnShow:{type:Boolean,default:!1},shouldScrollTopOnShow:{type:Boolean,default:!1}},created:function(){this.$vux&&this.$vux.config&&"VIEW_BOX"===this.$vux.config.$layout&&(this.layout="VIEW_BOX")},mounted:function(){var e=this;this.$overflowScrollingList=document.querySelectorAll(".vux-fix-safari-overflow-scrolling"),this.$nextTick(function(){var a=e;e.popup=new r.a({showMask:a.showMask,container:a.$el,hideOnBlur:a.hideOnBlur,onOpen:function(){a.fixSafariOverflowScrolling("auto"),a.show=!0},onClose:function(){a.show=!1,window.__$vuxPopups&&l()(window.__$vuxPopups).length>1||document.querySelector(".vux-popup-dialog.vux-popup-mask-disabled")||setTimeout(function(){a.fixSafariOverflowScrolling("touch")},300)}}),e.value&&e.popup.show(),e.initialShow=!1})},deactivated:function(){this.hideOnDeactivated&&(this.show=!1),this.removeModalClassName()},methods:{fixSafariOverflowScrolling:function(e){if(this.$overflowScrollingList.length)for(var a=0;a