修改收益和资源管理的路径
This commit is contained in:
@@ -5,7 +5,7 @@ Vue.use(Router)
|
||||
|
||||
/* Layout */
|
||||
import Layout from '@/layout'
|
||||
import DialogView from '@/views/disRevenue/earnManage/server/dialogView.vue'
|
||||
import DialogView from '@/views/earnManage/server/dialogView.vue'
|
||||
|
||||
/**
|
||||
* Note: 路由配置项
|
||||
@@ -170,30 +170,30 @@ export const dynamicRoutes = [
|
||||
},
|
||||
// 服务器带宽收益管理
|
||||
{
|
||||
path: '/disRevenue/earnManage/server/list',
|
||||
path: '/earnManage/server/list',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:earnManage:server:list'],
|
||||
permissions: ['earnManage:server:list'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:serverId?',
|
||||
component: () => import('@/views/disRevenue/earnManage/server/relevantData'),
|
||||
component: () => import('@/views/earnManage/server/relevantData'),
|
||||
name: 'ServerList',
|
||||
meta: { title: '相关数据', activeMenu: '/disRevenue/earnManage/server' }
|
||||
meta: { title: '相关数据', activeMenu: '/earnManage/server' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disRevenue/earnManage/server/edit',
|
||||
path: '/earnManage/server/edit',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:earnManage:server:edit'],
|
||||
permissions: ['earnManage:server:edit'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:serverId?',
|
||||
component: () => import('@/views/disRevenue/earnManage/server/details'),
|
||||
component: () => import('@/views/earnManage/server/details'),
|
||||
name: 'ServerEdit',
|
||||
meta: { title: '生成月均日95值', activeMenu: '/disRevenue/earnManage/server' }
|
||||
meta: { title: '生成月均日95值', activeMenu: '/earnManage/server' }
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -213,16 +213,16 @@ export const dynamicRoutes = [
|
||||
// },
|
||||
// 交换机带宽收益
|
||||
{
|
||||
path: '/disRevenue/earnManage/switch/list',
|
||||
path: '/earnManage/switch/list',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:earnManage:switch:list'],
|
||||
permissions: ['earnManage:switch:list'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:switchId?',
|
||||
component: () => import('@/views/disRevenue/earnManage/switch/switchRelevantData'),
|
||||
component: () => import('@/views/earnManage/switch/switchRelevantData'),
|
||||
name: 'SwitchList',
|
||||
meta: { title: '相关数据', activeMenu: '/disRevenue/earnManage/switch' }
|
||||
meta: { title: '相关数据', activeMenu: '/earnManage/switch' }
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -242,73 +242,73 @@ export const dynamicRoutes = [
|
||||
// },
|
||||
// 业务管理
|
||||
{
|
||||
path: '/disRevenue/earnManage/business/details',
|
||||
path: '/earnManage/business/details',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:earnManage:business:details'],
|
||||
permissions: ['earnManage:business:details'],
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/disRevenue/earnManage/business/details'),
|
||||
component: () => import('@/views/earnManage/business/details'),
|
||||
name: 'BusinessDetails',
|
||||
meta: { title: '业务信息', noCache: true ,activeMenu: '/disRevenue/earnManage/business' }
|
||||
meta: { title: '业务信息', noCache: true ,activeMenu: '/earnManage/business' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disRevenue/resource/register/edit',
|
||||
path: '/resource/register/edit',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:register:edit'],
|
||||
permissions: ['resource:register:edit'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/register/handle'),
|
||||
component: () => import('@/views/resource/register/handle'),
|
||||
name: 'RegisterEdit',
|
||||
meta: { title: '相关数据', activeMenu: '/disRevenue/resource/register' }
|
||||
meta: { title: '相关数据', activeMenu: '/resource/register' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 资源拓扑
|
||||
{
|
||||
path: '/disRevenue/resource/topology/edit',
|
||||
path: '/resource/topology/edit',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:topology:edit'],
|
||||
permissions: ['resource:topology:edit'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/topology/details'),
|
||||
component: () => import('@/views/resource/topology/details'),
|
||||
name: 'TopologyEdit',
|
||||
meta: { title: '拓扑信息', activeMenu: '/disRevenue/resource/topology' }
|
||||
meta: { title: '拓扑信息', activeMenu: '/resource/topology' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disRevenue/resource/topology/gplot',
|
||||
path: '/resource/topology/gplot',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:topology:gplot'],
|
||||
permissions: ['resource:topology:gplot'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/topology/gplot'),
|
||||
component: () => import('@/views/resource/topology/gplot'),
|
||||
name: 'TopologyGplot',
|
||||
meta: { title: '拓扑展示', activeMenu: '/disRevenue/resource/topology' }
|
||||
meta: { title: '拓扑展示', activeMenu: '/resource/topology' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disRevenue/resource/group/edit',
|
||||
path: '/resource/group/edit',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:group:edit'],
|
||||
permissions: ['resource:group:edit'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/group/details'),
|
||||
component: () => import('@/views/resource/group/details'),
|
||||
name: 'GroupEdit',
|
||||
meta: { title: '资源分组信息', activeMenu: '/disRevenue/resource/group' }
|
||||
meta: { title: '资源分组信息', activeMenu: '/resource/group' }
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -328,192 +328,192 @@ export const dynamicRoutes = [
|
||||
},
|
||||
// 监控模版
|
||||
{
|
||||
path: '/disRevenue/resource/monitorTemp/details',
|
||||
path: '/resource/monitorTemp/details',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:monitorTemp:edit'],
|
||||
permissions: ['resource:monitorTemp:edit'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/monitorTemp/details'),
|
||||
component: () => import('@/views/resource/monitorTemp/details'),
|
||||
name: 'monitorTempEdit',
|
||||
meta: { title: '监控模版信息', activeMenu: '/disRevenue/resource/monitorTemp' }
|
||||
meta: { title: '监控模版信息', activeMenu: '/resource/monitorTemp' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disRevenue/resource/monitorTemp/view',
|
||||
path: '/resource/monitorTemp/view',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:monitorTemp:view'],
|
||||
permissions: ['resource:monitorTemp:view'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/monitorTemp/view'),
|
||||
component: () => import('@/views/resource/monitorTemp/view'),
|
||||
name: 'monitorTempView',
|
||||
meta: { title: '监控模版详情', activeMenu: '/disRevenue/resource/monitorTemp' }
|
||||
meta: { title: '监控模版详情', activeMenu: '/resource/monitorTemp' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 资源监控策略
|
||||
{
|
||||
path: '/disRevenue/resource/monitorStategy/details',
|
||||
path: '/resource/monitorStategy/details',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:monitorStategy:edit'],
|
||||
permissions: ['resource:monitorStategy:edit'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/monitorStategy/details'),
|
||||
component: () => import('@/views/resource/monitorStategy/details'),
|
||||
name: 'monitorStategyEdit',
|
||||
meta: { title: '资源监控策略信息', activeMenu: '/disRevenue/resource/monitorStategy' }
|
||||
meta: { title: '资源监控策略信息', activeMenu: '/resource/monitorStategy' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disRevenue/resource/monitorStategy/view',
|
||||
path: '/resource/monitorStategy/view',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:monitorStategy:view'],
|
||||
permissions: ['resource:monitorStategy:view'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/monitorStategy/view'),
|
||||
component: () => import('@/views/resource/monitorStategy/view'),
|
||||
name: 'monitorStategyView',
|
||||
meta: { title: '资源监控策略详情', activeMenu: '/disRevenue/resource/monitorStategy' }
|
||||
meta: { title: '资源监控策略详情', activeMenu: '/resource/monitorStategy' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 资源监控
|
||||
{
|
||||
path: '/disRevenue/resource/resMonitor/details',
|
||||
path: '/resource/resMonitor/details',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:resMonitor:details'],
|
||||
permissions: ['resource:resMonitor:details'],
|
||||
children: [
|
||||
{
|
||||
path: 'index/:id?',
|
||||
component: () => import('@/views/disRevenue/resource/resMonitor/details'),
|
||||
component: () => import('@/views/resource/resMonitor/details'),
|
||||
name: 'resMonitorEdit',
|
||||
meta: { title: '资源监控信息', activeMenu: '/disRevenue/resource/resMonitor' }
|
||||
meta: { title: '资源监控信息', activeMenu: '/resource/resMonitor' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disRevenue/resource/resMonitor/digitalSuper',
|
||||
path: '/resource/resMonitor/digitalSuper',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:resMonitor:digitalSuper'],
|
||||
permissions: ['resource:resMonitor:digitalSuper'],
|
||||
children: [
|
||||
{
|
||||
path: ':id?',
|
||||
component: () => import('@/views/disRevenue/resource/resMonitor/digitalSuper'),
|
||||
component: () => import('@/views/resource/resMonitor/digitalSuper'),
|
||||
name: 'resMonitorDigitalSuper',
|
||||
meta: { title: '数字监控项信息', activeMenu: '/disRevenue/resource/resMonitor' }
|
||||
meta: { title: '数字监控项信息', activeMenu: '/resource/resMonitor' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disRevenue/resource/resMonitor/digitalAutoFind',
|
||||
path: '/resource/resMonitor/digitalAutoFind',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:resMonitor:digitalAutoFind'],
|
||||
permissions: ['resource:resMonitor:digitalAutoFind'],
|
||||
children: [
|
||||
{
|
||||
path: ':id?',
|
||||
component: () => import('@/views/disRevenue/resource/resMonitor/digitalAutoFind'),
|
||||
component: () => import('@/views/resource/resMonitor/digitalAutoFind'),
|
||||
name: 'resMonitorDigitalAutoFind',
|
||||
meta: { title: '数字监控项信息', activeMenu: '/disRevenue/resource/resMonitor' }
|
||||
meta: { title: '数字监控项信息', activeMenu: '/resource/resMonitor' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 告警管理
|
||||
{
|
||||
path: '/disRevenue/resource/alarmManage/details',
|
||||
path: '/resource/alarmManage/details',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:alarmManage:details'],
|
||||
permissions: ['resource:alarmManage:details'],
|
||||
children: [
|
||||
{
|
||||
path: ':id?',
|
||||
component: () => import('@/views/disRevenue/resource/alarmManage/alarmManageDetails'),
|
||||
component: () => import('@/views/resource/alarmManage/alarmManageDetails'),
|
||||
name: 'alarmManageDetails',
|
||||
meta: { title: '告警管理信息', activeMenu: '/disRevenue/resource/alarmManage' }
|
||||
meta: { title: '告警管理信息', activeMenu: '/resource/alarmManage' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 告警日志
|
||||
{
|
||||
path: '/disRevenue/resource/alarmLog/details',
|
||||
path: '/resource/alarmLog/details',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:alarmLog:details'],
|
||||
permissions: ['resource:alarmLog:details'],
|
||||
children: [
|
||||
{
|
||||
path: ':id?',
|
||||
component: () => import('@/views/disRevenue/resource/alarmLog/alarmLogDetails'),
|
||||
component: () => import('@/views/resource/alarmLog/alarmLogDetails'),
|
||||
name: 'alarmLogDetails',
|
||||
meta: { title: '告警日志信息', activeMenu: '/disRevenue/resource/alarmLog' }
|
||||
meta: { title: '告警日志信息', activeMenu: '/resource/alarmLog' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 文件管理
|
||||
{
|
||||
path: '/disRevenue/resource/fileManage/view',
|
||||
path: '/resource/fileManage/view',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:fileManage:view'],
|
||||
permissions: ['resource:fileManage:view'],
|
||||
children: [
|
||||
{
|
||||
path: ':id?',
|
||||
component: () => import('@/views/disRevenue/resource/fileManage/fileManageView'),
|
||||
component: () => import('@/views/resource/fileManage/fileManageView'),
|
||||
name: 'fileManageView',
|
||||
meta: { title: '文件管理信息', activeMenu: '/disRevenue/resource/fileManage' }
|
||||
meta: { title: '文件管理信息', activeMenu: '/resource/fileManage' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 服务器脚本策略
|
||||
{
|
||||
path: '/disRevenue/resource/serverScript/details',
|
||||
path: '/resource/serverScript/details',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:serverScript:details'],
|
||||
permissions: ['resource:serverScript:details'],
|
||||
children: [
|
||||
{
|
||||
path: ':id?',
|
||||
component: () => import('@/views/disRevenue/resource/serverScript/serverScriptDetails'),
|
||||
component: () => import('@/views/resource/serverScript/serverScriptDetails'),
|
||||
name: 'serverScriptDetails',
|
||||
meta: { title: '服务器脚本策略信息', activeMenu: '/disRevenue/resource/serverScript' }
|
||||
meta: { title: '服务器脚本策略信息', activeMenu: '/resource/serverScript' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// 资源远程管理---脚本执行结果
|
||||
{
|
||||
path: '/disRevenue/resource/remoteManage/view',
|
||||
path: '/resource/remoteManage/view',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:remoteManage:view'],
|
||||
permissions: ['resource:remoteManage:view'],
|
||||
children: [
|
||||
{
|
||||
path: ':id?',
|
||||
component: () => import('@/views/disRevenue/resource/remoteManage/remoteManageView'),
|
||||
component: () => import('@/views/resource/remoteManage/remoteManageView'),
|
||||
name: 'remoteManageView',
|
||||
meta: { title: '脚本执行结果信息', activeMenu: '/disRevenue/resource/remoteManage' }
|
||||
meta: { title: '脚本执行结果信息', activeMenu: '/resource/remoteManage' }
|
||||
}
|
||||
]
|
||||
},
|
||||
// agent更新
|
||||
{
|
||||
path: '/disRevenue/resource/agentUpdate/view',
|
||||
path: '/resource/agentUpdate/view',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['disRevenue:resource:agentUpdate:view'],
|
||||
permissions: ['resource:agentUpdate:view'],
|
||||
children: [
|
||||
{
|
||||
path: ':id?',
|
||||
component: () => import('@/views/disRevenue/resource/agentUpdate/agentUpdateView'),
|
||||
component: () => import('@/views/resource/agentUpdate/agentUpdateView'),
|
||||
name: 'agentUpdateView',
|
||||
meta: { title: 'AGENT更新信息', activeMenu: '/disRevenue/resource/agentUpdate' }
|
||||
meta: { title: 'AGENT更新信息', activeMenu: '/resource/agentUpdate' }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -75,12 +75,12 @@
|
||||
],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:earnManage:business:add'},
|
||||
// {content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'disRevenue:earnManage:business:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:earnManage:business:export'},
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'earnManage:business:add'},
|
||||
// {content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'earnManage:business:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'earnManage:business:export'},
|
||||
],
|
||||
// line: [
|
||||
// {content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:earnManage:business:edit'},
|
||||
// {content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'earnManage:business:edit'},
|
||||
// ]
|
||||
}
|
||||
}
|
||||
@@ -126,7 +126,7 @@
|
||||
switch (result.fnCode) {
|
||||
case 'add':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/earnManage/business/details/index'});
|
||||
path:'/earnManage/business/details/index'});
|
||||
break;
|
||||
case 'submit':
|
||||
if (this.loading) return;
|
||||
@@ -70,7 +70,7 @@
|
||||
config: {
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:earnManage:revenueMethod:export'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'earnManage:revenueMethod:export'},
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -190,13 +190,13 @@
|
||||
// ],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:earnManage:server:export'},
|
||||
{content: '图形分析', fnCode: 'echartView', type: 'success', icon: 'el-icon-data-analysis', hasPermi: 'disRevenue:earnManage:server:graphicAnalysis'},
|
||||
{content: '生成月均日95值', fnCode: 'createData', type: 'success', icon: 'el-icon-data-analysis', hasPermi: 'disRevenue:earnManage:server:add'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'earnManage:server:export'},
|
||||
{content: '图形分析', fnCode: 'echartView', type: 'success', icon: 'el-icon-data-analysis', hasPermi: 'earnManage:server:graphicAnalysis'},
|
||||
{content: '生成月均日95值', fnCode: 'createData', type: 'success', icon: 'el-icon-data-analysis', hasPermi: 'earnManage:server:add'},
|
||||
],
|
||||
line: [
|
||||
{content: '相关数据', fnCode: 'edit', type: 'text', icon: 'el-icon-tickets', hasPermi: 'disRevenue:earnManage:server:relevantData'},
|
||||
{content: '重新计算', fnCode: 'calculate', type: 'text', icon: 'el-icon-brush', hasPermi: 'disRevenue:earnManage:server:calculate'},
|
||||
{content: '相关数据', fnCode: 'edit', type: 'text', icon: 'el-icon-tickets', hasPermi: 'earnManage:server:relevantData'},
|
||||
{content: '重新计算', fnCode: 'calculate', type: 'text', icon: 'el-icon-brush', hasPermi: 'earnManage:server:calculate'},
|
||||
{}
|
||||
]
|
||||
}
|
||||
@@ -335,7 +335,7 @@
|
||||
switch (result.fnCode) {
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/earnManage/server/list/index',
|
||||
path:'/earnManage/server/list/index',
|
||||
query:{
|
||||
id: rowData.id,
|
||||
bandwidthType: rowData && rowData.bandwidthType
|
||||
@@ -347,7 +347,7 @@
|
||||
break;
|
||||
case 'createData':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/earnManage/server/edit/index',
|
||||
path:'/earnManage/server/edit/index',
|
||||
query:{
|
||||
resourceType: 1
|
||||
}
|
||||
@@ -119,10 +119,10 @@
|
||||
// ],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:earnManage:serverRevenue:export'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'earnManage:serverRevenue:export'},
|
||||
],
|
||||
line: [
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-tickets', hasPermi: 'disRevenue:earnManage:serverRevenue:edit'}
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-tickets', hasPermi: 'earnManage:serverRevenue:edit'}
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -233,13 +233,13 @@
|
||||
// ],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:earnManage:switch:export'},
|
||||
{content: '图形分析', fnCode: 'echartView', type: 'success', icon: 'el-icon-data-analysis', hasPermi: 'disRevenue:earnManage:switch:graphicAnalysis'},
|
||||
// {content: '生成月均日95值', fnCode: 'createData', type: 'success', icon: 'el-icon-data-analysis', hasPermi: 'disRevenue:earnManage:switch:add'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'earnManage:switch:export'},
|
||||
{content: '图形分析', fnCode: 'echartView', type: 'success', icon: 'el-icon-data-analysis', hasPermi: 'earnManage:switch:graphicAnalysis'},
|
||||
// {content: '生成月均日95值', fnCode: 'createData', type: 'success', icon: 'el-icon-data-analysis', hasPermi: 'earnManage:switch:add'},
|
||||
],
|
||||
line: [
|
||||
{content: '相关数据', fnCode: 'edit', type: 'text', icon: 'el-icon-tickets', hasPermi: 'disRevenue:earnManage:switch:relevantData'},
|
||||
{content: '重新计算', fnCode: 'calculate', type: 'text', icon: 'el-icon-brush', hasPermi: 'disRevenue:earnManage:switch:calculate'},
|
||||
{content: '相关数据', fnCode: 'edit', type: 'text', icon: 'el-icon-tickets', hasPermi: 'earnManage:switch:relevantData'},
|
||||
{content: '重新计算', fnCode: 'calculate', type: 'text', icon: 'el-icon-brush', hasPermi: 'earnManage:switch:calculate'},
|
||||
{}
|
||||
]
|
||||
}
|
||||
@@ -400,11 +400,11 @@
|
||||
switch (result.fnCode) {
|
||||
case 'insert':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/earnManage/switch/list/index'});
|
||||
path:'/earnManage/switch/list/index'});
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/earnManage/switch/list/index',
|
||||
path:'/earnManage/switch/list/index',
|
||||
query:{
|
||||
id: rowData.id,
|
||||
bandwidthType: rowData && rowData.bandwidthType
|
||||
@@ -80,12 +80,12 @@
|
||||
config: {
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '配置更新策略', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:agentUpdate:add'},
|
||||
{content: '配置更新策略', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'resource:agentUpdate:add'},
|
||||
],
|
||||
line: [
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:agentUpdate:details'},
|
||||
{content: '修改更新策略', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:agentUpdate:edit'},
|
||||
// {content: '手动更新', fnCode: 'update', type: 'text', icon: 'el-icon-refresh-right', hasPermi: 'disRevenue:resource:agentUpdate:update'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:agentUpdate:details'},
|
||||
{content: '修改更新策略', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:agentUpdate:edit'},
|
||||
// {content: '手动更新', fnCode: 'update', type: 'text', icon: 'el-icon-refresh-right', hasPermi: 'resource:agentUpdate:update'},
|
||||
{}
|
||||
]
|
||||
}
|
||||
@@ -133,11 +133,11 @@
|
||||
switch (result.fnCode) {
|
||||
case 'add':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/agentUpdate/view'});
|
||||
path:'/resource/agentUpdate/view'});
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/agentUpdate/view',
|
||||
path:'/resource/agentUpdate/view',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
@@ -145,7 +145,7 @@
|
||||
break;
|
||||
case 'details':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/agentUpdate/view',
|
||||
path:'/resource/agentUpdate/view',
|
||||
query:{
|
||||
id: rowData.id,
|
||||
readonly: true
|
||||
@@ -83,11 +83,11 @@
|
||||
config: {
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:alarmManage:export'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'resource:alarmManage:export'},
|
||||
],
|
||||
line: [
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:alarmManage:details'},
|
||||
{content: '处理', fnCode: 'handle', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'disRevenue:resource:alarmManage:handle'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:alarmManage:details'},
|
||||
{content: '处理', fnCode: 'handle', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'resource:alarmManage:handle'},
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -77,15 +77,15 @@
|
||||
],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:alarmManage:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'disRevenue:resource:alarmManage:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:alarmManage:export'},
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'resource:alarmManage:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'resource:alarmManage:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'resource:alarmManage:export'},
|
||||
],
|
||||
line: [
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:alarmManage:edit'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:alarmManage:details'},
|
||||
{content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'disRevenue:resource:alarmManage:copy'},
|
||||
{content: '下发策略', fnCode: 'strategy', type: 'text', icon: 'el-icon-sort-down', hasPermi: 'disRevenue:resource:alarmManage:strategy'},
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:alarmManage:edit'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:alarmManage:details'},
|
||||
{content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'resource:alarmManage:copy'},
|
||||
{content: '下发策略', fnCode: 'strategy', type: 'text', icon: 'el-icon-sort-down', hasPermi: 'resource:alarmManage:strategy'},
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -127,11 +127,11 @@
|
||||
switch (result.fnCode) {
|
||||
case 'add':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/alarmManage/details'});
|
||||
path:'/resource/alarmManage/details'});
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/alarmManage/details',
|
||||
path:'/resource/alarmManage/details',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
@@ -139,7 +139,7 @@
|
||||
break;
|
||||
case 'details':
|
||||
// this.$router.push({
|
||||
// path:'/disRevenue/resource/alarmManage/view/index',
|
||||
// path:'/resource/alarmManage/view/index',
|
||||
// query:{
|
||||
// id: rowData.id
|
||||
// }
|
||||
@@ -152,17 +152,17 @@
|
||||
],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '上传文件', fnCode: 'upload', type: 'success', icon: 'el-icon-upload2', hasPermi: 'disRevenue:resource:fileManage:upload'},
|
||||
{content: '新建文件夹', fnCode: 'newFile', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:fileManage:file'},
|
||||
{content: '移动', fnCode: 'move', type: 'warning', icon: 'el-icon-sort', hasPermi: 'disRevenue:resource:fileManage:move'},
|
||||
{content: '上传文件', fnCode: 'upload', type: 'success', icon: 'el-icon-upload2', hasPermi: 'resource:fileManage:upload'},
|
||||
{content: '新建文件夹', fnCode: 'newFile', type: 'primary', icon: 'el-icon-plus', hasPermi: 'resource:fileManage:file'},
|
||||
{content: '移动', fnCode: 'move', type: 'warning', icon: 'el-icon-sort', hasPermi: 'resource:fileManage:move'},
|
||||
],
|
||||
line: [
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:fileManage:details'},
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:fileManage:edit'},
|
||||
{content: '删除', fnCode: 'delete', type: 'text', icon: 'el-icon-delete', hasPermi: 'disRevenue:resource:fileManage:delete'},
|
||||
{content: '移动', fnCode: 'move', type: 'text', icon: 'el-icon-sort', hasPermi: 'disRevenue:resource:fileManage:move'},
|
||||
{content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'disRevenue:resource:fileManage:copy'},
|
||||
{content: '下载', fnCode: 'download', type: 'text', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:fileManage:download'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:fileManage:details'},
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:fileManage:edit'},
|
||||
{content: '删除', fnCode: 'delete', type: 'text', icon: 'el-icon-delete', hasPermi: 'resource:fileManage:delete'},
|
||||
{content: '移动', fnCode: 'move', type: 'text', icon: 'el-icon-sort', hasPermi: 'resource:fileManage:move'},
|
||||
{content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'resource:fileManage:copy'},
|
||||
{content: '下载', fnCode: 'download', type: 'text', icon: 'el-icon-download', hasPermi: 'resource:fileManage:download'},
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -234,14 +234,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
|
||||
}
|
||||
@@ -320,7 +320,7 @@
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/fileManage/view',
|
||||
path:'/resource/fileManage/view',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
@@ -328,7 +328,7 @@
|
||||
break;
|
||||
case 'details':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/fileManage/view',
|
||||
path:'/resource/fileManage/view',
|
||||
query:{
|
||||
id: rowData.id,
|
||||
readonly: true
|
||||
@@ -68,7 +68,7 @@
|
||||
},
|
||||
// 监听事件
|
||||
callback(result, dataVal, formVal) {
|
||||
console.log('result===',formVal);
|
||||
console.log('result===',dataVal);
|
||||
if (result && result.fnCode) {
|
||||
switch (result.fnCode) {
|
||||
case 'submit':
|
||||
@@ -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'},
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -108,11 +108,11 @@
|
||||
switch (result.fnCode) {
|
||||
case 'add':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/group/edit/index'});
|
||||
path:'/resource/group/edit/index'});
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/group/edit/index',
|
||||
path:'/resource/group/edit/index',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
@@ -77,15 +77,15 @@
|
||||
],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:monitorStategy:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'disRevenue:resource:monitorStategy:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:monitorStategy:export'},
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'resource:monitorStategy:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'resource:monitorStategy:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'resource:monitorStategy:export'},
|
||||
],
|
||||
line: [
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:monitorStategy:edit'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:monitorStategy:details'},
|
||||
// {content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'disRevenue:resource:monitorStategy:copy'},
|
||||
{content: '下发策略', fnCode: 'strategy', type: 'text', showName: 'status', showVal: '0', icon: 'el-icon-sort-down', hasPermi: 'disRevenue:resource:monitorStategy:strategy'},
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:monitorStategy:edit'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:monitorStategy:details'},
|
||||
// {content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'resource:monitorStategy:copy'},
|
||||
{content: '下发策略', fnCode: 'strategy', type: 'text', showName: 'status', showVal: '0', icon: 'el-icon-sort-down', hasPermi: 'resource:monitorStategy:strategy'},
|
||||
{}
|
||||
]
|
||||
}
|
||||
@@ -135,11 +135,11 @@
|
||||
switch (result.fnCode) {
|
||||
case 'add':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/monitorStategy/details/index'});
|
||||
path:'/resource/monitorStategy/details/index'});
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/monitorStategy/details/index',
|
||||
path:'/resource/monitorStategy/details/index',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
@@ -147,7 +147,7 @@
|
||||
break;
|
||||
case 'details':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/monitorStategy/view/index',
|
||||
path:'/resource/monitorStategy/view/index',
|
||||
query:{
|
||||
id: rowData.id,
|
||||
readonly: true
|
||||
@@ -59,14 +59,14 @@
|
||||
],
|
||||
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: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'disRevenue:resource:monitorTemp:copy'},
|
||||
{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: '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
|
||||
@@ -134,13 +134,13 @@
|
||||
],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:register:add'},
|
||||
{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: '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: 'enroll', showName: 'registrationStatus', showVal: '0', type: 'text', icon: 'el-icon-circle-check', hasPermi: 'disRevenue:resource:register:enroll'},
|
||||
{content: '取消注册', fnCode: 'unenroll', showName: 'registrationStatus', showVal: '1', type: 'text', icon: 'el-icon-circle-close', hasPermi: 'disRevenue:resource:register:unenroll'},
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:register:edit'},
|
||||
{content: '注册', fnCode: 'enroll', showName: 'registrationStatus', showVal: '0', type: 'text', icon: 'el-icon-circle-check', hasPermi: 'resource:register:enroll'},
|
||||
{content: '取消注册', fnCode: 'unenroll', showName: 'registrationStatus', showVal: '1', type: 'text', icon: 'el-icon-circle-close', hasPermi: 'resource:register:unenroll'},
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -195,11 +195,11 @@
|
||||
if (result && result.fnCode) {
|
||||
switch (result.fnCode) {
|
||||
case 'add':
|
||||
this.$router.push("/disRevenue/resource/register/edit/index")
|
||||
this.$router.push("/resource/register/edit/index")
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/register/edit/index/',
|
||||
path:'/resource/register/edit/index/',
|
||||
query: {id: rowData.id}
|
||||
});
|
||||
break;
|
||||
@@ -131,9 +131,9 @@
|
||||
// expand: true, // 表格下拉
|
||||
tableButton: {
|
||||
line: [
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:fileManage:details'},
|
||||
// {content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:fileManage:edit'},
|
||||
{content: '查看脚本执行结果', fnCode: 'result', type: 'text', icon: 'el-icon-s-check', hasPermi: 'disRevenue:resource:fileManage:result'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:fileManage:details'},
|
||||
// {content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:fileManage:edit'},
|
||||
{content: '查看脚本执行结果', fnCode: 'result', type: 'text', icon: 'el-icon-s-check', hasPermi: 'resource:fileManage:result'},
|
||||
{}
|
||||
]
|
||||
}
|
||||
@@ -262,7 +262,7 @@
|
||||
switch (result.fnCode) {
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/remoteManage/view',
|
||||
path:'/resource/remoteManage/view',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
@@ -270,7 +270,7 @@
|
||||
break;
|
||||
case 'details':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/remoteManage/view',
|
||||
path:'/resource/remoteManage/view',
|
||||
query:{
|
||||
hardwareSn: rowData.hardwareSn,
|
||||
readonly: true
|
||||
@@ -150,7 +150,7 @@
|
||||
this.$router.push("/earnManage/server");
|
||||
}
|
||||
// else {
|
||||
// this.$router.push("/disRevenue/earnManage/switch");
|
||||
// this.$router.push("/earnManage/switch");
|
||||
// }
|
||||
}).catch(() => {
|
||||
this.$modal.msgError("操作失败")
|
||||
@@ -161,7 +161,7 @@
|
||||
this.$router.push("/earnManage/server");
|
||||
}
|
||||
// else {
|
||||
// this.$router.push("/disRevenue/earnManage/switch");
|
||||
// this.$router.push("/earnManage/switch");
|
||||
// }
|
||||
break;
|
||||
default:
|
||||
@@ -142,10 +142,10 @@
|
||||
],
|
||||
tableButton: {
|
||||
// top: [
|
||||
// {content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:resMonitor:export'},
|
||||
// {content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'resource:resMonitor:export'},
|
||||
// ],
|
||||
line: [
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:resMonitor:details'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:resMonitor:details'},
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -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
|
||||
}
|
||||
@@ -88,16 +88,16 @@
|
||||
],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:monitorStategy:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'disRevenue:resource:monitorStategy:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:monitorStategy:export'},
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'resource:monitorStategy:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'resource:monitorStategy:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'resource:monitorStategy:export'},
|
||||
],
|
||||
line: [
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:monitorStategy:edit'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'disRevenue:resource:monitorStategy:details'},
|
||||
// {content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'disRevenue:resource:monitorStategy:copy'},
|
||||
{content: '下发策略', fnCode: 'strategy', type: 'text', showName: 'policyStatus', showVal: '0', icon: 'el-icon-sort-down', hasPermi: 'disRevenue:resource:monitorStategy:strategy'},
|
||||
{content: '删除', fnCode: 'delete', type: 'text', icon: 'el-icon-delete', hasPermi: 'disRevenue:resource:monitorStategy:detele'},
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:monitorStategy:edit'},
|
||||
{content: '详情', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'resource:monitorStategy:details'},
|
||||
// {content: '复制', fnCode: 'copy', type: 'text', icon: 'el-icon-document-copy', hasPermi: 'resource:monitorStategy:copy'},
|
||||
{content: '下发策略', fnCode: 'strategy', type: 'text', showName: 'policyStatus', showVal: '0', icon: 'el-icon-sort-down', hasPermi: 'resource:monitorStategy:strategy'},
|
||||
{content: '删除', fnCode: 'delete', type: 'text', icon: 'el-icon-delete', hasPermi: 'resource:monitorStategy:detele'},
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -157,11 +157,11 @@
|
||||
switch (result.fnCode) {
|
||||
case 'add':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/serverScript/details'});
|
||||
path:'/resource/serverScript/details'});
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/serverScript/details',
|
||||
path:'/resource/serverScript/details',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
@@ -169,7 +169,7 @@
|
||||
break;
|
||||
case 'details':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/serverScript/details',
|
||||
path:'/resource/serverScript/details',
|
||||
query:{
|
||||
id: rowData.id,
|
||||
readonly: true
|
||||
@@ -61,13 +61,13 @@
|
||||
],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'disRevenue:resource:topology:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'disRevenue:resource:topology:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'disRevenue:resource:topology:export'},
|
||||
{content: '拓扑展示', fnCode: 'echarts', type: 'warning', icon: 'el-icon-picture-outline-round', hasPermi: 'disRevenue:resource:topology:echarts'},
|
||||
{content: '新增', fnCode: 'add', type: 'primary', icon: 'el-icon-plus', hasPermi: 'resource:topology:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'resource:topology:detele'},
|
||||
{content: '导出', fnCode: 'export', type: 'warning', icon: 'el-icon-download', hasPermi: 'resource:topology:export'},
|
||||
{content: '拓扑展示', fnCode: 'echarts', type: 'warning', icon: 'el-icon-picture-outline-round', hasPermi: 'resource:topology:echarts'},
|
||||
],
|
||||
line: [
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'disRevenue:resource:topology:edit'},
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'resource:topology:edit'},
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -109,11 +109,11 @@
|
||||
switch (result.fnCode) {
|
||||
case 'add':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/topology/edit/index'});
|
||||
path:'/resource/topology/edit/index'});
|
||||
break;
|
||||
case 'edit':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/topology/edit/index',
|
||||
path:'/resource/topology/edit/index',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
@@ -129,7 +129,7 @@
|
||||
break;
|
||||
case 'echarts':
|
||||
this.$router.push({
|
||||
path:'/disRevenue/resource/topology/gplot/index',
|
||||
path:'/resource/topology/gplot/index',
|
||||
query:{
|
||||
id: rowData.id
|
||||
}
|
||||
Reference in New Issue
Block a user