configuration-category.component.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. @import "../../../../../src/theme.less";
  2. :host {
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: space-between;
  7. background-color: #F0F2F5;
  8. .list-template__nzTable,
  9. .list-template__bottom{
  10. padding: 0!important;
  11. border: none!important;
  12. background: #fff!important;
  13. }
  14. .list-template{
  15. width: 100%!important;
  16. height: 100%!important;
  17. }
  18. .hospitalConfig{
  19. height: 60px;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. gap: 72px;
  24. }
  25. .content{
  26. flex: 1;
  27. min-height: 0;
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: space-between;
  31. border: 1px solid #EEF3F9;
  32. &.priority{
  33. margin: 24px 118px 0;
  34. background-color: #fff;
  35. .contentInner{
  36. padding: 48px 206px;
  37. border: 1px solid #E8EBEF;
  38. }
  39. }
  40. .contentItem{
  41. padding: 4px 16px;
  42. cursor: pointer;
  43. overflow: hidden;
  44. text-overflow: ellipsis;
  45. white-space: nowrap;
  46. &.active{
  47. color: @primary-color;
  48. background-color: #F0F6ED;
  49. border-radius: 4px;
  50. }
  51. }
  52. .contentInner{
  53. flex: 1;
  54. display: flex;
  55. justify-content: space-between;
  56. align-items: center;
  57. padding: 0 16px;
  58. gap: 16px;
  59. .contentHead{
  60. height: 45px;
  61. display: flex;
  62. justify-content: space-between;
  63. align-items: center;
  64. gap: 16px;
  65. padding: 0 16px;
  66. font-size: 16px;
  67. font-weight: bold;
  68. border-bottom: 1px solid #D9D9D9;
  69. .title{
  70. overflow: hidden;
  71. text-overflow: ellipsis;
  72. white-space: nowrap;
  73. }
  74. .btns{
  75. flex-shrink: 0;
  76. }
  77. }
  78. .contentBody{
  79. padding: 0 8px;
  80. margin: 4px 0;
  81. flex: 1;
  82. }
  83. .address{
  84. flex: 1;
  85. height: 100%;
  86. background: #FFFFFF;
  87. border: 1px solid #E8EBEF;
  88. display: flex;
  89. flex-direction: column;
  90. width: 0;
  91. }
  92. .addressAssign{
  93. flex: 3;
  94. height: 100%;
  95. background: #FFFFFF;
  96. border: 1px solid #E8EBEF;
  97. display: flex;
  98. flex-direction: column;
  99. width: 0;
  100. }
  101. .list-template__searchItem {
  102. margin-bottom: 16px;
  103. .label {
  104. color: #333;
  105. display: inline-block;
  106. width: 70px;
  107. text-align-last: justify;
  108. text-align: justify;
  109. &.label--big {
  110. width: 100px;
  111. }
  112. }
  113. .formItem {
  114. width: 135px;
  115. }
  116. }
  117. }
  118. .contentBtns{
  119. margin-bottom: 16px;
  120. display: flex;
  121. justify-content: center;
  122. align-items: center;
  123. }
  124. }
  125. .save {
  126. position: fixed;
  127. left: 0;
  128. top: 0;
  129. width: 100%;
  130. height: 100%;
  131. background: rgba(0, 0, 0, 0.4);
  132. z-index: 99;
  133. .tips{
  134. margin-bottom: 16px!important;
  135. }
  136. .modalBody {
  137. width: 350px;
  138. background: #fff;
  139. border-radius: 5px;
  140. padding: 10px 20px;
  141. color: #333;
  142. .title {
  143. width: 100%;
  144. text-align: center;
  145. font-size: 18px;
  146. position: relative;
  147. i {
  148. position: absolute;
  149. right: 0;
  150. top: 0;
  151. font-size: 20px;
  152. color: #666;
  153. cursor: pointer;
  154. padding: 0 5px;
  155. }
  156. }
  157. .content {
  158. width: 310px;
  159. background: #f9fafb;
  160. border: 1px solid #e5e9ed;
  161. border-radius: 5px;
  162. overflow: hidden;
  163. margin-top: 12px;
  164. padding: 16px 0;
  165. .busyList{
  166. display: flex;
  167. margin-bottom: 8px;
  168. .busyContent{
  169. margin-right: 8px;
  170. flex: 1;
  171. }
  172. }
  173. & > div {
  174. text-align: center;
  175. margin: 0;
  176. &.icon {
  177. // margin-top: 17px;
  178. i {
  179. color: #34b349;
  180. font-size: 30px !important;
  181. &.transport-wenhao {
  182. color: #f5a523;
  183. }
  184. &.transport-shibai {
  185. color: #ff3a52;
  186. }
  187. }
  188. }
  189. &.defeat {
  190. color: #333;
  191. font-size: 14px;
  192. }
  193. &:nth-child(3) {
  194. font-size: 14px;
  195. color: #666;
  196. }
  197. }
  198. .workAssignmentTips {
  199. font-size: 12px;
  200. }
  201. }
  202. button {
  203. margin-top: 10px;
  204. &.btn {
  205. margin-left: 8px;
  206. }
  207. }
  208. }
  209. // 新增
  210. &.add {
  211. .modalBody {
  212. width: 480px;
  213. height: auto;
  214. .content {
  215. width: 100%;
  216. height: auto;
  217. padding: 16px;
  218. max-height: 497px;
  219. overflow-y: auto;
  220. .addForm {
  221. .ant-form-item {
  222. margin-bottom: 0;
  223. .ant-form-item-label {
  224. text-align: left;
  225. }
  226. .desc {
  227. margin-top: 5px;
  228. }
  229. }
  230. .datesControl {
  231. margin-top: -16px;
  232. .ant-form-item-label {
  233. line-height: 40px;
  234. }
  235. }
  236. .timer {
  237. .ant-form-item-label {
  238. width: 100%;
  239. text-align: left;
  240. }
  241. .numInp {
  242. margin-right: 5px;
  243. }
  244. .line {
  245. margin-right: 5px;
  246. }
  247. }
  248. .timer2 {
  249. .ant-form-item-label {
  250. line-height: 20px;
  251. }
  252. }
  253. }
  254. .editForm {
  255. .ant-form-item {
  256. margin-bottom: 15px;
  257. .ant-form-item-label {
  258. line-height: 14px;
  259. text-align: left;
  260. }
  261. }
  262. }
  263. }
  264. }
  265. }
  266. }
  267. }