瀏覽代碼

Merge branch 'master' of http://47.110.251.215:3000/web/saber

duy 2 年之前
父節點
當前提交
4adc94134d
共有 2 個文件被更改,包括 16 次插入4 次删除
  1. 8 2
      src/views/manager/archivetree.vue
  2. 8 2
      src/views/manager/projectinfo/archivetreeRule.vue

+ 8 - 2
src/views/manager/archivetree.vue

@@ -1272,8 +1272,12 @@ export default {
         this.form.isInterfaceNode = res.data.isInterfaceNode   //是否接口节点
         this.form.interfaceType = res.data.interfaceType   //选择接口类型
         this.form.associationType = res.data.associationType   //关联类型
-        this.form.majorDataType = res.data.majorDataType   //内业资料类型
+        this.form.majorDataType = res.data.majorDataType.split(',')   //内业资料类型
         this.form.displayHierarchy = res.data.displayHierarchy   //显示层级
+        
+        this.form.projectType = res.data.projectType   //工程类型
+        this.form.storageType = res.data.storageType   //储存类型
+        this.form.fileType = res.data.fileType   //文件类型
       }
     },
     async archiveTreetree4 () {//全加载左侧树
@@ -1319,7 +1323,9 @@ export default {
         interfaceType: '',  //选择接口类型
         associationType: '',  //关联类型
         majorDataType: [],  //内业资料类型
-        displayHierarchy: ''  //显示层级
+        displayHierarchy: '',  //显示层级
+
+        fileType:[],//文件类型
       }
       this.$refs.form.resetFields();
       this.form.id = ''

+ 8 - 2
src/views/manager/projectinfo/archivetreeRule.vue

@@ -1275,8 +1275,12 @@ export default {
         this.form.isInterfaceNode = res.data.isInterfaceNode   //是否接口节点
         this.form.interfaceType = res.data.interfaceType   //选择接口类型
         this.form.associationType = res.data.associationType   //关联类型
-        this.form.majorDataType = res.data.majorDataType   //内业资料类型
+        this.form.majorDataType = res.data.majorDataType.split(',')   //内业资料类型
         this.form.displayHierarchy = res.data.displayHierarchy   //显示层级
+
+        this.form.projectType = res.data.projectType   //工程类型
+        this.form.storageType = res.data.storageType   //储存类型
+        this.form.fileType = res.data.fileType   //文件类型
       }
     },
     async archiveTreetree4 () {//全加载左侧树
@@ -1323,7 +1327,9 @@ export default {
         interfaceType: '',  //选择接口类型
         associationType: '',  //关联类型
         majorDataType: [],  //内业资料类型
-        displayHierarchy: ''  //显示层级
+        displayHierarchy: '',  //显示层级
+
+        fileType:[],//文件类型
       }
       this.$refs.form.resetFields();
       this.form.id = ''