Files
CNCEC_APP/pages/index/board/safe/workCard.vue
T

58 lines
1.5 KiB
Vue
Raw Normal View History

2026-03-25 14:54:15 +08:00
<template>
2026-03-27 16:01:49 +08:00
<ChartCard margin="0 0 30rpx 0" title="作业许可数">
2026-08-17 11:01:21 +08:00
<view class="work u-flex u-row-between" @click="router.push('/pages/index/workPermit/index')">
2026-03-27 16:01:49 +08:00
<view class="work-box u-flex u-row-center">
<view class="work-box-icon"><u-icon name="xukezheng" color="#8CEEFF" custom-prefix="custom-icon" size="60"></u-icon></view>
<view class="work-box-row u-padding-left-20">
2026-08-17 11:01:21 +08:00
<text class="work-box-row-num">{{ licensesData?.LicensesNum || 0 }}</text>
2026-03-27 16:01:49 +08:00
<text class="work-box-row-lab">许可证总数</text>
</view>
2026-03-25 14:54:15 +08:00
</view>
2026-03-27 16:01:49 +08:00
<view class="work-box u-flex u-row-center">
<view class="work-box-icon">
<u-icon name="guanbi" color="#ee6666" custom-prefix="custom-icon" size="60"></u-icon>
</view>
<view class="work-box-row u-padding-left-20">
2026-08-17 11:01:21 +08:00
<text class="work-box-row-num">{{ licensesData?.LicensesCloseNum || 0 }}</text>
2026-03-27 16:01:49 +08:00
<text class="work-box-row-lab">高风险作业许可进行中数量</text>
</view>
2026-03-25 14:54:15 +08:00
</view>
</view>
</ChartCard>
</template>
<script setup>
2026-03-27 16:01:49 +08:00
import ChartCard from '@/components/chartCard.vue';
2026-08-17 11:01:21 +08:00
import {router} from '@/utils'
defineProps({
licensesData: {
type: Object,
default: () => {}
}
});
2026-03-25 14:54:15 +08:00
</script>
2026-03-27 16:01:49 +08:00
<style lang="scss" scoped>
.work {
padding: 20rpx 0;
&-box {
height: 100rpx;
&-row {
height: 100rpx;
display: flex;
flex-direction: column;
&-lab {
font-size: 24rpx;
color: #999999;
margin-top: 12rpx;
}
&-num {
color: #333333;
font-size: 28rpx;
2026-03-25 14:54:15 +08:00
}
}
}
2026-03-27 16:01:49 +08:00
}
</style>