From e2fdfe540eaf160dc7d063c60667041edcc64e86 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期二, 05 十一月 2024 22:55:14 +0800
Subject: [PATCH] 处理显示名称

---
 src/views/mdc/configComp/Status.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/mdc/configComp/Status.vue b/src/views/mdc/configComp/Status.vue
index 331f075..d56a78b 100644
--- a/src/views/mdc/configComp/Status.vue
+++ b/src/views/mdc/configComp/Status.vue
@@ -181,7 +181,7 @@
             this.data.splice(index, 1)
         },
         getList() {
-            this.$HTTP.get('/api/blade-cps/global_wcs/wcs-achievements').then(res => {
+            this.$HTTP.get('/api/smis/global_wcs/wcs-achievements').then(res => {
                 if (res.code === 200) {
                     this.data = res.data.filter(v => v.type === 1)
                     this.Tabledata = res.data.filter(v => v.type === 4)
@@ -189,7 +189,7 @@
             })
         },
         save() {
-            this.$HTTP.post('/api/blade-cps/global_wcs/update-wcs-seq', this.data.map(v => v.code)).then(res => {
+            this.$HTTP.post('/api/smis/global_wcs/update-wcs-seq', this.data.map(v => v.code)).then(res => {
                 if (res.code == 200) {
                     this.$message.success(`鎿嶄綔鎴愬姛`)
                     this.getList()
@@ -208,7 +208,7 @@
                 name: row.name,
                 rps: row.rps
             }
-            this.$HTTP.post('/api/blade-cps/global_wcs/update-wcs-achievements', data).then(res => {
+            this.$HTTP.post('/api/smis/global_wcs/update-wcs-achievements', data).then(res => {
                 if (res.code == 200) {
                     this.$message.success(`鎿嶄綔鎴愬姛`)
                     this.getList()
@@ -231,7 +231,7 @@
                 rps: row.rps,
                 type: 4,
             }
-            this.$HTTP.post('/api/blade-cps/global_wcs/add-wcs-achievements', data).then(res => {
+            this.$HTTP.post('/api/smis/global_wcs/add-wcs-achievements', data).then(res => {
                 if (res.code == 200) {
                     this.$message.success(`鎿嶄綔鎴愬姛`)
                     this.getList()
@@ -239,7 +239,7 @@
             })
         },
         remove(row) {
-            this.$HTTP.delete(`/api/blade-cps/global_wcs/delete-wcs-achievements/${row.code}`).then(res => {
+            this.$HTTP.delete(`/api/smis/global_wcs/delete-wcs-achievements/${row.code}`).then(res => {
                 if (res.code == 200) {
                     this.$message.success(`鎿嶄綔鎴愬姛`)
                     this.getList()
@@ -247,7 +247,7 @@
             })
         },
         rowDrop(arr) {
-            this.$HTTP.post(`/api/blade-cps/global_wcs/update-wcs-seq`, arr.map(v => v.code)).then(res => {
+            this.$HTTP.post(`/api/smis/global_wcs/update-wcs-seq`, arr.map(v => v.code)).then(res => {
                 if (res.success) {
                     this.$message.success(res.msg)
                 } else {

--
Gitblit v1.9.3