对接烟台app的h5页面
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
15 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-grid-grid"],{"0493":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"select-position"},[n("v-uni-view",{staticClass:"address"},[n("v-uni-image",{attrs:{mode:"scaleToFill",src:"/static/data/images/grid/position.png"}}),n("v-uni-text",[t._v(t._s(t.curAddress))])],1),n("v-uni-view",{staticClass:"check-position"},[n("v-uni-image",{attrs:{mode:"scaleToFill",src:"/static/data/images/grid/now-position.png"}}),n("v-uni-text",{attrs:{onTap:"reposition"}},[t._v("重新定位")])],1)],1),n("v-uni-view",{staticClass:"search"},[n("v-uni-text",[t._v("网格查找")]),n("v-uni-input",{attrs:{placeholder:"请输入小区楼栋名称,如1号楼",onInput:"onInputChange",onConfirm:"onInputConfirm"}})],1),n("v-uni-view",{staticClass:"list"},[n("v-uni-view",{staticClass:"list-title"},[t._v("楼栋列表")]),n("v-uni-view",{staticClass:"list-content"},t._l(t.list,(function(e,r){return n("v-uni-view",{key:r},[n("v-uni-text",[t._v(t._s(e.neighborhoodName+"-"+e.buildingName+"-"+e.gridName))]),n("v-uni-text",{staticClass:"list-in",attrs:{"data-item":e,onTap:"inGrid"}},[t._v("进入")])],1)})),1)],1)],1)},o=[]},"12d6":function(t,e,n){var r=n("bd7a");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("4f06").default;o("3f4e029a",r,!0,{sourceMap:!1,shadowMode:!1})},"24f9":function(t,e,n){"use strict";n("7a82");var r=n("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.comment=function(t){return new Promise((function(e,n){(0,i.requestPOST)("/gov/project/icEvent/comment",t).then((function(t){e(t)}))}))},e.fetchAutoreGuser=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="/epmetuser/userresiinfo/autoreguser-ding";return new Promise((function(n,r){(0,i.requestPOST)(e,t).then((function(t){n(t)}))}))},e.fetchNeighBorhoodList=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="/gov/org/icneighborhood/neighborhoodlist";return new Promise((function(n,r){(0,i.requestPOST)(e,t).then((function(t){n(t)}))}))},e.fetchNeighBorhoodListForDing=function(t){return new Promise((function(e,n){a.default.getAuthCode().then((function(n){var r=(0,o.default)((0,o.default)({},t),{authCode:n.authCode,miniAppId:c.miniAppId});(0,i.requestPOST)("/gov/org/icneighborhood/neighborhoodlistForDingding",r).then((function(t){e(t)}))}))}))},e.myreport=function(t){return new Promise((function(e,n){(0,i.requestPOST)("/gov/project/icEvent/myreport",t).then((function(t){e(t)}))}))},e.myreportdetail=function(t){return new Promise((function(e,n){(0,i.requestPOST)("/gov/project/icEvent/myreport-detail",t).then((function(t){e(t)}))}))},e.process=function(t){return new Promise((function(e,n){(0,i.requestPOST)("/gov/project/icEvent/process",t).then((function(t){e(t)}))}))},e.removered=function(t){return new Promise((function(e,n){(0,i.requestPOST)("/gov/project/icEvent/remove-red",t).then((function(t){e(t)}))}))},e.replylist=function(t){return new Promise((function(e,n){(0,i.requestPOST)("/gov/project/icEvent/reply-list",t).then((function(t){e(t)}))}))},e.resiReply=function(t){return new Promise((function(e,n){(0,i.requestPOST)("/gov/project/icEvent/resi-reply",t).then((function(t){e(t)}))}))};var o=r(n("f3f3"));n("d3b7");var i=n("c2b9"),a=r(n("7ce7")),c=n("f220")},ae50:function(t,e,n){"use strict";var r=n("12d6"),o=n.n(r);o.a},b1e2:function(t,e,n){"use strict";n("7a82");var r=n("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("f07e")),i=r(n("c964")),a=n("cc50"),c=r(n("fdb2")),u=n("c2b9"),s=getApp(),f={data:function(){return{list:[],curAddress:"",searchVal:""}},onLoad:function(){this.fetchNeighBorhoodList(),this.getLocation()},methods:{fetchNeighBorhoodList:function(){var t=this;return(0,i.default)((0,o.default)().mark((function e(){var n,r,i,c;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={buildingName:t.searchVal},e.next=3,a.CustomerApi.fetchNeighBorhoodListForDing(n);case 3:r=e.sent,i=r.code,c=r.data,0==i&&c&&t.setData({list:c});case 6:case"end":return e.stop()}}),e)})))()},fetchAutoreGuser:function(t){return(0,i.default)((0,o.default)().mark((function e(){var n,r,i,f;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={gridId:t},e.next=3,a.CustomerApi.fetchAutoreGuser(n);case 3:r=e.sent,i=r.code,f=r.data,0==i&&f&&(c.default.setStoreGridInfo(f),(0,u.fetchToken)().then((function(t){c.default.setStoreUserInfo(t.data),uni.reLaunch({url:"/pages/index/index"}),s.globalData.session=!0})));case 6:case"end":return e.stop()}}),e)})))()},onInputChange:function(t){var e=this,n=t.detail.value;n||this.setData({searchVal:n},(function(){e.fetchNeighBorhoodList()}))},onInputConfirm:function(t){var e=this,n=t.detail.value;n&&this.setData({searchVal:n},(function(){e.fetchNeighBorhoodList()}))},reposition:function(){this.getLocation()},inGrid:function(t){var e=t.currentTarget.dataset.item;console.log(e.label,e.gridId),this.fetchAutoreGuser(e.gridId)},getLocation:function(){uni.showLoading({content:""});var t=this;uni.getLocation({success:function(e){uni.hideLoading(),console.log(e),t.setData({curAddress:e.address})},fail:function(){var t=this;uni.confirm({title:"温馨提示",content:"提交随手拍需要获取您的位置信息",confirmButtonText:"确定",success:function(e){e.confirm&&t.getLocation()}})}})}}};e.default=f},b200:function(t,e,n){"use strict";n.r(e);var r=n("0493"),o=n("ec33");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("ae50");var a=n("f0c5"),c=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"8c2bb9ea",null,!1,r["a"],void 0);e["default"]=c.exports},bd7a:function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,".select-position[data-v-8c2bb9ea]{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-8c2bb9ea]{display:flex;align-items:center}.select-position uni-image[data-v-8c2bb9ea]{height:%?36?%;width:%?36?%;margin:0 %?4?%}.check-position[data-v-8c2bb9ea]{font-size:%?26?%;color:#d81e06}.search[data-v-8c2bb9ea]{display:flex;align-items:center;margin:%?20?% %?30?%;background-color:#fff;padding:%?10?% %?15?%;box-sizing:border-box}.search uni-text[data-v-8c2bb9ea]{font-size:%?30?%}.search uni-input[data-v-8c2bb9ea]{width:70%;font-size:%?30?%}.list[data-v-8c2bb9ea]{width:100vw;background-color:#fff;padding:%?30?% %?30?% 0 %?30?%;box-sizing:border-box}.list-title[data-v-8c2bb9ea]{font-weight:700;border-bottom:%?2?% solid #e7eeee;padding-bottom:%?20?%}.list-content[data-v-8c2bb9ea]{padding:0 %?10?%}.list-content uni-view[data-v-8c2bb9ea]{display:flex;align-items:center;padding:%?30?% 0;border-bottom:%?2?% solid #e7eeee;justify-content:space-between}.list-content uni-text[data-v-8c2bb9ea]{font-size:%?30?%}.list-content .list-in[data-v-8c2bb9ea]{font-size:%?24?%;border:1px solid silver;color:#aeaeae;padding:%?4?% %?8?%;border-radius:%?2?%}",""]),t.exports=e},c964:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,o)}n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))}},n("d3b7")},cc50:function(t,e,n){"use strict";n("7a82");var r=n("4a46").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("24f9")),i=o;e.default=i},ec33:function(t,e,n){"use strict";n.r(e);var r=n("b1e2"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},f07e:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){
/*! 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,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=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 l(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),c=new j(r||[]);return i(a,"_invoke",{value:_(t,n,c)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(N){return{type:"throw",arg:N}}}t.wrap=l;var h={};function v(){}function p(){}function g(){}var b={};f(b,c,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(T([])));y&&y!==n&&o.call(y,c)&&(b=y);var w=g.prototype=v.prototype=Object.create(b);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;i(this,"_invoke",{value:function(i,a){function c(){return new e((function(n,c){(function n(i,a,c,u){var s=d(t[i],t,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==(0,r.default)(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)})(i,a,n,c)}))}return n=n?n.then(c,c):c()}})}function _(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=P(a,n);if(c){if(c===h)continue;return c}}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 u=d(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function P(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,P(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var o=d(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(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 E(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 T(t){if(t){var e=t[c];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(o.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:k}}function k(){return{value:void 0,done:!0}}return p.prototype=g,i(w,"constructor",{value:g,configurable:!0}),i(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(w),t},t.awrap=function(t){return{__await:t}},x(L.prototype),f(L.prototype,u,(function(){return this})),t.AsyncIterator=L,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new L(l(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(w),f(w,s,"Generator"),f(w,c,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=T,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t},n("7a82"),n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("b636"),n("944a"),n("0c47"),n("23dc"),n("3410"),n("d9e2"),n("d401"),n("14d9"),n("159b"),n("131a"),n("26e9"),n("fb6a");var r=function(t){return t&&t.__esModule?t:{default:t}}(n("0122"))}}]);