From eef1ef0be935d4a3d8fc691b2666f41796b2d4a5 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期一, 04 十一月 2024 19:57:08 +0800
Subject: [PATCH] 增加列表显示

---
 src/views/tpm/MachineGroup.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/tpm/MachineGroup.vue b/src/views/tpm/MachineGroup.vue
index 9f54d09..6c28209 100644
--- a/src/views/tpm/MachineGroup.vue
+++ b/src/views/tpm/MachineGroup.vue
@@ -61,7 +61,7 @@
     },
     methods: {
         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.groupClick(res.data[0])
@@ -105,7 +105,7 @@
                 }
             )
                 .then(() => {
-                    this.$HTTP.delete('/api/blade-cps/group/deleteGroup', {}, { params: { groupId: this.form.id } }).then(res => {
+                    this.$HTTP.delete('/api/smis/group/deleteGroup', {}, { params: { groupId: this.form.id } }).then(res => {
                         if (res.code === 200) {
                             this.$message.success("鎿嶄綔鎴愬姛");
                             this.getTreeData()
@@ -119,13 +119,13 @@
         save() {
             this.group = []
             if (this.form.id) {
-                this.$HTTP.put('/api/blade-cps/group', this.form).then(res => {
+                this.$HTTP.put('/api/smis/group', this.form).then(res => {
                     if (res.code === 200) {
                         this.getTreeData()
                     }
                 })
             } else {
-                this.$HTTP.post('/api/blade-cps/group', this.form).then(res => {
+                this.$HTTP.post('/api/smis/group', this.form).then(res => {
                     if (res.code === 200) {
                         this.getTreeData()
                     }

--
Gitblit v1.9.3