From c784bd8a9a850b1f85f711db8c9b632267905342 Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: 星期四, 07 四月 2022 16:55:49 +0800
Subject: [PATCH] fix
---
src/views/safetyproduction/gojudging.vue | 7 ++++++-
src/views/safetyproduction/checklistself.vue | 6 +++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/safetyproduction/checklistself.vue b/src/views/safetyproduction/checklistself.vue
index a5141b3..e5b6795 100644
--- a/src/views/safetyproduction/checklistself.vue
+++ b/src/views/safetyproduction/checklistself.vue
@@ -89,7 +89,7 @@
<el-button v-if="scope.row.status==2" @click="handleClick(scope.row)" type="text" size="small"
>查看</el-button
>
- <el-button @click="Del(scope.row.id)" v-if="scope.row.status==1?false:true" type="text" size="small" style="color: red"
+ <el-button @click="Del(scope.row.id)" v-if="scope.row.status==0?true:false" type="text" size="small" style="color: red"
>删除</el-button
>
</template>
@@ -156,7 +156,7 @@
});
},
handleClick(val) {
- if(val.status==-1){
+ if(val.status==0){
this.$router.push({
path:"/new",
query:{
@@ -164,7 +164,7 @@
name:'编辑'
}
})
- }else if(val.status==0){
+ }else if(val.status==1){
this.$router.push({
path:"/gojudging",
query:{
diff --git a/src/views/safetyproduction/gojudging.vue b/src/views/safetyproduction/gojudging.vue
index 80eb638..b7e4a0f 100644
--- a/src/views/safetyproduction/gojudging.vue
+++ b/src/views/safetyproduction/gojudging.vue
@@ -1,7 +1,7 @@
<template>
<div>
<div class="box-right">
- <el-button type="primary" style="float: right" @click="finish()">结单</el-button>
+ <el-button type="primary" class="btn" @click="finish()">结单</el-button>
<div v-for="(item, index) in lists" :key="index" style="padding:0 0 20px 0">
<div class="title">
A级要素:<span>{{ item.elementAName }}</span>
@@ -251,4 +251,9 @@
.box-right /deep/ .el-table__expanded-cell{
background-color: #fff !important;
}
+.btn {
+ background-color: #034ea2;
+ border: 1px solid #034ea2;
+ float: right;
+}
</style>
--
Gitblit v1.9.2