Ver Fonte

文件题名修改

duy há 1 semana atrás
pai
commit
6657033075
1 ficheiros alterados com 14 adições e 0 exclusões
  1. 14 0
      src/views/manager/projectinfo/tree.vue

+ 14 - 0
src/views/manager/projectinfo/tree.vue

@@ -5970,9 +5970,23 @@ async saveLinkTab() {
     },
     //文件题名(全局按钮)
     fileTitleHandle(){
+      this.getNodeNameList();
       this.getFileTableData()
       this.fileTitleVisible = true;
     },
+    getNodeNameList() {
+      let code = "node_name_type";
+
+      getDictionary({
+        code,
+      }).then((res) => {
+        this.nodeNameList = res.data.data;
+        console.log(this.nodeNameList,'this.nodeNameList');
+        
+ 
+        
+      });
+    },
     changeRadio(val){
       console.log(val,'val');
       const fileItem = this.fileTableData[this.chooseFileIndex];