diff --git a/src/api/disRevenue/earnManage.js b/src/api/disRevenue/earnManage.js
index 6d28ca6..89de861 100644
--- a/src/api/disRevenue/earnManage.js
+++ b/src/api/disRevenue/earnManage.js
@@ -340,3 +340,11 @@ export function delBusDeploy(roleId) {
method: 'delete'
})
}
+// 提交审核
+export function reviewBusiness(data) {
+ return request({
+ url: '/system/businessDeploy/reviewBusiness',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/api/disRevenue/resource.js b/src/api/disRevenue/resource.js
index 65e08cb..3fd4ad5 100644
--- a/src/api/disRevenue/resource.js
+++ b/src/api/disRevenue/resource.js
@@ -408,3 +408,121 @@ export function delAgentManage(Ids) {
method: 'delete'
})
}
+
+/** --------------交换机管理--------------- */
+// 查询列表
+export function listSwitchManage(query) {
+ return request({
+ url: '/system/switchManagement/list',
+ method: 'post',
+ data: query
+ })
+}
+// 所有列表
+export function listAllSwitchName(query) {
+ return request({
+ url: '/system/switchManagement/getAllSwitchName',
+ method: 'post',
+ data: query
+ })
+}
+
+// 查询详细
+export function getSwitchManage(Id) {
+ return request({
+ url: '/system/switchManagement/' + Id,
+ method: 'get'
+ })
+}
+
+// 新增
+export function addSwitchManage(data) {
+ return request({
+ url: '/system/switchManagement',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改
+export function updateSwitchManage(data) {
+ return request({
+ url: '/system/switchManagement',
+ method: 'put',
+ data: data
+ })
+}
+// 图形监控-基础信息
+export function switchMonitorData(data) {
+ return request({
+ url: '/rocketmq/switchOtherData/getSwitchMonitorMsg',
+ method: 'post',
+ data: data
+ })
+}
+// 图形监控-设备cpu使用率
+export function switchCpuData(data) {
+ return request({
+ url: '/rocketmq/switchOtherData/getSwitchCpuUseMsg',
+ method: 'post',
+ data: data
+ })
+}
+// 图形监控-设备内存使用率
+export function switchMemData(data) {
+ return request({
+ url: '/rocketmq/switchOtherData/getSwitchMemUseMsg',
+ method: 'post',
+ data: data
+ })
+}
+// 图形监控-功率
+export function switchPowerData(data) {
+ return request({
+ url: '/rocketmq/switchOtherData/getSwitchPowerMsg',
+ method: 'post',
+ data: data
+ })
+}
+
+
+/** --------------接口备注信息--------------- */
+// 查询列表
+// export function listAllSwitchInterface(query) {
+// return request({
+// url: '/system/switchInterfaceInfo/list',
+// method: 'post',
+// data: query
+// })
+// }
+
+// 查询详细
+export function getSwitchInterface(Id) {
+ return request({
+ url: '/system/switchInterfaceInfo/' + Id,
+ method: 'get'
+ })
+}
+// 新增
+export function addSwitchInterface(data) {
+ return request({
+ url: '/system/switchInterfaceInfo',
+ method: 'post',
+ data: data
+ })
+}
+// 修改
+export function updateSwitchInterface(data) {
+ return request({
+ url: '/system/switchInterfaceInfo',
+ method: 'put',
+ data: data
+ })
+}
+// 删除
+export function delSwitchInterface(Ids) {
+ return request({
+ url: '/system/switchInterfaceInfo/' + Ids,
+ method: 'delete'
+ })
+}
diff --git a/src/components/form/index.vue b/src/components/form/index.vue
index b1f870b..191f583 100644
--- a/src/components/form/index.vue
+++ b/src/components/form/index.vue
@@ -22,7 +22,11 @@
@[formVal.eventName]="(val) => handleChange(key,val,formVal)">
+
+ {{ruleForm[key]}}
+
-
-
-
-
- {{item.title}}
-
-
-
-
- 提交
- 返回
-
-
-
+
+
+
+
+ {{item.title}}
+
+
+
+
+ 提交
+ 返回
+
+
+
@@ -239,7 +243,7 @@
});
});
},
- submitForm() {
+ submitForm(fnCodeName) {
let forList = {...this.ruleForm};
this.$refs.ruleForm.validate(valid => {
if (valid) {
@@ -252,7 +256,7 @@
}
});
});
- this.$emit('fnClick', {fnCode: 'submit'}, {...forList});
+ this.$emit('fnClick', {fnCode: fnCodeName}, {...forList});
} else {
return false;
}
@@ -280,6 +284,7 @@
this.handleReset();
break;
default:
+ this.submitForm(result.fnCode);
}
}
},
diff --git a/src/views/earnManage/businessIssued/businessIssued.vue b/src/views/earnManage/businessIssued/businessIssued.vue
index ed5d6b0..bd3b27b 100644
--- a/src/views/earnManage/businessIssued/businessIssued.vue
+++ b/src/views/earnManage/businessIssued/businessIssued.vue
@@ -27,7 +27,7 @@
-
diff --git a/src/views/resource/topology/index.vue b/src/views/resource/topology/index.vue
index b2f7026..d22ef0b 100644
--- a/src/views/resource/topology/index.vue
+++ b/src/views/resource/topology/index.vue
@@ -5,7 +5,7 @@
@@ -46,14 +46,16 @@
columns: {
id: { label: `ID`, width: '50', visible: false },
switchName: { label: `交换机名称`, minWidth: '150', visible: true },
- switchSn: { label: `交换机硬件SN`, minWidth: '200', visible: false},
+ switchSn: { label: `交换机硬件SN`, minWidth: '200'},
interfaceName: { label: `接口名称`, minWidth: '100', visible: true },
connectedDeviceType: { label: `接口连接设备类型`, slotName: 'tempType', minWidth: '150', visible: true },
- serverName: { label: `服务器名称`, minWidth: '200', visible: true},
+ serverName: { label: `服务器ClientID`, minWidth: '200', visible: true},
serverSn: { label: `服务器硬件SN`, minWidth: '200', visible: false},
serverPort: { label: `服务器网口`, minWidth: '250', visible: true },
- createTime: { label: `创建时间`, minWidth: '150', visible: false},
- updateTime:{ label: `修改时间`, minWidth: '150', visible: false}
+ peerSwitchName: { label: `对端交换机名称`, minWidth: '250', visible: true },
+ peerSwitchInterface: { label: `对端交换机接口`, minWidth: '250', visible: true },
+ createTime: { label: `创建时间`, minWidth: '150'},
+ updateTime:{ label: `修改时间`, minWidth: '150'}
},
config: {
searcherForm: [
diff --git a/src/views/sync/problemRecord/index.vue b/src/views/sync/problemRecord/index.vue
index 8f9bd25..cce9bd4 100644
--- a/src/views/sync/problemRecord/index.vue
+++ b/src/views/sync/problemRecord/index.vue
@@ -1,21 +1,22 @@
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
@@ -160,3 +161,8 @@
}
}
+