| | |
| | | unitCode,
|
| | | buildingCode
|
| | | } = res.data;
|
| | | if (isJur == 1) {
|
| | | if (doorplateType == "户室牌") {
|
| | | // if (isJur == 1) {
|
| | | if (doorplateType == "户室牌") {
|
| | | this.$u.func.globalNavigator(
|
| | | `/subPackage/house/roomDetails/index?id=${code}&from=scan`, "navTo")
|
| | | } else if (doorplateType == "中门牌") {
|
| | | if (addressLevel == 4) { //自建房
|
| | | this.$u.func.globalNavigator(
|
| | | `/subPackage/house/roomDetails/index?id=${code}&from=scan`, "navTo")
|
| | | } else if (doorplateType == "中门牌") {
|
| | | if (addressLevel == 4) { //自建房
|
| | | this.$u.func.globalNavigator(
|
| | | `/subPackage/house/roomDetails/detail?code=${code}`, "navTo")
|
| | | } else { //商铺
|
| | | this.$u.func.globalNavigator(
|
| | | `/subPackage/house/houseNumber/index?stdId=${code}`, "navTo")
|
| | | }
|
| | | } else if (doorplateType == "楼幢牌") {
|
| | | let url = "/subPackage/house/family/index"
|
| | | `/subPackage/house/roomDetails/detail?code=${code}`, "navTo")
|
| | | } else { //商铺
|
| | | this.$u.func.globalNavigator(
|
| | | `${url}?id=${code}&address=${addressName}&neiName=${neiName}&housingName=${aoiName}&buildingName=${buildingName}&buildingCode=${buildingCode}&aoiCode=${aoiCode}&neiCode=${neiCode}`,
|
| | | "navTo")
|
| | | } else if (doorplateType == "单元牌") {
|
| | | let url = "/subPackage/house/family/index"
|
| | | this.$u.func.globalNavigator(
|
| | | `${url}?id=${code}&address=${addressName}&neiName=${neiName}&housingName=${aoiName}&buildingName=${buildingName}&unitName=${unitName}&unitCode=${unitCode}&neiCode=${neiCode}&buildingCode=${buildingCode}`,
|
| | | "navTo")
|
| | | } else if (doorplateType == "大门牌") {
|
| | | this.$u.func.globalNavigator(
|
| | | `/subPackage/house/list/index?id=${code}&title=${aoiName}&neiName=${neiName}&address=${addressName}&neiCode=${neiCode}&aoiCode=${aoiCode}`,
|
| | | "navTo")
|
| | | `/subPackage/house/houseNumber/index?stdId=${code}`, "navTo")
|
| | | }
|
| | | } else {
|
| | | uni.showModal({
|
| | | title: "提示!",
|
| | | content: "该区域不是您管辖范围",
|
| | | showCancel: false
|
| | | })
|
| | | } else if (doorplateType == "楼幢牌") {
|
| | | let url = "/subPackage/house/family/index"
|
| | | this.$u.func.globalNavigator(
|
| | | `${url}?id=${code}&address=${addressName}&neiName=${neiName}&housingName=${aoiName}&buildingName=${buildingName}&buildingCode=${buildingCode}&aoiCode=${aoiCode}&neiCode=${neiCode}`,
|
| | | "navTo")
|
| | | } else if (doorplateType == "单元牌") {
|
| | | let url = "/subPackage/house/family/index"
|
| | | this.$u.func.globalNavigator(
|
| | | `${url}?id=${code}&address=${addressName}&neiName=${neiName}&housingName=${aoiName}&buildingName=${buildingName}&unitName=${unitName}&unitCode=${unitCode}&neiCode=${neiCode}&buildingCode=${buildingCode}`,
|
| | | "navTo")
|
| | | } else if (doorplateType == "大门牌") {
|
| | | this.$u.func.globalNavigator(
|
| | | `/subPackage/house/list/index?id=${code}&title=${aoiName}&neiName=${neiName}&address=${addressName}&neiCode=${neiCode}&aoiCode=${aoiCode}`,
|
| | | "navTo")
|
| | | }
|
| | | // } else {
|
| | | // uni.showModal({
|
| | | // title: "提示!",
|
| | | // content: "该区域不是您管辖范围",
|
| | | // showCancel: false
|
| | | // })
|
| | | // }
|
| | | })
|
| | | },
|
| | |
|