From 7059a74b4213af5e3c6de691ef92564e3cb1c316 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期五, 25 十一月 2022 13:58:11 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/wrkMast/wrkMast.js | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js index d10c803..4a96ed2 100644 --- a/src/main/webapp/static/js/wrkMast/wrkMast.js +++ b/src/main/webapp/static/js/wrkMast/wrkMast.js @@ -267,6 +267,35 @@ }); }); break; + case 'priWrkMast': + var list=[]; + checkStatus.data.map(function (track) { + list.push({ + wrkNo: track.wrkNo, + ioTime: track.ioTime, + ioPri: track.ioPri + }); + }); + $.ajax({ + url: baseUrl+"/wrkMast/red/wrk/mast", + headers: {'token': localStorage.getItem('token')}, + contentType:'application/json;charset=UTF-8', + data: JSON.stringify(list), + method: 'POST', + traditional:true, + success: function (res) { + layer.closeAll(); + if (res.code === 200){ + $(".layui-laypage-btn")[0].click(); + layer.msg(res.msg); + } else if (res.code === 403){ + top.location.href = baseUrl+"/"; + } else { + layer.msg(res.msg) + } + } + }) + break; } }); -- Gitblit v1.9.1