@@ -70,10 +79,25 @@
},
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/?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/tallsalary/?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 = `http://101.201.226.163/checkwork/salary/?pid=${pId}&uid=${uId}&rid=${rId}`;
}
}
p1457912674670354432.init()