You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
1.1 MiB
16 lines
1.1 MiB
|
2 years ago
|
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"00e3":function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return n}));var n={uniSection:i("ed96").default,uniForms:i("184c").default,uniFormsItem:i("2fcd").default,uniEasyinput:i("4da6").default},r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("view",{staticClass:e._$s(0,"sc","container"),attrs:{_i:0}},[i("uni-section",{attrs:{title:"GIS\u5b9a\u4f4d",type:"line",_i:1}},[i("uni-forms",{ref:"form",staticClass:e._$s(2,"sc","padding-wrap"),attrs:{modelValue:e.form,rules:e.rules,_i:2}},[i("uni-forms-item",{attrs:{label:"\u7ecf\u5ea6\uff1a",name:"longidute",required:!0,_i:3}},[i("uni-easyinput",{attrs:{_i:4},model:{value:e._$s(4,"v-model",e.form.longidute),callback:function(t){e.$set(e.form,"longidute",t)},expression:"form.longidute"}})],1),i("uni-forms-item",{attrs:{label:"\u7ef4\u5ea6\uff1a",name:"latidute",required:!0,_i:5}},[i("uni-easyinput",{attrs:{_i:6},model:{value:e._$s(6,"v-model",e.form.latidute),callback:function(t){e.$set(e.form,"latidute",t)},expression:"form.latidute"}})],1),i("uni-forms-item",{attrs:{label:"msg\uff1a",_i:7}},[i("uni-easyinput",{attrs:{type:"textarea",_i:8},model:{value:e._$s(8,"v-model",e.form.msg),callback:function(t){e.$set(e.form,"msg",t)},expression:"form.msg"}})],1),i("view",[i("button",{attrs:{_i:10},on:{click:e.GetGisPostion}}),i("button",{attrs:{_i:11},on:{click:e.UpLoadGisInfo}})])],1)],1)],1)},s=[]},"0676":function(e,t){e.exports=function(){throw new TypeError("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},"0cc0":function(e,t,i){"use strict";i.r(t);var n=i("edb9"),r=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(s);t["default"]=r.a},"0de9":function(e,t,i){"use strict";function n(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function r(){return"string"===typeof __channelId__&&__channelId__}function s(e,t){switch(n(t)){case"Function":return"function() { [native code] }";default:return t}}function a(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];console[e].apply(console,i)}function o(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=t.shift();if(r())return t.push(t.pop().replace("at ","uni-app:///")),console[a].apply(console,t);var o=t.map((function(e){var t=Object.prototype.toString.call(e).toLowerCase();if("[object object]"===t||"[object array]"===t)try{e="---BEGIN:JSON---"+JSON.stringify(e,s)+"---END:JSON---"}catch(r){e=t}else if(null===e)e="---NULL---";else if(void 0===e)e="---UNDEFINED---";else{var i=n(e).toUpperCase();e="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+e+"---END:"+i+"---":String(e)}return e})),c="";if(o.length>1){var u=o.pop();c=o.join("---COMMA---"),0===u.indexOf(" at ")?c+=u:c+="---COMMA---"+u}else c=o[0];console[a](c)}i.r(t),i.d(t,"log",(function(){return a})),i.d(t,"default",(function(){return o}))},"0fa0":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i("c9a0"),r={data:function(){return{form:{longidute:"",latidute:"",msg:""},rules:{longidute:{rules:[{required:!0,errorMessage:"\u8bf7\u8f93\u5165\u4e0a\u62a5\u7ecf\u5ea6"}]},latidute:{rules:[{required:!0,errorMessage:"\u8bf7\u8f93\u5165\u4e0a\u62a5\u7ef4\u5ea6"}]}}}},onLoad:function(){var e=(0,n.isRegisted)();uni.showModal({content:e?"1":"0"})},methods:{GetGisPostion:function(e){n.client.getGisPosition(e).then((function(e){mylog("getGisPosition : "+JSON.stringify(e))}))},UpLoadGisInfo:function(){var e=this;this.$refs.form.validate().then((function(t){n.client.uploadGisInfo(e.longidute,e.latidute,e.msg)})).catch((function(e){uni.showToast({title:e})}))}}};t.default=r},"11b0":function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.export
|
||
|
|
/*! *****************************************************************************
|
||
|
|
Copyright (c) Microsoft Corporation.
|
||
|
|
|
||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
|
purpose with or without fee is hereby granted.
|
||
|
|
|
||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
|
***************************************************************************** */function On(e,t,i,n){return new(i||(i=Promise))((function(r,s){function a(e){try{c(n.next(e))}catch(t){s(t)}}function o(e){try{c(n["throw"](e))}catch(t){s(t)}}function c(e){e.done?r(e.value):function(e){return e instanceof i?e:new i((function(t){t(e)}))}(e.value).then(a,o)}c((n=n.apply(e,t||[])).next())}))}function An(e,t){var i,n,r,s,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,n&&(r=2&s[0]?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(r=a.trys,!(r=r.length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],n=0}finally{i=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,o])}}}function Fn(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var s=arguments[t],a=0,o=s.length;a<o;a++,r++)n[r]=s[a];return n}function qn(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var i=[0,0,0,0];return i[3]+=e[3]+t[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=e[2]+t[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=e[1]+t[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=e[0]+t[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]}function Nn(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var i=[0,0,0,0];return i[3]+=e[3]*t[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=e[2]*t[3],i[1]+=i[2]>>>16,i[2]&=65535,i[2]+=e[3]*t[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=e[1]*t[3],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=e[2]*t[2],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=e[3]*t[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]}function Bn(e,t){return t%=64,32===t?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function Ln(e,t){return t%=64,0===t?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function Hn(e,t){return[e[0]^t[0],e[1]^t[1]]}function Vn(e){return e=Hn(e,[0,e[0]>>>1]),e=Nn(e,[4283543511,3981806797]),e=Hn(e,[0,e[0]>>>1]),e=Nn(e,[3301882366,444984403]),e=Hn(e,[0,e[0]>>>1]),e}function Un(e,t){return new Promise((function(i){return setTimeout(i,e,t)}))}function jn(e,t){void 0===t&&(t=1/0);var i=window.requestIdleCallback;return i?new Promise((function(e){return i((function(){return e()}),{timeout:t})})):Un(Math.min(e,t))}function Gn(e){return parseInt(e)}function zn(e){return parseFloat(e)}function $n(e,t){return"number"===typeof e&&isNaN(e)?t:e}function Wn(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function Kn(){var e=window,t=navigator;return Wn(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function Jn(){var e=window,t=navigator;return Wn(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function Xn(){var e=window,t=navigator;return Wn(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function Yn(){var e=window;return Wn(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function Zn(){var e=document;return
|
||
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=r=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},i=Object.prototype,s=i.hasOwnProperty,a=Object.defineProperty||function(e,t,i){e[t]=i.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function d(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(M){d=function(e,t,i){return e[t]=i}}function h(e,t,i,n){var r=t&&t.prototype instanceof p?t:p,s=Object.create(r.prototype),o=new x(n||[]);return a(s,"_invoke",{value:C(e,i,o)}),s}function f(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(M){return{type:"throw",arg:M}}}t.wrap=h;var g={};function p(){}function v(){}function m(){}var y={};d(y,c,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(P([])));S&&S!==i&&s.call(S,c)&&(y=S);var I=m.prototype=p.prototype=Object.create(y);function w(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var i;a(this,"_invoke",{value:function(r,a){function o(){return new t((function(i,o){(function i(r,a,o,c){var u=f(e[r],e,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==n(d)&&s.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,o,c)}),(function(e){i("throw",e,o,c)})):t.resolve(d).then((function(e){l.value=e,o(l)}),(function(e){return i("throw",e,o,c)}))}c(u.arg)})(r,a,i,o)}))}return i=i?i.then(o,o):o()}})}function C(e,t,i){var n="suspendedStart";return function(r,s){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw s;return R()}for(i.method=r,i.arg=s;;){var a=i.delegate;if(a){var o=b(a,i);if(o){if(o===g)continue;return o}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var c=f(e,t,i);if("normal"===c.type){if(n=i.done?"completed":"suspendedYield",c.arg===g)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(n="completed",i.method="throw",i.arg=c.arg)}}}function b(e,t){var i=t.method,n=e.iterator[i];if(void 0===n)return t.delegate=null,"throw"===i&&e.iterator["return"]&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,g;var s=r.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,g):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function P(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,n=function t(){for(;++i<e.length;)if(s.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:R}}function R(){return{value:void 0,done:!0}}return v.prototype=m,a(I,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:v,configurable:!0}),v.displayName=d(m,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,d(e,l,"GeneratorFunction")),e.prototype=Object.create(I),e},t.awrap=function(e){return{__await:e}},w(k.prototype),d(k.prototype,u,(f
|