diff --git a/back/public/index.html b/back/public/index.html index 1d32cc9d..d96dc6a3 100644 --- a/back/public/index.html +++ b/back/public/index.html @@ -1,8 +1,8 @@ @@ -44,7 +44,7 @@ // window.SITE_CONFIG['apiURL'] = 'http://15.2.21.166:8888/renren-admin'; // window.SITE_CONFIG['apiURL'] = 'http://124.222.94.39:8888/renren-admin'; // window.SITE_CONFIG['apiURL'] = 'http://10.16.5.35:8888/renren-admin'; - window.SITE_CONFIG['apiURL'] = 'http://15.2.21.239:8888/renren-admin'; + window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin'; window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796/'; // window.SITE_CONFIG['apiURL'] = 'http://15.2.23.141:8000/renren-admin'; // WebSocket地址 diff --git a/back/src/mixins/view-module.js b/back/src/mixins/view-module.js index ae81da9b..b7b8b33e 100644 --- a/back/src/mixins/view-module.js +++ b/back/src/mixins/view-module.js @@ -109,6 +109,11 @@ export default { } console.log('数据列表', this.dataList, this.mixinViewModuleOptions.getDataListURL) + if (this.dataList[0].type === '组件服务') { + this.dataList.map(val => { + val.infoList = val.infoList.filter(item => item.attrType === '部署位置' || item.attrType === '组件类型' || item.attrType === '应用领域') + }) + } if (this.mixinViewModuleOptions.requestCallback) { this.mixinViewModuleOptions.requestCallback(res.data) } diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue index 930685e1..c7a467c4 100644 --- a/back/src/views/modules/ability/bsabilityai.vue +++ b/back/src/views/modules/ability/bsabilityai.vue @@ -69,6 +69,14 @@ header-align="center" align="center" > + import { ref, reactive, defineProps } from 'vue' import mybus from '@/myplugins/mybus' - import { updateVisits } from '@/api/home' + import { updateVisits, browsingInsert } from '@/api/home' const props = defineProps({ resourceList: { type: Array, default: null }, resourceTotal: { type: String, default: '' }, @@ -66,6 +66,9 @@ const openHref = (item) => { console.log(item.id, 'wowowo') console.log(item.visits, 'wowowo') + browsingInsert({ resourceId: item.id }).then((res) => { + // console.log(res) + }) const arrList = ref([]) arrList.value = JSON.parse(window.sessionStorage.getItem('visits')) if (arrList.value.indexOf(item.id) === -1) { diff --git a/front/src/views/personalCenter/components/MyBrowse.vue b/front/src/views/personalCenter/components/MyBrowse.vue index 7cc980a6..eedeeb9b 100644 --- a/front/src/views/personalCenter/components/MyBrowse.vue +++ b/front/src/views/personalCenter/components/MyBrowse.vue @@ -44,7 +44,9 @@ >