赣州市洪水风险预警系统三维版本
guoshilong
2023-02-20 53efc4fdb6cd083f69585eb3c053f24f493aa149
widgets/FloodAnalysis/Widget.js
@@ -87,6 +87,13 @@
                population: 100,
                area: 8.551,
                value: 39.789
            },
            {
                name: "2.0-3.0",
                house: 70,
                population: 350,
                area: 24.6,
                value: 20.4
            }
        ],
        startup: function startup() {
@@ -675,13 +682,13 @@
            var url = './corelib/common/popup/evaluateAnalysis.html'
            var top = ($(window).height() - 550) / 2;
            var top = ($(window).height() - 600) / 2;
            var left = ($(window).width() - 400 - 340) / 2 + 340;
            layer.open({
                title: '评估分析',
                type: 2,
                maxmin: false, //开启最大化最小化按钮
                area: ['900px', '600px'],
                area: ['900px', '500px'],
                skin: 'floodAnalysis',
                offset: [top,left],
                content: url + "?parentData=" + encodeURIComponent(JSON.stringify(parentData)),//使用encodeURIComponent转码,避免中文字符乱码,避免url截取错误