| | |
| | | <view style="width: 100%; height: var(--status-bar-height)" /> |
| | | <view class="home"> |
| | | <!-- 当前用户 --> |
| | | <view class="text-[#0D867F] font-medium py-2 text-lg">亨旺特导线缆上报系统</view> |
| | | <view class="flex items-center justify-between"> |
| | | <view class="text-[#0D867F] font-medium py-2 text-lg"> |
| | | <text>亨旺特导线缆上报系统</text> |
| | | </view> |
| | | <view> |
| | | <ReportWorkTime /> |
| | | </view> |
| | | </view> |
| | | <WorkerCallingCard /> |
| | | |
| | | <!-- 通知公告 --> |
| | | <wd-notice-bar |
| | | text="vue-uniapp-template 是一个基于 Vue3 + UniApp 的前端模板项目,提供了一套完整的前端解决方案,包括登录、权限、字典、接口请求、状态管理、页面布局、组件封装等功能。" |
| | | custom-class="space" |
| | | > |
| | | <wd-notice-bar text="这是一条测试通知的数据" custom-class="space"> |
| | | <template #prefix> |
| | | <wd-icon class="prefix" name="warn-bold" size="14px"></wd-icon> |
| | | <text class="text-xs">通知</text> |
| | |
| | | </wd-grid-item> |
| | | </wd-grid> --> |
| | | |
| | | <wd-card> |
| | | <!-- <wd-card> |
| | | <template #title> |
| | | <view class="flex-between"> |
| | | <view>访问趋势</view> |
| | |
| | | <view class="charts-box"> |
| | | <qiun-data-charts type="area" :chartData="chartData" :opts="chartOpts" /> |
| | | </view> |
| | | </wd-card> |
| | | </wd-card> --> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | import { dayjs } from "wot-design-uni"; |
| | | import LogAPI, { VisitStatsVO } from "@/api/system/log"; |
| | | import WorkerCallingCard from "@/components/worker-calling-card/index.vue"; |
| | | import ReportWorkTime from "./components/ReportWorkTime.vue"; |
| | | |
| | | const visitStatsData = ref<VisitStatsVO>({ |
| | | todayUvCount: 0, |