(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/my/help/help"],{2077:function(t,n,e){"use strict";e.r(n);var o=e("ec02"),r=e("5b3f");for(var a in r)"default"!==a&&function(t){e.d(n,t,(function(){return r[t]}))}(a);e("4c08");var i,u=e("f0c5"),s=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,"f0605b10",null,!1,o["a"],i);n["default"]=s.exports},2455:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("1da1"));function r(t){return t&&t.__esModule?t:{default:t}}var a={data:function(){return{content:"",historyHelpList:[],noData:!1}},onLoad:function(){this.getHistoryHelp()},onPullDownRefresh:function(){t.startPullDownRefresh()},methods:{goToUserInfo:function(n){t.navigateTo({url:"/pages/person-info-page/person-info-page?userId=".concat(n.answer_id)})},submitHelp:function(){var n=this;""===this.content?t.showToast({icon:"none",title:"请描述一下遇到的问题···"}):o.default.post("/hs/addHelpQuestion",{userId:t.getStorageSync("userInfo").user_id,question:this.content}).then((function(e){console.log("提交帮助",e),1===e.data&&(t.showToast({icon:"loading",title:"提交成功"}),n.content="",n.getHistoryHelp())}),(function(t){console.log("err",t)}))},getHistoryHelp:function(){var n=this;o.default.post("/hs/getHistoryHelpList",{userId:t.getStorageSync("userInfo").user_id}).then((function(t){n.historyHelpList=t.data,n.historyHelpList.forEach((function(t){void 0===t.answer_id&&(t.answer_id="",t.answer="",t.answer_time="",t.real_name="")})),n.noData=0===t.data.length,console.log("历史帮助列表",t)}),(function(t){console.log("err",t)}))}}};n.default=a}).call(this,e("543d")["default"])},"492c":function(t,n,e){},"4c08":function(t,n,e){"use strict";var o=e("492c"),r=e.n(o);r.a},"5b3f":function(t,n,e){"use strict";e.r(n);var o=e("2455"),r=e.n(o);for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=r.a},7691:function(t,n,e){"use strict";(function(t){e("481f");o(e("66fd"));var n=o(e("2077"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},ec02:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}));var r=function(){var t=this,n=t.$createElement;t._self._c},a=[]}},[["7691","common/runtime","common/vendor"]]]);