yanghao преди 1 ден
родител
ревизия
385e6e267e
променени са 2 файла, в които са добавени 26 реда и са изтрити 9 реда
  1. 1 1
      .env.local
  2. 25 8
      src/views/pms/qhse/kanban/index.vue

+ 1 - 1
.env.local

@@ -4,7 +4,7 @@ NODE_ENV=development
 VITE_DEV=true
 
 # 请求路径  http://192.168.188.79:48080  https://iot.deepoil.cc  http://172.26.0.56:48080
-VITE_BASE_URL='https://aims.deepoil.cc'
+VITE_BASE_URL='https://iot.deepoil.cc'
 
 # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
 VITE_UPLOAD_TYPE=server

+ 25 - 8
src/views/pms/qhse/kanban/index.vue

@@ -973,8 +973,11 @@ onUnmounted(() => {
             <el-table
               :loading="certLoading"
               :data="certTableData"
-              height="100%"
-              class="certificate-table">
+              height="100vh"
+              :header-cell-style="{
+                height: '42px'
+              }"
+              class="device-list-table production-brief-table">
               <el-table-column label="序号" width="80" align="center">
                 <template #default="scope">
                   {{ (certQueryParams.pageNo - 1) * certQueryParams.pageSize + scope.$index + 1 }}
@@ -1393,7 +1396,7 @@ onUnmounted(() => {
 .certificate-table-panel {
   margin-top: 18px;
   padding: 18px 18px 12px;
-  height: 760px;
+  height: 860px;
   display: flex;
   flex-direction: column;
 }
@@ -1402,13 +1405,27 @@ onUnmounted(() => {
   flex: 1;
 }
 
-.certificate-table :deep(.el-table) {
-  --el-table-header-bg-color: rgba(248, 251, 255, 0.95);
-  --el-table-row-hover-bg-color: rgba(79, 141, 255, 0.06);
-  border-radius: 14px;
-}
+// :deep(.el-table) {
+//   --el-table-header-bg-color: rgba(248, 251, 255, 0.95);
+//   --el-table-row-hover-bg-color: rgba(79, 141, 255, 0.06);
+//   border-radius: 14px;
+// }
 
 .certificate-pagination {
   padding-top: 14px;
 }
+
+.production-brief-table {
+  width: 100%;
+
+  :deep(.el-table__header-wrapper th.el-table__cell) {
+    font-size: calc(16px * var(--kb-scale, 1));
+    line-height: 1.2;
+  }
+
+  :deep(.el-table__body td.el-table__cell) {
+    padding: calc(7px * var(--kb-scale, 1)) 0;
+    font-size: calc(14px * var(--kb-scale, 1));
+  }
+}
 </style>