From e5cdf3af17609b49138cec3e8fb200752365f651 Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期五, 01 十一月 2024 14:58:12 +0800 Subject: [PATCH] 1 --- src/views/tpm/MachineTab.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/tpm/MachineTab.vue b/src/views/tpm/MachineTab.vue index 84cc486..49a4e66 100644 --- a/src/views/tpm/MachineTab.vue +++ b/src/views/tpm/MachineTab.vue @@ -112,7 +112,7 @@ }, methods: { init() { - this.$HTTP.get('/api/blade-cps/device-types/page?keyWord=¤t=1&size=-1').then(res => { + this.$HTTP.get('/api/smis/device-types/page?keyWord=¤t=1&size=-1').then(res => { if (res.code === 200) { this.types = res.data.records.map(item => ({ label: item.name, @@ -122,7 +122,7 @@ }) }, getTreeData() { - this.$HTTP.get('/api/blade-cps/group/tree?groupCategory=1&groupType=group_machine').then(res => { + this.$HTTP.get('/api/smis/group/tree?groupCategory=1&groupType=group_machine').then(res => { if (res.code === 200) { this.group = res.data // this.params.groupId = res.data[0].id @@ -149,7 +149,7 @@ this.getTreeData() }, table_del(row, index, type) { - this.$HTTP.delete(`/api/blade-cps/machine?type=${type}`, { + this.$HTTP.delete(`/api/smis/machine?type=${type}`, { ids: [row.id] }).then(res => { if (res.code === 200) { @@ -167,7 +167,7 @@ if (this.selection.length === 0) { return this.$message.warning("璇烽�夋嫨"); } - this.$HTTP.delete(`/api/blade-cps/machine?type=1`, { + this.$HTTP.delete(`/api/smis/machine?type=1`, { ids: this.selection.map(item => item.id) }).then(res => { if (res.code === 200) { -- Gitblit v1.9.3