2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/grade/grade"],{105:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(106));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},106:function(e,n,t){"use strict";t.r(n);var o=t(107),r=t(109);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);t(111);var i,a=t(32),c=Object(a["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],i);c.options.__file="pages/grade/grade.vue",n["default"]=c.exports},107:function(e,n,t){"use strict";t.r(n);var o=t(108);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"]}))},108: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(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.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},109:function(e,n,t){"use strict";t.r(n);var o=t(110),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},110: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=t(76),i=r(t(78)),a={data:function(){return{StudentScore:[]}},onShow:function(){var n=this,t=e.getStorageSync("phone");t?(0,u.getInfoByPhone)(t).then((function(e){if(200==e.code){var t={studentIdList:[]};e.data.studentInfoList.forEach((function(e){t.studentIdList.push(e.studentId)})),(0,u.getStudentScore)(t).then((function(e){n.StudentScore=e.data}))}})):e.navigateTo({url:"/pages/index/index"})},methods:{lookbook:function(n){if(0==n.existFlag)this.$refs.uToast.show({title:"暂无报告",type:"error",duration:1e3});else{e.showLoading({title:"获取报告中"});var t=this;o.downloadFile({url:i.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({message:"请求报告失败",type:"error"})}})}}}};n.default=a}).call(this,t(2)["default"],t(1)["default"])},111:function(e,n,t){"use strict";t.r(n);var o=t(112),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},112:function(e,n,t){}},[[105,"common/runtime","common/vendor"]]]);
|
||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/grade/grade.js.map
|