From be6fa697c413c7d4f956ebac158fe137fd789d0a Mon Sep 17 00:00:00 2001 From: Kxc0822a <kxc000822> Date: 星期三, 06 四月 2022 10:50:22 +0800 Subject: [PATCH] 重大 --- src/views/contingencyplan/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/contingencyplan/index.vue b/src/views/contingencyplan/index.vue index 635bf2a..817bd15 100644 --- a/src/views/contingencyplan/index.vue +++ b/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{ -- Gitblit v1.9.2