lyfO_o
2022-03-31 4a6b6d253451a14063df0659877f3d8c4ca921a5
src/views/majorHazardSourceMonitoring/productionEquipment/index.vue
@@ -64,7 +64,7 @@
                </template>
            </el-table-column>
        </el-table>
        <div style="text-align:right">
        <div style="text-align:right;margin-top: 20px;">
            <el-pagination
                v-show="recordTotal>0"
                @size-change="handleSizeChange"
@@ -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">
@@ -145,7 +146,7 @@
        <el-button type="primary" class="btns" @click="AddelementManagement()"
        >确 定</el-button
        >
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button @click="cancel()">取 消</el-button>
      </span>
        </el-dialog>
    </div>
@@ -227,7 +228,6 @@
                this.$nextTick(() => {
                    this.$refs["form"].clearValidate();
                });
                if (type == "新增") {
                    this.title = "新增";
                    this.form = {
@@ -257,10 +257,6 @@
                                        title: "成功",
                                    });
                                } else {
                                    this.$message({
                                        type: "warning",
                                        message: res.data.message,
                                    });
                                }
                            });
                        } else {
@@ -275,10 +271,7 @@
                                        title: "成功",
                                    });
                                } else {
                                    his.$message({
                                        type: "warning",
                                        message: res.data.message,
                                    });
                                }
                            });
                        }
@@ -307,6 +300,10 @@
                    .catch(error =>{
                    });
            },
            cancel(){
                this.elementManagementL();
                this.dialogVisible = false;
            },
            find(){
                this.elementManagementL();
            },