back(
type
:
string
=
'onOk',
param
:
any
= {}) {
this.
reset()
let self
=
this;
if (self.backUrl) {
this.router.
navigateByUrl(self.backUrl, param);
}
else {
history.
back();
}
}
_backUrl:"url
get
backUrl() {
return
this._backUrl;
}
set
backUrl(
value) {
this._backUrl
= value;
}