diff --git a/rainmaintain/rainmaintain/rainmaintain.vue b/rainmaintain/rainmaintain/rainmaintain.vue index e96ad33..2a7e67d 100644 --- a/rainmaintain/rainmaintain/rainmaintain.vue +++ b/rainmaintain/rainmaintain/rainmaintain.vue @@ -430,18 +430,18 @@ }, utilSuccess: function(result) { - switch (result.type) { + switch (result.old_type) { case 1: case 2: case 6: case 7: - if (result.type == 1) { + if (result.old_type == 1) { that.typeName = "雨水管道疏挖" - } else if (result.type == 2) { + } else if (result.old_type == 2) { that.typeName = "雨水管道疏通" - }else if (result.type == 6) { + }else if (result.old_type == 6) { that.typeName = "专项处理" - }else if (result.type == 7) { + }else if (result.old_type == 7) { that.typeName = "维修" } @@ -450,7 +450,7 @@ that.roadName = result.circulation_info.road ? result.circulation_info.road .name : "" that.askName = result.circulation_info.title_detail ? result.circulation_info - .title_detail.value : "" + .title_detail : "" let _files = []; for (var mod of result.circulation_info.circulation_files) { @@ -483,7 +483,7 @@ that.roadName = result.out_water_info.road ? result.out_water_info.road.name : "" that.askName = result.out_water_info.title_detail ? result.out_water_info - .title_detail.value : "" + .title_detail : "" let water_files = []; for (var mod of result.out_water_info.out_water_files) { let m = Object.assign({}, mod);