Last active
February 28, 2020 01:31
-
-
Save akinov/b36501e765d734b5b535571dcd672705 to your computer and use it in GitHub Desktop.
マネフォクラウド勤怠リモート日入力
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$$('.attendance-table-row-').forEach((e)=>{ | |
if (!/平日/.test(e.textContent)) return false; | |
$('.attendance-table-icon-edit',e).click(); | |
var day = $('.column-day', e); | |
if (window.confirm(day.textContent + 'はリモート?')) { | |
$('.attendance-text-area').value = 'リモート'; | |
$('.attendance-button-primary.attendance-button-size-wide').click(); | |
} else { | |
$('.attendance-table-button-contents a.attendance-button-normally').click(); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment