Merge branch 'test' into dev

# Conflicts:
#	src/components/secondaryScreen/secondMap/components/userInfoModal/sleep.vue
This commit is contained in:
zk
2023-12-28 17:19:53 +08:00
8 changed files with 13 additions and 13 deletions
@@ -178,11 +178,10 @@
xAxis: {
type: 'category',
splitLine: { show: false },
data: xArr || ['', ''],
data: xArr,
axisLabel: {
color: '#fff',
},
min: 5,
},
yAxis: {
show: false,
@@ -251,4 +250,4 @@
initEchart('0');
});
</script>
<style scoped lang="less"></style>
<style scoped lang="less"></style>
@@ -84,7 +84,7 @@
}
async function getInfo() {
await queryAllStatisticsApi({ type: paramsDate.value, userId: infoData.value?.userid || '1692086437685014530' }).then((res) => {
await queryAllStatisticsApi({ type: paramsDate.value, userId: infoData.value?.userid }).then((res) => {
info.value = res?.result;
});
}
@@ -251,7 +251,7 @@
:deep(.watch-modal) {
width: 300px;
height: 190px;
height: 210px;
display: flex;
flex-direction: column;
justify-content: center;
@@ -2,7 +2,7 @@ import { get, post } from '/@/api/request.ts';
export enum Api {
footerStatistic = '/health-watch/watch/deptStatisticData/listByorgCode',
mapListApi = '/health-watch/watch/watchDevice/getMapList',
mapListApi = '/health-watch/watch/watchDevice/selectDeptMapList',
getUserListByDeptId = '/health-watch/watch/watchDevice/getUserListByDeptId',
queryAllStatistics = '/health-watch/watch/watchData/queryAllStatistics',
// 心率
@@ -340,9 +340,13 @@ export function useChangeTable() {
export function infoContent(res) {
return `
<div class="watch-modal">
<div class="modal-row">
<span class="label">单位名称:</span>
<span class="text">${res?.orgName || ''}</span>
</div>
<div class="modal-row">
<span class="label">部门名称:</span>
<span class="text">${res?.orgName}</span>
<span class="text">${res?.deptName || ''}</span>
</div>
<div class="modal-row">
<span class="label">部门人数:</span>