Przeglądaj źródła

文件题名接口调用

duy 7 miesięcy temu
rodzic
commit
9ce06059f3
1 zmienionych plików z 8 dodań i 5 usunięć
  1. 8 5
      src/views/manager/projectinfo/tree.vue

+ 8 - 5
src/views/manager/projectinfo/tree.vue

@@ -4396,17 +4396,19 @@ export default {
       });
     },
     //获取文件题名范围
-    getTitleRangeData(){
+    getTitleRangeData(nameId){
      this.fileTreeLoading=true
       getTitleRange(
-       { projectId:this.projectid}
+       { projectId:this.projectid,
+  
+
+       }
       ).then((res) => {
         this.fileTreeLoading=false
         if(res.data.data){
           this.fileTreeData = res.data.data;
           this.deCheckTreeKeys = this.fileTreeData.filter(node => node.status === 11).map(node => node.id);
       
-          
         }else{
           this.fileTreeData =[]
         }
@@ -4414,10 +4416,11 @@ export default {
     },
     //选择题名范围
     chooseFile(index,row){
-      const {ruleName}=row
+      console.log(row,'row');
+      
+      const {ruleName,nameId}=row
       if(ruleName.length>0){
          this.chooseFileVisible = true;
-        
         this.chooseFileIndex= index;
         this.deCheckTreeKeys=row.ruleSizeValId
         this.getTitleRangeData()