From 41b9a9861ab8693e5ad10398dddeac298b18d7fd Mon Sep 17 00:00:00 2001 From: zhoucong <123456> Date: 星期四, 05 五月 2022 08:42:42 +0800 Subject: [PATCH] fix --- 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