From a4201c87e9428d230d3778a940c2cbb114efd89a Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Tue, 27 Jan 2026 08:45:26 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 applications/task-work-order/src/styles/common/cockpit.scss |  391 +++++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 349 insertions(+), 42 deletions(-)

diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index bdd93cd..e84887a 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -4,6 +4,12 @@
 $form-bg-gray: #DDE2ED;
 $form-tips-gray: #A1A3D4;
 
+$search-item-icon-color: #383874;
+$search-item-symbol-color: #383874;
+
+$search-item-symbol-bg: #fff;
+$search-item-symbol-txt: #4E5969;
+
 .gd-input {
   --bg: #{$form-bg};
   --tips: #{$form-tips};
@@ -13,12 +19,15 @@
     --tips: #{$form-tips-gray};
   }
 
-  .el-input__wrapper, .el-textarea__inner {
+  .el-input__wrapper,
+  .el-textarea__inner {
     box-shadow: none !important;
     background: var(--bg);
     border: none;
   }
-  .el-input__inner, .el-textarea__inner {
+
+  .el-input__inner,
+  .el-textarea__inner {
     &::placeholder {
       color: var(--tips);
     }
@@ -31,7 +40,19 @@
   }
 }
 
-.gd-select, {
+.gd-button-main {
+  --el-button-bg-color: #4C34FF;
+  --el-button-text-color: #ffffff;
+  --el-button-border-color: #4C34FF;
+  --el-button-hover-bg-color: rgb(130, 113, 255);
+  --el-button-hover-text-color: #ffffff;
+  --el-button-hover-border-color: rgb(130, 113, 255);
+  --el-button-active-bg-color: rgb(65, 46, 208);
+  --el-button-active-border-color: rgb(65, 46, 208);
+  color: #ffffff;
+}
+
+.gd-select {
   --bg: #{$form-bg};
   --tips: #{$form-tips};
 
@@ -45,6 +66,13 @@
     background: var(--bg);
     box-shadow: none !important;
     border: none;
+
+
+    .el-select__suffix {
+      .el-icon {
+        color: $search-item-icon-color;
+      }
+    }
   }
 
   .el-select__placeholder {
@@ -65,6 +93,14 @@
   &.gray {
     --bg: #{$form-bg-gray};
     --tips: #{$form-tips-gray};
+  }
+
+  .el-icon {
+    color: $search-item-icon-color;
+  }
+
+  .el-range-separator {
+    color: $search-item-symbol-color !important;
   }
 
   box-shadow: none !important;
@@ -114,7 +150,7 @@
       background: none !important;
     }
 
-    .el-tree-node.is-current > .el-tree-node__content {
+    .el-tree-node.is-current>.el-tree-node__content {
       color: #479dff !important;
     }
   }
@@ -172,26 +208,26 @@
 }
 
 .gd-date-picker-popper {
-  background: #DDE2ED !important;
+  background: #fff !important;
   border: none !important;
   border-radius: 0px 0px 8px 8px;
 
   .el-date-picker__prev-btn,
   .el-date-picker__next-btn {
     .el-icon {
-      color: #fff !important;
+      color: #4E5969 !important;
     }
   }
 
   .el-date-picker__header-label {
-    color: #fff !important;
+    color: #4E5969 !important;
   }
 
   .el-picker-panel {
     .el-picker-panel__body-wrapper {
       .el-picker-panel__body {
-        background: #DDE2ED !important;
-        color: #fff !important;
+        background: #fff !important;
+        color: #4E5969 !important;
 
         .el-date-range-picker__time-header {
           .el-input__wrapper {
@@ -259,7 +295,7 @@
         .el-picker-panel__content {
           .el-date-range-picker__header {
             .el-picker-panel__icon-btn {
-              color: #fff !important;
+              color: #4E5969 !important;
 
               &:hover {
                 color: var(--el-color-primary) !important;
@@ -272,9 +308,9 @@
               }
             }
 
-            & > div {
+            &>div {
               span {
-                color: #fff !important;
+                color: #4E5969 !important;
               }
             }
           }
@@ -299,14 +335,15 @@
             td.start-date span,
             td.start-date span,
             td.end-date span {
-              background-color: #DDE2ED !important;
+              color: #fff !important;
+              background-color: #354DFF !important;
             }
 
             td.in-range div,
             td.in-range div:hover,
             &.is-week-mode .el-date-table__row.current div,
             &.is-week-mode .el-date-table__row:hover div {
-              background-color: rgba(60, 121, 202) !important;
+              background-color: rgba(71, 126, 255, .1) !important;
             }
           }
         }
@@ -380,12 +417,14 @@
 
 .el-overlay-dialog {
   display: flex;
-  justify-content: center; /* 水平居中 */
-  align-items: center; /* 垂直居中 */
+  justify-content: center;
+  /* 水平居中 */
+  align-items: center;
+  /* 垂直居中 */
 }
 
 .gd-dialog {
-  padding: 30px;
+  padding: 20px;
   display: flex;
   flex-direction: column;
   background: #FFFFFF;
@@ -394,6 +433,9 @@
   max-height: 90vh;
 
   .el-dialog__header {
+    padding-bottom: 20px;
+    position: relative;
+
     span {
       font-family: Source Han Sans CN, Source Han Sans CN;
       font-weight: bold;
@@ -403,6 +445,13 @@
       text-align: left;
       font-style: normal;
       text-transform: none;
+    }
+
+    &>button {
+      width: auto;
+      height: auto;
+      display: flex;
+      align-items: center;
     }
 
     .el-icon {
@@ -420,6 +469,33 @@
       font-weight: 400;
       font-size: 14px;
       color: #161B2C;
+    }
+
+
+    .detail-container {
+      display: flex;
+      justify-content: space-between;
+
+      .detail-left {
+        margin-right: 20px;
+        width: 312px;
+        padding: 24px;
+        border: 1px solid #E4E4E4;
+      }
+
+      .detail-right {
+        &>div {
+          .detail-title {
+            margin: 10px 0;
+          }
+
+          &:first-child {
+            .detail-title {
+              margin-top: 0;
+            }
+          }
+        }
+      }
     }
 
     // 查看
@@ -460,6 +536,13 @@
         }
       }
     }
+
+    .el-upload {
+      button {
+        background: #4C34FF;
+        border: none;
+      }
+    }
   }
 
   .el-dialog__footer {
@@ -470,15 +553,10 @@
       margin-left: 16px;
       width: 96px;
       height: 36px;
-      color: #161B2C;
 
       &:first-child {
         margin-left: 0;
       }
-    }
-
-    .save-btn {
-      color: #FFFFFF;
     }
   }
 }
@@ -488,15 +566,14 @@
   flex: 1;
   background: transparent !important;
 
-  .el-table--border .el-table__inner-wrapper:after,
-  .el-table--border:after,
-  .el-table--border:before,
-  .el-table__inner-wrapper:before {
-    height: 0;
-  }
-
   tr {
     background: transparent !important;
+  }
+
+  tr.el-table__row {
+    &:hover {
+      background: #F7F8FC !important;
+    }
   }
 
   th.el-table__cell {
@@ -534,17 +611,42 @@
   td.operation-btns .cell {
     display: flex;
     flex-wrap: nowrap;
-    gap: 12px;
     /* 按钮间距(推荐) */
     white-space: nowrap;
     /* 双保险 */
 
     a {
+      display: flex;
+      align-items: center;
+      position: relative;
+      margin: 0 10px;
       min-width: 28px;
-      color: #0075FF;
+
+      span {
+        color: #0075FF;
+      }
+
+      &:first-child {
+        margin-left: 0;
+      }
+
+      &::before {
+        content: '';
+        position: absolute;
+        top: 50%;
+        right: -10px;
+        width: 1px;
+        height: 12px;
+        background: #BCC8E3;
+        transform: translateY(calc(-50% - 1px));
+      }
 
       &:last-child {
         margin-right: 0;
+
+        &::before {
+          display: none;
+        }
       }
     }
   }
@@ -554,8 +656,53 @@
     background: transparent !important;
   }
 
+  .el-checkbox {
+    width: 16px;
+    height: 16px;
+
+    .el-checkbox__input {
+      width: 16px;
+      height: 16px;
+
+      .el-checkbox__inner {
+        width: 16px;
+        height: 16px;
+
+        border: none;
+        background: url("@/assets/images/common/n-checkbox.png") no-repeat center / 100% 100% !important;
+      }
+    }
+
+    &.is-checked {
+      .el-checkbox__input {
+        .el-checkbox__inner {
+          border: none;
+          background: url("@/assets/images/common/checkbox.png") no-repeat center / 100% 100% !important;
+
+          &::after {
+            content: none;
+          }
+        }
+      }
+    }
+  }
+
   .fixed-column {
     background-color: #1A1A2A !important;
+  }
+}
+
+.el-table {
+
+  .el-table--border .el-table__inner-wrapper:after,
+  .el-table--border:after,
+  .el-table--border:before,
+  .el-table__inner-wrapper:before {
+    height: 0;
+  }
+
+  td.el-table__cell {
+    border: none !important;
   }
 }
 
@@ -628,16 +775,16 @@
 }
 
 .gd-confirm-custom {
-  background: #1A1A2A;
+  background: #fff;
   border-radius: 6px;
-  border: 1px solid #2E2E46;
+  border: none;
 
   .el-message-box__header {
     .el-message-box__title {
       font-family: Source Han Sans CN, Source Han Sans CN;
       font-weight: bold;
       font-size: 18px;
-      color: #FFFFFF;
+      color: #383874;
       line-height: 22px;
       text-align: left;
       font-style: normal;
@@ -646,7 +793,7 @@
   }
 
   .el-message-box__content {
-    color: #D4D5D7;
+    color: #4E5969;
   }
 
   .el-message-box__btns {
@@ -666,14 +813,15 @@
 }
 
 .gd-confirm-button {
-  background: #284FE3 !important;
-  border-color: #284FE3 !important;
+  background: #4C34FF !important;
+  border: none !important;
+  color: #fff !important;
 }
 
 .gd-confirm-cancel-button {
-  background: #2B2B4C !important;
-  border-color: #2B2B4C !important;
-  color: #FFFFFF !important;
+  background: #F2F3F5 !important;
+  border: none !important;
+  color: #161B2C !important;
 }
 
 .gd-search-form {
@@ -790,14 +938,14 @@
 
 .gd-select-popper {
   border: none;
-  background: $form-bg !important;
+  background: $search-item-symbol-bg !important;
 
   .el-select-dropdown {
     .el-scrollbar {
       .el-select-dropdown__wrap {
         .el-select-dropdown__list {
           .el-select-dropdown__item {
-            color: #4E5969;
+            color: $search-item-symbol-txt;
 
             &.hover {
               background-color: rgba(0, 120, 233, 0.63) !important;
@@ -866,3 +1014,162 @@
     }
   }
 }
+
+.gd-tabs {
+  .el-tabs__header {
+    .el-tabs__item.is-active {
+      color: #3247E5;
+    }
+
+    .el-tabs__active-bar {
+      background: #3247E5;
+    }
+  }
+}
+
+.gd-dialog-table {
+  background: transparent !important;
+
+  tr {
+    background: transparent !important;
+  }
+
+  tr.el-table__row {
+    &:hover {
+      background: #F7F8FC !important;
+    }
+  }
+
+  th.el-table__cell {
+    height: 40px;
+    border-bottom: 1px solid #DBDFF1 !important;
+
+    .cell {
+      padding: 0 0 0 16px;
+      font-family: Source Han Sans CN, Source Han Sans CN;
+      font-weight: 400;
+      font-size: 14px;
+      color: #9292C1;
+      text-align: left;
+      font-style: normal;
+      text-transform: none;
+    }
+  }
+
+  td.el-table__cell {
+    padding: 9px 0;
+    height: 56px;
+
+    .cell {
+      padding: 0 0 0 16px;
+      font-family: Source Han Sans CN, Source Han Sans CN;
+      font-weight: 400;
+      font-size: 14px;
+      color: #383874;
+      text-align: left;
+      font-style: normal;
+      text-transform: none;
+    }
+  }
+
+  td.operation-btns .cell {
+    display: flex;
+    flex-wrap: nowrap;
+    /* 按钮间距(推荐) */
+    white-space: nowrap;
+    /* 双保险 */
+
+    a {
+      display: flex;
+      align-items: center;
+      position: relative;
+      margin: 0 10px;
+      min-width: 28px;
+
+      span {
+        color: #0075FF;
+      }
+
+      &:first-child {
+        margin-left: 0;
+      }
+
+      &::before {
+        content: '';
+        position: absolute;
+        top: 50%;
+        right: -10px;
+        width: 1px;
+        height: 12px;
+        background: #BCC8E3;
+        transform: translateY(calc(-50% - 1px));
+      }
+
+      &:last-child {
+        margin-right: 0;
+
+        &::before {
+          display: none;
+        }
+      }
+    }
+  }
+
+  th.el-table__cell:not(.fixed-column),
+  td.el-table__cell:not(.fixed-column) {
+    background: transparent !important;
+  }
+
+  .el-checkbox {
+    width: 16px;
+    height: 16px;
+
+    .el-checkbox__input {
+      width: 16px;
+      height: 16px;
+
+      .el-checkbox__inner {
+        width: 16px;
+        height: 16px;
+
+        border: none;
+        background: url("@/assets/images/common/n-checkbox.png") no-repeat center / 100% 100% !important;
+      }
+    }
+
+    &.is-checked {
+      .el-checkbox__input {
+        .el-checkbox__inner {
+          border: none;
+          background: url("@/assets/images/common/checkbox.png") no-repeat center / 100% 100% !important;
+
+          &::after {
+            content: none;
+          }
+        }
+      }
+    }
+  }
+
+  .fixed-column {
+    background-color: #1A1A2A !important;
+  }
+}
+
+.el-popper {
+  .el-menu--popup-container {
+    .el-menu {
+      .el-menu-item.is-active {
+        &::before {
+          display: none;
+        }
+
+        background: #4C34FF;
+
+        span {
+          color: #fff;
+        }
+      }
+    }
+  }
+}
\ No newline at end of file

--
Gitblit v1.9.3