jinlin
2024-06-24 3ca8ce266bf5b06556d80c78b31405e7a54aa4e5
web/src/views/modules/taskReliability/OperatConditModel.vue
@@ -10,10 +10,10 @@
      </el-form>
      <el-table v-loading="table.dataLoading" :data="table.dataList" height="100px"
                v-adaptive="{bottomOffset:70}" border @selection-change="table.selectionChangeHandle"
                row-key="id"
                row-key="iid"
                :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
                :default-expand-all="true">
        <el-table-column prop="product" label="产品节点"/>
        <el-table-column prop="productName" label="产品节点"/>
        <el-table-column prop="modelId" label="产品模型">
          <template slot-scope="scope">
            <el-select v-model="scope.row.modelId" :disabled="scope.row.isDisabled == 1" placeholder="请选择"
@@ -42,16 +42,19 @@
<script>
  import RBDEditImg from './RBD-edit-img'
  import cloneDeep from 'lodash/cloneDeep'
  export default {
    name: 'OperaConditModel',
    data() {
      return {
        dataForm: {
          id: '',
          operatConditId: '',
          productId: '',
        },
        mapModelNodes: {},
        modelList: [],
        dialogVisible2: false,
        isChange: false,
      }