fix
zhoucong
2022-04-22 04031b86d12c54dad59ebca8819f03479e87924f
src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
@@ -80,6 +80,7 @@
        <el-dialog
            :title="title"
            :visible.sync="dialogVisible"
            :close-on-click-modal="false"
            width="40%"
        >
            <el-form ref="form" :rules="rules" :model="form" label-width="80px">
@@ -238,7 +239,7 @@
                    };
                } else {
                    this.title = "编辑";
                    this.form = value;
                    this.form=JSON.parse(JSON.stringify(value));
                }
            },
            AddelementManagement() {
@@ -256,6 +257,10 @@
                                        title: "成功",
                                    });
                                } else {
                                    this.$message({
                                        type: "warning",
                                        message: res.data.message,
                                    });
                                }
                            });
                        } else {
@@ -270,7 +275,10 @@
                                        title: "成功",
                                    });
                                } else {
                                    this.$message({
                                        type: "warning",
                                        message: res.data.message,
                                    });
                                }
                            });
                        }
@@ -293,6 +301,12 @@
                                   type: "success",
                                   duration: 2000,
                               });
                           }else {
                               this.$message({
                               type: "warning",
                               message: res.data.message,
                           });
                           }
                       });
                    })