人员出场-排序

班组作业点配置-页面优化
This commit is contained in:
lSun 2024-12-02 15:18:03 +08:00
parent ce2c200f2e
commit 519a3343a6
3 changed files with 23 additions and 7 deletions

View File

@ -181,6 +181,7 @@
ORDER BY ein_time DESC
) a
group by idNumber
ORDER BY einTime DESC
<if test="offset != null and offset >= 0 and limit != null and limit >= 0">
limit #{offset}, #{limit}
</if>

View File

@ -80,18 +80,18 @@ function init() {
"dom": "<'dt-toolbar'r>t<'dt-toolbar-footer'<'col-sm-4 col-xs-4 hidden-xs'i><'col-xs-8 col-sm-8' p v>>",
"columns": [
{
width: '40px',
width: "3%",
data: function (row, type, set, meta) {
let c = meta.settings._iDisplayStart + meta.row + 1;
return c;
}
},
{"data": "teamName", "defaultContent": ""},
{"data": "subName", "defaultContent": ""},
{"data": "proName", "defaultContent": ""},
{"data": "teamName", "defaultContent": "","width":"10%" },
{"data": "subName", "defaultContent": "","width":"10%"},
{"data": "proName", "defaultContent": "","width":"15%"},
{
"data": "workPointNumber",
"defaultContent": "",
"defaultContent": "","width":"5%",
"render": function (data, type, row) {
let teamId = row['teamId'];
let workPointNumber = row['workPointNumber'];
@ -102,7 +102,7 @@ function init() {
},
{
"data": "workPointExamNumber",
"defaultContent": "",
"defaultContent": "","width":"5%",
"render": function (data, type, row) {
let teamId = row['teamId'];
let workPointExamNumber = row['workPointExamNumber'];
@ -113,7 +113,7 @@ function init() {
},
{
"data": "workPointView",
"defaultContent": "",
"defaultContent": "","width":"10%",
"render": function (data, type, row) {
let teamId = row['id'];
let html = "";

View File

@ -14,6 +14,21 @@
height: 30px;
display: inline-block;
}
/* dataTables列内容居中 */
.table > tbody > tr > td {
text-align: center;
vertical-align: middle;
}
/* dataTables表头居中 */
.table > thead:first-child > tr:first-child > th {
text-align: center;
vertical-align: middle;
}
.table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
text-align: center;
}
</style>
</head>
<body>