Browse Source

no message

develop
shuixiang 4 years ago
parent
commit
f19be71981
  1. 11
      public/js/workorder-notice.js

11
public/js/workorder-notice.js

@ -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);
Loading…
Cancel
Save