(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-da161232"],{"34d4":function(t,i,a){},ca9c:function(t,i,a){"use strict";var s=a("34d4"),e=a.n(s);e.a},d504:function(t,i,a){"use strict";a.r(i);var s=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{staticClass:"choose"},[a("h2",{staticClass:"choose-title"},[t._v("请选择事务")]),a("div",{staticClass:"choose-list"},[a("van-radio-group",{model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},t._l(t.affairTypes,(function(i){return a("div",{key:i.value,staticClass:"choose-item"},[a("van-radio",{attrs:{name:i.id}},[t._v(t._s(i.affair_name))])],1)})),0)],1),a("div",{staticClass:"fixed-box"},[a("div",{staticClass:"fixed-inner"},[a("div",{staticClass:"fixed-button",on:{click:t.toListPage}},[t._v("下一步")])])])])},e=[],n=(a("7db0"),a("d0af")),r={data:function(){return{radio:""}},computed:{affairTypes:function(){return this.$store.state.affairTypes},currentItem:function(){var t=this;return this.affairTypes.find((function(i){return i.id===t.radio}))}},methods:{toListPage:function(){this.radio?this.$router.push({name:"list",query:Object.assign(this.$route.query,{channel:this.currentItem.form_name,channel_id:this.radio})}):this.$toast("请选择事务")},getList:function(){if(this.affairTypes.length){var t=Object(n["a"])(this.affairTypes,1),i=t[0];this.radio=i.id}else this.$store.dispatch("getAffairTypes")}},beforeMount:function(){this.getList()}},o=r,c=(a("ca9c"),a("2877")),u=Object(c["a"])(o,s,e,!1,null,null,null);i["default"]=u.exports}}]);
//# sourceMappingURL=chunk-da161232.cb9623ff.js.map