wenhongquan 11 months ago
parent
commit
9450da0e94
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/project/list/index.vue

+ 2 - 2
src/views/project/list/index.vue

@@ -237,7 +237,7 @@
 
             <el-button v-hasPermi="['filemanager.project.file.download']" v-if="(currentfile.fileSuffix+'').indexOf('pdf')==-1" type="primary" style="position:absolute;right: 0;top: 0;z-index: 11" @click="printfile(currentfile)">打印</el-button>
 
-          <div  style="position:absolute;right: 0px;top: 0px;z-index: 11;width:120px;height: 50px;background: #323639"  v-hasPermi="['filemanager.project.file.download']" ></div>
+          <div  v-if=" hsp('filemanager.project.file.download')?false:true" style="position:absolute;right: 0px;top: 0px;z-index: 11;width:120px;height: 50px;background: #323639"   ></div>
 
         </div>
         <!-- <div><el-affix :offset="120" position="bottom"><el-button type="text" icon="DArrowRight"></el-button></el-affix></div>
@@ -397,7 +397,7 @@
       :title="`上传文件`" :before-close="handleCloseupload"
       width="40vw">
 
-    <fileUpload :fileSize="200" v-model="uploadfilelist"  :suportdrag="true" :defaultbtn="false" @addfile="uploadbtnenable=false" @successupload="uploadbtnenable=true">
+    <fileUpload :fileSize="500" v-model="uploadfilelist"  :suportdrag="true" :defaultbtn="false" @addfile="uploadbtnenable=false" @successupload="uploadbtnenable=true">
        <template #default>
           <div>
              <el-icon class="el-icon--upload"><upload-filled /></el-icon>