赣州市洪水风险预警系统三维版本
guoshilong
2023-02-21 8a6a1f340e249ca4e253f52a99a46ef44e7f0f00
widgets/FloodAnalysis/Widget.js
@@ -158,6 +158,11 @@
            $('#hd-input').blur(function () {
                //隐藏域触发改变事件需要手动触发
                // $("#hd-select").val().change()
                //关闭分析窗口
                if (self.evaluateLayerIndex){
                    layer.close(self.evaluateLayerIndex)
                    self.evaluateLayerIndex = ""
                }
                setTimeout(function(){//有bug 需要延迟执行隐藏
                    $("#hd-select").hide()
                },300)
@@ -575,6 +580,7 @@
            }
        },
        //计算水位
        getSw(val){
            const self = this
@@ -849,6 +855,7 @@
                            self.map.entities.remove(self.waterEntity)
                        $('#sw-input').val("")
                        $('#hd-input').val("")
                        $('#hd-input').trigger("input")
                        $('#smx-select option').remove()
                        //清空表格数据
                        $('.analysis-box-list').empty();