diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss
index fdfd5b2..bc22652 100644
--- a/src/assets/styles/index.scss
+++ b/src/assets/styles/index.scss
@@ -145,7 +145,7 @@ aside {
//main-container全局样式
.app-container {
- //height: calc(100vh - 85px);
+ height: calc(100vh - 85px);
padding: 8px 20px 20px;
overflow: auto;
}
diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss
index 1f7b346..5d740c2 100644
--- a/src/assets/styles/ruoyi.scss
+++ b/src/assets/styles/ruoyi.scss
@@ -108,7 +108,7 @@
/** 表单布局 **/
.form-header {
- font-size: 15px;
+ font-size: 16px;
color: #6379bb;
border-bottom: 1px solid #ddd;
margin: 8px 10px 25px 10px;
diff --git a/src/components/form/index.vue b/src/components/form/index.vue
index 633ac26..b1f870b 100644
--- a/src/components/form/index.vue
+++ b/src/components/form/index.vue
@@ -2,7 +2,7 @@
-
+
-
+
+ handleClick({fnCode: command}, scope.row)">
+ {{item && item.title ? item.title : '更多'}}
+
+ {{dropBut.content}}
+
+
+
+
+
{{item.content}}
-
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 73ec479..b5da809 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -197,20 +197,6 @@ export const dynamicRoutes = [
}
]
},
- // {
- // path: '/disRevenue/earnManage/server/graphicAnalysis',
- // component: Layout,
- // hidden: true,
- // permissions: ['disRevenue:earnManage:server:graphicAnalysis'],
- // children: [
- // {
- // path: 'index/:dialogVal?',
- // component: () => import('@/views/disRevenue/earnManage/server/dialogView'),
- // name: 'DialogView',
- // meta: { title: '图形分析', activeMenu: '/disRevenue/earnManage/server' }
- // }
- // ]
- // },
// 交换机带宽收益
{
path: '/earnManage/switch/list',
@@ -226,20 +212,6 @@ export const dynamicRoutes = [
}
]
},
- // {
- // path: '/disRevenue/earnManage/switch/edit',
- // component: Layout,
- // hidden: true,
- // permissions: ['disRevenue:earnManage:switch:edit'],
- // children: [
- // {
- // path: 'index/:switchId?',
- // component: () => import('@/views/disRevenue/earnManage/server/details'),
- // name: 'SwitchEdit',
- // meta: { title: '生成月均日95值', activeMenu: '/disRevenue/earnManage/switch' }
- // }
- // ]
- // },
// 业务管理
{
path: '/earnManage/business/details',
@@ -255,6 +227,7 @@ export const dynamicRoutes = [
}
]
},
+ // 资源注册
{
path: '/resource/register/edit',
component: Layout,
@@ -265,7 +238,50 @@ export const dynamicRoutes = [
path: 'index/:id?',
component: () => import('@/views/resource/register/handle'),
name: 'RegisterEdit',
- meta: { title: '相关数据', activeMenu: '/resource/register' }
+ meta: { title: '资源注册信息', activeMenu: '/resource/register' }
+ }
+ ]
+ },
+ // 交换机管理
+ {
+ path: '/resource/switchRegister/edit',
+ component: Layout,
+ hidden: true,
+ permissions: ['resource:switchRegister:edit'],
+ children: [
+ {
+ path: 'index/:id?',
+ component: () => import('@/views/resource/switchRegister/handle'),
+ name: 'SwitchRegisterEdit',
+ meta: { title: '交换机注册信息', activeMenu: '/resource/switchRegister' }
+ }
+ ]
+ },
+ {
+ path: '/resource/switchRegister/portRemarks',
+ component: Layout,
+ hidden: true,
+ permissions: ['resource:switchRegister:portRemarks'],
+ children: [
+ {
+ path: ':id?',
+ component: () => import('@/views/resource/switchRegister/portRemarks'),
+ name: 'SwitchRegisterPortRemarks',
+ meta: { title: '接口备注', activeMenu: '/resource/switchRegister' }
+ }
+ ]
+ },
+ {
+ path: '/resource/switchRegister/monitorChart',
+ component: Layout,
+ hidden: true,
+ permissions: ['resource:switchRegister:echartView'],
+ children: [
+ {
+ path: ':id?',
+ component: () => import('@/views/resource/switchRegister/monitorChart'),
+ name: 'SwitchRegisterChart',
+ meta: { title: '图形监控', activeMenu: '/resource/switchRegister' }
}
]
},
diff --git a/src/views/agentCollect/cpuData/cpuDataView.vue b/src/views/agentCollect/cpuData/cpuDataView.vue
index 70ddf98..80e8b00 100644
--- a/src/views/agentCollect/cpuData/cpuDataView.vue
+++ b/src/views/agentCollect/cpuData/cpuDataView.vue
@@ -75,7 +75,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/resource/group");
break;
default:
diff --git a/src/views/earnManage/business/details.vue b/src/views/earnManage/business/details.vue
index 1356246..c781871 100644
--- a/src/views/earnManage/business/details.vue
+++ b/src/views/earnManage/business/details.vue
@@ -63,7 +63,7 @@
this.loading = false;
});
break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/earnManage/business");
break;
default:
diff --git a/src/views/earnManage/server/analysisChart.vue b/src/views/earnManage/server/analysisChart.vue
index 12ea9b7..8acc1d8 100644
--- a/src/views/earnManage/server/analysisChart.vue
+++ b/src/views/earnManage/server/analysisChart.vue
@@ -372,7 +372,7 @@
switch (result.fnCode) {
case 'submit':
break;
- case 'cancle':
+ case 'cancel':
break;
default:
}
diff --git a/src/views/earnManage/server/details.vue b/src/views/earnManage/server/details.vue
index c545a54..3278dd3 100644
--- a/src/views/earnManage/server/details.vue
+++ b/src/views/earnManage/server/details.vue
@@ -90,7 +90,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
if (this.paramsData && this.paramsData.resourceType === '1') {
this.$router.push("/earnManage/server");
}
diff --git a/src/views/resource/agentUpdate/agentUpdateView.vue b/src/views/resource/agentUpdate/agentUpdateView.vue
index 191edba..9532d41 100644
--- a/src/views/resource/agentUpdate/agentUpdateView.vue
+++ b/src/views/resource/agentUpdate/agentUpdateView.vue
@@ -108,7 +108,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/resource/agentUpdate");
break;
default:
diff --git a/src/views/resource/alarmLog/alarmLog.vue b/src/views/resource/alarmLog/alarmLog.vue
index e8aeb3a..465cfcd 100644
--- a/src/views/resource/alarmLog/alarmLog.vue
+++ b/src/views/resource/alarmLog/alarmLog.vue
@@ -129,7 +129,7 @@
switch (result.fnCode) {
case 'details':
this.$router.push({
- path:'/disRevenue/resource/alarmLog/details',
+ path:'/resource/alarmLog/details',
query:{
id: rowData.id
}
diff --git a/src/views/resource/alarmLog/alarmLogDetails.vue b/src/views/resource/alarmLog/alarmLogDetails.vue
index f4c28c7..85b74d3 100644
--- a/src/views/resource/alarmLog/alarmLogDetails.vue
+++ b/src/views/resource/alarmLog/alarmLogDetails.vue
@@ -58,7 +58,7 @@
callback(result, dataVal, formVal) {
if (result && result.fnCode) {
switch (result.fnCode) {
- case 'cancle':
+ case 'cancel':
this.$router.push("/resource/alarmLog");
break;
default:
diff --git a/src/views/resource/fileManage/fileManageView.vue b/src/views/resource/fileManage/fileManageView.vue
index a4504ae..3560024 100644
--- a/src/views/resource/fileManage/fileManageView.vue
+++ b/src/views/resource/fileManage/fileManageView.vue
@@ -10,7 +10,7 @@
- 返回
+ 返回
@@ -111,7 +111,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/resource/fileManage");
break;
default:
diff --git a/src/views/resource/group/details.vue b/src/views/resource/group/details.vue
index bcfcccb..b02465d 100644
--- a/src/views/resource/group/details.vue
+++ b/src/views/resource/group/details.vue
@@ -85,7 +85,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/resource/group");
break;
// case 'includedDevicesId':
diff --git a/src/views/resource/group/index.vue b/src/views/resource/group/index.vue
index e77bd8d..93de5ef 100644
--- a/src/views/resource/group/index.vue
+++ b/src/views/resource/group/index.vue
@@ -60,12 +60,12 @@
],
tableButton: {
top: [
- {content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:register:add'},
- {content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'disRevenue:resource:register:detele'},
- {content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:register:export'},
+ {content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'resource:register:add'},
+ {content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'resource:register:detele'},
+ {content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'resource:register:export'},
],
line: [
- {content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:register:edit'},
+ {content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:register:edit'},
]
}
}
diff --git a/src/views/resource/monitorTemp/index.vue b/src/views/resource/monitorTemp/index.vue
index 33c8dcd..4cf19c1 100644
--- a/src/views/resource/monitorTemp/index.vue
+++ b/src/views/resource/monitorTemp/index.vue
@@ -59,13 +59,13 @@
],
tableButton: {
top: [
- {content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:monitorTemp:add'},
- {content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'disRevenue:resource:monitorTemp:detele'},
- {content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:monitorTemp:export'},
+ {content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'resource:monitorTemp:add'},
+ {content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'resource:monitorTemp:detele'},
+ {content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'resource:monitorTemp:export'},
],
line: [
- {content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:monitorTemp:edit'},
- {content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:monitorTemp:details'},
+ {content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:monitorTemp:edit'},
+ {content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:monitorTemp:details'},
// {content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'disRevenue:resource:monitorTemp:copy'},
]
}
@@ -113,11 +113,11 @@
switch (result.fnCode) {
case 'add':
this.$router.push({
- path:'/disRevenue/resource/monitorTemp/details/index'});
+ path:'/resource/monitorTemp/details/index'});
break;
case 'edit':
this.$router.push({
- path:'/disRevenue/resource/monitorTemp/details/index',
+ path:'/resource/monitorTemp/details/index',
query:{
id: rowData.id
}
@@ -125,7 +125,7 @@
break;
case 'details':
this.$router.push({
- path:'/disRevenue/resource/monitorTemp/view/index',
+ path:'/resource/monitorTemp/view/index',
query:{
id: rowData.id,
readonly: true
diff --git a/src/views/resource/register/handle.vue b/src/views/resource/register/handle.vue
index 2904e89..abfc87f 100644
--- a/src/views/resource/register/handle.vue
+++ b/src/views/resource/register/handle.vue
@@ -114,7 +114,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/resource/register")
break;
default:
diff --git a/src/views/resource/register/index.vue b/src/views/resource/register/index.vue
index 4204fb0..6850b28 100644
--- a/src/views/resource/register/index.vue
+++ b/src/views/resource/register/index.vue
@@ -2,14 +2,56 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 返回
+ 返回
@@ -114,7 +114,7 @@
// this.$modal.msgError("操作失败")
// });
// break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/resource/remoteManage");
break;
default:
diff --git a/src/views/resource/resMonitor/details.vue b/src/views/resource/resMonitor/details.vue
index 8c1d862..27f553c 100644
--- a/src/views/resource/resMonitor/details.vue
+++ b/src/views/resource/resMonitor/details.vue
@@ -156,7 +156,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
if (this.paramsData && this.paramsData.resourceType === '1') {
this.$router.push("/earnManage/server");
}
diff --git a/src/views/resource/resMonitor/index.vue b/src/views/resource/resMonitor/index.vue
index 040994b..84b0f07 100644
--- a/src/views/resource/resMonitor/index.vue
+++ b/src/views/resource/resMonitor/index.vue
@@ -223,14 +223,14 @@
fnDetails(row,type) {
if (type && type === '1') {
this.$router.push({
- path:'/disRevenue/resource/resMonitor/digitalSuper',
+ path:'/resource/resMonitor/digitalSuper',
query:{
id: row.id
}
});
} else {
this.$router.push({
- path:'/disRevenue/resource/resMonitor/digitalAutoFind',
+ path:'/resource/resMonitor/digitalAutoFind',
query:{
id: row.id
}
@@ -260,7 +260,7 @@
switch (result.fnCode) {
case 'details':
this.$router.push({
- path:'/disRevenue/resource/resMonitor/details/index',
+ path:'/resource/resMonitor/details/index',
query:{
id: rowData.id
}
diff --git a/src/views/resource/switchManage/switchManage.vue b/src/views/resource/switchManage/switchManage.vue
deleted file mode 100644
index ee31775..0000000
--- a/src/views/resource/switchManage/switchManage.vue
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/resource/switchRegister/firstMonitor.vue b/src/views/resource/switchRegister/firstMonitor.vue
new file mode 100644
index 0000000..27f1b6f
--- /dev/null
+++ b/src/views/resource/switchRegister/firstMonitor.vue
@@ -0,0 +1,95 @@
+
+
+
+
+ {{item}}{{formValue[key]}}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/resource/switchRegister/handle.vue b/src/views/resource/switchRegister/handle.vue
new file mode 100644
index 0000000..2f6eac8
--- /dev/null
+++ b/src/views/resource/switchRegister/handle.vue
@@ -0,0 +1,202 @@
+
+
+
+
+
接口备注信息
+
+
+
+
+
+ {{ row.resourceName }}
+
+
+
+
+
+
+
+
+ 确定
+ 取消
+
+
+
+
+
+
+
返回
+
+
+
+
+
diff --git a/src/views/resource/switchRegister/index.vue b/src/views/resource/switchRegister/index.vue
new file mode 100644
index 0000000..5366248
--- /dev/null
+++ b/src/views/resource/switchRegister/index.vue
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/resource/switchRegister/monitorChart.vue b/src/views/resource/switchRegister/monitorChart.vue
new file mode 100644
index 0000000..aaa169b
--- /dev/null
+++ b/src/views/resource/switchRegister/monitorChart.vue
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 返回
+
+
+
+
+
+
+
diff --git a/src/views/resource/switchRegister/monitorStrategy.vue b/src/views/resource/switchRegister/monitorStrategy.vue
new file mode 100644
index 0000000..3a7195b
--- /dev/null
+++ b/src/views/resource/switchRegister/monitorStrategy.vue
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
策略内容
+
+
+
+
+
+
+ {{city.id}}--{{ city.metricKey }}
+ {{city.metricName}}
+
+
+ 采集周期:
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+ 采集周期:
+
+
+
+
+
+
+ {{city.id}}--{{city.metricKey}}
+ {{city.metricName}}
+
+
+
+
+
+
+
+
取消
+
提交
+
+
+
+
+
+
diff --git a/src/views/resource/switchRegister/portRemarks.vue b/src/views/resource/switchRegister/portRemarks.vue
new file mode 100644
index 0000000..dd3c424
--- /dev/null
+++ b/src/views/resource/switchRegister/portRemarks.vue
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/resource/switchRegister/secondAutoFind.vue b/src/views/resource/switchRegister/secondAutoFind.vue
new file mode 100644
index 0000000..ffdccc6
--- /dev/null
+++ b/src/views/resource/switchRegister/secondAutoFind.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+ {{item}}{{val.formModel[key]}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/resource/topology/details.vue b/src/views/resource/topology/details.vue
index ee8fa25..cff5a42 100644
--- a/src/views/resource/topology/details.vue
+++ b/src/views/resource/topology/details.vue
@@ -165,7 +165,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/resource/topology");
break;
default:
diff --git a/src/views/sync/problemRecord/details.vue b/src/views/sync/problemRecord/details.vue
index 2a51785..69c6561 100644
--- a/src/views/sync/problemRecord/details.vue
+++ b/src/views/sync/problemRecord/details.vue
@@ -72,7 +72,7 @@
this.$modal.msgError("操作失败")
});
break;
- case 'cancle':
+ case 'cancel':
this.$router.push("/problemRecord");
break;
default:
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index c7a3c1d..c77978b 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -1,553 +1,553 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导入
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
- handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']">
- 更多
-
- 重置密码
- 分配角色
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dict.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 将文件拖到此处,或点击上传
-
-
- 是否更新已经存在的用户数据
-
-
仅允许导入xls、xlsx格式文件。
-
下载模板
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导入
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+ 删除
+ handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']">
+ 更多
+
+ 重置密码
+ 分配角色
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ dict.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
+ 是否更新已经存在的用户数据
+
+
仅允许导入xls、xlsx格式文件。
+
下载模板
+
+
+
+
+
+
+
+