|
@@ -146,7 +146,11 @@
|
146
|
146
|
<button @click="SubmitData()" class="btn btn-b-n" type="submit">Submit</button>
|
147
|
147
|
</div>
|
148
|
148
|
<div class="col-md-2 offset-md-1">
|
149
|
|
- <button @click="Cancel()" class="btn btn-b-n" type="submit">Cancel</button>
|
|
149
|
+ <button
|
|
150
|
+ @click="Close(routerGoTo('/user/login'))"
|
|
151
|
+ class="btn btn-b-n"
|
|
152
|
+ type="submit"
|
|
153
|
+ >Cancel</button>
|
150
|
154
|
</div>
|
151
|
155
|
</div>
|
152
|
156
|
</div>
|
|
@@ -192,6 +196,10 @@ export default {
|
192
|
196
|
'clearIndividual',
|
193
|
197
|
]),
|
194
|
198
|
|
|
199
|
+ routerGoTo(goTo) {
|
|
200
|
+ this.$emit('routerGoTo', goTo);
|
|
201
|
+ },
|
|
202
|
+
|
195
|
203
|
togglePassword() {
|
196
|
204
|
this.showPassword = true;
|
197
|
205
|
this.isPasswordShown = 'text';
|
|
@@ -206,7 +214,7 @@ export default {
|
206
|
214
|
this.$router.push('/user/login');
|
207
|
215
|
},
|
208
|
216
|
Close() {
|
209
|
|
- this.$router.push('/registerIndividual/');
|
|
217
|
+ this.$router.push('/user/login');
|
210
|
218
|
},
|
211
|
219
|
},
|
212
|
220
|
};
|