@@ -79,10 +89,24 @@
},
jumpDetails(that) {
- var pId = that.parentNode.parentNode.getAttribute('data-pid');
- var rId = that.parentNode.parentNode.getAttribute('data-rid');
- var uId = that.parentNode.parentNode.getAttribute('data-uid');
- location.href = `https://test.tall.wiki/checkwork/salary-summary/?pid=${pId}&uid=${uId}&rid=${rId}`;
+ const pId = this.dom.parentNode.getAttribute('data-pid');
+ const uId = this.dom.parentNode.getAttribute('data-uid');
+ const token = this.dom.parentNode.getAttribute('data-token');
+ const rId = this.dom.parentNode.getAttribute('data-rid');
+ const url = this.dom.parentNode.getAttribute('data-url');
+ const type = this.dom.parentNode.getAttribute('data-type') ? 1 : 0;
+
+ const param = `http://101.201.226.163/salarysummary/?pid=${pId}&uid=${uId}&rid=${rId}&token=${token}&url=${url}`;
+ if (type === 1) {
+ sessionStorage.setItem('targetUrl', param);
+ } else {
+ location.href = param;
+ }
+
+ // var pId = that.parentNode.parentNode.getAttribute('data-pid');
+ // var rId = that.parentNode.parentNode.getAttribute('data-rid');
+ // var uId = that.parentNode.parentNode.getAttribute('data-uid');
+ // location.href = `https://test.tall.wiki/checkwork/salary-summary/?pid=${pId}&uid=${uId}&rid=${rId}`;
}
}
p1458326054384181248.init();