#
whycq
2022-09-12 9f024dc848670f41cc96114b0954faf0645bacf0
#
5个文件已修改
52 ■■■■■ 已修改文件
src/main/webapp/static/css/style.css 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/css/style3.css 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/tableData3.js 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/index_datashow.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/index_datashow3.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/css/style.css
@@ -77,7 +77,7 @@
    color: #d9d9d9;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 10%;
    /*margin-bottom: 10%;*/
}
#main-tab,th,td{
    border: 1px solid #fff;
src/main/webapp/static/css/style3.css
@@ -8,13 +8,14 @@
}
body{
    background-color: #2e4e7e;
    height: 1080px;
    height: 500px;
    width: 100%;
}
/* 画布 */
#root {
    /*height: 100%;*/
    width: 100%;
    height: 500px;
    /*margin: 0;*/
    /*background-color: !* #2C3E50 *! #2e4e7e;*/
    position: relative;
@@ -78,7 +79,7 @@
    color: #d9d9d9;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 10%;
    /*margin-bottom: 10%;*/
    /*min-height: 1080px;*/
    /*height: auto !important;*/
    /*height: 1080px;*/
src/main/webapp/static/js/tableData3.js
@@ -82,10 +82,50 @@
        data: {},
        success: function (res) {
            if (res.code == 200) {
                console.log(res)
                data = res.data
                switch (data.length) {
                    case 0:
                        $("#emptyDiv").attr("style", "height:608px")
                        break;
                    case 1:
                        $("#emptyDiv").attr("style", "height:557px")
                        break;
                    case 2:
                        $("#emptyDiv").attr("style", "height:506px")
                        break;
                    case 3:
                        $("#emptyDiv").attr("style", "height:455px")
                        break;
                    case 4:
                        $("#emptyDiv").attr("style", "height:404px")
                        break;
                    case 5:
                        $("#emptyDiv").attr("style", "height:353px")
                        break;
                    case 6:
                        $("#emptyDiv").attr("style", "height:302px")
                        break;
                    case 7:
                        $("#emptyDiv").attr("style", "height:251px")
                        break;
                    case 8:
                        $("#emptyDiv").attr("style", "height:200px")
                        break;
                    case 9:
                        $("#emptyDiv").attr("style", "height:150px")
                        break;
                    case 10:
                        $("#emptyDiv").attr("style", "height:100px")
                        break;
                    case 11:
                        $("#emptyDiv").attr("style", "height:49px")
                        break;
                    default:
                        $("#emptyDiv").attr("style", "height:80px")
                }
                // 判断时间是否有null  有null的改为 ""
                for (var i = 0; i < data.length; i++) {
                    console.log(data.length)
                    var dataNode = data[i].projectPlans
                    for (var j = 0; j < dataNode.length; j++) {
                        var dataNull = dataNode[j]
src/main/webapp/views/index_datashow.html
@@ -44,6 +44,7 @@
                </table>
            </div>
            <div style="width: 100%;height: 100px"></div>
        </div>
    </div>
src/main/webapp/views/index_datashow3.html
@@ -41,7 +41,7 @@
                <!-- 注意事项 -->
                <tr><th>注意事项</th></tr>
            </table>
        <div id="emptyDiv" style="width: 100%;height: 507px"></div>
        </div>
    </div>