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/configComp/Status.vue |    8 +++++---
 src/views/mdc/configuration.vue     |    9 +++++----
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/views/mdc/configComp/Status.vue b/src/views/mdc/configComp/Status.vue
index bacfb27..447b169 100644
--- a/src/views/mdc/configComp/Status.vue
+++ b/src/views/mdc/configComp/Status.vue
@@ -1,13 +1,14 @@
 <!--
  * @Date: 2024-04-17 18:53:45
  * @LastEditors: Sneed
- * @LastEditTime: 2024-06-16 14:35:07
+ * @LastEditTime: 2024-06-17 22:12:42
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/configComp/Status.vue
 -->
 <template>
     <el-main>
         <el-row>
-            <scFormTable ref="table" size="small" v-model="data" stripe hideAdd hideDelete dragSort @rowDrop="save">
+            <!-- dragSort -->
+            <scFormTable ref="table" size="small" v-model="data" stripe hideAdd hideDelete @rowDrop="save">
                 <el-table-column label="宸ヤ綅/鏈哄櫒鐘舵��" prop="name"></el-table-column>
                 <el-table-column label="缂栧彿" prop="code"></el-table-column>
                 <el-table-column label="棰滆壊" prop="color"></el-table-column>
@@ -35,7 +36,8 @@
             </scFormTable>
         </el-row>
         <el-row style="margin-top: 20px;">
-            <scFormTable ref="table1" v-model="Tabledata" stripe @delRow="remove" :addTemplate="addTemplate" dragSort>
+            <!-- dragSort -->
+            <scFormTable ref="table1" v-model="Tabledata" stripe @delRow="remove" :addTemplate="addTemplate">
                 <el-table-column label="浜哄伐鍙嶉鐘舵��" prop="name">
                     <template #default="scope">
                         <el-input v-model="scope.row.name" @change="update(scope.row)"></el-input>
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