From 9388b1d64f4b5da813857f9939f32018e5e2681c Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期一, 09 十月 2023 10:40:44 +0800
Subject: [PATCH] Merge branch 'tzskasrs' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs

---
 src/main/webapp/static/js/wrkMast/wrkMast.js |   62 ++++++++++++++++++-------------
 1 files changed, 36 insertions(+), 26 deletions(-)

diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js
index e196bca..e79cbdb 100644
--- a/src/main/webapp/static/js/wrkMast/wrkMast.js
+++ b/src/main/webapp/static/js/wrkMast/wrkMast.js
@@ -1,6 +1,10 @@
 var pageCurr;
 var wrkNo;
-layui.use(['table','laydate', 'form'], function(){
+layui.config({
+    base: baseUrl + "/static/layui/lay/modules/"
+}).extend({
+    dropdown: 'dropdown/dropdown',
+}).use(['table', 'laydate', 'form', 'dropdown'], function () {
     var table = layui.table;
     var $ = layui.jquery;
     var layer = layui.layer;
@@ -89,6 +93,7 @@
             if (res.code === 403) {
                 top.location.href = baseUrl+"/";
             }
+            $(".layui-table-body, .layui-table-box, .layui-table-cell").css('overflow', 'visible');//瑙e喅layui鏁版嵁琛ㄦ牸涓祵濂椾笅鎷夋鏄剧ず闂
             pageCurr=curr;
             limit();
             form.on('checkbox(tableCheckbox)', function (data) {
@@ -334,31 +339,6 @@
                     layer.closeAll();
                 });
                 break;
-            //  鍏堝叆鍝�
-            case 'preHave':
-                layer.confirm('浠诲姟鍙戠敓鍏堝叆鍝佸紓甯搞�傚闇�閲嶆柊鍏ュ簱锛岃纭繚璐х墿宸叉斁鑷冲爢鍨涙満鍑哄簱绔欙紒', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
-                    http.post(baseUrl+"/deal/preHave/start", {wrkNo: data.wrkNo}, function (res) {
-                        $(".layui-laypage-btn")[0].click();
-                        layer.msg(data.wrkNo + res.msg, {icon: 1});
-                    })
-                    layer.closeAll();
-                });
-                break;
-            //  绌烘搷浣�
-            case 'takeNone':
-                layer.confirm('浠诲姟鍙戦�佺┖鎿嶄綔寮傚父锛佹槸鍚︺�傘�傘�傘�傘�傘�傘�傘�傦紵', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
-                });
-                break;
-            //  寮冭溅
-            case 'removeSte':
-                layer.confirm('娓呴櫎灏忚溅銆�' + data.steNo + '銆�', {title: '宸ヤ綔鍙凤細'+data.wrkNo, shadeClose: true}, function(){
-                    http.post(baseUrl+"/deal/steNo/empty", {wrkNo: data.wrkNo}, function (res) {
-                        $(".layui-laypage-btn")[0].click();
-                        layer.msg(data.wrkNo + res.msg, {icon: 1});
-                    })
-                    layer.closeAll();
-                });
-                break;
             case 'priWrkMast':
                 layer.open({
                     type: 2,
@@ -377,6 +357,36 @@
                     }
                 });
                 break;
+            //绌挎杞︽寚浠�
+            case 'shuttleCommand':
+                wrkNo = data.wrkNo;
+                layer.open({
+                    type: 2,
+                    title: '绌挎杞︽寚浠�',
+                    maxmin: true,
+                    area: [top.detailWidth, top.detailHeight],
+                    shadeClose: true,
+                    content: '../command/shuttleCommand.html',
+                    success: function (layero, index) {
+
+                    }
+                });
+                break;
+            //鎻愬崌鏈烘寚浠�
+            case 'liftCommand':
+                wrkNo = data.wrkNo;
+                layer.open({
+                    type: 2,
+                    title: '鎻愬崌鏈烘寚浠�',
+                    maxmin: true,
+                    area: [top.detailWidth, top.detailHeight],
+                    shadeClose: true,
+                    content: '../command/liftCommand.html',
+                    success: function (layero, index) {
+
+                    }
+                });
+                break;
         }
     });
 

--
Gitblit v1.9.1