|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/activity/book"],{346:function(e,n,o){"use strict";(function(e){o(5);t(o(3));var n=t(o(347));function t(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=o,e(n.default)}).call(this,o(1)["createPage"])},347:function(e,n,o){"use strict";o.r(n);var t=o(348),u=o(350);for(var r in u)"default"!==r&&function(e){o.d(n,e,(function(){return u[e]}))}(r);o(352);var i,d=o(15),c=Object(d["default"])(u["default"],t["render"],t["staticRenderFns"],!1,null,null,null,!1,t["components"],i);c.options.__file="pages/activity/book.vue",n["default"]=c.exports},348:function(e,n,o){"use strict";o.r(n);var t=o(349);o.d(n,"render",(function(){return t["render"]})),o.d(n,"staticRenderFns",(function(){return t["staticRenderFns"]})),o.d(n,"recyclableRender",(function(){return t["recyclableRender"]})),o.d(n,"components",(function(){return t["components"]}))},349:function(e,n,o){"use strict";var t;o.r(n),o.d(n,"render",(function(){return u})),o.d(n,"staticRenderFns",(function(){return i})),o.d(n,"recyclableRender",(function(){return r})),o.d(n,"components",(function(){return t}));try{t={"u-Form":function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u--form/u--form")]).then(o.bind(null,469))},uFormItem:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(o.bind(null,475))},uNumberBox:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-number-box/u-number-box")]).then(o.bind(null,483))},uIcon:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(o.bind(null,416))},uInput:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-input/u-input")]).then(o.bind(null,491))},uButton:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-button/u-button")]).then(o.bind(null,425))},uPopup:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(o.bind(null,408))},"u-Input":function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u--input/u--input")]).then(o.bind(null,515))},uActionSheet:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-action-sheet/u-action-sheet")]).then(o.bind(null,740))}}}catch(d){if(-1===d.message.indexOf("Cannot find module")||-1===d.message.indexOf(".vue"))throw d;console.error(d.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var u=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.showCardType=!0},e.e1=function(n){e.showCardType=!1})},r=!1,i=[];u._withStripped=!0},350:function(e,n,o){"use strict";o.r(n);var t=o(351),u=o.n(t);for(var r in t)"default"!==r&&function(e){o.d(n,e,(function(){return t[e]}))}(r);n["default"]=u.a},351:function(e,n,o){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{form:{activity_id:"",unit:"",leader:"",card_type:"",idcard:"",total:"",type:"",details_list:[]},details_form:{name:"",card_type:"",card_name:"",idcard:"",mobile:""},rules:[],details_rule:{name:[{required:!0,message:"请输入姓名",trigger:["blur","change"]}]},cardType:[{id:1,name:"身份证"},{id:2,name:"护照"}],showAdd:!1,showCardType:!1}},methods:{closeAdd:function(){this.showAdd=!1,this.details_form={name:"",card_type:"",idcard:"",mobile:""}},openAdd:function(){this.showAdd=!0},sexSelect:function(e){console.log(e),this.details_form.card_name=e.name,this.details_form.card_type=e.id},editDetails:function(e){this.showAdd=!0,this.details_form=this.form.details_list[e]},pushDetails:function(n){var o=this,t=this;this.$refs.details_form.validate().then((function(n){e.$u.toast("校验通过"),n&&(t.form.details_list.push(t.details_form),o.details_form={name:"",card_type:"",idcard:"",mobile:""},o.showAdd=!1)})).catch((function(n){e.$u.toast("校验失败")}))}}};n.default=o}).call(this,o(1)["default"])},352:function(e,n,o){"use strict";o.r(n);var t=o(353),u=o.n(t);for(var r in t)"default"!==r&&function(e){o.d(n,e,(function(){return t[e]}))}(r);n["default"]=u.a},353:function(e,n,o){}},[[346,"common/runtime","common/vendor"]]]);
|