1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesMain/studentInfo"],{"026a":function(t,e,n){"use strict";n.r(e);var i=n("4de4"),r=n("b8f5");for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);n("926c"),n("f715");var o,a=n("f0c5"),c=Object(a["a"])(r["default"],i["b"],i["c"],!1,null,"636b5994",null,!1,i["a"],o);e["default"]=c.exports},"4de4":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uCellGroup:function(){return n.e("uview-ui/components/u-cell-group/u-cell-group").then(n.bind(null,"6732"))},uCellItem:function(){return n.e("uview-ui/components/u-cell-item/u-cell-item").then(n.bind(null,"22af"))},uAvatar:function(){return n.e("uview-ui/components/u-avatar/u-avatar").then(n.bind(null,"5ba7"))},uButton:function(){return n.e("uview-ui/components/u-button/u-button").then(n.bind(null,"4058"))},uTopTips:function(){return n.e("uview-ui/components/u-top-tips/u-top-tips").then(n.bind(null,"83e4"))}},r=function(){var t=this,e=t.$createElement;t._self._c},u=[]},"5d06":function(t,e,n){},"77c4":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("2f62");function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n("bf52"),c=n("8335"),s={computed:u({},(0,i.mapGetters)(["mainColor","customStyle"])),data:function(){return{id:"",studentInfo:{studentImg:"",studentName:"",fatherName:"",sex:"",age:"",phone:""},triggered:!1,isOver:!1,pageIndex:1,tableList:[]}},onLoad:function(t){this.id=t.id,this.initialize()},onShow:function(){this.isOver=!1,this.pageIndex=1,this.tableList=[],this.getTableList()},methods:{initialize:function(){var t=this;a.request(c.getStudentInfo,{id:this.id},"POST").then((function(e){t.studentInfo=e.data})).catch((function(e){t.$refs.uTips.show({title:e.message,type:"warning"})}))},onRefresh:function(){this.triggered=!0,this.isOver=!1,this.pageIndex=1,this.tableList=[],this.getTableList()},onRestore:function(){this.triggered="restore",this.triggered=!1},handleLoadMore:function(){this.isOver||(this.pageIndex++,this.getTableList())},getTableList:function(){var t=this;a.request(c.getRecordList,{id:this.id,page:this.pageIndex,size:10},"POST").then((function(e){t.triggered=!1,t.tableList=t.tableList.concat(e.data.row),t.isOver=10!=e.data.row.length})).catch((function(e){t.triggered=!1,t.$refs.uTips.show({title:e.message,type:"warning"})}))},goToRecordForm:function(){t.navigateTo({url:"/pagesMain/recordForm?id="+this.id})}}};e.default=s}).call(this,n("543d")["default"])},"926c":function(t,e,n){"use strict";var i=n("5d06"),r=n.n(i);r.a},a431:function(t,e,n){},b8f5:function(t,e,n){"use strict";n.r(e);var i=n("77c4"),r=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=r.a},f714:function(t,e,n){"use strict";(function(t){n("43f2");i(n("66fd"));var e=i(n("026a"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},f715:function(t,e,n){"use strict";var i=n("a431"),r=n.n(i);r.a}},[["f714","common/runtime","common/vendor"]]]);
|