11wqe1 преди 6 месеца
родител
ревизия
020617cc04

+ 1 - 1
src/components/pages/knowledge/components/relateFiles.vue

@@ -486,7 +486,7 @@ export default {
 }
 
 .mask {
-  background-color: rgb(0 0 0 / 30%);
+  /* background-color: rgb(0 0 0 / 30%); */
   /* position: fixed; */
   position: absolute;
   top: 0;

+ 2 - 2
src/components/pages/knowledge/fileBox.vue

@@ -20,7 +20,7 @@
         <selectTag
           v-model="checkFolderid"
           :options="myFolderArray"
-          :placeholder="'选择文件夹'"
+          :placeholder="'选择文件夹'"
           style="width: 250px;"
           @change="serchFile()"
         />
@@ -759,7 +759,7 @@ export default {
 }
 
 .mask {
-  background-color: rgb(0 0 0 / 30%);
+  /* background-color: rgb(0 0 0 / 30%); */
   /* position: fixed; */
   position: absolute;
   top: 0;

+ 5 - 7
src/components/pages/knowledge/folder.vue

@@ -243,22 +243,20 @@
           <el-table-column
             prop="fileCount"
             label="文件数"
-            align="center"
-            width="100px"
+            width="120px"
           ></el-table-column>
           <el-table-column
             prop="username"
             label="拥有者"
-            align="center"
             show-overflow-tooltip
-            min-width="10"
+            width="120"
           ></el-table-column>
-          <el-table-column label="标签" align="center" show-overflow-tooltip min-width="10">
+          <el-table-column label="标签"  show-overflow-tooltip min-width="10">
             <template slot-scope="scope">
               {{ getTag(scope.row) }}
             </template>
           </el-table-column>
-          <el-table-column label="公开权限" align="center" width="120px">
+          <el-table-column label="公开权限" width="120px">
             <template slot-scope="scope">
               {{ getJuri(scope.row.juri) }}
             </template>
@@ -1052,7 +1050,7 @@ export default {
 }
 
 .mask {
-  background-color: rgb(0 0 0 / 30%);
+  /* background-color: rgb(0 0 0 / 30%); */
   /* position: fixed; */
   position: absolute;
   top: 0;

+ 32 - 19
src/components/pages/knowledge/folderFileBox.vue

@@ -97,11 +97,10 @@
         >
         <template #empty>
           <div class="customC">
-            <div style="height: 50px;line-height: 50px;width: 47.4px;display: flex;justify-content: center;">
+            <div style="height: 50px;line-height: 50px;width: 47.4px;">
               <img style="width: 100%;" src="../../../assets/flieKong.svg" alt="">
             </div>
             <div style="height: 50px;line-height: 40px;">暂无数据内容...</div>
-           
           </div>
         </template>
           <el-table-column
@@ -125,15 +124,15 @@
             prop="username"
             label="拥有者"
             show-overflow-tooltip
-            width="220"
+            width="120"
           ></el-table-column>
           
-          <el-table-column label="处理状态" width="80px">
+          <el-table-column label="处理状态" width="120px">
             <template slot-scope="scope">
               {{ getState(scope.row.ingestionStatus) }}
             </template>
           </el-table-column>
-          <el-table-column label="是否提取" width="80px">
+          <el-table-column label="是否提取" width="120px">
             <template slot-scope="scope">
               {{ getState2(scope.row.extractionStatus) }}
             </template>
@@ -141,7 +140,7 @@
           <el-table-column
             label="文件类型"
             show-overflow-tooltip
-            min-width="10"
+            width="120"
           >
             <template slot-scope="scope">
               {{ scope.row.documentType ? scope.row.documentType : "-" }}
@@ -889,7 +888,7 @@ export default {
 }
 
 .mask {
-  background-color: rgb(0 0 0 / 30%);
+  /* background-color: rgb(0 0 0 / 30%); */
   /* position: fixed; */
   position: absolute;
   top: 0;
@@ -1156,6 +1155,31 @@ export default {
 .list_file_box {
   width: 100%;
 }
+.list_file_box >>> .el-table__empty-block{
+  height: 300px !important;
+  display: flex;
+  align-items: center;
+}
+.list_file_box >>> .el-table__empty-block div{
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  /* justify-content: center; */
+}
+.customC{
+  /* height: 300px; */
+
+  /* width: 100px; */
+  /* height: 400px;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  flex-wrap: wrap;
+  font-size: 14px;
+  margin-top: .5rem;
+  color: #667085; */
+}
 .list_file_box >>>table th{
   border:none !important;
   background-color: #F0F2F5 !important; /* 浅灰色背景 */
@@ -1425,18 +1449,7 @@ export default {
   justify-content: center;
   line-height: 22px !important;
 }
-.customC{
-  /* width: 100px; */
-  height: 400px;
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-  justify-content: center;
-  flex-wrap: wrap;
-  font-size: 14px;
-  margin-top: .5rem;
-  color: #667085;
-}
+
 .list_file_box >>> .el-table-column--selection .cell{
     display: flex !important;
     align-items: center !important;