From ea20ca083f7e5a5d2ed7521f3a75209d4516f6c7 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Fri, 01 Apr 2022 16:09:33 +0800
Subject: [PATCH] 自查清单
---
src/views/safetyproduction/gojudging.vue | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/src/views/safetyproduction/gojudging.vue b/src/views/safetyproduction/gojudging.vue
index 6230be4..f0947c3 100644
--- a/src/views/safetyproduction/gojudging.vue
+++ b/src/views/safetyproduction/gojudging.vue
@@ -1,7 +1,7 @@
<template>
<div>
<div class="box-right">
- <div v-for="(item, index) in lists" :key="index">
+ <div v-for="(item, index) in lists" :key="index" style="padding:0 0 20px 0">
<div class="title">
A级要素:<span>{{ item.elementAName }}</span>
</div>
@@ -40,11 +40,11 @@
></el-table-column>
<el-table-column align="center" label="评审结果">
<template slot-scope="scope">
- <span v-if="(scope.row.safetyInspectionItemResult = 0)"
- >是</span
+ <span v-if="(scope.row.safetyInspectionItemResult== 0)"
+ >否决</span
>
- <span v-if="(scope.row.safetyInspectionItemResult = 1)"
- >否</span
+ <span v-if="(scope.row.safetyInspectionItemResult == 1)"
+ >扣分</span
>
</template>
</el-table-column>
@@ -72,7 +72,7 @@
</template>
</el-table-column>
<el-table-column
- prop=""
+ prop="remark"
align="center"
label="备注"
></el-table-column>
@@ -124,14 +124,12 @@
methods: {
safeInitem(id) {
safetySelfInspectionInfo({ id: id }).then((res) => {
- // console.log("数据", res);
if (res.data.code == 200) this.list = res.data.result;
var arr = this.checkSameDataA(this.list.itemList);
for (var i = 0; i < arr.length; i++) {
arr[i].child = this.checkSameData(arr[i].child);
}
this.lists = arr;
- console.log(this.lists)
});
},
checkSameDataA(resData) {
@@ -165,7 +163,6 @@
return list;
},
handleClick(data) {
- console.log(data.id);
this.$router.push({
path: "/review",
query: {
@@ -198,4 +195,4 @@
.titles {
font-size: 14px;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.2