(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"0012":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varn={data:function(){return{form:{type:"3",employeeId:"",buildId:"",floorNo:"",deviceId:"",longidute:"",latidute:"",planTypeId:"",planTypeName:""},positionType:1,position:null,planTypeList:[],userInfo:{},locationInfo:{}}},onShow:function(){vare=uni.getStorageSync("mobileInfo"),t=uni.getStorageSync("locationInfo");e&&(this.userInfo=JSON.parse(e),this.form.employeeId=this.userInfo.employeeId,this.form.deviceId=this.userInfo.employeeId),t&&1==this.positionType&&(this.locationInfo=JSON.parse(t),this.form.planTypeId=this.locationInfo.planId,this.form.planTypeName=this.locationInfo.planTypeName,this.form.buildId=this.locationInfo.buildId,this.form.floorNo=this.locationInfo.floorNo,this.form.latidute=this.locationInfo.latidute,this.form.longidute=this.locationInfo.longidute)},onUnload:function(){e("log","\u91ca\u653e\u76d1\u542c"," at pages/positionRecord/report.vue:82"),uni.$off("mapData")},onLoad:function(){vart=this;uni.$on("mapData",(function(n){vari=JSON.parse(n.data[0].detail);e("log","\u76d1\u542c\u5230\u4e8b\u4ef6\u6765\u81ea\u8fd4\u56de\u7684\u53c2\u6570\uff1a",i," at pages/positionRecord/report.vue:88"),t.position=i,t.form.buildId=i.buildId,t.form.floorNo=i.floorNo,t.form.latidute=i.x,t.form.longidute=i.y})),this.queryPlanTypeList()},methods:{goSetOther:function(){uni.navigateTo({url:"/pages/setting/other"})},goMap:function(){e("log","\u9875\u9762\u8df3\u8f6c"," at pages/positionRecord/report.vue:106"),uni.navigateTo({url:"/pages/map/map"})},switchPositionType:function(){this.positionType=1==this.positionType?0:1,this.form.buildId=1==this.positionType?this.locationInfo.buildId:this.position?this.position.buildId:"",this.form.floorNo=1==this.positionType?this.locationInfo.floorNo:this.position?this.position.floorNo:"",this.form.latidute=1==this.positionType?this.locationInfo.latidute:this.position?this.position.x:"",this.form.longidute=1==this.positionType?this.locationInfo.longidute:this.position?this.position.y:""},queryPlanTypeList:function(){vare=this;uni.request({url:getApp().globalData.mobileUrl+"/GetAllPlanInfo",success:function(t){200==t.data.code&&(t.data.data.forEach((function(e){e.value=e.planId,e.text=e.planName})),e.planTypeList=t.data.data)}})},submit:function(){e("log",getApp().globalData.apiUrl,this.form," at pages/positionRecord/report.vue:137"),uni.showLoading({title:"\u8bf7\u6c42\u4e2d"}),uni.uploadFile({url:getApp().globalData.apiUrl+"/appData/putFile",filePath:"123",name:"file",formData:this.form,success:function(e){vart=JSON.parse(e.data);200==t.code?uni.redirectTo({url:"/pages/positionRecord/list"}):uni.showToast({title:t.msg,icon:"none"})},fail:function(t){e("log",t," at pages/positionRecord/report.vue:160")},complete:function(t){e("log",t," at pages/positionRecord/report.vue:163"),uni.hideLoading()}})}}};t.default=n}).call(this,n("0de9")["default"])},"0676":function(e,t){e.exports=function(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},"08ca":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void0;varn={data:function(){return{detailInfo:{},videoList:[]}},onLoad:function(t){e("log","\u8be6\u60c5options ===>",t," at pages/message/detail.vue:50"),this.detailInfo=t.data?JSON.parse(t.data):{},this.queryVideo(this.detailInfo)},methods:{mapView:function(){uni.navigateTo({url:"/pages/map/map?floorNo="+this.detailInfo.floorNo+"&lat="+this.detailInfo.longidute+"&lng="+this.detailInfo.latidute})},queryVideo:function(e){vart=this,n=e.cameraCode;this.videoList=[],""!=n?n.split("-").map((function(e,n){t.videoList.push({name:"\u6444\u50cf\u5934"+(n+1),code:e})})):this.videoList=[]},goVideo:function(){uni.navigateTo({url:"/pages/H5player/index?list="+JSON.stringify(this.videoList)})}}};t.default=n}).ca
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=r=function(){returnt},e.exports.__esModule=!0,e.exports["default"]=e.exports;vart={},n=Object.prototype,a=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeofSymbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";functionf(e,t,n){returnObject.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch($){f=function(e,t,n){returne[t]=n}}functiond(e,t,n,i){varr=t&&t.prototypeinstanceofm?t:m,a=Object.create(r.prototype),s=newO(i||[]);returno(a,"_invoke",{value:I(e,n,s)}),a}functionp(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch($){return{type:"throw",arg:$}}}t.wrap=d;varh={};functionm(){}functionv(){}functiong(){}var_={};f(_,c,(function(){returnthis}));vary=Object.getPrototypeOf,b=y&&y(y(A([])));b&&b!==n&&a.call(b,c)&&(_=b);varw=g.prototype=m.prototype=Object.create(_);functionx(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){returnthis._invoke(t,e)}))}))}functionk(e,t){varn;o(this,"_invoke",{value:function(r,o){functions(){returnnewt((function(n,s){(functionn(r,o,s,c){varu=p(e[r],e,o);if("throw"!==u.type){varl=u.arg,f=l.value;returnf&&"object"==i(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){returnn("throw",e,s,c)}))}c(u.arg)})(r,o,n,s)}))}returnn=n?n.then(s,s):s()}})}functionI(e,t,n){vari="suspendedStart";returnfunction(r,a){if("executing"===i)thrownewError("Generator is already running");if("completed"===i){if("throw"===r)throwa;returnP()}for(n.method=r,n.arg=a;;){varo=n.delegate;if(o){vars=S(o,n);if(s){if(s===h)continue;returns}}if("next"===n.method)n.sent=n._sent=n.arg;elseif("throw"===n.method){if("suspendedStart"===i)throwi="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";varc=p(e,t,n);if("normal"===c.type){if(i=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i="completed",n.method="throw",n.arg=c.arg)}}}functionS(e,t){varn=t.method,i=e.iterator[n];if(void0===i)returnt.delegate=null,"throw"===n&&e.iterator["return"]&&(t.method="return",t.arg=void0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=newTypeError("The iterator does not provide a '"+n+"' method")),h;varr=p(i,e.iterator,t.arg);if("throw"===r.type)returnt.method="throw",t.arg=r.arg,t.delegate=null,h;vara=r.arg;returna?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void0),t.delegate=null,h):a:(t.method="throw",t.arg=newTypeError("iterator result is not an object"),t.delegate=null,h)}functionT(e){vart={tryLoc:e[0]};1ine&&(t.catchLoc=e[1]),2ine&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}functionC(e){vart=e.completion||{};t.type="normal",deletet.arg,e.completion=t}functionO(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}functionA(e){if(e){vart=e[c];if(t)returnt.call(e);if("function"==typeofe.next)returne;if(!isNaN(e.length)){varn=-1,i=functiont(){for(;++n<e.length;)if(a.call(e,n))returnt.value=e[n],t.done=!1,t;returnt.value=void0,t.done=!0,t};returni.next=i}}return{next:P}}functionP(){return{value:void0,done:!0}}returnv.prototype=g,o(w,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:v,configurable:!0}),v.displayName=f(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){vart="function"==typeofe&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){returnObject.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,f(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},x(k.prototype),f(k.prototype,u,(f