diff --git a/.env.development b/.env.development index e882d6a..647f3c7 100644 --- a/.env.development +++ b/.env.development @@ -11,9 +11,9 @@ VITE_APP_ENV = 'development' # 李陈杰 209 # VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 曾涛 -# VITE_APP_BASE_API = 'http://192.168.110.149:8899' +VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 罗成 -VITE_APP_BASE_API = 'http://192.168.110.149:8899' +# VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 朱银 # VITE_APP_BASE_API = 'http://192.168.110.149:8899' #曾涛 diff --git a/src/api/projectScreen/index.ts b/src/api/projectScreen/index.ts index ef4e94c..4183cb2 100644 --- a/src/api/projectScreen/index.ts +++ b/src/api/projectScreen/index.ts @@ -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,7 +45,7 @@ export const getScreenImgProcess = (projectId: number | string) => { export const getScreenPeople = (projectId: number | string) => { return request({ url: '/project/big/screen/people/' + projectId, - method: 'get', + method: 'get' }); }; @@ -53,7 +53,10 @@ export const getScreenPeople = (projectId: number | string) => { export const getScreenSafetyInspection = (projectId: number | string) => { return request({ url: '/project/big/screen/safetyInspection/' + projectId, - method: 'get', + 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 }); -}; \ No newline at end of file +}; diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index e7a4f60..dca5657 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -1,11 +1,29 @@ \ No newline at end of file + diff --git a/src/views/projectLarge/ProjectScreen/components/rightPage.vue b/src/views/projectLarge/ProjectScreen/components/rightPage.vue index f583d02..224a8fe 100644 --- a/src/views/projectLarge/ProjectScreen/components/rightPage.vue +++ b/src/views/projectLarge/ProjectScreen/components/rightPage.vue @@ -16,30 +16,31 @@