dev
This commit is contained in:
parent
6d4a580b25
commit
75b735128f
|
|
@ -23,7 +23,7 @@ const handleResize = () => {
|
||||||
};
|
};
|
||||||
const getPersonPayOverview = () => {
|
const getPersonPayOverview = () => {
|
||||||
const thisWeek = getThisWeek();
|
const thisWeek = getThisWeek();
|
||||||
post(API.Statistics.GetPayOverview, {beginTime: thisWeek.start, endTime: thisWeek.end}).then((res: any) => {
|
post(API.Statistics.Base.GetPayOverview, {beginTime: thisWeek.start, endTime: thisWeek.end}).then((res: any) => {
|
||||||
dateList.value = res.dateList
|
dateList.value = res.dateList
|
||||||
commonData.value = res.commonPrice
|
commonData.value = res.commonPrice
|
||||||
initEcharts(dateList.value, vipData.value, commonData.value)
|
initEcharts(dateList.value, vipData.value, commonData.value)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ const init = async () => {
|
||||||
list.value.forEach((item: any) => {
|
list.value.forEach((item: any) => {
|
||||||
if (item.k == "logoUrl") {
|
if (item.k == "logoUrl") {
|
||||||
loadConfig().then((res: any) => {
|
loadConfig().then((res: any) => {
|
||||||
imageUrl.value = res.base_url + 'file/getImage/' + item.val
|
imageUrl.value = res.base_url + API.Common.File.GetImage + item.val
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ const openInventoryWarnDetail = () => {
|
||||||
|
|
||||||
}
|
}
|
||||||
const getInventoryWarning = () => {
|
const getInventoryWarning = () => {
|
||||||
post(API.Statistics.NumberEarlyWarning, {pageNum: 1, pageSize: 20}).then((res: any) => {
|
post(API.Statistics.Base.NumberEarlyWarning, {pageNum: 1, pageSize: 20}).then((res: any) => {
|
||||||
inventoryWarnList.value = res.list.slice(0, 4)
|
inventoryWarnList.value = res.list.slice(0, 4)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ const getDateRange = () => {
|
||||||
}
|
}
|
||||||
const getRevenueOverview = () => {
|
const getRevenueOverview = () => {
|
||||||
let date=getDateRange()
|
let date=getDateRange()
|
||||||
post(API.Statistics.GetRevenueOverview, {
|
post(API.Statistics.Base.GetRevenueOverview, {
|
||||||
beginTime: date.begin,
|
beginTime: date.begin,
|
||||||
endTime: date.end}).then((res: any) => {
|
endTime: date.end}).then((res: any) => {
|
||||||
if (res.payTypeRevenue.length === 0) return
|
if (res.payTypeRevenue.length === 0) return
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ const expireDateWarningListSrc = ref<any>([]);
|
||||||
const expireDateWarningList = ref<any>([]);
|
const expireDateWarningList = ref<any>([]);
|
||||||
|
|
||||||
const getExpiryDateWarning = () => {
|
const getExpiryDateWarning = () => {
|
||||||
post(API.Statistics.ExpiryDateWarning, {pageNum: 1, pageSize: 20}).then((res: any) => {
|
post(API.Statistics.Base.ExpiryDateWarning, {pageNum: 1, pageSize: 20}).then((res: any) => {
|
||||||
expireDateWarningList.value = res.list.slice(0, 4)
|
expireDateWarningList.value = res.list.slice(0, 4)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue