From b2ec19a763b4cfb7949126d681fb77efad79c8d3 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: 星期五, 20 五月 2022 15:00:11 +0800
Subject: [PATCH] 您关注的隐患-管理关注
---
src/views/accidentHidden/fillProgress.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/accidentHidden/fillProgress.vue b/src/views/accidentHidden/fillProgress.vue
index 63130a0..c665310 100644
--- a/src/views/accidentHidden/fillProgress.vue
+++ b/src/views/accidentHidden/fillProgress.vue
@@ -5,8 +5,8 @@
<div class="whole">
<el-form ref="form" :model="form" label-width="100px">
<el-form-item style="text-align: right;">
- <el-button class="btn" type="primary" size="small" icon="el-icon-plus" @click="addProgress">添加</el-button>
- <el-button size="small" @click="deleteBatch">批量删除</el-button>
+ <el-button class="btn" type="primary" size="small" icon="el-icon-plus" @click="addProgress" v-if="type!=1">添加</el-button>
+ <el-button size="small" @click="deleteBatch" v-if="type!=1">批量删除</el-button>
</el-form-item>
</el-form>
<el-table
@@ -19,6 +19,7 @@
<el-table-column
type="selection"
align="center"
+ v-if="type!=1"
width="55">
</el-table-column>
<el-table-column
@@ -51,9 +52,9 @@
align="center"
width="200">
<template slot-scope="scope">
- <el-button type="text" size="small" @click="updateClick(scope.row)">编辑</el-button>
+ <el-button type="text" size="small" @click="updateClick(scope.row)" v-if="type!=1">编辑</el-button>
<!-- <el-button @click="save(scope.row)" type="text" size="small">保存</el-button>-->
- <el-button type="text" size="small" style="color: #f56c6c" @click="deleteClick(scope.row)">删除</el-button>
+ <el-button type="text" size="small" style="color: #f56c6c" @click="deleteClick(scope.row)" v-if="type!=1">删除</el-button>
</template>
</el-table-column>
</el-table>
--
Gitblit v1.9.2