Commit 86ea9230 authored by Babin Egor's avatar Babin Egor

update reg-form

parent 77513f67
Vue.component('app-registration', { Vue.component('app-registration', {
props: {
reg_info_from: {
type: String
}
},
data: function () { data: function () {
return { return {
persons: { persons: {
juridical: 'Юридическое лицо', juridical: 'Юридическое лицо',
natural: 'Физическое лицо', natural: 'Физическое лицо',
}, },
activeType: 'juridical' activeType: 'juridical',
reg_info_to: this.reg_info_from,
} }
}, },
template: ` template: `
...@@ -27,6 +33,7 @@ Vue.component('app-registration', { ...@@ -27,6 +33,7 @@ Vue.component('app-registration', {
<app-registration-form <app-registration-form
:personType="activeType" :personType="activeType"
:personRegTypeProp="reg_info_to"
></app-registration-form> ></app-registration-form>
</div> </div>
......
...@@ -20,7 +20,7 @@ block page ...@@ -20,7 +20,7 @@ block page
h1.title!=title h1.title!=title
app-registration app-registration(:reg_info_from="'executor'")
br br
br br
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment