Переглянути джерело

调整故障统计布局、修改知识库的参数

Rmengdi 2 місяців тому
батько
коміт
bb28eb6251

+ 1 - 1
src/views/als/LLM/index.vue

@@ -101,7 +101,7 @@ export default {
         override: false,
         chunk_size: 750,
         chunk_overlap: 150,
-        zh_title_enhance: false,
+        zh_title_enhance: true,
         knowledge_base_name: 'lqbz'
       },
       fileList: [],

+ 14 - 6
src/views/als/faultStatistics/index.vue

@@ -16,10 +16,21 @@
               </el-dropdown-menu>
             </el-dropdown>
           </div>
-          <div class="view-carrierFlightMission-FlightMission-btn-right">
+          <div class="view-carrierFlightMission-FlightMission-btn-right" style="width: 70%; overflow-x: auto">
             <div class="input-with-select">
               <span>日期</span>
-              <el-date-picker type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" format="yyyy-MM-dd" v-model="statisticsDate" placement="bottom-start" placeholder="选择日期">
+              <el-date-picker
+                style="width: 270px"
+                type="daterange"
+                range-separator="至"
+                start-placeholder="开始日期"
+                end-placeholder="结束日期"
+                value-format="yyyy-MM-dd"
+                format="yyyy-MM-dd"
+                v-model="statisticsDate"
+                placement="bottom-start"
+                placeholder="选择日期"
+              >
               </el-date-picker>
             </div>
             <div class="input-with-select">
@@ -52,11 +63,8 @@
                 <el-option v-for="item in faultyPartsNameList" :key="item.faultyPartsName" :label="item.faultyPartsName" :value="item.faultyPartsName"> </el-option>
               </el-select>
             </div>
-            <el-button @click="searchClick" style="border-color: rgb(13, 128, 164); background-color: rgb(13, 128, 164); color: #fff">查询</el-button>
-            <!-- <el-input placeholder="请输入关键字" v-model="keyWord" class="input1">
-              <el-button slot="append" icon="el-icon-search" @click="searchClick"></el-button>
-            </el-input> -->
           </div>
+          <el-button @click="searchClick" style="border-color: rgb(13, 128, 164); background-color: rgb(13, 128, 164); color: #fff">查询</el-button>
         </div>
         <div class="view-dataType-table">
           <LTable ref="table" @selection-change="selection" :defaultFetch="false" :fetch="fetch" :columns="columns" :dataSource="tableData" :options="options" :pagination="tableRequset"></LTable>

+ 8 - 4
src/views/als/index.scss

@@ -37,18 +37,26 @@
 }
 .view-carrierFlightMission-FlightMission-btn-right {
   display: flex;
+  -ms-overflow-style: none;
+  scrollbar-width: none;
+
   .input-with-select {
     display: flex;
     margin-right: 20px;
     > span {
+      white-space: nowrap; 
       color: #fff;
       display: block;
       margin-right: 10px;
       width: 60px;
+      height: 24px;
       line-height: 30px;
     }
   }
 }
+.view-carrierFlightMission-FlightMission-btn-right::-webkit-scrollbar{
+  display: none;
+  }
 
 .c-card-content-echars-1 {
   height: calc(100vh - 142px - 90px - 20px);
@@ -58,8 +66,4 @@
   }
 }
 
-// ::-webkit-scrollbar {
-//   /*滚动条整体样式*/
-//   display: none;
-// }