batch-orders.component.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652
  1. @import "../../../../src/theme.less";
  2. :host {
  3. width: 100%;
  4. height: 100%;
  5. position: fixed;
  6. left: 0;
  7. top: 0;
  8. background: rgba(0, 0, 0, 0.4);
  9. z-index: 99;
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. .hospitalTable {
  14. padding: 21px 12px;
  15. padding-bottom: 0;
  16. .thead {
  17. background-image: linear-gradient(to right, @bg-start, @bg-end);
  18. th {
  19. background: transparent;
  20. color: #fff;
  21. text-align: center;
  22. font-size: 14px;
  23. }
  24. }
  25. .ant-table-body {
  26. border-bottom: 1px solid #e5e9ed;
  27. }
  28. .ant-table-tbody {
  29. tr {
  30. text-align: center;
  31. font-size: 14px;
  32. border: none;
  33. color: #333;
  34. td {
  35. border: none;
  36. .coop {
  37. span {
  38. display: inline-block;
  39. width: 60px;
  40. cursor: pointer;
  41. &::after {
  42. content: "|";
  43. float: right;
  44. }
  45. &:hover {
  46. color: @primary-color;
  47. }
  48. &:active {
  49. color: @primary-color;
  50. }
  51. &:nth-last-child(1) {
  52. &::after {
  53. content: "";
  54. }
  55. }
  56. }
  57. }
  58. }
  59. }
  60. tr:nth-child(2n-1) {
  61. background: #f9fafb;
  62. }
  63. }
  64. }
  65. .pagination {
  66. position: absolute;
  67. right: 5px;
  68. bottom: 24px;
  69. }
  70. .detail {
  71. width: 1000px;
  72. max-height: 580px;
  73. border-radius: 5px;
  74. background: #fff;
  75. color: #333;
  76. font-size: 14px;
  77. padding: 12px 20px;
  78. position: relative;
  79. padding-bottom: 70px;
  80. .title {
  81. font-size: 18px;
  82. text-align: center;
  83. line-height: 24px;
  84. margin: 0;
  85. margin-bottom: 12px;
  86. position: relative;
  87. .detail_btn {
  88. position: absolute;
  89. left: 8px;
  90. }
  91. i {
  92. position: absolute;
  93. right: 0;
  94. top: 0;
  95. font-size: 20px;
  96. color: #666;
  97. cursor: pointer;
  98. padding: 0 5px;
  99. }
  100. }
  101. & > .box {
  102. width: 960px;
  103. border: 1px solid #e5e9ed;
  104. border-radius: 5px;
  105. max-height: 462px;
  106. overflow: auto;
  107. .tab {
  108. width: 100%;
  109. height: 60px;
  110. border-bottom: 1px solid #e5e9ed;
  111. .item {
  112. text-align: center;
  113. line-height: 60px;
  114. height: 100%;
  115. border-right: 1px solid #e5e9ed;
  116. &:nth-last-child(1) {
  117. border: none;
  118. }
  119. &.checked {
  120. background: #f9fafb;
  121. }
  122. }
  123. }
  124. .content {
  125. width: 100%;
  126. min-height: 453px;
  127. max-height: 500px;
  128. &.orders {
  129. background: #f9fafb;
  130. }
  131. & > .top {
  132. padding: 10px 32px;
  133. border-bottom: 1px solid #e5e9ed;
  134. overflow: hidden;
  135. background: #fff;
  136. .num {
  137. font-size: 16px;
  138. overflow: hidden;
  139. margin-bottom: 6px;
  140. .left {
  141. float: left;
  142. font-weight: 600;
  143. }
  144. .right {
  145. float: right;
  146. }
  147. }
  148. .info {
  149. color: #666;
  150. & > div {
  151. margin: 4px 0;
  152. }
  153. .jiaji {
  154. margin: 0;
  155. margin-top: 8px;
  156. }
  157. }
  158. }
  159. & > .center {
  160. padding: 27px 0 17px 0;
  161. border-bottom: 1px solid #e5e9ed;
  162. font-size: 12px;
  163. background: #fff;
  164. .box {
  165. display: flex;
  166. justify-content: center;
  167. .steps {
  168. &:nth-last-child(1) {
  169. .line {
  170. display: none !important;
  171. }
  172. }
  173. .step {
  174. .info {
  175. width: 90px;
  176. text-align: center;
  177. display: inline-block;
  178. vertical-align: top;
  179. i {
  180. color: #e5e9ed;
  181. &.green {
  182. color: #bee1a7;
  183. }
  184. }
  185. }
  186. p {
  187. margin: 0;
  188. }
  189. .line {
  190. display: inline-block;
  191. width: 60px;
  192. height: 2px;
  193. background: #e5e9ed;
  194. }
  195. }
  196. }
  197. }
  198. }
  199. & > .bottom {
  200. padding: 25px 32px;
  201. background: #f9fafb;
  202. .urgent {
  203. input {
  204. width: 600px;
  205. }
  206. .candelBtn {
  207. margin-left: 20px;
  208. }
  209. }
  210. .table {
  211. width: 100%;
  212. height: 100%;
  213. min-height: 160px;
  214. background: #fff;
  215. border-radius: 5px;
  216. .thead {
  217. background-image: repeating-linear-gradient(
  218. to right,
  219. @bg-start,
  220. @bg-end 100%
  221. );
  222. th {
  223. color: #fff !important;
  224. text-align: center;
  225. font-size: 12px;
  226. border: none;
  227. }
  228. }
  229. .detailDrugTable {
  230. .thead {
  231. background-image: repeating-linear-gradient(
  232. to right,
  233. @bg-start,
  234. @bg-end 50%
  235. );
  236. }
  237. }
  238. .ant-table-tbody {
  239. tr {
  240. text-align: center;
  241. font-size: 12px;
  242. border: none;
  243. td {
  244. border: none;
  245. }
  246. }
  247. tr:nth-child(2n) {
  248. background: #f9fafb;
  249. }
  250. }
  251. }
  252. .info {
  253. width: 100%;
  254. height: 100%;
  255. background: #fff;
  256. border-radius: 5px;
  257. border: 1px solid #e5e9ed;
  258. padding: 24px 28px 14px 28px;
  259. margin-bottom: 8px;
  260. .top {
  261. .left {
  262. border-right: 1px dashed #e5e9ed;
  263. p {
  264. padding: 0 70px 0 102px;
  265. overflow: hidden;
  266. & > span:nth-child(1) {
  267. float: left;
  268. }
  269. & > span:nth-child(2) {
  270. float: right;
  271. color: #666;
  272. text-align: right;
  273. max-width: 175px;
  274. }
  275. }
  276. }
  277. .right {
  278. p {
  279. padding: 0 102px 0 70px;
  280. overflow: hidden;
  281. span:nth-child(1) {
  282. float: left;
  283. }
  284. span:nth-child(2) {
  285. float: right;
  286. color: #666;
  287. text-align: right;
  288. }
  289. }
  290. }
  291. }
  292. .wait {
  293. text-align: center;
  294. margin-top: 7px;
  295. i {
  296. font-size: 24px;
  297. color: #62c26d;
  298. }
  299. span {
  300. color: #62c26d;
  301. }
  302. }
  303. }
  304. }
  305. &.pingjia {
  306. .msg {
  307. width: 100%;
  308. height: 50px;
  309. line-height: 50px;
  310. padding-left: 32px;
  311. border-bottom: 1px solid #e5e9ed;
  312. div {
  313. display: inline-block;
  314. margin-right: 100px;
  315. }
  316. }
  317. .con {
  318. padding: 16px 32px;
  319. min-height: 360px;
  320. }
  321. }
  322. & > .form {
  323. .ant-form-item {
  324. padding: 0 32px 13px 32px;
  325. margin-bottom: 0;
  326. border-bottom: 1px solid #e5e9ed;
  327. &:nth-last-child(1) {
  328. border: none;
  329. }
  330. }
  331. .ant-form-item-label {
  332. line-height: 34px;
  333. text-align: left;
  334. }
  335. }
  336. & > .mediation {
  337. padding: 16px 32px;
  338. .item {
  339. border-bottom: 1px solid #e5e9ed;
  340. padding-top: 10px;
  341. .label {
  342. line-height: 28px;
  343. margin-top: 10px;
  344. }
  345. .info {
  346. line-height: 28px;
  347. color: #999;
  348. padding-bottom: 20px;
  349. }
  350. }
  351. }
  352. &.jifen {
  353. padding: 32px;
  354. & > .table {
  355. width: 100%;
  356. height: 100%;
  357. min-height: 160px;
  358. padding: 6px;
  359. background: #fff;
  360. border: 1px solid #e5e9ed;
  361. border-radius: 5px;
  362. overflow: hidden;
  363. .thead {
  364. background-image: repeating-linear-gradient(
  365. to right,
  366. @bg-start,
  367. @bg-end 100%
  368. );
  369. th {
  370. color: #fff !important;
  371. text-align: center;
  372. font-size: 12px;
  373. border: none;
  374. background: transparent;
  375. }
  376. }
  377. .ant-table-tbody {
  378. tr {
  379. text-align: center;
  380. font-size: 12px;
  381. border: none;
  382. td {
  383. border: none;
  384. }
  385. }
  386. tr:nth-child(2n) {
  387. background: #f9fafb;
  388. }
  389. }
  390. }
  391. }
  392. }
  393. }
  394. .btns {
  395. display: flex;
  396. justify-content: center;
  397. align-items: center;
  398. width: 60%;
  399. margin: 16px auto 0;
  400. .btn {
  401. margin: 9px;
  402. margin-bottom: 0;
  403. }
  404. }
  405. .ant-table {
  406. border: none !important;
  407. }
  408. }
  409. }
  410. .save {
  411. position: fixed;
  412. left: 0;
  413. top: 0;
  414. width: 100%;
  415. height: 100%;
  416. background: rgba(0, 0, 0, 0.4);
  417. z-index: 99;
  418. .modalBody {
  419. width: 350px;
  420. height: 220px;
  421. background: #fff;
  422. border-radius: 5px;
  423. padding: 10px 20px;
  424. color: #333;
  425. .title {
  426. width: 100%;
  427. text-align: center;
  428. font-size: 18px;
  429. position: relative;
  430. i {
  431. position: absolute;
  432. right: 0;
  433. top: 0;
  434. font-size: 20px;
  435. color: #666;
  436. cursor: pointer;
  437. padding: 0 5px;
  438. }
  439. }
  440. .content {
  441. width: 310px;
  442. height: 117px;
  443. background: #f9fafb;
  444. border: 1px solid #e5e9ed;
  445. border-radius: 5px;
  446. overflow: hidden;
  447. margin-top: 12px;
  448. & > div {
  449. text-align: center;
  450. margin: 0;
  451. &.icon {
  452. margin-top: 17px;
  453. i {
  454. color: #34b349;
  455. font-size: 30px !important;
  456. &.transport-wenhao {
  457. color: #f5a523;
  458. }
  459. &.transport-shibai {
  460. color: #ff3a52;
  461. }
  462. }
  463. }
  464. &.defeat {
  465. color: #333;
  466. font-size: 18px;
  467. }
  468. &:nth-child(3) {
  469. font-size: 14px;
  470. color: #666;
  471. }
  472. }
  473. .roundRobinTips {
  474. font-size: 12px;
  475. }
  476. }
  477. button {
  478. margin-top: 10px;
  479. &.btn {
  480. margin-left: 8px;
  481. }
  482. }
  483. }
  484. // 新增
  485. &.add {
  486. .modalBody {
  487. width: 480px;
  488. height: auto;
  489. .content {
  490. width: 100%;
  491. height: auto;
  492. padding: 18px 14px 0 14px;
  493. max-height: 497px;
  494. overflow-y: auto;
  495. .addForm {
  496. .ant-form-item {
  497. margin-bottom: 15px;
  498. .ant-form-item-label {
  499. line-height: 14px;
  500. text-align: left;
  501. }
  502. .desc {
  503. margin-top: 5px;
  504. }
  505. }
  506. .datesControl {
  507. margin-top: -16px;
  508. .ant-form-item-label {
  509. line-height: 40px;
  510. }
  511. }
  512. .timer {
  513. .ant-form-item-label {
  514. width: 100%;
  515. text-align: left;
  516. }
  517. .numInp {
  518. margin-right: 5px;
  519. }
  520. .line {
  521. margin-right: 5px;
  522. }
  523. }
  524. .timer2 {
  525. .ant-form-item-label {
  526. line-height: 20px;
  527. }
  528. }
  529. }
  530. .editForm {
  531. .ant-form-item {
  532. margin-bottom: 15px;
  533. .ant-form-item-label {
  534. line-height: 14px;
  535. text-align: left;
  536. }
  537. }
  538. }
  539. }
  540. button {
  541. &:nth-child(1) {
  542. margin-right: 20px;
  543. }
  544. }
  545. }
  546. }
  547. }