Commit 9ff94ec2 authored by zhangjianqian's avatar zhangjianqian

应急处置功能

parent 0e4218dd
...@@ -476,7 +476,7 @@ export default { ...@@ -476,7 +476,7 @@ export default {
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;
this.title = "修改事件处置"; this.title = "修改事件处置";
if(row.iconUrl!=null){ if(this.form.iconUrl!=null){
this.fileList = [{name: '附件', url: uploadfile}]; this.fileList = [{name: '附件', url: uploadfile}];
} }
this.display=""; this.display="";
......
...@@ -456,7 +456,7 @@ export default { ...@@ -456,7 +456,7 @@ export default {
this.form = response.data; this.form = response.data;
this.title = "应急预案详情"; this.title = "应急预案详情";
this.fileList = [{name: 'file', url:uploadfile}]; this.fileList = [{name: '附件', url:uploadfile}];
this.fileurl = row.iconUrl; this.fileurl = row.iconUrl;
document.getElementById("yesbutton").style.display="none" ; document.getElementById("yesbutton").style.display="none" ;
document.getElementById("fujian").style.display="none" document.getElementById("fujian").style.display="none"
...@@ -473,7 +473,7 @@ export default { ...@@ -473,7 +473,7 @@ export default {
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;
this.title = "修改应急预案"; this.title = "修改应急预案";
if(row.iconUrl!=null||row.iconUrl==""){ if(this.form.iconUrl!=null||this.form.iconUrl==""){
this.fileList = [{name: 'file', url:uploadfile}]; this.fileList = [{name: 'file', url:uploadfile}];
this.$nextTick(()=>{ this.$nextTick(()=>{
document.getElementsByClassName("el-upload--picture-card")[0].style.display="none" document.getElementsByClassName("el-upload--picture-card")[0].style.display="none"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment