Browse Source

Merge branch 'gn2.2' into debug

cldu 2 weeks ago
parent
commit
24c4c93314

+ 1 - 1
src/views/BI_manage/editBoard.vue

@@ -32,7 +32,7 @@
     <BIBoardContent 
     <BIBoardContent 
       ref="boardContent" 
       ref="boardContent" 
       :knowList.sync="knowledgeList" 
       :knowList.sync="knowledgeList" 
-      renderHeight="calc(100vh - 220px)"
+      renderHeight="calc(100vh - 190px)"
       @checkDataList="checkDataList"
       @checkDataList="checkDataList"
       v-model="boardDataList" 
       v-model="boardDataList" 
       :canDelete="true" 
       :canDelete="true" 

+ 1 - 1
src/views/BI_manage/index.vue

@@ -96,7 +96,7 @@
       </div>
       </div>
     </div>
     </div>
     <!-- 看板内容模块 -->
     <!-- 看板内容模块 -->
-    <BIBoardContent ref="boardContent" :knowList.sync="knowledgeList" v-model="boardDataList" :boardInfo="boardInfo"/>
+    <BIBoardContent ref="boardContent" :knowList.sync="knowledgeList" v-model="boardDataList" :boardInfo="boardInfo" renderHeight="calc(100vh - 260px)"/>
 
 
     <!-- 设置共享 -->
     <!-- 设置共享 -->
     <set-share v-model="showSetShare" :boardInfo="boardInfo" @change="handleSetShareBack"/>
     <set-share v-model="showSetShare" :boardInfo="boardInfo" @change="handleSetShareBack"/>

+ 1 - 1
src/views/approve_manage/approveDetail.vue

@@ -24,7 +24,7 @@
             <div v-else class="approve-content" 
             <div v-else class="approve-content" 
                 v-loading="isLoading"
                 v-loading="isLoading"
                 element-loading-text="看板加载中...">
                 element-loading-text="看板加载中...">
-                <BIBoardContent ref="boardContent" :knowList.sync="knowledgeList" :value="boardDataList" renderHeight="calc(100vh - 250px)" />
+                <BIBoardContent ref="boardContent" :knowList.sync="knowledgeList" :value="boardDataList" renderHeight="calc(100vh - 200px)" />
             </div>
             </div>
         </div>
         </div>
         <div class="approve-tool">
         <div class="approve-tool">

+ 1 - 1
src/views/home_manage/index.vue

@@ -8,7 +8,7 @@
       </div>
       </div>
     </div>
     </div>
     <!-- 看板内容模块 -->
     <!-- 看板内容模块 -->
-    <BIBoardContent ref="boardContent" :knowList.sync="knowledgeList" v-model="boardDataList"/>
+    <BIBoardContent ref="boardContent" :knowList.sync="knowledgeList" v-model="boardDataList" renderHeight="calc(100vh - 190px)"/>
 
 
     <!-- 设置看板 -->
     <!-- 设置看板 -->
     <SelectBoard v-model="showSet" :boardId="boardId" :homeBoardInfo="homeBoardInfo" @change="getBoardData"/>
     <SelectBoard v-model="showSet" :boardId="boardId" :homeBoardInfo="homeBoardInfo" @change="getBoardData"/>

+ 29 - 29
src/views/report_manage/reportV2/normalReport/components/KnowResource.vue

@@ -10,11 +10,7 @@
           >{{ item.title }}</span
           >{{ item.title }}</span
         >
         >
       </div>
       </div>
-    </div>
-
-    <div class="main-box">
-      <div class="dialog-top">
-        <div>
+      <div style="display: flex;align-items: center;">
           <el-input
           <el-input
             @input="filterChange"
             @input="filterChange"
             placeholder="请输入标题"
             placeholder="请输入标题"
@@ -123,15 +119,17 @@
                 <span class="circle-rect"></span>
                 <span class="circle-rect"></span>
                 <span>{{ selectNum }}</span>
                 <span>{{ selectNum }}</span>
               </span>
               </span>
-              <span>筛选条件</span>
+              <span style="margin-left: 4px;">筛选条件</span>
             </div>
             </div>
           </el-popover>
           </el-popover>
         </div>
         </div>
-        <div>
+    </div>
+
+    <div class="main-box">
+      <div class="dialog-top">
           <el-checkbox v-model="filterForm.IsShowMe" @change="filterChange"
           <el-checkbox v-model="filterForm.IsShowMe" @change="filterChange"
             >只看我的</el-checkbox
             >只看我的</el-checkbox
           >
           >
-        </div>
       </div>
       </div>
 
 
       <div style="flex: 1; overflow: hidden">
       <div style="flex: 1; overflow: hidden">
@@ -153,7 +151,7 @@
             <div class="source">来源:{{ item.SourceFrom }}</div>
             <div class="source">来源:{{ item.SourceFrom }}</div>
           </div>
           </div>
           <tableNoData
           <tableNoData
-            :text="$t('ReportManage.ReportList.no_chart_table_available')"
+            :text="$t('Table.prompt_slogan')"
             size="mini"
             size="mini"
             v-if="tableData.length === 0 && isEnd"
             v-if="tableData.length === 0 && isEnd"
           />
           />
@@ -332,7 +330,7 @@ div {
       border-radius: 4px;
       border-radius: 4px;
       border: 1px solid var(--unnamed, #dcdfe6);
       border: 1px solid var(--unnamed, #dcdfe6);
       background: var(--gary-gy-3-disabled, #ebeff6);
       background: var(--gary-gy-3-disabled, #ebeff6);
-      display: flex;
+      display: inline-flex;
       flex-wrap: wrap;
       flex-wrap: wrap;
       align-items: center;
       align-items: center;
       gap: 0 3px;
       gap: 0 3px;
@@ -353,33 +351,19 @@ div {
         }
         }
       }
       }
     }
     }
-  }
-
-  .main-box {
-    margin-top: 30px;
-    height: calc(100vh - 220px);
-    border-radius: 4px;
-    border: 1px solid var(--gary-gy-5-line, #c8cdd9);
-    background: #fff;
-    padding: 20px;
-    display: flex;
-    flex-direction: column;
-    .dialog-top {
-      padding: 5px 15px 0;
-      display: flex;
-      justify-content: space-between;
-      align-items: center;
-      .select-btn {
+    .select-btn {
         cursor: pointer;
         cursor: pointer;
         width: 140px;
         width: 140px;
         height: 40px;
         height: 40px;
-        text-align: center;
         background-color: #ecf2fe;
         background-color: #ecf2fe;
         border-radius: 4px;
         border-radius: 4px;
         box-sizing: border-box;
         box-sizing: border-box;
-        line-height: 40px;
         margin-left: 20px;
         margin-left: 20px;
         box-sizing: border-box;
         box-sizing: border-box;
+        border: 1px solid #0052D9;
+        display: flex;
+        align-items: center;
+        justify-content: center;
         img,
         img,
         span {
         span {
           display: inline-block;
           display: inline-block;
@@ -400,6 +384,22 @@ div {
           }
           }
         }
         }
       }
       }
+  }
+
+  .main-box {
+    margin-top: 30px;
+    height: calc(100vh - 260px);
+    border-radius: 4px;
+    border: 1px solid var(--gary-gy-5-line, #c8cdd9);
+    background: #fff;
+    padding: 20px;
+    display: flex;
+    flex-direction: column;
+    .dialog-top {
+      padding: 5px 15px 0;
+      display: flex;
+      justify-content: space-between;
+      align-items: center;
     }
     }
     .list-wrap {
     .list-wrap {
       height: 100%;
       height: 100%;

+ 29 - 29
src/views/report_manage/reportV2/smartReport/components/KnowResource.vue

@@ -10,11 +10,7 @@
           >{{ item.title }}</span
           >{{ item.title }}</span
         >
         >
       </div>
       </div>
-    </div>
-
-    <div class="main-box">
-      <div class="dialog-top">
-        <div>
+      <div style="display: flex;align-items: center;">
           <el-input
           <el-input
             @input="filterChange"
             @input="filterChange"
             placeholder="请输入标题"
             placeholder="请输入标题"
@@ -123,15 +119,17 @@
                 <span class="circle-rect"></span>
                 <span class="circle-rect"></span>
                 <span>{{ selectNum }}</span>
                 <span>{{ selectNum }}</span>
               </span>
               </span>
-              <span>筛选条件</span>
+              <span style="margin-left: 4px;">筛选条件</span>
             </div>
             </div>
           </el-popover>
           </el-popover>
         </div>
         </div>
-        <div>
+    </div>
+
+    <div class="main-box">
+      <div class="dialog-top">
           <el-checkbox v-model="filterForm.IsShowMe" @change="filterChange"
           <el-checkbox v-model="filterForm.IsShowMe" @change="filterChange"
             >只看我的</el-checkbox
             >只看我的</el-checkbox
           >
           >
-        </div>
       </div>
       </div>
 
 
       <div style="flex: 1; overflow: hidden">
       <div style="flex: 1; overflow: hidden">
@@ -162,7 +160,7 @@
             </div>
             </div>
           </draggable>
           </draggable>
           <tableNoData
           <tableNoData
-            :text="$t('ReportManage.ReportList.no_chart_table_available')"
+            :text="$t('Table.prompt_slogan')"
             size="mini"
             size="mini"
             v-if="tableData.length === 0 && isEnd"
             v-if="tableData.length === 0 && isEnd"
           />
           />
@@ -350,7 +348,7 @@ div {
       border-radius: 4px;
       border-radius: 4px;
       border: 1px solid var(--unnamed, #dcdfe6);
       border: 1px solid var(--unnamed, #dcdfe6);
       background: var(--gary-gy-3-disabled, #ebeff6);
       background: var(--gary-gy-3-disabled, #ebeff6);
-      display: flex;
+      display: inline-flex;
       flex-wrap: wrap;
       flex-wrap: wrap;
       align-items: center;
       align-items: center;
       gap: 0 3px;
       gap: 0 3px;
@@ -371,33 +369,19 @@ div {
         }
         }
       }
       }
     }
     }
-  }
-
-  .main-box {
-    margin-top: 30px;
-    height: calc(100vh - 220px);
-    border-radius: 4px;
-    border: 1px solid var(--gary-gy-5-line, #c8cdd9);
-    background: #fff;
-    padding: 20px;
-    display: flex;
-    flex-direction: column;
-    .dialog-top {
-      padding: 5px 15px 0;
-      display: flex;
-      justify-content: space-between;
-      align-items: center;
-      .select-btn {
+    .select-btn {
         cursor: pointer;
         cursor: pointer;
         width: 140px;
         width: 140px;
         height: 40px;
         height: 40px;
-        text-align: center;
         background-color: #ecf2fe;
         background-color: #ecf2fe;
         border-radius: 4px;
         border-radius: 4px;
         box-sizing: border-box;
         box-sizing: border-box;
-        line-height: 40px;
         margin-left: 20px;
         margin-left: 20px;
         box-sizing: border-box;
         box-sizing: border-box;
+        border: 1px solid #0052D9;
+        display: flex;
+        align-items: center;
+        justify-content: center;
         img,
         img,
         span {
         span {
           display: inline-block;
           display: inline-block;
@@ -418,6 +402,22 @@ div {
           }
           }
         }
         }
       }
       }
+  }
+
+  .main-box {
+    margin-top: 30px;
+    height: calc(100vh - 240px);
+    border-radius: 4px;
+    border: 1px solid var(--gary-gy-5-line, #c8cdd9);
+    background: #fff;
+    padding: 20px;
+    display: flex;
+    flex-direction: column;
+    .dialog-top {
+      padding: 5px 15px 0;
+      display: flex;
+      justify-content: space-between;
+      align-items: center;
     }
     }
     .list-wrap {
     .list-wrap {
       height: 100%;
       height: 100%;