zss
2023-09-14 4c5c20a7c03539104df74072b1b8a81b51c19ab8
src/components/view/record-content.vue
@@ -46,6 +46,7 @@
      height: calc(100% - 20px);
      border-right: 3px solid rgb(245, 247, 251);
      padding: 16px;
      overflow-y: auto;
   }
   .thing .left .custom-tree-node span {
@@ -141,7 +142,6 @@
         <div class="left">
            <el-input v-model="search.technology" suffix-icon="el-icon-search" placeholder="请输入搜索内容" size="small" clearable @input="query"></el-input>
            <el-tree :data="list" ref="tree"
            style="height: 500px;overflow-y: auto;"
            :props="{children: 'children',label: 'name'}" node-key="name" default-expand-all
               @node-click="handleNodeClick" highlight-current
               :key="upIndex">
@@ -464,12 +464,13 @@
                      "Content-Type": "application/json"
                    }
            }
            )
            ).then(res =>{
               this.selectjilu()
            })
         },
         add() {
            this.dialogVisible = false
            this.addRecord()
            this.selectjilu()
            this.form = {};
         },
         query() {
@@ -493,6 +494,7 @@
         console.log(one);
         let name=one.children[0].id
         console.log(name);
         this.checkTreeNode.id = name
         this.selectjiluStart(name)
         this.selectDataList();
         });
@@ -508,6 +510,7 @@
         },
         //selectjilu  checkTreeNode
         selectjilu() {
            console.log(this.checkTreeNode.id);
         this.$axios.get(this.$api.url.selectjilu,{
            params:{id:this.checkTreeNode.id}
         }).then(res => {