|
|
|
@ -8,10 +8,10 @@ import { getStatistics } from '@/http/api' |
|
|
|
export const useStatistics = (tag, rest = {}) => { |
|
|
|
const store = useStore() |
|
|
|
const { currentFloor } = storeToRefs(store) |
|
|
|
const { projectCode, deviceCode } = currentFloor.value |
|
|
|
const { projectCode, machineCode } = currentFloor.value |
|
|
|
const params = { |
|
|
|
projectCode, |
|
|
|
deviceCode, |
|
|
|
deviceCode: machineCode, |
|
|
|
tag, |
|
|
|
...rest |
|
|
|
} |
|
|
|
|