Browse Source

th,td对齐

v4
chenrui 2 years ago
parent
commit
a5fd1b4989
  1. 14
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/css/style.css
  2. 5
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html
  3. 16
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
  4. 15
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html
  5. 5
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html

14
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/css/style.css

@ -7411,4 +7411,18 @@ td .btn-primary, td .btn-success, td .btn-danger, td .btn-info, td .btn-reset, t
tbody tr:nth-child(even) {
background: #f8fdff;
}
.table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th, .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th, .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th {
text-align: center;
}
.table-bordered table>thead>tr>th, .table-bordered table>tbody>tr>td {
text-align: center;
}
.bootstrap-table .fixed-table-container .table th, .bootstrap-table .fixed-table-container .table td {
vertical-align: middle;
box-sizing: border-box;
text-align: center;
}

5
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/complaintStatic/complaintStatic.html

@ -237,7 +237,10 @@
columns: [
{
field : 'complaintDepartment',
title : '被投诉对象'
title : '被投诉对象',
formatter:function (value) {
return "<div style='text-align: left'>"+ value +"</div>";
}
},
{
field : 'complaintType',

16
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html

@ -2,7 +2,7 @@
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('企业端-执法部门预约记录列表')" />
<link type="text/css" href="/css/stat1.css" rel="stylesheet"/>
<link type="text/css" href="/css/stat1.css" rel="stylesheet" />
<style>
.row {
width: 100%;
@ -266,7 +266,10 @@
columns: [
{
field : 'bureauDeptName',
title : '执法部门'
title : '执法部门',
formatter:function (value) {
return "<div style='text-align: left'>"+ value +"</div>";
}
},
{
field : 'lawEnforcement',
@ -287,13 +290,16 @@
},
{
field : 'enterpriseName',
title : '企业名称'
title : '企业名称',
formatter:function (value) {
return "<div style='text-align: left'>"+ value +"</div>";
}
},
{
field : 'lawEnforcementItemText',
title : '检查事项',
formatter:function (value,row,index) {
return $.table.tooltip(value);
return "<div style='text-align: left'>"+ $.table.tooltip(value) +"</div>";
}
},
{
@ -335,7 +341,7 @@
formatter:function (value,row,index) {
for (i = 0; i < reson.length; i++) {
if (reson[i].dictValue == row.checkCss) {
return reson[i].dictLabel;
return "<div style='text-align: left'>"+ reson[i].dictLabel +"</div>";
}
}
}

15
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html

@ -144,7 +144,10 @@
columns: [
{
field : 'bureauDeptName',
title : '执法部门'
title : '执法部门',
formatter:function (value) {
return "<div style='text-align: left'>"+ value +"</div>";
}
},
{
field : 'enterpriseNumber',
@ -170,11 +173,17 @@
},
{
field : 'enterpriseName',
title : '企业名称'
title : '企业名称',
formatter:function (value) {
return "<div style='text-align: left'>"+ value +"</div>";
}
},
{
field : 'lawEnforcementItemText',
title : '检查事项'
title : '检查事项',
formatter:function (value,row,index) {
return "<div style='text-align: left'>"+ $.table.tooltip(value) +"</div>";
}
},
{
field : 'total',

5
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/staticProgram.html

@ -381,7 +381,10 @@
},
{
field : 'bureauDeptName',
title : '执法部门'
title : '执法部门',
formatter:function (value) {
return "<div style='text-align: left'>"+ value +"</div>";
}
},
{
field : 'yearTotal',

Loading…
Cancel
Save