| | |
| | | }, |
| | | navTo(id, reportType, status, type) { |
| | | if (status == 4) { |
| | | |
| | | if (reportType == 8) { |
| | | this.navToDetail(reportType, id, type) |
| | | } else { |
| | |
| | | this.navToEdit(reportType, id, type); |
| | | } |
| | | } |
| | | |
| | | |
| | | } else { |
| | | this.navToDetail(reportType, id, type) |
| | | } |
| | | }, |
| | | |
| | | navToEdit(reportType, id, type) { |
| | | // if (reportType == 1) { |
| | | // this.$u.func.globalNavigator(`/subPackage/label/bail?id=${id}`) |
| | | // } else if (reportType == 2 || type == 7) { |
| | | // this.$u.func.globalNavigator(`/subPackage/label/hotel?id=${id}`) |
| | | // } else if (reportType == 3 || reportType == 4 || reportType == 5) { |
| | | // this.$u.func.globalNavigator(`/subPackage/label/form?id=${id}`) |
| | | // } else if (reportType == 6) { |
| | | // this.$u.func.globalNavigator(`/subPackage/label/school?id=${id}`) |
| | | // } |
| | | |
| | | if (reportType == 1) { |
| | | this.$u.func.globalNavigator(`/subPackage/label/bail?id=${id}`) |
| | | } else if (reportType == 2 || type == 7) { |
| | | this.$u.func.globalNavigator(`/subPackage/label/hotel?id=${id}`) |
| | | } else if (reportType == 3 || reportType == 4 || reportType == 5) { |
| | | } else if (reportType == 2) { |
| | | this.$u.func.globalNavigator(`/subPackage/label/check?id=${id}`) |
| | | } else if (reportType == 5) { |
| | | this.$u.func.globalNavigator(`/subPackage/label/form?id=${id}`) |
| | | } else if (reportType == 6) { |
| | | this.$u.func.globalNavigator(`/subPackage/label/school?id=${id}`) |
| | | } |
| | | }, |
| | | |
| | | navToDetail(reportType, id, type) { |
| | | // if (reportType == 1) { |
| | | // this.$u.func.globalNavigator(`bailReportDetail?id=${id}`) |
| | | // } else if (reportType == 2 || type == 7) { |
| | | // this.$u.func.globalNavigator(`hotelReportDetail?id=${id}`) |
| | | // } else if (reportType == 3 || reportType == 4 || reportType == 5) { |
| | | // this.$u.func.globalNavigator(`labelReportDetail?id=${id}`) |
| | | // } else if (reportType == 6) { |
| | | // this.$u.func.globalNavigator(`schoolReportDetail?id=${id}`) |
| | | // } else { |
| | | // this.$u.func.globalNavigator(`checkReform?id=${id}`) |
| | | // } |
| | | |
| | | if (reportType == 1) { |
| | | this.$u.func.globalNavigator(`bailReportDetail?id=${id}`) |
| | | } else if (reportType == 2 || type == 7) { |
| | | this.$u.func.globalNavigator(`hotelReportDetail?id=${id}`) |
| | | } else if (reportType == 3 || reportType == 4 || reportType == 5) { |
| | | } else if (reportType == 2) { |
| | | this.$u.func.globalNavigator(`selfCheckDetail?id=${id}`) |
| | | } else if (reportType == 5) { |
| | | this.$u.func.globalNavigator(`labelReportDetail?id=${id}`) |
| | | } else if (reportType == 6) { |
| | | this.$u.func.globalNavigator(`schoolReportDetail?id=${id}`) |
| | | } else { |
| | | |
| | | this.$u.func.globalNavigator(`checkReform?id=${id}`) |
| | | } |
| | | |
| | | |
| | | }, |
| | | |
| | | showDateModal() { |