修改项目级大屏
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user