echarts滚动效果
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { QualityVO, Query, ConstructionUserVO, MachineryrVO, MaterialsVO } from './type';
|
||||
import { QualityVO, Query, ConstructionUserVO, MachineryrVO, MaterialsVO, projectNewsVO, safetyInspectionVO, projectNewsDetailVO } from './type';
|
||||
/**
|
||||
* 查询大屏质量信息
|
||||
* @param query
|
||||
@ -15,6 +15,47 @@ export const getQualityList = (query?: Query): AxiosPromise<QualityVO> => {
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询大屏项目新闻列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getprojectNewsList = (query?: Query): AxiosPromise<projectNewsVO[]> => {
|
||||
return request({
|
||||
url: '/project/projectNews/list/gis',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取项目新闻详细信息
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getprojectNewsDetailList = (id: number): AxiosPromise<projectNewsDetailVO> => {
|
||||
return request({
|
||||
url: '/project/projectNews/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询大屏安全信息
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const getsafetyInspectionList = (query?: Query): AxiosPromise<safetyInspectionVO> => {
|
||||
return request({
|
||||
url: '/safety/safetyInspection/gis',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询施工人员大屏数据
|
||||
* @param query
|
||||
|
@ -41,3 +41,35 @@ export interface MaterialsVO {
|
||||
outCount: string;
|
||||
value: number;
|
||||
}
|
||||
|
||||
export interface projectNewsVO {
|
||||
id: string;
|
||||
title: string;
|
||||
|
||||
show?: boolean;
|
||||
}
|
||||
|
||||
export interface projectNewsDetailVO {
|
||||
id: string;
|
||||
title: string;
|
||||
content: string;
|
||||
file: string;
|
||||
}
|
||||
|
||||
export interface safetyInspectionVO {
|
||||
//站班会总数
|
||||
teamMeetingCount: string;
|
||||
//安全巡检总数
|
||||
safetyInspectionCount: string;
|
||||
//整改情况
|
||||
correctSituationCount: string;
|
||||
//站班会列表
|
||||
teamMeetingList: safetyInspectionlist[];
|
||||
}
|
||||
|
||||
export interface safetyInspectionlist {
|
||||
id: string;
|
||||
teamName: string;
|
||||
name: string;
|
||||
meetingDate: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user