This commit is contained in:
jhnine 2024-04-26 17:42:20 +08:00
parent d4a356483e
commit 66b9f2f9e0
5 changed files with 14 additions and 5 deletions

View File

@ -33,7 +33,7 @@
"adapterManagement": "驱动器管理r",
"adapterList": "驱动器列表r",
"clusterManagement": "集群管理r",
"resourceUsageTop": "资源中心使用TOP3r",
"resourceUsageTop": "资源中心使用",
"resourceCenter": "资源中心r",
"scheduleStatus": "调度情况r",
"messageList": "消息列表r",

View File

@ -33,7 +33,7 @@
"adapterManagement": "驱动器管理",
"adapterList": "驱动器列表",
"clusterManagement": "集群管理",
"resourceUsageTop": "资源中心使用TOP3",
"resourceUsageTop": "资源中心使用",
"resourceCenter": "资源中心",
"scheduleStatus": "调度情况",
"messageList": "消息列表",

View File

@ -15,3 +15,12 @@ export function getNodeTop(params) {
params
})
}
export function getTaskNum(params) {
return request({
url: '/pcm/v1/monitoring/task/num',
method: 'get',
params
})
}

View File

@ -172,7 +172,7 @@ export default {
getUserMenus().then(e => {
this.listData = e.data
this.selectMenuList = [].concat(e.data)
this.selectMenuList.unshift({ id: 0, title: '根目录' })
this.selectMenuList.unshift({ id: '0', title: '根目录' })
}).catch(e => {
})
},
@ -190,7 +190,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteMenu({ id: row.id + '' }).then(response => {
deleteMenu({ id: row.id }).then(response => {
this.$message({ message: '删除成功', type: 'success', duration: 1000 })
this.getList()
})

View File

@ -187,7 +187,7 @@ export default {
'phone': this.admin.phone,
'email': this.admin.email,
'status': this.admin.status,
'roleId': parseInt(this.admin.roleId)
'roleId': this.admin.roleId
}).then(response => {
this.$message({ message: '修改成功!', type: 'success' })
this.dialogVisible = false