|
|
@@ -205,9 +205,9 @@ const qualificationWarnings = ref([
|
|
|
])
|
|
|
|
|
|
const qhseMetricTabs = [
|
|
|
- { label: 'LTIR', value: 'ltir', accent: '#3d7cff' },
|
|
|
- { label: 'TRIR', value: 'trir', accent: '#17b6c5' },
|
|
|
- { label: 'PMVA', value: 'pmva', accent: '#f2a93b' }
|
|
|
+ { label: 'LTIR', value: 'ltir', accent: '#3d7cff', label2: '百万工时损失工时事故率' },
|
|
|
+ { label: 'TRIR', value: 'trir', accent: '#17b6c5', label2: '百万工时总可记录事件率' },
|
|
|
+ { label: 'PMVA', value: 'pmva', accent: '#f2a93b', label2: '百万公里可预防性交通事故率' }
|
|
|
] as const
|
|
|
|
|
|
const activeQhseMetric = ref<QhseMetricValue>('ltir')
|
|
|
@@ -714,7 +714,7 @@ function getSocChartOption(): echarts.EChartsOption {
|
|
|
}),
|
|
|
legend: {
|
|
|
orient: 'vertical',
|
|
|
- right: 4,
|
|
|
+ right: 100,
|
|
|
top: 'center',
|
|
|
itemWidth: 12,
|
|
|
itemHeight: 12,
|
|
|
@@ -913,7 +913,7 @@ watch(
|
|
|
)
|
|
|
|
|
|
onMounted(async () => {
|
|
|
- supportsZoom.value = typeof CSS !== 'undefined' && CSS.supports?.('zoom', '1') === true
|
|
|
+ // supportsZoom.value = typeof CSS !== 'undefined' && CSS.supports?.('zoom', '1') === true
|
|
|
nextTick(updateScale)
|
|
|
resizeObserver = new ResizeObserver(updateScale)
|
|
|
if (wrapperRef.value) {
|
|
|
@@ -1087,6 +1087,7 @@ onUnmounted(() => {
|
|
|
<button
|
|
|
v-for="item in qhseMetricTabs"
|
|
|
:key="item.value"
|
|
|
+ :title="item.label2"
|
|
|
type="button"
|
|
|
class="qhse-metric-tab"
|
|
|
:class="{ 'is-active': activeQhseMetric === item.value }"
|
|
|
@@ -1308,7 +1309,7 @@ onUnmounted(() => {
|
|
|
</template>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-@import url('@/styles/qhse_kb.scss');
|
|
|
+@import url('@/styles/kb.scss');
|
|
|
|
|
|
:deep(.el-select__wrapper) {
|
|
|
height: 38px !important;
|