修改项目级大屏

This commit is contained in:
shi
2025-09-12 19:33:07 +08:00
parent 9fbabd2b6a
commit aa1f2e8fdb
4 changed files with 23 additions and 21 deletions

View File

@ -104,6 +104,7 @@ const getScreenImgProcessData = async () => {
pieData.forEach((item: any) => {
item.value = data[item.label]
})
console.log(pieData)
initPieChart()
}
}
@ -113,9 +114,9 @@ const getScreenImgProcessData = async () => {
*/
const getScreenGeneralizeData = async () => {
const res = await getScreenGeneralize(props.projectId);
const { data, code } = res
const { data, code, msg } = res
if (code === 200) {
generalize.value = data
generalize.value = msg
}
}
@ -183,7 +184,6 @@ onUnmounted(() => {
height: 100px;
margin: 0 15px;
padding: 0 10px;
margin-top: 15px;
box-sizing: border-box;
overflow-y: auto;