fix(工作台): 修复工作台柱状图y坐标bug
This commit is contained in:
parent
32414829ba
commit
1fe2084d7e
|
@ -188,7 +188,7 @@
|
||||||
})(countData),
|
})(countData),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
options.value.yAxis[0].max = maxAxis < 100 ? 50 : maxAxis + 50;
|
options.value.yAxis[0].max = maxAxis < 100 ? 100 : maxAxis + 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function initOverViewDetail() {
|
async function initOverViewDetail() {
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
:prefix="t('workbench.homePage.staff')"
|
:prefix="t('workbench.homePage.staff')"
|
||||||
:multiple="true"
|
:multiple="true"
|
||||||
:has-all-select="true"
|
:has-all-select="true"
|
||||||
:default-all-select="innerSelectAll"
|
:default-all-select="innerHandleUsers.length === 0"
|
||||||
@change="changeMember"
|
@change="changeMember"
|
||||||
>
|
>
|
||||||
</MsSelect>
|
</MsSelect>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
})(countData),
|
})(countData),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
options.value.yAxis[0].max = maxAxis < 100 ? 50 : maxAxis + 50;
|
options.value.yAxis[0].max = maxAxis < 100 ? 100 : maxAxis + 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function initOverViewMemberDetail() {
|
async function initOverViewMemberDetail() {
|
||||||
|
@ -171,7 +171,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const innerSelectAll = ref<boolean>(false);
|
|
||||||
async function getMemberOptions() {
|
async function getMemberOptions() {
|
||||||
const [newProjectId] = innerProjectIds.value;
|
const [newProjectId] = innerProjectIds.value;
|
||||||
const res = await workProjectMemberOptions(newProjectId);
|
const res = await workProjectMemberOptions(newProjectId);
|
||||||
|
@ -179,7 +178,6 @@
|
||||||
label: e.name,
|
label: e.name,
|
||||||
value: e.id,
|
value: e.id,
|
||||||
}));
|
}));
|
||||||
innerSelectAll.value = memberIds.value.length === memberOptions.value.length;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeProject() {
|
function changeProject() {
|
||||||
|
|
Loading…
Reference in New Issue