diff --git a/src/api/tunnelManage.js b/src/api/tunnelManage.js
index b924c9b..9374a38 100644
--- a/src/api/tunnelManage.js
+++ b/src/api/tunnelManage.js
@@ -7,11 +7,13 @@ export const getTunnelList = (params) => {
params
})
}
-export const editTunnel = (data) => {
+export const getTunnelDetail = (tunnelId) => {
return request({
- url: '/tunnel/tunnel',
- method: 'put',
- data
+ url: `/tunnel/tunnel/${tunnelId}`,
+ method: 'get',
+ params:{
+ tunnelId:tunnelId
+ }
})
}
export const addTunnel = (data) => {
@@ -27,3 +29,20 @@ export const deleteTunnel = (tunnelIdList) => {
method: 'delete'
})
}
+//设备信息列表
+export const getEquipmentList = (tunnelId) => {
+ return request({
+ url: '/tunnel/equipment/equipments',
+ method: 'get',
+ params:{
+ tunnelId:tunnelId
+ }
+ })
+}
+export const editTunnel = (data) => {
+ return request({
+ url: '/tunnel/model/details',
+ method: 'post',
+ data
+ })
+}
\ No newline at end of file
diff --git a/src/components/manageBtn/index.vue b/src/components/manageBtn/index.vue
index bfddc1c..064e94d 100644
--- a/src/components/manageBtn/index.vue
+++ b/src/components/manageBtn/index.vue
@@ -46,11 +46,11 @@ const btnList = ref([
icon: 'sp_icon_yhgl.png',
name: '用户管理'
},
- {
- route: '/system',
- icon: 'sp_icon_xtgl.png',
- name: '系统管理'
- },
+ // {
+ // route: '/system',
+ // icon: 'sp_icon_xtgl.png',
+ // name: '系统管理'
+ // },
// {
// icon: 'sp_icon_mngl.png',
// name: '模拟仿真'
diff --git a/src/views/device-manage/index.vue b/src/views/device-manage/index.vue
index 9927eb3..ed9778d 100644
--- a/src/views/device-manage/index.vue
+++ b/src/views/device-manage/index.vue
@@ -26,9 +26,9 @@