receive.js 6.2 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/illness/receive"],{68:function(e,n,t){"use strict";(function(e){t(5);r(t(4));var n=r(t(69));function r(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(1)["createPage"])},69:function(e,n,t){"use strict";t.r(n);var r=t(70),u=t(72);for(var i in u)"default"!==i&&function(e){t.d(n,e,(function(){return u[e]}))}(i);t(74);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/illness/receive.vue",n["default"]=s.exports},70:function(e,n,t){"use strict";t.r(n);var r=t(71);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},71:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return u})),t.d(n,"staticRenderFns",(function(){return o})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"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,199))},uniCard:function(){return t.e("uni_modules/uni-card/components/uni-card/uni-card").then(t.bind(null,142))},uniList:function(){return t.e("uni_modules/uni-list/components/uni-list/uni-list").then(t.bind(null,149))},uniListItem:function(){return t.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(t.bind(null,156))},uniListChat:function(){return t.e("uni_modules/uni-list/components/uni-list-chat/uni-list-chat").then(t.bind(null,192))},uniIcons:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(t.bind(null,206))},uniTag:function(){return t.e("uni_modules/uni-tag/components/uni-tag/uni-tag").then(t.bind(null,336))}}}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 e=this,n=e.$createElement;e._self._c},i=!1,o=[];u._withStripped=!0},72:function(e,n,t){"use strict";t.r(n);var r=t(73),u=t.n(r);for(var i in r)"default"!==i&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=u.a},73:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(t(18)),u=i(t(59));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function c(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){s(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n,t,r,u,i,o){try{var c=e[i](o),s=c.value}catch(a){return void t(a)}c.done?n(s):Promise.resolve(s).then(r,u)}function l(e){return function(){var n=this,t=arguments;return new Promise((function(r,u){var i=e.apply(n,t);function o(e){a(i,r,u,o,c,"next",e)}function c(e){a(i,r,u,o,c,"throw",e)}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 e=this;return l(r.default.mark((function n(){return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.query();case 1:case"end":return n.stop()}}),n)})))()},onShow:function(){this.isId=""},methods:{onClickItem:function(e){var n=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:if(n.current!==e.currentIndex&&(n.current=e.currentIndex),1!=e.currentIndex){t.next=7;break}return t.next=4,u.default.getApplyUser();case 4:return i=t.sent,n.list=i.data.map((function(e){return 0==e.reqStatus&&(e.reqStatusText="审核中"),1==e.reqStatus&&(e.reqStatusText="已通过"),2==e.reqStatus&&(e.reqStatusText="已拒绝"),e})),t.abrupt("return");case 7:n.query();case 8:case"end":return t.stop()}}),t)})))()},query:function(){var e=this;return l(r.default.mark((function n(){var t;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,u.default.getFamilyInfo();case 2:t=n.sent,200==t.code&&(e.list=t.rows);case 4:case"end":return n.stop()}}),n)})))()},touchStart:function(e){console.log(e),1==e.touches.length&&(this.startX=e.touches[0].clientX)},touchEnd:function(e){if(1==e.changedTouches.length){var n=e.changedTouches[0].clientX,t=n-this.startX;Math.abs(t)>20&&(this.isId=t<0?e.currentTarget.id:"")}},delbtn:function(n){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.familyInfo(c(c({},n),{},{reqType:"2"}));case 2:o=r.sent,200==o.code&&(t.isId="",e.showToast({title:"已提交审核",duration:2e3}));case 4:case"end":return r.stop()}}),i)})))()},onClick:function(){e.navigateTo({url:"/pages/user/familyInfo"})},userbtn:function(n){e.navigateTo({url:"/pages/user/familyInfo?residentId=".concat(n.residentId)})}}};n.default=d}).call(this,t(1)["default"])},74:function(e,n,t){"use strict";t.r(n);var r=t(75),u=t.n(r);for(var i in r)"default"!==i&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=u.a},75:function(e,n,t){}},[[68,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/illness/receive.js.map