jinlin
2024-03-12 69218874b7d166cf9c5a10e23e9d2e0b9280633a
web/src/views/modules/taskReliability/ModelRbd.vue
@@ -8,7 +8,8 @@
      </el-col>
      <el-col :span="19">
        <div class="mod-taskReliability-modelRbd}">
          <zt-table-wraper ref="tableObj" defaultNotQuery="true" query-url="/taskReliability/ModelRbd/page" delete-url="/taskReliability/ModelRbd"
          <zt-table-wraper ref="tableObj" defaultNotQuery="true" query-url="/taskReliability/ModelRbd/page"
                           delete-url="/taskReliability/ModelRbd"
                           :paging='false'
                           v-slot="{ table }">
            <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()">
@@ -22,7 +23,7 @@
                      border @selection-change="table.selectionChangeHandle">
              <el-table-column type="selection" width="40" align="center"/>
              <el-table-column prop="modelName" label="模型名称"/>
              <el-table-column prop="modelSign" label="模型标识"/>
              <el-table-column prop="modelTag" label="模型标识"/>
              <el-table-column prop="citedNum" label="被引用数"/>
              <el-table-column prop="modelState" label="模型状态"/>
              <el-table-column prop="modelDataState" label="模型数据状态"/>
@@ -56,7 +57,8 @@
      return {
        dialogVisible2: false,
        dataForm: {
          modelName:'',
          modelName: '',
          modelState:'',
          productId: '',
        }
      }
@@ -70,8 +72,8 @@
      RBDEditImg
    },
    methods: {
      add(){
        this.$refs.AddOrUpdate.$refs.dialog.init(null,this.dataForm.productId)
      add() {
        this.$refs.AddOrUpdate.$refs.dialog.init(null, this.dataForm.productId)
      },
      onProductSelected(data) {
        this.dataForm.productId = data.id
@@ -80,10 +82,10 @@
      },
      drawRBD(row) {
        this.dialogVisible2 = true
        this.$nextTick(()=>{
        this.$nextTick(() => {
          this.$refs.rbdEditImg.init(row)
        })
        this.$refs.tableObj.query()
      }
    }
  }