gaoluyang
2025-04-08 48fc5c4139aec46e7b31551092ab398d18f7972a
src/views/business/productOrder/index.vue
@@ -784,6 +784,11 @@
    ...mapGetters(["nickName"]),
  },
  mounted() {
    if (this.checkPermi(['get:raw:await'])) {
      this.tabIndex = 0
    } else {
      this.tabIndex = 2
    }
    this.refreshTable()
    this.getAuthorizedPerson()
  },
@@ -1265,6 +1270,18 @@
        inspectorList = row.userName.split(',')
      }
      inspectorList.push(this.nickName)
      if (this.checkPermi(['business:inspectionView'])) {
        this.$router.push({
          name: "InspectionView",
          query: {
            sonLaboratory: row.sonLaboratory,
            state: 3,
            typeSource: row.typeSource,
            orderId: row.id,
            inspectorList: inspectorList,
          },
        })
      } else {
      this.$router.push({
        path: "/inspectionTask/inspection",
        query: {
@@ -1275,6 +1292,7 @@
          inspectorList: inspectorList,
        },
      })
      }
    },
    goback() {
      this.state = 0