From f8e01819a747c0615ad047a39a93ecd72684b635 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 16 十月 2024 09:40:15 +0800
Subject: [PATCH] 班级管理恢复解散点击无效问题
---
src/views/class-management/Class.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/class-management/Class.vue b/src/views/class-management/Class.vue
index d1508bc..89edb66 100644
--- a/src/views/class-management/Class.vue
+++ b/src/views/class-management/Class.vue
@@ -88,14 +88,14 @@
fixed="right"
>
<template slot-scope="scope">
- <el-button v-if="scope.row.status !== '瑙f暎'" size="small" @click="handlerEdit(scope.row)"
+ <el-button v-show="scope.row.status !== '瑙f暎'" size="small" @click="handlerEdit(scope.row)"
type="primary">淇敼
</el-button>
- <el-button v-if="scope.row.status !== '瑙f暎'" size="small" type="warning">鐝骇楠岃瘉</el-button>
- <el-button v-if="scope.row.status !== '瑙f暎'" size="small" @click="handlerOpenNotify(scope.row)"
+ <el-button v-show="scope.row.status !== '瑙f暎'" size="small" type="warning">鐝骇楠岃瘉</el-button>
+ <el-button v-show="scope.row.status !== '瑙f暎'" size="small" @click="handlerOpenNotify(scope.row)"
type="info">閫氱煡
</el-button>
- <el-button v-if="scope.row.status !== '瑙f暎'" @click="studentManager(scope.row.id)" size="small"
+ <el-button v-show="scope.row.status !== '瑙f暎'" @click="studentManager(scope.row.id)" size="small"
type="success">鎴愬憳绠$悊
</el-button>
<el-popconfirm
@@ -103,7 +103,7 @@
title="纭畾瑕佽В鏁h鐝骇锛�"
@confirm="dissolution(scope.row.id)"
>
- <el-button slot="reference" v-if="scope.row.status !== '瑙f暎'" type="danger"
+ <el-button slot="reference" v-show="scope.row.status !== '瑙f暎'" type="danger"
size="small">瑙f暎
</el-button>
</el-popconfirm>
@@ -112,7 +112,7 @@
title="纭畾瑕佹仮澶嶈鐝骇鍚楋紵"
@confirm="recover(scope.row.id)"
>
- <el-button slot="reference" v-if="scope.row.status === '瑙f暎'" type="success"
+ <el-button slot="reference" v-show="scope.row.status === '瑙f暎'" type="success"
size="small">鎭㈠姝e父
</el-button>
</el-popconfirm>
--
Gitblit v1.8.0