duhe
2025-05-30 3f1a8489d04341509e22540a2c262503cc49415c
器具主档:维护页面增加 组织 过滤
2个文件已修改
43 ■■■■■ 已修改文件
WebTM/Properties/PublishProfiles/LAYUI.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Gy_MouldFileList.html 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
@@ -5152,7 +5152,7 @@
      <publishTime>04/08/2025 10:03:42</publishTime>
    </File>
    <File Include="views/模治具管理/模治具管理/Gy_MouldFileList.html">
      <publishTime>03/27/2025 13:53:19</publishTime>
      <publishTime>05/30/2025 18:55:20</publishTime>
    </File>
    <File Include="views/模治具管理/模治具管理/Gy_MouldFileResume.html">
      <publishTime>06/13/2024 14:47:29</publishTime>
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Gy_MouldFileList.html
@@ -49,6 +49,14 @@
                                        <input type="text" class="layui-input ForFilteringSchemes" name="HName" id="HName">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label" style="width: 85px;">组织<label style="color:red"> * </label></label>
                                    <div class="layui-input-block" style="margin-left: 120px; width: 300px;">
                                        <select name="HUSEORGID" id="HUSEORGID" lay-verify="HUSEORGID">
                                            <!--动态渲染组织-->
                                        </select>
                                    </div>
                                </div>
                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                                </button>
@@ -350,6 +358,8 @@
            //初始化表格
            function set_ClearBill() {
                Organ();
                //初始化表格
                set_InitGrid();
                //初始化页大小
@@ -627,6 +637,10 @@
                if (HName) {
                    sWhere += " and æ¨¡å…·åç§° like '%" + HName + "%'";
                }
                if (HUSEORGID && HUSEORGID != "0") {
                    sWhere += " and HUSEORGID = " + HUSEORGID + "";
                }
                if (sql != "") {
                    sWhere += sql;
                }
@@ -1124,6 +1138,33 @@
                }
            }
            //#region èŽ·å–ç»„ç»‡
            function Organ() {
                //获取登录页组织列
                var Organization = '';
                $.ajax({
                    type: "get",
                    async: false,
                    url: GetWEBURL() + "/Web/GetOrganizations",
                    success: function (result) {
                        if (result.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                            var data = result.data;
                            for (var i = 0; i < data.length; i++) {
                                Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
                            }
                            $("#HUSEORGID").append(Organization);
                            var HOrgIDBar = sessionStorage["OrganizationID"];
                            $("#HUSEORGID").val(HOrgIDBar);
                            form.render('select');
                        }
                        layer.closeAll("loading");
                    }
                })
            }
            //#endregion
            //#region èŽ·å–å‚æ•°
            function getUrlVars() {
                var vars = [], hash;