儿科后台
This commit is contained in:
parent
158fa5b31c
commit
19bab3fcd2
@ -40,11 +40,13 @@ onMounted(() => {
|
|||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: 'category',
|
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: {
|
yAxis: {
|
||||||
type: 'value',
|
type: 'value',
|
||||||
smooth: true
|
smooth: true,
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -200,7 +200,7 @@ const userInfo = ref({})
|
|||||||
const isLoading = ref(true)
|
const isLoading = ref(true)
|
||||||
|
|
||||||
const chatData = ref({
|
const chatData = ref({
|
||||||
height: [75, 77, 80],
|
height: [],
|
||||||
weight: [],
|
weight: [],
|
||||||
totalBilirubin: [],
|
totalBilirubin: [],
|
||||||
directBilirubin: []
|
directBilirubin: []
|
||||||
@ -218,14 +218,14 @@ const getTableData = async () => {
|
|||||||
tableData.value = questionnairesRes.list
|
tableData.value = questionnairesRes.list
|
||||||
|
|
||||||
chatData.value = {
|
chatData.value = {
|
||||||
height: [75, 77, 80],
|
height: [],
|
||||||
weight: [],
|
weight: [],
|
||||||
totalBilirubin: [],
|
totalBilirubin: [],
|
||||||
directBilirubin: []
|
directBilirubin: []
|
||||||
}
|
}
|
||||||
|
|
||||||
chatRes.list.forEach(item => {
|
chatRes.list.forEach(item => {
|
||||||
// chatData.value.height.push(item.height)
|
chatData.value.height.push(item.height)
|
||||||
chatData.value.weight.push(item.weight)
|
chatData.value.weight.push(item.weight)
|
||||||
chatData.value.totalBilirubin.push(item.total_bilirubin)
|
chatData.value.totalBilirubin.push(item.total_bilirubin)
|
||||||
chatData.value.directBilirubin.push(item.direct_bilirubin)
|
chatData.value.directBilirubin.push(item.direct_bilirubin)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user