赣州市洪水风险预警系统三维版本
guoshilong
2023-02-15 42a3890a7be8002055510ffd5a754586bf30f3c9
洪水淹没-分析表格超出长度用省略号表示,调整一页19行
1 files modified
7 ■■■■ changed files
widgets/FloodAnalysis/Widget.js 7 ●●●● patch | view | raw | blame | history
widgets/FloodAnalysis/Widget.js
@@ -385,6 +385,11 @@
                            });
                            // 清空使用
                            self.pointEntities.push(temp)
                            if (data[i].location.length>12){
                                data[i].location = data[i].location.substring(0,12)+"..."
                            }
                        }
                        // 先清空 后画线
@@ -446,7 +451,7 @@
            if (tableData.length <= 0 && pageElementId == "history-pagination") {
                $('#history-pagination').hide()
            }
            let pageSize = 11
            let pageSize = 19
            var count = Math.ceil(tableData.length / pageSize);
            var self = this
            $('#' + pageElementId).pagination({