Kxc0822a
2022-03-31 819d7a88aa5247a0eb017666b8366856db6b532d
src/views/contingencyplan/index.vue
@@ -57,7 +57,7 @@
      style="text-align: right;margin-top: 20px;"
    >
    </el-pagination>
    <el-dialog :title="title" :visible.sync="dialogVisible" width="40%">
    <el-dialog :title="title" :visible.sync="dialogVisible":close-on-click-modal="false" width="40%">
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="预案名称" prop="name">
          <el-input v-model="form.name"></el-input>
@@ -80,7 +80,7 @@
      </el-form>
      <span slot="footer" class="dialog-footer">
        <el-button type="primary" class="btns" @click="addemergencyPlan()">确 定</el-button>
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button @click="cancel()">取 消</el-button>
      </span>
    </el-dialog>
  </div>
@@ -150,7 +150,8 @@
      uploadImgSuccess(res){
          let file = {
              fileUrl : res.fileUrl,
              fileName : res.fileName
              fileName : res.fileName,
              url:res.url
          }
          this.fileList.push(file)
      },
@@ -256,6 +257,10 @@
            .catch(error =>{
            });
    },
      cancel(){
          this.emergencyPlan();
          this.dialogVisible = false;
      },
    find() {
      this.emergencyPlan();
    },