jinlin
2024-09-06 3ecb68c427a627ad8e90d8c555655e7724be2d96
web/src/views/modules/taskReliability/ModelRbd.vue
@@ -69,6 +69,7 @@
          modelState:'',
          productId: '',
          modelTag: '',
          shipId: '',
        }
      }
    },
@@ -82,10 +83,11 @@
    },
    methods: {
      add() {
        this.$refs.AddOrUpdate.$refs.dialog.init(null, this.dataForm.productId)
        this.$refs.AddOrUpdate.$refs.dialog.init(null, {productId:this.dataForm.productId,shipId:this.dataForm.shipId})
      },
      onProductSelected(data) {
        this.dataForm.productId = data.id
        this.dataForm.shipId = data.shipId
        console.log(data, 'onProductSelected(data)')
        this.$refs.tableObj.query()
      },