2 lines
3.5 KiB
JavaScript
2 lines
3.5 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/home/home"],{113:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(114));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},114:function(e,n,t){"use strict";t.r(n);var o=t(115),r=t(117);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);t(119);var i,c=t(32),s=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],i);s.options.__file="pages/home/home.vue",n["default"]=s.exports},115:function(e,n,t){"use strict";t.r(n);var o=t(116);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},116:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return u})),t.d(n,"components",(function(){return o}));try{o={uToast:function(){return t.e("node-modules/uview-ui/components/u-toast/u-toast").then(t.bind(null,129))}}}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 r=function(){var e=this,n=e.$createElement;e._self._c},u=!1,i=[];r._withStripped=!0},117:function(e,n,t){"use strict";t.r(n);var o=t(118),r=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(u);n["default"]=r.a},118:function(e,n,t){"use strict";(function(e,o){var r=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=r(t(11)),i=t(76),c=r(t(78)),s={data:function(){var e;return e={show:!1,yonghuwx:[],studentId:"",StudentScore:[]},(0,u.default)(e,"show",!1),(0,u.default)(e,"list",[{type:"error",icon:!1,title:"查看报告",message:"暂无报告"}]),e},onLoad:function(e){this.studentId=e.studentId,this.getStudentScore()},methods:{showToast:function(){this.$refs.uToast.show({title:"暂无报告",type:"error"})},lookbook:function(n){e.showLoading({title:"获取报告中"});var t=this;o.downloadFile({url:c.default+n.downloadAddress,success:function(n){var t=n.tempFilePath;o.openDocument({filePath:t,showMenu:!0,success:function(n){e.hideLoading()},fail:function(n){e.hideLoading()}})},fail:function(n){e.hideLoading(),t.$refs.uToast.show({title:"请求报告失败",type:"error"})}})},getStudentScore:function(){var e=this;(0,i.getStudentScore)(this.studentId).then((function(n){e.StudentScore=n.data}))},getPhoneNumberp:function(e){o.login({provider:"weixin",success:function(e){}})},wxGetUserInfo:function(){var n=this;e.getUserProfile({desc:"获取用户信息",lang:"zh_CN",success:function(e){n.yonghuwx=e.userInfo},fail:function(e){}})}}};n.default=s}).call(this,t(2)["default"],t(1)["default"])},119:function(e,n,t){"use strict";t.r(n);var o=t(120),r=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(u);n["default"]=r.a},120:function(e,n,t){}},[[113,"common/runtime","common/vendor"]]]);
|
||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/home/home.js.map
|