duhe
2025-08-21 79665a3f2fef113ccf94c1b86ac30667382fe57d
华远:直观图 右击 事件 调整
2个文件已修改
14 ■■■■ 已修改文件
WebTM/Properties/PublishProfiles/LAYUI.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/案例代码/华远/HY_HistogramReport.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
@@ -4993,7 +4993,7 @@
      <publishTime>09/13/2024 15:42:13</publishTime>
    </File>
    <File Include="views/妗堜緥浠g爜/鍗庤繙/HY_HistogramReport.html">
      <publishTime>08/21/2025 15:45:52</publishTime>
      <publishTime>08/21/2025 16:04:12</publishTime>
    </File>
    <File Include="views/妗堜緥浠g爜/鍗庤繙/HY_HistogramReport_ForPCSCheckNote.html">
      <publishTime>06/23/2025 14:35:05</publishTime>
WebTM/views/案例代码/华远/HY_HistogramReport.html
@@ -491,13 +491,15 @@
                                }
                                // 渚嬪锛屽垱寤轰竴涓嚜瀹氫箟鑿滃崟
                                var HSelectElement = document.createElement('select');
                                HSelectElement.style.width = "100px";
                                HSelectElement.style.height = "20px";
                                HSelectElement.style.position = 'absolute';
                                HSelectElement.style.left = event.pageX + 'px';
                                HSelectElement.style.top = event.pageY + 'px';
                                HSelectElement.id = "HBadReason";
                                HSelectElement.name = "HBadReason";
                                HSelectElement.setAttribute('lay-filter', 'HBadReason');
                                HSelectElement.className = "layui-form layui-form-item layui-row layui-input-inline";
                                HSelectElement.className = "layui-fluid layui-col-md12 layui-card-body layui-form layui-collapse layui-colla-item ayui-input-inline";
                                document.body.appendChild(HSelectElement);
                                setInitSelect_BadReason();
@@ -505,6 +507,13 @@
                                const selectElement = document.getElementById('HBadReason');
                                selectElement.addEventListener('change', function () {
                                    var HBadReason = $("#HBadReason").val();
                                    if (HBadReason == "") {
                                        var HSelectElement = document.getElementById("HBadReason");
                                        if (HSelectElement != null) {
                                            document.body.removeChild(HSelectElement);
                                        }
                                        return;
                                    }
                                    layer.open({
                                        type: 2,
@@ -585,6 +594,7 @@
                            var data = result.data;
                            var Organization = "";
                            Organization += '<option  style="color:blue;" value=""></option>';
                            for (var i = 0; i < data.length; i++) {
                                Organization += '<option  style="color:blue;" value="' + data[i].HName + '">' + data[i].HName + '</option>';
                            }