Kxc0822a
2022-04-06 be6fa697c413c7d4f956ebac158fe137fd789d0a
重大
已修改1个文件
6 ■■■■ 文件已修改
src/views/contingencyplan/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/contingencyplan/index.vue
@@ -33,7 +33,7 @@
        <el-table-column align="center" label="附件">
            <template slot-scope="scope">
                <div v-if="scope.row.fileType==0">
                    <img :src="envUrl+scope.row.fileList[0].fileUrl" @click="showViewer=true"/>
                    <img :src="envUrl+scope.row.fileList[0].fileUrl" @click="showViewer=true" style="max-width: 100px;height: auto"/>
                    <el-image-viewer
                        v-if="showViewer"
                        :on-close="()=>showViewer=false"
@@ -78,7 +78,7 @@
      style="text-align: right;margin-top: 20px;"
    >
    </el-pagination>
    <el-dialog :title="title" :visible.sync="dialogVisible":close-on-click-modal="false" 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>
@@ -228,7 +228,7 @@
        this.fileList=[]
      } else {
        this.title = "编辑";
        this.form = value;
          this.form=JSON.parse(JSON.stringify(value));
        if (this.form.fileType==0){
            this.fileList=value.fileList
        } else{