From 907d0ba6b7442ef9f4fb976633d0b51d36ea6570 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期二, 15 七月 2025 11:49:19 +0800 Subject: [PATCH] 数据报表页面数据列设置固定宽度 --- src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue b/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue index 9e089ae..c44ed51 100644 --- a/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue +++ b/src/views/mdc/base/modules/efficiencyShiftReport/EfficiencyShiftList.vue @@ -209,19 +209,24 @@ </template> <!--<td>{{item.tierType}}</td>--> <template v-for="(tableHead, index) in item.dataList"> - <td :style="{background:tableHead.color ,minWidth:'110px'}" v-if="checkedList.indexOf('lyl') > -1"> + <td :style="{background:tableHead.color ,minWidth:'110px',width:'110px'}" + v-if="checkedList.indexOf('lyl') > -1"> {{tableHead.utilizationRate | numFilter}} </td> - <td :style="{background:tableHead.color ,minWidth:'110px'}" v-if="checkedList.indexOf('kjsj') > -1"> + <td :style="{background:tableHead.color ,minWidth:'110px',width:'110px'}" + v-if="checkedList.indexOf('kjsj') > -1"> {{tableHead.openLong | getFormattedTime}} </td> - <td :style="{background:tableHead.color,minWidth:'110px' }" v-if="checkedList.indexOf('jgsj') > -1"> + <td :style="{background:tableHead.color,minWidth:'110px',width:'110px' }" + v-if="checkedList.indexOf('jgsj') > -1"> {{tableHead.processLong | getFormattedTime}} </td> - <td :style="{background:tableHead.color ,minWidth:'110px'}" v-if="checkedList.indexOf('djsj') > -1"> + <td :style="{background:tableHead.color ,minWidth:'110px',width:'110px'}" + v-if="checkedList.indexOf('djsj') > -1"> {{tableHead.waitLong | getFormattedTime}} </td> - <td :style="{background:tableHead.color,minWidth:'110px' }" v-if="checkedList.indexOf('gjsj') > -1"> + <td :style="{background:tableHead.color,minWidth:'110px' ,width:'110px'}" + v-if="checkedList.indexOf('gjsj') > -1"> {{tableHead.closeLong | getFormattedTime}} </td> </template> -- Gitblit v1.9.3