Browse Source

工资汇总

tall-salary-summary
xuesinan 3 years ago
parent
commit
99d44f2ac0
  1. 14
      index.html

14
index.html

@ -58,27 +58,29 @@
data-did="did555"
style="height:50px;width:100%"
>
<div data-root="p1458326054384181248" class="w-full h-full flex justify-between items-center">
<div data-root="p1541234829630377984" class="w-full h-full flex justify-between items-center">
<div class="title" style="font-size: 14px;"></div>
<button style="width: 50px; height: 24px; font-size: 14px; line-height: 24px; background-color: #1890FF; color: #fff; border-radius: 4px;" onclick="p1458326054384181248.jumpDetails(this)">查看</button>
<button style="width: 50px; height: 24px; font-size: 14px; line-height: 24px; background-color: #1890FF; color: #fff; border-radius: 4px;" onclick="p1541234829630377984.jumpDetails(this)">查看</button>
</div>
</div>
<script>
// (function() {
// var salary_title = document.querySelector("div[data-root=p1458326054384181248]>div[class=title]");
// var salary_title = document.querySelector("div[data-root=p1541234829630377984]>div[class=title]");
// var myDate = new Date();
// var tMonth = myDate.getMonth();
// if (salary_title) {
// salary_title.innerHTML = tMonth === 0 ? '12月份工资汇总' : tMonth + '月份工资汇总';
// }
// })();
</script>
var p1458326054384181248 = {
<script>
var p1541234829630377984 = {
dom: '',
init() {
this.dom = document.querySelector("div[data-root=p1458326054384181248]");
this.dom = document.querySelector("div[data-root=p1541234829630377984]");
if (this.dom) {
var summary_title = this.dom.querySelector('.title');
@ -109,7 +111,7 @@
// location.href = `https://test.tall.wiki/checkwork/salary-summary/?pid=${pId}&uid=${uId}&rid=${rId}`;
}
}
p1458326054384181248.init();
p1541234829630377984.init();
</script>
</div>
</div>

Loading…
Cancel
Save