Browse Source

调整下字体大小

Pojun 3 months ago
parent
commit
bb0a5fe0d5

+ 5 - 4
tip-front/src/main/webapp/WEB-INF/pages/apps/task/dataVisualization/index.html

@@ -139,6 +139,7 @@
                         :label="item.label"
                         :sortable="!item.noSort ? 'custom' : true"
                         :formatter="item.showFormatter ? formatter :null"
+                        :width="item.width"
                     >
                     </el-table-column>
                 </el-table>
@@ -184,15 +185,15 @@
                 defaultDepartment:{id:"",name:"全部门"}, // 默认部门
                 tableData:[],
                 tableHeaders:[
-                    {prop:"targetName",label:"责任单位", noSort:true},
+                    {prop:"targetName",label:"责任单位", noSort:true, width:'100px'},
                     {prop:"count",label:"办理事项总数"},
                     {prop:"doCount",label:"推进中事项"},
-                    {prop:"overdueCount",label:"超期事项"},
-                    {prop:"overduePercent",label:"超期率", showFormatter:true},
+                    {prop:"overdueCount",label:"超期事项", width:'100px'},
+                    {prop:"overduePercent",label:"超期率", showFormatter:true, width:'90px'},
                     {prop:"remindCount",label:"被催办次数"},
                     // {prop:"remindCount",label:"被退回次数"},
                     {prop:"finishCount",label:"已办结事项"},
-                    {prop:"finishPercent",label:"办结率", showFormatter:true},
+                    {prop:"finishPercent",label:"办结率", showFormatter:true, width:'90px'},
                     {prop:"score",label:"总得分"}
                 ],
                 objToSort:{

+ 1 - 0
tip-front/src/main/webapp/common/css/dataVi.css

@@ -309,6 +309,7 @@ body {
 	color: #fff !important;
 	padding-left: 4px !important;
 	padding-right: 4px !important;
+	font-size: 14px;
 }
 .el-table,.el-table th.el-table__cell, .el-table tr,
 .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{