From 7f26dab270cad0c08c1a0dfbb5dd7fd71f84dbbe Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期一, 17 六月 2024 22:16:56 +0800
Subject: [PATCH] update

---
 src/views/mdc/configuration.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/mdc/configuration.vue b/src/views/mdc/configuration.vue
index 8a93091..5b434ec 100644
--- a/src/views/mdc/configuration.vue
+++ b/src/views/mdc/configuration.vue
@@ -1,7 +1,7 @@
 <!--
  * @Date: 2024-04-09 22:11:21
  * @LastEditors: Sneed
- * @LastEditTime: 2024-04-18 00:00:27
+ * @LastEditTime: 2024-06-17 22:16:39
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/configuration.vue
  * 搴旂敤璁剧疆
 -->
@@ -42,18 +42,19 @@
                                 <span v-else>{{ scope.row.dataTypeDesc }}</span>
                             </template>
                         </el-table-column>
-                        <el-table-column label="鑴夊啿璁℃暟鍊嶇巼" prop="value">
+                        <!-- <el-table-column label="鑴夊啿璁℃暟鍊嶇巼" prop="value">
                             <template #default="scope">
                                 <el-input-number v-if="scope.row.isEdit && scope.row.collectType == 9" :min="1"
                                     :max="10" />
                                 <span>{{ scope?.row?.parameter?.value }}</span>
                             </template>
-                        </el-table-column>
+                        </el-table-column> -->
                         <el-table-column label="鎿嶄綔" prop="state">
                             <template #default="scope">
                                 <el-button v-show="!scope.row.id || scope.row.isEdit"
                                     @click="add(scope.row)">淇濆瓨</el-button>
-                                <el-button v-show="!scope.row.isEdit" @click="edit(scope.row)">缂栬緫</el-button>
+                                <el-button v-show="!scope.row.isEdit && scope.row.collectType > 7"
+                                    @click="edit(scope.row)">缂栬緫</el-button>
                             </template>
                         </el-table-column>
                     </scFormTable>

--
Gitblit v1.9.3