儿科后台

This commit is contained in:
@zuopngfei 2025-07-03 18:28:19 +08:00
parent 158fa5b31c
commit 19bab3fcd2
2 changed files with 7 additions and 5 deletions

View File

@ -40,11 +40,13 @@ onMounted(() => {
},
xAxis: {
type: 'category',
data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
boundaryGap: false,
},
yAxis: {
type: 'value',
smooth: true
smooth: true,
},
series: [
{

View File

@ -200,7 +200,7 @@ const userInfo = ref({})
const isLoading = ref(true)
const chatData = ref({
height: [75, 77, 80],
height: [],
weight: [],
totalBilirubin: [],
directBilirubin: []
@ -218,14 +218,14 @@ const getTableData = async () => {
tableData.value = questionnairesRes.list
chatData.value = {
height: [75, 77, 80],
height: [],
weight: [],
totalBilirubin: [],
directBilirubin: []
}
chatRes.list.forEach(item => {
// chatData.value.height.push(item.height)
chatData.value.height.push(item.height)
chatData.value.weight.push(item.weight)
chatData.value.totalBilirubin.push(item.total_bilirubin)
chatData.value.directBilirubin.push(item.direct_bilirubin)