|
|
@@ -48,8 +48,8 @@
|
|
|
|
|
|
<template slot="hoursRate" slot-scope="{ row }">
|
|
|
<div class="custom-cell">
|
|
|
- <div class="custom-cell-line">{{ row.workHoursRate }}</div>
|
|
|
- <div class="custom-cell-line">{{ row.unworkHoursRate }}</div>
|
|
|
+ <div class="custom-cell-line">{{ row.workHoursRate }}%</div>
|
|
|
+ <div class="custom-cell-line">{{ row.unworkHoursRate }}%</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -143,21 +143,18 @@ export default window.$crudCommon({
|
|
|
span: 24,
|
|
|
width: 90,
|
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
},
|
|
|
{
|
|
|
prop: "hoursTotal",
|
|
|
label: "合计",
|
|
|
width: 50,
|
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
display: false,
|
|
|
}, {
|
|
|
prop: "hoursRate",
|
|
|
label: "工时分配率",
|
|
|
width: 60,
|
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
display: false,
|
|
|
}
|
|
|
],
|
|
|
@@ -218,7 +215,6 @@ export default window.$crudCommon({
|
|
|
width: 50,
|
|
|
align: 'center',
|
|
|
isWorkDay: ChineseHoliday.isWorkday(item.dateString),
|
|
|
- showOverflowTooltip: true,
|
|
|
};
|
|
|
this.allMonthCols.push(moment(item.dateString).format('yyyyMMDD'),);
|
|
|
}
|