diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index 14710547..6c2328dc 100644 --- a/front/public/static/config/location.js +++ b/front/public/static/config/location.js @@ -1,13 +1,13 @@ /* * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 - * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-04-01 10:51:45 + * @LastEditors: hisense.liangjunhua + * @LastEditTime: 2022-06-22 15:25:14 * @Description: 数据资源参数配置 */ // const newLocation = 'qingdao' // const newLocation = 'baotou' -const newLocation = 'xihaian' +const newLocation = 'qingdao' // 数据资源数据 const whoShow = {} diff --git a/front/src/api/capabilityCloud.js b/front/src/api/capabilityCloud.js index d0d921d4..109ccc44 100644 --- a/front/src/api/capabilityCloud.js +++ b/front/src/api/capabilityCloud.js @@ -1,3 +1,10 @@ +/* + * @Author: hisense.liangjunhua + * @Date: 2022-06-20 09:20:28 + * @LastEditors: hisense.liangjunhua + * @LastEditTime: 2022-06-22 16:06:08 + * @Description: 告诉大家这是什么 + */ import request from '@/utils/request' //能力云图-知识库 export function KnowledgeBaseStatic() { @@ -54,7 +61,22 @@ export function componentServiceRank(params) { return request({ url: '/census/center/v2/componentServiceRank', method: 'get', - params + params, + }) +} +//能力云图-基础设施 +export function infrastructureInfo(params) { + return request({ + url: '/census/center/v2/infrastructureInfo', + method: 'get', + params, + }) +} +//能力云图-数据资源 +export function dataResourceInfo(params) { + return request({ + url: '/census/center/v2/dataResourceInfo', + method: 'get', + params, }) } - diff --git a/front/src/api/file.js b/front/src/api/file.js index 9862ba54..96f3d1ea 100644 --- a/front/src/api/file.js +++ b/front/src/api/file.js @@ -1,8 +1,8 @@ /* * @Author: hisense.wuhongjian * @Date: 2022-04-20 17:16:35 - * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-06-19 18:42:39 + * @LastEditors: hisense.liangjunhua + * @LastEditTime: 2022-06-22 14:57:16 * @Description: 告诉大家这是什么 */ import request from '@/utils/request' @@ -55,31 +55,41 @@ export function count() { ) } export function getVideoList(params) { -   return axios.get( -     'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraListByName?name=' + -       params.name + -       '&pageNo=' + -       params.pageNo + -       '&pageSize=' + -       params.pageSize, -     config2 -   ) - } + return axios.get( + 'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraListByName?name=' + + params.name + + '&pageNo=' + + params.pageNo + + '&pageSize=' + + params.pageSize, + config2 + ) +} // 能力云图-数据资源-总数据数 export function getRecord(params) { return axios.get( 'http://10.134.135.24:30090/api/share-portal/platform/catalogue/query?serviceName=' + - params.serviceName + - '&orderField=' + - params.orderField + - '&orderType=' + - params.orderType + - '&pageNum=' + - params.pageNum + - '&pageSize=' + - params.pageSize + - '&serviceType=' + - params.serviceType, + params.serviceName + + '&orderField=' + + params.orderField + + '&orderType=' + + params.orderType + + '&pageNum=' + + params.pageNum + + '&pageSize=' + + params.pageSize + + '&serviceType=' + + params.serviceType, + config2 + ) +} + +export function getHls(params) { + return axios.get( + 'http://10.134.135.9:8001/hx-weather-warning/camera/getCameraLiveStreamByCode?cameraCode=' + + params.cameraId + + '&protocol=' + + params.protocol, config2 ) } diff --git a/front/src/api/home.js b/front/src/api/home.js index 45b11360..aa979e96 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -1,8 +1,8 @@ /* * @Author: hisense.wuhongjian * @Date: 2022-04-01 19:19:40 - * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-05-24 19:58:09 + * @LastEditors: hisense.liangjunhua + * @LastEditTime: 2022-06-22 15:27:36 * @Description: 告诉大家这是什么 */ import request from '@/utils/request' @@ -282,3 +282,11 @@ export function mynoticeRead(params) { params, }) } +// 消息提醒已读 +export function getDataResource(data) { + return request({ + url: '/resource/getDataResource', + method: 'post', + data, + }) +} diff --git a/front/src/assets/home/jcss-bg.png b/front/src/assets/home/jcss-bg.png new file mode 100644 index 00000000..3f669f05 Binary files /dev/null and b/front/src/assets/home/jcss-bg.png differ diff --git a/front/src/views/capabilityCloud/components/DataResources.vue b/front/src/views/capabilityCloud/components/DataResources.vue index fb204199..ea419a9b 100644 --- a/front/src/views/capabilityCloud/components/DataResources.vue +++ b/front/src/views/capabilityCloud/components/DataResources.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-19 10:15:33 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-06-19 18:08:39 + * @LastEditTime: 2022-06-22 16:16:37 * @Description: 告诉大家这是什么 -->