|
|
|
@ -473,7 +473,8 @@ |
|
|
|
|
label="隐患图片" |
|
|
|
|
label-position="top" |
|
|
|
|
label-width="200px" |
|
|
|
|
/> |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
<u-upload |
|
|
|
|
:fileList="fileList" |
|
|
|
|
@afterRead="(e) => afterRead(e, 'fileList')" |
|
|
|
@ -755,8 +756,8 @@ export default { |
|
|
|
|
this.hiddenDangerList2=[{id:v.bigCategory,itemname:newArr[0]}, |
|
|
|
|
{id:v.smallCategory,itemname:newArr[1]}, |
|
|
|
|
{id:v.hdTerm,itemname:newArr[2]}] |
|
|
|
|
console.log(this.hiddenDangerList2) |
|
|
|
|
// this.fileList = [v.hdPic]; |
|
|
|
|
// console.log(this.hiddenDangerList2) |
|
|
|
|
this.fileList = [{url:v.hdPic}]; |
|
|
|
|
}, |
|
|
|
|
add() { |
|
|
|
|
// this.addInvestigationInfo.type='add' |
|
|
|
@ -941,7 +942,7 @@ export default { |
|
|
|
|
hdTerm: this.hiddenDangerList2[2].id, |
|
|
|
|
hdTermName: this.hiddenDangerList2[2].itemname, |
|
|
|
|
hdDesc: this.describe.hdDesc, |
|
|
|
|
hdPic: this.fileList.url, |
|
|
|
|
hdPic: this.fileList.length>0?this.fileList[0].url:'', |
|
|
|
|
hdInfo: this.describe.hdInfo, |
|
|
|
|
dangerProblem:this.hiddenDangerList2[0].itemname+'/'+ this.hiddenDangerList2[1].itemname+'/'+ this.hiddenDangerList2[2].itemname |
|
|
|
|
} |
|
|
|
@ -1032,7 +1033,8 @@ export default { |
|
|
|
|
result: resultInfo, |
|
|
|
|
url: resultInfo.result, |
|
|
|
|
}) |
|
|
|
|
); |
|
|
|
|
); |
|
|
|
|
console.log(this[key]) |
|
|
|
|
} else { |
|
|
|
|
this.$.toast("上传失败"); |
|
|
|
|
this[key].splice( |
|
|
|
|