receive.js 5.7 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/family/receive"],{104:function(n,e,t){"use strict";(function(n){t(5);r(t(4));var e=r(t(105));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"])},105:function(n,e,t){"use strict";t.r(e);var r=t(106),i=t(108);for(var u in i)"default"!==u&&function(n){t.d(e,n,(function(){return i[n]}))}(u);t(110);var o,c=t(11),s=Object(c["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);s.options.__file="pages/family/receive.vue",e["default"]=s.exports},106:function(n,e,t){"use strict";t.r(e);var r=t(107);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"]}))},107:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return i})),t.d(e,"staticRenderFns",(function(){return o})),t.d(e,"recyclableRender",(function(){return u})),t.d(e,"components",(function(){return r}));try{r={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 i=function(){var n=this,e=n.$createElement;n._self._c},u=!1,o=[];i._withStripped=!0},108:function(n,e,t){"use strict";t.r(e);var r=t(109),i=t.n(r);for(var u in r)"default"!==u&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=i.a},109:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(t(18)),i=u(t(59));function u(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,i,u,o){try{var c=n[u](o),s=c.value}catch(a){return void t(a)}c.done?e(s):Promise.resolve(s).then(r,i)}function l(n){return function(){var e=this,t=arguments;return new Promise((function(r,i){var u=n.apply(e,t);function o(n){a(u,r,i,o,c,"next",n)}function c(n){a(u,r,i,o,c,"throw",n)}o(void 0)}))}}var f={data:function(){return{isId:"",startX:0,extraIcon:{color:"#ff8319",size:"20",type:"plusempty"},list:[],natTaskId:"",membersStatus:[]}},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.query();case 1:case"end":return e.stop()}}),e)})))()},onShow:function(){this.isId=""},methods:{query:function(){var e=this;return l(r.default.mark((function t(){var u,o,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return u=n.getStorageSync("userinfo"),o=u.userId,t.next=3,i.default.getFamilyInfo({userId:o});case 3:c=t.sent,200==c.code&&(e.list=c.rows);case 5: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:"")}},filing:function(e){var t=this;return l(r.default.mark((function u(){var o;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,i.default.filing({residentId:e.residentId,natTaskId:t.natTaskId});case 2:o=r.sent,200==o.code&&(t.query(),n.showToast({title:"报备成功",duration:2e3}));case 4:case"end":return r.stop()}}),u)})))()},delbtn:function(e){var t=this;return l(r.default.mark((function u(){var o;return r.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,i.default.familyInfo(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()}}),u)})))()},onClick:function(){n.navigateTo({url:"/pages/family/familyInfo"})},userbtn:function(e){console.log(e),n.navigateTo({url:"/pages/family/familyInfo?residentId=".concat(e.residentId)})}}};e.default=f}).call(this,t(1)["default"])},110:function(n,e,t){"use strict";t.r(e);var r=t(111),i=t.n(r);for(var u in r)"default"!==u&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=i.a},111:function(n,e,t){}},[[104,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/family/receive.js.map