提交
This commit is contained in:
@ -5,7 +5,7 @@ import { AxiosPromise } from 'axios';
|
||||
export const getScreenWeather = (projectId: number | string) => {
|
||||
return request({
|
||||
url: '/project/big/screen/weather/' + projectId,
|
||||
method: 'get',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
@ -13,7 +13,7 @@ export const getScreenWeather = (projectId: number | string) => {
|
||||
export const getScreenSafetyDay = (projectId: number | string) => {
|
||||
return request({
|
||||
url: '/project/big/screen/safetyDay/' + projectId,
|
||||
method: 'get',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
@ -21,7 +21,7 @@ export const getScreenSafetyDay = (projectId: number | string) => {
|
||||
export const getScreenNews = (projectId: number | string) => {
|
||||
return request({
|
||||
url: '/project/big/screen/news/' + projectId,
|
||||
method: 'get',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
@ -29,7 +29,7 @@ export const getScreenNews = (projectId: number | string) => {
|
||||
export const getScreenLand = (projectId: number | string) => {
|
||||
return request({
|
||||
url: '/project/big/screen/' + projectId,
|
||||
method: 'get',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
@ -37,7 +37,7 @@ export const getScreenLand = (projectId: number | string) => {
|
||||
export const getScreenImgProcess = (projectId: number | string) => {
|
||||
return request({
|
||||
url: '/project/big/screen/imageProgress/' + projectId,
|
||||
method: 'get',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
@ -45,15 +45,18 @@ export const getScreenImgProcess = (projectId: number | string) => {
|
||||
export const getScreenPeople = (projectId: number | string) => {
|
||||
return request({
|
||||
url: '/project/big/screen/people/' + projectId,
|
||||
method: 'get',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
// 查询项目AI安全巡检
|
||||
export const getScreenSafetyInspection = (projectId: number | string) => {
|
||||
return request({
|
||||
url: '/project/big/screen/safetyInspection/' + projectId,
|
||||
url: '/project/big/screen/safetyInspection/',
|
||||
method: 'get',
|
||||
params: {
|
||||
projectId
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@ -61,7 +64,7 @@ export const getScreenSafetyInspection = (projectId: number | string) => {
|
||||
export const getScreenGeneralize = (projectId: number | string) => {
|
||||
return request({
|
||||
url: '/project/big/screen/generalize/' + projectId,
|
||||
method: 'get',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
@ -76,7 +79,7 @@ export const getGps = (projectId) => {
|
||||
export const getSelectList = (params) => {
|
||||
return request({
|
||||
url: '/project/big/screen/getList',
|
||||
method: 'get',
|
||||
method: 'get',
|
||||
params
|
||||
});
|
||||
};
|
||||
@ -93,7 +96,7 @@ export const setSelect = (data) => {
|
||||
export const getModelList = (params) => {
|
||||
return request({
|
||||
url: '/yjearth4.0/api/v1/source/list',
|
||||
method: 'get',
|
||||
method: 'get',
|
||||
params
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user