|
|
|
|
@ -57,7 +57,8 @@
|
|
|
|
|
showClear: false,
|
|
|
|
|
totype: "",
|
|
|
|
|
road_id: "",
|
|
|
|
|
road_name: ""
|
|
|
|
|
road_name: "",
|
|
|
|
|
orderId:""
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -76,7 +77,8 @@
|
|
|
|
|
},
|
|
|
|
|
onLoad(options) {
|
|
|
|
|
let that = this;
|
|
|
|
|
that.totype = options.type;
|
|
|
|
|
that.totype = options.type;
|
|
|
|
|
that.orderId = options.orderId
|
|
|
|
|
uni.getLocation({
|
|
|
|
|
type: "gcj02",
|
|
|
|
|
geocode: true,
|
|
|
|
|
@ -104,18 +106,18 @@
|
|
|
|
|
let url = "/packageA/pages/generalPatrol/generalPatrol";
|
|
|
|
|
if (totype == 'general') {
|
|
|
|
|
url = "/packageA/pages/generalPatrol/generalPatrol?roadid=" + this.road_id + "&roadname=" + this
|
|
|
|
|
.road_name
|
|
|
|
|
.road_name+"&orderId="+this.orderId
|
|
|
|
|
}
|
|
|
|
|
if (totype == 'daily') {
|
|
|
|
|
url = "/packageB/pages/dailyInspection/dailyInspection?roadid=" + this.road_id + "&roadname=" + this
|
|
|
|
|
.road_name
|
|
|
|
|
.road_name+"&orderId="+this.orderId
|
|
|
|
|
}
|
|
|
|
|
if (totype == 'rainmaintain') {
|
|
|
|
|
url = "/rainmaintain/rainmaintain/rainmaintain?roadid=" + this.road_id + "&roadname=" + this.road_name
|
|
|
|
|
url = "/rainmaintain/rainmaintain/rainmaintain?roadid=" + this.road_id + "&roadname=" + this.road_name+"&orderId="+this.orderId
|
|
|
|
|
}
|
|
|
|
|
if (totype == 'raininspection') {
|
|
|
|
|
url = "/raininspection/raininspection/raininspection?roadid=" + this.road_id + "&roadname=" + this
|
|
|
|
|
.road_name
|
|
|
|
|
.road_name+"&orderId="+this.orderId
|
|
|
|
|
}
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: url
|
|
|
|
|
|