jinlin
2024-08-02 0d2203b4027ae3bf524d63da67202e778648e4cf
web/src/views/modules/taskReliability/ModelRbd.vue
@@ -3,7 +3,7 @@
    <el-row :gutter="5">
      <el-col :span="5">
        <div class="fa-card-a" style="margin-right: 5px;height: calc(100vh - 123px)">
          <product-model-tree @on-selected="onProductSelected" showXdy="true" :isShow="false"/>
          <product-model-tree ref="ProductModelTree" @on-selected="onProductSelected" @on-default="onDefault" showXdy="true" :isShow="false"/>
        </div>
      </el-col>
      <el-col :span="19">
@@ -72,7 +72,7 @@
      }
    },
    mounted() {
      this.$refs.ProductModelTree.getProductList()
    },
    components: {
      ProductModelTree,
@@ -88,6 +88,10 @@
        console.log(data, 'onProductSelected(data)')
        this.$refs.tableObj.query()
      },
      onDefault(defaultId){
        this.dataForm.productId = defaultId
        this.$refs.tableObj.query()
      },
      drawRBD(row) {
        this.dialogVisible2 = true
        this.$nextTick(() => {