|
|
@ -55,18 +55,16 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<script> |
|
|
|
var p1457912674670354432 = { |
|
|
|
dom: '', |
|
|
|
|
|
|
|
init() { |
|
|
|
this.dom = document.querySelector("div[data-root=p1457912674670354432]"); |
|
|
|
var title = this.dom.querySelector('.title'); |
|
|
|
|
|
|
|
var myDate = new Date(); |
|
|
|
var tMonth = myDate.getMonth(); |
|
|
|
title.innerHTML = tMonth === 0 ? '12月份工资表' : tMonth + '月份工资表'; |
|
|
|
}, |
|
|
|
(function() { |
|
|
|
var salary = document.querySelector("div[data-root=p1457912674670354432]>div[class=title]"); |
|
|
|
var myDate = new Date(); |
|
|
|
var tMonth = myDate.getMonth(); |
|
|
|
if (salary_title) { |
|
|
|
salary.innerHTML = tMonth === 0 ? '12月份工资汇总' : tMonth + '月份工资汇总'; |
|
|
|
} |
|
|
|
})(); |
|
|
|
|
|
|
|
var p1457912674670354432 = { |
|
|
|
jumpDetails(that) { |
|
|
|
var pId = that.parentNode.parentNode.getAttribute('data-pid'); |
|
|
|
var rId = that.parentNode.parentNode.getAttribute('data-rid'); |
|
|
@ -74,7 +72,6 @@ |
|
|
|
location.href = `https://test.tall.wiki/checkwork/salary/?pid=${pId}&uid=${uId}&rid=${rId}`; |
|
|
|
} |
|
|
|
} |
|
|
|
p1457912674670354432.init() |
|
|
|
</script> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|