From ddc15b8f31c2d84d791b561fd24f3817c7ab81da Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 02 四月 2025 10:24:48 +0800
Subject: [PATCH] 批量复制功能修改
---
src/views/business/reliabilityPlan/plan.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/business/reliabilityPlan/plan.vue b/src/views/business/reliabilityPlan/plan.vue
index 279d2d2..7434c2c 100644
--- a/src/views/business/reliabilityPlan/plan.vue
+++ b/src/views/business/reliabilityPlan/plan.vue
@@ -3,9 +3,9 @@
<div class="search">
<span></span>
<div class="btn">
- <el-button type="primary" size="small" @click="openAdd" v-if="planState != 1">鏂板</el-button>
- <el-button type="primary" size="small" @click="isEdit = true" v-if="planState != 1">缂栬緫</el-button>
- <el-button type="primary" size="small" @click="save" :loading="saveLoading" v-if="planState != 1">淇濆瓨</el-button>
+ <el-button type="primary" size="small" @click="openAdd" v-if="planState == 0">鏂板</el-button>
+ <el-button type="primary" size="small" @click="isEdit = true" v-if="planState == 0">缂栬緫</el-button>
+ <el-button type="primary" size="small" @click="save" :loading="saveLoading" v-if="planState == 0">淇濆瓨</el-button>
<el-button size="small" @click="goback">杩斿洖</el-button>
</div>
</div>
@@ -38,7 +38,7 @@
<span v-else>{{ scope.row.address }}</span>
</template>
</el-table-column>
- <el-table-column fixed="right" label="鎿嶄綔" width="100" v-if="planState != 1">
+ <el-table-column fixed="right" label="鎿嶄綔" width="100" v-if="planState == 0">
<template slot-scope="scope">
<el-button type="text" size="small" @click="handleDelete(scope.row)" style="color: red;">鍒犻櫎</el-button>
</template>
--
Gitblit v1.9.3