dev
This commit is contained in:
parent
062df7714d
commit
d9dac5d824
|
|
@ -24,7 +24,6 @@ const getPersonPayOverview = () => {
|
|||
const thisWeek = getThisWeek();
|
||||
post("statistics/getPersonPayOverview", {beginTime: thisWeek.start, endTime: thisWeek.end}).then((res: any) => {
|
||||
dateList.value = res.dateList
|
||||
vipData.value = res.vipPrice
|
||||
commonData.value = res.commonPrice
|
||||
initEcharts(dateList.value, vipData.value, commonData.value)
|
||||
})
|
||||
|
|
@ -56,7 +55,7 @@ const initEcharts = (dateList: any[], vipData: any, commonData: any) => {
|
|||
trigger: 'axis'
|
||||
},
|
||||
legend: {
|
||||
data: ['患者', '普通',]
|
||||
data: [ '普通',]
|
||||
},
|
||||
grid: {
|
||||
left: '3%',
|
||||
|
|
@ -73,12 +72,6 @@ const initEcharts = (dateList: any[], vipData: any, commonData: any) => {
|
|||
type: 'value'
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '患者',
|
||||
type: 'line',
|
||||
stack: 'Total',
|
||||
data: vipData
|
||||
},
|
||||
{
|
||||
name: '普通',
|
||||
type: 'line',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const openInventoryWarnDetail = () => {
|
|||
const getInventoryWarning = () => {
|
||||
post("statistics/numberEarlyWarning").then((res: any) => {
|
||||
inventoryWarnListSrc.value = res
|
||||
inventoryWarnList.value = res.slice(0, 3)
|
||||
inventoryWarnList.value = res.slice(0, 4)
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const expireDateWarningList = ref<any>([]);
|
|||
const getExpiryDateWarning = () => {
|
||||
post("statistics/expiryDateWarning").then((res: any) => {
|
||||
expireDateWarningListSrc.value = res
|
||||
expireDateWarningList.value = res.slice(0, 3)
|
||||
expireDateWarningList.value = res.slice(0, 4)
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue