diff --git a/src/main/java/com/dreamchaser/depository_manage/controller/PageController.java b/src/main/java/com/dreamchaser/depository_manage/controller/PageController.java index b4c7dc32..bbf94f0d 100644 --- a/src/main/java/com/dreamchaser/depository_manage/controller/PageController.java +++ b/src/main/java/com/dreamchaser/depository_manage/controller/PageController.java @@ -832,7 +832,7 @@ public class PageController { } UserByPort userToken = AuthenticationTokenPool.getUserToken(token); if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { - mv.setViewName("pages/applicationForStorageCenter/application-out"); + mv.setViewName("pages/applicationForStorageCenter/application-out_back"); } InventoryP inventoryP = new InventoryP(); if (code != null) { diff --git a/src/main/resources/templates/pages/applicationForStorageCenter/application-out_back.html b/src/main/resources/templates/pages/applicationForStorageCenter/application-out_back.html index 0493704c..768ab45d 100644 --- a/src/main/resources/templates/pages/applicationForStorageCenter/application-out_back.html +++ b/src/main/resources/templates/pages/applicationForStorageCenter/application-out_back.html @@ -89,6 +89,32 @@ +
+ +
+ + +
+
+
+ +
+ + +
+
@@ -143,6 +169,15 @@ function selectMaterial() { } + // 用于获取施工单位 + function selectConstructionUnit() { + + } + + // 用于获取部门树 + function selectPost() { + + } layui.use(['form', 'step', 'layer', 'jquery'], function () { var $ = layui.$, form = layui.form, @@ -389,6 +424,51 @@ } }; + + selectPost = function (obj) { + let id = obj.id; + layer.open({ + type: 2, + title: '弹窗内容', + skin: 'layui-layer-rim', + maxmin: true, + shadeClose: true, //点击遮罩关闭层 + area: ['70%', '70%'], + content: '/selectPost?id=' + id, + move: '.layui-layer-title', + fixed: false, + success: function (layero, index) { + var children = layero.children(); + var content = $(children[1]); + var iframeChildren = $(content.children()); + content.css('height', '100%'); + iframeChildren.css('height', '100%'); + } + }); + }; + + selectConstructionUnit = function (obj) { + let id = obj.id; + layer.open({ + type: 2, + title: '弹窗内容', + skin: 'layui-layer-rim', + maxmin: true, + shadeClose: true, //点击遮罩关闭层 + area: ['70%', '70%'], + content: '/selectConstructionUnit?id=' + id, + move: '.layui-layer-title', + fixed: false, + success: function (layero, index) { + var children = layero.children(); + var content = $(children[1]); + var iframeChildren = $(content.children()); + content.css('height', '100%'); + iframeChildren.css('height', '100%'); + } + }); + } + })