合并
This commit is contained in:
@ -206,21 +206,21 @@ const classOptions = {
|
||||
|
||||
//获取质量信息
|
||||
const getQualityData = async () => {
|
||||
const res = await getQualityList({ projectId: currentProject.value.id });
|
||||
const res = await getQualityList({ projectId: currentProject.value?.id });
|
||||
if (res.code !== 200) return;
|
||||
qualityData.value = res.data;
|
||||
};
|
||||
|
||||
//获取大屏项目新闻列表
|
||||
const getProjectNewsData = async () => {
|
||||
const res = await getprojectNewsList({ projectId: currentProject.value.id });
|
||||
const res = await getprojectNewsList({ projectId: currentProject.value?.id });
|
||||
if (res.code !== 200) return;
|
||||
projectNewsData.value = res.data;
|
||||
};
|
||||
|
||||
//查询大屏安全信息
|
||||
const getsafetyInspectionData = async () => {
|
||||
const res = await getsafetyInspectionList({ projectId: currentProject.value.id });
|
||||
const res = await getsafetyInspectionList({ projectId: currentProject.value?.id });
|
||||
if (res.code !== 200) return;
|
||||
safetyInspectionData.value = res.data;
|
||||
};
|
||||
|
Reference in New Issue
Block a user