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/tpm/MachineGroup.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/tpm/MachineGroup.vue b/src/views/tpm/MachineGroup.vue index 9f54d09..c7fa5bb 100644 --- a/src/views/tpm/MachineGroup.vue +++ b/src/views/tpm/MachineGroup.vue @@ -1,7 +1,7 @@ <!-- * @Date: 2024-04-27 20:02:44 * @LastEditors: gaoshp - * @LastEditTime: 2024-09-29 19:33:58 + * @LastEditTime: 2024-11-04 20:10:22 * @FilePath: /cps-web/src/views/tpm/MachineGroup.vue --> <template> @@ -27,7 +27,7 @@ <el-form-item label="涓婄骇鐩綍" prop="parentName"> <el-input disabled style="width: 240px" v-model="form.parentName"></el-input> </el-form-item> - <el-form-item label="鏈哄櫒缁勫悕绉�" prop="name"> + <el-form-item label="璁惧缁勫悕绉�" prop="name"> <el-input :disabled="(form.id === '102' || form.id === '2')" style="width: 240px" v-model="form.name" clearable></el-input> </el-form-item> @@ -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]) @@ -97,7 +97,7 @@ }, del() { this.$confirm( - '纭鍒犻櫎璇ユ満鍣ㄧ粍锛�', + '纭鍒犻櫎璇ヨ澶囩粍锛�', { distinguishCancelAndClose: true, confirmButtonText: '鍒犻櫎', @@ -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