| | |
| | | console.log("this.isAllImg",this.isAllImg) |
| | | console.log("detailData",this.detailData) |
| | | this.detailData.disaster = test.disasterType == 1 ? '地震': test.disasterType == 2 ? '洪涝' : test.disasterType == 3 ? '气象' : test.disasterType == 4 ? '地质灾害': test.disasterType == 5 ? '水旱': '森林草原火灾'; |
| | | this.getMeasures(); |
| | | if(this.unitType == 4 && this.role == '工作人员'){ |
| | | this.getMeasures(); |
| | | } |
| | | |
| | | }, |
| | | methods: { |
| | | goBack() { |
| | |
| | | getMeasureDetail({id: this.detailData.id}).then(res => { |
| | | if(res.code == 100){ |
| | | if(res.data.baseMeasures && res.data.baseMeasures.length>0 ){ |
| | | console.log('111111') |
| | | this.cityMessage = '查看措施反馈'; |
| | | this.measureData = res.data; |
| | | }else { |
| | | this.cityMessage = '响应措施反馈'; |
| | | } |
| | | } |
| | | }else{ |
| | | uni.$u.toast(res.msg) |
| | | } |
| | | }) |
| | | }, |
| | | goMeasures() { |