userInfoList.js 5.6 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/resident/userInfoList"],{128:function(n,e,t){"use strict";(function(n){t(5);r(t(4));var e=r(t(129));function r(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t(1)["createPage"])},129:function(n,e,t){"use strict";t.r(e);var r=t(130),u=t(132);for(var i in u)"default"!==i&&function(n){t.d(e,n,(function(){return u[n]}))}(i);t(135);var o,c=t(11),s=Object(c["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);s.options.__file="pages/resident/userInfoList.vue",e["default"]=s.exports},130:function(n,e,t){"use strict";t.r(e);var r=t(131);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},131:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return u})),t.d(e,"staticRenderFns",(function(){return o})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return r}));try{r={uniSegmentedControl:function(){return t.e("uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control").then(t.bind(null,276))},uniCard:function(){return t.e("uni_modules/uni-card/components/uni-card/uni-card").then(t.bind(null,159))},uniList:function(){return t.e("uni_modules/uni-list/components/uni-list/uni-list").then(t.bind(null,166))},uniListItem:function(){return t.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(t.bind(null,173))},uniListChat:function(){return t.e("uni_modules/uni-list/components/uni-list-chat/uni-list-chat").then(t.bind(null,209))},uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,216))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var u=function(){var n=this,e=n.$createElement;n._self._c},i=!1,o=[];u._withStripped=!0},132:function(n,e,t){"use strict";t.r(e);var r=t(133),u=t.n(r);for(var i in r)"default"!==i&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=u.a},133:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(t(18)),u=i(t(134));function i(n){return n&&n.__esModule?n:{default:n}}function o(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function c(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?o(Object(t),!0).forEach((function(e){s(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function s(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function a(n,e,t,r,u,i,o){try{var c=n[i](o),s=c.value}catch(a){return void t(a)}c.done?e(s):Promise.resolve(s).then(r,u)}function l(n){return function(){var e=this,t=arguments;return new Promise((function(r,u){var i=n.apply(e,t);function o(n){a(i,r,u,o,c,"next",n)}function c(n){a(i,r,u,o,c,"throw",n)}o(void 0)}))}}var d={data:function(){return{isId:"",startX:0,extraIcon:{color:"#ff8319",size:"20",type:"plusempty"},list:[],natTaskId:"",membersStatus:[],items:["居民信息","居民审核信息"],activeColor:"#dd524d",styleType:"text",current:0}},mounted:function(){var n=this;return l(r.default.mark((function e(){return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n.onClickItem(0);case 1:case"end":return e.stop()}}),e)})))()},onShow:function(){this.isId=""},methods:{onClickItem:function(n){var e=this;return l(r.default.mark((function t(){var i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.current!==n.currentIndex&&(e.current=n.currentIndex),i=1==n.currentIndex?u.default.getApplyUser():u.default.getUser(),e.list=i.data;case 3:case"end":return t.stop()}}),t)})))()},touchStart:function(n){1==n.touches.length&&(this.startX=n.touches[0].clientX)},touchEnd:function(n){if(1==n.changedTouches.length){var e=n.changedTouches[0].clientX,t=e-this.startX;Math.abs(t)>20&&(this.isId=t<0?n.currentTarget.id:"")}},delbtn:function(e){var t=this;return l(r.default.mark((function i(){var o;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,u.default.delUser(c(c({},e),{},{reqType:"2"}));case 2:o=r.sent,200==o.code&&(t.isId="",n.showToast({title:"删除成功",duration:2e3}));case 4:case"end":return r.stop()}}),i)})))()},onClick:function(){n.navigateTo({url:"/pages/resident/userAddr"})},userbtn:function(e){console.log(e),n.navigateTo({url:"/pages/resident/userAddr?residentId=".concat(e.residentId)})}}};e.default=d}).call(this,t(1)["default"])},135:function(n,e,t){"use strict";t.r(e);var r=t(136),u=t.n(r);for(var i in r)"default"!==i&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=u.a},136:function(n,e,t){}},[[128,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/resident/userInfoList.js.map