1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesMain/recordForm"],{"0e4c":function(t,e,n){"use strict";var u=n("7dab"),r=n.n(u);r.a},"1f71":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u}));var u={uForm:function(){return n.e("uview-ui/components/u-form/u-form").then(n.bind(null,"3b0c"))},uFormItem:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-form-item/u-form-item")]).then(n.bind(null,"c9c6"))},uInput:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-input/u-input")]).then(n.bind(null,"7bd3"))},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},o=[]},"2da1":function(t,e,n){"use strict";n.r(e);var u=n("855c"),r=n.n(u);for(var o in u)"default"!==o&&function(t){n.d(e,t,(function(){return u[t]}))}(o);e["default"]=r.a},3202:function(t,e,n){"use strict";var u=n("f373"),r=n.n(u);r.a},"7dab":function(t,e,n){},"855c":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n("2f62");function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);e&&(u=u.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,u)}return n}function o(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){i(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 i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=n("bf52"),f=n("8335"),s={computed:o({},(0,u.mapGetters)(["customStyle"])),data:function(){return{id:"",type:"",form:{content:""},rules:{content:[{required:!0,message:"请输入沟通内容",trigger:"change"}]}}},onLoad:function(t){this.id=t.id},onReady:function(){this.$refs.form.setRules(this.rules)},methods:{submitForm:function(){var e=this;this.$refs.form.validate((function(n){n&&c.request(f.submitRecordForm,o({studentId:e.id},e.form),"POST").then((function(n){e.$refs.uTips.show({title:"提交成功",type:"success"}),setTimeout((function(){t.navigateBack()}),1e3)})).catch((function(t){e.$refs.uTips.show({title:t.message,type:"warning"})}))}))}}};e.default=s}).call(this,n("543d")["default"])},cbc5:function(t,e,n){"use strict";n.r(e);var u=n("1f71"),r=n("2da1");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("0e4c"),n("3202");var i,c=n("f0c5"),f=Object(c["a"])(r["default"],u["b"],u["c"],!1,null,"42763849",null,!1,u["a"],i);e["default"]=f.exports},d015:function(t,e,n){"use strict";(function(t){n("43f2");u(n("66fd"));var e=u(n("cbc5"));function u(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},f373:function(t,e,n){}},[["d015","common/runtime","common/vendor"]]]);
|