ソースを参照

添加目录分级静态

liuQiang 2 年 前
コミット
6ab450a152
1 ファイル変更20 行追加0 行削除
  1. 20 0
      src/views/myfile/modalComponebts/CreateFloder.vue

+ 20 - 0
src/views/myfile/modalComponebts/CreateFloder.vue

@@ -6,6 +6,23 @@
                     <el-form-item label="目录名称">
                         <el-input v-model="boserForm.dirName" />
                     </el-form-item>
+                    <el-form-item label="目录分类">
+                        <el-radio-group v-model="boserForm.dirType">
+                            <el-radio :label="1">公开目录</el-radio>
+                            <el-radio :label="2">组织目录</el-radio>
+                        </el-radio-group>
+                    </el-form-item>
+                    <el-form-item label="是否加密">
+                            <el-switch v-model="boserForm.encryption" />
+                    </el-form-item>
+                    <el-form-item label="加密等级">
+                        <el-radio-group v-model="boserForm.level">
+                            <el-radio :label="1">1级</el-radio>
+                            <el-radio :label="2">2级</el-radio>
+                            <el-radio :label="3">3级</el-radio>
+                            <el-radio :label="4">4级</el-radio>
+                        </el-radio-group>
+                    </el-form-item>
                 </el-form>
                 <template #footer>
                     <span class="dialog-footer">
@@ -63,6 +80,9 @@ export default {
         let addBoser = ref(false)
         let boserForm = ref({
             dirName: "",
+            dirType:1,
+            encryption:true,
+            level:1
         })
         function inital() {
             console.log(free, 'free');