chunk-4b1f933d.b877c533.js 2.9 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b1f933d"],{"66b9":function(t,e,a){"use strict";a("68ef"),a("9d70"),a("3743"),a("e3b3"),a("bc1b")},"97fa":function(t,e,a){},a6ed:function(t,e,a){"use strict";a("97fa")},c57b:function(t,e,a){"use strict";a.r(e);var n,o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page"},[a("div",{staticClass:"inputItem mb20"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],attrs:{type:"text",placeholder:"请输入姓名"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||t.$set(t.form,"name",e.target.value)}}})]),a("div",{staticClass:"inputItem mb20"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.form.phone,expression:"form.phone"}],attrs:{type:"text",placeholder:"请输入手机号"},domProps:{value:t.form.phone},on:{input:function(e){e.target.composing||t.$set(t.form,"phone",e.target.value)}}})]),a("div",{staticClass:"radioItem flex-row justify-between align-center mb20"},[a("span",{staticClass:"font28"},[t._v("选择性别")]),a("van-radio-group",{attrs:{direction:"horizontal"},model:{value:t.form.sex,callback:function(e){t.$set(t.form,"sex",e)},expression:"form.sex"}},[a("van-radio",{attrs:{name:"1","icon-size":"16"}},[t._v("男")]),a("van-radio",{attrs:{name:"2","icon-size":"16"}},[t._v("女")])],1)],1),a("div",{staticClass:"inputItem mb20"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.form.community_name,expression:"form.community_name"}],attrs:{type:"text",placeholder:"小区名称"},domProps:{value:t.form.community_name},on:{input:function(e){e.target.composing||t.$set(t.form,"community_name",e.target.value)}}})]),a("div",{staticClass:"textareaItem"},[a("div",{staticClass:"font28 mb20"},[t._v("备注")]),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.form.remark,expression:"form.remark"}],attrs:{placeholder:"请输入内容"},domProps:{value:t.form.remark},on:{input:function(e){e.target.composing||t.$set(t.form,"remark",e.target.value)}}})]),a("div",{staticClass:"submitBtn"},[a("van-button",{staticClass:"van-button",attrs:{type:"info",loading:t.loading},on:{click:t.submit}},[t._v("确认报备")])],1)])},i=[],s=a("fc11"),r=(a("66b9"),a("b650")),m=(a("4ddd"),a("9f14")),c=(a("a44c"),a("e27c")),l=(a("b0c0"),a("8c11")),u=a("18a0"),d=a.n(u),f={components:(n={},Object(s["a"])(n,c["a"].name,c["a"]),Object(s["a"])(n,m["a"].name,m["a"]),Object(s["a"])(n,r["a"].name,r["a"]),n),data:function(){return{loading:!1,form:{}}},methods:{submit:function(){var t=this;this.loading=!0,Object(l["h"])(this.form).then((function(e){t.loading=!1,0==e.data.code&&(t.$toast("报备成功"),setTimeout((function(){d.a.miniProgram.navigateBack({delta:1})}),1e3))})).catch((function(e){t.loading=!1}))}}},p=f,v=(a("a6ed"),a("2877")),b=Object(v["a"])(p,o,i,!1,null,"74dd4b7d",null);e["default"]=b.exports}}]);