From 54ca0f5e8ad34348e7517681923a5ff89170dc32 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期五, 01 四月 2022 17:42:47 +0800
Subject: [PATCH] 自查
---
src/views/safetyproduction/review.vue | 10 +++++++---
src/views/safetyproduction/new.vue | 4 ++--
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/views/safetyproduction/new.vue b/src/views/safetyproduction/new.vue
index 1477a73..1b9717b 100644
--- a/src/views/safetyproduction/new.vue
+++ b/src/views/safetyproduction/new.vue
@@ -39,7 +39,7 @@
</el-row>
<el-row>
<el-col :span="22" :offset="1">
- <el-table ref="table" border stripe="true" :data="item.child" :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}">
+ <el-table ref="table" border :stripe="true" :data="item.child" :header-cell-style="{background:'#eef1f6',color:'#606266'}" :cell-style="{background:'#fff',color:'#606266'}">
<el-table-column
prop="standardizationRequirements"
align="center"
@@ -365,7 +365,7 @@
query: {
idX: data.id,
name:this.id,
- id:this.itemId
+ id:this.itemId
},
});
}
diff --git a/src/views/safetyproduction/review.vue b/src/views/safetyproduction/review.vue
index e450a9c..1ff27b8 100644
--- a/src/views/safetyproduction/review.vue
+++ b/src/views/safetyproduction/review.vue
@@ -201,7 +201,7 @@
<el-dialog title="扣分详情" :visible.sync="dialogVisible" :close-on-click-modal="false" width="30%">
<el-form ref="form" :model="form" label-width="54px">
<el-form-item label="说明">
- <el-input disabled="true" v-model="form.name"></el-input>
+ <el-input :disabled="true" v-model="form.name"></el-input>
</el-form-item>
<el-form-item label="扣分值">
<el-input v-model="form.point"></el-input>
@@ -215,7 +215,7 @@
class="dialog-footer"
style="text-align: center; display: block"
>
- <el-button type="primary" class="btns" @click="dialogVisible = false"
+ <el-button type="primary" class="btns" @click="addC"
>确 定</el-button
>
<el-button @click="lost()">取 消</el-button>
@@ -236,7 +236,7 @@
dialogVisible: false,
id: "",
form: {},
- list: [],
+ list: {},
};
},
created() {
@@ -251,6 +251,7 @@
},
modItem() {
if(this.list.safetyInspectionItemResult!=null){
+ console.log(this.list)
safetySelfInspectionModItemInfo(this.list).then((res) => {
if (res.data.code == 200) {
this.$notify({
@@ -288,6 +289,9 @@
// this.form = data;
this.form=JSON.parse(JSON.stringify(data));
},
+ addC(){
+ this.dialogVisible = false;
+ },
lost() {
this.dialogVisible = false;
this.itemInfo(this.id);
--
Gitblit v1.9.2