8/4 更新 输入限制,修复收银台

This commit is contained in:
Zy
2026-08-04 16:07:22 +08:00
parent ca5f214bac
commit 494b7869ea
26 changed files with 668 additions and 412 deletions

View File

@@ -82,7 +82,7 @@ onUnmounted(() => {
});
function reset() {
date.value = getLastNDays(10)[0];
date.value = getLastNDays(7)[0];
querySelect();
}
@@ -372,10 +372,10 @@ const dayX = ref([]);
const inData = ref([]);
const outData = ref([]);
/** 近十天人员流入流出 - 平滑折线图 */
/** 近十天人员流入流出 - 平滑折线图╥╬ */
const flowLineOption = ref<EChartsOption>({
title: {
text: '近十日人员流动趋势',
text: '近七日人员流动趋势',
left: 0,
top: 0,
textStyle: { fontSize: 14, fontWeight: 'normal' }
@@ -461,7 +461,7 @@ const flowLineOption = ref<EChartsOption>({
function flowLineOptionFun(days: string[], InData: number[], OutData: number[]): EChartsOption {
return {
title: {
text: '近十日人员流动趋势',
text: '近七日人员流动趋势',
left: 0,
top: 0,
textStyle: { fontSize: 14, fontWeight: 'normal' }
@@ -605,7 +605,7 @@ function MoveInUserType() {
{ value: res.owner, name: '业主', itemStyle: { color: '#0a74fe' } },
{ value: res.tenant, name: '租户', itemStyle: { color: '#fe3d4e' } },
{ value: res.relatives, name: '亲属', itemStyle: { color: '#00cf7f' } },
{ value: res.other, name: '其他', itemStyle: { color: '#f48e3b' } }
{ value: res.otherType, name: '其他', itemStyle: { color: '#f48e3b' } }
];
});
}