| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490 |
- .check-unit-mana {
- .check-unit-container {
- display: flex;
- height: 100%;
- padding: 16px;
- }
- // 左侧科室树样式
- .dept-tree {
- display: flex;
- flex-direction: column;
- width: 220px;
- min-width: 220px;
- max-width: 220px;
- background: #fff;
- height: calc(100vh - 80px);
- overflow: hidden;
- .search-wrapper {
- display: flex;
- align-items: center;
- padding: 12px;
- padding-bottom: 8px;
- flex-shrink: 0; // 防止搜索栏被压缩
- .search-input {
- flex: 1;
- border-radius: 4px;
- border: 1px solid #d9d9d9;
- .ant-input {
- border: none;
- box-shadow: none;
- }
- &:hover,
- &:focus-within {
- border-color: #3377ff;
- }
- }
- .add-button {
- margin-left: 8px;
- width: 24px;
- height: 24px;
- background: #fafcff;
- border-radius: 4px;
- border: 1px solid #dae2f2;
- padding: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- .dept-list {
- flex: 1;
- overflow-y: auto;
- .dept-group {
- margin-bottom: 0;
- .dept-parent {
- display: flex;
- align-items: center;
- padding: 6px 12px 6px 8px;
- margin: 0 8px;
- cursor: pointer;
- height: 32px;
- box-sizing: border-box;
- border-radius: 4px;
- justify-content: space-between;
- .toggle-button {
- padding: 0;
- width: 16px;
- height: 16px;
- margin-right: 4px;
- border: none;
- line-height: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #999;
- background: transparent;
- .anticon {
- font-size: 16px;
- }
- &:hover {
- background: transparent;
- color: #333;
- }
- }
- .dept-title {
- flex: 1;
- font-size: 14px;
- color: #17181A;
- }
- .more-button {
- padding: 0;
- width: 16px;
- height: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #999;
- border-radius: 4px;
- background: #fff;
- border: 1px solid #e8e8e8;
- .anticon {
- transform: rotate(90deg);
- }
- &:hover {
- background: #fff;
- }
- }
- &:hover {
- background-color: #f0f2f5;
- }
- &.selected {
- background: #f0f2f5;
- border: none;
- .dept-title {
- color: #17181A;
- font-weight: 500;
- }
- }
- }
- .dept-leaf {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 12px 0 20px; // 左侧缩进,区别于父节点
- margin: 0 8px;
- cursor: pointer;
- height: 32px;
- box-sizing: border-box;
- border-radius: 4px;
- span {
- flex: 1;
- font-size: 14px;
- color: #17181A; // 统一颜色
- }
- &:hover {
- background-color: #f0f2f5;
- }
- &.selected {
- background: #f0f2f5;
- border: none;
- span {
- color: #17181A;
- font-weight: 500;
- }
- }
- .more-button {
- padding: 0;
- width: 16px;
- height: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #999;
- border-radius: 4px;
- background: #fff;
- border: 1px solid #e8e8e8;
- .anticon {
- transform: rotate(90deg);
- }
- &:hover {
- background: #fff;
- }
- }
- .dept-title {
- flex: 1;
- font-size: 14px;
- color: #17181A;
- }
- &:hover {
- background-color: #f0f2f5;
- }
- }
- .dept-children {
- padding: 4px 0;
- .dept-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 12px 0 36px;
- margin: 0 8px;
- cursor: pointer;
- height: 32px;
- box-sizing: border-box;
- border-radius: 4px;
- span {
- flex: 1;
- font-size: 14px;
- color: #17181A;
- }
- &:hover {
- background-color: #f0f2f5;
- }
- &.selected {
- background: #f0f2f5;
- border: none;
- span {
- color: #17181A;
- font-weight: 500;
- }
- }
- .more-button {
- padding: 0;
- width: 16px;
- height: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #999;
- border-radius: 4px;
- background: #fff;
-
- .anticon {
- transform: rotate(90deg);
- }
- &:hover {
- background: #fff;
- }
- }
- }
- }
- .dept-empty {
- padding: 6px 10px 6px 30px;
- margin: 0 8px;
- color: #999;
- font-size: 13px;
- }
- }
- // 叶子节点样式(临床诊疗、后勤支援等)
- .dept-leaf-node {
- display: flex;
- align-items: center;
- padding: 6px 8px;
- margin: 4px 8px;
- cursor: pointer;
- height: 32px;
- box-sizing: border-box;
- background: transparent;
- border-radius: 0;
- .leaf-button {
- padding: 0;
- width: 20px;
- height: 20px;
- margin-right: 8px;
- border: none;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #666;
- .anticon {
- font-size: 12px;
- }
- }
- .leaf-title {
- flex: 1;
- font-size: 14px;
- color: #17181A;
- }
- &:hover {
- background: #f5f5f5;
- }
- }
- }
- }
- // 右侧内容区样式
- .dept-content {
- flex: 1;
- padding-left: 16px;
- height: 100%;
- overflow: auto;
- .pfm-ant-card {
- box-shadow: none;
- background: #fff;
- border-radius: 4px;
- .pfm-ant-card-body {
- padding: 16px;
- }
- }
- .dept-header {
- padding: 0 0 16px;
- border-bottom: 1px solid #e6eaf2;
- display: flex;
- align-items: baseline;
- gap: 8px;
- .dept-title {
- font-size: 20px;
- font-weight: 600;
- color: #17181A;
- }
- .dept-info {
- font-size: 14px;
- color: #515866;
- }
- }
- .pfm-ant-tabs-nav {
- margin-bottom: 16px;
- }
- .tab-content {
- .toolbar {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 16px;
- }
- .add-btn {
- background-color: #3377ff;
- border-color: #3377ff;
- border-radius: 4px;
- height: 24px;
- box-shadow: none;
- font-weight: 400;
- font-size: 14px;
- color: #ffffff;
- width: 56px;
- padding: 0;
- line-height: 22px;
- &:hover {
- background-color: #5591ff;
- border-color: #5591ff;
- }
- &:active {
- background-color: #1b5ee6;
- border-color: #1b5ee6;
- }
- }
- }
- }
- // 表格样式
- /* 表格样式已统一至 KCIMTable/style.less */
- .delete-btn {
- color: #3377ff;
- }
- // 员工选择相关样式
- .employee-select-modal {
- .pfm-ant-modal-header {
- border-bottom: 1px solid #f0f0f0;
- padding: 12px 16px;
- .pfm-ant-modal-title {
- font-size: 14px;
- font-weight: 500;
- color: #17181A;
- }
- }
- .pfm-ant-modal-close {
- top: 12px;
- }
- .pfm-ant-modal-body {
- padding: 16px;
- padding-bottom: 8px;
- }
- .pfm-ant-modal-footer {
- border-top: 1px solid #f0f0f0;
- padding: 12px 16px;
- }
- .blue-checkbox {
- .pfm-ant-checkbox-inner {
- border-color: #3377ff;
- border-radius: 2px;
- }
- &.pfm-ant-checkbox-checked .pfm-ant-checkbox-inner {
- background-color: #3377ff;
- border-color: #3377ff;
- }
- }
- .pfm-ant-btn-primary {
- border-radius: 2px;
- }
- }
- // 复选框样式调整
- .pfm-ant-checkbox-checked .pfm-ant-checkbox-inner {
- background-color: #3377ff;
- border-color: #3377ff;
- }
- .pfm-ant-checkbox-wrapper:hover .pfm-ant-checkbox-inner,
- .pfm-ant-checkbox:hover .pfm-ant-checkbox-inner,
- .pfm-ant-checkbox-input:focus + .pfm-ant-checkbox-inner {
- border-color: #3377ff;
- }
- // 按钮样式调整
- .pfm-ant-btn-primary {
- &:hover,
- &:focus {
- background-color: #5591ff;
- border-color: #5591ff;
- }
- &:active {
- background-color: #1b5ee6;
- border-color: #1b5ee6;
- }
- }
- }
- // 为新增按钮的下拉菜单设置特定样式
- .check-unit-add-dropdown {
- .pfm-ant-dropdown-menu {
- border-radius: 4px;
- overflow: hidden;
- padding: 4px;
- }
- .pfm-ant-dropdown-menu-item {
- &:hover,
- &.pfm-ant-dropdown-menu-item-selected {
- background: rgba(51, 119, 255, 0.08);
- color: #17181a;
- border-radius: 4px;
- }
- }
- }
- .content-padding {
- padding-left: 16px;
- padding-right: 16px;
- }
- .dept-title-text {
- display: inline-block;
- max-width: 180px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- vertical-align: middle;
- }
|