(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/packageA/user/my_msg"],{211:function(t,n,e){"use strict";(function(t,n){var o=e(4);e(26);o(e(25));var i=o(e(212));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e(1)["default"],e(2)["createPage"])},212:function(t,n,e){"use strict";e.r(n);var o=e(213),i=e(215);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e(217);var r,s=e(42),c=Object(s["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"5553ced7",null,!1,o["components"],r);c.options.__file="pages/packageA/user/my_msg.vue",n["default"]=c.exports},213:function(t,n,e){"use strict";e.r(n);var o=e(214);e.d(n,"render",(function(){return o["render"]})),e.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(n,"components",(function(){return o["components"]}))},214:function(t,n,e){"use strict";var o;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return r})),e.d(n,"recyclableRender",(function(){return a})),e.d(n,"components",(function(){return o}));try{o={tnNavBar:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(e.bind(null,406))},tnPopup:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-popup/tn-popup")]).then(e.bind(null,391))},tnButton:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-button/tn-button")]).then(e.bind(null,420))},tnModal:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-modal/tn-modal")]).then(e.bind(null,442))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.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 t=this,n=t.$createElement,e=(t._self._c,t.contentList.length),o=t.contentList.length;t._isMounted||(t.e0=function(n){t.hdModel=!1},t.e1=function(n){t.xtModel=!1},t.e2=function(n){t.hyModel=!1},t.e3=function(n,e){var o=arguments[arguments.length-1].currentTarget.dataset,i=o.eventParams||o["event-params"];e=i.item;t.sqMode=!0,t.sqInfo=e}),t.$mp.data=Object.assign({},{$root:{g0:e,g1:o}})},a=!1,r=[];i._withStripped=!0},215:function(t,n,e){"use strict";e.r(n);var o=e(216),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},216:function(t,n,e){"use strict";(function(t){var o=e(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(e(18)),a=e(33),r=(o(e(30)),{name:"Message",data:function(){return{hdModel:!1,xtModel:!1,hyModel:!1,sqMode:!1,apiImgUrl:this.$store.state.imgUrl,page:1,size:10,current:0,tab_list:[{name:"理事会"},{name:"监事会"}],typeList:[],contentList:[],sqInfo:{}}},onLoad:function(){var n=t.getStorageSync("uid");this.uid=n,this.getMsgTypeList()},onReachBottom:function(){this.page=this.page+1},methods:{updateType:function(n,e){var o=this;(0,a.MaillogUpdate)({id:e,if_tongyi:n,state:1}).then((function(n){console.log(n),1==n.code?(t.showToast({title:"操作成功!",icon:"none",duration:2e3}),o.getMaillogIndex(1)):t.showToast({title:n.msg,icon:"none",duration:2e3})})).catch((function(n){t.showToast({title:n,icon:"none",duration:2e3})}))},getHyList:function(t){this.page=1,this.contentList=[],this.current=t,this.sqMode=!1,0==t?this.geTmailMyMemberPost():this.getMaillogIndex(1)},geTmailMyMemberPost:function(){var n=this;(0,a.mailMyMemberPost)({page:this.page,size:10}).then((function(t){n.contentList=t.data})).catch((function(n){t.showToast({title:n,icon:"none",duration:2e3})}))},openMode:function(t){console.log(t),this.page=1,this.contentList=[],3==t.type?this.getInteractionlIndex():0==t.type?(this.xtModel=!0,this.getMaillogIndex(t.type)):(this.hyModel=!0,this.geTmailMyMemberPost())},getMaillogIndex:function(n){var e=this;(0,a.MaillogIndex)({page:this.page,size:10,type:n}).then((function(t){e.contentList=t.data})).catch((function(n){t.showToast({title:n,icon:"none",duration:2e3})}))},getInteractionlIndex:function(){var n=this;(0,a.interactionlIndex)({page:this.page,size:10}).then((function(t){var e;n.hdModel=!0,(e=n.contentList).push.apply(e,(0,i.default)(t.data.data))})).catch((function(n){t.showToast({title:n,icon:"none",duration:2e3})}))},hdTolower:function(){console.log(1),this.page+=1,this.getInteractionlIndex()},getMsgTypeList:function(){var n=this;(0,a.msgTypeList)().then((function(t){console.log(t),n.typeList=t.data})).catch((function(n){t.showToast({title:n,icon:"none",duration:2e3})}))},tn:function(n){t.navigateTo({url:n})},set_tn:function(n){3!=n.neirong.status&&t.navigateTo({url:"/pages/packageB/paper/paper_info?id="+n.be_related_to_id})},goBack:function(){getCurrentPages().length>1?t.navigateBack():t.redirectTo({url:"/pages/index/index"})}}});n.default=r}).call(this,e(2)["default"])},217:function(t,n,e){"use strict";e.r(n);var o=e(218),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},218:function(t,n,e){}},[[211,"common/runtime","common/vendor"]]]); //# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/packageA/user/my_msg.js.map