incident-handle-order.component.less 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. @import "../../../../../src/theme.less";
  2. :host{
  3. display: inline-block;
  4. width: 100%;
  5. color: #333;
  6. .incident_handle_order{
  7. .orderList{
  8. .title{
  9. color: @primary-color;
  10. padding: 8px 16px;
  11. border-bottom: 1px solid #E9E9E9;
  12. }
  13. .orderItem{
  14. padding: 8px 8px 16px 24px;
  15. border-bottom: 1px solid #E9E9E9;
  16. .row{
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: center;
  20. margin-top: 8px;
  21. &:first-of-type{
  22. margin-top: 0;
  23. }
  24. .value{
  25. display: flex;
  26. align-items: center;
  27. }
  28. .num{
  29. width: 162px;
  30. display: flex;
  31. align-items: center;
  32. justify-content: space-between;
  33. }
  34. .btn{
  35. min-width: 65px;
  36. width: 65px;
  37. height: 30px;
  38. line-height: 30px;
  39. }
  40. }
  41. }
  42. .totalPrice{
  43. padding: 8px;
  44. display: flex;
  45. justify-content: flex-end;
  46. align-items: center;
  47. }
  48. .add{
  49. text-align: center;
  50. background: #FAFAFA;
  51. border: 1px dashed rgba(0,0,0,0.25);
  52. cursor: pointer;
  53. }
  54. }
  55. .allTotalPrice{
  56. font-size: 20px;
  57. color: @primary-color;
  58. font-weight: bold;
  59. padding: 16px;
  60. text-align: center;
  61. }
  62. }
  63. .content{
  64. flex: 1;
  65. min-height: 0;
  66. display: flex;
  67. flex-direction: column;
  68. justify-content: space-between;
  69. border: 1px solid #EEF3F9;
  70. &.priority{
  71. margin: 24px 118px 0;
  72. background-color: #fff;
  73. .contentInner{
  74. padding: 48px 206px;
  75. border: 1px solid #E8EBEF;
  76. }
  77. }
  78. .contentItem{
  79. padding: 4px 16px;
  80. cursor: pointer;
  81. overflow: hidden;
  82. text-overflow: ellipsis;
  83. white-space: nowrap;
  84. &.active{
  85. color: @primary-color;
  86. background-color: #F0F6ED;
  87. border-radius: 4px;
  88. }
  89. }
  90. .contentInner{
  91. flex: 1;
  92. display: flex;
  93. justify-content: space-between;
  94. align-items: center;
  95. padding: 0 16px;
  96. gap: 16px;
  97. .contentHead{
  98. height: 45px;
  99. display: flex;
  100. justify-content: space-between;
  101. align-items: center;
  102. gap: 16px;
  103. padding: 0 16px;
  104. font-size: 16px;
  105. font-weight: bold;
  106. border-bottom: 1px solid #D9D9D9;
  107. .title{
  108. overflow: hidden;
  109. text-overflow: ellipsis;
  110. white-space: nowrap;
  111. }
  112. .btns{
  113. flex-shrink: 0;
  114. }
  115. }
  116. .contentBody{
  117. padding: 0 8px;
  118. margin: 4px 0;
  119. flex: 1;
  120. }
  121. .address{
  122. flex: 1;
  123. height: 100%;
  124. background: #FFFFFF;
  125. border: 1px solid #E8EBEF;
  126. display: flex;
  127. flex-direction: column;
  128. width: 0;
  129. }
  130. .addressAssign{
  131. flex: 3;
  132. height: 100%;
  133. background: #FFFFFF;
  134. border: 1px solid #E8EBEF;
  135. display: flex;
  136. flex-direction: column;
  137. width: 0;
  138. }
  139. .list-template__searchItem {
  140. margin-bottom: 16px;
  141. .label {
  142. color: #333;
  143. display: inline-block;
  144. width: 70px;
  145. text-align-last: justify;
  146. text-align: justify;
  147. &.label--big {
  148. width: 100px;
  149. }
  150. }
  151. .formItem {
  152. width: 135px;
  153. }
  154. }
  155. }
  156. .contentBtns{
  157. margin-bottom: 16px;
  158. display: flex;
  159. justify-content: center;
  160. align-items: center;
  161. }
  162. }
  163. .save {
  164. position: fixed;
  165. left: 0;
  166. top: 0;
  167. width: 100%;
  168. height: 100%;
  169. background: rgba(0, 0, 0, 0.4);
  170. z-index: 99;
  171. .tips{
  172. margin-bottom: 16px!important;
  173. }
  174. .modalBody {
  175. width: 350px;
  176. background: #fff;
  177. border-radius: 5px;
  178. padding: 10px 20px;
  179. color: #333;
  180. .title {
  181. width: 100%;
  182. text-align: center;
  183. font-size: 18px;
  184. position: relative;
  185. i {
  186. position: absolute;
  187. right: 0;
  188. top: 0;
  189. font-size: 20px;
  190. color: #666;
  191. cursor: pointer;
  192. padding: 0 5px;
  193. }
  194. }
  195. .content {
  196. width: 310px;
  197. background: #f9fafb;
  198. border: 1px solid #e5e9ed;
  199. border-radius: 5px;
  200. overflow: hidden;
  201. margin-top: 12px;
  202. padding: 16px 0;
  203. .busyList{
  204. display: flex;
  205. margin-bottom: 8px;
  206. .busyContent{
  207. margin-right: 8px;
  208. flex: 1;
  209. }
  210. }
  211. & > div {
  212. text-align: center;
  213. margin: 0;
  214. &.icon {
  215. // margin-top: 17px;
  216. i {
  217. color: #34b349;
  218. font-size: 30px !important;
  219. &.transport-wenhao {
  220. color: #f5a523;
  221. }
  222. &.transport-shibai {
  223. color: #ff3a52;
  224. }
  225. }
  226. }
  227. &.defeat {
  228. color: #333;
  229. font-size: 14px;
  230. }
  231. &:nth-child(3) {
  232. font-size: 14px;
  233. color: #666;
  234. }
  235. }
  236. .workAssignmentTips {
  237. font-size: 12px;
  238. }
  239. }
  240. button {
  241. margin-top: 10px;
  242. &.btn {
  243. margin-left: 8px;
  244. }
  245. }
  246. }
  247. // 新增
  248. &.add {
  249. .modalBody {
  250. width: 480px;
  251. height: auto;
  252. .content {
  253. width: 100%;
  254. height: auto;
  255. padding: 16px;
  256. max-height: 497px;
  257. overflow-y: auto;
  258. .addForm {
  259. .ant-form-item {
  260. margin-bottom: 0;
  261. .ant-form-item-label {
  262. text-align: left;
  263. }
  264. .desc {
  265. margin-top: 5px;
  266. }
  267. }
  268. .datesControl {
  269. margin-top: -16px;
  270. .ant-form-item-label {
  271. line-height: 40px;
  272. }
  273. }
  274. .timer {
  275. .ant-form-item-label {
  276. width: 100%;
  277. text-align: left;
  278. }
  279. .numInp {
  280. margin-right: 5px;
  281. }
  282. .line {
  283. margin-right: 5px;
  284. }
  285. }
  286. .timer2 {
  287. .ant-form-item-label {
  288. line-height: 20px;
  289. }
  290. }
  291. }
  292. .editForm {
  293. .ant-form-item {
  294. margin-bottom: 15px;
  295. .ant-form-item-label {
  296. line-height: 14px;
  297. text-align: left;
  298. }
  299. }
  300. }
  301. }
  302. }
  303. .modalLogBody {
  304. width: 80%;
  305. height: auto;
  306. .content {
  307. width: 100%;
  308. height: auto;
  309. padding: 19px 14px 20px 14px;
  310. max-height: 500px;
  311. overflow-y: auto;
  312. .list-template__bottom {
  313. background: #f9fafb;
  314. border: 1px solid #e5e9ed;
  315. border-radius: 8px;
  316. // padding-bottom: 56px;
  317. position: relative;
  318. .list-template__nzTable {
  319. padding: 16px 16px 0;
  320. .thead {
  321. background-image: linear-gradient(to right, @bg-start, @bg-end);
  322. th {
  323. background: transparent;
  324. color: #fff;
  325. text-align: center;
  326. }
  327. }
  328. .ant-table-body {
  329. border-bottom: 1px solid #e5e9ed;
  330. }
  331. .ant-table-tbody {
  332. tr {
  333. text-align: center;
  334. color: #333;
  335. td {
  336. border: none;
  337. &.tab_hover:hover{
  338. text-decoration: underline;
  339. cursor: pointer;
  340. }
  341. .coop {
  342. button{
  343. color: #333;
  344. }
  345. span,button {
  346. display: inline-block;
  347. padding: 0 8px;
  348. cursor: pointer;
  349. position: relative;
  350. &::after {
  351. content: "|";
  352. position: absolute;
  353. top: 0;
  354. right: 0;
  355. }
  356. &:hover,
  357. &:active {
  358. color: @primary-color;
  359. }
  360. &:nth-last-child(1) {
  361. &::after {
  362. content: "";
  363. }
  364. }
  365. }
  366. }
  367. }
  368. }
  369. }
  370. }
  371. }
  372. .addForm {
  373. .ant-form-item {
  374. margin-bottom: 14px;
  375. .ant-form-item-label {
  376. line-height: 14px;
  377. text-align: left;
  378. }
  379. }
  380. }
  381. .editForm {
  382. .ant-form-item {
  383. margin-bottom: 14px;
  384. .ant-form-item-label {
  385. line-height: 0;
  386. text-align: left;
  387. }
  388. }
  389. }
  390. .list-template__pagination {
  391. text-align: right;
  392. padding: 20px 0;
  393. }
  394. }
  395. button {
  396. &:nth-child(1) {
  397. margin-right: 20px;
  398. }
  399. }
  400. }
  401. }
  402. }
  403. }