Pārlūkot izejas kodu

首页查看文字功能更改,更改部分界面不需要隐藏/搜索按钮

yxc 2 gadi atpakaļ
vecāks
revīzija
091e8248c6

+ 4 - 3
src/styles1/element-ui1.scss

@@ -74,7 +74,7 @@
   height: calc(100vh * (650 / 1080)) !important;
   background: url(../assets/img/Group-585.png);
   background-size: calc(100vw * (700 / 1920)) calc(100vh * (650 / 1080));
-  padding-top: calc(100vh * (30 / 1080));
+  padding-top: calc(100vh * (40 / 1080));
   padding-right: calc(100vw * (80 / 1920));    
   padding-left: calc(100vw * (80 / 1920));    
   .el-dialog__body{
@@ -116,9 +116,10 @@
 }
 //右上角关闭按钮
 .el-dialog__headerbtn .el-dialog__close {
+  font-size: 25px;
   color: #02C2E3FF;
-  margin-top: 40px;
-  margin-right: 30px;
+  margin-top: calc(100vw * (60 / 1920));
+  margin-right: calc(100vw * (40 / 1920));
   border: 1px solid #02C2E3FF;
   border-radius: 50%;
 }

+ 2 - 1
src/views1/File/Individual/IndividualView.vue

@@ -88,7 +88,7 @@
             <el-table v-loading="loading" :data="infoList" @selection-change="handleSelectionChange"
               class="main-right-table" height="calc(100vh * (630 / 1080))" align="left"
               :header-cell-style="{ 'text-align': 'center' }">
-              <el-table-column type="selection" width="55" align="center" />
+              <!-- <el-table-column type="selection" width="55" align="center" /> -->
               <el-table-column label="文件名称" align="left" prop="docName" />
               <el-table-column label="文件大小" align="center" prop="docSize" :formatter="fileSizeData" width="100" />
               <el-table-column label="修改时间" align="center" prop="updateTime" />
@@ -1030,6 +1030,7 @@
   //弹窗底部按钮的位置
   ::v-deep .el-dialog__footer {
     padding: 0;
+    
   }
 
   //弹窗关闭按钮

+ 1 - 1
src/views1/File/Level/LevelView.vue

@@ -29,7 +29,7 @@
             <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
               v-hasPermi="['doc:level:export']">导出</el-button>
           </el-col>
-          <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+          <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
         </el-row>
 
         <el-table v-loading="loading" :data="levelList" @selection-change="handleSelectionChange">

+ 4 - 1
src/views1/File/Part/PartView.vue

@@ -148,7 +148,7 @@
               align="left"
               :header-cell-style="{'text-align':'center'}"
             >
-            <el-table-column type="selection" width="55" align="center" />
+            <!-- <el-table-column type="selection" width="55" align="center" /> -->
               <el-table-column label="文件名称" align="left" prop="docName" />
               <el-table-column label="文件大小" align="center" prop="docSize" :formatter="fileSizeData" width="100" />
               <el-table-column label="修改时间" align="center" prop="updateTime" />
@@ -1086,6 +1086,9 @@ export default {
   height: 0;
 }
 //table样式
+::v-deep .el-table{
+  overflow: auto;
+}
 ::v-deep .el-table th {
   background: #016c9aa6;
   color: #2e8aec;

+ 20 - 44
src/views1/File/Publi/PublicView.vue

@@ -118,7 +118,7 @@
               @selection-change="handleSelectionChange"
               class="main-right-table"
             >
-              <el-table-column type="selection" width="55" align="center" />
+              <!-- <el-table-column type="selection" width="55" align="center" /> -->
               <el-table-column label="文件名称" align="center" prop="docName" />
               <el-table-column
                 label="文件大小"
@@ -157,50 +157,25 @@
                   </div>
                 </template>
               </el-table-column>
-              <el-table-column
-                label="操作"
-                align="center"
-                class-name="small-padding fixed-width"
-              >
+              <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
                 <template slot-scope="scope">
-                  <el-button
-                    size="mini"
-                    type="text"
-                    icon="el-icon-view"
-                    @click="handlePreview(scope.row)"
-                    >预览</el-button
-                  >
-                  <el-button
-                    size="mini"
-                    type="text"
-                    icon="el-icon-download"
-                    @click="handleDownload(scope.row)"
-                    >下载</el-button
-                  >
-                  <el-button
-                    size="mini"
-                    type="text"
-                    icon="el-icon-view"
-                    @click="handleEdit(scope.row)"
-                    v-hasRole="['public.manager']"
-                    >在线编辑</el-button
-                  >
-                  <el-button
-                    size="mini"
-                    type="text"
-                    icon="el-icon-edit"
-                    @click="handleUpdate(scope.row)"
-                    v-hasRole="['public.manager']"
-                    >修改</el-button
-                  >
-                  <el-button
-                    size="mini"
-                    type="text"
-                    icon="el-icon-delete"
-                    @click="handleDelete(scope.row)"
-                    v-hasRole="['public.manager']"
-                    >删除</el-button
-                  >
+                  <el-button size="mini" type="text" icon="el-icon-view" @click="handlePreview(scope.row)"
+                    v-if="checkLevel(scope.row, 'view')">预览</el-button>
+                  <el-dropdown size="mini">
+                    <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
+                    <el-dropdown-menu slot="dropdown">
+                      <el-dropdown-item icon="el-icon-view" @click.native="handleShare(scope.row)"
+                        v-if="checkLevel(scope.row, 'share')">分享</el-dropdown-item>
+                      <el-dropdown-item icon="el-icon-view" @click.native="handleDownload(scope.row)"
+                        v-if="checkLevel(scope.row, 'download')">下载</el-dropdown-item>
+                      <el-dropdown-item icon="el-icon-view" @click.native="handleEdit(scope.row)"
+                        v-if="checkLevel(scope.row, 'edit')">在线编辑</el-dropdown-item>
+                      <el-dropdown-item icon="el-icon-edit" @click.native="handleUpdate(scope.row)"
+                        v-hasPermi="['doc:info:edit']" v-if="checkLevel(scope.row, 'modify')">修改</el-dropdown-item>
+                      <el-dropdown-item icon="el-icon-delete" @click.native="handleDelete(scope.row)"
+                        v-hasPermi="['doc:info:remove']" v-if="checkLevel(scope.row, 'del')">删除</el-dropdown-item>
+                    </el-dropdown-menu>
+                  </el-dropdown>
                 </template>
               </el-table-column>
             </el-table>
@@ -927,6 +902,7 @@ export default {
         // margin-left: calc(100vw * (20 / 1920));
         background: transparent;
         color: #7ea4c8ff;
+        overflow: auto;
       }
       //表格底部数据
       .pagination-container {

+ 5 - 5
src/views1/File/Storage/StoView.vue

@@ -17,7 +17,7 @@
           <el-row :gutter="20">
             <!--部门数据-->
             <el-col :span="4" :xs="24" class="main-left">
-              <div class="head-top">部门结构</div>
+              <div class="head-top">子分组文档</div>
               <div class="head-container">
           <el-tree :data="dirList" :props="defaultProps" :expand-on-click-node="false" ref="tree" node-key="id"
             default-expand-all highlight-current @node-click="handleNodeClick" />
@@ -152,9 +152,9 @@
         <el-form-item label="文件名称" prop="docName">
           <el-input v-model="form.docName" placeholder="请输入文件名称" />
         </el-form-item>
-        <el-form-item label="文件描述">
+        <!-- <el-form-item label="文件描述">
           <el-input v-model="form.docDesc" type="textarea" placeholder="请输入内容" />
-        </el-form-item>
+        </el-form-item> -->
         <el-form-item label="选择标签(最多5个)" prop="tagName" color="red">
               <el-tag
                 :key="tag"
@@ -761,7 +761,7 @@ import { listTag } from "@/api/doc/tag.js";
           color: #ffffffff;
           font-size: 0.2rem;
           padding-left: calc(100vw * (15 / 1920));
-          padding-top: calc(100vh * (20 / 1080));
+          padding-top: calc(100vh * (25 / 1080));
         }
       }
       .el-breadcrumb{
@@ -786,7 +786,7 @@ import { listTag } from "@/api/doc/tag.js";
           color: #ffffffff;
           font-size: 0.16rem;
           padding-left: calc(100vw * (15 / 1920));
-          padding-top: calc(100vh * (20 / 1080));
+          padding-top: calc(100vh * (25 / 1080));
           padding-bottom: calc(100vh * (20 / 1080));
         }
         //重置按钮

+ 1 - 1
src/views1/File/Storage/StorageView.vue

@@ -199,7 +199,7 @@
       h3 {
         font-size: 0.2rem;
         color: #ffffffff;
-        padding-top: calc(100vh * (25 / 1080));
+        padding-top: calc(100vh * (30 / 1080));
         padding-bottom: calc(100vh * (10 / 1080));
         padding-left: calc(100vw * (30 / 1920));
       }

+ 1 - 1
src/views1/Page/PageView.vue

@@ -87,7 +87,7 @@
                 <p class="four2" v-html="item.msgContent"></p>
               </div>
               <div class="five">
-                <span @click="looks">查看详细</span>
+                <span @click="looks(item.msgContent)">查看详细</span>
               </div>
             </li>
           </ul>

+ 3 - 3
src/views1/Personal/Identificat/IdentificatView.vue

@@ -12,9 +12,8 @@
       <div class="top">
         <img src="../../../assets/img/shangchuan.png" alt="" />
       </div>
-      <el-upload class="upload-demo" :action="ocrUrl" :on-preview="handlePreview" :on-success="handleAvatarSuccess"
-        list-type="picture" :show-file-list="false">
-        <el-button size="small" type="primary">点击上传图片1</el-button>
+      <el-upload class="upload-demo" :action="ocrUrl" :on-preview="handlePreview" :on-success="handleAvatarSuccess" list-type="picture" :show-file-list="false">
+        <el-button size="small" type="primary">点击上传图片</el-button>
       </el-upload>
     </div>
     <el-button class="returns" @click="returns" v-if="ccc">上传新的</el-button>
@@ -26,6 +25,7 @@
   export default {
     data() {
       return {
+
         url: "",
         //扫描界面默认关闭
         aaa: false,

+ 1 - 1
src/views1/Personal/Partspace/PartspaceView.vue

@@ -21,7 +21,7 @@
       <el-col :span="1.5">
         <el-button type="info" plain icon="el-icon-sort" size="mini" @click="toggleExpandAll">展开/折叠</el-button>
       </el-col>
-      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+      <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
     </el-row>
 
     <el-table v-if="refreshTable" v-loading="loading" :data="dirList" row-key="dirId" :default-expand-all="isExpandAll"

+ 1 - 1
src/views1/Personal/Publispace/PublispaceView.vue

@@ -21,7 +21,7 @@
       <el-col :span="1.5">
         <el-button type="info" plain icon="el-icon-sort" size="mini" @click="toggleExpandAll">展开/折叠</el-button>
       </el-col>
-      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+      <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
     </el-row>
 
     <el-table v-if="refreshTable" v-loading="loading" :data="dirList" row-key="dirId" :default-expand-all="isExpandAll"

+ 2 - 2
src/views1/Personal/Space/SpaceView.vue

@@ -35,10 +35,10 @@
                 >展开/折叠</el-button
               >
             </el-col>
-            <right-toolbar
+            <!-- <right-toolbar
               :showSearch.sync="showSearch"
               @queryTable="getList"
-            ></right-toolbar>
+            ></right-toolbar> -->
           </el-row>
 
           <el-table

+ 41 - 40
src/views1/Personal/Storagespace/Groupspace.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="containe">
-    <div class="header">
+    <!-- <div class="header">
       <span>个人设置</span>
       <img src="../../../assets/img/chevron-down.png" alt="" />
       <img src="../../../assets/img/slash.png" alt="" />
@@ -11,9 +11,9 @@
       <img src="../../../assets/img/chevron-up.png" alt="" class="top2" />
       <img src="../../../assets/img/slash.png" alt="" />
     </div>
-    <div class="title">分组空间</div>
+    <div class="title">分组空间</div> -->
     <div class="main">
-      <h3>目录列表</h3>
+      <h3>分组存储空间</h3>
       <div class="main-main">
         <div class="app-container">
           <el-row :gutter="10" class="mb8">
@@ -39,13 +39,13 @@
                 >展开/折叠</el-button
               >
             </el-col>
-            <el-col :span="1.5">
+            <!-- <el-col :span="1.5">
               <el-button type="warning" plain size="mini" @click="handleClose">返回</el-button>
-            </el-col>
-            <right-toolbar
+            </el-col> -->
+            <!-- <right-toolbar
               :showSearch.sync="showSearch"
               @queryTable="getList"
-            ></right-toolbar>
+            ></right-toolbar> -->
           </el-row>
 
           <el-table
@@ -492,58 +492,59 @@ export default {
   font-weight: 500;
   padding-left: calc(100vw * (20 / 1920));
   //顶部信息
-  .header {
-    height: calc(100vh * (22 / 1080));
-    margin-top: calc(100vh * (20 / 1080));
-    margin-bottom: calc(100vh * (20 / 1080));
-    display: flex;
-    align-items: center;
-    img {
-      width: calc(100vw * (16 / 1920));
-      height: calc(100vh * (16 / 1080));
-      border: 1px dashed grey;
-      margin-left: 3px;
-      margin-right: 3px;
-    }
-    .top1 {
-      color: #2e8aecff;
-    }
-  }
-  //中间目录列表
-  .title {
-    height: calc(100vh * (22 / 1080));
-    margin-top: calc(100vh * (20 / 1080));
-    margin-bottom: calc(100vh * (20 / 1080));
-    color: #ffffffff;
-    font-size: 0.16rem;
-    font-weight: bold;
-    line-height: calc(100vh * (22 / 1080));
-  }
+  // .header {
+  //   height: calc(100vh * (22 / 1080));
+  //   margin-top: calc(100vh * (20 / 1080));
+  //   margin-bottom: calc(100vh * (20 / 1080));
+  //   display: flex;
+  //   align-items: center;
+  //   img {
+  //     width: calc(100vw * (16 / 1920));
+  //     height: calc(100vh * (16 / 1080));
+  //     border: 1px dashed grey;
+  //     margin-left: 3px;
+  //     margin-right: 3px;
+  //   }
+  //   .top1 {
+  //     color: #2e8aecff;
+  //   }
+  // }
+  // //中间目录列表
+  // .title {
+  //   height: calc(100vh * (22 / 1080));
+  //   margin-top: calc(100vh * (20 / 1080));
+  //   margin-bottom: calc(100vh * (20 / 1080));
+  //   color: #ffffffff;
+  //   font-size: 0.16rem;
+  //   font-weight: bold;
+  //   line-height: calc(100vh * (22 / 1080));
+  // }
   .main {
     width: calc(100vw * (1876 / 1920));
-    height: calc(100vh * (774 / 1080));
+    height: calc(100vh * (824 / 1080));
     background: url(../../../assets/img/Group-610.png);
-    background-size: calc(100vw * (1876 / 1920)) calc(100vh * (774 / 1080));
+    background-size: calc(100vw * (1876 / 1920)) calc(100vh * (824 / 1080));
+    margin-top: calc(100vh * (35 / 1080));
     h3 {
       font-size: 0.2rem;
       color: #ffffffff;
-      padding-top: calc(100vh * (21 / 1080));
+      padding-top: calc(100vh * (25 / 1080));
       padding-left: calc(100vw * (30 / 1920));
     }
     .main-main {
       width: calc(100vw * (1845 / 1920));
-      height: calc(100vh * (700 / 1080));
+      height: calc(100vh * (750 / 1080));
       margin-left: calc(100vw * (16 / 1920));
       margin-top: calc(100vh * (20 / 1080));
       // background: seagreen;
       .app-container {
         width: calc(100vw * (1845 / 1920));
-        height: calc(100vh * (700 / 1080));
+        height: calc(100vh * (750 / 1080));
         padding: 0;
       }
       .el-table {
         width: calc(100vw * (1830 / 1920));
-        height: calc(100vh * (646 / 1080));
+        height: calc(100vh * (696 / 1080));
         margin-left: calc(100vw * (8 / 1920));
         border: 1px solid #006c9aff;
         overflow: auto;