scorpio 2 년 전
부모
커밋
0e0d1e93f4
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      src/views/home/component/folder_info.vue

+ 5 - 4
src/views/home/component/folder_info.vue

@@ -67,7 +67,7 @@
                 style="width: 100%"
             />
           </el-form-item>
-          <el-form-item label="文件夹类型">
+          <el-form-item label="文件夹类型2">
             <el-select
                 v-model="dictKey"
                 clearable
@@ -147,10 +147,11 @@ export default {
       addShow: false,
       folderInfo: {
         title: '',
-        projectStageId: '',
+        stageId: '',
         projectId: '',
         parentId: '',
-        dictKey: ''
+        dictKey: '',
+        folderType: 1
       },
       keyWords: '',
       active: 0,
@@ -273,7 +274,7 @@ export default {
     },
     folderAdd () {
       this.folderInfo.projectId = this.id
-      this.folderInfo.projectStageId = this.projectStageId
+      this.folderInfo.stageId = this.projectStageId
       this.folderInfo.dictKey = this.dictKey
       this.folderInfo.parentId = 0
       this.$api.project.folderAdd(this.folderInfo).then(res => {