liuQiang 1 年間 前
コミット
81332fa4c4
3 ファイル変更12 行追加8 行削除
  1. 1 1
      src/utils/index.js
  2. 5 3
      src/views/department/MyFile.vue
  3. 6 4
      src/views/myfile/MyFile.vue

+ 1 - 1
src/utils/index.js

@@ -89,7 +89,7 @@ export const setListImg = (remark) => {
   const dirType = remark.dirType
   const isEncrypt = remark.isEncrypt
   const encryptLevel = remark.encryptLevel
-  console.log('encryptLevel',encryptLevel);
+  // console.log('encryptLevel',encryptLevel);
   if(dirType === '1'){ //普通
     if(isEncrypt === "Y" && encryptLevel === "L1"){
       return file_1

+ 5 - 3
src/views/department/MyFile.vue

@@ -79,11 +79,13 @@
                 </div>
                 <div class="expansion">
                     <div class="top_box">
-                        <span style="margin-left: 5px;font-size: 14px;font-weight: 500;">{{ formatStorage(useSpace) }}/{{ allSpace + "G" }}</span>
+                        <span style="margin-left: 5px;font-size: 14px;font-weight: 800;">{{ formatStorage(useSpace) }}/{{ allSpace + "G" }}({{percent()}}%)</span>
                         <span style="margin-left: 5px;font-size: 14px;color: #2E6BC8;cursor: pointer;"
-                            @click="askApply">申请扩容</span>
+                            @click="askApply">扩容申请</span>
                     </div>
-                    <el-progress style="margin-left: 8px;" :stroke-width="12" color='#2E6BC8' :percentage="percent()" />
+                    <el-progress style="margin-left: 8px;margin-top: 8px;width:100%" :stroke-width="18" color='#2E6BC8' :text-inside="true" :percentage="percent()">
+                        <span style="width:0"></span>
+                    </el-progress>                
                 </div>
             </div>
             <!-- 右侧大盒子 -->

+ 6 - 4
src/views/myfile/MyFile.vue

@@ -75,12 +75,14 @@
                 </div>
                 <div class="expansion">
                     <div class="top_box">
-                        <span style="margin-left: 5px;font-size: 14px;font-weight: 500;">{{ formatStorage(useSpace) }}/{{
-                            allSpace + "G" }}</span>
+                        <span style="margin-left: 5px;font-size: 14px;font-weight: 800;">{{ formatStorage(useSpace) }}/{{
+                            allSpace + "G" }}({{percent()}}%)</span>
                         <span style="margin-left: 5px;font-size: 14px;color: #2E6BC8;cursor: pointer;"
-                            @click="askApply">申请扩容</span>
+                            @click="askApply">扩容申请</span>
                     </div>
-                    <el-progress style="margin-left: 8px;" :stroke-width="12" color='#2E6BC8' :percentage="percent()" />
+                    <el-progress style="margin-left: 8px;margin-top: 8px;width:100%" :stroke-width="18" color='#2E6BC8' :text-inside="true" :percentage="percent()">
+                        <span style="width:0"></span>
+                    </el-progress>
                 </div>
             </div>
             <!-- 右侧大盒子 -->