|
|
|
|
@ -327,7 +327,9 @@
|
|
|
|
|
that.formshow = false
|
|
|
|
|
that.form.address = ""
|
|
|
|
|
that.form.latitude = ""
|
|
|
|
|
that.form.longitude = ""
|
|
|
|
|
that.form.longitude = ""
|
|
|
|
|
that.form.title_id=""
|
|
|
|
|
that.askName=""
|
|
|
|
|
}
|
|
|
|
|
if (val[0].value == 3 || val[0].value == 4) {
|
|
|
|
|
that.lawshow = false
|
|
|
|
|
@ -354,7 +356,9 @@
|
|
|
|
|
number: "maintainContent" + "_" + that.form.type
|
|
|
|
|
},
|
|
|
|
|
utilSuccess: function(result) {
|
|
|
|
|
that.rainArr.askContentList = result.detail
|
|
|
|
|
that.rainArr.askContentList = result.detail
|
|
|
|
|
that.form.title_id = that.rainArr.askContentList[0].id+""
|
|
|
|
|
that.askName = that.rainArr.askContentList[0].value
|
|
|
|
|
},
|
|
|
|
|
utilFail: function(res) {
|
|
|
|
|
that.util.alert(res);
|
|
|
|
|
@ -430,18 +434,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 +454,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 +487,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);
|
|
|
|
|
|