排查处理

main
limingtao 11 months ago
parent b65cc08bc8
commit d35c6e1ace
  1. 8
      pages/investigation/task.vue

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

Loading…
Cancel
Save