34 lines
834 B
TypeScript
34 lines
834 B
TypeScript
|
|
import request from '@/utils/request';
|
||
|
|
import { AxiosPromise } from 'axios';
|
||
|
|
|
||
|
|
// 查询生项目天气
|
||
|
|
export const getScreenWeather = (projectId: number | string) => {
|
||
|
|
return request({
|
||
|
|
url: '/project/big/screen/weather/' + projectId,
|
||
|
|
method: 'get',
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 查询项目安全天数
|
||
|
|
export const getScreenSafetyDay = (projectId: number | string) => {
|
||
|
|
return request({
|
||
|
|
url: '/project/big/screen/safetyDay/' + projectId,
|
||
|
|
method: 'get',
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 查询项目公告
|
||
|
|
export const getScreenNews = (projectId: number | string) => {
|
||
|
|
return request({
|
||
|
|
url: '/project/big/screen/news/' + projectId,
|
||
|
|
method: 'get',
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 查询项目土地统计
|
||
|
|
export const getScreenLand = (projectId: number | string) => {
|
||
|
|
return request({
|
||
|
|
url: '/project/big/screen/' + projectId,
|
||
|
|
method: 'get',
|
||
|
|
});
|
||
|
|
};
|