From 69db917e5d7bd7f17c95bc9d661d0eb3d5dfd7ed Mon Sep 17 00:00:00 2001
From: e <2432808546@qq.com>
Date: Tue, 14 Dec 2021 18:20:21 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A4=E6=96=AD=E5=AE=9E?=
 =?UTF-8?q?=E9=AA=8C=E7=8A=B6=E6=80=81=E5=8A=A0=E8=BD=BD=E6=85=A2=E9=97=AE?=
 =?UTF-8?q?=E9=A2=98=E4=B8=8E=E5=BC=80=E5=90=AF=E5=AE=9E=E9=AA=8C=E5=8F=B0?=
 =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=A6=81=E7=94=A8=E6=95=88=E6=9E=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/pages/assessment/list/index.vue |  2 +-
 src/pages/project/list/index.vue    | 18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/pages/assessment/list/index.vue b/src/pages/assessment/list/index.vue
index eea10df..1374cd9 100644
--- a/src/pages/assessment/list/index.vue
+++ b/src/pages/assessment/list/index.vue
@@ -90,7 +90,7 @@
                 </template>
             </el-table-column>
             <el-table-column label="实验状态" align="center">
-                <template slot-scope="scope" v-if="scope.row.show">
+                <template slot-scope="scope">
                     <span>
                         {{ status[scope.row.status] }}
                     </span>
diff --git a/src/pages/project/list/index.vue b/src/pages/project/list/index.vue
index f8d7b7a..2e1175a 100644
--- a/src/pages/project/list/index.vue
+++ b/src/pages/project/list/index.vue
@@ -90,15 +90,15 @@
                         <el-button v-if="scope.row.founder != 0" type="text" @click="edit(scope.row,'1',queryData.founder)">编辑</el-button>
                         <el-button v-if="scope.row.founder != 0" type="text" @click="handleDelete(scope.row.projectId)">删除</el-button>
                         <el-button v-if="auth('复制')" type="text" @click="copyData(scope.row.projectId)">复制</el-button>
-<!--                        <el-switch-->
-<!--                            v-if="auth('禁用')"-->
-<!--                            v-model="scope.row.isOpen"-->
-<!--                            :active-text="scope.row.isOpen ? '关闭' : '启用'"-->
-<!--                            :active-value="0"-->
-<!--                            :inactive-value="1"-->
-<!--                            style="margin: 0 10px 0 10px"-->
-<!--                            @change="switchOff(scope.row)"-->
-<!--                        ></el-switch>-->
+                        <el-switch
+                            v-if="auth('禁用')"
+                            v-model="scope.row.isOpen"
+                            :active-text="scope.row.isOpen ? '关闭' : '启用'"
+                            :active-value="0"
+                            :inactive-value="1"
+                            style="margin: 0 10px 0 10px"
+                            @change="switchOff(scope.row)"
+                        ></el-switch>
                     </template>
                 </el-table-column>
             </el-table>