lyfO_o
2022-05-06 4b4622c9f74150ca60eb7c4f038e55fb98be02d7
src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
@@ -129,6 +129,7 @@
                                v-model="form.userId"
                                placeholder="请选择负责人"
                                style="width: 100%"
                                filterable
                            >
                                <el-option
                                    v-for="item in personInCharge"
@@ -239,7 +240,7 @@
                    };
                } else {
                    this.title = "编辑";
                    this.form = value;
                    this.form=JSON.parse(JSON.stringify(value));
                }
            },
            AddelementManagement() {
@@ -257,6 +258,10 @@
                                        title: "成功",
                                    });
                                } else {
                                    this.$message({
                                        type: "warning",
                                        message: res.data.message,
                                    });
                                }
                            });
                        } else {
@@ -271,7 +276,10 @@
                                        title: "成功",
                                    });
                                } else {
                                    this.$message({
                                        type: "warning",
                                        message: res.data.message,
                                    });
                                }
                            });
                        }
@@ -294,6 +302,12 @@
                                   type: "success",
                                   duration: 2000,
                               });
                           }else {
                               this.$message({
                               type: "warning",
                               message: res.data.message,
                           });
                           }
                       });
                    })