wente
2024-11-05 1696a5ccc97a923f65eaf3a554eabce2436bc510
web/src/views/modules/taskReliability/ModelRbd.vue
@@ -33,7 +33,7 @@
              <el-table-column prop="modelTag" label="模型标识"/>
              <el-table-column prop="quoteNum" label="被引用数" align="center"/>
              <el-table-column prop="modelState" label="模型状态" align="center"/>
              <el-table-column prop="modelDataState" label="模型数据状态" align="center"/>
        <!--      <el-table-column prop="modelDataState" label="模型数据状态" align="center"/>-->
              <el-table-column prop="remark" label="备注"/>
              <zt-table-column-handle :table="table"
                                      delete-perm="taskReliability::delete" :has-view="false" width="180px">
@@ -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()
      },