From e00da17ae2adaecf1cdf2d5128e357a50607bc90 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 27 Feb 2026 08:40:37 +0800
Subject: [PATCH] feat: 权限获取调整
---
applications/task-work-order/src/styles/common/cockpit.scss | 102 +++++++++++++++++++++++++++++++++++++++------------
1 files changed, 78 insertions(+), 24 deletions(-)
diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index 64f2e18..fb44707 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -10,7 +10,8 @@
$search-item-symbol-bg: #fff;
$search-item-symbol-txt: #4E5969;
-.gd-input {
+.gd-input,
+.gd-input-text {
--bg: #{$form-bg};
--tips: #{$form-tips};
@@ -31,6 +32,8 @@
&::placeholder {
color: var(--tips);
}
+
+ color: #383874;
}
&.is-disabled {
@@ -122,6 +125,8 @@
&::placeholder {
color: var(--tips);
}
+
+ color: #383874;
}
.el-range-separator {
@@ -518,7 +523,8 @@
.label {
display: inline-block;
- width: 88px;
+ min-width: 88px;
+ flex-shrink: 0;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 14px;
@@ -531,6 +537,8 @@
.val {
margin-left: 12px;
+ flex: 1;
+ overflow: hidden;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 14px;
@@ -540,13 +548,13 @@
font-style: normal;
text-transform: none;
}
- }
- }
- .el-upload {
- button {
- background: #4C34FF;
- border: none;
+ .val-long {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ cursor: pointer;
+ }
}
}
}
@@ -802,7 +810,13 @@
color: #4E5969;
}
+ .el-message-box__container {
+ display: flex;
+ justify-content: center;
+ }
+
.el-message-box__btns {
+ padding-top: 10px;
display: flex;
justify-content: center;
@@ -1021,18 +1035,6 @@
}
}
-.gd-tabs {
- .el-tabs__header {
- .el-tabs__item.is-active {
- color: #3247E5;
- }
-
- .el-tabs__active-bar {
- background: #3247E5;
- }
- }
-}
-
.gd-dialog-table {
background: transparent !important;
@@ -1048,14 +1050,14 @@
th.el-table__cell {
height: 40px;
- border-bottom: 1px solid #DBDFF1 !important;
+ border-bottom: 1px solid #E5E6EB !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;
+ color: #86909C;
text-align: left;
font-style: normal;
text-transform: none;
@@ -1071,7 +1073,7 @@
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 14px;
- color: #383874;
+ color: #4E5969;
text-align: left;
font-style: normal;
text-transform: none;
@@ -1178,4 +1180,56 @@
}
}
}
-}
\ No newline at end of file
+}
+
+.gd-dialog-form {
+ // 最后一排不需要设置 margin-bottom
+ // border: 1px solid red;
+ // 倒数第二个也设置为0
+ // .el-col:nth-last-child(2) {
+ // margin-bottom: 0;
+ // }
+ // .el-col:nth-last-child(1) {
+ // margin-bottom: 0;
+ // }
+
+ // .el-form-item:nth-last-child(2) {
+ // margin-bottom: 0;
+ // }
+ // .el-form-item:nth-last-child(1) {
+ // margin-bottom: 0;
+ // }
+ .gd-select {
+ .el-select__wrapper {
+ height: 36px;
+ }
+ }
+
+ .gd-date-picker {
+ height: 36px;
+ }
+ .gd-input {
+ height: 36px;
+ }
+ .gd-upload-btn {
+ height: 36px;
+ }
+ .el-input,
+ .el-input-number {
+ min-width: 200px;
+ flex: 1;
+
+ .el-input__wrapper {
+ padding: 0 8px;
+ }
+
+ .el-input__inner {
+ text-align: left;
+ color: #383874;
+
+ &::placeholder {
+ text-align: left;
+ }
+ }
+ }
+}
--
Gitblit v1.9.3