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.
3 lines
14 KiB
3 lines
14 KiB
1 year ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-grid-grid"],{"0ad4":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,".select-position[data-v-86509086]{display:flex;align-items:center;justify-content:space-between;width:100vw;height:%?94?%;background-color:#fff;padding:0 %?22?%;box-sizing:border-box}.select-position > uni-view[data-v-86509086]{display:flex;align-items:center}.select-position uni-image[data-v-86509086]{height:%?36?%;width:%?36?%;margin:0 %?4?%}.check-position[data-v-86509086]{font-size:%?26?%;color:#d81e06}.search[data-v-86509086]{display:flex;align-items:center;margin:%?20?% %?30?%;background-color:#fff;padding:%?10?% %?15?%;box-sizing:border-box}.search uni-text[data-v-86509086]{font-size:%?30?%}.search uni-input[data-v-86509086]{width:70%;font-size:%?30?%}.list[data-v-86509086]{width:100vw;background-color:#fff;padding:%?30?% %?30?% 0 %?30?%;box-sizing:border-box}.list-title[data-v-86509086]{font-weight:700;border-bottom:%?2?% solid #e7eeee;padding-bottom:%?20?%}.list-content[data-v-86509086]{padding:0 %?10?%}.list-content uni-view[data-v-86509086]{display:flex;align-items:center;padding:%?30?% 0;border-bottom:%?2?% solid #e7eeee;justify-content:space-between}.list-content uni-text[data-v-86509086]{font-size:%?30?%}.list-content .list-in[data-v-86509086]{font-size:%?24?%;border:1px solid silver;color:#aeaeae;padding:%?4?% %?8?%;border-radius:%?2?%}",""]),t.exports=e},5068:function(t,e,n){"use strict";n("7a82");var r=n("4a46").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("74f0")),o={CustomerApi:i};e.default=o},"74f0":function(t,e,n){"use strict";n("7a82");var r=n("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.fetchAutoreGuser=function(t){return new Promise((function(e,n){(0,o.requestPOST)("/epmetuser/userresiinfo/autoreguser-ding",t).then((function(t){e(t)}))}))},e.fetchGetAddress=function(t){var e="https://restapi.amap.com/v3/geocode/regeo?location=".concat(t.longitude,",").concat(t.latitude,"&key=").concat(t.key);return new Promise((function(n,r){(0,o.requestGET)(e,t).then((function(t){n(t)}))}))},e.fetchIcEventReprot=function(t){return new Promise((function(e,n){(0,o.requestPOST)("/gov/project/icEvent/add-event-resi",t).then((function(t){e(t)}))}))},e.fetchNeighBorhoodList=function(t){return new Promise((function(e,n){(0,o.requestPOST)("/gov/org/icneighborhood/neighborhoodlist",t).then((function(t){e(t)}))}))},e.fetchNeighBorhoodListForDing=function(t){return new Promise((function(e,n){a.default.getAuthCode().then((function(n){var r=(0,i.default)((0,i.default)({},t),{authCode:n.authCode,miniAppId:u.miniAppId});(0,o.requestPOST)("/gov/org/icneighborhood/neighborhoodlistForDingding",r).then((function(t){e(t)}))}))}))};var i=r(n("f3f3"));n("d3b7"),n("99af");var o=n("6ea9"),a=r(n("a2ee")),u=n("3740")},8141:function(t,e,n){"use strict";n("7a82");var r=n("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("fc11")),o=r(n("f07e")),a=r(n("c964")),u=n("5068"),c=r(n("3675")),s=n("6ea9"),f=getApp(),d={data:function(){return{list:[],curAddress:"",searchVal:""}},onLoad:function(){this.fetchNeighBorhoodList(),this.getLocation()},methods:{fetchNeighBorhoodList:function(){var t=this;return(0,a.default)((0,o.default)().mark((function e(){var n,r,i,a;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={buildingName:t.searchVal},e.next=3,u.CustomerApi.fetchNeighBorhoodListForDing(n);case 3:r=e.sent,i=r.code,a=r.data,0==i&&a&&t.setData({list:a});case 6:case"end":return e.stop()}}),e)})))()},fetchAutoreGuser:function(t){return(0,a.default)((0,o.default)().mark((function e(){var n,r,i,a;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={gridId:t},e.next=3,u.CustomerApi.fetchAutoreGuser(n);case 3:r=e.sent,i=r.code,a=r.data,0==i&&a&&(c.default.setStoreGridInfo(a),(0,s.fetchToken)().then((function(t){c.default.setStoreUserInfo(t.data),uni.reLaunch({url:"/pages/index/index"}),f.globalData.session=!0})));case 6:case"end":return e.stop()}}),
|
||
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||
|
e.default=function(){return t};var t={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(N){f=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),u=new j(r||[]);return o(a,"_invoke",{value:_(t,n,u)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(N){return{type:"throw",arg:N}}}t.wrap=d;var h={};function v(){}function p(){}function g(){}var y={};f(y,u,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(k([])));w&&w!==n&&i.call(w,u)&&(y=w);var b=g.prototype=v.prototype=Object.create(y);function x(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){var n;o(this,"_invoke",{value:function(o,a){function u(){return new e((function(n,u){(function n(o,a,u,c){var s=l(t[o],t,a);if("throw"!==s.type){var f=s.arg,d=f.value;return d&&"object"==(0,r.default)(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(d).then((function(t){f.value=t,u(f)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)})(o,a,n,u)}))}return n=n?n.then(u,u):u()}})}function _(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return C()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function E(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function k(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=g,o(b,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:p,configurable:!0}),p.displayName=f(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,f(t,s,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(L.prototype),f(L.prototype,c,(function(){return this})),t.AsyncIterator=L,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new L(d(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.do
|