value
2024-04-22 94e2f78c6ff8eb51ce9b0a8c7a85062872cacb0c
src/components/view/b2-standard.vue
@@ -109,7 +109,8 @@
         <el-tree :data="list" ref="tree" :props="{ children: 'children', label: 'label' }" node-key="label"
            :filter-node-method="filterNode" @node-click="handleNodeClick" highlight-current @node-expand="nodeOpen"
            @node-collapse="nodeClose" v-loading="treeLoad" :expand-on-click-node="false"
            :default-expanded-keys="expandedKeys">
            :default-expanded-keys="expandedKeys"
        style="max-height: 500px;overflow-y: scroll;scrollbar-width: none;">
            <div class="custom-tree-node" slot-scope="{ node, data }">
               <el-row style="width: 100%;">
                  <el-col :span="21" :class="{sort:node.level>3}">
@@ -141,7 +142,7 @@
         </el-row>
         <el-row class="standard_table" v-loading="tableLoad">
            <el-table class="el-table" :data="standardList" style="width: 100%;" height="220px" tooltip-effect="dark"
               highlight-current-row @row-click="rowClick">
               highlight-current-row @row-click="rowClick" ref="standard">
               <el-table-column prop="code" label="标准编号" show-overflow-tooltip>
                  <template slot-scope="scope">
                     <span style="color: red;font-size: 14px;">{{scope.row['code']}}</span>
@@ -604,6 +605,12 @@
            }).then(res => {
               this.tableLoad = false
               this.standardList = res.data.standardMethodList
          if(this.standardList&&this.standardList.length>0){
            this.$refs.standard.setCurrentRow(this.standardList[0])
            this.rowClick(this.standardList[0])
          }else{
            this.productList = [];
          }
            })
         },
         getPower() {