儿科后台
This commit is contained in:
parent
158fa5b31c
commit
19bab3fcd2
@ -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: [
|
||||
{
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user