master
lion 3 years ago
parent 0369dbdce5
commit 0c92eeb2a6

@ -430,18 +430,18 @@
}, },
utilSuccess: function(result) { utilSuccess: function(result) {
switch (result.type) { switch (result.old_type) {
case 1: case 1:
case 2: case 2:
case 6: case 6:
case 7: case 7:
if (result.type == 1) { if (result.old_type == 1) {
that.typeName = "雨水管道疏挖" that.typeName = "雨水管道疏挖"
} else if (result.type == 2) { } else if (result.old_type == 2) {
that.typeName = "雨水管道疏通" that.typeName = "雨水管道疏通"
}else if (result.type == 6) { }else if (result.old_type == 6) {
that.typeName = "专项处理" that.typeName = "专项处理"
}else if (result.type == 7) { }else if (result.old_type == 7) {
that.typeName = "维修" that.typeName = "维修"
} }
@ -450,7 +450,7 @@
that.roadName = result.circulation_info.road ? result.circulation_info.road that.roadName = result.circulation_info.road ? result.circulation_info.road
.name : "" .name : ""
that.askName = result.circulation_info.title_detail ? result.circulation_info that.askName = result.circulation_info.title_detail ? result.circulation_info
.title_detail.value : "" .title_detail : ""
let _files = []; let _files = [];
for (var mod of result.circulation_info.circulation_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.roadName = result.out_water_info.road ? result.out_water_info.road.name :
"" ""
that.askName = result.out_water_info.title_detail ? result.out_water_info that.askName = result.out_water_info.title_detail ? result.out_water_info
.title_detail.value : "" .title_detail : ""
let water_files = []; let water_files = [];
for (var mod of result.out_water_info.out_water_files) { for (var mod of result.out_water_info.out_water_files) {
let m = Object.assign({}, mod); let m = Object.assign({}, mod);

Loading…
Cancel
Save