diff --git a/front/public/static/config/basicConfig.js b/front/public/static/config/basicConfig.js index 73869dc9..e8518f3e 100644 --- a/front/public/static/config/basicConfig.js +++ b/front/public/static/config/basicConfig.js @@ -2,13 +2,13 @@ * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-08-25 15:19:39 + * @LastEditTime: 2022-08-25 17:19:45 * @Description: 系统静态参数配置 */ var _global = {} var CONFIGITEM = { - // version: 'qingdao', //青岛 - version: 'xihaian', // 西海岸 + version: 'qingdao', //青岛 + //version: 'xihaian', // 西海岸 //version: 'dev', // 开发 //version: 'test', // 测试 //version: 'frp', // 内网穿透 diff --git a/front/public/static/config/location.js b/front/public/static/config/location.js index 900c698e..bf3fed64 100644 --- a/front/public/static/config/location.js +++ b/front/public/static/config/location.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-08-25 14:06:25 + * @LastEditTime: 2022-08-25 18:47:08 * @Description: 数据资源参数配置 */ // eslint-disable-next-line no-undef @@ -39,8 +39,8 @@ if (newLocation !== 'baotou' && newLocation !== 'xihaian') { // { name: '个人中心', key: 'personalCenter' }, { name: '区市站点', key: 'mapTest' }, // { name: '后台管理', key: 'houtaiguanli' }, - { name: '典型赋能案例', key: 'assignCase' }, - // { name: '融合服务', key: 'integrationServices' }, + // { name: '典型赋能案例', key: 'assignCase' }, + { name: '融合服务', key: 'integrationServices' }, { name: 'CIM专区', key: 'cimSpecialArea' }, ] footerDataList.footerList = { diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index eb7001e0..57adcc91 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -93,7 +93,7 @@ -
+
+ 批量预览 + + + 批量预览 @@ -563,7 +572,41 @@
- + + + +
+
+

+ +
+
+ +
+ 0) { + videoTotal.value = selectedList.value.length + const arr = JSON.parse(JSON.stringify(selectedList.value)) + let start = (page - 1) * 4 + let list = [] + list = arr.splice(start, 4) + const length = list.length + videoList.value = [] + for (let index = 0; index < length; index++) { + const param = { + channelCode: list[index].channelId, + } + let ob = { + options: { + src: '', //图片源 + }, + } + selectByChannelCode(param).then((res) => { + ob.options.src = (res.data.data && res.data.data[0].picUrl) || '' + videoList.value.push(ob) + }) + } + console.log('验证数据的准确性', videoList) + batchPicVisible.value = true + } else { + message.error('请选择需要预览的数据') + } + } // 清空 const nullClick = () => { clickList.value[1].content = [] diff --git a/front/src/views/home/integrationServicesDetails.vue b/front/src/views/home/integrationServicesDetails.vue index c792ace5..3f0f132f 100644 --- a/front/src/views/home/integrationServicesDetails.vue +++ b/front/src/views/home/integrationServicesDetails.vue @@ -1,7 +1,7 @@