diff --git a/src/api/productCenter.js b/src/api/productCenter.js
index 44e8ae8..7446d4e 100644
--- a/src/api/productCenter.js
+++ b/src/api/productCenter.js
@@ -24,3 +24,11 @@ export function getProductCenterProductInfos(query) {
params: query
})
}
+export function getProductCenterProductDetailInfo(query) {
+ return request({
+ url: '/portal/portal/getProductCenterProductDetailInfos',
+ method: 'get',
+ params: query
+ })
+}
+
diff --git a/src/components/menu/index.vue b/src/components/menu/index.vue
index feae91f..280dfb8 100644
--- a/src/components/menu/index.vue
+++ b/src/components/menu/index.vue
@@ -131,13 +131,29 @@ export default {
pageNum: 1,
pageSize: 111
}).then(e => {
- // this.menuList[1].children = e.rows.map(v => {
- // return {
- // name: v.configTypeName,
- // icon: v.homeConfigTypePic,
- // path: ''
- // }
- // })
+ console.log(e)
+ this.menuList[1].children = e.rows.map(v => {
+ return {
+ name: v.configTypeName,
+ icon: v.configTypeIcon,
+ path: '/productCenter/industrialInternet?portalConfigTypeId='+v.configTypeId
+ }
+ })
+ })
+ getPortalConfigTypeList({
+ configTypeClassfication: 2,
+ parentId: 0,
+ pageNum: 1,
+ pageSize: 111
+ }).then(e => {
+ console.log(e)
+ this.menuList[2].children = e.rows.map(v => {
+ return {
+ name: v.configTypeName,
+ icon: v.configTypeIcon,
+ path: '/casesAndClients/IOT?portalConfigTypeId='+v.configTypeId
+ }
+ })
})
}
}
diff --git a/src/views/casesAndClients/IOT/index.vue b/src/views/casesAndClients/IOT/index.vue
index d1f53cc..5f74466 100644
--- a/src/views/casesAndClients/IOT/index.vue
+++ b/src/views/casesAndClients/IOT/index.vue
@@ -9,7 +9,8 @@