Lou
2024-02-05 d10f56e9212d497bf873b599cd1098be2cb93b49
subPackage/workbench/views/audit.vue
@@ -192,7 +192,6 @@
         },
         navTo(id, reportType, status, type) {
            if (status == 4) {
               if (reportType == 8) {
                  this.navToDetail(reportType, id, type)
               } else {
@@ -202,38 +201,55 @@
                     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() {