|
|
|
@ -1,5 +1,5 @@ |
|
|
|
const workordertimer = setInterval(function () { |
|
|
|
|
|
|
|
function workorderNotice() |
|
|
|
{ |
|
|
|
$.ajax({ |
|
|
|
url: '/'+window.location.pathname.split('/')[1]+'/workorder_notice', |
|
|
|
type: 'POST', |
|
|
|
@ -65,5 +65,12 @@ const workordertimer = setInterval(function () { |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
$(document).ready(function () { |
|
|
|
workorderNotice(); |
|
|
|
}); |
|
|
|
|
|
|
|
const workordertimer = setInterval(function () { |
|
|
|
workorderNotice() |
|
|
|
}, 5000); |